diff --git a/.changeset/afraid-cycles-wash.md b/.changeset/afraid-cycles-wash.md
new file mode 100644
index 00000000000..21bc11ec8ab
--- /dev/null
+++ b/.changeset/afraid-cycles-wash.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/stepper": major
+---
+
+Stepper bug fixes for S1 and Express variants.
diff --git a/.changeset/big-chairs-care.md b/.changeset/big-chairs-care.md
new file mode 100644
index 00000000000..1e06436bf8b
--- /dev/null
+++ b/.changeset/big-chairs-care.md
@@ -0,0 +1,6 @@
+---
+"@spectrum-css/picker": minor
+"@spectrum-css/tokens": minor
+---
+
+Update background and border color for picker in Spectrum 2 theme [SWC-575]
diff --git a/.changeset/big-hats-happen.md b/.changeset/big-hats-happen.md
new file mode 100644
index 00000000000..9758ebaf999
--- /dev/null
+++ b/.changeset/big-hats-happen.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/actionbutton": patch
+---
+
+[SWC-248]: Selected, static black actionbutton content color should be white, not black
diff --git a/.changeset/big-pandas-end.md b/.changeset/big-pandas-end.md
new file mode 100644
index 00000000000..37498eab28b
--- /dev/null
+++ b/.changeset/big-pandas-end.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/tokens": minor
+---
+
+Add a stylelint ignore for typography case
diff --git a/.changeset/calm-socks-speak.md b/.changeset/calm-socks-speak.md
new file mode 100644
index 00000000000..391122585de
--- /dev/null
+++ b/.changeset/calm-socks-speak.md
@@ -0,0 +1,85 @@
+---
+"@spectrum-css/opacitycheckerboard": minor
+"@spectrum-css/illustratedmessage": minor
+"@spectrum-css/coachindicator": minor
+"@spectrum-css/contextualhelp": minor
+"@spectrum-css/progresscircle": minor
+"@spectrum-css/dropindicator": minor
+"@spectrum-css/infieldbutton": minor
+"@spectrum-css/actionbutton": minor
+"@spectrum-css/pickerbutton": minor
+"@spectrum-css/actiongroup": minor
+"@spectrum-css/alertbanner": minor
+"@spectrum-css/alertdialog": minor
+"@spectrum-css/buttongroup": minor
+"@spectrum-css/clearbutton": minor
+"@spectrum-css/closebutton": minor
+"@spectrum-css/colorhandle": minor
+"@spectrum-css/colorslider": minor
+"@spectrum-css/inlinealert": minor
+"@spectrum-css/logicbutton": minor
+"@spectrum-css/progressbar": minor
+"@spectrum-css/statuslight": minor
+"@spectrum-css/swatchgroup": minor
+"@spectrum-css/actionmenu": minor
+"@spectrum-css/breadcrumb": minor
+"@spectrum-css/colorloupe": minor
+"@spectrum-css/colorwheel": minor
+"@spectrum-css/datepicker": minor
+"@spectrum-css/fieldgroup": minor
+"@spectrum-css/fieldlabel": minor
+"@spectrum-css/pagination": minor
+"@spectrum-css/typography": minor
+"@spectrum-css/accordion": minor
+"@spectrum-css/actionbar": minor
+"@spectrum-css/assetcard": minor
+"@spectrum-css/assetlist": minor
+"@spectrum-css/coachmark": minor
+"@spectrum-css/colorarea": minor
+"@spectrum-css/splitview": minor
+"@spectrum-css/textfield": minor
+"@spectrum-css/thumbnail": minor
+"@spectrum-css/calendar": minor
+"@spectrum-css/checkbox": minor
+"@spectrum-css/combobox": minor
+"@spectrum-css/dropzone": minor
+"@spectrum-css/helptext": minor
+"@spectrum-css/steplist": minor
+"@spectrum-css/taggroup": minor
+"@spectrum-css/treeview": minor
+"@spectrum-css/underlay": minor
+"@spectrum-css/commons": minor
+"@spectrum-css/divider": minor
+"@spectrum-css/popover": minor
+"@spectrum-css/sidenav": minor
+"@spectrum-css/stepper": minor
+"@spectrum-css/tooltip": minor
+"@spectrum-css/avatar": minor
+"@spectrum-css/button": minor
+"@spectrum-css/dialog": minor
+"@spectrum-css/miller": minor
+"@spectrum-css/picker": minor
+"@spectrum-css/rating": minor
+"@spectrum-css/search": minor
+"@spectrum-css/slider": minor
+"@spectrum-css/swatch": minor
+"@spectrum-css/switch": minor
+"@spectrum-css/asset": minor
+"@spectrum-css/badge": minor
+"@spectrum-css/modal": minor
+"@spectrum-css/radio": minor
+"@spectrum-css/table": minor
+"@spectrum-css/toast": minor
+"@spectrum-css/card": minor
+"@spectrum-css/dial": minor
+"@spectrum-css/icon": minor
+"@spectrum-css/link": minor
+"@spectrum-css/menu": minor
+"@spectrum-css/tabs": minor
+"@spectrum-css/tray": minor
+"@spectrum-css/well": minor
+"@spectrum-css/tag": minor
+"@spectrum-css/tokens": minor
+---
+
+Fixes to index.css imports to ensure appropriate system mappings get loaded
diff --git a/.changeset/clever-walls-glow.md b/.changeset/clever-walls-glow.md
new file mode 100644
index 00000000000..cc0a824b962
--- /dev/null
+++ b/.changeset/clever-walls-glow.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/floatingactionbutton": minor
+---
+
+Fixes to static white background color and selected states
diff --git a/.changeset/cyan-actors-rest.md b/.changeset/cyan-actors-rest.md
new file mode 100644
index 00000000000..9bb950374f3
--- /dev/null
+++ b/.changeset/cyan-actors-rest.md
@@ -0,0 +1,87 @@
+---
+"@spectrum-css/floatingactionbutton": patch
+"@spectrum-css/opacitycheckerboard": patch
+"@spectrum-css/illustratedmessage": patch
+"@spectrum-css/coachindicator": patch
+"@spectrum-css/contextualhelp": patch
+"@spectrum-css/progresscircle": patch
+"@spectrum-css/dropindicator": patch
+"@spectrum-css/infieldbutton": patch
+"@spectrum-css/actionbutton": patch
+"@spectrum-css/pickerbutton": patch
+"@spectrum-css/actiongroup": patch
+"@spectrum-css/alertbanner": patch
+"@spectrum-css/alertdialog": patch
+"@spectrum-css/buttongroup": patch
+"@spectrum-css/clearbutton": patch
+"@spectrum-css/closebutton": patch
+"@spectrum-css/colorhandle": patch
+"@spectrum-css/colorslider": patch
+"@spectrum-css/inlinealert": patch
+"@spectrum-css/logicbutton": patch
+"@spectrum-css/progressbar": patch
+"@spectrum-css/statuslight": patch
+"@spectrum-css/swatchgroup": patch
+"@spectrum-css/actionmenu": patch
+"@spectrum-css/breadcrumb": patch
+"@spectrum-css/colorloupe": patch
+"@spectrum-css/colorwheel": patch
+"@spectrum-css/datepicker": patch
+"@spectrum-css/fieldgroup": patch
+"@spectrum-css/fieldlabel": patch
+"@spectrum-css/pagination": patch
+"@spectrum-css/typography": patch
+"@spectrum-css/accordion": patch
+"@spectrum-css/actionbar": patch
+"@spectrum-css/assetcard": patch
+"@spectrum-css/assetlist": patch
+"@spectrum-css/coachmark": patch
+"@spectrum-css/colorarea": patch
+"@spectrum-css/splitview": patch
+"@spectrum-css/textfield": patch
+"@spectrum-css/thumbnail": patch
+"@spectrum-css/calendar": patch
+"@spectrum-css/checkbox": patch
+"@spectrum-css/combobox": patch
+"@spectrum-css/dropzone": patch
+"@spectrum-css/helptext": patch
+"@spectrum-css/steplist": patch
+"@spectrum-css/taggroup": patch
+"@spectrum-css/treeview": patch
+"@spectrum-css/underlay": patch
+"@spectrum-css/commons": patch
+"@spectrum-css/divider": patch
+"@spectrum-css/popover": patch
+"@spectrum-css/sidenav": patch
+"@spectrum-css/stepper": patch
+"@spectrum-css/tooltip": patch
+"@spectrum-css/avatar": patch
+"@spectrum-css/button": patch
+"@spectrum-css/dialog": patch
+"@spectrum-css/miller": patch
+"@spectrum-css/picker": patch
+"@spectrum-css/rating": patch
+"@spectrum-css/search": patch
+"@spectrum-css/slider": patch
+"@spectrum-css/swatch": patch
+"@spectrum-css/switch": patch
+"@spectrum-css/asset": patch
+"@spectrum-css/badge": patch
+"@spectrum-css/modal": patch
+"@spectrum-css/radio": patch
+"@spectrum-css/table": patch
+"@spectrum-css/toast": patch
+"@spectrum-css/card": patch
+"@spectrum-css/dial": patch
+"@spectrum-css/icon": patch
+"@spectrum-css/link": patch
+"@spectrum-css/menu": patch
+"@spectrum-css/tabs": patch
+"@spectrum-css/tray": patch
+"@spectrum-css/well": patch
+"@spectrum-css/tag": patch
+"@spectrum-css/preview": patch
+"@spectrum-css/tokens": patch
+---
+
+Doing a widespread release on all packages to ensure the latest compiled CSS is published.
diff --git a/.changeset/dull-pandas-grin.md b/.changeset/dull-pandas-grin.md
new file mode 100644
index 00000000000..f5fc6ffc8ab
--- /dev/null
+++ b/.changeset/dull-pandas-grin.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/coachmark": minor
+---
+
+Move the coachmark modifiers out of the theme to the base index.css.
diff --git a/.changeset/empty-countries-act.md b/.changeset/empty-countries-act.md
new file mode 100644
index 00000000000..28524fa6bd7
--- /dev/null
+++ b/.changeset/empty-countries-act.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/clearbutton": major
+---
+
+Migrating Clear Button disabled variants to index.css
diff --git a/.changeset/fair-parents-rush.md b/.changeset/fair-parents-rush.md
new file mode 100644
index 00000000000..c06998b92ad
--- /dev/null
+++ b/.changeset/fair-parents-rush.md
@@ -0,0 +1,87 @@
+---
+"@spectrum-css/floatingactionbutton": major
+"@spectrum-css/opacitycheckerboard": major
+"@spectrum-css/illustratedmessage": major
+"@spectrum-css/coachindicator": major
+"@spectrum-css/contextualhelp": major
+"@spectrum-css/progresscircle": major
+"@spectrum-css/dropindicator": major
+"@spectrum-css/infieldbutton": major
+"@spectrum-css/actionbutton": major
+"@spectrum-css/pickerbutton": major
+"@spectrum-css/actiongroup": major
+"@spectrum-css/alertbanner": major
+"@spectrum-css/alertdialog": major
+"@spectrum-css/buttongroup": major
+"@spectrum-css/clearbutton": major
+"@spectrum-css/closebutton": major
+"@spectrum-css/colorhandle": major
+"@spectrum-css/colorslider": major
+"@spectrum-css/inlinealert": major
+"@spectrum-css/logicbutton": major
+"@spectrum-css/progressbar": major
+"@spectrum-css/statuslight": major
+"@spectrum-css/swatchgroup": major
+"@spectrum-css/actionmenu": major
+"@spectrum-css/breadcrumb": major
+"@spectrum-css/colorloupe": major
+"@spectrum-css/colorwheel": major
+"@spectrum-css/datepicker": major
+"@spectrum-css/fieldgroup": major
+"@spectrum-css/fieldlabel": major
+"@spectrum-css/pagination": major
+"@spectrum-css/typography": major
+"@spectrum-css/accordion": major
+"@spectrum-css/actionbar": major
+"@spectrum-css/assetcard": major
+"@spectrum-css/assetlist": major
+"@spectrum-css/coachmark": major
+"@spectrum-css/colorarea": major
+"@spectrum-css/splitview": major
+"@spectrum-css/textfield": major
+"@spectrum-css/thumbnail": major
+"@spectrum-css/calendar": major
+"@spectrum-css/checkbox": major
+"@spectrum-css/combobox": major
+"@spectrum-css/dropzone": major
+"@spectrum-css/helptext": major
+"@spectrum-css/steplist": major
+"@spectrum-css/taggroup": major
+"@spectrum-css/treeview": major
+"@spectrum-css/underlay": major
+"@spectrum-css/commons": major
+"@spectrum-css/divider": major
+"@spectrum-css/popover": major
+"@spectrum-css/sidenav": major
+"@spectrum-css/stepper": major
+"@spectrum-css/tooltip": major
+"@spectrum-css/avatar": major
+"@spectrum-css/button": major
+"@spectrum-css/dialog": major
+"@spectrum-css/miller": major
+"@spectrum-css/picker": major
+"@spectrum-css/rating": major
+"@spectrum-css/search": major
+"@spectrum-css/slider": major
+"@spectrum-css/swatch": major
+"@spectrum-css/switch": major
+"@spectrum-css/asset": major
+"@spectrum-css/badge": major
+"@spectrum-css/modal": major
+"@spectrum-css/radio": major
+"@spectrum-css/table": major
+"@spectrum-css/toast": major
+"@spectrum-css/card": major
+"@spectrum-css/dial": major
+"@spectrum-css/icon": major
+"@spectrum-css/link": major
+"@spectrum-css/menu": major
+"@spectrum-css/tabs": major
+"@spectrum-css/tray": major
+"@spectrum-css/well": major
+"@spectrum-css/tag": major
+"@spectrum-css/preview": major
+"@spectrum-css/tokens": major
+---
+
+Updated build to set cssnano to discardUnused: false
diff --git a/.changeset/few-frogs-mate.md b/.changeset/few-frogs-mate.md
new file mode 100644
index 00000000000..244341186e9
--- /dev/null
+++ b/.changeset/few-frogs-mate.md
@@ -0,0 +1,13 @@
+---
+"@spectrum-css/progressbar": major
+"@spectrum-css/fieldlabel": major
+"@spectrum-css/meter": major
+"@spectrum-css/card": major
+"@spectrum-css/form": major
+"@spectrum-css/menu": major
+---
+
+Pulled out _form_ from _fieldlabel_ package.
+Pulled out _meter_ from _progressbar_ package.
+
+[SWC-522] fix hover style regression
diff --git a/.changeset/fluffy-apes-breathe.md b/.changeset/fluffy-apes-breathe.md
new file mode 100644
index 00000000000..54b7f120041
--- /dev/null
+++ b/.changeset/fluffy-apes-breathe.md
@@ -0,0 +1,11 @@
+---
+"@spectrum-css/typography": patch
+"@spectrum-css/combobox": patch
+"@spectrum-css/stepper": patch
+---
+
+Combobox moved the quiet min-inline-size property to index.css from theme to pick up the t-shirt sizing for the calc.
+
+Typography increases specificity for the t-shirt sizing.
+
+Stepper fixes for the disabled + hovered states as well as regressions fixed for the quiet variant.
diff --git a/.changeset/fluffy-months-battle.md b/.changeset/fluffy-months-battle.md
new file mode 100644
index 00000000000..8477d42f834
--- /dev/null
+++ b/.changeset/fluffy-months-battle.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/coachindicator": minor
+---
+
+--mod properties were moved out of `coachindicator/themes/spectrum-two.css` into `coachindicator/index.css` so --mods can be applied at the component level.
diff --git a/.changeset/fresh-apes-invent.md b/.changeset/fresh-apes-invent.md
new file mode 100644
index 00000000000..772c0804f73
--- /dev/null
+++ b/.changeset/fresh-apes-invent.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/button": patch
+---
+
+[SWC-315]: Static white button mods should be applied at component level
diff --git a/.changeset/fresh-emus-worry.md b/.changeset/fresh-emus-worry.md
new file mode 100644
index 00000000000..50622cf2423
--- /dev/null
+++ b/.changeset/fresh-emus-worry.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/closebutton": patch
+---
+
+Typo in CloseButton classes for sizing
diff --git a/.changeset/fresh-games-itch.md b/.changeset/fresh-games-itch.md
new file mode 100644
index 00000000000..d67a9856c9d
--- /dev/null
+++ b/.changeset/fresh-games-itch.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/search": minor
+---
+
+Update offset mod placement for quiet button offsets
diff --git a/.changeset/fuzzy-brooms-jam.md b/.changeset/fuzzy-brooms-jam.md
new file mode 100644
index 00000000000..f130c8b2d74
--- /dev/null
+++ b/.changeset/fuzzy-brooms-jam.md
@@ -0,0 +1,7 @@
+---
+"@spectrum-css/combobox": minor
+"@spectrum-css/treeview": minor
+"@spectrum-css/tabs": minor
+---
+
+[CSS-890]: adjusts --mods to be applied inside of index.css
diff --git a/.changeset/fuzzy-jokes-begin.md b/.changeset/fuzzy-jokes-begin.md
new file mode 100644
index 00000000000..245e47a4234
--- /dev/null
+++ b/.changeset/fuzzy-jokes-begin.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/tokens": patch
+---
+
+define undefined rgb tokens
diff --git a/.changeset/gentle-ties-hang.md b/.changeset/gentle-ties-hang.md
new file mode 100644
index 00000000000..2b4800ecf47
--- /dev/null
+++ b/.changeset/gentle-ties-hang.md
@@ -0,0 +1,86 @@
+---
+"@spectrum-css/floatingactionbutton": patch
+"@spectrum-css/opacitycheckerboard": patch
+"@spectrum-css/illustratedmessage": patch
+"@spectrum-css/coachindicator": patch
+"@spectrum-css/contextualhelp": patch
+"@spectrum-css/progresscircle": patch
+"@spectrum-css/dropindicator": patch
+"@spectrum-css/infieldbutton": patch
+"@spectrum-css/actionbutton": patch
+"@spectrum-css/pickerbutton": patch
+"@spectrum-css/actiongroup": patch
+"@spectrum-css/alertbanner": patch
+"@spectrum-css/alertdialog": patch
+"@spectrum-css/buttongroup": patch
+"@spectrum-css/clearbutton": patch
+"@spectrum-css/closebutton": patch
+"@spectrum-css/colorhandle": patch
+"@spectrum-css/colorslider": patch
+"@spectrum-css/inlinealert": patch
+"@spectrum-css/logicbutton": patch
+"@spectrum-css/progressbar": patch
+"@spectrum-css/statuslight": patch
+"@spectrum-css/swatchgroup": patch
+"@spectrum-css/actionmenu": patch
+"@spectrum-css/breadcrumb": patch
+"@spectrum-css/colorloupe": patch
+"@spectrum-css/colorwheel": patch
+"@spectrum-css/datepicker": patch
+"@spectrum-css/fieldgroup": patch
+"@spectrum-css/fieldlabel": patch
+"@spectrum-css/pagination": patch
+"@spectrum-css/typography": patch
+"@spectrum-css/accordion": patch
+"@spectrum-css/actionbar": patch
+"@spectrum-css/assetcard": patch
+"@spectrum-css/assetlist": patch
+"@spectrum-css/coachmark": patch
+"@spectrum-css/colorarea": patch
+"@spectrum-css/splitview": patch
+"@spectrum-css/textfield": patch
+"@spectrum-css/thumbnail": patch
+"@spectrum-css/calendar": patch
+"@spectrum-css/checkbox": patch
+"@spectrum-css/combobox": patch
+"@spectrum-css/dropzone": patch
+"@spectrum-css/helptext": patch
+"@spectrum-css/steplist": patch
+"@spectrum-css/taggroup": patch
+"@spectrum-css/treeview": patch
+"@spectrum-css/underlay": patch
+"@spectrum-css/commons": patch
+"@spectrum-css/divider": patch
+"@spectrum-css/popover": patch
+"@spectrum-css/sidenav": patch
+"@spectrum-css/stepper": patch
+"@spectrum-css/tooltip": patch
+"@spectrum-css/avatar": patch
+"@spectrum-css/button": patch
+"@spectrum-css/dialog": patch
+"@spectrum-css/miller": patch
+"@spectrum-css/picker": patch
+"@spectrum-css/rating": patch
+"@spectrum-css/search": patch
+"@spectrum-css/slider": patch
+"@spectrum-css/swatch": patch
+"@spectrum-css/switch": patch
+"@spectrum-css/asset": patch
+"@spectrum-css/badge": patch
+"@spectrum-css/modal": patch
+"@spectrum-css/radio": patch
+"@spectrum-css/table": patch
+"@spectrum-css/toast": patch
+"@spectrum-css/card": patch
+"@spectrum-css/dial": patch
+"@spectrum-css/icon": patch
+"@spectrum-css/link": patch
+"@spectrum-css/menu": patch
+"@spectrum-css/tabs": patch
+"@spectrum-css/tray": patch
+"@spectrum-css/well": patch
+"@spectrum-css/tag": patch
+"@spectrum-css/tokens": patch
+---
+
+Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
diff --git a/.changeset/gold-countries-fly.md b/.changeset/gold-countries-fly.md
new file mode 100644
index 00000000000..86717633bbb
--- /dev/null
+++ b/.changeset/gold-countries-fly.md
@@ -0,0 +1,90 @@
+---
+"@spectrum-css/floatingactionbutton": minor
+"@spectrum-css/opacitycheckerboard": minor
+"@spectrum-css/illustratedmessage": minor
+"@spectrum-css/coachindicator": minor
+"@spectrum-css/contextualhelp": minor
+"@spectrum-css/progresscircle": minor
+"@spectrum-css/dropindicator": minor
+"@spectrum-css/infieldbutton": minor
+"@spectrum-css/actionbutton": minor
+"@spectrum-css/pickerbutton": minor
+"@spectrum-css/actiongroup": minor
+"@spectrum-css/alertbanner": minor
+"@spectrum-css/alertdialog": minor
+"@spectrum-css/buttongroup": minor
+"@spectrum-css/clearbutton": minor
+"@spectrum-css/closebutton": minor
+"@spectrum-css/colorhandle": minor
+"@spectrum-css/colorslider": minor
+"@spectrum-css/inlinealert": minor
+"@spectrum-css/logicbutton": minor
+"@spectrum-css/progressbar": minor
+"@spectrum-css/statuslight": minor
+"@spectrum-css/swatchgroup": minor
+"@spectrum-css/actionmenu": minor
+"@spectrum-css/breadcrumb": minor
+"@spectrum-css/colorloupe": minor
+"@spectrum-css/colorwheel": minor
+"@spectrum-css/datepicker": minor
+"@spectrum-css/fieldgroup": minor
+"@spectrum-css/fieldlabel": minor
+"@spectrum-css/pagination": minor
+"@spectrum-css/typography": minor
+"@spectrum-css/accordion": minor
+"@spectrum-css/actionbar": minor
+"@spectrum-css/assetcard": minor
+"@spectrum-css/assetlist": minor
+"@spectrum-css/coachmark": minor
+"@spectrum-css/colorarea": minor
+"@spectrum-css/splitview": minor
+"@spectrum-css/textfield": minor
+"@spectrum-css/thumbnail": minor
+"@spectrum-css/calendar": minor
+"@spectrum-css/checkbox": minor
+"@spectrum-css/combobox": minor
+"@spectrum-css/dropzone": minor
+"@spectrum-css/helptext": minor
+"@spectrum-css/steplist": minor
+"@spectrum-css/taggroup": minor
+"@spectrum-css/treeview": minor
+"@spectrum-css/underlay": minor
+"@spectrum-css/commons": minor
+"@spectrum-css/divider": minor
+"@spectrum-css/popover": minor
+"@spectrum-css/sidenav": minor
+"@spectrum-css/stepper": minor
+"@spectrum-css/tooltip": minor
+"@spectrum-css/avatar": minor
+"@spectrum-css/button": minor
+"@spectrum-css/dialog": minor
+"@spectrum-css/miller": minor
+"@spectrum-css/picker": minor
+"@spectrum-css/rating": minor
+"@spectrum-css/search": minor
+"@spectrum-css/slider": minor
+"@spectrum-css/swatch": minor
+"@spectrum-css/switch": minor
+"@spectrum-css/asset": minor
+"@spectrum-css/badge": minor
+"@spectrum-css/modal": minor
+"@spectrum-css/radio": minor
+"@spectrum-css/table": minor
+"@spectrum-css/toast": minor
+"@spectrum-css/card": minor
+"@spectrum-css/dial": minor
+"@spectrum-css/icon": minor
+"@spectrum-css/link": minor
+"@spectrum-css/menu": minor
+"@spectrum-css/tabs": minor
+"@spectrum-css/tray": minor
+"@spectrum-css/well": minor
+"@spectrum-css/tag": minor
+"@spectrum-css/preview": minor
+"@spectrum-css/generator": minor
+"@spectrum-css/tokens": minor
+---
+
+- Accordion: Flatten sizing variables in theme layer
+- ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+- Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
diff --git a/.changeset/good-dots-thank.md b/.changeset/good-dots-thank.md
new file mode 100644
index 00000000000..e0f2239e33d
--- /dev/null
+++ b/.changeset/good-dots-thank.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/dropzone": patch
+---
+
+[SWC-241] In order to show dropzone background color, --spectrum-drop-zone-background-color has been changed to --mod-drop-zone-background-color in &.is-dragged and &.is-filled
diff --git a/.changeset/good-parrots-attack.md b/.changeset/good-parrots-attack.md
new file mode 100644
index 00000000000..10dec763c8a
--- /dev/null
+++ b/.changeset/good-parrots-attack.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/modal": major
+---
+
+Updates the spectrum-modal-background-color in dark and light in spectrum-two theme
diff --git a/.changeset/heavy-sheep-drive.md b/.changeset/heavy-sheep-drive.md
new file mode 100644
index 00000000000..6fb727fad82
--- /dev/null
+++ b/.changeset/heavy-sheep-drive.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/actionbar": minor
+---
+
+[SWC-233] Moves inset-inline-start and inset-inline-end to sticky variant to fix issue with fixed actionbar unexpectedly taking up full width
diff --git a/.changeset/heavy-teachers-drop.md b/.changeset/heavy-teachers-drop.md
new file mode 100644
index 00000000000..14c954183f4
--- /dev/null
+++ b/.changeset/heavy-teachers-drop.md
@@ -0,0 +1,7 @@
+---
+"@spectrum-css/pickerbutton": patch
+"@spectrum-css/progressbar": patch
+"@spectrum-css/search": patch
+---
+
+Relocates --mod custom properties from the themes CSS to the index.css.
diff --git a/.changeset/hungry-jokes-yawn.md b/.changeset/hungry-jokes-yawn.md
new file mode 100644
index 00000000000..44ba85b05f7
--- /dev/null
+++ b/.changeset/hungry-jokes-yawn.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/checkbox": minor
+---
+
+Fix S1 checkbox color
diff --git a/.changeset/itchy-candles-develop.md b/.changeset/itchy-candles-develop.md
new file mode 100644
index 00000000000..db49f5b6ff9
--- /dev/null
+++ b/.changeset/itchy-candles-develop.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/textfield": minor
+---
+
+[SWC-306]: Reintroduces previous changes in textfield that had been reverted, including adjusted line height, cleanup of legacy vendor prefixes and normalization (#2771), a fix for focus pseudo pointer events (#2761)
diff --git a/.changeset/itchy-games-marry.md b/.changeset/itchy-games-marry.md
new file mode 100644
index 00000000000..cfab8e99514
--- /dev/null
+++ b/.changeset/itchy-games-marry.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/card": minor
+---
+
+Updates to custom property inheritance and properties order
diff --git a/.changeset/khaki-coats-unite.md b/.changeset/khaki-coats-unite.md
new file mode 100644
index 00000000000..61fec3bdec0
--- /dev/null
+++ b/.changeset/khaki-coats-unite.md
@@ -0,0 +1,6 @@
+---
+"@spectrum-css/accordion": minor
+"@spectrum-css/tokens": minor
+---
+
+[SWC-237] accordion item border height set to 0 for non-first-child elements
diff --git a/.changeset/large-carpets-share.md b/.changeset/large-carpets-share.md
new file mode 100644
index 00000000000..4b0fd2bd0d9
--- /dev/null
+++ b/.changeset/large-carpets-share.md
@@ -0,0 +1,87 @@
+---
+"@spectrum-css/opacitycheckerboard": major
+"@spectrum-css/illustratedmessage": major
+"@spectrum-css/coachindicator": major
+"@spectrum-css/contextualhelp": major
+"@spectrum-css/progresscircle": major
+"@spectrum-css/dropindicator": major
+"@spectrum-css/infieldbutton": major
+"@spectrum-css/actionbutton": major
+"@spectrum-css/pickerbutton": major
+"@spectrum-css/actiongroup": major
+"@spectrum-css/alertbanner": major
+"@spectrum-css/alertdialog": major
+"@spectrum-css/buttongroup": major
+"@spectrum-css/clearbutton": major
+"@spectrum-css/closebutton": major
+"@spectrum-css/colorhandle": major
+"@spectrum-css/colorslider": major
+"@spectrum-css/inlinealert": major
+"@spectrum-css/logicbutton": major
+"@spectrum-css/progressbar": major
+"@spectrum-css/statuslight": major
+"@spectrum-css/swatchgroup": major
+"@spectrum-css/actionmenu": major
+"@spectrum-css/breadcrumb": major
+"@spectrum-css/colorloupe": major
+"@spectrum-css/colorwheel": major
+"@spectrum-css/datepicker": major
+"@spectrum-css/fieldgroup": major
+"@spectrum-css/fieldlabel": major
+"@spectrum-css/pagination": major
+"@spectrum-css/typography": major
+"@spectrum-css/accordion": major
+"@spectrum-css/actionbar": major
+"@spectrum-css/assetcard": major
+"@spectrum-css/assetlist": major
+"@spectrum-css/coachmark": major
+"@spectrum-css/colorarea": major
+"@spectrum-css/splitview": major
+"@spectrum-css/textfield": major
+"@spectrum-css/thumbnail": major
+"@spectrum-css/calendar": major
+"@spectrum-css/checkbox": major
+"@spectrum-css/combobox": major
+"@spectrum-css/dropzone": major
+"@spectrum-css/helptext": major
+"@spectrum-css/steplist": major
+"@spectrum-css/taggroup": major
+"@spectrum-css/treeview": major
+"@spectrum-css/underlay": major
+"@spectrum-css/commons": major
+"@spectrum-css/divider": major
+"@spectrum-css/popover": major
+"@spectrum-css/sidenav": major
+"@spectrum-css/stepper": major
+"@spectrum-css/tooltip": major
+"@spectrum-css/avatar": major
+"@spectrum-css/button": major
+"@spectrum-css/dialog": major
+"@spectrum-css/miller": major
+"@spectrum-css/picker": major
+"@spectrum-css/rating": major
+"@spectrum-css/search": major
+"@spectrum-css/slider": major
+"@spectrum-css/swatch": major
+"@spectrum-css/switch": major
+"@spectrum-css/asset": major
+"@spectrum-css/badge": major
+"@spectrum-css/modal": major
+"@spectrum-css/radio": major
+"@spectrum-css/table": major
+"@spectrum-css/toast": major
+"@spectrum-css/card": major
+"@spectrum-css/dial": major
+"@spectrum-css/icon": major
+"@spectrum-css/link": major
+"@spectrum-css/menu": major
+"@spectrum-css/tabs": major
+"@spectrum-css/tray": major
+"@spectrum-css/well": major
+"@spectrum-css/tag": major
+"@spectrum-css/preview": major
+"@spectrum-css/generator": major
+"@spectrum-css/tokens": major
+---
+
+Bug fixes to S1 & Express theming across all components
diff --git a/.changeset/large-files-eat.md b/.changeset/large-files-eat.md
new file mode 100644
index 00000000000..b11ac48623d
--- /dev/null
+++ b/.changeset/large-files-eat.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/tokens": patch
+---
+
+[SWC-248]: Selected, static black actionbutton content color should be white, not black (updates tokens)
diff --git a/.changeset/little-adults-melt.md b/.changeset/little-adults-melt.md
new file mode 100644
index 00000000000..0e9b7f5ce3a
--- /dev/null
+++ b/.changeset/little-adults-melt.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/tokens": patch
+---
+
+Adds `--spectrum-gray-800-rgb` custom token for use in well component. The custom token values reflect the stripped RGB values for light and dark modes of `--spectrum-gray-800` values for S2.
diff --git a/.changeset/lovely-ducks-listen.md b/.changeset/lovely-ducks-listen.md
new file mode 100644
index 00000000000..3af77ca05b7
--- /dev/null
+++ b/.changeset/lovely-ducks-listen.md
@@ -0,0 +1,86 @@
+---
+"@spectrum-css/floatingactionbutton": major
+"@spectrum-css/opacitycheckerboard": major
+"@spectrum-css/illustratedmessage": major
+"@spectrum-css/coachindicator": major
+"@spectrum-css/contextualhelp": major
+"@spectrum-css/progresscircle": major
+"@spectrum-css/dropindicator": major
+"@spectrum-css/infieldbutton": major
+"@spectrum-css/actionbutton": major
+"@spectrum-css/pickerbutton": major
+"@spectrum-css/actiongroup": major
+"@spectrum-css/alertbanner": major
+"@spectrum-css/alertdialog": major
+"@spectrum-css/buttongroup": major
+"@spectrum-css/clearbutton": major
+"@spectrum-css/closebutton": major
+"@spectrum-css/colorhandle": major
+"@spectrum-css/colorslider": major
+"@spectrum-css/inlinealert": major
+"@spectrum-css/logicbutton": major
+"@spectrum-css/progressbar": major
+"@spectrum-css/statuslight": major
+"@spectrum-css/swatchgroup": major
+"@spectrum-css/actionmenu": major
+"@spectrum-css/breadcrumb": major
+"@spectrum-css/colorloupe": major
+"@spectrum-css/colorwheel": major
+"@spectrum-css/datepicker": major
+"@spectrum-css/fieldgroup": major
+"@spectrum-css/fieldlabel": major
+"@spectrum-css/pagination": major
+"@spectrum-css/typography": major
+"@spectrum-css/accordion": major
+"@spectrum-css/actionbar": major
+"@spectrum-css/assetcard": major
+"@spectrum-css/assetlist": major
+"@spectrum-css/coachmark": major
+"@spectrum-css/colorarea": major
+"@spectrum-css/splitview": major
+"@spectrum-css/textfield": major
+"@spectrum-css/thumbnail": major
+"@spectrum-css/calendar": major
+"@spectrum-css/checkbox": major
+"@spectrum-css/combobox": major
+"@spectrum-css/dropzone": major
+"@spectrum-css/helptext": major
+"@spectrum-css/steplist": major
+"@spectrum-css/taggroup": major
+"@spectrum-css/treeview": major
+"@spectrum-css/underlay": major
+"@spectrum-css/commons": major
+"@spectrum-css/divider": major
+"@spectrum-css/popover": major
+"@spectrum-css/sidenav": major
+"@spectrum-css/stepper": major
+"@spectrum-css/tooltip": major
+"@spectrum-css/avatar": major
+"@spectrum-css/button": major
+"@spectrum-css/dialog": major
+"@spectrum-css/miller": major
+"@spectrum-css/picker": major
+"@spectrum-css/rating": major
+"@spectrum-css/search": major
+"@spectrum-css/slider": major
+"@spectrum-css/swatch": major
+"@spectrum-css/switch": major
+"@spectrum-css/asset": major
+"@spectrum-css/badge": major
+"@spectrum-css/modal": major
+"@spectrum-css/radio": major
+"@spectrum-css/table": major
+"@spectrum-css/toast": major
+"@spectrum-css/card": major
+"@spectrum-css/dial": major
+"@spectrum-css/icon": major
+"@spectrum-css/link": major
+"@spectrum-css/menu": major
+"@spectrum-css/tabs": major
+"@spectrum-css/tray": major
+"@spectrum-css/well": major
+"@spectrum-css/tag": major
+"@spectrum-css/tokens": major
+---
+
+Push out the latest release to the components
diff --git a/.changeset/lucky-bags-relax.md b/.changeset/lucky-bags-relax.md
new file mode 100644
index 00000000000..981b428ab80
--- /dev/null
+++ b/.changeset/lucky-bags-relax.md
@@ -0,0 +1,13 @@
+---
+"@spectrum-css/progressbar": minor
+"@spectrum-css/thumbnail": minor
+"@spectrum-css/meter": minor
+---
+
+ProgressBar/Meter
+
+- Fix bug by reverting "background-color" for track fill back to "background".
+
+Thumbnail
+
+- Remove unused "vertical align" property.
diff --git a/.changeset/modern-beds-provide.md b/.changeset/modern-beds-provide.md
new file mode 100644
index 00000000000..226ffc6eb71
--- /dev/null
+++ b/.changeset/modern-beds-provide.md
@@ -0,0 +1,87 @@
+---
+"@spectrum-css/floatingactionbutton": minor
+"@spectrum-css/opacitycheckerboard": minor
+"@spectrum-css/illustratedmessage": minor
+"@spectrum-css/coachindicator": minor
+"@spectrum-css/contextualhelp": minor
+"@spectrum-css/progresscircle": minor
+"@spectrum-css/dropindicator": minor
+"@spectrum-css/infieldbutton": minor
+"@spectrum-css/actionbutton": minor
+"@spectrum-css/pickerbutton": minor
+"@spectrum-css/actiongroup": minor
+"@spectrum-css/alertbanner": minor
+"@spectrum-css/alertdialog": minor
+"@spectrum-css/buttongroup": minor
+"@spectrum-css/clearbutton": minor
+"@spectrum-css/closebutton": minor
+"@spectrum-css/colorhandle": minor
+"@spectrum-css/colorslider": minor
+"@spectrum-css/inlinealert": minor
+"@spectrum-css/logicbutton": minor
+"@spectrum-css/progressbar": minor
+"@spectrum-css/statuslight": minor
+"@spectrum-css/swatchgroup": minor
+"@spectrum-css/actionmenu": minor
+"@spectrum-css/breadcrumb": minor
+"@spectrum-css/colorloupe": minor
+"@spectrum-css/colorwheel": minor
+"@spectrum-css/datepicker": minor
+"@spectrum-css/fieldgroup": minor
+"@spectrum-css/fieldlabel": minor
+"@spectrum-css/pagination": minor
+"@spectrum-css/typography": minor
+"@spectrum-css/accordion": minor
+"@spectrum-css/actionbar": minor
+"@spectrum-css/assetcard": minor
+"@spectrum-css/assetlist": minor
+"@spectrum-css/coachmark": minor
+"@spectrum-css/colorarea": minor
+"@spectrum-css/splitview": minor
+"@spectrum-css/textfield": minor
+"@spectrum-css/thumbnail": minor
+"@spectrum-css/calendar": minor
+"@spectrum-css/checkbox": minor
+"@spectrum-css/combobox": minor
+"@spectrum-css/dropzone": minor
+"@spectrum-css/helptext": minor
+"@spectrum-css/steplist": minor
+"@spectrum-css/taggroup": minor
+"@spectrum-css/treeview": minor
+"@spectrum-css/underlay": minor
+"@spectrum-css/commons": minor
+"@spectrum-css/divider": minor
+"@spectrum-css/popover": minor
+"@spectrum-css/sidenav": minor
+"@spectrum-css/stepper": minor
+"@spectrum-css/tooltip": minor
+"@spectrum-css/avatar": minor
+"@spectrum-css/button": minor
+"@spectrum-css/dialog": minor
+"@spectrum-css/miller": minor
+"@spectrum-css/picker": minor
+"@spectrum-css/rating": minor
+"@spectrum-css/search": minor
+"@spectrum-css/slider": minor
+"@spectrum-css/swatch": minor
+"@spectrum-css/switch": minor
+"@spectrum-css/asset": minor
+"@spectrum-css/badge": minor
+"@spectrum-css/modal": minor
+"@spectrum-css/radio": minor
+"@spectrum-css/table": minor
+"@spectrum-css/toast": minor
+"@spectrum-css/card": minor
+"@spectrum-css/dial": minor
+"@spectrum-css/icon": minor
+"@spectrum-css/link": minor
+"@spectrum-css/menu": minor
+"@spectrum-css/tabs": minor
+"@spectrum-css/tray": minor
+"@spectrum-css/well": minor
+"@spectrum-css/tag": minor
+"@spectrum-css/preview": minor
+"@spectrum-css/tokens": minor
+---
+
+Fixes an issue where vars.css was not being populated with the correct values
diff --git a/.changeset/modern-taxis-occur.md b/.changeset/modern-taxis-occur.md
new file mode 100644
index 00000000000..11202ab8ccb
--- /dev/null
+++ b/.changeset/modern-taxis-occur.md
@@ -0,0 +1,6 @@
+---
+"@spectrum-css/table": minor
+"@spectrum-css/card": minor
+---
+
+Move --highcontrast references out of themes; remove remaining --mods from the themes
diff --git a/.changeset/modern-tips-look.md b/.changeset/modern-tips-look.md
new file mode 100644
index 00000000000..17ac9e20e58
--- /dev/null
+++ b/.changeset/modern-tips-look.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/coachmark": minor
+---
+
+[SWC-239] passthroughs referencing global token values in index.css abstracted to define alias' in the coach mark theme file
diff --git a/.changeset/moody-shirts-kick.md b/.changeset/moody-shirts-kick.md
new file mode 100644
index 00000000000..aec590cd344
--- /dev/null
+++ b/.changeset/moody-shirts-kick.md
@@ -0,0 +1,87 @@
+---
+"@spectrum-css/progresscircle": major
+"@spectrum-css/infieldbutton": major
+"@spectrum-css/actionbutton": major
+"@spectrum-css/pickerbutton": major
+"@spectrum-css/actiongroup": major
+"@spectrum-css/alertbanner": major
+"@spectrum-css/clearbutton": major
+"@spectrum-css/closebutton": major
+"@spectrum-css/logicbutton": major
+"@spectrum-css/progressbar": major
+"@spectrum-css/datepicker": major
+"@spectrum-css/pagination": major
+"@spectrum-css/accordion": major
+"@spectrum-css/actionbar": major
+"@spectrum-css/assetcard": major
+"@spectrum-css/assetlist": major
+"@spectrum-css/splitview": major
+"@spectrum-css/textfield": major
+"@spectrum-css/checkbox": major
+"@spectrum-css/combobox": major
+"@spectrum-css/dropzone": major
+"@spectrum-css/steplist": major
+"@spectrum-css/treeview": major
+"@spectrum-css/divider": major
+"@spectrum-css/popover": major
+"@spectrum-css/sidenav": major
+"@spectrum-css/stepper": major
+"@spectrum-css/tooltip": major
+"@spectrum-css/button": major
+"@spectrum-css/picker": major
+"@spectrum-css/rating": major
+"@spectrum-css/search": major
+"@spectrum-css/slider": major
+"@spectrum-css/swatch": major
+"@spectrum-css/switch": major
+"@spectrum-css/asset": major
+"@spectrum-css/modal": major
+"@spectrum-css/radio": major
+"@spectrum-css/table": major
+"@spectrum-css/toast": major
+"@spectrum-css/card": major
+"@spectrum-css/dial": major
+"@spectrum-css/menu": major
+"@spectrum-css/tabs": major
+"@spectrum-css/tag": major
+"@spectrum-css/preview": major
+"@spectrum-css/tokens": major
+"@spectrum-css/actionmenu": major
+"@spectrum-css/alertdialog": major
+"@spectrum-css/avatar": major
+"@spectrum-css/badge": major
+"@spectrum-css/breadcrumb": major
+"@spectrum-css/buttongroup": major
+"@spectrum-css/calendar": major
+"@spectrum-css/coachindicator": major
+"@spectrum-css/coachmark": major
+"@spectrum-css/colorarea": major
+"@spectrum-css/colorhandle": major
+"@spectrum-css/colorloupe": major
+"@spectrum-css/colorslider": major
+"@spectrum-css/colorwheel": major
+"@spectrum-css/commons": major
+"@spectrum-css/contextualhelp": major
+"@spectrum-css/dialog": major
+"@spectrum-css/dropindicator": major
+"@spectrum-css/fieldgroup": major
+"@spectrum-css/fieldlabel": major
+"@spectrum-css/floatingactionbutton": major
+"@spectrum-css/helptext": major
+"@spectrum-css/icon": major
+"@spectrum-css/illustratedmessage": major
+"@spectrum-css/inlinealert": major
+"@spectrum-css/link": major
+"@spectrum-css/miller": major
+"@spectrum-css/opacitycheckerboard": major
+"@spectrum-css/statuslight": major
+"@spectrum-css/swatchgroup": major
+"@spectrum-css/taggroup": major
+"@spectrum-css/thumbnail": major
+"@spectrum-css/tray": major
+"@spectrum-css/typography": major
+"@spectrum-css/underlay": major
+"@spectrum-css/well": major
+---
+
+S2 colors and grays foundation mapping
diff --git a/.changeset/neat-melons-peel.md b/.changeset/neat-melons-peel.md
new file mode 100644
index 00000000000..e233f10a578
--- /dev/null
+++ b/.changeset/neat-melons-peel.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/stepper": minor
+---
+
+--mod properties were moved out of `stepper/themes/spectrum-two.css` into `stepper/index.css` so --mods can be applied at the component level.
diff --git a/.changeset/new-candles-drop.md b/.changeset/new-candles-drop.md
new file mode 100644
index 00000000000..e94b27c0cb9
--- /dev/null
+++ b/.changeset/new-candles-drop.md
@@ -0,0 +1,6 @@
+---
+"@spectrum-css/checkbox": minor
+"@spectrum-css/icon": minor
+---
+
+Fix icon sizing and checkbox border colors
diff --git a/.changeset/nine-pots-grin.md b/.changeset/nine-pots-grin.md
new file mode 100644
index 00000000000..767379f2750
--- /dev/null
+++ b/.changeset/nine-pots-grin.md
@@ -0,0 +1,85 @@
+---
+"@spectrum-css/floatingactionbutton": minor
+"@spectrum-css/opacitycheckerboard": minor
+"@spectrum-css/illustratedmessage": minor
+"@spectrum-css/coachindicator": minor
+"@spectrum-css/contextualhelp": minor
+"@spectrum-css/progresscircle": minor
+"@spectrum-css/dropindicator": minor
+"@spectrum-css/infieldbutton": minor
+"@spectrum-css/actionbutton": minor
+"@spectrum-css/pickerbutton": minor
+"@spectrum-css/actiongroup": minor
+"@spectrum-css/alertbanner": minor
+"@spectrum-css/alertdialog": minor
+"@spectrum-css/buttongroup": minor
+"@spectrum-css/clearbutton": minor
+"@spectrum-css/closebutton": minor
+"@spectrum-css/colorhandle": minor
+"@spectrum-css/colorslider": minor
+"@spectrum-css/inlinealert": minor
+"@spectrum-css/logicbutton": minor
+"@spectrum-css/progressbar": minor
+"@spectrum-css/statuslight": minor
+"@spectrum-css/swatchgroup": minor
+"@spectrum-css/actionmenu": minor
+"@spectrum-css/breadcrumb": minor
+"@spectrum-css/colorloupe": minor
+"@spectrum-css/colorwheel": minor
+"@spectrum-css/datepicker": minor
+"@spectrum-css/fieldgroup": minor
+"@spectrum-css/fieldlabel": minor
+"@spectrum-css/pagination": minor
+"@spectrum-css/typography": minor
+"@spectrum-css/accordion": minor
+"@spectrum-css/actionbar": minor
+"@spectrum-css/assetcard": minor
+"@spectrum-css/assetlist": minor
+"@spectrum-css/coachmark": minor
+"@spectrum-css/colorarea": minor
+"@spectrum-css/splitview": minor
+"@spectrum-css/textfield": minor
+"@spectrum-css/thumbnail": minor
+"@spectrum-css/calendar": minor
+"@spectrum-css/checkbox": minor
+"@spectrum-css/combobox": minor
+"@spectrum-css/dropzone": minor
+"@spectrum-css/helptext": minor
+"@spectrum-css/steplist": minor
+"@spectrum-css/taggroup": minor
+"@spectrum-css/treeview": minor
+"@spectrum-css/underlay": minor
+"@spectrum-css/commons": minor
+"@spectrum-css/divider": minor
+"@spectrum-css/popover": minor
+"@spectrum-css/sidenav": minor
+"@spectrum-css/stepper": minor
+"@spectrum-css/tooltip": minor
+"@spectrum-css/avatar": minor
+"@spectrum-css/button": minor
+"@spectrum-css/dialog": minor
+"@spectrum-css/miller": minor
+"@spectrum-css/picker": minor
+"@spectrum-css/rating": minor
+"@spectrum-css/search": minor
+"@spectrum-css/slider": minor
+"@spectrum-css/swatch": minor
+"@spectrum-css/switch": minor
+"@spectrum-css/asset": minor
+"@spectrum-css/badge": minor
+"@spectrum-css/modal": minor
+"@spectrum-css/radio": minor
+"@spectrum-css/table": minor
+"@spectrum-css/toast": minor
+"@spectrum-css/card": minor
+"@spectrum-css/dial": minor
+"@spectrum-css/icon": minor
+"@spectrum-css/link": minor
+"@spectrum-css/menu": minor
+"@spectrum-css/tabs": minor
+"@spectrum-css/tray": minor
+"@spectrum-css/well": minor
+"@spectrum-css/tag": minor
+---
+
+Align selectors with the specificity that exists in S1 today
diff --git a/.changeset/olive-buttons-join.md b/.changeset/olive-buttons-join.md
new file mode 100644
index 00000000000..8f40f560124
--- /dev/null
+++ b/.changeset/olive-buttons-join.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/tokens": patch
+---
+
+Adds `--spectrum-blue-800-rgb` for light and `--spectrum-blue-900-rgb` for dark with s2 values to custom tokens to define stripped rgb token used in dropzone dragged background.
diff --git a/.changeset/orange-ants-yawn.md b/.changeset/orange-ants-yawn.md
new file mode 100644
index 00000000000..a3a7c3260cf
--- /dev/null
+++ b/.changeset/orange-ants-yawn.md
@@ -0,0 +1,6 @@
+---
+"@spectrum-css/actionbutton": patch
+"@spectrum-css/tokens": patch
+---
+
+Fix unsupported variables created in components/actionbutton/themes/spectrum.css
diff --git a/.changeset/orange-numbers-do.md b/.changeset/orange-numbers-do.md
new file mode 100644
index 00000000000..f617d6ed62e
--- /dev/null
+++ b/.changeset/orange-numbers-do.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/actionbutton": minor
+---
+
+[SWC-248] Action button selected static black state overrides not working
diff --git a/.changeset/polite-readers-smile.md b/.changeset/polite-readers-smile.md
new file mode 100644
index 00000000000..1755f0d66ee
--- /dev/null
+++ b/.changeset/polite-readers-smile.md
@@ -0,0 +1,7 @@
+---
+"@spectrum-css/datepicker": patch
+"@spectrum-css/radio": patch
+"@spectrum-css/tokens": patch
+---
+
+Minor bug fixes for datepicker and radio; tokens released for alignment
diff --git a/.changeset/poor-trains-poke.md b/.changeset/poor-trains-poke.md
new file mode 100644
index 00000000000..d96c8679054
--- /dev/null
+++ b/.changeset/poor-trains-poke.md
@@ -0,0 +1,7 @@
+---
+"@spectrum-css/infieldbutton": major
+"@spectrum-css/logicbutton": major
+"@spectrum-css/table": major
+---
+
+Migrating --mod to index.css from infield button, logic button and table components
diff --git a/.changeset/pre.json b/.changeset/pre.json
new file mode 100644
index 00000000000..84709e93da2
--- /dev/null
+++ b/.changeset/pre.json
@@ -0,0 +1,188 @@
+{
+ "mode": "pre",
+ "tag": "s2-foundations",
+ "initialVersions": {
+ "@spectrum-css/preview": "10.1.0",
+ "@spectrum-css/accordion": "5.1.2",
+ "@spectrum-css/actionbar": "8.1.1",
+ "@spectrum-css/actionbutton": "6.1.1",
+ "@spectrum-css/actiongroup": "5.1.0",
+ "@spectrum-css/actionmenu": "6.1.1",
+ "@spectrum-css/alertbanner": "2.2.0",
+ "@spectrum-css/alertdialog": "2.1.1",
+ "@spectrum-css/asset": "5.1.1",
+ "@spectrum-css/assetcard": "4.1.1",
+ "@spectrum-css/assetlist": "6.1.1",
+ "@spectrum-css/avatar": "7.1.1",
+ "@spectrum-css/badge": "4.1.1",
+ "@spectrum-css/breadcrumb": "9.1.1",
+ "@spectrum-css/button": "13.1.1",
+ "@spectrum-css/buttongroup": "7.1.1",
+ "@spectrum-css/calendar": "5.1.2",
+ "@spectrum-css/card": "8.1.1",
+ "@spectrum-css/checkbox": "9.1.1",
+ "@spectrum-css/clearbutton": "6.1.1",
+ "@spectrum-css/closebutton": "5.1.1",
+ "@spectrum-css/coachindicator": "2.1.1",
+ "@spectrum-css/coachmark": "7.1.1",
+ "@spectrum-css/colorarea": "5.1.1",
+ "@spectrum-css/colorhandle": "8.1.1",
+ "@spectrum-css/colorloupe": "5.1.1",
+ "@spectrum-css/colorslider": "6.1.1",
+ "@spectrum-css/colorwheel": "4.1.1",
+ "@spectrum-css/combobox": "3.1.2",
+ "@spectrum-css/commons": "10.0.1",
+ "@spectrum-css/contextualhelp": "3.1.1",
+ "@spectrum-css/datepicker": "3.2.1",
+ "@spectrum-css/dial": "3.1.1",
+ "@spectrum-css/dialog": "10.1.1",
+ "@spectrum-css/divider": "3.1.1",
+ "@spectrum-css/dropindicator": "5.1.1",
+ "@spectrum-css/dropzone": "6.1.1",
+ "@spectrum-css/fieldgroup": "5.1.1",
+ "@spectrum-css/fieldlabel": "8.1.1",
+ "@spectrum-css/floatingactionbutton": "2.1.1",
+ "@spectrum-css/helptext": "5.1.1",
+ "@spectrum-css/icon": "7.1.1",
+ "@spectrum-css/illustratedmessage": "7.1.1",
+ "@spectrum-css/infieldbutton": "5.1.1",
+ "@spectrum-css/inlinealert": "8.1.1",
+ "@spectrum-css/link": "5.1.1",
+ "@spectrum-css/logicbutton": "4.1.1",
+ "@spectrum-css/menu": "7.1.3",
+ "@spectrum-css/miller": "6.1.1",
+ "@spectrum-css/modal": "5.1.1",
+ "@spectrum-css/opacitycheckerboard": "2.1.1",
+ "@spectrum-css/pagination": "8.1.1",
+ "@spectrum-css/picker": "8.1.3",
+ "@spectrum-css/pickerbutton": "5.1.1",
+ "@spectrum-css/popover": "7.1.3",
+ "@spectrum-css/progressbar": "4.1.2",
+ "@spectrum-css/progresscircle": "3.1.1",
+ "@spectrum-css/radio": "9.2.2",
+ "@spectrum-css/rating": "5.1.1",
+ "@spectrum-css/search": "7.1.2",
+ "@spectrum-css/sidenav": "5.1.1",
+ "@spectrum-css/slider": "5.2.3",
+ "@spectrum-css/splitview": "5.2.1",
+ "@spectrum-css/statuslight": "7.1.1",
+ "@spectrum-css/steplist": "5.1.1",
+ "@spectrum-css/stepper": "6.1.2",
+ "@spectrum-css/swatch": "6.1.1",
+ "@spectrum-css/swatchgroup": "3.1.1",
+ "@spectrum-css/switch": "5.1.1",
+ "@spectrum-css/table": "6.1.1",
+ "@spectrum-css/tabs": "5.1.1",
+ "@spectrum-css/tag": "9.1.1",
+ "@spectrum-css/taggroup": "5.1.1",
+ "@spectrum-css/textfield": "7.1.3",
+ "@spectrum-css/thumbnail": "6.1.2",
+ "@spectrum-css/toast": "10.1.1",
+ "@spectrum-css/tooltip": "6.1.2",
+ "@spectrum-css/tray": "3.1.1",
+ "@spectrum-css/treeview": "10.2.1",
+ "@spectrum-css/typography": "6.1.1",
+ "@spectrum-css/underlay": "4.1.1",
+ "@spectrum-css/well": "5.2.1",
+ "@spectrum-css/generator": "4.0.2",
+ "@spectrum-css/tokens": "14.2.0",
+ "@spectrum-css/ui-icons": "1.1.2",
+ "@spectrum-tools/gh-action-file-diff": "2.0.6",
+ "@spectrum-tools/postcss-add-theming-layer": "2.1.1-s2-foundations.0",
+ "@spectrum-tools/postcss-property-rollup": "2.0.1",
+ "@spectrum-tools/postcss-rgb-mapping": "2.0.0",
+ "@spectrum-tools/stylelint-no-missing-var": "2.0.0",
+ "@spectrum-tools/stylelint-no-unknown-custom-properties": "2.0.0",
+ "@spectrum-tools/stylelint-no-unused-custom-properties": "2.0.0",
+ "@spectrum-tools/documentation": "2.0.2",
+ "@spectrum-tools/theme-alignment": "1.1.0",
+ "@spectrum-css/form": "0.0.0-s2-foundations.0",
+ "@spectrum-css/meter": "0.0.0-s2-foundations.0"
+ },
+ "changesets": [
+ "afraid-cycles-wash",
+ "big-chairs-care",
+ "big-hats-happen",
+ "big-pandas-end",
+ "calm-socks-speak",
+ "clever-walls-glow",
+ "cyan-actors-rest",
+ "dull-pandas-grin",
+ "empty-countries-act",
+ "fair-parents-rush",
+ "few-frogs-mate",
+ "fluffy-apes-breathe",
+ "fluffy-months-battle",
+ "fresh-apes-invent",
+ "fresh-emus-worry",
+ "fresh-games-itch",
+ "fuzzy-brooms-jam",
+ "fuzzy-jokes-begin",
+ "gentle-ties-hang",
+ "gold-countries-fly",
+ "good-dots-thank",
+ "good-parrots-attack",
+ "heavy-sheep-drive",
+ "heavy-teachers-drop",
+ "hungry-jokes-yawn",
+ "itchy-candles-develop",
+ "itchy-games-marry",
+ "khaki-coats-unite",
+ "large-carpets-share",
+ "large-files-eat",
+ "little-adults-melt",
+ "lovely-ducks-listen",
+ "lucky-bags-relax",
+ "modern-beds-provide",
+ "modern-taxis-occur",
+ "modern-tips-look",
+ "moody-shirts-kick",
+ "neat-melons-peel",
+ "new-candles-drop",
+ "nine-pots-grin",
+ "olive-buttons-join",
+ "orange-ants-yawn",
+ "orange-numbers-do",
+ "polite-readers-smile",
+ "poor-trains-poke",
+ "purple-chairs-melt",
+ "rare-countries-sparkle",
+ "real-beans-serve",
+ "real-colts-perform",
+ "rotten-maps-argue",
+ "selfish-singers-lie",
+ "seven-pens-collect",
+ "sharp-pianos-reply",
+ "sharp-rice-sing",
+ "sharp-vans-flow",
+ "shiny-peaches-change",
+ "short-carrots-film",
+ "silent-carpets-beam",
+ "silent-news-applaud",
+ "silly-toes-jump",
+ "six-fireants-rule",
+ "sixty-ears-heal",
+ "sixty-vans-thank",
+ "smart-worms-pump",
+ "smooth-eagles-warn",
+ "soft-pianos-suffer",
+ "sour-balloons-begin",
+ "spicy-meals-smoke",
+ "spicy-poets-build",
+ "spotty-guests-breathe",
+ "strong-hotels-type",
+ "sweet-zoos-shout",
+ "tall-tomatoes-punch",
+ "tasty-years-cheat",
+ "tender-buckets-sneeze",
+ "three-buckets-walk",
+ "tiny-stingrays-kneel",
+ "twelve-melons-battle",
+ "twenty-jokes-lie",
+ "weak-bags-run",
+ "weak-kings-pretend",
+ "young-ads-argue",
+ "young-cheetahs-peel",
+ "young-parents-knock"
+ ]
+}
diff --git a/.changeset/purple-chairs-melt.md b/.changeset/purple-chairs-melt.md
new file mode 100644
index 00000000000..5f38fed67cf
--- /dev/null
+++ b/.changeset/purple-chairs-melt.md
@@ -0,0 +1,87 @@
+---
+"@spectrum-css/floatingactionbutton": major
+"@spectrum-css/opacitycheckerboard": major
+"@spectrum-css/illustratedmessage": major
+"@spectrum-css/coachindicator": major
+"@spectrum-css/contextualhelp": major
+"@spectrum-css/progresscircle": major
+"@spectrum-css/dropindicator": major
+"@spectrum-css/infieldbutton": major
+"@spectrum-css/actionbutton": major
+"@spectrum-css/pickerbutton": major
+"@spectrum-css/actiongroup": major
+"@spectrum-css/alertbanner": major
+"@spectrum-css/alertdialog": major
+"@spectrum-css/buttongroup": major
+"@spectrum-css/clearbutton": major
+"@spectrum-css/closebutton": major
+"@spectrum-css/colorhandle": major
+"@spectrum-css/colorslider": major
+"@spectrum-css/inlinealert": major
+"@spectrum-css/logicbutton": major
+"@spectrum-css/progressbar": major
+"@spectrum-css/statuslight": major
+"@spectrum-css/swatchgroup": major
+"@spectrum-css/actionmenu": major
+"@spectrum-css/breadcrumb": major
+"@spectrum-css/colorloupe": major
+"@spectrum-css/colorwheel": major
+"@spectrum-css/datepicker": major
+"@spectrum-css/fieldgroup": major
+"@spectrum-css/fieldlabel": major
+"@spectrum-css/pagination": major
+"@spectrum-css/typography": major
+"@spectrum-css/accordion": major
+"@spectrum-css/actionbar": major
+"@spectrum-css/assetcard": major
+"@spectrum-css/assetlist": major
+"@spectrum-css/coachmark": major
+"@spectrum-css/colorarea": major
+"@spectrum-css/splitview": major
+"@spectrum-css/textfield": major
+"@spectrum-css/thumbnail": major
+"@spectrum-css/calendar": major
+"@spectrum-css/checkbox": major
+"@spectrum-css/combobox": major
+"@spectrum-css/dropzone": major
+"@spectrum-css/helptext": major
+"@spectrum-css/steplist": major
+"@spectrum-css/taggroup": major
+"@spectrum-css/treeview": major
+"@spectrum-css/underlay": major
+"@spectrum-css/commons": major
+"@spectrum-css/divider": major
+"@spectrum-css/popover": major
+"@spectrum-css/sidenav": major
+"@spectrum-css/stepper": major
+"@spectrum-css/tooltip": major
+"@spectrum-css/avatar": major
+"@spectrum-css/button": major
+"@spectrum-css/dialog": major
+"@spectrum-css/miller": major
+"@spectrum-css/picker": major
+"@spectrum-css/rating": major
+"@spectrum-css/search": major
+"@spectrum-css/slider": major
+"@spectrum-css/swatch": major
+"@spectrum-css/switch": major
+"@spectrum-css/asset": major
+"@spectrum-css/badge": major
+"@spectrum-css/modal": major
+"@spectrum-css/radio": major
+"@spectrum-css/table": major
+"@spectrum-css/toast": major
+"@spectrum-css/card": major
+"@spectrum-css/dial": major
+"@spectrum-css/icon": major
+"@spectrum-css/link": major
+"@spectrum-css/menu": major
+"@spectrum-css/tabs": major
+"@spectrum-css/tray": major
+"@spectrum-css/well": major
+"@spectrum-css/tag": major
+"@spectrum-css/preview": major
+"@spectrum-css/tokens": major
+---
+
+Preserves `themes` folder in `dist` artifacts for easier downstream consumption
diff --git a/.changeset/rare-countries-sparkle.md b/.changeset/rare-countries-sparkle.md
new file mode 100644
index 00000000000..04ceabb52a7
--- /dev/null
+++ b/.changeset/rare-countries-sparkle.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/actionbutton": major
+---
+
+Right-side padding fix
diff --git a/.changeset/real-beans-serve.md b/.changeset/real-beans-serve.md
new file mode 100644
index 00000000000..ad1f93dbc1f
--- /dev/null
+++ b/.changeset/real-beans-serve.md
@@ -0,0 +1,86 @@
+---
+"@spectrum-css/floatingactionbutton": major
+"@spectrum-css/opacitycheckerboard": major
+"@spectrum-css/illustratedmessage": major
+"@spectrum-css/coachindicator": major
+"@spectrum-css/contextualhelp": major
+"@spectrum-css/progresscircle": major
+"@spectrum-css/dropindicator": major
+"@spectrum-css/infieldbutton": major
+"@spectrum-css/actionbutton": major
+"@spectrum-css/pickerbutton": major
+"@spectrum-css/actiongroup": major
+"@spectrum-css/alertbanner": major
+"@spectrum-css/alertdialog": major
+"@spectrum-css/buttongroup": major
+"@spectrum-css/clearbutton": major
+"@spectrum-css/closebutton": major
+"@spectrum-css/colorhandle": major
+"@spectrum-css/colorslider": major
+"@spectrum-css/inlinealert": major
+"@spectrum-css/logicbutton": major
+"@spectrum-css/progressbar": major
+"@spectrum-css/statuslight": major
+"@spectrum-css/swatchgroup": major
+"@spectrum-css/actionmenu": major
+"@spectrum-css/breadcrumb": major
+"@spectrum-css/colorloupe": major
+"@spectrum-css/colorwheel": major
+"@spectrum-css/datepicker": major
+"@spectrum-css/fieldgroup": major
+"@spectrum-css/fieldlabel": major
+"@spectrum-css/pagination": major
+"@spectrum-css/typography": major
+"@spectrum-css/accordion": major
+"@spectrum-css/actionbar": major
+"@spectrum-css/assetcard": major
+"@spectrum-css/assetlist": major
+"@spectrum-css/coachmark": major
+"@spectrum-css/colorarea": major
+"@spectrum-css/splitview": major
+"@spectrum-css/textfield": major
+"@spectrum-css/thumbnail": major
+"@spectrum-css/calendar": major
+"@spectrum-css/checkbox": major
+"@spectrum-css/combobox": major
+"@spectrum-css/dropzone": major
+"@spectrum-css/helptext": major
+"@spectrum-css/steplist": major
+"@spectrum-css/taggroup": major
+"@spectrum-css/treeview": major
+"@spectrum-css/underlay": major
+"@spectrum-css/commons": major
+"@spectrum-css/divider": major
+"@spectrum-css/popover": major
+"@spectrum-css/sidenav": major
+"@spectrum-css/stepper": major
+"@spectrum-css/tooltip": major
+"@spectrum-css/avatar": major
+"@spectrum-css/button": major
+"@spectrum-css/dialog": major
+"@spectrum-css/miller": major
+"@spectrum-css/picker": major
+"@spectrum-css/rating": major
+"@spectrum-css/search": major
+"@spectrum-css/slider": major
+"@spectrum-css/swatch": major
+"@spectrum-css/switch": major
+"@spectrum-css/asset": major
+"@spectrum-css/badge": major
+"@spectrum-css/modal": major
+"@spectrum-css/radio": major
+"@spectrum-css/table": major
+"@spectrum-css/toast": major
+"@spectrum-css/card": major
+"@spectrum-css/dial": major
+"@spectrum-css/icon": major
+"@spectrum-css/link": major
+"@spectrum-css/menu": major
+"@spectrum-css/tabs": major
+"@spectrum-css/tray": major
+"@spectrum-css/well": major
+"@spectrum-css/tag": major
+"@spectrum-css/tokens": major
+---
+
+Update system property tooling (splitinator) to leverage the selector parser
diff --git a/.changeset/real-colts-perform.md b/.changeset/real-colts-perform.md
new file mode 100644
index 00000000000..808b1bed988
--- /dev/null
+++ b/.changeset/real-colts-perform.md
@@ -0,0 +1,6 @@
+---
+"@spectrum-css/checkbox": minor
+"@spectrum-css/tokens": minor
+---
+
+[SWC-238] t-shirt-based calc moved out of theme into base css
diff --git a/.changeset/rotten-maps-argue.md b/.changeset/rotten-maps-argue.md
new file mode 100644
index 00000000000..f445384c846
--- /dev/null
+++ b/.changeset/rotten-maps-argue.md
@@ -0,0 +1,6 @@
+---
+"@spectrum-css/swatch": patch
+"@spectrum-css/tokens": patch
+---
+
+Border color for Swatch on light/dark mode switched to use gray instead of black so it responds to theme.
diff --git a/.changeset/selfish-singers-lie.md b/.changeset/selfish-singers-lie.md
new file mode 100644
index 00000000000..3825cca9790
--- /dev/null
+++ b/.changeset/selfish-singers-lie.md
@@ -0,0 +1,87 @@
+---
+"@spectrum-css/floatingactionbutton": minor
+"@spectrum-css/opacitycheckerboard": minor
+"@spectrum-css/illustratedmessage": minor
+"@spectrum-css/coachindicator": minor
+"@spectrum-css/contextualhelp": minor
+"@spectrum-css/progresscircle": minor
+"@spectrum-css/dropindicator": minor
+"@spectrum-css/infieldbutton": minor
+"@spectrum-css/actionbutton": minor
+"@spectrum-css/pickerbutton": minor
+"@spectrum-css/actiongroup": minor
+"@spectrum-css/alertbanner": minor
+"@spectrum-css/alertdialog": minor
+"@spectrum-css/buttongroup": minor
+"@spectrum-css/clearbutton": minor
+"@spectrum-css/closebutton": minor
+"@spectrum-css/colorhandle": minor
+"@spectrum-css/colorslider": minor
+"@spectrum-css/inlinealert": minor
+"@spectrum-css/logicbutton": minor
+"@spectrum-css/progressbar": minor
+"@spectrum-css/statuslight": minor
+"@spectrum-css/swatchgroup": minor
+"@spectrum-css/actionmenu": minor
+"@spectrum-css/breadcrumb": minor
+"@spectrum-css/colorloupe": minor
+"@spectrum-css/colorwheel": minor
+"@spectrum-css/datepicker": minor
+"@spectrum-css/fieldgroup": minor
+"@spectrum-css/fieldlabel": minor
+"@spectrum-css/pagination": minor
+"@spectrum-css/typography": minor
+"@spectrum-css/accordion": minor
+"@spectrum-css/actionbar": minor
+"@spectrum-css/assetcard": minor
+"@spectrum-css/assetlist": minor
+"@spectrum-css/coachmark": minor
+"@spectrum-css/colorarea": minor
+"@spectrum-css/splitview": minor
+"@spectrum-css/textfield": minor
+"@spectrum-css/thumbnail": minor
+"@spectrum-css/calendar": minor
+"@spectrum-css/checkbox": minor
+"@spectrum-css/combobox": minor
+"@spectrum-css/dropzone": minor
+"@spectrum-css/helptext": minor
+"@spectrum-css/steplist": minor
+"@spectrum-css/taggroup": minor
+"@spectrum-css/treeview": minor
+"@spectrum-css/underlay": minor
+"@spectrum-css/commons": minor
+"@spectrum-css/divider": minor
+"@spectrum-css/popover": minor
+"@spectrum-css/sidenav": minor
+"@spectrum-css/stepper": minor
+"@spectrum-css/tooltip": minor
+"@spectrum-css/avatar": minor
+"@spectrum-css/button": minor
+"@spectrum-css/dialog": minor
+"@spectrum-css/miller": minor
+"@spectrum-css/picker": minor
+"@spectrum-css/rating": minor
+"@spectrum-css/search": minor
+"@spectrum-css/slider": minor
+"@spectrum-css/swatch": minor
+"@spectrum-css/switch": minor
+"@spectrum-css/asset": minor
+"@spectrum-css/badge": minor
+"@spectrum-css/modal": minor
+"@spectrum-css/radio": minor
+"@spectrum-css/table": minor
+"@spectrum-css/toast": minor
+"@spectrum-css/card": minor
+"@spectrum-css/dial": minor
+"@spectrum-css/icon": minor
+"@spectrum-css/link": minor
+"@spectrum-css/menu": minor
+"@spectrum-css/tabs": minor
+"@spectrum-css/tray": minor
+"@spectrum-css/well": minor
+"@spectrum-css/tag": minor
+"@spectrum-css/preview": minor
+"@spectrum-css/tokens": minor
+---
+
+Fixes a compilation issue in the tokens dist artifacts
diff --git a/.changeset/seven-pens-collect.md b/.changeset/seven-pens-collect.md
new file mode 100644
index 00000000000..43dc24d7498
--- /dev/null
+++ b/.changeset/seven-pens-collect.md
@@ -0,0 +1,87 @@
+---
+"@spectrum-css/floatingactionbutton": patch
+"@spectrum-css/opacitycheckerboard": patch
+"@spectrum-css/illustratedmessage": patch
+"@spectrum-css/coachindicator": patch
+"@spectrum-css/contextualhelp": patch
+"@spectrum-css/progresscircle": patch
+"@spectrum-css/dropindicator": patch
+"@spectrum-css/infieldbutton": patch
+"@spectrum-css/actionbutton": patch
+"@spectrum-css/pickerbutton": patch
+"@spectrum-css/actiongroup": patch
+"@spectrum-css/alertbanner": patch
+"@spectrum-css/alertdialog": patch
+"@spectrum-css/buttongroup": patch
+"@spectrum-css/clearbutton": patch
+"@spectrum-css/closebutton": patch
+"@spectrum-css/colorhandle": patch
+"@spectrum-css/colorslider": patch
+"@spectrum-css/inlinealert": patch
+"@spectrum-css/logicbutton": patch
+"@spectrum-css/progressbar": patch
+"@spectrum-css/statuslight": patch
+"@spectrum-css/swatchgroup": patch
+"@spectrum-css/actionmenu": patch
+"@spectrum-css/breadcrumb": patch
+"@spectrum-css/colorloupe": patch
+"@spectrum-css/colorwheel": patch
+"@spectrum-css/datepicker": patch
+"@spectrum-css/fieldgroup": patch
+"@spectrum-css/fieldlabel": patch
+"@spectrum-css/pagination": patch
+"@spectrum-css/typography": patch
+"@spectrum-css/accordion": patch
+"@spectrum-css/actionbar": patch
+"@spectrum-css/assetcard": patch
+"@spectrum-css/assetlist": patch
+"@spectrum-css/coachmark": patch
+"@spectrum-css/colorarea": patch
+"@spectrum-css/splitview": patch
+"@spectrum-css/textfield": patch
+"@spectrum-css/thumbnail": patch
+"@spectrum-css/calendar": patch
+"@spectrum-css/checkbox": patch
+"@spectrum-css/combobox": patch
+"@spectrum-css/dropzone": patch
+"@spectrum-css/helptext": patch
+"@spectrum-css/steplist": patch
+"@spectrum-css/taggroup": patch
+"@spectrum-css/treeview": patch
+"@spectrum-css/underlay": patch
+"@spectrum-css/commons": patch
+"@spectrum-css/divider": patch
+"@spectrum-css/popover": patch
+"@spectrum-css/sidenav": patch
+"@spectrum-css/stepper": patch
+"@spectrum-css/tooltip": patch
+"@spectrum-css/avatar": patch
+"@spectrum-css/button": patch
+"@spectrum-css/dialog": patch
+"@spectrum-css/miller": patch
+"@spectrum-css/picker": patch
+"@spectrum-css/rating": patch
+"@spectrum-css/search": patch
+"@spectrum-css/slider": patch
+"@spectrum-css/swatch": patch
+"@spectrum-css/switch": patch
+"@spectrum-css/asset": patch
+"@spectrum-css/badge": patch
+"@spectrum-css/modal": patch
+"@spectrum-css/radio": patch
+"@spectrum-css/table": patch
+"@spectrum-css/toast": patch
+"@spectrum-css/card": patch
+"@spectrum-css/dial": patch
+"@spectrum-css/icon": patch
+"@spectrum-css/link": patch
+"@spectrum-css/menu": patch
+"@spectrum-css/tabs": patch
+"@spectrum-css/tray": patch
+"@spectrum-css/well": patch
+"@spectrum-css/tag": patch
+"@spectrum-css/preview": patch
+"@spectrum-css/tokens": patch
+---
+
+Corrects a faulty regex that was negatively affecting compilation of custom properties.
diff --git a/.changeset/sharp-pianos-reply.md b/.changeset/sharp-pianos-reply.md
new file mode 100644
index 00000000000..70472516574
--- /dev/null
+++ b/.changeset/sharp-pianos-reply.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/tokens": minor
+---
+
+This update pre-resolves the bundler assets to make them easier to serve as a single entry point.
diff --git a/.changeset/sharp-rice-sing.md b/.changeset/sharp-rice-sing.md
new file mode 100644
index 00000000000..c3d51bd6257
--- /dev/null
+++ b/.changeset/sharp-rice-sing.md
@@ -0,0 +1,18 @@
+---
+"@spectrum-css/assetcard": patch
+"@spectrum-css/well": patch
+---
+
+Replaces raw RGB value/direct token references with abstracted custom properties in theme/spectrum-two.css files
+
+Asset card
+
+- removes raw rgb value for box-shadow from `index.css`
+- creates new `--spectrum-assetcard-selectionindicator-box-shadow-color`
+ in `themes/spectrum-two.css` with previous rgb value to use instead
+
+Well
+
+- removes `--spectrum-gray-800-rgb` for background-color from `index.css`
+- creates new `--spectrum-well-background-color` in `themes/spectrum-two.css`
+ with previous `--spectrum-gray-800-rgb` property to use instead
diff --git a/.changeset/sharp-vans-flow.md b/.changeset/sharp-vans-flow.md
new file mode 100644
index 00000000000..b35e597351b
--- /dev/null
+++ b/.changeset/sharp-vans-flow.md
@@ -0,0 +1,87 @@
+---
+"@spectrum-css/floatingactionbutton": patch
+"@spectrum-css/opacitycheckerboard": patch
+"@spectrum-css/illustratedmessage": patch
+"@spectrum-css/coachindicator": patch
+"@spectrum-css/contextualhelp": patch
+"@spectrum-css/progresscircle": patch
+"@spectrum-css/dropindicator": patch
+"@spectrum-css/infieldbutton": patch
+"@spectrum-css/actionbutton": patch
+"@spectrum-css/pickerbutton": patch
+"@spectrum-css/actiongroup": patch
+"@spectrum-css/alertbanner": patch
+"@spectrum-css/alertdialog": patch
+"@spectrum-css/buttongroup": patch
+"@spectrum-css/clearbutton": patch
+"@spectrum-css/closebutton": patch
+"@spectrum-css/colorhandle": patch
+"@spectrum-css/colorslider": patch
+"@spectrum-css/inlinealert": patch
+"@spectrum-css/logicbutton": patch
+"@spectrum-css/progressbar": patch
+"@spectrum-css/statuslight": patch
+"@spectrum-css/swatchgroup": patch
+"@spectrum-css/actionmenu": patch
+"@spectrum-css/breadcrumb": patch
+"@spectrum-css/colorloupe": patch
+"@spectrum-css/colorwheel": patch
+"@spectrum-css/datepicker": patch
+"@spectrum-css/fieldgroup": patch
+"@spectrum-css/fieldlabel": patch
+"@spectrum-css/pagination": patch
+"@spectrum-css/typography": patch
+"@spectrum-css/accordion": patch
+"@spectrum-css/actionbar": patch
+"@spectrum-css/assetcard": patch
+"@spectrum-css/assetlist": patch
+"@spectrum-css/coachmark": patch
+"@spectrum-css/colorarea": patch
+"@spectrum-css/splitview": patch
+"@spectrum-css/textfield": patch
+"@spectrum-css/thumbnail": patch
+"@spectrum-css/calendar": patch
+"@spectrum-css/checkbox": patch
+"@spectrum-css/combobox": patch
+"@spectrum-css/dropzone": patch
+"@spectrum-css/helptext": patch
+"@spectrum-css/steplist": patch
+"@spectrum-css/taggroup": patch
+"@spectrum-css/treeview": patch
+"@spectrum-css/underlay": patch
+"@spectrum-css/commons": patch
+"@spectrum-css/divider": patch
+"@spectrum-css/popover": patch
+"@spectrum-css/sidenav": patch
+"@spectrum-css/stepper": patch
+"@spectrum-css/tooltip": patch
+"@spectrum-css/avatar": patch
+"@spectrum-css/button": patch
+"@spectrum-css/dialog": patch
+"@spectrum-css/miller": patch
+"@spectrum-css/picker": patch
+"@spectrum-css/rating": patch
+"@spectrum-css/search": patch
+"@spectrum-css/slider": patch
+"@spectrum-css/swatch": patch
+"@spectrum-css/switch": patch
+"@spectrum-css/asset": patch
+"@spectrum-css/badge": patch
+"@spectrum-css/modal": patch
+"@spectrum-css/radio": patch
+"@spectrum-css/table": patch
+"@spectrum-css/toast": patch
+"@spectrum-css/card": patch
+"@spectrum-css/dial": patch
+"@spectrum-css/icon": patch
+"@spectrum-css/link": patch
+"@spectrum-css/menu": patch
+"@spectrum-css/tabs": patch
+"@spectrum-css/tray": patch
+"@spectrum-css/well": patch
+"@spectrum-css/tag": patch
+"@spectrum-css/preview": patch
+"@spectrum-css/tokens": patch
+---
+
+Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
diff --git a/.changeset/shiny-peaches-change.md b/.changeset/shiny-peaches-change.md
new file mode 100644
index 00000000000..ffd0b8c0702
--- /dev/null
+++ b/.changeset/shiny-peaches-change.md
@@ -0,0 +1,6 @@
+---
+"@spectrum-css/button": minor
+"@spectrum-css/tokens": patch
+---
+
+updated content color for button primary variant and fixes swc-342
diff --git a/.changeset/short-carrots-film.md b/.changeset/short-carrots-film.md
new file mode 100644
index 00000000000..b9874e8d1bd
--- /dev/null
+++ b/.changeset/short-carrots-film.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/card": major
+---
+
+Migrating Card component quiet and gallery variant mods to index css file
diff --git a/.changeset/silent-carpets-beam.md b/.changeset/silent-carpets-beam.md
new file mode 100644
index 00000000000..3005946c2ec
--- /dev/null
+++ b/.changeset/silent-carpets-beam.md
@@ -0,0 +1,12 @@
+---
+"@spectrum-css/icon": major
+"@spectrum-css/typography": patch
+---
+
+## Feature [@spectrum-css/icon]
+
+Update source files to load the mappings from component-level to global tokens for size and transform values. This will allow for more consistent and predictable behavior when using the `size` and `transform` props on icons when switching between contexts for S1, S2, and Express.
+
+## Patch [@spectrum-css/typography]
+
+Remove the sourcemap footer from compiled assets.
diff --git a/.changeset/silent-news-applaud.md b/.changeset/silent-news-applaud.md
new file mode 100644
index 00000000000..52b5b497662
--- /dev/null
+++ b/.changeset/silent-news-applaud.md
@@ -0,0 +1,6 @@
+---
+"@spectrum-css/contextualhelp": minor
+"@spectrum-css/tokens": minor
+---
+
+added contextual-help-content-spacing custom property definition
diff --git a/.changeset/silly-toes-jump.md b/.changeset/silly-toes-jump.md
new file mode 100644
index 00000000000..c6b57c33ef0
--- /dev/null
+++ b/.changeset/silly-toes-jump.md
@@ -0,0 +1,6 @@
+---
+"@spectrum-tools/postcss-rgb-mapping": major
+"@spectrum-css/tokens": major
+---
+
+Fixes to the rgb mapping plugin brought back rgb alias's to tokens output
diff --git a/.changeset/six-fireants-rule.md b/.changeset/six-fireants-rule.md
new file mode 100644
index 00000000000..ff30c892183
--- /dev/null
+++ b/.changeset/six-fireants-rule.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/colorslider": minor
+---
+
+Move the color slider passthrough modifiers out of the theme to the base index.css.
diff --git a/.changeset/sixty-ears-heal.md b/.changeset/sixty-ears-heal.md
new file mode 100644
index 00000000000..e44000fda0c
--- /dev/null
+++ b/.changeset/sixty-ears-heal.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/textfield": minor
+---
+
+Fix line-height discrepency
diff --git a/.changeset/sixty-vans-thank.md b/.changeset/sixty-vans-thank.md
new file mode 100644
index 00000000000..abce22caac8
--- /dev/null
+++ b/.changeset/sixty-vans-thank.md
@@ -0,0 +1,6 @@
+---
+"@spectrum-css/combobox": minor
+"@spectrum-css/tokens": minor
+---
+
+Update border and background color values for Combobox states [SWC-582]
diff --git a/.changeset/smart-worms-pump.md b/.changeset/smart-worms-pump.md
new file mode 100644
index 00000000000..e87f43609d6
--- /dev/null
+++ b/.changeset/smart-worms-pump.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/actionbutton": minor
+---
+
+Sets --spectrum-actionbutton-content-color-hover, --spectrum-actionbutton-content-color-down, --spectrum-actionbutton-content-color-focus for selected static action button
diff --git a/.changeset/smooth-eagles-warn.md b/.changeset/smooth-eagles-warn.md
new file mode 100644
index 00000000000..8bc096ecc42
--- /dev/null
+++ b/.changeset/smooth-eagles-warn.md
@@ -0,0 +1,10 @@
+---
+"@spectrum-css/splitview": minor
+"@spectrum-css/thumbnail": minor
+"@spectrum-css/checkbox": minor
+"@spectrum-css/rating": minor
+"@spectrum-css/slider": minor
+"@spectrum-css/tokens": minor
+---
+
+Bring in the latest S2 foundations release including updated corner rounding approach, colors, and icon spacing. Remapped corner rounding values for the -75 token to a static 2px value for spectrum themes.
diff --git a/.changeset/soft-pianos-suffer.md b/.changeset/soft-pianos-suffer.md
new file mode 100644
index 00000000000..c18dd0a5a01
--- /dev/null
+++ b/.changeset/soft-pianos-suffer.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/colorhandle": minor
+---
+
+Move the color handle passthrough modifiers out of the theme to the base index.css.
diff --git a/.changeset/sour-balloons-begin.md b/.changeset/sour-balloons-begin.md
new file mode 100644
index 00000000000..8dc710132a3
--- /dev/null
+++ b/.changeset/sour-balloons-begin.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/stepper": patch
+---
+
+Realign structure with original style format
diff --git a/.changeset/spicy-meals-smoke.md b/.changeset/spicy-meals-smoke.md
new file mode 100644
index 00000000000..59dbbd17d9f
--- /dev/null
+++ b/.changeset/spicy-meals-smoke.md
@@ -0,0 +1,22 @@
+---
+"@spectrum-css/actionbutton": major
+"@spectrum-css/fieldgroup": major
+"@spectrum-css/typography": major
+"@spectrum-css/combobox": major
+---
+
+ActionButton:
+
+- Correct --spectrum-actionbutton-background-color-selected-disabled to be --spectrum-actionbutton-(background|border)-color-disabled-selected
+
+Combobox:
+
+- Move --spectrum-combobox-min-inline-size and --spectrum-combobox-button-width to the index.css
+
+FieldGroup:
+
+- Swap gap back to margin-inline-end on FieldGroup
+
+Typography:
+
+- Remap body size to xs if xxs provided
diff --git a/.changeset/spicy-poets-build.md b/.changeset/spicy-poets-build.md
new file mode 100644
index 00000000000..c832058c31b
--- /dev/null
+++ b/.changeset/spicy-poets-build.md
@@ -0,0 +1,86 @@
+---
+"@spectrum-css/floatingactionbutton": major
+"@spectrum-css/opacitycheckerboard": major
+"@spectrum-css/illustratedmessage": major
+"@spectrum-css/coachindicator": major
+"@spectrum-css/contextualhelp": major
+"@spectrum-css/progresscircle": major
+"@spectrum-css/dropindicator": major
+"@spectrum-css/infieldbutton": major
+"@spectrum-css/actionbutton": major
+"@spectrum-css/pickerbutton": major
+"@spectrum-css/actiongroup": major
+"@spectrum-css/alertbanner": major
+"@spectrum-css/alertdialog": major
+"@spectrum-css/buttongroup": major
+"@spectrum-css/clearbutton": major
+"@spectrum-css/closebutton": major
+"@spectrum-css/colorhandle": major
+"@spectrum-css/colorslider": major
+"@spectrum-css/inlinealert": major
+"@spectrum-css/logicbutton": major
+"@spectrum-css/progressbar": major
+"@spectrum-css/statuslight": major
+"@spectrum-css/swatchgroup": major
+"@spectrum-css/actionmenu": major
+"@spectrum-css/breadcrumb": major
+"@spectrum-css/colorloupe": major
+"@spectrum-css/colorwheel": major
+"@spectrum-css/datepicker": major
+"@spectrum-css/fieldgroup": major
+"@spectrum-css/fieldlabel": major
+"@spectrum-css/pagination": major
+"@spectrum-css/typography": major
+"@spectrum-css/accordion": major
+"@spectrum-css/actionbar": major
+"@spectrum-css/assetcard": major
+"@spectrum-css/assetlist": major
+"@spectrum-css/coachmark": major
+"@spectrum-css/colorarea": major
+"@spectrum-css/splitview": major
+"@spectrum-css/textfield": major
+"@spectrum-css/thumbnail": major
+"@spectrum-css/calendar": major
+"@spectrum-css/checkbox": major
+"@spectrum-css/combobox": major
+"@spectrum-css/dropzone": major
+"@spectrum-css/helptext": major
+"@spectrum-css/steplist": major
+"@spectrum-css/taggroup": major
+"@spectrum-css/treeview": major
+"@spectrum-css/underlay": major
+"@spectrum-css/commons": major
+"@spectrum-css/divider": major
+"@spectrum-css/popover": major
+"@spectrum-css/sidenav": major
+"@spectrum-css/stepper": major
+"@spectrum-css/tooltip": major
+"@spectrum-css/avatar": major
+"@spectrum-css/button": major
+"@spectrum-css/dialog": major
+"@spectrum-css/miller": major
+"@spectrum-css/picker": major
+"@spectrum-css/rating": major
+"@spectrum-css/search": major
+"@spectrum-css/slider": major
+"@spectrum-css/swatch": major
+"@spectrum-css/switch": major
+"@spectrum-css/asset": major
+"@spectrum-css/badge": major
+"@spectrum-css/modal": major
+"@spectrum-css/radio": major
+"@spectrum-css/table": major
+"@spectrum-css/toast": major
+"@spectrum-css/card": major
+"@spectrum-css/dial": major
+"@spectrum-css/icon": major
+"@spectrum-css/link": major
+"@spectrum-css/menu": major
+"@spectrum-css/tabs": major
+"@spectrum-css/tray": major
+"@spectrum-css/well": major
+"@spectrum-css/tag": major
+"@spectrum-css/tokens": major
+---
+
+Pull in the corner radii updates for S2
diff --git a/.changeset/spotty-guests-breathe.md b/.changeset/spotty-guests-breathe.md
new file mode 100644
index 00000000000..28eea755440
--- /dev/null
+++ b/.changeset/spotty-guests-breathe.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/tokens": minor
+---
+
+Updated tokens build with latest from recent bug fixes to components
diff --git a/.changeset/strong-hotels-type.md b/.changeset/strong-hotels-type.md
new file mode 100644
index 00000000000..d37651c408f
--- /dev/null
+++ b/.changeset/strong-hotels-type.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/search": minor
+---
+
+[SWC-236] Search: internal property references including calc moved out of theme files; express theme updated to match format of spectrum-two theme selectors; spectrum-two theme adds new --spectrum-search-min-inline-multiplier abstraction for internal calc, removes passthroughs, adds in a sizeM theme instead of relying on defaults
diff --git a/.changeset/sweet-zoos-shout.md b/.changeset/sweet-zoos-shout.md
new file mode 100644
index 00000000000..487564fb9e9
--- /dev/null
+++ b/.changeset/sweet-zoos-shout.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/preview": minor
+---
+
+fix(storybook): update font loader to fix chromatic bug
diff --git a/.changeset/tall-tomatoes-punch.md b/.changeset/tall-tomatoes-punch.md
new file mode 100644
index 00000000000..f7d8ac3919a
--- /dev/null
+++ b/.changeset/tall-tomatoes-punch.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/combobox": patch
+---
+
+[SWC-240] Quiet combobox picker button should have transparent borders
diff --git a/.changeset/tasty-years-cheat.md b/.changeset/tasty-years-cheat.md
new file mode 100644
index 00000000000..da12234201c
--- /dev/null
+++ b/.changeset/tasty-years-cheat.md
@@ -0,0 +1,87 @@
+---
+"@spectrum-css/floatingactionbutton": minor
+"@spectrum-css/opacitycheckerboard": minor
+"@spectrum-css/illustratedmessage": minor
+"@spectrum-css/coachindicator": minor
+"@spectrum-css/contextualhelp": minor
+"@spectrum-css/progresscircle": minor
+"@spectrum-css/dropindicator": minor
+"@spectrum-css/infieldbutton": minor
+"@spectrum-css/actionbutton": minor
+"@spectrum-css/pickerbutton": minor
+"@spectrum-css/actiongroup": minor
+"@spectrum-css/alertbanner": minor
+"@spectrum-css/alertdialog": minor
+"@spectrum-css/buttongroup": minor
+"@spectrum-css/clearbutton": minor
+"@spectrum-css/closebutton": minor
+"@spectrum-css/colorhandle": minor
+"@spectrum-css/colorslider": minor
+"@spectrum-css/inlinealert": minor
+"@spectrum-css/logicbutton": minor
+"@spectrum-css/progressbar": minor
+"@spectrum-css/statuslight": minor
+"@spectrum-css/swatchgroup": minor
+"@spectrum-css/actionmenu": minor
+"@spectrum-css/breadcrumb": minor
+"@spectrum-css/colorloupe": minor
+"@spectrum-css/colorwheel": minor
+"@spectrum-css/datepicker": minor
+"@spectrum-css/fieldgroup": minor
+"@spectrum-css/fieldlabel": minor
+"@spectrum-css/pagination": minor
+"@spectrum-css/typography": minor
+"@spectrum-css/accordion": minor
+"@spectrum-css/actionbar": minor
+"@spectrum-css/assetcard": minor
+"@spectrum-css/assetlist": minor
+"@spectrum-css/coachmark": minor
+"@spectrum-css/colorarea": minor
+"@spectrum-css/splitview": minor
+"@spectrum-css/textfield": minor
+"@spectrum-css/thumbnail": minor
+"@spectrum-css/calendar": minor
+"@spectrum-css/checkbox": minor
+"@spectrum-css/combobox": minor
+"@spectrum-css/dropzone": minor
+"@spectrum-css/helptext": minor
+"@spectrum-css/steplist": minor
+"@spectrum-css/taggroup": minor
+"@spectrum-css/treeview": minor
+"@spectrum-css/underlay": minor
+"@spectrum-css/commons": minor
+"@spectrum-css/divider": minor
+"@spectrum-css/popover": minor
+"@spectrum-css/sidenav": minor
+"@spectrum-css/stepper": minor
+"@spectrum-css/tooltip": minor
+"@spectrum-css/avatar": minor
+"@spectrum-css/button": minor
+"@spectrum-css/dialog": minor
+"@spectrum-css/miller": minor
+"@spectrum-css/picker": minor
+"@spectrum-css/rating": minor
+"@spectrum-css/search": minor
+"@spectrum-css/slider": minor
+"@spectrum-css/swatch": minor
+"@spectrum-css/switch": minor
+"@spectrum-css/asset": minor
+"@spectrum-css/badge": minor
+"@spectrum-css/modal": minor
+"@spectrum-css/radio": minor
+"@spectrum-css/table": minor
+"@spectrum-css/toast": minor
+"@spectrum-css/card": minor
+"@spectrum-css/dial": minor
+"@spectrum-css/icon": minor
+"@spectrum-css/link": minor
+"@spectrum-css/menu": minor
+"@spectrum-css/tabs": minor
+"@spectrum-css/tray": minor
+"@spectrum-css/well": minor
+"@spectrum-css/tag": minor
+"@spectrum-css/preview": minor
+"@spectrum-css/tokens": minor
+---
+
+Across the board version update to latest build system state
diff --git a/.changeset/tender-buckets-sneeze.md b/.changeset/tender-buckets-sneeze.md
new file mode 100644
index 00000000000..5c346d3579f
--- /dev/null
+++ b/.changeset/tender-buckets-sneeze.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/switch": minor
+---
+
+Migrate `--mod-focus-indicator-thickness` out of the themes to the base index.css. Added a deprecation notice for this mod as it is a duplicate and does not follow naming conventions.
diff --git a/.changeset/three-buckets-walk.md b/.changeset/three-buckets-walk.md
new file mode 100644
index 00000000000..b65966051d3
--- /dev/null
+++ b/.changeset/three-buckets-walk.md
@@ -0,0 +1,87 @@
+---
+"@spectrum-css/floatingactionbutton": major
+"@spectrum-css/opacitycheckerboard": major
+"@spectrum-css/illustratedmessage": major
+"@spectrum-css/coachindicator": major
+"@spectrum-css/contextualhelp": major
+"@spectrum-css/progresscircle": major
+"@spectrum-css/dropindicator": major
+"@spectrum-css/infieldbutton": major
+"@spectrum-css/actionbutton": major
+"@spectrum-css/pickerbutton": major
+"@spectrum-css/actiongroup": major
+"@spectrum-css/alertbanner": major
+"@spectrum-css/alertdialog": major
+"@spectrum-css/buttongroup": major
+"@spectrum-css/clearbutton": major
+"@spectrum-css/closebutton": major
+"@spectrum-css/colorhandle": major
+"@spectrum-css/colorslider": major
+"@spectrum-css/inlinealert": major
+"@spectrum-css/logicbutton": major
+"@spectrum-css/progressbar": major
+"@spectrum-css/statuslight": major
+"@spectrum-css/swatchgroup": major
+"@spectrum-css/actionmenu": major
+"@spectrum-css/breadcrumb": major
+"@spectrum-css/colorloupe": major
+"@spectrum-css/colorwheel": major
+"@spectrum-css/datepicker": major
+"@spectrum-css/fieldgroup": major
+"@spectrum-css/fieldlabel": major
+"@spectrum-css/pagination": major
+"@spectrum-css/typography": major
+"@spectrum-css/accordion": major
+"@spectrum-css/actionbar": major
+"@spectrum-css/assetcard": major
+"@spectrum-css/assetlist": major
+"@spectrum-css/coachmark": major
+"@spectrum-css/colorarea": major
+"@spectrum-css/splitview": major
+"@spectrum-css/textfield": major
+"@spectrum-css/thumbnail": major
+"@spectrum-css/calendar": major
+"@spectrum-css/checkbox": major
+"@spectrum-css/combobox": major
+"@spectrum-css/dropzone": major
+"@spectrum-css/helptext": major
+"@spectrum-css/steplist": major
+"@spectrum-css/taggroup": major
+"@spectrum-css/treeview": major
+"@spectrum-css/underlay": major
+"@spectrum-css/commons": major
+"@spectrum-css/divider": major
+"@spectrum-css/popover": major
+"@spectrum-css/sidenav": major
+"@spectrum-css/stepper": major
+"@spectrum-css/tooltip": major
+"@spectrum-css/avatar": major
+"@spectrum-css/button": major
+"@spectrum-css/dialog": major
+"@spectrum-css/miller": major
+"@spectrum-css/picker": major
+"@spectrum-css/rating": major
+"@spectrum-css/search": major
+"@spectrum-css/slider": major
+"@spectrum-css/swatch": major
+"@spectrum-css/switch": major
+"@spectrum-css/asset": major
+"@spectrum-css/badge": major
+"@spectrum-css/modal": major
+"@spectrum-css/radio": major
+"@spectrum-css/table": major
+"@spectrum-css/toast": major
+"@spectrum-css/card": major
+"@spectrum-css/dial": major
+"@spectrum-css/icon": major
+"@spectrum-css/link": major
+"@spectrum-css/menu": major
+"@spectrum-css/tabs": major
+"@spectrum-css/tray": major
+"@spectrum-css/well": major
+"@spectrum-css/tag": major
+"@spectrum-css/preview": major
+"@spectrum-css/tokens": major
+---
+
+Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
diff --git a/.changeset/tiny-stingrays-kneel.md b/.changeset/tiny-stingrays-kneel.md
new file mode 100644
index 00000000000..a2d41b7d945
--- /dev/null
+++ b/.changeset/tiny-stingrays-kneel.md
@@ -0,0 +1,6 @@
+---
+"@spectrum-css/progressbar": minor
+"@spectrum-css/tokens": minor
+---
+
+[SWC-235] meter properties moved out of theme and into index.css
diff --git a/.changeset/twelve-melons-battle.md b/.changeset/twelve-melons-battle.md
new file mode 100644
index 00000000000..4de1ae88aa5
--- /dev/null
+++ b/.changeset/twelve-melons-battle.md
@@ -0,0 +1,7 @@
+---
+"@spectrum-tools/stylelint-no-unknown-custom-properties": patch
+"@spectrum-tools/stylelint-no-unused-custom-properties": patch
+"@spectrum-tools/stylelint-no-missing-var": patch
+---
+
+Dependency updates to align with versions used in the parent repository.
diff --git a/.changeset/twenty-jokes-lie.md b/.changeset/twenty-jokes-lie.md
new file mode 100644
index 00000000000..6d5b2dad476
--- /dev/null
+++ b/.changeset/twenty-jokes-lie.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/alertbanner": patch
+---
+
+Express color updated for alert banner component
diff --git a/.changeset/weak-bags-run.md b/.changeset/weak-bags-run.md
new file mode 100644
index 00000000000..59c1abf0746
--- /dev/null
+++ b/.changeset/weak-bags-run.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/actionbutton": minor
+---
+
+fix(actionbutton): migrate --mods to index.css
diff --git a/.changeset/weak-kings-pretend.md b/.changeset/weak-kings-pretend.md
new file mode 100644
index 00000000000..5f347b589db
--- /dev/null
+++ b/.changeset/weak-kings-pretend.md
@@ -0,0 +1,108 @@
+---
+"@spectrum-css/tokens": minor
+"@spectrum-css/floatingactionbutton": major
+"@spectrum-css/opacitycheckerboard": major
+"@spectrum-css/illustratedmessage": major
+"@spectrum-css/coachindicator": major
+"@spectrum-css/contextualhelp": major
+"@spectrum-css/progresscircle": major
+"@spectrum-css/dropindicator": major
+"@spectrum-css/infieldbutton": major
+"@spectrum-css/actionbutton": major
+"@spectrum-css/pickerbutton": major
+"@spectrum-css/actiongroup": major
+"@spectrum-css/alertbanner": major
+"@spectrum-css/alertdialog": major
+"@spectrum-css/buttongroup": major
+"@spectrum-css/clearbutton": major
+"@spectrum-css/closebutton": major
+"@spectrum-css/colorhandle": major
+"@spectrum-css/colorslider": major
+"@spectrum-css/inlinealert": major
+"@spectrum-css/logicbutton": major
+"@spectrum-css/progressbar": major
+"@spectrum-css/statuslight": major
+"@spectrum-css/swatchgroup": major
+"@spectrum-css/actionmenu": major
+"@spectrum-css/breadcrumb": major
+"@spectrum-css/colorloupe": major
+"@spectrum-css/colorwheel": major
+"@spectrum-css/datepicker": major
+"@spectrum-css/fieldgroup": major
+"@spectrum-css/fieldlabel": major
+"@spectrum-css/pagination": major
+"@spectrum-css/typography": major
+"@spectrum-css/accordion": major
+"@spectrum-css/actionbar": major
+"@spectrum-css/assetcard": major
+"@spectrum-css/assetlist": major
+"@spectrum-css/coachmark": major
+"@spectrum-css/colorarea": major
+"@spectrum-css/splitview": major
+"@spectrum-css/textfield": major
+"@spectrum-css/thumbnail": major
+"@spectrum-css/calendar": major
+"@spectrum-css/checkbox": major
+"@spectrum-css/combobox": major
+"@spectrum-css/dropzone": major
+"@spectrum-css/helptext": major
+"@spectrum-css/steplist": major
+"@spectrum-css/taggroup": major
+"@spectrum-css/treeview": major
+"@spectrum-css/underlay": major
+"@spectrum-css/divider": major
+"@spectrum-css/popover": major
+"@spectrum-css/sidenav": major
+"@spectrum-css/stepper": major
+"@spectrum-css/tooltip": major
+"@spectrum-css/avatar": major
+"@spectrum-css/button": major
+"@spectrum-css/dialog": major
+"@spectrum-css/miller": major
+"@spectrum-css/picker": major
+"@spectrum-css/rating": major
+"@spectrum-css/search": major
+"@spectrum-css/slider": major
+"@spectrum-css/swatch": major
+"@spectrum-css/switch": major
+"@spectrum-css/asset": major
+"@spectrum-css/badge": major
+"@spectrum-css/modal": major
+"@spectrum-css/radio": major
+"@spectrum-css/table": major
+"@spectrum-css/toast": major
+"@spectrum-css/card": major
+"@spectrum-css/dial": major
+"@spectrum-css/icon": major
+"@spectrum-css/link": major
+"@spectrum-css/menu": major
+"@spectrum-css/tabs": major
+"@spectrum-css/tray": major
+"@spectrum-css/well": major
+"@spectrum-css/tag": major
+"@spectrum-css/meter": major
+"@spectrum-css/form": major
+---
+
+feat: s2 foundations non-gray-800 colors update
+
+| Property name | Context | Old value | Updated value |
+| --------------------------- | ------- | ------------------ | ------------------ |
+| `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+| `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+| `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+| `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+| `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+| `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+| `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+| `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+| `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+| `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+| `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+| `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+| `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+| `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+| `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+| `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+| `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+| `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
diff --git a/.changeset/young-ads-argue.md b/.changeset/young-ads-argue.md
new file mode 100644
index 00000000000..016c5cc84e6
--- /dev/null
+++ b/.changeset/young-ads-argue.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/card": patch
+---
+
+S2 preview background color mapping update
diff --git a/.changeset/young-cheetahs-peel.md b/.changeset/young-cheetahs-peel.md
new file mode 100644
index 00000000000..960240851c5
--- /dev/null
+++ b/.changeset/young-cheetahs-peel.md
@@ -0,0 +1,6 @@
+---
+"@spectrum-css/combobox": patch
+"@spectrum-css/tokens": patch
+---
+
+Bug fix to retain border color values in S1 for combobox [SWC-582]
diff --git a/.changeset/young-parents-knock.md b/.changeset/young-parents-knock.md
new file mode 100644
index 00000000000..cd5ea0ab115
--- /dev/null
+++ b/.changeset/young-parents-knock.md
@@ -0,0 +1,5 @@
+---
+"@spectrum-css/stepper": patch
+---
+
+Add separate variable for stepper button border width
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index c3ff97a0b33..4960d95b913 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -76,23 +76,29 @@ jobs:
shell: bash
run: yarn install --immutable
+ # Components must be built before linting so that the custom properties are available
+ # in the dependencies for passthrough and token verification
+ - name: Build components & ui-icons
+ shell: bash
+ run: yarn build
+
- name: Lint component styles
if: ${{ inputs.styles_added_files != '' || inputs.styles_modified_files != '' }}
- uses: reviewdog/action-stylelint@v1.28.0
+ uses: reviewdog/action-stylelint@v1.30.0
with:
- fail_on_error: true
+ fail_level: error
+ filter_mode: diff_context
level: error
reporter: github-pr-review
- filter_mode: diff_context
# stylelint_input: "components/*/index.css components/*/themes/*.css"
stylelint_input: "${{ inputs.styles_added_files }} ${{ inputs.styles_modified_files }}"
stylelint_config: stylelint.config.js
- name: Run eslint on packages and stories
- uses: reviewdog/action-eslint@v1.31.0
+ uses: reviewdog/action-eslint@v1.33.0
if: ${{ inputs.eslint_added_files != '' || inputs.eslint_modified_files != '' }}
with:
- fail_on_error: true
+ fail_level: error
level: error
reporter: github-pr-review
filter_mode: diff_context
diff --git a/.gitignore b/.gitignore
index cd27332f67c..17d143d6cbe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,6 @@
dist
!tokens/dist/index.css
!tokens/dist/css/*.css
-!tokens/dist/css/express/*.css
-!tokens/dist/css/spectrum/*.css
# Not committing the map assets, these are dev-only
*.map
diff --git a/.storybook/CHANGELOG.md b/.storybook/CHANGELOG.md
index 06513ff1460..be0f18710a0 100644
--- a/.storybook/CHANGELOG.md
+++ b/.storybook/CHANGELOG.md
@@ -1,5 +1,328 @@
# Change Log
+## 11.0.0-s2-foundations.23
+
+### Patch Changes
+
+- Updated dependencies [[`79f2ae5`](https://github.com/adobe/spectrum-css/commit/79f2ae585464b2eca63232b37017bd1f96a7d970)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.31
+
+## 11.0.0-s2-foundations.22
+
+### Patch Changes
+
+- Updated dependencies [[`da9a90a`](https://github.com/adobe/spectrum-css/commit/da9a90adb1b46abc7f3078d2b7cfcf84f7a41026), [`513256c`](https://github.com/adobe/spectrum-css/commit/513256c7c7587ac6a3741a819a41ab321d1cd965)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.30
+
+## 11.0.0-s2-foundations.21
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/typography@7.0.0-s2-foundations.18
+ - @spectrum-css/table@7.0.0-s2-foundations.18
+
+## 11.0.0-s2-foundations.20
+
+### Patch Changes
+
+- Updated dependencies [[`794904f`](https://github.com/adobe/spectrum-css/commit/794904fbbd8d9b817cf5917c457c5290a217ea91)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.28
+
+## 11.0.0-s2-foundations.19
+
+### Patch Changes
+
+- Updated dependencies [[`aedc167`](https://github.com/adobe/spectrum-css/commit/aedc167f86d810f54dea1b2aacb191e718ac9598)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.27
+
+## 11.0.0-s2-foundations.18
+
+### Patch Changes
+
+- Updated dependencies [[`57e187f`](https://github.com/adobe/spectrum-css/commit/57e187f5a52e9782e8573defc825cef0399b99e4)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.26
+
+## 11.0.0-s2-foundations.17
+
+### Patch Changes
+
+- Updated dependencies [[`9c6561b`](https://github.com/adobe/spectrum-css/commit/9c6561b38624307da9bca7499452c3cb8ea2095e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.25
+
+## 11.0.0-s2-foundations.16
+
+### Patch Changes
+
+- Updated dependencies [[`70b8890`](https://github.com/adobe/spectrum-css/commit/70b889026174fa552cb8f2e7f205b923bf0b6e55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.24
+
+## 11.0.0-s2-foundations.15
+
+### Patch Changes
+
+- Updated dependencies [[`1da2494`](https://github.com/adobe/spectrum-css/commit/1da249479a0014287a6124dc0f900ee99ab6b946)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.23
+
+## 11.0.0-s2-foundations.14
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.17
+
+## 11.0.0-s2-foundations.13
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.16
+ - @spectrum-css/ui-icons@2.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 11.0.0-s2-foundations.12
+
+### Patch Changes
+
+- Updated dependencies [[`9ae725f`](https://github.com/adobe/spectrum-css/commit/9ae725f10ebbb78b62070c4c477cb41cfc1b1ed6), [`4e80ae6`](https://github.com/adobe/spectrum-css/commit/4e80ae67ddda329a5ed556b57426623c6f0f13f0)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.15
+
+## 11.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.14
+ - @spectrum-css/ui-icons@2.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 11.0.0-s2-foundations.10
+
+### Patch Changes
+
+- Updated dependencies [[`db528ce`](https://github.com/adobe/spectrum-css/commit/db528ce0a6f7d817e6124604014faf9f4accfc1e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.20
+
+## 11.0.0-s2-foundations.9
+
+### Patch Changes
+
+- Updated dependencies [[`6582314`](https://github.com/adobe/spectrum-css/commit/65823145e139caa56f5e73e8a36e73aff37672de)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.19
+
+## 11.0.0-s2-foundations.8
+
+### Patch Changes
+
+- Updated dependencies [[`96686a5`](https://github.com/adobe/spectrum-css/commit/96686a56e2532bc747985b40686783ddd9b98221)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.18
+
+## 11.0.0-s2-foundations.7
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f15243a`](https://github.com/adobe/spectrum-css/commit/f15243adaa633531e82edbb61b2e4444517af64e) Thanks [@pfulton](https://github.com/pfulton)! - fix(storybook): update font loader to fix chromatic bug
+
+## 11.0.0-s2-foundations.6
+
+### Patch Changes
+
+- Updated dependencies [[`1a36744`](https://github.com/adobe/spectrum-css/commit/1a367440d81e87e241c19a6c3e691faa7c0669aa)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.17
+
+## 11.0.0-s2-foundations.5
+
+### Patch Changes
+
+- Updated dependencies [[`fa60db9`](https://github.com/adobe/spectrum-css/commit/fa60db9159edb6b111e4e6c30b05c828224b81e4), [`1d1cbfc`](https://github.com/adobe/spectrum-css/commit/1d1cbfcc80f8a78784edf9778c0f366be6b0efe6)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.16
+
+## 11.0.0-s2-foundations.4
+
+### Minor Changes
+
+- [#2982](https://github.com/adobe/spectrum-css/pull/2982) [`dffdefa`](https://github.com/adobe/spectrum-css/commit/dffdefaa1ffc39fbf7706e218d261da3a02695b5) Thanks [@castastrophe](https://github.com/castastrophe)! - ## New features for @spectrum-css Storybook
+
+ - Migrate test functionality out of stories/template.js to stories/\*.test.js files
+ - Expand test coverage for components lacking a testing grid VRT
+
+## 11.0.0-s2-foundations.3
+
+### Patch Changes
+
+- Updated dependencies [[`58a89ea`](https://github.com/adobe/spectrum-css/commit/58a89ea464c387111511271a5f5afce044f11042)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.15
+
+## 11.0.0-s2-foundations.2
+
+### Patch Changes
+
+- Updated dependencies [[`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f), [`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.14
+
+## 11.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.13
+ - @spectrum-css/ui-icons@2.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 11.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.12
+ - @spectrum-css/ui-icons@2.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 11.0.0-s2-foundations.8
+
+### Patch Changes
+
+- Updated dependencies [[`4265d20`](https://github.com/adobe/spectrum-css/commit/4265d208b6eb2db923e558fca100b4532b964e45)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.11
+
+## 11.0.0-s2-foundations.7
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.11
+ - @spectrum-css/ui-icons@2.0.0-s2-foundations.6
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 11.0.0-s2-foundations.6
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`70fed24`](https://github.com/adobe/spectrum-css/commit/70fed24e76fb6284b45288a4889bfcf18dfc7a9e) Thanks [@pfulton](https://github.com/pfulton)! - ## New features for @spectrum-css Storybook
+
+ - Additional UI styling for docs visibility/usability
+ - Font loading improvements to signal completion by Typekit
+ - Theme switching setup in preparation for the S2 theme being added
+ - Icon loading decorator to inject SVG spritesheets into all stories
+ - Remove unused sizing decorator
+ - Harden the testing grid utilities in the decorators
+ - Hardcode port of 8080 for more stable local development links
+ - Adds Arabic as a supported language
+
+## 11.0.0-s2-foundations.5
+
+### Patch Changes
+
+- Updated dependencies [[`494da11`](https://github.com/adobe/spectrum-css/commit/494da118554c2ecc425564e42d25424325efc331)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.10
+
+## 11.0.0-s2-foundations.4
+
+### Minor Changes
+
+- [#2867](https://github.com/adobe/spectrum-css/pull/2867) [`a0bd4eb`](https://github.com/adobe/spectrum-css/commit/a0bd4eb2ab43352c4bdedcb26f93138aacf99aee) Thanks [@castastrophe](https://github.com/castastrophe)! - New feature: Add a look-through to the Spectrum Web Components Storybook project to create an easier connection between components that exist in CSS and those in SWC.
+
+## 11.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.9
+ - @spectrum-css/ui-icons@2.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 11.0.0-s2-foundations.2
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 11.0.0-s2-foundations.1
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 10.4.1-s2-foundations.0
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/typography@7.0.0-s2-foundations.6
+
+## 11.0.0-s2-foundations.5
+
+### Patch Changes
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 11.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/ui-icons@2.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 11.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/ui-icons@2.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 11.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/ui-icons@2.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
## 10.11.7
### Patch Changes
@@ -26,6 +349,27 @@
### Patch Changes
+- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
+ - @spectrum-css/tokens@14.5.0
+
+## 10.11.6
+
+### Patch Changes
+
+- Updated dependencies [[`092aac5`](https://github.com/adobe/spectrum-css/commit/092aac56953f4c02cd5227e3f61c6cb0b2b4e46a)]:
+ - @spectrum-css/table@6.1.4
+
+## 10.11.5
+
+### Patch Changes
+
+- Updated dependencies [[`4b818e1`](https://github.com/adobe/spectrum-css/commit/4b818e1062202e404de1350938ce2a19146aa0b0)]:
+ - @spectrum-css/tokens@14.6.0
+
+## 10.11.4
+
+### Patch Changes
+
- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
- @spectrum-css/tokens@14.5.0
diff --git a/.storybook/assets/base.css b/.storybook/assets/base.css
index d10bbc45c88..b468bbc2488 100644
--- a/.storybook/assets/base.css
+++ b/.storybook/assets/base.css
@@ -30,10 +30,14 @@ body {
.spectrum {
color: var(--spectrum-neutral-content-color-default);
- background-color: var(--spectrum-background-layer-1-color);
+ background-color: var(--spectrum-background-base-color);
-webkit-tap-highlight-color: rgba(0, 0, 0, 0%);
}
+.spectrum.spectrum--legacy {
+ background-color: var(--spectrum-background-layer-1-color);
+}
+
/* Hide the SVG elements that only include references */
svg:has(symbol):not(:has(use)) {
display: none;
diff --git a/.storybook/assets/favicon.png b/.storybook/assets/favicon.png
new file mode 100644
index 00000000000..988b1143327
Binary files /dev/null and b/.storybook/assets/favicon.png differ
diff --git a/.storybook/assets/images/gray_migration-guide.png b/.storybook/assets/images/gray_migration-guide.png
new file mode 100644
index 00000000000..43dde6742d5
Binary files /dev/null and b/.storybook/assets/images/gray_migration-guide.png differ
diff --git a/.storybook/assets/index.css b/.storybook/assets/index.css
index 9154a684dae..95b4d83897d 100644
--- a/.storybook/assets/index.css
+++ b/.storybook/assets/index.css
@@ -26,9 +26,6 @@ body {
font-family: var(--spectrum-font-family);
font-size: var(--spectrum-font-size);
font-style: var(--spectrum-font-style);
-
- color: var(--spectrum-neutral-content-color-default);
- background-color: var(--spectrum-background-layer-2-color);
}
body:lang(ar) {
@@ -72,15 +69,9 @@ div.sb-bar > div > div > span:first-child {
display: none;
}
-div.sb-bar > div > div > div > button {
- background-color: white !important;
-}
-
.docblock-argstable-body tr td {
letter-spacing: unset;
font-size: 11px;
- color: rgb(34, 34, 34);
- background-color: rgb(255, 255, 255);
}
.docblock-argstable-body td > span:has(select),
@@ -128,5 +119,4 @@ select:focus,
border-color: rgb(2, 101, 220) !important;
box-shadow: rgb(2, 101, 220) 0 0 0 1px inset !important;
}
-
/* stylelint-enable selector-class-pattern */
diff --git a/.storybook/decorators/context.js b/.storybook/decorators/context.js
index 6acabde48bb..2845da836b5 100644
--- a/.storybook/decorators/context.js
+++ b/.storybook/decorators/context.js
@@ -1,6 +1,7 @@
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/index.css?inline";
/**
@@ -18,7 +19,7 @@ export const withContextWrapper = makeDecorator({
} = {},
globals: {
color = "light",
- context = "legacy",
+ context = "spectrum",
scale = "medium",
testingPreview = false,
} = {},
@@ -44,8 +45,8 @@ export const withContextWrapper = makeDecorator({
};
useEffect(() => {
- const isDocs = viewMode === "docs";
const isTesting = testingPreview;
+ const isDocs = viewMode === "docs";
const isRaw = Boolean(context === "raw");
const isModern = Boolean(context === "spectrum");
const isExpress = Boolean(context === "express");
@@ -58,6 +59,9 @@ export const withContextWrapper = makeDecorator({
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);
+
for (const container of fetchContainers(id, isDocs, isTesting)) {
// Reset the context to the original values
color = original.color;
@@ -120,7 +124,7 @@ export const withContextWrapper = makeDecorator({
}
}
- }, [context, viewMode, original, staticColor, color, scale, rootClass, tokens, staticColorSettings, testingPreview]);
+ }, [context, viewMode, original, staticColor, color, scale, rootClass, tokens, legacyTokens, staticColorSettings, testingPreview]);
return StoryFn(data);
},
diff --git a/.storybook/decorators/utilities.js b/.storybook/decorators/utilities.js
index 50d10413368..3b289e6dd61 100644
--- a/.storybook/decorators/utilities.js
+++ b/.storybook/decorators/utilities.js
@@ -22,7 +22,7 @@ const Heading = ({
const headingStyles = {
"display": "block",
- "color": "black",
+ "color": "inherit",
"font-family": 'adobe-clean, "adobe clean", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif',
"font-size": "11px",
"line-height": "1.3",
@@ -333,10 +333,12 @@ export const ArgGrid = ({
export const Sizes = ({
withHeading = true,
withBorder = false,
+ withWrapperBorder = true,
...args
} = {}, context = {}) => {
return ArgGrid({
withBorder,
+ withWrapperBorder,
heading: withHeading ? "Sizing" : undefined,
argKey: "size",
labels: {
diff --git a/.storybook/deprecated/cyclebutton/cyclebutton.stories.js b/.storybook/deprecated/cyclebutton/cyclebutton.stories.js
deleted file mode 100644
index c42fa7288a8..00000000000
--- a/.storybook/deprecated/cyclebutton/cyclebutton.stories.js
+++ /dev/null
@@ -1,89 +0,0 @@
-import { default as ActionButtonStories } from "@spectrum-css/actionbutton/stories/actionbutton.stories.js";
-import { Template as ActionButton } from "@spectrum-css/actionbutton/stories/template.js";
-import packageJson from "@spectrum-css/cyclebutton/package.json";
-import { default as IconStories } from "@spectrum-css/icon/stories/icon.stories.js";
-import { html } from "lit";
-
-import "@spectrum-css/cyclebutton/dist/index-vars.css";
-import "@spectrum-css/cyclebutton/dist/vars.css";
-
-/**
- * **This component is deprecated.** Please use the quiet variant of action button with the appropriate icon(s) instead. Any icon swapping that happens on-click/on-key should be handled by the implementation.
- *
- * The cycle button component is an action button that cycles through two different icons, a play that then changes to a pause, for example.
- */
-export default {
- title: "Cycle button",
- component: "CycleButton",
- argTypes: {
- size: ActionButtonStories?.argTypes?.size ?? {},
- initialIcon: {
- ...(IconStories?.argTypes?.iconName ?? {}),
- name: "Initial icon",
- type: { name: "string", required: true },
- if: false,
- },
- selectedIcon: {
- ...(IconStories?.argTypes?.iconName ?? {}),
- name: "Selected icon",
- if: false,
- },
- isSelected: ActionButtonStories?.argTypes?.isSelected ?? {},
- isDisabled: ActionButtonStories?.argTypes?.isDisabled ?? {},
- },
- args: {
- rootClass: "spectrum-CycleButton",
- size: "m",
- initialIcon: "Play",
- selectedIcon: "Pause",
- },
- parameters: {
- actions: {
- handles: [...(ActionButtonStories?.parameters?.actions?.handles ?? [])],
- },
- chromatic: { disableSnapshot: true },
- status: {
- type: "deprecated"
- },
- packageJson,
- },
-};
-
-export const Default = (({
- rootClass = "spectrum-CycleButton",
- customClasses = [],
- size = "m",
- isDisabled = false,
- onclick,
- selectedIcon = "Pause",
- initialIcon = "Play"
-} = {}, context = {}) => {
- const { updateArgs } = context;
-
- return html`
-
-
- ${ActionButton({
- customClasses: [rootClass, ...customClasses],
- isQuiet: true,
- isDisabled,
- size,
- iconName: initialIcon,
- iconSet: "workflow",
- onclick:
- onclick ??
- function () {
- if (isDisabled) return;
-
- updateArgs({
- initialIcon: selectedIcon,
- selectedIcon: initialIcon
- });
- },
- }, context)}
- `;
-}).bind({});
-Default.args = {};
diff --git a/.storybook/deprecated/quickaction/quickaction.stories.js b/.storybook/deprecated/quickaction/quickaction.stories.js
deleted file mode 100644
index 15dc69298bc..00000000000
--- a/.storybook/deprecated/quickaction/quickaction.stories.js
+++ /dev/null
@@ -1,157 +0,0 @@
-import packageJson from "@spectrum-css/quickaction/package.json";
-import { html } from "lit";
-import { classMap } from "lit/directives/class-map.js";
-import { ifDefined } from "lit/directives/if-defined.js";
-
-import { Template as ActionButton } from "@spectrum-css/actionbutton/stories/template.js";
-
-import "@spectrum-css/quickaction/dist/index-vars.css";
-import "@spectrum-css/quickaction/dist/vars.css";
-
-/**
- * **This component is deprecated.** Please use an action bar to allow users to perform actions on either a single or multiple items at the same time, instead.
- */
-export default {
- title: "Quick actions",
- component: "QuickAction",
- argTypes: {
- content: { table: { disable: true } },
- isOpen: {
- name: "Open",
- type: { name: "boolean" },
- table: {
- type: { summary: "boolean" },
- category: "Component",
- },
- control: "boolean",
- },
- position: {
- name: "Position",
- type: { name: "string" },
- table: {
- type: { summary: "string" },
- category: "Component",
- },
- control: "select",
- options: ["left", "right"],
- },
- textOnly: {
- name: "Text only action buttons",
- type: { name: "boolean" },
- table: {
- type: { summary: "boolean" },
- category: "Advanced",
- },
- control: "boolean",
- },
- },
- args: {
- rootClass: "spectrum-QuickActions",
- isOpen: true,
- textOnly: false,
- content: [
- {
- iconName: "Edit",
- iconSet: "workflow",
- label: "Edit",
- },
- {
- iconName: "Copy",
- iconSet: "workflow",
- label: "Copy",
- },
- {
- iconName: "Delete",
- iconSet: "workflow",
- label: "Delete",
- },
- ],
- },
- parameters: {
- chromatic: { disableSnapshot: true },
- status: {
- type: "deprecated"
- },
- packageJson: {
- ...packageJson,
- "spectrum": [
- {
- "guidelines": "https://spectrum.adobe.com/page/quick-actions/",
- "rootClass": "spectrum-QuickActions",
- }
- ]
- }
- },
-};
-
-const Template = ({
- rootClass = "spectrum-QuickActions",
- size = "m",
- isOpen = false,
- textOnly = false,
- position,
- // noOverlay = false,
- content = [],
- id,
- customClasses = [],
-} = {}, context = {}) => {
- if (!content.length) {
- console.warn("QuickActions: requires content be passed in to render.");
- return html``;
- }
-
- if (!content.some((c) => c.icon)) textOnly = true;
-
- return html`
-
-
-
({ ...a, [c]: true }), {}),
- })}"
- id=${ifDefined(id)}
- >
- ${content.map((c) => {
- if ((typeof c === "object" && c.iconName) || c.label) {
- return ActionButton({ ...c, isQuiet: true }, context);
- } else return c;
- })}
-
- `;
-};
-
-export const Default = Template.bind({});
-Default.args = {};
diff --git a/.storybook/deprecated/searchwithin/searchwithin.stories.js b/.storybook/deprecated/searchwithin/searchwithin.stories.js
deleted file mode 100644
index 4591ffd1805..00000000000
--- a/.storybook/deprecated/searchwithin/searchwithin.stories.js
+++ /dev/null
@@ -1,238 +0,0 @@
-import packageJson from "@spectrum-css/searchwithin/package.json";
-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 { Template as ClearButton } from "@spectrum-css/clearbutton/stories/template.js";
-import { Template as Picker } from "@spectrum-css/picker/stories/template.js";
-import { Template as Popover } from "@spectrum-css/popover/stories/template.js";
-import { Template as Textfield } from "@spectrum-css/textfield/stories/template.js";
-
-import { Template as Menu } from "@spectrum-css/menu/stories/template.js";
-
-import "@spectrum-css/searchwithin/dist/index-vars.css";
-import "@spectrum-css/searchwithin/dist/vars.css";
-
-/**
- * **This component is deprecated.** Please use a search field with a separate control to filter the search instead.
- */
-export default {
- title: "Search within",
- component: "SearchWithin",
- argTypes: {
- size: {
- name: "Size",
- type: { name: "string", required: true },
- table: {
- type: { summary: "string" },
- category: "Component",
- },
- options: ["s", "m", "l", "xl"],
- control: "select",
- },
- label: {
- name: "Label",
- type: { name: "string" },
- table: {
- type: { summary: "string" },
- category: "Content",
- },
- control: { type: "text" },
- },
- labelPosition: {
- name: "Label position",
- type: { name: "string" },
- table: {
- type: { summary: "string" },
- category: "Content",
- },
- options: ["top", "left"],
- control: { type: "select" },
- },
- withSwitch: {
- name: "Display with a switch component",
- type: { name: "boolean" },
- table: {
- type: { summary: "boolean" },
- category: "Component",
- },
- control: "boolean",
- if: { arg: "labelPosition", eq: "left" },
- },
- placeholder: {
- name: "Placeholder",
- type: { name: "string" },
- table: {
- type: { summary: "string" },
- category: "Content",
- },
- control: { type: "text" },
- },
- isQuiet: {
- name: "Quiet styling",
- type: { name: "boolean" },
- table: {
- type: { summary: "boolean" },
- category: "Component",
- },
- control: "boolean",
- },
- isOpen: {
- name: "Open",
- type: { name: "boolean" },
- table: {
- type: { summary: "boolean" },
- category: "State",
- },
- control: "boolean",
- },
- isKeyboardFocused: {
- name: "Keyboard focused",
- type: { name: "boolean" },
- table: {
- type: { summary: "boolean" },
- category: "State",
- },
- control: "boolean",
- },
- isDisabled: {
- name: "Disabled",
- type: { name: "boolean" },
- table: {
- type: { summary: "boolean" },
- category: "State",
- },
- control: "boolean",
- },
- isLoading: {
- name: "Loading",
- type: { name: "boolean" },
- table: {
- type: { summary: "boolean" },
- category: "State",
- },
- control: "boolean",
- },
- isInvalid: {
- name: "Invalid input",
- type: { name: "boolean" },
- table: {
- type: { summary: "boolean" },
- category: "State",
- },
- control: "boolean",
- },
- content: { table: { disable: true } },
- },
- args: {
- rootClass: "spectrum-SearchWithin",
- isOpen: false,
- isQuiet: false,
- size: "m",
- label: "All",
- placeholder: "Search",
- isKeyboardFocused: false,
- isLoading: false,
- isDisabled: false,
- isInvalid: false,
- withSwitch: false,
- },
- parameters: {
- chromatic: { disableSnapshot: true },
- status: {
- type: "deprecated"
- },
- packageJson,
- },
-};
-
-const Template = ({
- rootClass = "spectrum-SearchWithin",
- customClasses = [],
- customStyles = {},
- isQuiet = false,
- isOpen = false,
- isInvalid = false,
- isLoading = false,
- isDisabled = false,
- withSwitch = false,
- isKeyboardFocused = false,
- size = "m",
- label,
- placeholder,
-}, context) => html`
-
-
-
-`;
-
-export const Default = Template.bind({});
-Default.args = {};
diff --git a/.storybook/deprecated/splitbutton/splitbutton.stories.js b/.storybook/deprecated/splitbutton/splitbutton.stories.js
deleted file mode 100644
index 74af7005b9f..00000000000
--- a/.storybook/deprecated/splitbutton/splitbutton.stories.js
+++ /dev/null
@@ -1,160 +0,0 @@
-import packageJson from "@spectrum-css/splitbutton/package.json";
-import { html } from "lit";
-import { classMap } from "lit/directives/class-map.js";
-
-import { Template as Button } from "@spectrum-css/button/stories/template.js";
-
-import "@spectrum-css/splitbutton/dist/index-vars.css";
-import "@spectrum-css/splitbutton/dist/vars.css";
-
-/**
- * **This component is deprecated.** Please use a button group to show any additional actions related to the most critical action. Reference [Spectrum documentation](https://spectrum.corp.adobe.com/page/button-group/#Use-a-button-group-to-show-additional-actions) for more information.
- *
- * A split button surfaces an immediately invokable action via it's main button, as well as a list of alternative actions in its toggle-able menu overlay.
- */
-export default {
- title: "Split button",
- component: "SplitButton",
- argTypes: {
- size: {
- name: "Size",
- type: { name: "string", required: true },
- table: { disable: true },
- options: ["m"],
- control: "select",
- },
- variant: {
- name: "Variant",
- type: { name: "string" },
- table: { disable: true },
- options: ["accent", "primary", "secondary"],
- control: "select",
- },
- position: {
- name: "Position",
- type: { name: "string", required: true },
- table: {
- type: { summary: "string" },
- category: "Component",
- },
- options: ["right", "left"],
- control: "select",
- },
- iconName: { table: { disable: true } },
- label: {
- name: "Label",
- type: { name: "string" },
- table: {
- type: { summary: "string" },
- category: "Content",
- },
- control: { type: "text" },
- },
- },
- args: {
- rootClass: "spectrum-SplitButton",
- size: "m",
- position: "right",
- label: "Split Button",
- variant: "accent",
- iconName: "ChevronDown100",
- },
- parameters: {
- chromatic: { disableSnapshot: true },
- status: {
- type: "deprecated"
- },
- packageJson,
- },
-};
-
-const Template = ({
- rootClass = "spectrum-SplitButton",
- customClasses = [],
- customFirstButtonClasses = [],
- customLastButtonClasses = [],
- size = "m",
- variant = "cta",
- iconName = "ChevronDown100",
- iconSet = "ui",
- labelIconName = undefined,
- position = "right",
- label = "Split button",
-} = {}, context = {}) => {
- return html`
-
-
- ({ ...a, [c]: true }), {}),
- })}
- >
- ${Button({
- variant,
- size,
- iconSet,
- iconName: position === "right"
- ? typeof labelIconName != "undefined" ? labelIconName : undefined
- : iconName,
- label: position === "right" ? label : undefined,
- hideLabel: position === "right" ? false : true,
- customClasses: [
- position === "right"
- ? "spectrum-SplitButton-action"
- : "spectrum-SplitButton-trigger",
- ...customFirstButtonClasses
- ]
- }, context)}
- ${Button({
- variant,
- size,
- iconSet,
- iconName: position === "right"
- ? iconName
- : typeof labelIconName != "undefined" ? labelIconName : undefined,
- iconAfterLabel: true,
- label: position === "right" ? undefined : label,
- hideLabel: position === "right" ? true : false,
- customClasses: [
- position === "right"
- ? "spectrum-SplitButton-trigger"
- : "spectrum-SplitButton-action",
- ...customLastButtonClasses
- ]
- }, context)}
-
- `;
-};
-
-export const Default = Template.bind({});
-Default.args = {};
diff --git a/.storybook/guides/develop.mdx b/.storybook/guides/develop.mdx
index c84319b6b3f..822e9c99262 100644
--- a/.storybook/guides/develop.mdx
+++ b/.storybook/guides/develop.mdx
@@ -46,8 +46,9 @@ Each component outputs the following assets to `dist`:
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.css`: Represents the Spectrum theme.
-- `themes/express.css`: Represents the Express theme. **deprecated in Spectrum 2**
+- `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**
## Adding a new component
diff --git a/.storybook/guides/s2_migration.mdx b/.storybook/guides/s2_migration.mdx
new file mode 100644
index 00000000000..23ac1820f95
--- /dev/null
+++ b/.storybook/guides/s2_migration.mdx
@@ -0,0 +1,70 @@
+import { Meta, Title } from "@storybook/blocks";
+import { ThemeContainer, Heading } from "../blocks";
+
+import GrayMigrationGuide from "../assets/images/gray_migration-guide.png";
+
+
+Migration guide
+
+## Deprecated components
+
+- Cycle button: Use the quiet variant of action button with the appropriate icon(s) instead. Any icon swapping that happens on-click/on-key should be handled by the implementation.
+- Quick actions: Use an action bar to allow users to perform actions on either a single or multiple items at the same time, instead.
+- Search within: Use a search field with a separate control to filter the search instead.
+- Split button: Use a button group to show any additional actions related to the most critical action. Reference [Spectrum documentation](https://spectrum.corp.adobe.com/page/button-group/#Use-a-button-group-to-show-additional-actions) for more information.
+
+## Grays
+
+
+
+
+
+### Examples of using the new grays
+
+- `Gray-25`, `-50`, and `-75` are reserved for background layers.
+- `Gray-100`, `-200`, and `-300` are used for lower contrast component background progressions or borders.
+- `Gray-800` and `-900` are used for higher contrast component backgrounds such as text and active borders. This ensures that components are always visible, regardless of the background color.
+
+## Transparent colors
+
+### Transparent white
+
+| | | Spectrum 2 | Spectrum 1 |
+| ----------------- | :-------: | ----------: | ----------: |
+| **Color** | **Value** | **Opacity** | **Opacity** |
+| transparent-white | 25 | 0 | |
+| transparent-white | 50 | 0.04 | |
+| transparent-white | 75 | 0.07 | |
+| transparent-white | 100 | 0.11 | 0 |
+| transparent-white | 200 | 0.14 | 0.1 |
+| transparent-white | 300 | 0.17 | 0.25 |
+| transparent-white | 400 | 0.21 | 0.4 |
+| transparent-white | 500 | 0.39 | 0.55 |
+| transparent-white | 600 | 0.51 | 0.7 |
+| transparent-white | 700 | 0.66 | 0.8 |
+| transparent-white | 800 | 0.85 | 0.9 |
+| transparent-white | 900 | 0.94 | 1 |
+| transparent-white | 1000 | 1 | |
+
+### Transparent black
+
+| | | Spectrum 2 | Spectrum 1 |
+| ----------------- | :-------: | ----------: | ----------: |
+| **Color** | **Value** | **Opacity** | **Opacity** |
+| transparent-black | 25 | 0 | |
+| transparent-black | 50 | 0.03 | |
+| transparent-black | 75 | 0.05 | |
+| transparent-black | 100 | 0.09 | 0 |
+| transparent-black | 200 | 0.12 | 0.1 |
+| transparent-black | 300 | 0.15 | 0.25 |
+| transparent-black | 400 | 0.22 | 0.4 |
+| transparent-black | 500 | 0.44 | 0.55 |
+| transparent-black | 600 | 0.56 | 0.7 |
+| transparent-black | 700 | 0.69 | 0.8 |
+| transparent-black | 800 | 0.84 | 0.9 |
+| transparent-black | 900 | 0.93 | 1 |
+| transparent-black | 1000 | 1 | |
diff --git a/.storybook/main.js b/.storybook/main.js
index f00db7dcac4..4f2031825db 100644
--- a/.storybook/main.js
+++ b/.storybook/main.js
@@ -1,5 +1,6 @@
import fs from "fs";
import path from "path";
+import remarkGfm from 'remark-gfm';
// Get a list of all the folders in the components directory
const componentDir = path.resolve(__dirname, "../components");
@@ -47,6 +48,11 @@ export default {
configureJSX: true,
// Support markdown in MDX files
transcludeMarkdown: true,
+ mdxPluginOptions: {
+ mdxCompileOptions: {
+ remarkPlugins: [remarkGfm],
+ },
+ },
},
},
// https://github.com/storybookjs/storybook/tree/next/code/addons/a11y
diff --git a/.storybook/manager.js b/.storybook/manager.js
index d3bc832002f..0dba49e4442 100644
--- a/.storybook/manager.js
+++ b/.storybook/manager.js
@@ -12,39 +12,54 @@ addons.setConfig({
theme: create({
base: "light",
- brandTitle: "Spectrum CSS",
+ brandTitle: "Adobe | Spectrum CSS",
brandUrl: pkg.homepage ?? "https://opensource.adobe.com/spectrum-css",
brandImage: logo,
+ brandTarget: "_self",
typography: {
fonts: {
- base: "adobe-clean, \"Source Sans Pro\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, \"Trebuchet MS\", \"Lucida Grande\", sans-serif",
+ base: "adobe-clean, \"Adobe Clean\", \"Source Sans Pro\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, \"Trebuchet MS\", \"Lucida Grande\", sans-serif",
code: "\"Source Code Pro\", Monaco, monospace",
}
},
+ // colorPrimary: "#7326d3",
colorSecondary: "rgb(2, 101, 220)",
- // UI
- appBg:
- "rgb(255,255,255)" /* Being applied to the active state of radio buttons */,
- appContentBg: "rgb(255, 255, 255)" /* Being applied to the arg table */,
+ /* Being applied to the active state of radio buttons */
+ appBg: "rgb(255, 255, 255)",
+ /* Being applied to the arg table */
+ appContentBg: "rgb(255, 255, 255)",
+ // appPreviewBg: "rgb(248, 248, 248)",
appBorderColor: "rgb(213, 213, 213)",
appBorderRadius: 4,
- // Text colors
+ /* Text colors */
+ fontBase: "adobe-clean, \"Adobe Clean\", \"Source Sans Pro\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Ubuntu, \"Trebuchet MS\", \"Lucida Grande\", sans-serif",
+ fontCode: "\"Source Code Pro\", Monaco, monospace",
textColor: "rgb(34, 34, 34)",
+ textInverseColor: "rgb(219, 219, 219)",
+ textMutedColor: "rgb(175, 175, 175)",
- // Toolbar default and active colors
+ /* Toolbar default and active colors */
barTextColor: "rgb(34, 34, 34)",
+ barHoverColor: "rgb(2, 101, 220)",
barSelectedColor: "rgb(2, 101, 220)",
- // barBg: 'rgb(248, 248, 248)',
+ barBg: "rgb(255, 255, 255)",
- // Form colors
+ // buttonBg: "rgb(255, 255, 255)",
+ // buttonBorder: "transparent",
+ // booleanBg: "rgb(255, 255, 255)",
+ // booleanSelectedBg: "rgb(213, 213, 213)",
+
+ /* Form colors */
inputBg: "rgb(255, 255, 255)",
inputBorder: "rgb(177, 177, 177)",
inputTextColor: "rgb(34, 34, 34)",
inputBorderRadius: 4,
+
+ // gridCellSize?: number;
}),
sidebar: {
showRoots: false,
diff --git a/.storybook/package.json b/.storybook/package.json
index 900c16f6c94..729a2ebbcbf 100644
--- a/.storybook/package.json
+++ b/.storybook/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/preview",
- "version": "10.11.7",
+ "version": "11.0.0-s2-foundations.23",
"description": "A Spectrum CSS preview",
"license": "Apache-2.0",
"author": "Adobe",
@@ -29,8 +29,10 @@
},
"dependencies": {
"@adobe/spectrum-css-workflow-icons": "^1.5.4",
+ "@adobe/spectrum-tokens": "0.0.0-s2-foundations-20241021172855",
"@spectrum-css/table": "workspace:^",
"@spectrum-css/tokens": "workspace:^",
+ "@spectrum-css/tokens-legacy": "npm:@spectrum-css/tokens@^14.6.0",
"@spectrum-css/typography": "workspace:^",
"@spectrum-css/ui-icons": "workspace:^"
},
@@ -64,6 +66,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-syntax-highlighter": "^15.6.1",
+ "remark-gfm": "^4.0.0",
"rollup-plugin-postcss-lit": "^2.1.0",
"storybook": "^8.4.7",
"vite": "^5.4.11"
diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html
index 73194fd52ed..b886455195a 100644
--- a/.storybook/preview-head.html
+++ b/.storybook/preview-head.html
@@ -1,3 +1,15 @@
+
+
+
+
+
+
+
+Adobe | Spectrum CSS
+
+
+
+
diff --git a/.storybook/preview.js b/.storybook/preview.js
index 3c92dcfe186..b504cc403a0 100644
--- a/.storybook/preview.js
+++ b/.storybook/preview.js
@@ -88,7 +88,9 @@ export const parameters = {
page: DocumentationTemplate,
story: { inline: true },
source: {
- type: "dynamic",
+ dark: false,
+ excludeDecorators: true,
+ type: "auto",
language: "html",
},
},
diff --git a/.storybook/types/global.js b/.storybook/types/global.js
index aceccb44c4c..60a369079e5 100644
--- a/.storybook/types/global.js
+++ b/.storybook/types/global.js
@@ -7,13 +7,14 @@ export default {
context: {
title: "Design context",
description: "The variation of Spectrum to use in the component",
- defaultValue: "legacy",
+ defaultValue: "spectrum",
type: "string",
showName: true,
toolbar: {
items: [
- { value: "legacy", title: "Spectrum 1", right: "default" },
- { value: "express", title: "Express" },
+ { 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,
diff --git a/.vscode/settings.json b/.vscode/settings.json
index b7a60880a9c..8eb48ea6e57 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -177,10 +177,6 @@
"stylelint.reportNeedlessDisables": true,
"stylelint.validate": ["css", "postcss"],
"yaml.schemas": {
- "./schemas/documentation.schema.json": [
- "/metadata/*.yml",
- "/metadata/*.yaml"
- ],
"~/.vscode/extensions/atlassian.atlascode-3.0.4/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml"
},
"storyExplorer.storiesGlobs": [
diff --git a/commitlint.config.js b/commitlint.config.js
index 26a88cbb581..2a548b0b377 100644
--- a/commitlint.config.js
+++ b/commitlint.config.js
@@ -1,3 +1,6 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
+ rules: {
+ "header-max-length": [0],
+ }
};
diff --git a/components/README.md b/components/README.md
deleted file mode 100644
index f383a7f67e3..00000000000
--- a/components/README.md
+++ /dev/null
@@ -1,74 +0,0 @@
-# Spectrum CSS Components
-
-The project is broken down into separate components for each component inside of the `components/` folder.
-
-Components are released on npm as `@spectrum-css/$COMPONENT`, where `$COMPONENT` corresponds to the folder name in this repository.
-
-## Component structure
-
-Each component has the following files:
-
-- `index.css` - The scale-specific styles for the component: dimensions, layout, etc (these change between scales)
-- `themes/*.css` - The theme-specific styles for the component.
-- `stories/*.mdx` - The examples and documentation for the component.
-- `stories/*.stories.js` and `stories/template.js` - The storybook assets for rendering components in the Storybook tool and eventually to be used for visual regression testing.
-
-## Editing an existing component
-
-1. Run `yarn start` in the root of the project to begin developing.
-2. Edit `components/$COMPONENT/index.css` with dimensions and color properties. The documentation will live reload with your changes.
-3. Edit the markup examples within `components/$COMPONENT/stories/*.stories.js`. The documentation will live reload with your changes.
-
-## 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 `@spectrum-css/component-builder-simple`, and most rely on `@spectrum-css/icon`. **Note: If you are working on a legacy component, it will dependend on `@spectrum-css/vars` and `@spectrum-css/component-builder` instead. This is expected.**
-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.
-5. Inside the `stories` directory you will find a `template.js` and an `*.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.
-6. Edit your `stories/*.mdx` to add markup examples for each of the variants of your component.
-
-Because we use scoped packages, before it can be published with Lerna, you must manually publish the new component as public:
-
-```shell
-cd components/newcomponent
-npm publish --access=public
-```
-
-## Component dependencies
-
-1. If your component requires another component in order to render, it should be declared in both `devDependencies` and `peerDependencies`.
- 1. The version range included in `peerDependencies` must satisfy the version included in `devDependencies`.
- 2. If a component appears in `peerDependencies`, it must also appear in `devDependencies`.
- 3. This goes for every class used to render the component; even if the class comes from a component that's a dependency of another component you already have a dependency on.
- 4. For instance, if your component requires a button with an icon inside of it, you must explicitly include both `icon` and `button` in both `devDependencies` and `peerDependencies`.
-2. If your component has an example that uses another component, but the component isn't required to render your component, it should be declared in `devDependencies` only.
- 1. For instance, if your component is commonly used with a table and includes an example where it is used with a table, but doesn't require table to render itself, you should declare `table` in `devDependencies` only.
-
-For example, `actionbar` gets its tokens from `vars`, and requires `button`, `checkbox`, `icon`, and `popover` to render, but also has an example where the component is used with a `table`. Its dependencies should be declared as follows:
-
-```json
-{
- "name": "@spectrum-css/actionbar",
- "peerDependencies": {
- "@spectrum-css/button": ">=12,
- "@spectrum-css/checkbox": ">=8",
- "@spectrum-css/icon": ">=6",
- "@spectrum-css/popover": ">=6",
- "@spectrum-css/tokens": ">=13"
- }
-}
-```
-
-The release will error out if:
-
-1. A package is specified in `peerDependencies` that does not appear in `devDependencies`
-2. The version of a package is specified in `devDependencies` satisfy the range defined for that package in `peerDependencies`
-
-## Releasing components
-
-Any change to a component or a component's dependencies will require a release of that component and all components that depend upon it. Component releases cannot be done ala carte and must be done from the top-level.
-
-See [Releasing](/README.md#Releasing) for more information.
diff --git a/components/accordion/CHANGELOG.md b/components/accordion/CHANGELOG.md
index d77d23e1200..f23cd55787e 100644
--- a/components/accordion/CHANGELOG.md
+++ b/components/accordion/CHANGELOG.md
@@ -1,5 +1,242 @@
# Change Log
+## 6.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 6.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 6.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`58a89ea`](https://github.com/adobe/spectrum-css/commit/58a89ea464c387111511271a5f5afce044f11042) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-237] accordion item border height set to 0 for non-first-child elements
+
+### Patch Changes
+
+- Updated dependencies [[`58a89ea`](https://github.com/adobe/spectrum-css/commit/58a89ea464c387111511271a5f5afce044f11042)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.15
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 5.3.0
### Minor Changes
diff --git a/components/accordion/index.css b/components/accordion/index.css
index 302cc023d36..682dbada526 100644
--- a/components/accordion/index.css
+++ b/components/accordion/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Accordion {
--spectrum-accordion-item-height: var(--spectrum-component-height-200);
@@ -64,8 +64,6 @@
/* Focus indicator */
--spectrum-accordion-focus-indicator-color: var(--spectrum-focus-indicator-color);
- /* Divider */
- --spectrum-accordion-divider-color: var(--spectrum-gray-300);
--spectrum-accordion-min-block-size: max(
var(--mod-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))))
diff --git a/components/accordion/metadata/metadata.json b/components/accordion/metadata/metadata.json
index c08d3b41079..ff47de4a439 100644
--- a/components/accordion/metadata/metadata.json
+++ b/components/accordion/metadata/metadata.json
@@ -188,7 +188,7 @@
"--spectrum-font-size-300",
"--spectrum-font-size-500",
"--spectrum-font-size-700",
- "--spectrum-gray-300",
+ "--spectrum-gray-200",
"--spectrum-gray-900-rgb",
"--spectrum-line-height-100",
"--spectrum-logical-rotation",
@@ -198,7 +198,7 @@
"--spectrum-neutral-content-color-key-focus",
"--spectrum-sans-font-family-stack"
],
- "system-theme": [],
+ "system-theme": ["--system-accordion-divider-color"],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/accordion/package.json b/components/accordion/package.json
index 978a7979991..9835335e239 100644
--- a/components/accordion/package.json
+++ b/components/accordion/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/accordion",
- "version": "5.3.0",
+ "version": "6.0.0-s2-foundations.17",
"description": "The Spectrum CSS accordion component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/icon": "workspace:^",
diff --git a/components/accordion/stories/accordion.mdx b/components/accordion/stories/accordion.mdx
deleted file mode 100644
index f3307ff25b2..00000000000
--- a/components/accordion/stories/accordion.mdx
+++ /dev/null
@@ -1,50 +0,0 @@
-import {
- Canvas,
- ArgTypes,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-import * as AccordionStories from "./accordion.stories";
-
-
-
-
-
-
-
-
-
-## Density options
-
-Accordion has three density options and requires that you specify one of the density types: compact, regular, or spacious.
-
-### Regular
-
-
-
-### Compact
-
-
-
-### Spacious
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/accordion/stories/accordion.stories.js b/components/accordion/stories/accordion.stories.js
index 7b7fb45bcf9..510ab108593 100644
--- a/components/accordion/stories/accordion.stories.js
+++ b/components/accordion/stories/accordion.stories.js
@@ -1,5 +1,6 @@
-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 { Template as Link } from "@spectrum-css/link/stories/template.js";
import { size } from "@spectrum-css/preview/types";
import { Template as Typography } from "@spectrum-css/typography/stories/template.js";
import metadata from "../metadata/metadata.json";
@@ -9,6 +10,10 @@ import { Template } from "./template.js";
/**
* The accordion element contains a list of items that can be expanded or collapsed to reveal additional content or information associated with each item. There can be zero expanded items, exactly one expanded item, or more than one item expanded at a time, depending on the configuration. This list of items is defined by child accordion item elements.
+ *
+ * ## Density options
+ *
+ * Accordion has three density options and requires that you specify one of the density types: compact, regular, or spacious.
*/
export default {
title: "Accordion",
@@ -57,10 +62,13 @@ export default {
handles: ["click .spectrum-Accordion-item"],
},
chromatic: { disableSnapshot: true },
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=39469-5419",
+ },
packageJson,
metadata,
},
- tags: ["!autodocs"],
};
/* Content sourced from: https://www.adobe.com/products/catalog.html#:~:text=Frequently%20asked%20questions. */
@@ -178,6 +186,10 @@ Compact.args = {
items: content,
density: "compact",
};
+Compact.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+Compact.storyName = "Density - Compact";
export const Spacious = Template.bind({});
Spacious.tags = ["!dev"];
@@ -185,3 +197,19 @@ Spacious.args = {
items: content,
density: "spacious",
};
+Spacious.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+Spacious.storyName = "Density - Spacious";
+
+export const Sizing = (args, context) => Sizes({
+ Template,
+ withBorder: false,
+ withHeading: false,
+ items: content,
+ ...args,
+}, context);
+Sizing.tags = ["!dev"];
+Sizing.parameters = {
+ chromatic: { disableSnapshot: true },
+};
diff --git a/components/accordion/stories/template.js b/components/accordion/stories/template.js
index 79fc3648bf3..8294f3a4027 100644
--- a/components/accordion/stories/template.js
+++ b/components/accordion/stories/template.js
@@ -7,6 +7,9 @@ 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
index fad97bb3695..9fd550418f2 100644
--- a/components/accordion/themes/express.css
+++ b/components/accordion/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/accordion/themes/spectrum-two.css b/components/accordion/themes/spectrum-two.css
new file mode 100644
index 00000000000..867faa66929
--- /dev/null
+++ b/components/accordion/themes/spectrum-two.css
@@ -0,0 +1,18 @@
+/*!
+ * 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);
+ }
+}
diff --git a/components/accordion/themes/spectrum.css b/components/accordion/themes/spectrum.css
index 3b48a570c21..b98c0469a58 100644
--- a/components/accordion/themes/spectrum.css
+++ b/components/accordion/themes/spectrum.css
@@ -10,3 +10,14 @@
* 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 {
+ /* Divider */
+ --spectrum-accordion-divider-color: var(--spectrum-gray-300);
+ }
+}
diff --git a/components/actionbar/CHANGELOG.md b/components/actionbar/CHANGELOG.md
index 433909cdf81..cebf36f7dff 100644
--- a/components/actionbar/CHANGELOG.md
+++ b/components/actionbar/CHANGELOG.md
@@ -1,5 +1,288 @@
# Change Log
+## 9.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.17
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.17
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.17
+ - @spectrum-css/popover@8.0.0-s2-foundations.17
+
+## 9.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.15
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.16
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.15
+ - @spectrum-css/popover@8.0.0-s2-foundations.16
+
+## 9.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.14
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.15
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.14
+ - @spectrum-css/popover@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 9.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.13
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.14
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.13
+ - @spectrum-css/popover@8.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 9.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`7eb68bb`](https://github.com/adobe/spectrum-css/commit/7eb68bb0091195d151f2406a983b0a4caadf66a9) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-233] Moves inset-inline-start and inset-inline-end to sticky variant to fix issue with fixed actionbar unexpectedly taking up full width
+
+## 9.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.12
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.12
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.12
+ - @spectrum-css/popover@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 9.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.11
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.11
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.11
+ - @spectrum-css/popover@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 9.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.10
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.10
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.10
+ - @spectrum-css/popover@8.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 9.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.9
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.9
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.9
+ - @spectrum-css/popover@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 9.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.8
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.8
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.8
+ - @spectrum-css/popover@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 9.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.7
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.7
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.7
+ - @spectrum-css/popover@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 9.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.6
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.6
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.6
+ - @spectrum-css/popover@8.0.0-s2-foundations.6
+
+## 9.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.5
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.5
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.5
+ - @spectrum-css/popover@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 9.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.4
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.4
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.4
+ - @spectrum-css/popover@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 9.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.3
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.3
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.3
+ - @spectrum-css/popover@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 9.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.2
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.2
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.2
+ - @spectrum-css/popover@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 9.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.1
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.1
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.1
+ - @spectrum-css/popover@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 9.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/actiongroup@6.0.0-s2-foundations.0
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.0
+ - @spectrum-css/popover@8.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.0
+
## 8.2.0
### Minor Changes
diff --git a/components/actionbar/index.css b/components/actionbar/index.css
index c65cc9bba60..b4f040d3be8 100644
--- a/components/actionbar/index.css
+++ b/components/actionbar/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-ActionBar {
--spectrum-actionbar-height: var(--spectrum-action-bar-height);
@@ -22,17 +22,6 @@
--spectrum-actionbar-item-counter-line-height: var(--spectrum-line-height-100);
--spectrum-actionbar-item-counter-color: var(--spectrum-neutral-content-color-default);
- /* cjk language support for item counter */
- &:lang(ja),
- &:lang(zh),
- &:lang(ko) {
- --spectrum-actionbar-item-counter-line-height-cjk: var(--spectrum-cjk-line-height-100);
- }
-
- /* colors - applied to popover */
- --spectrum-actionbar-popover-background-color: var(--spectrum-gray-50);
- --spectrum-actionbar-popover-border-color: var(--spectrum-gray-400);
-
/* emphasized variation colors */
--spectrum-actionbar-emphasized-background-color: var(--spectrum-informative-background-color-default);
--spectrum-actionbar-emphasized-item-counter-color: var(--spectrum-white);
@@ -58,6 +47,13 @@
--spectrum-actionbar-shadow-vertical: var(--spectrum-drop-shadow-y);
--spectrum-actionbar-shadow-blur: var(--spectrum-drop-shadow-blur);
--spectrum-actionbar-shadow-color: var(--spectrum-drop-shadow-color);
+
+ /* cjk language support for item counter */
+ &:lang(ja),
+ &:lang(zh),
+ &:lang(ko) {
+ --spectrum-actionbar-item-counter-line-height-cjk: var(--spectrum-cjk-line-height-100);
+ }
}
/* windows high contrast mode */
diff --git a/components/actionbar/metadata/metadata.json b/components/actionbar/metadata/metadata.json
index 2da94885776..3632db90bf7 100644
--- a/components/actionbar/metadata/metadata.json
+++ b/components/actionbar/metadata/metadata.json
@@ -77,8 +77,8 @@
"--spectrum-drop-shadow-x",
"--spectrum-drop-shadow-y",
"--spectrum-font-size-100",
+ "--spectrum-gray-25",
"--spectrum-gray-400",
- "--spectrum-gray-50",
"--spectrum-informative-background-color-default",
"--spectrum-line-height-100",
"--spectrum-neutral-content-color-default",
@@ -88,7 +88,10 @@
"--spectrum-spacing-75",
"--spectrum-white"
],
- "system-theme": [],
+ "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/package.json b/components/actionbar/package.json
index 462b020934e..2d8f3914ef8 100644
--- a/components/actionbar/package.json
+++ b/components/actionbar/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/actionbar",
- "version": "8.2.0",
+ "version": "9.0.0-s2-foundations.17",
"description": "The Spectrum CSS actionbar component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,21 +21,23 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/actiongroup": ">=5",
- "@spectrum-css/closebutton": ">=5",
- "@spectrum-css/fieldlabel": ">=8",
- "@spectrum-css/popover": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actiongroup": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/closebutton": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/fieldlabel": ">=9.0.0-s2-foundations.0",
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/actiongroup": "workspace:^",
diff --git a/components/actionbar/stories/actionbar.mdx b/components/actionbar/stories/actionbar.mdx
deleted file mode 100644
index 0f0fc646866..00000000000
--- a/components/actionbar/stories/actionbar.mdx
+++ /dev/null
@@ -1,52 +0,0 @@
-import {
- Canvas,
- ArgTypes,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-import * as ActionBarStories from "./actionbar.stories";
-
-
-
-
-
-
-
-
-
-## Standard
-
-
-
-## Emphasized
-
-
-
-## Behavioral variants
-
-- Standard - Action bars fill the width of their container.
-- Flexible - Action bars fit the width of their content.
-- Sticky - Action bars will sit on top of content until dismissed.
-
-## Popover Dependency
-
-Action bar requires Popover, which is nested within Action bar. Action bar background, border, and corner radius are applied to the nested Popover component and can be overriden by Action bar using `--mod-*` prefixed custom properties. A [list of the properties](https://github.com/adobe/spectrum-css/blob/main/components/actionbar/metadata/mods.md) can be found in the repo.
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/actionbar/stories/actionbar.stories.js b/components/actionbar/stories/actionbar.stories.js
index ab3aad09e2a..f8216ce6bdd 100644
--- a/components/actionbar/stories/actionbar.stories.js
+++ b/components/actionbar/stories/actionbar.stories.js
@@ -6,10 +6,13 @@ import { isEmphasized, isOpen } from "@spectrum-css/preview/types";
import metadata from "../metadata/metadata.json";
import packageJson from "../package.json";
import { ActionBarGroup } from "./actionbar.test.js";
-import { Template } from "./template.js";
+import { BehavioralTemplate } from "./template.js";
/**
- * The action bar component is a floating full width bar that appears upon selection.
+ * The action bar component is a floating full width bar that appears upon selection. Action bars are used for single and bulk selection patterns, when a user needs to perform actions on either a single or multiple items at the same time.
+ *
+ * ## Popover dependency
+ * Action bar requires popover, which is nested within the action bar. Action bar background, border, and corner radius are applied to the nested popover component and can be overridden by using action bar's `--mod-*` prefixed custom properties. A [list of the properties](#modifiable-properties) can be found below.
*/
export default {
title: "Action bar",
@@ -65,16 +68,16 @@ export default {
// Getting the Figma link: https://help.figma.com/hc/en-us/articles/360045003494-Storybook-and-Figma
design: {
type: "figma",
- url: "https://www.figma.com/file/MPtRIVRzPp2VHiEplwXL2X/S-%2F-Manual?node-id=465%3A3127&t=xbooxCWItOFgG2xM-1",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=28379-300",
},
packageJson,
metadata,
},
- tags: ["!autodocs"],
};
export const Default = ActionBarGroup.bind({});
Default.args = {};
+Default.tags = ["!autodocs"];
// ********* VRT ONLY ********* //
export const WithForcedColors = ActionBarGroup.bind({});
@@ -88,7 +91,8 @@ WithForcedColors.parameters = {
};
// ********* DOCS ONLY ********* //
-export const Emphasized = Template.bind({});
+/**The emphasized action bar has a blue background that adds visual emphasis on the actions and selection. Use this for when the bar should call attention (e.g., floating in a table). */
+export const Emphasized = BehavioralTemplate.bind({});
Emphasized.tags = ["!dev"];
Emphasized.args = {
isEmphasized: true,
@@ -96,3 +100,17 @@ Emphasized.args = {
Emphasized.parameters = {
chromatic: { disableSnapshot: true },
};
+
+/** By default, action bars fill the width of their container. Below are example of the other behavioral variants available.
+ *
+ * - Standard action bars fill the width of their container.
+ * - Flexible action bars fit the width of their content.
+ * - Sticky action bars will sit on top of content until dismissed. Scroll down on this example to view how the sticky action bar behaves within a scrollable element.
+ *
+*/
+export const Standard = BehavioralTemplate.bind({});
+Standard.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+Standard.tags = ["!dev"];
+Standard.storyName = "Default";
diff --git a/components/actionbar/stories/template.js b/components/actionbar/stories/template.js
index 28e7a418b6a..8b134157bd2 100644
--- a/components/actionbar/stories/template.js
+++ b/components/actionbar/stories/template.js
@@ -1,3 +1,4 @@
+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";
@@ -7,6 +8,9 @@ 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",
@@ -24,8 +28,7 @@ export const Template = ({
`;
};
+
+/* This template shows standard, flexible, and sticky action bars in one story. */
+/* The fixed behavior works best in an iframe, so is not represented in this template. */
+export const BehavioralTemplate = (args, context) => Container({
+ withBorder: false,
+ withHeading: false,
+ direction: "column",
+ content: html`
+ ${Container({
+ withBorder: false,
+ heading: "Standard",
+ content: Template({...args, customPopoverStyles: {"transform": "unset"}}, context)
+ })}
+ ${Container({
+ withBorder: false,
+ heading: "Flexible",
+ content: Template({...args, isFlexible: true,}, context)
+ })}
+ ${Container({
+ withBorder: false,
+ heading: "Sticky",
+ containerStyles: {
+ "max-block-size": "100px",
+ "max-inline-size": " 550px",
+ "overflow": "auto",
+ },
+ content: ["Scroll down to view sticky behavior. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", Template({...args, isSticky: true,}, context)]
+ })}
+ `
+});
diff --git a/components/actionbar/themes/express.css b/components/actionbar/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/actionbar/themes/express.css
+++ b/components/actionbar/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/actionbar/themes/spectrum-two.css b/components/actionbar/themes/spectrum-two.css
new file mode 100644
index 00000000000..157c2dc9294
--- /dev/null
+++ b/components/actionbar/themes/spectrum-two.css
@@ -0,0 +1,20 @@
+/*!
+ * 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
index 3b48a570c21..27971810d3d 100644
--- a/components/actionbar/themes/spectrum.css
+++ b/components/actionbar/themes/spectrum.css
@@ -10,3 +10,14 @@
* 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 4429fa2de80..f806c71ae50 100644
--- a/components/actionbutton/CHANGELOG.md
+++ b/components/actionbutton/CHANGELOG.md
@@ -1,5 +1,301 @@
# Change Log
+## 7.0.0-s2-foundations.24
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 7.0.0-s2-foundations.23
+
+### Patch Changes
+
+- [#3256](https://github.com/adobe/spectrum-css/pull/3256) [`b84b93e`](https://github.com/adobe/spectrum-css/commit/b84b93e64157c7a8288a3ed19f1a637ee609251c) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)! - Adds line-height on `.spectrum-ActionButton-label` in order to accommodate text with diacritics that may be cut off vertically.
+
+## 7.0.0-s2-foundations.22
+
+### Minor Changes
+
+- [#3268](https://github.com/adobe/spectrum-css/pull/3268) [`4f881f0`](https://github.com/adobe/spectrum-css/commit/4f881f07b52c3761f5b77d03cb563f6a11807ec4) Thanks [@rise-erpelding](https://github.com/rise-erpelding)! - Sets --spectrum-actionbutton-content-color-hover, --spectrum-actionbutton-content-color-down, --spectrum-actionbutton-content-color-focus for selected static action button
+
+## 7.0.0-s2-foundations.21
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 7.0.0-s2-foundations.20
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 7.0.0-s2-foundations.19
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4e80ae6`](https://github.com/adobe/spectrum-css/commit/4e80ae67ddda329a5ed556b57426623c6f0f13f0) Thanks [@pfulton](https://github.com/pfulton)! - ActionButton:
+
+ - Correct --spectrum-actionbutton-background-color-selected-disabled to be --spectrum-actionbutton-(background|border)-color-disabled-selected
+
+ Combobox:
+
+ - Move --spectrum-combobox-min-inline-size and --spectrum-combobox-button-width to the index.css
+
+ FieldGroup:
+
+ - Swap gap back to margin-inline-end on FieldGroup
+
+ Typography:
+
+ - Remap body size to xs if xxs provided
+
+## 7.0.0-s2-foundations.18
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 7.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`1252094`](https://github.com/adobe/spectrum-css/commit/1252094e476eb60b51d33c3ec574b843b005ef82) Thanks [@pfulton](https://github.com/pfulton)! - Right-side padding fix
+
+## 7.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f15243a`](https://github.com/adobe/spectrum-css/commit/f15243adaa633531e82edbb61b2e4444517af64e) Thanks [@pfulton](https://github.com/pfulton)! - fix(actionbutton): migrate --mods to index.css
+
+## 7.0.0-s2-foundations.15
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0e08995`](https://github.com/adobe/spectrum-css/commit/0e08995cfd43f7d4495df4e3403106ced7760381) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-248]: Selected, static black actionbutton content color should be white, not black
+
+## 7.0.0-s2-foundations.14
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`58a89ea`](https://github.com/adobe/spectrum-css/commit/58a89ea464c387111511271a5f5afce044f11042) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-248] Action button selected static black state overrides not working
+
+### Patch Changes
+
+- Updated dependencies [[`58a89ea`](https://github.com/adobe/spectrum-css/commit/58a89ea464c387111511271a5f5afce044f11042)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.15
+
+## 7.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.12
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 7.0.0-s2-foundations.11
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4265d20`](https://github.com/adobe/spectrum-css/commit/4265d208b6eb2db923e558fca100b4532b964e45) Thanks [@pfulton](https://github.com/pfulton)! - Fix unsupported variables created in components/actionbutton/themes/spectrum.css
+
+- Updated dependencies [[`4265d20`](https://github.com/adobe/spectrum-css/commit/4265d208b6eb2db923e558fca100b4532b964e45)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.11
+
+## 7.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 7.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 7.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 7.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 7.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 7.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 7.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 7.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 7.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 7.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 7.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 6.2.0
### Minor Changes
diff --git a/components/actionbutton/index.css b/components/actionbutton/index.css
index 2eb2fad0014..304375ec404 100644
--- a/components/actionbutton/index.css
+++ b/components/actionbutton/index.css
@@ -12,145 +12,30 @@
*/
@import "@spectrum-css/commons/basebutton.css";
-@import "./themes/express.css";
-
-.spectrum-ActionButton {
- --spectrum-actionbutton-animation-duration: var(--spectrum-animation-duration-100);
- --spectrum-actionbutton-border-radius: var(--spectrum-corner-radius-100);
- --spectrum-actionbutton-border-width: var(--spectrum-border-width-100);
-
- --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-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));
-
- &:dir(rtl) {
- --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0);
- }
-
- &.is-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-50));
- --mod-actionbutton-content-color-hover: var(--mod-actionbutton-content-color-hover-selected, var(--spectrum-gray-50));
- --mod-actionbutton-content-color-down: var(--mod-actionbutton-content-color-down-selected, var(--spectrum-gray-50));
- --mod-actionbutton-content-color-focus: var(--mod-actionbutton-content-color-focus-selected, var(--spectrum-gray-50));
-
- &.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));
- }
- }
-}
-
-.spectrum-ActionButton--sizeXS {
- --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-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: calc(var(--spectrum-component-edge-to-visual-50) - var(--spectrum-actionbutton-border-width));
- --spectrum-actionbutton-edge-to-text: calc(var(--spectrum-component-edge-to-text-50) - var(--spectrum-actionbutton-border-width));
- --spectrum-actionbutton-edge-to-visual-only: calc(var(--spectrum-component-edge-to-visual-only-50) - var(--spectrum-actionbutton-border-width));
-}
-
-.spectrum-ActionButton--sizeS {
- --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: calc(var(--spectrum-component-edge-to-visual-75) - var(--spectrum-actionbutton-border-width));
- --spectrum-actionbutton-edge-to-text: calc(var(--spectrum-component-edge-to-text-75) - var(--spectrum-actionbutton-border-width));
- --spectrum-actionbutton-edge-to-visual-only: calc(var(--spectrum-component-edge-to-visual-only-75) - var(--spectrum-actionbutton-border-width));
-}
-
-.spectrum-ActionButton--sizeM {
- --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-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: calc(var(--spectrum-component-edge-to-visual-100) - var(--spectrum-actionbutton-border-width));
- --spectrum-actionbutton-edge-to-text: calc(var(--spectrum-component-edge-to-text-100) - var(--spectrum-actionbutton-border-width));
- --spectrum-actionbutton-edge-to-visual-only: calc(var(--spectrum-component-edge-to-visual-only-100) - var(--spectrum-actionbutton-border-width));
-}
-
-.spectrum-ActionButton--sizeL {
- --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: calc(var(--spectrum-component-edge-to-visual-200) - var(--spectrum-actionbutton-border-width));
- --spectrum-actionbutton-edge-to-text: calc(var(--spectrum-component-edge-to-text-200) - var(--spectrum-actionbutton-border-width));
- --spectrum-actionbutton-edge-to-visual-only: calc(var(--spectrum-component-edge-to-visual-only-200) - var(--spectrum-actionbutton-border-width));
-}
-
-.spectrum-ActionButton--sizeXL {
- --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: calc(var(--spectrum-component-edge-to-visual-300) - var(--spectrum-actionbutton-border-width));
- --spectrum-actionbutton-edge-to-text: calc(var(--spectrum-component-edge-to-text-300) - var(--spectrum-actionbutton-border-width));
- --spectrum-actionbutton-edge-to-visual-only: calc(var(--spectrum-component-edge-to-visual-only-300) - var(--spectrum-actionbutton-border-width));
-}
+@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;
}
- /* force a more visible focus indicator color */
- --highcontrast-actionbutton-focus-indicator-color: ButtonText;
+ &:disabled,
+ &.is-disabled {
+ --highcontrast-actionbutton-content-color: GrayText;
+ --highcontrast-actionbutton-border-color: GrayText;
+ --highcontrast-actionbutton-background-color: ButtonFace;
+ }
&.is-selected {
- --highcontrast-actionbutton-background-color-default: Highlight;
- --highcontrast-actionbutton-background-color-hover: Highlight;
- --highcontrast-actionbutton-background-color-focus: Highlight;
- --highcontrast-actionbutton-background-color-down: Highlight;
- --highcontrast-actionbutton-background-color-disabled: ButtonFace;
-
- --highcontrast-actionbutton-border-color-default: HighlightText;
- --highcontrast-actionbutton-border-color-hover: HighlightText;
- --highcontrast-actionbutton-border-color-focus: HighlightText;
- --highcontrast-actionbutton-border-color-down: HighlightText;
- --highcontrast-actionbutton-border-color-disabled: GrayText;
-
- --highcontrast-actionbutton-content-color-default: HighlightText;
- --highcontrast-actionbutton-content-color-hover: HighlightText;
- --highcontrast-actionbutton-content-color-focus: HighlightText;
- --highcontrast-actionbutton-content-color-down: HighlightText;
- --highcontrast-actionbutton-content-color-disabled: GrayText;
+ --highcontrast-actionbutton-background-color: Highlight;
+ --highcontrast-actionbutton-border-color: HighlightText;
+ --highcontrast-actionbutton-content-color: HighlightText;
.spectrum-ActionButton-icon,
.spectrum-ActionButton-hold,
@@ -164,109 +49,228 @@
}
.spectrum-ActionButton {
- @extend %spectrum-BaseButton;
- position: relative;
+ --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)));
- min-inline-size: var(--mod-actionbutton-min-width, var(--spectrum-actionbutton-min-width));
- block-size: var(--mod-actionbutton-height, var(--spectrum-actionbutton-height));
+ --spectrum-actionbutton-border-radius: var(--mod-actionbutton-border-radius, var(--spectrum-corner-radius-100));
+ --spectrum-actionbutton-border-width: var(--mod-actionbutton-border-width, var(--spectrum-border-width-100));
- border-radius: var(--mod-actionbutton-border-radius, var(--spectrum-actionbutton-border-radius));
- border-width: var(--mod-actionbutton-border-width, var(--spectrum-actionbutton-border-width));
+ --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)));
- gap: calc(var(--mod-actionbutton-text-to-visual, var(--spectrum-actionbutton-text-to-visual)) + (var(--mod-actionbutton-edge-to-text, var(--spectrum-actionbutton-edge-to-text)) - var(--mod-actionbutton-edge-to-visual-only, var(--spectrum-actionbutton-edge-to-visual-only))));
+ &:dir(rtl) {
+ --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0);
+ }
- /* Start with text-only padding */
- padding-inline: var(--mod-actionbutton-edge-to-text, var(--spectrum-actionbutton-edge-to-text));
+ &.spectrum-ActionButton--quiet {
+ --spectrum-actionbutton-border-color: 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));
+ }
+
+ &.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);
+
+ /* border color _not_ disabled is coming from the system theme layer */
+ --mod-actionbutton-border-color-disabled: var(--spectrum-disabled-static-black-border-color);
+
+ --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--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);
+
+ /* border color _not_ disabled is coming from the system theme layer */
+ --mod-actionbutton-border-color-disabled: var(--spectrum-disabled-static-white-border-color);
+
+ --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);
- background-color: var(--highcontrast-actionbutton-background-color-default, var(--mod-actionbutton-background-color-default, var(--spectrum-actionbutton-background-color-default)));
- border-color: var(--highcontrast-actionbutton-border-color-default, var(--mod-actionbutton-border-color-default, var(--spectrum-actionbutton-border-color-default)));
- color: var(--highcontrast-actionbutton-content-color-default, var(--mod-actionbutton-content-color-default, var(--spectrum-actionbutton-content-color-default)));
+ --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);
+ }
+
+ &.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));
+ }
&:hover {
- background-color: var(--highcontrast-actionbutton-background-color-hover, var(--mod-actionbutton-background-color-hover, var(--spectrum-actionbutton-background-color-hover)));
- border-color: var(--highcontrast-actionbutton-border-color-hover, var(--mod-actionbutton-border-color-hover, var(--spectrum-actionbutton-border-color-hover)));
- color: var(--highcontrast-actionbutton-content-color-hover, var(--mod-actionbutton-content-color-hover, var(--spectrum-actionbutton-content-color-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));
}
&:focus-visible {
- background-color: var(--highcontrast-actionbutton-background-color-focus, var(--mod-actionbutton-background-color-focus, var(--spectrum-actionbutton-background-color-focus)));
- border-color: var(--highcontrast-actionbutton-border-color-focus, var(--mod-actionbutton-border-color-focus, var(--spectrum-actionbutton-border-color-focus)));
- color: var(--highcontrast-actionbutton-content-color-focus, var(--mod-actionbutton-content-color-focus, var(--spectrum-actionbutton-content-color-focus)));
+ --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));
}
&:active {
- background-color: var(--highcontrast-actionbutton-background-color-down, var(--mod-actionbutton-background-color-down, var(--spectrum-actionbutton-background-color-down)));
- border-color: var(--highcontrast-actionbutton-border-color-down, var(--mod-actionbutton-border-color-down, var(--spectrum-actionbutton-border-color-down)));
- color: var(--highcontrast-actionbutton-content-color-down, var(--mod-actionbutton-content-color-down, var(--spectrum-actionbutton-content-color-down)));
+ --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));
}
&:disabled,
&.is-disabled {
- background-color: var(--highcontrast-actionbutton-background-color-disabled, var(--mod-actionbutton-background-color-disabled, var(--spectrum-actionbutton-background-color-disabled)));
- border-color: var(--highcontrast-actionbutton-border-color-disabled, var(--mod-actionbutton-border-color-disabled, var(--spectrum-actionbutton-border-color-disabled)));
- color: var(--highcontrast-actionbutton-content-color-disabled, var(--mod-actionbutton-content-color-disabled, var(--spectrum-actionbutton-content-color-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));
}
}
-a.spectrum-ActionButton {
- @extend %spectrum-AnchorButton;
+.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 {
- @extend %spectrum-ButtonIcon;
-
- inline-size: var(--mod-actionbutton-icon-size, var(--spectrum-actionbutton-icon-size));
- block-size: var(--mod-actionbutton-icon-size, var(--spectrum-actionbutton-icon-size));
+.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);
+}
- /* adjust icon positioning to match UI kit */
- margin-inline-start: calc(var(--mod-actionbutton-edge-to-visual, var(--spectrum-actionbutton-edge-to-visual)) - var(--mod-actionbutton-edge-to-text, var(--spectrum-actionbutton-edge-to-text)));
- margin-inline-end: calc(var(--mod-actionbutton-edge-to-visual-only, var(--spectrum-actionbutton-edge-to-visual-only)) - var(--mod-actionbutton-edge-to-text, var(--spectrum-actionbutton-edge-to-text)));
+.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);
+}
- color: inherit;
+.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-hold + .spectrum-ActionButton-icon,
-.spectrum-ActionButton-icon:only-child {
- /* Augment the margin correction for the icon only scenario */
- margin-inline-start: calc(var(--mod-actionbutton-edge-to-visual-only, var(--spectrum-actionbutton-edge-to-visual-only)) - var(--mod-actionbutton-edge-to-text, var(--spectrum-actionbutton-edge-to-text)));
+.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-label {
- @extend %spectrum-ButtonLabel;
- pointer-events: none;
- line-height: var(--spectrum-actionbutton-height);
+.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));
- font-size: var(--mod-actionbutton-font-size, var(--spectrum-actionbutton-font-size));
- white-space: nowrap;
- color: var(--mod-actionbutton-label-color, inherit);
+ --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)));
- text-overflow: ellipsis;
- overflow: hidden;
-}
+ @extend %spectrum-BaseButton;
-.spectrum-ActionButton-hold {
- position: absolute;
- inset-inline-end: calc(var(--mod-actionbutton-edge-to-hold-icon, var(--spectrum-actionbutton-edge-to-hold-icon)) - var(--mod-actionbutton-border-width, var(--spectrum-actionbutton-border-width)));
- inset-block-end: calc(var(--mod-actionbutton-edge-to-hold-icon, var(--spectrum-actionbutton-edge-to-hold-icon)) - var(--mod-actionbutton-border-width, var(--spectrum-actionbutton-border-width)));
+ position: relative;
- color: inherit;
+ 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);
- transform: var(--spectrum-logical-rotation);
-}
+ border-radius: var(--spectrum-actionbutton-border-radius);
+ border-width: var(--spectrum-actionbutton-border-width);
-/* special cases for focus-ring */
-.spectrum-ActionButton {
- transition: border-color var(--mod-actionbutton-animation-duration, var(--spectrum-actionbutton-animation-duration)) ease-in-out;
+ 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(--mod-actionbutton-focus-indicator-gap, var(--spectrum-actionbutton-focus-indicator-gap)) + var(--mod-actionbutton-border-width, var(--spectrum-actionbutton-border-width))) * -1);
+ margin: calc((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));
+ border-radius: var(--mod-actionbutton-focus-indicator-border-radius, calc(var(--spectrum-actionbutton-border-radius) + var(--spectrum-actionbutton-focus-indicator-gap)));
- transition: box-shadow var(--mod-actionbutton-animation-duration, var(--spectrum-actionbutton-animation-duration)) ease-in-out;
+ transition: box-shadow var(--mod-actionbutton-animation-duration, var(--spectrum-animation-duration-100)) ease-in-out;
pointer-events: none;
content: "";
@@ -278,7 +282,54 @@ a.spectrum-ActionButton {
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)));
+ box-shadow: 0 0 0 var(--spectrum-actionbutton-focus-indicator-thickness) var(--spectrum-actionbutton-focus-indicator-color);
}
}
}
+
+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));
+
+ 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));
+ }
+}
+
+.spectrum-ActionButton-label {
+ @extend %spectrum-ButtonLabel;
+ pointer-events: none;
+ line-height: var(--spectrum-actionbutton-height);
+
+ font-size: var(--spectrum-actionbutton-font-size);
+ white-space: nowrap;
+ color: var(--mod-actionbutton-label-color, inherit);
+
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+
+.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));
+
+ color: inherit;
+
+ transform: var(--spectrum-logical-rotation,);
+}
diff --git a/components/actionbutton/metadata/metadata.json b/components/actionbutton/metadata/metadata.json
index ad24ea1b5b6..e17f6a5c586 100644
--- a/components/actionbutton/metadata/metadata.json
+++ b/components/actionbutton/metadata/metadata.json
@@ -18,13 +18,11 @@
".spectrum-ActionButton.is-selected .spectrum-ActionButton-hold",
".spectrum-ActionButton.is-selected .spectrum-ActionButton-icon",
".spectrum-ActionButton.is-selected .spectrum-ActionButton-label",
- ".spectrum-ActionButton.is-selected.spectrum-ActionButton--emphasized",
+ ".spectrum-ActionButton.spectrum-ActionButton--emphasized:not(.spectrum-ActionButton--staticBlack, .spectrum-ActionButton--staticWhite)",
".spectrum-ActionButton.spectrum-ActionButton--quiet",
".spectrum-ActionButton.spectrum-ActionButton--staticBlack",
- ".spectrum-ActionButton.spectrum-ActionButton--staticBlack.is-selected",
".spectrum-ActionButton.spectrum-ActionButton--staticBlack.spectrum-ActionButton--quiet",
".spectrum-ActionButton.spectrum-ActionButton--staticWhite",
- ".spectrum-ActionButton.spectrum-ActionButton--staticWhite.is-selected",
".spectrum-ActionButton.spectrum-ActionButton--staticWhite.spectrum-ActionButton--quiet",
".spectrum-ActionButton::-moz-focus-inner",
".spectrum-ActionButton:active",
@@ -98,12 +96,18 @@
"--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-animation-duration",
+ "--spectrum-actionbutton-background-color",
"--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",
@@ -111,23 +115,26 @@
"--spectrum-actionbutton-border-color-hover",
"--spectrum-actionbutton-border-radius",
"--spectrum-actionbutton-border-width",
- "--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-content-color",
+ "--spectrum-actionbutton-content-color-selected",
"--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-height",
"--spectrum-actionbutton-icon-size",
- "--spectrum-actionbutton-min-width",
+ "--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-text-to-visual"
],
"global": [
@@ -159,13 +166,10 @@
"--spectrum-component-height-50",
"--spectrum-component-height-75",
"--spectrum-corner-radius-100",
- "--spectrum-disabled-background-color",
"--spectrum-disabled-border-color",
"--spectrum-disabled-content-color",
- "--spectrum-disabled-static-black-background-color",
"--spectrum-disabled-static-black-border-color",
"--spectrum-disabled-static-black-content-color",
- "--spectrum-disabled-static-white-background-color",
"--spectrum-disabled-static-white-border-color",
"--spectrum-disabled-static-white-content-color",
"--spectrum-focus-indicator-color",
@@ -176,13 +180,12 @@
"--spectrum-font-size-300",
"--spectrum-font-size-50",
"--spectrum-font-size-75",
+ "--spectrum-gray-100",
"--spectrum-gray-200",
- "--spectrum-gray-300",
"--spectrum-gray-400",
"--spectrum-gray-50",
"--spectrum-gray-500",
"--spectrum-gray-600",
- "--spectrum-gray-75",
"--spectrum-line-height-100",
"--spectrum-logical-rotation",
"--spectrum-neutral-background-color-selected-default",
@@ -201,18 +204,19 @@
"--spectrum-text-to-visual-300",
"--spectrum-text-to-visual-50",
"--spectrum-text-to-visual-75",
+ "--spectrum-transparent-black-100",
"--spectrum-transparent-black-200",
- "--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-200",
- "--spectrum-transparent-white-300",
"--spectrum-transparent-white-400",
"--spectrum-transparent-white-500",
"--spectrum-transparent-white-600",
+ "--spectrum-transparent-white-700",
"--spectrum-transparent-white-800",
"--spectrum-transparent-white-900",
"--spectrum-white",
@@ -223,95 +227,53 @@
"--spectrum-workflow-icon-size-75"
],
"system-theme": [
- "--system-spectrum-actionbutton-background-color-default",
- "--system-spectrum-actionbutton-background-color-disabled",
- "--system-spectrum-actionbutton-background-color-down",
- "--system-spectrum-actionbutton-background-color-focus",
- "--system-spectrum-actionbutton-background-color-hover",
- "--system-spectrum-actionbutton-border-color-default",
- "--system-spectrum-actionbutton-border-color-disabled",
- "--system-spectrum-actionbutton-border-color-down",
- "--system-spectrum-actionbutton-border-color-focus",
- "--system-spectrum-actionbutton-border-color-hover",
- "--system-spectrum-actionbutton-content-color-disabled",
- "--system-spectrum-actionbutton-quiet-background-color-default",
- "--system-spectrum-actionbutton-quiet-background-color-disabled",
- "--system-spectrum-actionbutton-quiet-background-color-down",
- "--system-spectrum-actionbutton-quiet-background-color-focus",
- "--system-spectrum-actionbutton-quiet-background-color-hover",
- "--system-spectrum-actionbutton-quiet-border-color-default",
- "--system-spectrum-actionbutton-quiet-border-color-disabled",
- "--system-spectrum-actionbutton-quiet-border-color-down",
- "--system-spectrum-actionbutton-quiet-border-color-focus",
- "--system-spectrum-actionbutton-quiet-border-color-hover",
- "--system-spectrum-actionbutton-selected-background-color-disabled",
- "--system-spectrum-actionbutton-selected-border-color-default",
- "--system-spectrum-actionbutton-selected-border-color-disabled",
- "--system-spectrum-actionbutton-selected-border-color-down",
- "--system-spectrum-actionbutton-selected-border-color-focus",
- "--system-spectrum-actionbutton-selected-border-color-hover",
- "--system-spectrum-actionbutton-staticblack-background-color-default",
- "--system-spectrum-actionbutton-staticblack-background-color-disabled",
- "--system-spectrum-actionbutton-staticblack-background-color-down",
- "--system-spectrum-actionbutton-staticblack-background-color-focus",
- "--system-spectrum-actionbutton-staticblack-background-color-hover",
- "--system-spectrum-actionbutton-staticblack-border-color-default",
- "--system-spectrum-actionbutton-staticblack-border-color-disabled",
- "--system-spectrum-actionbutton-staticblack-border-color-down",
- "--system-spectrum-actionbutton-staticblack-border-color-focus",
- "--system-spectrum-actionbutton-staticblack-border-color-hover",
- "--system-spectrum-actionbutton-staticblack-content-color-default",
- "--system-spectrum-actionbutton-staticblack-content-color-disabled",
- "--system-spectrum-actionbutton-staticblack-content-color-down",
- "--system-spectrum-actionbutton-staticblack-content-color-focus",
- "--system-spectrum-actionbutton-staticblack-content-color-hover",
- "--system-spectrum-actionbutton-staticblack-focus-indicator-color",
- "--system-spectrum-actionbutton-staticblack-quiet-border-color-default",
- "--system-spectrum-actionbutton-staticblack-quiet-border-color-disabled",
- "--system-spectrum-actionbutton-staticblack-quiet-border-color-down",
- "--system-spectrum-actionbutton-staticblack-quiet-border-color-focus",
- "--system-spectrum-actionbutton-staticblack-quiet-border-color-hover",
- "--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-default",
- "--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-disabled",
- "--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-down",
- "--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-focus",
- "--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-background-color-hover",
- "--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-border-color-disabled",
- "--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-default",
- "--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-down",
- "--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-focus",
- "--system-spectrum-actionbutton-staticblack-selected-mod-actionbutton-content-color-hover",
- "--system-spectrum-actionbutton-staticwhite-background-color-default",
- "--system-spectrum-actionbutton-staticwhite-background-color-disabled",
- "--system-spectrum-actionbutton-staticwhite-background-color-down",
- "--system-spectrum-actionbutton-staticwhite-background-color-focus",
- "--system-spectrum-actionbutton-staticwhite-background-color-hover",
- "--system-spectrum-actionbutton-staticwhite-border-color-default",
- "--system-spectrum-actionbutton-staticwhite-border-color-disabled",
- "--system-spectrum-actionbutton-staticwhite-border-color-down",
- "--system-spectrum-actionbutton-staticwhite-border-color-focus",
- "--system-spectrum-actionbutton-staticwhite-border-color-hover",
- "--system-spectrum-actionbutton-staticwhite-content-color-default",
- "--system-spectrum-actionbutton-staticwhite-content-color-disabled",
- "--system-spectrum-actionbutton-staticwhite-content-color-down",
- "--system-spectrum-actionbutton-staticwhite-content-color-focus",
- "--system-spectrum-actionbutton-staticwhite-content-color-hover",
- "--system-spectrum-actionbutton-staticwhite-focus-indicator-color",
- "--system-spectrum-actionbutton-staticwhite-quiet-border-color-default",
- "--system-spectrum-actionbutton-staticwhite-quiet-border-color-disabled",
- "--system-spectrum-actionbutton-staticwhite-quiet-border-color-down",
- "--system-spectrum-actionbutton-staticwhite-quiet-border-color-focus",
- "--system-spectrum-actionbutton-staticwhite-quiet-border-color-hover",
- "--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-default",
- "--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-disabled",
- "--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-down",
- "--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-focus",
- "--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-background-color-hover",
- "--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-border-color-disabled",
- "--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-default",
- "--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-down",
- "--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-focus",
- "--system-spectrum-actionbutton-staticwhite-selected-mod-actionbutton-content-color-hover"
+ "--system-action-button-background-color-default",
+ "--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-disabled",
+ "--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-down",
+ "--system-action-button-quiet-background-color-focus",
+ "--system-action-button-quiet-background-color-hover",
+ "--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-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-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-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-down",
+ "--system-action-button-static-white-quiet-background-color-focus",
+ "--system-action-button-static-white-quiet-background-color-hover"
],
"passthroughs": [
"--mod-button-animation-duration",
@@ -319,21 +281,9 @@
"--mod-button-line-height"
],
"high-contrast": [
- "--highcontrast-actionbutton-background-color-default",
- "--highcontrast-actionbutton-background-color-disabled",
- "--highcontrast-actionbutton-background-color-down",
- "--highcontrast-actionbutton-background-color-focus",
- "--highcontrast-actionbutton-background-color-hover",
- "--highcontrast-actionbutton-border-color-default",
- "--highcontrast-actionbutton-border-color-disabled",
- "--highcontrast-actionbutton-border-color-down",
- "--highcontrast-actionbutton-border-color-focus",
- "--highcontrast-actionbutton-border-color-hover",
- "--highcontrast-actionbutton-content-color-default",
- "--highcontrast-actionbutton-content-color-disabled",
- "--highcontrast-actionbutton-content-color-down",
- "--highcontrast-actionbutton-content-color-focus",
- "--highcontrast-actionbutton-content-color-hover",
+ "--highcontrast-actionbutton-background-color",
+ "--highcontrast-actionbutton-border-color",
+ "--highcontrast-actionbutton-content-color",
"--highcontrast-actionbutton-focus-indicator-color"
]
}
diff --git a/components/actionbutton/package.json b/components/actionbutton/package.json
index 328f105a476..c78c142c845 100644
--- a/components/actionbutton/package.json
+++ b/components/actionbutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/actionbutton",
- "version": "6.2.0",
+ "version": "7.0.0-s2-foundations.24",
"description": "The Spectrum CSS action button component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/icon": {
diff --git a/components/actionbutton/stories/actionbutton.stories.js b/components/actionbutton/stories/actionbutton.stories.js
index 39fa2613221..cc39a7fbce5 100644
--- a/components/actionbutton/stories/actionbutton.stories.js
+++ b/components/actionbutton/stories/actionbutton.stories.js
@@ -84,6 +84,10 @@ export default {
actions: {
handles: ["click .spectrum-ActionButton:not([disabled])"],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=702-2877",
+ },
packageJson,
metadata,
docs: {
diff --git a/components/actionbutton/stories/template.js b/components/actionbutton/stories/template.js
index 2a9f4672831..7a606dc38de 100644
--- a/components/actionbutton/stories/template.js
+++ b/components/actionbutton/stories/template.js
@@ -7,6 +7,9 @@ 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
@@ -67,6 +70,7 @@ export const Template = ({
role = "button",
} = {}, context = {}) => {
const { updateArgs } = context;
+
return html`
+ *
+ * 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-50);
+ --spectrum-actionbutton-background-color-hover: var(--spectrum-gray-100);
+ --spectrum-actionbutton-background-color-down: var(--spectrum-gray-200);
+ --spectrum-actionbutton-background-color-focus: var(--spectrum-gray-100);
+ --spectrum-actionbutton-background-color-selected-disabled: var(--spectrum-transparent-black-100);
+
+ --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: 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-50);
+
+ &.spectrum-ActionButton--quiet {
+ --spectrum-actionbutton-background-color-default: transparent;
+ --spectrum-actionbutton-background-color-hover: var(--spectrum-gray-100);
+ --spectrum-actionbutton-background-color-down: var(--spectrum-gray-200);
+ --spectrum-actionbutton-background-color-focus: var(--spectrum-gray-100);
+ }
+
+ &.spectrum-ActionButton--staticBlack {
+ --spectrum-actionbutton-border-color-default: var(--spectrum-transparent-black-500);
+ --spectrum-actionbutton-border-color-hover: var(--spectrum-transparent-black-600);
+ --spectrum-actionbutton-border-color-down: var(--spectrum-transparent-black-700);
+ --spectrum-actionbutton-border-color-focus: var(--spectrum-transparent-black-600);
+
+ --spectrum-actionbutton-background-color-disabled: transparent;
+ --spectrum-actionbutton-background-color-selected-disabled: var(--spectrum-transparent-black-200);
+
+ &,
+ &.spectrum-ActionButton--quiet {
+ --spectrum-actionbutton-background-color-default: transparent;
+ --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-black-400);
+ --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-black-500);
+ --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-black-400);
+ }
+ }
+
+ &.spectrum-ActionButton--staticWhite {
+ --spectrum-actionbutton-border-color-default: var(--spectrum-transparent-white-500);
+ --spectrum-actionbutton-border-color-hover: var(--spectrum-transparent-white-600);
+ --spectrum-actionbutton-border-color-down: var(--spectrum-transparent-white-700);
+ --spectrum-actionbutton-border-color-focus: var(--spectrum-transparent-white-600);
+
+ --spectrum-actionbutton-background-color-disabled: transparent;
+ --spectrum-actionbutton-background-color-selected-disabled: var(--spectrum-transparent-white-200);
+
+ &,
+ &.spectrum-ActionButton--quiet {
+ --spectrum-actionbutton-background-color-default: transparent;
+ --spectrum-actionbutton-background-color-hover: var(--spectrum-transparent-white-400);
+ --spectrum-actionbutton-background-color-down: var(--spectrum-transparent-white-500);
+ --spectrum-actionbutton-background-color-focus: var(--spectrum-transparent-white-400);
+ }
+ }
+ }
+}
diff --git a/components/actionbutton/themes/spectrum.css b/components/actionbutton/themes/spectrum.css
index dac5a200cf0..a62d7a3477b 100644
--- a/components/actionbutton/themes/spectrum.css
+++ b/components/actionbutton/themes/spectrum.css
@@ -11,132 +11,51 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
+/* @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-selected-disabled: var(--spectrum-transparent-black-200);
- --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-background-color-disabled: transparent;
- --spectrum-actionbutton-border-color-disabled: var(--spectrum-disabled-border-color);
- --spectrum-actionbutton-content-color-disabled: var(--spectrum-disabled-content-color);
+ --spectrum-actionbutton-content-color-selected: var(--spectrum-gray-75);
&.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-300);
--spectrum-actionbutton-background-color-focus: 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-background-color-disabled: transparent;
- --spectrum-actionbutton-border-color-disabled: transparent;
- }
-
- &.is-selected {
- --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-background-color-disabled: var(--spectrum-disabled-background-color);
- --spectrum-actionbutton-border-color-disabled: transparent;
- }
-
- &.spectrum-ActionButton--staticBlack,
- &.spectrum-ActionButton--staticWhite {
- &.spectrum-ActionButton--quiet {
- --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--staticBlack {
- --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-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-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);
-
- --spectrum-actionbutton-focus-indicator-color: var(--spectrum-static-black-focus-indicator-color);
-
- --spectrum-actionbutton-background-color-disabled: transparent;
- --spectrum-actionbutton-border-color-disabled: var(--spectrum-disabled-static-black-border-color);
- --spectrum-actionbutton-content-color-disabled: var(--spectrum-disabled-static-black-content-color);
-
- &.is-selected {
- --mod-actionbutton-background-color-default: var(--spectrum-transparent-black-800);
- --mod-actionbutton-background-color-hover: var(--spectrum-transparent-black-900);
- --mod-actionbutton-background-color-down: var(--spectrum-transparent-black-900);
- --mod-actionbutton-background-color-focus: var(--spectrum-transparent-black-900);
-
- --mod-actionbutton-content-color-default: var(--mod-actionbutton-static-content-color, var(--spectrum-white));
- --mod-actionbutton-content-color-hover: var(--mod-actionbutton-static-content-color, var(--spectrum-white));
- --mod-actionbutton-content-color-down: var(--mod-actionbutton-static-content-color, var(--spectrum-white));
- --mod-actionbutton-content-color-focus: var(--mod-actionbutton-static-content-color, var(--spectrum-white));
-
- --mod-actionbutton-background-color-disabled: var(--spectrum-disabled-static-black-background-color);
- --mod-actionbutton-border-color-disabled: transparent;
+ &,
+ &.spectrum-ActionButton--quiet {
+ --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-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-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-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);
-
- --spectrum-actionbutton-focus-indicator-color: var(--spectrum-static-white-focus-indicator-color);
-
- --spectrum-actionbutton-background-color-disabled: transparent;
- --spectrum-actionbutton-border-color-disabled: var(--spectrum-disabled-static-white-border-color);
- --spectrum-actionbutton-content-color-disabled: var(--spectrum-disabled-static-white-content-color);
-
- &.is-selected {
- --mod-actionbutton-background-color-default: var(--spectrum-transparent-white-800);
- --mod-actionbutton-background-color-hover: var(--spectrum-transparent-white-900);
- --mod-actionbutton-background-color-down: var(--spectrum-transparent-white-900);
- --mod-actionbutton-background-color-focus: var(--spectrum-transparent-white-900);
-
- --mod-actionbutton-content-color-default: var(--mod-actionbutton-static-content-color, var(--spectrum-black));
- --mod-actionbutton-content-color-hover: var(--mod-actionbutton-static-content-color, var(--spectrum-black));
- --mod-actionbutton-content-color-down: var(--mod-actionbutton-static-content-color, var(--spectrum-black));
- --mod-actionbutton-content-color-focus: var(--mod-actionbutton-static-content-color, var(--spectrum-black));
-
- --mod-actionbutton-background-color-disabled: var(--spectrum-disabled-static-white-background-color);
- --mod-actionbutton-border-color-disabled: transparent;
+ &,
+ &.spectrum-ActionButton--quiet {
+ --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/actiongroup/CHANGELOG.md b/components/actiongroup/CHANGELOG.md
index 4384dc2cb44..c6d20723a23 100644
--- a/components/actiongroup/CHANGELOG.md
+++ b/components/actiongroup/CHANGELOG.md
@@ -1,5 +1,242 @@
# Change Log
+## 6.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.24
+
+## 6.0.0-s2-foundations.16
+
+### Patch Changes
+
+- [#3256](https://github.com/adobe/spectrum-css/pull/3256) [`b84b93e`](https://github.com/adobe/spectrum-css/commit/b84b93e64157c7a8288a3ed19f1a637ee609251c) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)! - Action group
+
+ `flex: 1` has now changed to `flex-grow: 1` in the `.spectrum-ActionGroup--justified .spectrum-ActionGroup-item` selector to specify the desired behavior of justified action groups.
+
+- Updated dependencies [[`b84b93e`](https://github.com/adobe/spectrum-css/commit/b84b93e64157c7a8288a3ed19f1a637ee609251c)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.23
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.20
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.18
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
diff --git a/components/actiongroup/index.css b/components/actiongroup/index.css
index 4d10ad3193f..14997eb905c 100644
--- a/components/actiongroup/index.css
+++ b/components/actiongroup/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-ActionGroup {
--spectrum-actiongroup-button-spacing-reset: 0;
@@ -46,7 +46,7 @@
}
}
- &:not(.spectrum-ActionGroup--vertical)&:not(.spectrum-ActionGroup--compact) {
+ &:not(.spectrum-ActionGroup--vertical,.spectrum-ActionGroup--compact) {
.spectrum-ActionGroup-item {
flex-shrink: 0;
}
@@ -72,7 +72,7 @@
z-index: 0;
&:first-child {
- /* Action button passthrough styling */
+ /* @passthrough -- Action button styling */
--mod-actionbutton-focus-indicator-border-radius: var(--mod-actiongroup-border-radius, var(--spectrum-actiongroup-border-radius)) 0px 0px var(--mod-actiongroup-border-radius, var(--spectrum-actiongroup-border-radius));
border-start-start-radius: var(--mod-actiongroup-border-radius, var(--spectrum-actiongroup-border-radius));
@@ -81,7 +81,7 @@
}
& + .spectrum-ActionGroup-item {
- /* Action button passthrough styling */
+ /* @passthrough -- Action button styling */
--mod-actionbutton-focus-indicator-border-radius: 0px;
margin-inline-start: var(--mod-actiongroup-horizontal-spacing-compact, var(--spectrum-actiongroup-horizontal-spacing-compact));
@@ -89,7 +89,7 @@
}
&:last-child {
- /* Action button passthrough styling */
+ /* @passthrough -- Action button styling */
--mod-actionbutton-focus-indicator-border-radius: 0px var(--mod-actiongroup-border-radius, var(--spectrum-actiongroup-border-radius)) var(--mod-actiongroup-border-radius, var(--spectrum-actiongroup-border-radius)) 0px;
border-start-end-radius: var(--mod-actiongroup-border-radius, var(--spectrum-actiongroup-border-radius));
@@ -117,14 +117,14 @@
}
}
-.spectrum-ActionGroup--compact:not(.spectrum-ActionGroup--quiet).spectrum-ActionGroup--vertical {
+.spectrum-ActionGroup--compact.spectrum-ActionGroup--vertical:not(.spectrum-ActionGroup--quiet) {
gap: var(--mod-actiongroup-gap-size-compact, var(--spectrum-actiongroup-gap-size-compact));
.spectrum-ActionGroup-item {
border-radius: var(--mod-actiongroup-border-radius-reset, var(--spectrum-actiongroup-border-radius-reset));
&:first-child {
- /* Action button passthrough styling */
+ /* @passthrough -- Action button styling */
--mod-actionbutton-focus-indicator-border-radius: var(--mod-actiongroup-border-radius, var(--spectrum-actiongroup-border-radius)) var(--mod-actiongroup-border-radius, var(--spectrum-actiongroup-border-radius)) 0px 0px;
border-start-start-radius: var(--mod-actiongroup-border-radius, var(--spectrum-actiongroup-border-radius));
@@ -142,7 +142,7 @@
}
&:last-child {
- /* Action button passthrough styling */
+ /* @passthrough -- Action button styling */
--mod-actionbutton-focus-indicator-border-radius: 0px 0px var(--mod-actiongroup-border-radius, var(--spectrum-actiongroup-border-radius)) var(--mod-actiongroup-border-radius, var(--spectrum-actiongroup-border-radius));
border-end-start-radius: var(--mod-actiongroup-border-radius, var(--spectrum-actiongroup-border-radius));
diff --git a/components/actiongroup/metadata/metadata.json b/components/actiongroup/metadata/metadata.json
index 8ed65cac3a8..c78e7d30965 100644
--- a/components/actiongroup/metadata/metadata.json
+++ b/components/actiongroup/metadata/metadata.json
@@ -5,6 +5,7 @@
".spectrum-ActionGroup .spectrum-ActionGroup-item",
".spectrum-ActionGroup .spectrum-ActionGroup-item:focus-visible",
".spectrum-ActionGroup--compact",
+ ".spectrum-ActionGroup--compact.spectrum-ActionGroup--vertical:not(.spectrum-ActionGroup--quiet)",
".spectrum-ActionGroup--compact.spectrum-ActionGroup--vertical:not(.spectrum-ActionGroup--quiet) .spectrum-ActionGroup-item",
".spectrum-ActionGroup--compact.spectrum-ActionGroup--vertical:not(.spectrum-ActionGroup--quiet) .spectrum-ActionGroup-item + .spectrum-ActionGroup-item",
".spectrum-ActionGroup--compact.spectrum-ActionGroup--vertical:not(.spectrum-ActionGroup--quiet) .spectrum-ActionGroup-item:first-child",
@@ -18,7 +19,6 @@
".spectrum-ActionGroup--compact:not(.spectrum-ActionGroup--quiet) .spectrum-ActionGroup-item:focus-visible",
".spectrum-ActionGroup--compact:not(.spectrum-ActionGroup--quiet) .spectrum-ActionGroup-item:hover",
".spectrum-ActionGroup--compact:not(.spectrum-ActionGroup--quiet) .spectrum-ActionGroup-item:last-child",
- ".spectrum-ActionGroup--compact:not(.spectrum-ActionGroup--quiet).spectrum-ActionGroup--vertical",
".spectrum-ActionGroup--justified .spectrum-ActionGroup-item",
".spectrum-ActionGroup--sizeL",
".spectrum-ActionGroup--sizeM",
@@ -26,7 +26,7 @@
".spectrum-ActionGroup--sizeXL",
".spectrum-ActionGroup--sizeXS",
".spectrum-ActionGroup--vertical",
- ".spectrum-ActionGroup.spectrum-ActionGroup:not(.spectrum-ActionGroup--vertical):not(.spectrum-ActionGroup--compact) .spectrum-ActionGroup-item"
+ ".spectrum-ActionGroup:not(.spectrum-ActionGroup--vertical, .spectrum-ActionGroup--compact) .spectrum-ActionGroup-item"
],
"modifiers": [
"--mod-actiongroup-border-radius",
@@ -51,13 +51,12 @@
"global": [
"--spectrum-corner-radius-100",
"--spectrum-spacing-100",
- "--spectrum-spacing-50",
"--spectrum-spacing-75"
],
"system-theme": [
- "--system-spectrum-actiongroup-gap-size-compact",
- "--system-spectrum-actiongroup-horizontal-spacing-compact",
- "--system-spectrum-actiongroup-vertical-spacing-compact"
+ "--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/package.json b/components/actiongroup/package.json
index 457bcb4ab6d..f0fa1bf238f 100644
--- a/components/actiongroup/package.json
+++ b/components/actiongroup/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/actiongroup",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.17",
"description": "The Spectrum CSS actiongroup component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=6",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/actionbutton": {
diff --git a/components/actiongroup/stories/actiongroup.stories.js b/components/actiongroup/stories/actiongroup.stories.js
index 4eff36dcccc..9a7e896117a 100644
--- a/components/actiongroup/stories/actiongroup.stories.js
+++ b/components/actiongroup/stories/actiongroup.stories.js
@@ -93,6 +93,10 @@ export default {
...(ActionButton?.parameters?.actions?.handles ?? []),
],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=19083-360",
+ },
packageJson,
metadata,
},
diff --git a/components/actiongroup/stories/template.js b/components/actiongroup/stories/template.js
index 25d8f25f4e0..d13cdac64aa 100644
--- a/components/actiongroup/stories/template.js
+++ b/components/actiongroup/stories/template.js
@@ -6,6 +6,9 @@ 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
index 7beafcda729..3fd8de9cdbb 100644
--- a/components/actiongroup/themes/express.css
+++ b/components/actiongroup/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-ActionGroup {
--spectrum-actiongroup-gap-size-compact: var(--spectrum-spacing-50);
diff --git a/components/actiongroup/themes/spectrum-two.css b/components/actiongroup/themes/spectrum-two.css
new file mode 100644
index 00000000000..b25c0f945b2
--- /dev/null
+++ b/components/actiongroup/themes/spectrum-two.css
@@ -0,0 +1,22 @@
+/*!
+ * 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
index ff6e1cab39d..3d81bc564b5 100644
--- a/components/actiongroup/themes/spectrum.css
+++ b/components/actiongroup/themes/spectrum.css
@@ -11,12 +11,6 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
- .spectrum-ActionGroup {
- --spectrum-actiongroup-gap-size-compact: 0;
+/* @combine .spectrum.spectrum--legacy */
- /* account for button border */
- --spectrum-actiongroup-horizontal-spacing-compact: -1px;
- --spectrum-actiongroup-vertical-spacing-compact: -1px;
- }
-}
+@import "./spectrum-two.css";
diff --git a/components/actionmenu/CHANGELOG.md b/components/actionmenu/CHANGELOG.md
index 78f38e2b23e..29421e2ec9c 100644
--- a/components/actionmenu/CHANGELOG.md
+++ b/components/actionmenu/CHANGELOG.md
@@ -1,5 +1,282 @@
# Change Log
+## 7.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.24
+ - @spectrum-css/popover@8.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+ - @spectrum-css/menu@8.0.0-s2-foundations.17
+
+## 7.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.21
+ - @spectrum-css/popover@8.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+ - @spectrum-css/menu@8.0.0-s2-foundations.15
+
+## 7.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.20
+ - @spectrum-css/popover@8.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/menu@8.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 7.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.18
+ - @spectrum-css/popover@8.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/menu@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 7.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.13
+ - @spectrum-css/popover@8.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/menu@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.12
+ - @spectrum-css/popover@8.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/menu@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 7.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.10
+ - @spectrum-css/popover@8.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/menu@8.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 7.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.9
+ - @spectrum-css/popover@8.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/menu@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 7.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.8
+ - @spectrum-css/popover@8.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/menu@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 7.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.7
+ - @spectrum-css/popover@8.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/menu@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 7.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.6
+ - @spectrum-css/popover@8.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+ - @spectrum-css/menu@8.0.0-s2-foundations.6
+
+## 7.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.5
+ - @spectrum-css/popover@8.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/menu@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 7.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.4
+ - @spectrum-css/popover@8.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/menu@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 7.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.3
+ - @spectrum-css/popover@8.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/menu@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 7.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.2
+ - @spectrum-css/popover@8.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/menu@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 7.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.1
+ - @spectrum-css/popover@8.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/menu@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 7.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.0
+ - @spectrum-css/popover@8.0.0-s2-foundations.0
+ - @spectrum-css/menu@8.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 6.2.0
### Minor Changes
diff --git a/components/actionmenu/package.json b/components/actionmenu/package.json
index a71c7289c15..111171ba296 100644
--- a/components/actionmenu/package.json
+++ b/components/actionmenu/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/actionmenu",
- "version": "6.2.0",
+ "version": "7.0.0-s2-foundations.16",
"description": "The Spectrum CSS actionmenu component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,21 +21,23 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=6",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/menu": ">=7",
- "@spectrum-css/popover": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/actionbutton": "workspace:^",
diff --git a/components/alertbanner/CHANGELOG.md b/components/alertbanner/CHANGELOG.md
index 136d123891a..698c76738e7 100644
--- a/components/alertbanner/CHANGELOG.md
+++ b/components/alertbanner/CHANGELOG.md
@@ -1,5 +1,288 @@
# Change Log
+## 3.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.17
+ - @spectrum-css/divider@4.0.0-s2-foundations.16
+ - @spectrum-css/button@14.0.0-s2-foundations.19
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 3.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.16
+ - @spectrum-css/divider@4.0.0-s2-foundations.15
+ - @spectrum-css/button@14.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 3.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.15
+ - @spectrum-css/divider@4.0.0-s2-foundations.14
+ - @spectrum-css/button@14.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 3.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.14
+ - @spectrum-css/divider@4.0.0-s2-foundations.13
+ - @spectrum-css/button@14.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 3.0.0-s2-foundations.13
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9956547`](https://github.com/adobe/spectrum-css/commit/9956547660d88ddfe77f9fc641b2036ab5b33efc) Thanks [@pfulton](https://github.com/pfulton)! - Express color updated for alert banner component
+
+## 3.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.12
+ - @spectrum-css/divider@4.0.0-s2-foundations.12
+ - @spectrum-css/button@14.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 3.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.11
+ - @spectrum-css/divider@4.0.0-s2-foundations.11
+ - @spectrum-css/button@14.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 3.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.10
+ - @spectrum-css/divider@4.0.0-s2-foundations.10
+ - @spectrum-css/button@14.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 3.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.9
+ - @spectrum-css/divider@4.0.0-s2-foundations.9
+ - @spectrum-css/button@14.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 3.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.8
+ - @spectrum-css/divider@4.0.0-s2-foundations.8
+ - @spectrum-css/button@14.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 3.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.7
+ - @spectrum-css/divider@4.0.0-s2-foundations.7
+ - @spectrum-css/button@14.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 3.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.6
+ - @spectrum-css/divider@4.0.0-s2-foundations.6
+ - @spectrum-css/button@14.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 3.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.5
+ - @spectrum-css/divider@4.0.0-s2-foundations.5
+ - @spectrum-css/button@14.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 3.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.4
+ - @spectrum-css/divider@4.0.0-s2-foundations.4
+ - @spectrum-css/button@14.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 3.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.3
+ - @spectrum-css/divider@4.0.0-s2-foundations.3
+ - @spectrum-css/button@14.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 3.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.2
+ - @spectrum-css/divider@4.0.0-s2-foundations.2
+ - @spectrum-css/button@14.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 3.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.1
+ - @spectrum-css/divider@4.0.0-s2-foundations.1
+ - @spectrum-css/button@14.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 3.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.0
+ - @spectrum-css/divider@4.0.0-s2-foundations.0
+ - @spectrum-css/button@14.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 2.3.0
### Minor Changes
diff --git a/components/alertbanner/index.css b/components/alertbanner/index.css
index af4976e1afa..806e7c4a7b4 100644
--- a/components/alertbanner/index.css
+++ b/components/alertbanner/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-AlertBanner {
--spectrum-alert-banner-min-height: var(--spectrum-alert-banner-minimum-height);
@@ -49,9 +49,7 @@
--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 {
display: none;
justify-content: space-between;
inline-size: var(--mod-alert-banner-size, var(--spectrum-alert-banner-size));
@@ -59,7 +57,7 @@
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));
color: var(--mod-alert-banner-font-color, var(--spectrum-alert-banner-font-color));
- background-color: var(--mod-alert-banner-netural-background, var(--spectrum-alert-banner-netural-background));
+ background-color: var(--mod-alert-banner-neutral-background, var(--spectrum-alert-banner-neutral-background));
border: var(--highcontrast-alert-banner-border-width, 0) solid var(--highcontrast-alert-banner-border-color, transparent);
&.is-open {
diff --git a/components/alertbanner/metadata/metadata.json b/components/alertbanner/metadata/metadata.json
index fe2abd0efaa..15b6983e631 100644
--- a/components/alertbanner/metadata/metadata.json
+++ b/components/alertbanner/metadata/metadata.json
@@ -24,7 +24,7 @@
"--mod-alert-banner-max-inline-size",
"--mod-alert-banner-min-height",
"--mod-alert-banner-negative-background",
- "--mod-alert-banner-netural-background",
+ "--mod-alert-banner-neutral-background",
"--mod-alert-banner-size",
"--mod-alert-banner-start-edge",
"--mod-alert-banner-text-to-button-horizontal",
@@ -48,7 +48,7 @@
"--spectrum-alert-banner-min-height",
"--spectrum-alert-banner-minimum-height",
"--spectrum-alert-banner-negative-background",
- "--spectrum-alert-banner-netural-background",
+ "--spectrum-alert-banner-neutral-background",
"--spectrum-alert-banner-size",
"--spectrum-alert-banner-start-edge",
"--spectrum-alert-banner-text-to-button-horizontal",
@@ -65,16 +65,13 @@
"--spectrum-font-size-100",
"--spectrum-informative-background-color-default",
"--spectrum-negative-background-color-default",
- "--spectrum-neutral-background-color-default",
"--spectrum-neutral-subdued-background-color-default",
"--spectrum-spacing-300",
"--spectrum-text-to-visual-300",
"--spectrum-white",
"--spectrum-workflow-icon-size-100"
],
- "system-theme": [
- "--system-spectrum-alertbanner-spectrum-alert-banner-netural-background"
- ],
+ "system-theme": ["--system-alert-banner-neutral-background"],
"passthroughs": [
"--mod-button-margin-block",
"--mod-button-margin-left",
diff --git a/components/alertbanner/metadata/mods.md b/components/alertbanner/metadata/mods.md
index 7d700385511..55726ac5b71 100644
--- a/components/alertbanner/metadata/mods.md
+++ b/components/alertbanner/metadata/mods.md
@@ -12,7 +12,7 @@
| `--mod-alert-banner-max-inline-size` |
| `--mod-alert-banner-min-height` |
| `--mod-alert-banner-negative-background` |
-| `--mod-alert-banner-netural-background` |
+| `--mod-alert-banner-neutral-background` |
| `--mod-alert-banner-size` |
| `--mod-alert-banner-start-edge` |
| `--mod-alert-banner-text-to-button-horizontal` |
diff --git a/components/alertbanner/package.json b/components/alertbanner/package.json
index 011ddf2a6e1..a7a54f3fca5 100644
--- a/components/alertbanner/package.json
+++ b/components/alertbanner/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/alertbanner",
- "version": "2.3.0",
+ "version": "3.0.0-s2-foundations.17",
"description": "The Spectrum CSS alertbanner component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,21 +21,23 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/button": ">=13",
- "@spectrum-css/closebutton": ">=5",
- "@spectrum-css/divider": ">=3",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0",
+ "@spectrum-css/closebutton": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/divider": ">=4.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/icon": {
diff --git a/components/alertbanner/stories/alertbanner.stories.js b/components/alertbanner/stories/alertbanner.stories.js
index d5998fa43d5..f445248ab52 100644
--- a/components/alertbanner/stories/alertbanner.stories.js
+++ b/components/alertbanner/stories/alertbanner.stories.js
@@ -69,6 +69,10 @@ export default {
actions: {
handles: ["click .spectrum-AlertBanner button"],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=15963-287",
+ },
packageJson,
metadata,
},
diff --git a/components/alertbanner/stories/template.js b/components/alertbanner/stories/template.js
index b564deeed0d..3eb719c0612 100644
--- a/components/alertbanner/stories/template.js
+++ b/components/alertbanner/stories/template.js
@@ -10,6 +10,9 @@ 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",
diff --git a/components/alertbanner/themes/express.css b/components/alertbanner/themes/express.css
index ceebfffaf18..a86424d5e4b 100644
--- a/components/alertbanner/themes/express.css
+++ b/components/alertbanner/themes/express.css
@@ -11,10 +11,12 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-AlertBanner {
- --spectrum-alert-banner-netural-background: var(--spectrum-neutral-background-color-default);
+ --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
new file mode 100644
index 00000000000..3e038dbd7a4
--- /dev/null
+++ b/components/alertbanner/themes/spectrum-two.css
@@ -0,0 +1,18 @@
+/*!
+ * 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
index adcf854d6cb..1bd05c8e88f 100644
--- a/components/alertbanner/themes/spectrum.css
+++ b/components/alertbanner/themes/spectrum.css
@@ -11,8 +11,12 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
+/* @combine .spectrum.spectrum--legacy */
+
+@import "./spectrum-two.css";
+
+@container style(--system: spectrum) {
.spectrum-AlertBanner {
- --spectrum-alert-banner-netural-background: var(--spectrum-neutral-subdued-background-color-default);
+ --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 b6da1d9d8ce..b3605feac77 100644
--- a/components/alertdialog/CHANGELOG.md
+++ b/components/alertdialog/CHANGELOG.md
@@ -1,5 +1,299 @@
# Change Log
+## 3.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.16
+ - @spectrum-css/underlay@5.0.0-s2-foundations.16
+ - @spectrum-css/divider@4.0.0-s2-foundations.16
+ - @spectrum-css/modal@6.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 3.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.15
+ - @spectrum-css/underlay@5.0.0-s2-foundations.15
+ - @spectrum-css/divider@4.0.0-s2-foundations.15
+ - @spectrum-css/modal@6.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 3.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.14
+ - @spectrum-css/underlay@5.0.0-s2-foundations.14
+ - @spectrum-css/divider@4.0.0-s2-foundations.14
+ - @spectrum-css/modal@6.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 3.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.13
+ - @spectrum-css/underlay@5.0.0-s2-foundations.13
+ - @spectrum-css/divider@4.0.0-s2-foundations.13
+ - @spectrum-css/modal@6.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 3.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.12
+ - @spectrum-css/underlay@5.0.0-s2-foundations.12
+ - @spectrum-css/divider@4.0.0-s2-foundations.12
+ - @spectrum-css/modal@6.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 3.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.11
+ - @spectrum-css/underlay@5.0.0-s2-foundations.11
+ - @spectrum-css/divider@4.0.0-s2-foundations.11
+ - @spectrum-css/modal@6.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 3.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.10
+ - @spectrum-css/underlay@5.0.0-s2-foundations.10
+ - @spectrum-css/divider@4.0.0-s2-foundations.10
+ - @spectrum-css/modal@6.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 3.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.9
+ - @spectrum-css/underlay@5.0.0-s2-foundations.9
+ - @spectrum-css/divider@4.0.0-s2-foundations.9
+ - @spectrum-css/modal@6.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 3.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.8
+ - @spectrum-css/underlay@5.0.0-s2-foundations.8
+ - @spectrum-css/divider@4.0.0-s2-foundations.8
+ - @spectrum-css/modal@6.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 3.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.7
+ - @spectrum-css/underlay@5.0.0-s2-foundations.7
+ - @spectrum-css/divider@4.0.0-s2-foundations.7
+ - @spectrum-css/modal@6.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 3.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.6
+ - @spectrum-css/underlay@5.0.0-s2-foundations.6
+ - @spectrum-css/divider@4.0.0-s2-foundations.6
+ - @spectrum-css/modal@6.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 3.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.5
+ - @spectrum-css/underlay@5.0.0-s2-foundations.5
+ - @spectrum-css/divider@4.0.0-s2-foundations.5
+ - @spectrum-css/modal@6.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 3.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.4
+ - @spectrum-css/underlay@5.0.0-s2-foundations.4
+ - @spectrum-css/divider@4.0.0-s2-foundations.4
+ - @spectrum-css/modal@6.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 3.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.3
+ - @spectrum-css/underlay@5.0.0-s2-foundations.3
+ - @spectrum-css/divider@4.0.0-s2-foundations.3
+ - @spectrum-css/modal@6.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 3.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.2
+ - @spectrum-css/underlay@5.0.0-s2-foundations.2
+ - @spectrum-css/divider@4.0.0-s2-foundations.2
+ - @spectrum-css/modal@6.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 3.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.1
+ - @spectrum-css/underlay@5.0.0-s2-foundations.1
+ - @spectrum-css/divider@4.0.0-s2-foundations.1
+ - @spectrum-css/modal@6.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 3.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.0
+ - @spectrum-css/modal@6.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+ - @spectrum-css/underlay@5.0.0-s2-foundations.0
+
## 2.2.0
### Minor Changes
diff --git a/components/alertdialog/index.css b/components/alertdialog/index.css
index 0816c471c40..50fd340b0c1 100644
--- a/components/alertdialog/index.css
+++ b/components/alertdialog/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-AlertDialog {
--spectrum-alert-dialog-min-width: var(--spectrum-alert-dialog-minimum-width);
diff --git a/components/alertdialog/package.json b/components/alertdialog/package.json
index 0196af89c14..2e8f8839fb1 100644
--- a/components/alertdialog/package.json
+++ b/components/alertdialog/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/alertdialog",
- "version": "2.2.0",
+ "version": "3.0.0-s2-foundations.16",
"description": "The Spectrum CSS alertdialog component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,22 +21,24 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/buttongroup": ">=7",
- "@spectrum-css/divider": ">=3",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/modal": ">=5",
- "@spectrum-css/tokens": ">=14",
- "@spectrum-css/underlay": ">=4"
+ "@spectrum-css/buttongroup": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/divider": ">=4.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/modal": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0",
+ "@spectrum-css/underlay": ">=5.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/buttongroup": {
diff --git a/components/alertdialog/stories/alertdialog.stories.js b/components/alertdialog/stories/alertdialog.stories.js
index 12674e970d9..033fd318e3d 100644
--- a/components/alertdialog/stories/alertdialog.stories.js
+++ b/components/alertdialog/stories/alertdialog.stories.js
@@ -45,6 +45,10 @@ export default {
actions: {
handles: ["click .spectrum-AlertDialog button"],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=21917-157",
+ },
docs: {
story: {
height: "300px",
diff --git a/components/alertdialog/stories/template.js b/components/alertdialog/stories/template.js
index 5de1e37972c..6e1f594950a 100644
--- a/components/alertdialog/stories/template.js
+++ b/components/alertdialog/stories/template.js
@@ -10,6 +10,9 @@ 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 Dialog = ({
rootClass = "spectrum-AlertDialog",
diff --git a/components/alertdialog/themes/express.css b/components/alertdialog/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/alertdialog/themes/express.css
+++ b/components/alertdialog/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/tokens/dist/css/express/custom-vars.css b/components/alertdialog/themes/spectrum-two.css
similarity index 93%
rename from tokens/dist/css/express/custom-vars.css
rename to components/alertdialog/themes/spectrum-two.css
index 675f4c9c61a..3b48a570c21 100644
--- a/tokens/dist/css/express/custom-vars.css
+++ b/components/alertdialog/themes/spectrum-two.css
@@ -10,7 +10,3 @@
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
-
-.spectrum--express{
- --system:express;
-}
diff --git a/components/alertdialog/themes/spectrum.css b/components/alertdialog/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/alertdialog/themes/spectrum.css
+++ b/components/alertdialog/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/asset/CHANGELOG.md b/components/asset/CHANGELOG.md
index add24d7f894..7406d5370cc 100644
--- a/components/asset/CHANGELOG.md
+++ b/components/asset/CHANGELOG.md
@@ -1,5 +1,210 @@
# Change Log
+## 6.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
diff --git a/components/asset/index.css b/components/asset/index.css
index dea8fc9ce74..abf5d42572f 100644
--- a/components/asset/index.css
+++ b/components/asset/index.css
@@ -11,9 +11,14 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@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));
+
display: flex;
align-items: center;
justify-content: center;
@@ -37,21 +42,23 @@
}
.spectrum-Asset-folderBackground {
- fill: var(--highcontrast-asset-folder-background-color, var(--mod-asset-folder-background-color, var(--spectrum-gray-300)));
+ fill: var(--spectrum-asset-folder-background);
}
.spectrum-Asset-fileBackground {
- fill: var(--highcontrast-asset-file-background-color, var(--mod-asset-file-background-color, var(--spectrum-gray-50)));
+ fill: var(--spectrum-asset-file-background);
+}
+
+.spectrum-Asset-folderOutline {
+ fill: var(--spectrum-asset-folder-outline);
}
-.spectrum-Asset-folderOutline,
.spectrum-Asset-fileOutline {
- fill: var(--mod-asset-icon-outline-color, var(--spectrum-gray-500));
+ fill: var(--spectrum-asset-file-outline);
}
@media (forced-colors: active) {
.spectrum-Asset {
- --highcontrast-asset-folder-background-color: currentColor;
- --highcontrast-asset-file-background-color: currentColor;
+ --highcontrast-asset-icon-background-color: currentColor;
}
}
diff --git a/components/asset/metadata/metadata.json b/components/asset/metadata/metadata.json
index c4dba7ecfc7..306c123b1b6 100644
--- a/components/asset/metadata/metadata.json
+++ b/components/asset/metadata/metadata.json
@@ -18,17 +18,26 @@
"--mod-asset-icon-min-width",
"--mod-asset-icon-outline-color"
],
- "component": [],
+ "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"
+ ],
"global": [
"--spectrum-animation-duration-100",
- "--spectrum-gray-300",
- "--spectrum-gray-50",
+ "--spectrum-gray-200",
+ "--spectrum-gray-25",
"--spectrum-gray-500"
],
- "system-theme": [],
+ "system-theme": [
+ "--system-asset-file-background-color",
+ "--system-asset-folder-background-color",
+ "--system-asset-icon-outline-color"
+ ],
"passthroughs": [],
- "high-contrast": [
- "--highcontrast-asset-file-background-color",
- "--highcontrast-asset-folder-background-color"
- ]
+ "high-contrast": ["--highcontrast-asset-icon-background-color"]
}
diff --git a/components/asset/package.json b/components/asset/package.json
index 8b1065ab252..879684c9bc3 100644
--- a/components/asset/package.json
+++ b/components/asset/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/asset",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.16",
"description": "The Spectrum CSS asset component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/asset/stories/asset.mdx b/components/asset/stories/asset.mdx
deleted file mode 100644
index 455cef7842a..00000000000
--- a/components/asset/stories/asset.mdx
+++ /dev/null
@@ -1,48 +0,0 @@
-import {
- ArgTypes,
- Canvas,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-import * as AssetStories from "./asset.stories";
-
-
-
-
-
-
-
-
-
-## Variants
-
-### Image
-
-
-
-### File
-
-
-
-### Folder
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/asset/stories/asset.stories.js b/components/asset/stories/asset.stories.js
index d38c9eb6821..15745fe1527 100644
--- a/components/asset/stories/asset.stories.js
+++ b/components/asset/stories/asset.stories.js
@@ -39,7 +39,6 @@ export default {
packageJson,
metadata,
},
- tags: ["!autodocs"],
};
export const Default = AssetGroup.bind({});
diff --git a/components/asset/stories/template.js b/components/asset/stories/template.js
index 30bb729941a..c32f792cd49 100644
--- a/components/asset/stories/template.js
+++ b/components/asset/stories/template.js
@@ -5,6 +5,9 @@ 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",
@@ -13,8 +16,8 @@ export const Template = ({
id = getRandomId("asset"),
customClasses = [],
customStyles = {},
- isCardAssetOverride = false,
-}) => {
+ isImageFill = false,
+} = {}) => {
let visual;
if (preset === "file") {
visual = svg`
@@ -35,9 +38,8 @@ export const Template = ({
class="${rootClass}-image"
src=${ifDefined(image)}
style=${styleMap({
- "max-width": !isCardAssetOverride ? "75%" : undefined,
- "max-height": !isCardAssetOverride ? "75%" : undefined,
- "object-fit": !isCardAssetOverride ? "contain" : undefined,
+ "max-inline-size": !isImageFill ? "75%" : undefined,
+ "max-block-size": !isImageFill ? "75%" : undefined,
})}
/>`;
}
diff --git a/components/asset/themes/express.css b/components/asset/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/asset/themes/express.css
+++ b/components/asset/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/asset/themes/spectrum-two.css b/components/asset/themes/spectrum-two.css
new file mode 100644
index 00000000000..5eda732011b
--- /dev/null
+++ b/components/asset/themes/spectrum-two.css
@@ -0,0 +1,20 @@
+/*!
+ * 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
index 3b48a570c21..8b2b12ee379 100644
--- a/components/asset/themes/spectrum.css
+++ b/components/asset/themes/spectrum.css
@@ -10,3 +10,15 @@
* 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 79cc0237757..d277ddcf4ec 100644
--- a/components/assetcard/CHANGELOG.md
+++ b/components/assetcard/CHANGELOG.md
@@ -1,5 +1,249 @@
# Change Log
+## 5.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.20
+
+## 5.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.18
+
+## 5.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.17
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 5.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 5.0.0-s2-foundations.13
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9df688a`](https://github.com/adobe/spectrum-css/commit/9df688a6a83be5f13bc4e0e732fed294af08bf3f) Thanks [@pfulton](https://github.com/pfulton)! - Replaces raw RGB value/direct token references with abstracted custom properties in theme/spectrum-two.css files
+
+ Asset card
+
+ - removes raw rgb value for box-shadow from `index.css`
+ - creates new `--spectrum-assetcard-selectionindicator-box-shadow-color`
+ in `themes/spectrum-two.css` with previous rgb value to use instead
+
+ Well
+
+ - removes `--spectrum-gray-800-rgb` for background-color from `index.css`
+ - creates new `--spectrum-well-background-color` in `themes/spectrum-two.css`
+ with previous `--spectrum-gray-800-rgb` property to use instead
+
+## 5.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 5.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 5.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 5.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 5.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 5.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 5.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.6
+
+## 5.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 5.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 5.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 5.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 5.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 5.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 4.2.0
### Minor Changes
diff --git a/components/assetcard/index.css b/components/assetcard/index.css
index 3664978d933..26881a3f45f 100644
--- a/components/assetcard/index.css
+++ b/components/assetcard/index.css
@@ -11,13 +11,12 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
/* outer container, unstyled */
.spectrum-AssetCard {
/* 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-200);
--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);
@@ -31,7 +30,6 @@
--spectrum-assetcard-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
/* selection indicator - checkbox or number */
- --spectrum-assetcard-selectionindicator-background-color-default: rgba(var(--spectrum-gray-100-rgb), 0.9);
--spectrum-assetcard-selectionindicator-size: var(--spectrum-card-selection-background-size);
--spectrum-assetcard-selectionindicator-border-radius: var(--spectrum-corner-radius-100);
--spectrum-assetcard-selectionindicator-offset-y: 4px;
@@ -66,6 +64,16 @@
--spectrum-assetcard-content-margin-block-start: var(--spectrum-spacing-75);
+ /* contain selection indicator */
+ position: relative;
+
+ display: flex;
+ flex-direction: column;
+
+ inline-size: var(--mod-assetcard-asset-size, var(--spectrum-assetcard-asset-size));
+
+ cursor: pointer;
+
&:lang(zh),
&:lang(ja),
&:lang(ko) {
@@ -88,18 +96,6 @@
--spectrum-assetcard-content-font-style: var(--spectrum-body-cjk-font-style);
--spectrum-assetcard-content-letter-spacing: var(--spectrum-cjk-letter-spacing);
}
-}
-
-.spectrum-AssetCard {
- /* contain selection indicator */
- position: relative;
-
- display: flex;
- flex-direction: column;
-
- inline-size: var(--mod-assetcard-asset-size, var(--spectrum-assetcard-asset-size));
-
- cursor: pointer;
&.is-selected,
&:hover,
@@ -272,7 +268,7 @@
border-radius: var(--mod-assetcard-selectionindicator-border-radius, var(--spectrum-assetcard-selectionindicator-border-radius));
- box-shadow: 0 var(--spectrum-assetcard-selectionindicator-offset-y) var(--spectrum-assetcard-selectionindicator-blur) rgb(0, 0, 0, 15%);
+ box-shadow: 0 var(--spectrum-assetcard-selectionindicator-offset-y) var(--spectrum-assetcard-selectionindicator-blur) var(--spectrum-assetcard-selectionindicator-box-shadow-color);
color: var(--highcontrast-assetcard-selectionindicator-color, var(--mod-assetcard-selectionindicator-color, var(--spectrum-assetcard-selectionindicator-color)));
font-weight: var(--mod-assetcard-selectionindicator-font-weight, var(--spectrum-assetcard-selectionindicator-font-weight));
diff --git a/components/assetcard/metadata/metadata.json b/components/assetcard/metadata/metadata.json
index decca789994..67bcbea1002 100644
--- a/components/assetcard/metadata/metadata.json
+++ b/components/assetcard/metadata/metadata.json
@@ -123,10 +123,13 @@
"--spectrum-assetcard-header-content-text-color",
"--spectrum-assetcard-header-margin-block-start",
"--spectrum-assetcard-overlay-background-color",
+ "--spectrum-assetcard-overlay-background-color-opacity",
+ "--spectrum-assetcard-overlay-background-color-rgb",
"--spectrum-assetcard-selectionindicator-background-color-default",
"--spectrum-assetcard-selectionindicator-background-color-ordered",
"--spectrum-assetcard-selectionindicator-blur",
"--spectrum-assetcard-selectionindicator-border-radius",
+ "--spectrum-assetcard-selectionindicator-box-shadow-color",
"--spectrum-assetcard-selectionindicator-color",
"--spectrum-assetcard-selectionindicator-font-size",
"--spectrum-assetcard-selectionindicator-font-weight",
@@ -156,11 +159,11 @@
"--spectrum-default-font-style",
"--spectrum-focus-indicator-thickness",
"--spectrum-font-size-400",
- "--spectrum-gray-100-rgb",
- "--spectrum-gray-200",
"--spectrum-gray-500",
"--spectrum-gray-600",
"--spectrum-gray-700",
+ "--spectrum-gray-75",
+ "--spectrum-gray-75-rgb",
"--spectrum-gray-900",
"--spectrum-heading-cjk-font-style",
"--spectrum-heading-cjk-font-weight",
@@ -172,9 +175,17 @@
"--spectrum-sans-font-family-stack",
"--spectrum-spacing-300",
"--spectrum-spacing-75",
+ "--spectrum-transparent-black-300",
"--spectrum-white"
],
- "system-theme": ["--system-spectrum-assetcard-overlay-background-color"],
+ "system-theme": [
+ "--system-asset-card-background-color",
+ "--system-asset-card-overlay-background-color",
+ "--system-asset-card-overlay-background-color-opacity",
+ "--system-asset-card-overlay-background-color-rgb",
+ "--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/package.json b/components/assetcard/package.json
index 2ebd8e64ea7..e70a5f1911d 100644
--- a/components/assetcard/package.json
+++ b/components/assetcard/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/assetcard",
- "version": "4.2.0",
+ "version": "5.0.0-s2-foundations.17",
"description": "The Spectrum CSS asset card component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/checkbox": ">=9",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/checkbox": {
diff --git a/components/assetcard/stories/assetcard.mdx b/components/assetcard/stories/assetcard.mdx
deleted file mode 100644
index d6edaaa0201..00000000000
--- a/components/assetcard/stories/assetcard.mdx
+++ /dev/null
@@ -1,66 +0,0 @@
-import {
- ArgTypes,
- Canvas,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-import * as AssetCardStories from "./assetcard.stories";
-
-
-
-
-
-
-
-
-
-## Portrait
-
-
-
-## Landscape
-
-
-
-## Square
-
-
-
-## Optional Content
-
-
-
-## Highlight Selection
-
-
-
-## Checkbox Selection
-
-
-
-## Ordered Selection
-
-
-
-## Drop Target
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/assetcard/stories/assetcard.stories.js b/components/assetcard/stories/assetcard.stories.js
index e44d5a1ca18..8e815b21809 100644
--- a/components/assetcard/stories/assetcard.stories.js
+++ b/components/assetcard/stories/assetcard.stories.js
@@ -8,6 +8,10 @@ import { Template } from "./template.js";
/**
* The asset card component allows users to select and manage assets and their metadata in a grid.
+ *
+ * ## Usage notes
+ * Set the `--spectrum-assetcard-asset-size` custom property to the size at which you want to display the asset.
+ *
*/
export default {
title: "Asset card",
@@ -89,7 +93,6 @@ export default {
packageJson,
metadata,
},
- tags: ["!autodocs"],
};
export const Default = AssetCardGroup.bind({});
@@ -98,8 +101,13 @@ Default.args = {
exampleImage: "portrait",
content: ["Image"],
};
+Default.tags = ["!autodocs"];
// ********* DOCS ONLY ********* //
+/**
+ * Inside the tile, an asset card displays the preview of the item it represents. The preview has different styles, depending on the type of item.
+ *
+ * The default asset card is also referred to as "portrait." */
export const Portrait = Template.bind({});
Portrait.args = {
title: "Portrait asset",
@@ -110,6 +118,7 @@ Portrait.tags = ["!dev"];
Portrait.parameters = {
chromatic: { disableSnapshot: true },
};
+Portrait.storyName = "Default";
export const Landscape = Template.bind({});
Landscape.args = {
@@ -131,6 +140,9 @@ Square.parameters = {
chromatic: { disableSnapshot: true },
};
+/**
+ * Asset cards have two optional content areas for extra information: `.spectrum-AssetCard-content` and `.spectrum-AssetCard-headerContent`. These content areas can include time stamps, non-interactive rating indicators, colored labels, badges, and more.
+ */
export const OptionalContent = Template.bind({});
OptionalContent.args = {
title: "MVI_0123.mp4",
@@ -141,7 +153,11 @@ OptionalContent.tags = ["!dev"];
OptionalContent.parameters = {
chromatic: { disableSnapshot: true },
};
+OptionalContent.storyName = "Optional content";
+/**
+ * Sometimes it may not make sense to use checkboxes to indicate selection. In those rare cases, show a highlighted state when a user is inspecting one or more cards.
+ */
export const HighlightSelection = Template.bind({});
HighlightSelection.args = {
title: "Highlight selection",
@@ -153,7 +169,11 @@ HighlightSelection.tags = ["!dev"];
HighlightSelection.parameters = {
chromatic: { disableSnapshot: true },
};
+HighlightSelection.storyName = "Selection - highlight";
+/**
+ * Some cards allow selection, on which the user can take an action. Both single-select and multi-select cards have checkboxes on the top left of the card (or in the top right for RTL languages).
+ */
export const CheckboxSelection = Template.bind({});
CheckboxSelection.args = {
title: "Checkbox selection",
@@ -165,7 +185,11 @@ CheckboxSelection.tags = ["!dev"];
CheckboxSelection.parameters = {
chromatic: { disableSnapshot: true },
};
+CheckboxSelection.storyName = "Selection - checkbox";
+/**
+ * In cases where it’s important for users to know the order in which they have selected multiple cards — for example, to add video clips to a sequence — use ordered selection. Ordered selection must be multi-selectable.
+ */
export const OrderedSelection = Template.bind({});
OrderedSelection.args = {
title: "Ordered selection",
@@ -177,6 +201,7 @@ OrderedSelection.tags = ["!dev"];
OrderedSelection.parameters = {
chromatic: { disableSnapshot: true },
};
+OrderedSelection.storyName = "Selection - ordered";
export const DropTarget = Template.bind({});
DropTarget.args = {
@@ -190,6 +215,7 @@ DropTarget.tags = ["!dev"];
DropTarget.parameters = {
chromatic: { disableSnapshot: true },
};
+DropTarget.storyName = "Drop target";
// ********* VRT ONLY ********* //
export const WithForcedColors = AssetCardGroup.bind({});
diff --git a/components/assetcard/stories/template.js b/components/assetcard/stories/template.js
index 1b44be4e568..864fcd951b7 100644
--- a/components/assetcard/stories/template.js
+++ b/components/assetcard/stories/template.js
@@ -8,6 +8,9 @@ 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
index f208227f90e..63115538f15 100644
--- a/components/assetcard/themes/express.css
+++ b/components/assetcard/themes/express.css
@@ -11,10 +11,12 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-AssetCard {
- --spectrum-assetcard-overlay-background-color: rgba(109, 115, 246, 20%);
+ --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
new file mode 100644
index 00000000000..f38045fb758
--- /dev/null
+++ b/components/assetcard/themes/spectrum-two.css
@@ -0,0 +1,21 @@
+/*!
+ * 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
index 6104113334b..c3e7ef9e0a8 100644
--- a/components/assetcard/themes/spectrum.css
+++ b/components/assetcard/themes/spectrum.css
@@ -11,8 +11,15 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
+/* @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-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 ee6eaac743f..13058566c58 100644
--- a/components/assetlist/CHANGELOG.md
+++ b/components/assetlist/CHANGELOG.md
@@ -1,5 +1,248 @@
# Change Log
+## 7.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.20
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 7.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.18
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 7.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 7.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 7.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 7.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 7.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 7.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 7.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 7.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 7.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 7.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 7.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 7.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 7.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 7.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 6.4.0
### Minor Changes
@@ -20,6 +263,17 @@
### Patch Changes
+- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
+ - @spectrum-css/tokens@14.5.0
+
+## 6.3.0
+
+### Minor Changes
+
+- [#3264](https://github.com/adobe/spectrum-css/pull/3264) [`fc815ec`](https://github.com/adobe/spectrum-css/commit/fc815ec1eee63718e1f6441aedcfd7e25bb81c00) Thanks [@cdransf](https://github.com/cdransf)! - Resolves a linting violation in the assetlist component by moving forced-color-adjust after token declarations.
+
+### Patch Changes
+
- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
- @spectrum-css/tokens@14.5.0
diff --git a/components/assetlist/index.css b/components/assetlist/index.css
index f51b8bb04ac..742070edbd4 100644
--- a/components/assetlist/index.css
+++ b/components/assetlist/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-AssetList {
--spectrum-assetlist-width: 272px;
@@ -26,8 +26,6 @@
--spectrum-assetlist-item-animation: var(--spectrum-animation-duration-100);
--spectrum-assetlist-item-font-size: var(--spectrum-font-size-100);
--spectrum-assetlist-item-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-assetlist-item-background-color-down: var(--spectrum-gray-300);
- --spectrum-assetlist-item-background-color-hover: var(--spectrum-gray-200);
/* thumbnail */
--spectrum-assetlist-thumbnail-width: var(--spectrum-spacing-400);
@@ -38,15 +36,13 @@
--spectrum-assetlist-item-label-padding-inline-start: var(--spectrum-spacing-100);
--spectrum-assetlist-label-color: var(--spectrum-neutral-content-color-default);
- &:dir(rtl) {
- --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0);
- }
-}
-
-.spectrum-AssetList {
margin-block-start: 0;
margin-block-end: 0;
padding: 0;
+
+ &:dir(rtl) {
+ --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0);
+ }
}
.spectrum-AssetList-item {
@@ -161,7 +157,7 @@
.spectrum-AssetList-itemChildIndicator {
display: none;
transition: transform ease var(--mod-assetlist-child-indicator-animation, var(--spectrum-assetlist-child-indicator-animation));
- transform: var(--spectrum-logical-rotation);
+ transform: var(--spectrum-logical-rotation,);
}
.spectrum-AssetList-itemLabel {
diff --git a/components/assetlist/metadata/metadata.json b/components/assetlist/metadata/metadata.json
index 2de86c31204..6aa102a6dc1 100644
--- a/components/assetlist/metadata/metadata.json
+++ b/components/assetlist/metadata/metadata.json
@@ -82,8 +82,8 @@
"global": [
"--spectrum-animation-duration-100",
"--spectrum-font-size-100",
+ "--spectrum-gray-100",
"--spectrum-gray-200",
- "--spectrum-gray-300",
"--spectrum-logical-rotation",
"--spectrum-neutral-content-color-default",
"--spectrum-regular-font-weight",
@@ -93,7 +93,10 @@
"--spectrum-spacing-600",
"--spectrum-spacing-75"
],
- "system-theme": [],
+ "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/package.json b/components/assetlist/package.json
index 85243216f1b..40a147a5bbe 100644
--- a/components/assetlist/package.json
+++ b/components/assetlist/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/assetlist",
- "version": "6.4.0",
+ "version": "7.0.0-s2-foundations.16",
"description": "The Spectrum CSS assetlist component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,19 +21,21 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/checkbox": ">=9",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/checkbox": {
diff --git a/components/assetlist/stories/template.js b/components/assetlist/stories/template.js
index e126ff1ec8a..96d8f75a80c 100644
--- a/components/assetlist/stories/template.js
+++ b/components/assetlist/stories/template.js
@@ -7,6 +7,9 @@ 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",
@@ -21,7 +24,7 @@ export const AssetListItem = ({
isSelected = false,
isBranch = false,
onclick = () => {},
-}) => html`
+} = {}, context = {}) => html`
html` `
@@ -50,7 +53,7 @@ export const AssetListItem = ({
iconName,
setName: iconSet,
customClasses: [`${rootClass}Thumbnail`],
- })
+ }, context)
)}
${when(label, () => html`${label} `)}
${when(!isSelectable && !isBranch, () =>
@@ -60,13 +63,13 @@ export const AssetListItem = ({
ariaLabelledby,
id: checkboxId,
customClasses: [`${rootClass}Selector`],
- }))}
+ }, context))}
${when(isBranch, () =>
Icon({
iconName: "ChevronRight100",
setName: "ui",
customClasses: [`${rootClass}ChildIndicator`],
- })
+ }, context)
)}
`;
diff --git a/components/assetlist/themes/express.css b/components/assetlist/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/assetlist/themes/express.css
+++ b/components/assetlist/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/assetlist/themes/spectrum-two.css b/components/assetlist/themes/spectrum-two.css
new file mode 100644
index 00000000000..0624623caf5
--- /dev/null
+++ b/components/assetlist/themes/spectrum-two.css
@@ -0,0 +1,19 @@
+/*!
+ * 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
index 3b48a570c21..30f67757c2e 100644
--- a/components/assetlist/themes/spectrum.css
+++ b/components/assetlist/themes/spectrum.css
@@ -10,3 +10,14 @@
* 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/CHANGELOG.md b/components/avatar/CHANGELOG.md
index cd846053522..23fbf6090c1 100644
--- a/components/avatar/CHANGELOG.md
+++ b/components/avatar/CHANGELOG.md
@@ -1,5 +1,210 @@
# Change Log
+## 8.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 8.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 8.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 8.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 8.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 8.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 8.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 8.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 8.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 8.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 8.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 8.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 8.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 8.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 8.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 8.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 8.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 7.3.0
### Minor Changes
diff --git a/components/avatar/index.css b/components/avatar/index.css
index f79c6bd27bb..58293be8aa8 100644
--- a/components/avatar/index.css
+++ b/components/avatar/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Avatar {
--spectrum-avatar-color-opacity: 1;
@@ -98,7 +98,7 @@
opacity: var(--mod-avatar-color-opacity, var(--spectrum-avatar-color-opacity));
&.is-disabled {
- opacity: var(--highcontrast-avatar-color-opacity-disabled, var(--mod-avatar-color-opacity-disabled, var(--spectrum-avatar-color-opacity-disabled)));
+ opacity: var(--mod-avatar-color-opacity-disabled, var(--spectrum-avatar-color-opacity-disabled));
}
}
diff --git a/components/avatar/metadata/metadata.json b/components/avatar/metadata/metadata.json
index 856050ffc2b..47df733191c 100644
--- a/components/avatar/metadata/metadata.json
+++ b/components/avatar/metadata/metadata.json
@@ -54,8 +54,5 @@
],
"system-theme": [],
"passthroughs": [],
- "high-contrast": [
- "--highcontrast-avatar-color-opacity-disabled",
- "--highcontrast-avatar-focus-indicator-color"
- ]
+ "high-contrast": ["--highcontrast-avatar-focus-indicator-color"]
}
diff --git a/components/avatar/package.json b/components/avatar/package.json
index df70e495604..3ecc6b4210f 100644
--- a/components/avatar/package.json
+++ b/components/avatar/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/avatar",
- "version": "7.3.0",
+ "version": "8.0.0-s2-foundations.16",
"description": "The Spectrum CSS avatar component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/avatar/stories/avatar.mdx b/components/avatar/stories/avatar.mdx
deleted file mode 100644
index f25de9a1cf6..00000000000
--- a/components/avatar/stories/avatar.mdx
+++ /dev/null
@@ -1,64 +0,0 @@
-import {
- ArgTypes,
- Canvas,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-import * as AvatarStories from "./avatar.stories";
-
-
-
-
-
-
-
-
-
-
-
-## Sizes
-
-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`
-
-
-
-## No Link
-
-An avatar image is wrapped in a link that uses the `.spectrum-Avatar-link` class by default, however, an avatar may also be used without a link.
-
-
-
-## Disabled
-
-When disabled, the avatar should only be used without a link.
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/avatar/stories/avatar.stories.js b/components/avatar/stories/avatar.stories.js
index 0c40951b2a4..3f87e56e02b 100644
--- a/components/avatar/stories/avatar.stories.js
+++ b/components/avatar/stories/avatar.stories.js
@@ -7,12 +7,7 @@ import { AvatarGroup } from "./avatar.test.js";
import { Template } from "./template.js";
/**
- * An image representing a user. Note that a div wrapper is required for avatar:
- * ```
- *
- *
- *
- * ```
+ * An image representing a user.
*/
export default {
title: "Avatar",
@@ -58,28 +53,56 @@ export default {
altText: "Shantanu",
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=19100-131",
+ },
packageJson,
metadata,
},
- tags: ["!autodocs"],
};
+/**
+ * Note that a `div` wrapper is required for avatar:
+ * ```
+ *
+ *
+ *
+ * ```
+ */
export const Default = AvatarGroup.bind({});
Default.args = {};
// ********* DOCS ONLY ********* //
-export const SizeOptions = (args, context) => Sizes({
+/** 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`
+*/
+export const Sizing = (args, context) => Sizes({
Template,
withHeading: false,
withBorder: false,
...args
}, context);
-SizeOptions.tags = ["!dev"];
-SizeOptions.args = Default.args;
-SizeOptions.parameters = {
+Sizing.tags = ["!dev"];
+Sizing.args = Default.args;
+Sizing.parameters = {
chromatic: { disableSnapshot: true },
};
+/**
+ * An avatar image is wrapped in a link that uses the `.spectrum-Avatar-link` class by default, however, an avatar may also be used without a link.
+ */
export const NoLink = Template.bind({});
NoLink.tags = ["!dev"];
NoLink.args = {
@@ -90,7 +113,10 @@ NoLink.args = {
NoLink.parameters = {
chromatic: { disableSnapshot: true },
};
+NoLink.storyName = "No link";
+/**
+ * When disabled, the avatar should only be used without a link.*/
export const Disabled = Template.bind({});
Disabled.tags = ["!dev"];
Disabled.args = {
diff --git a/components/avatar/stories/avatar.test.js b/components/avatar/stories/avatar.test.js
index 870ea74c0d0..35536a2e46f 100644
--- a/components/avatar/stories/avatar.test.js
+++ b/components/avatar/stories/avatar.test.js
@@ -10,6 +10,7 @@ export const AvatarGroup = Variants({
}, {
testHeading: "Disabled",
isDisabled: true,
+ hasLink: false,
}, {
testHeading: "Focused",
isFocused: true,
diff --git a/components/avatar/stories/template.js b/components/avatar/stories/template.js
index ff83e599c37..e62d412d965 100644
--- a/components/avatar/stories/template.js
+++ b/components/avatar/stories/template.js
@@ -5,6 +5,9 @@ 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-Avatar",
diff --git a/components/avatar/themes/express.css b/components/avatar/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/avatar/themes/express.css
+++ b/components/avatar/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/avatar/themes/spectrum-two.css b/components/avatar/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/avatar/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/avatar/themes/spectrum.css b/components/avatar/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/avatar/themes/spectrum.css
+++ b/components/avatar/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/badge/CHANGELOG.md b/components/badge/CHANGELOG.md
index 681787a9b23..9c555b4e9d1 100644
--- a/components/badge/CHANGELOG.md
+++ b/components/badge/CHANGELOG.md
@@ -1,5 +1,231 @@
# Change Log
+## 5.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 5.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 5.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 5.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 5.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 5.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 5.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 5.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 5.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 5.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 5.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 5.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 5.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 5.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 5.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 5.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 5.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 4.3.0
### Minor Changes
@@ -19,6 +245,17 @@
### Patch Changes
+- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
+ - @spectrum-css/tokens@14.5.0
+
+## 4.2.0
+
+### Minor Changes
+
+- [#3265](https://github.com/adobe/spectrum-css/pull/3265) [`31fdc3b`](https://github.com/adobe/spectrum-css/commit/31fdc3b7f9d0a09baf03f8675bbf4b418744db47) Thanks [@cdransf](https://github.com/cdransf)! - Assigns CanvasText to custom property to satisfy linting requirements.
+
+### Patch Changes
+
- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
- @spectrum-css/tokens@14.5.0
diff --git a/components/badge/index.css b/components/badge/index.css
index 3057f65316d..c43f334ea3e 100644
--- a/components/badge/index.css
+++ b/components/badge/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Badge {
/* badge styling for all t-shirt sizes and all themes */
diff --git a/components/badge/package.json b/components/badge/package.json
index d34fa1d02ef..03294a2f0ab 100644
--- a/components/badge/package.json
+++ b/components/badge/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/badge",
- "version": "4.3.0",
+ "version": "5.0.0-s2-foundations.16",
"description": "The Spectrum CSS badge component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/icon": {
diff --git a/components/badge/stories/badge.mdx b/components/badge/stories/badge.mdx
deleted file mode 100644
index e6587039ca1..00000000000
--- a/components/badge/stories/badge.mdx
+++ /dev/null
@@ -1,55 +0,0 @@
-import {
- ArgTypes,
- Canvas,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-
-import * as BadgeStories from "./badge.stories";
-
-
-
-
-
-
-
-
-
-## Default
-
-Badges can contain label, icon, or label and icon. Text wrapping is also included when a `max-width` is applied to the badge.
-
-
-
-## Semantic
-
-
-
-## Non-semantic
-
-
-
-## Fixed edge
-
-The border radius is 0 along the fixed edge of the component. The actual component position is not represented on this page.
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/badge/stories/badge.stories.js b/components/badge/stories/badge.stories.js
index 80b5abeb2ab..8815afc9d6d 100644
--- a/components/badge/stories/badge.stories.js
+++ b/components/badge/stories/badge.stories.js
@@ -1,20 +1,17 @@
+import { Sizes } from "@spectrum-css/preview/decorators/utilities.js";
import { default as IconStories } from "@spectrum-css/icon/stories/icon.stories.js";
+import { ArgGrid } from "@spectrum-css/preview/decorators";
import { disableDefaultModes } from "@spectrum-css/preview/modes";
import { size } from "@spectrum-css/preview/types";
import metadata from "../metadata/metadata.json";
import packageJson from "../package.json";
import { BadgeGroup } from "./badge.test.js";
-import { PreviewSets } from "./template.js";
+import { ContentOptions, Template } from "./template.js";
-const semanticOptions = ["neutral", "accent", "informative", "positive", "negative"];
-const nonSemanticOptions = ["gray", "red", "orange", "yellow", "chartreuse", "celery", "green", "seafoam", "cyan", "blue", "indigo", "purple", "fuchsia", "magenta"];
-const fixedOptions = ["none", "fixed-inline-start", "fixed-inline-end", "fixed-block-start", "fixed-block-end"];
/**
* A badge element displays a small amount of color-categorized metadata; ideal for getting a user's attention. Some notes about badge:
- * - Badge t-shirt sizes correspond to icon sizes
- * - Label and icon elements must be nested inside a parent container of class .spectrum-Badge in order to achieve the correct layout and wrapping behavior.
- * - Layout of Badge is applied with a display of `inline-flex`, allowing badge to display as inline while the child elements for the label and icon utilize flexbox for layout.
- * - Fixed positioning impacts the border radius of the badge component
+ * - Label and icon elements must be nested inside a parent container of class `.spectrum-Badge` in order to achieve the correct layout and wrapping behavior.
+ * - The layout of badge is achieved by applying a display of `inline-flex`, allowing badge to display as inline, while the label and/or icon child elements can utilize flexbox for layout.
*/
export default {
title: "Badge",
@@ -36,13 +33,14 @@ export default {
},
iconSet: { table: { disable: true } },
variant: {
- name: "Background color variants",
+ name: "Variants",
+ description: "Changes the badge's background color. The variant list includes both semantic and non-semantic options.",
type: { name: "string" },
table: {
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: {
@@ -52,7 +50,7 @@ export default {
type: { summary: "string" },
category: "Advanced",
},
- options: fixedOptions,
+ options: ["none", "fixed-inline-start", "fixed-inline-end", "fixed-block-start", "fixed-block-end"],
control: "select",
},
},
@@ -64,12 +62,18 @@ export default {
fixed: "none"
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=36806-6551",
+ },
packageJson,
metadata,
},
- tags: ["!autodocs"],
};
+/**
+ * Badges can contain label, icon, or label and icon. Text wrapping is also included when a `max-inline-size` is applied to the badge.
+ */
export const Default = BadgeGroup.bind({});
Default.args = {
iconName: "Info",
@@ -77,23 +81,65 @@ Default.args = {
};
// ********* DOCS ONLY ********* //
-export const SemanticVariants = (args, context) => PreviewSets(semanticOptions, args, context);
+export const SemanticVariants = (args, context) => ArgGrid({
+ Template,
+ argKey: "variant",
+ options: ["neutral", "accent", "informative", "positive", "negative", "notice"],
+ withBorder: false,
+ ...args,
+}, context);
+SemanticVariants.args = Default.args;
SemanticVariants.tags = ["!dev"];
SemanticVariants.parameters = {
chromatic: { disableSnapshot: true },
};
+SemanticVariants.storyName = "Semantic";
-export const NonSemanticVariants = (args, context) => PreviewSets(nonSemanticOptions, args, context);
+export const NonSemanticVariants = (args, context) => ArgGrid({
+ Template,
+ argKey: "variant",
+ options: ["gray", "red", "orange", "yellow", "chartreuse", "celery", "green", "seafoam", "cyan", "blue", "indigo", "purple", "fuchsia", "magenta"],
+ withBorder: false,
+ ...args,
+}, context);
+NonSemanticVariants.args = Default.args;
NonSemanticVariants.tags = ["!dev"];
NonSemanticVariants.parameters = {
chromatic: { disableSnapshot: true },
};
+NonSemanticVariants.storyName = "Non-semantic";
-export const FixedVariants = (args, context) => PreviewSets(fixedOptions, args, context);
+/**
+ * Fixed positioning impacts the border radius of the badge component. The border radius is 0 along the fixed edge of the component. The actual component position is not represented on this page.
+ */
+export const FixedVariants = (args, context) => ArgGrid({
+ Template,
+ argKey: "fixed",
+ options: ["none", "fixed-inline-start", "fixed-inline-end", "fixed-block-start", "fixed-block-end"],
+ withBorder: false,
+ ...args,
+}, context);
+FixedVariants.args = Default.args;
FixedVariants.tags = ["!dev"];
FixedVariants.parameters = {
chromatic: { disableSnapshot: true },
};
+FixedVariants.storyName = "Fixed-edge";
+
+/**
+ * Badge t-shirt sizes correspond to icon sizes.
+ */
+export const Sizing = (args, context) => Sizes({
+ Template: ContentOptions,
+ withBorder: false,
+ withHeading: false,
+ ...args,
+}, context);
+Sizing.args = Default.args;
+Sizing.parameters = {
+ chromatic: { disableSnapshot: true },
+};
+Sizing.tags = ["!dev"];
// ********* VRT ONLY ********* //
export const WithForcedColors = BadgeGroup.bind({});
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/badge/stories/template.js b/components/badge/stories/template.js
index bcaba993269..529d9328a1b 100644
--- a/components/badge/stories/template.js
+++ b/components/badge/stories/template.js
@@ -1,3 +1,4 @@
+import { Container } from "@spectrum-css/preview/decorators";
import { Template as Icon } from "@spectrum-css/icon/stories/template.js";
import { getRandomId } from "@spectrum-css/preview/decorators";
import { html } from "lit";
@@ -5,9 +6,11 @@ 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 } from "lodash-es";
import "../index.css";
+import "../themes/spectrum.css";
+/* Must be imported last */
+import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-Badge",
@@ -20,53 +23,43 @@ export const Template = ({
customStyles = {},
customClasses = [],
id = getRandomId("badge"),
-}) => html`
- ({ ...a, [c]: true }), {}),
- })}
- id=${ifDefined(id)}
- style=${styleMap(customStyles)}
- >
- ${when(iconName, () =>
- Icon({
- iconName,
- setName: iconSet,
- customClasses: [
- ...(typeof label === "undefined"
- ? [`${rootClass}-icon--no-label`]
- : []),
- `${rootClass}-icon`,
- ],
- })
- )}
- ${when(label, () => html`
${label}
`)}
-
-`;
+} = {}, context = {}) => {
+ return html`
+ ({ ...a, [c]: true }), {}),
+ })}
+ id=${ifDefined(id)}
+ style=${styleMap(customStyles)}
+ >
+ ${when(iconName, () =>
+ Icon({
+ iconName,
+ setName: iconSet,
+ customClasses: [
+ ...(typeof label === "undefined"
+ ? [`${rootClass}-icon--no-label`]
+ : []),
+ `${rootClass}-icon`,
+ ],
+ }, context),
+ )}
+ ${when(label, () => html`
${label}
`)}
+
+ `;
+};
-export const PreviewSets = (variants, args, context) => html`
-
- ${variants.map((variant) => html`
-
- ${Template({ ...args, variant, label: capitalize(variant) }, context)}
-
- `)}
-
-`;
+/* Displays icon-only, text-only, and icon-and-text badge options. */
+export const ContentOptions = (args, context) => Container({
+ withBorder: false,
+ content: [
+ Template(args, context),
+ Template({ ...args, iconName: undefined }, context),
+ Template({ ...args, label: undefined }, context),
+ ]
+});
diff --git a/components/badge/themes/express.css b/components/badge/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/badge/themes/express.css
+++ b/components/badge/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/badge/themes/spectrum-two.css b/components/badge/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/badge/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/badge/themes/spectrum.css b/components/badge/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/badge/themes/spectrum.css
+++ b/components/badge/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/breadcrumb/CHANGELOG.md b/components/breadcrumb/CHANGELOG.md
index c9868aeeadc..4803b7493f6 100644
--- a/components/breadcrumb/CHANGELOG.md
+++ b/components/breadcrumb/CHANGELOG.md
@@ -1,5 +1,250 @@
# Change Log
+## 10.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.24
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 10.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.21
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 10.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.20
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 10.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.18
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 10.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.13
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 10.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 10.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 10.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 10.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 10.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 10.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2886](https://github.com/adobe/spectrum-css/pull/2886) [`a01ac07`](https://github.com/adobe/spectrum-css/commit/a01ac075ae227574628f72b4c0fe61f1f53792c5) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)! - Ensures disabled breadrumb items behave as expected. They are conditionally left out of tab order depending on their `isDisabled` value. Uses [aria-disabled="true"] and applies `is-disabled` class to `.spectrum-Breadcrumb-itemLink`.
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 10.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 10.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 10.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 10.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 10.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 10.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 9.2.0
### Minor Changes
diff --git a/components/breadcrumb/index.css b/components/breadcrumb/index.css
index cbe9f7bfcdd..22eeb22fd1f 100644
--- a/components/breadcrumb/index.css
+++ b/components/breadcrumb/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Breadcrumbs {
/* block size */
diff --git a/components/breadcrumb/package.json b/components/breadcrumb/package.json
index 9571b8a06f8..8dec42e8bbc 100644
--- a/components/breadcrumb/package.json
+++ b/components/breadcrumb/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/breadcrumb",
- "version": "9.2.0",
+ "version": "10.0.0-s2-foundations.16",
"description": "The Spectrum CSS breadcrumb component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,19 +21,21 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=6",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/actionbutton": {
diff --git a/components/breadcrumb/stories/breadcrumb.stories.js b/components/breadcrumb/stories/breadcrumb.stories.js
index 99377515b37..85672637df2 100644
--- a/components/breadcrumb/stories/breadcrumb.stories.js
+++ b/components/breadcrumb/stories/breadcrumb.stories.js
@@ -41,6 +41,10 @@ export default {
variant: "default",
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=29434-6624",
+ },
packageJson,
metadata,
},
diff --git a/components/breadcrumb/stories/template.js b/components/breadcrumb/stories/template.js
index 3ebf606e5e0..1f1670d7350 100644
--- a/components/breadcrumb/stories/template.js
+++ b/components/breadcrumb/stories/template.js
@@ -6,80 +6,84 @@ 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-Breadcrumbs",
- customClasses = [],
- items = [],
- variant,
- isDragged = false,
- } = {},
- context = {},
-) => html`
-
- ({ ...a, [c]: true }), {}),
- })}
- >
- ${items.map((item, idx, arr) => {
- const { label, isDisabled, iconName, iconSet } = item;
- return html`
- ${when(
- iconName,
- () =>
- ActionButton(
+export const Template = ({
+ rootClass = "spectrum-Breadcrumbs",
+ customClasses = [],
+ items = [],
+ variant,
+ isDragged = false,
+} = {}, context = {}) => {
+ return html`
+
+ ({ ...a, [c]: true }), {}),
+ })}
+ >
+ ${items.map((item, idx, arr) => {
+ const { label, isDisabled, iconName, iconSet } = item;
+ return html`
+ ${when(
+ iconName,
+ () =>
+ ActionButton(
+ {
+ iconName,
+ iconSet,
+ isDisabled,
+ isQuiet: true,
+ customIconClasses: [`${rootClass}-folder`],
+ size: "m",
+ },
+ context,
+ ),
+ () =>
+ when(
+ idx !== arr.length - 1,
+ () =>
+ html`
+ ${label}
+
`,
+ () =>
+ html`${label} `,
+ ),
+ )}
+ ${when(idx !== arr.length - 1, () =>
+ Icon(
{
- iconName,
- iconSet,
- isDisabled,
- isQuiet: true,
- customIconClasses: [`${rootClass}-folder`],
- size: "m",
+ iconName: "ChevronRight100",
+ setName: "ui",
+ customClasses: [`${rootClass}-itemSeparator`],
},
context,
),
- () =>
- when(
- idx !== arr.length - 1,
- () =>
- html`
- ${label}
-
`,
- () =>
- html`${label} `,
- ),
- )}
- ${when(idx !== arr.length - 1, () =>
- Icon(
- {
- iconName: "ChevronRight100",
- setName: "ui",
- customClasses: [`${rootClass}-itemSeparator`],
- },
- context,
- ),
- )}
- `;
- })}
-
-
-`;
+ )}
+ `;
+ })}
+
+
+ `;
+};
diff --git a/components/breadcrumb/themes/express.css b/components/breadcrumb/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/breadcrumb/themes/express.css
+++ b/components/breadcrumb/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/breadcrumb/themes/spectrum-two.css b/components/breadcrumb/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/breadcrumb/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/breadcrumb/themes/spectrum.css b/components/breadcrumb/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/breadcrumb/themes/spectrum.css
+++ b/components/breadcrumb/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/button/CHANGELOG.md b/components/button/CHANGELOG.md
index ecb209a8315..748dd2267d6 100644
--- a/components/button/CHANGELOG.md
+++ b/components/button/CHANGELOG.md
@@ -1,5 +1,271 @@
# Change Log
+## 14.0.0-s2-foundations.19
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 14.0.0-s2-foundations.18
+
+### Minor Changes
+
+- [#3197](https://github.com/adobe/spectrum-css/pull/3197) [`1eac198`](https://github.com/adobe/spectrum-css/commit/1eac198754ca1e60f96a64c7cf5e7c7a4758b1f3) Thanks [@cdransf](https://github.com/cdransf)! - Replaces all of occurrences of --spectrum-component-pill-edge-to-text-_ (intended to be used as padding) in the button component with the appropriate corner-radius-_ tokens.
+
+## 14.0.0-s2-foundations.17
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 14.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 14.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.13
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 14.0.0-s2-foundations.14
+
+### Minor Changes
+
+- [#3049](https://github.com/adobe/spectrum-css/pull/3049) [`db528ce`](https://github.com/adobe/spectrum-css/commit/db528ce0a6f7d817e6124604014faf9f4accfc1e) Thanks [@TarunAdobe](https://github.com/TarunAdobe)! - updated content color for button primary variant and fixes swc-342
+
+### Patch Changes
+
+- Updated dependencies [[`db528ce`](https://github.com/adobe/spectrum-css/commit/db528ce0a6f7d817e6124604014faf9f4accfc1e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.20
+
+## 14.0.0-s2-foundations.13
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0da23e5`](https://github.com/adobe/spectrum-css/commit/0da23e5aee4c2f6298e9690a8c8db9bbe11243f8) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-315]: Static white button mods should be applied at component level
+
+## 14.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 14.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 14.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 14.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 14.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 14.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 14.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 14.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 14.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 14.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 14.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 14.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 14.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 13.5.0
### Minor Changes
diff --git a/components/button/index.css b/components/button/index.css
index 15863a93d42..6168e0cf939 100644
--- a/components/button/index.css
+++ b/components/button/index.css
@@ -11,239 +11,433 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
@import "@spectrum-css/commons/basebutton.css";
+@import "./themes/spectrum-two.css";
-/* default for all buttons */
-.spectrum-Button {
- --spectrum-button-animation-duration: var(--spectrum-animation-duration-100);
- --spectrum-button-border-radius: calc(var(--spectrum-button-height) / 2);
- --spectrum-button-border-width: var(--spectrum-border-width-200);
- --spectrum-button-line-height: 1.2; /* Hack to keep buttons at 32px */
-
- --spectrum-button-focus-ring-gap: var(--spectrum-focus-indicator-gap);
- --spectrum-button-focus-ring-border-radius: calc(var(--spectrum-button-border-radius) + var(--spectrum-button-focus-ring-gap));
- --spectrum-button-focus-ring-thickness: var(--spectrum-focus-indicator-thickness);
- --spectrum-button-focus-indicator-color: var(--spectrum-focus-indicator-color);
- --spectrum-button-intended-icon-size: var(--spectrum-workflow-icon-size-50);
-
- --mod-progress-circle-position: absolute;
+.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-intended-icon-size: var(--spectrum-workflow-icon-size-100);
}
.spectrum-Button--sizeS {
- --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(--spectrum-button-border-width));
- --spectrum-button-edge-to-visual-only: var(--spectrum-component-pill-edge-to-visual-only-75);
- --spectrum-button-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-75) - 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-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-intended-icon-size: var(--spectrum-workflow-icon-size-75);
}
-.spectrum-Button--sizeM {
- --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-font-size: var(--spectrum-font-size-100);
-
- --spectrum-button-edge-to-visual: calc(var(--spectrum-component-pill-edge-to-visual-100) - var(--spectrum-button-border-width));
- --spectrum-button-edge-to-visual-only: var(--spectrum-component-pill-edge-to-visual-only-100);
- --spectrum-button-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-100) - 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);
-}
-
.spectrum-Button--sizeL {
- --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(--spectrum-button-border-width));
- --spectrum-button-edge-to-visual-only: var(--spectrum-component-pill-edge-to-visual-only-200);
- --spectrum-button-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-200) - 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-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-intended-icon-size: var(--spectrum-workflow-icon-size-200);
}
.spectrum-Button--sizeXL {
- --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(--spectrum-button-border-width));
- --spectrum-button-edge-to-visual-only: var(--spectrum-component-pill-edge-to-visual-only-300);
- --spectrum-button-edge-to-text: calc(var(--spectrum-component-pill-edge-to-text-300) - 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-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-intended-icon-size: var(--spectrum-workflow-icon-size-300);
}
+/* default for all buttons */
.spectrum-Button {
- @extend %spectrum-BaseButton;
- @extend %spectrum-ButtonWithFocusRing;
+ &.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);
+ }
+ }
- 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(--mod-button-font-size, var(--spectrum-button-font-size));
- font-weight: var(--mod-bold-font-weight, var(--spectrum-bold-font-weight));
- gap: var(--mod-button-padding-label-to-icon, var(--spectrum-button-padding-label-to-icon));
- max-inline-size: var(--mod-button-max-inline-size, none);
- min-inline-size: var(--mod-button-min-width, var(--spectrum-button-min-width));
- min-block-size: var(--mod-button-height, var(--spectrum-button-height));
+ &.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--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);
+ }
+ }
- /* Start with text-only padding */
- padding-block: 0;
- padding-inline: var(--mod-button-edge-to-text, var(--spectrum-button-edge-to-text));
- position: relative;
+ &.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);
+
+ --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;
+ --mod-button-content-color-disabled: var(--spectrum-disabled-content-color);
+
+ &.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);
+ }
+ }
- /* let staticColor variants inherit their color */
- color: inherit;
+ &.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-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-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--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);
+ }
+ }
- margin-block: var(--mod-button-margin-block);
- margin-inline-end: var(--mod-button-margin-right);
- margin-inline-start: var(--mod-button-margin-left);
+ &.spectrum-Button--secondary {
+ --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-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--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);
+ }
+ }
- &:hover,
- &:active {
- box-shadow: none;
+ &.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);
+
+ --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-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, var(--spectrum-button-intended-icon-size) - var(--spectrum-icon-block-size, var(--spectrum-button-intended-icon-size)));
+ &.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;
+
+ &.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);
+
+ --mod-button-border-color-disabled: transparent;
+ }
- 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(--_icon-size-difference, 0px) / 2)));
+ &.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;
+ }
- 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;
- }
+ &.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;
- /* correct focus indicator radius for t-shirt sizing */
- &::after {
- border-radius: calc(var(--mod-button-border-radius, var(--spectrum-button-border-radius)) + var(--mod-focus-indicator-gap, var(--spectrum-focus-indicator-gap)));
+ --mod-button-border-color-disabled: transparent;
+ }
}
- &.spectrum-Button--iconOnly {
- min-inline-size: unset;
- padding: calc(var(--mod-button-edge-to-visual-only, var(--spectrum-button-edge-to-visual-only)) - var(--mod-button-border-width, var(--spectrum-button-border-width)));
- border-radius: 50%;
+ &.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-Icon {
- align-self: center;
- margin-inline-start: 0;
- margin-block-start: 0;
+ &.spectrum-Button--secondary:not(.spectrum-Button--outline) {
+ --mod-button-background-color-disabled: var(--spectrum-disabled-static-white-background-color);
}
- &::after {
- border-radius: 50%;
+ &.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);
}
}
-}
-a.spectrum-Button {
- @extend %spectrum-AnchorButton;
-}
-
-.spectrum-Button-label {
- @extend %spectrum-ButtonLabel;
- 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--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 .spectrum-Icon + .spectrum-Button-label {
- text-align: var(--mod-button-text-align-with-icon, start);
-}
+ &.spectrum-Button--secondary:not(.spectrum-Button--outline) {
+ --mod-button-background-color-disabled: var(--spectrum-disabled-static-black-background-color);
+ }
-.spectrum-Button {
- &:focus-visible,
- &.is-focused {
- &::after {
- box-shadow: 0 0 0 var(--mod-button-focus-ring-thickness, var(--spectrum-button-focus-ring-thickness)) var(--mod-button-focus-ring-color, var(--spectrum-button-focus-indicator-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--quiet,
+ &.spectrum-Button--outline {
+ --mod-button-background-color-default: transparent;
+ --mod-button-background-color-disabled: transparent;
+ }
}
-/* Special cases for focus indicator */
.spectrum-Button {
- transition: border-color var(--mod-button-animation-duration, var(--spectrum-button-animation-duration)) ease-in-out;
+ --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)));
- &::after {
- position: absolute;
- inset: 0;
- 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, var(--spectrum-button-focus-ring-border-radius));
- transition: box-shadow var(--mod-button-animation-duration, var(--spectrum-button-animation-duration)) ease-in-out;
- pointer-events: none;
- content: "";
- }
+ --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));
- &:focus-visible {
- /* Remove the default focus outline */
- box-shadow: none;
- outline: none;
+ --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));
- &::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(--mod-button-focus-ring-color, var(--spectrum-button-focus-indicator-color))));
- }
- }
-}
+ --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;
-/* Core Token Theming */
-/* former skin.css, applied / copied from actionbutton/index.css */
-.spectrum-Button {
@extend %spectrum-BaseButton;
+ @extend %spectrum-ButtonWithFocusRing;
+
+ border-radius: var(--spectrum-button-border-radius);
+ 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 */
+ padding-block: 0;
+ padding-inline: var(--spectrum-button-edge-to-text);
+ position: relative;
+
+
+ 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)));
- color: var(--highcontrast-button-content-color-default, var(--mod-button-content-color-default, var(--spectrum-button-content-color-default)));
+
+ /* let staticColor variants inherit their color */
+ color: var(--spectrum-button-content-color-default, inherit);
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;
+ 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;
+
+ &.spectrum-Button--outline {
+ background-color: transparent;
+ }
+
+ &::after {
+ 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;
+ pointer-events: none;
+ content: "";
+
+ /* correct focus indicator radius for t-shirt sizing */
+ border-radius: calc(var(--spectrum-button-border-radius) + var(--spectrum-focus-indicator-gap));
+ }
&: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(--highcontrast-button-content-color-hover, var(--mod-button-content-color-hover, var(--spectrum-button-content-color-hover)));
+ color: var(--spectrum-button-content-color-hover);
+ box-shadow: none;
}
&: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(--highcontrast-button-content-color-focus, var(--mod-button-content-color-focus, var(--spectrum-button-content-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);
+ }
}
&: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(--highcontrast-button-content-color-down, var(--mod-button-content-color-down, var(--spectrum-button-content-color-down)));
+ color: var(--spectrum-button-content-color-down);
+ box-shadow: none;
}
&:disabled,
@@ -252,22 +446,22 @@ a.spectrum-Button {
&.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(--highcontrast-button-content-color-disabled, var(--mod-button-content-color-disabled, var(--spectrum-button-content-color-disabled)));
+ color: var(--spectrum-button-content-color-disabled);
}
.spectrum-Icon,
.spectrum-Button-label {
visibility: visible;
opacity: 1;
- transition: opacity var(--mod-button-animation-duration, var(--spectrum-button-animation-duration, 130ms)) ease-in-out;
+ transition: opacity var(--spectrum-button-animation-duration, 130ms) ease-in-out;
}
.spectrum-ProgressCircle {
visibility: hidden;
opacity: 0;
transition:
- 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));
+ opacity var(--spectrum-button-animation-duration, 130ms) ease-in-out,
+ visibility 0ms linear var(--spectrum-button-animation-duration, 130ms);
}
&[pending],
@@ -279,35 +473,69 @@ a.spectrum-Button {
visibility: hidden;
opacity: 0;
transition:
- 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));
+ opacity var(--spectrum-button-animation-duration, 130ms) ease-in-out,
+ visibility 0ms linear var(--spectrum-button-animation-duration, 130ms);
}
.spectrum-ProgressCircle {
visibility: visible;
opacity: 1;
- transition: opacity var(--mod-button-animation-duration, var(--spectrum-button-animation-duration, 130ms)) ease-in-out;
+ transition: opacity var(--spectrum-button-animation-duration, 130ms) ease-in-out;
}
}
-}
-/* Disable button label wrap */
-.spectrum-Button--noWrap {
- .spectrum-Button-label {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
+ .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%;
+ }
+ }
-/* Static color variants */
-.spectrum-Button--staticWhite {
- --spectrum-button-focus-indicator-color: var(--mod-static-black-focus-indicator-color, var(--spectrum-static-black-focus-indicator-color));
+ .spectrum-Icon + .spectrum-Button-label {
+ text-align: var(--mod-button-text-align-with-icon, start);
+ }
}
-.spectrum-Button--staticBlack {
- --spectrum-button-focus-indicator-color: var(--mod-static-black-focus-indicator-color, var(--spectrum-static-black-focus-indicator-color));
+a.spectrum-Button {
+ @extend %spectrum-AnchorButton;
+}
+
+.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);
+ align-self: start;
+ text-align: var(--mod-button-text-align, center);
+
+ /* Disable button label wrap */
+ .spectrum-Button--noWrap & {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ }
}
/* Windows High Contrast Mode */
@@ -317,17 +545,19 @@ a.spectrum-Button {
--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-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;
- --highcontrast-button-content-color-disabled: GrayText;
- --highcontrast-button-border-color-disabled: GrayText;
--mod-progress-circle-track-border-color: ButtonText;
--mod-progress-circle-track-border-color-over-background: ButtonText;
@@ -338,23 +568,27 @@ a.spectrum-Button {
forced-color-adjust: none;
}
- &:focus-visible {
- &::after {
- forced-color-adjust: none;
- box-shadow: 0 0 0 var(--mod-button-focus-ring-thickness, var(--spectrum-button-focus-ring-thickness)) ButtonText;
- }
+ &:focus-visible::after {
+ forced-color-adjust: none;
+ box-shadow: 0 0 0 var(--spectrum-button-focus-ring-thickness) ButtonText;
+ }
+
+ &.spectrum-Button--staticWhite.spectrum-Button--accent {
+ --highcontrast-button-content-color-disabled: GrayText;
}
&.spectrum-Button--accent.spectrum-Button--fill {
--highcontrast-button-background-color-default: ButtonText;
+ --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-background-color-disabled: ButtonFace;
- --highcontrast-button-background-color-hover: Highlight;
- --highcontrast-button-background-color-down: Highlight;
- --highcontrast-button-background-color-focus: Highlight;
+
--highcontrast-button-border-color-default: ButtonText;
--highcontrast-button-border-color-hover: Highlight;
--highcontrast-button-border-color-focus: Highlight;
diff --git a/components/button/metadata/metadata.json b/components/button/metadata/metadata.json
index 36c9f91aca4..9755b2b9b8f 100644
--- a/components/button/metadata/metadata.json
+++ b/components/button/metadata/metadata.json
@@ -11,8 +11,6 @@
".spectrum-Button--sizeM",
".spectrum-Button--sizeS",
".spectrum-Button--sizeXL",
- ".spectrum-Button--staticBlack",
- ".spectrum-Button--staticWhite",
".spectrum-Button-label",
".spectrum-Button-label:empty",
".spectrum-Button.is-disabled",
@@ -31,22 +29,31 @@
".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: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",
@@ -140,7 +147,6 @@
"--spectrum-button-edge-to-visual",
"--spectrum-button-edge-to-visual-only",
"--spectrum-button-focus-indicator-color",
- "--spectrum-button-focus-ring-border-radius",
"--spectrum-button-focus-ring-gap",
"--spectrum-button-focus-ring-thickness",
"--spectrum-button-font-size",
@@ -150,6 +156,15 @@
"--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",
@@ -211,12 +226,13 @@
"--spectrum-font-size-200",
"--spectrum-font-size-300",
"--spectrum-font-size-75",
+ "--spectrum-gray-100",
"--spectrum-gray-200",
"--spectrum-gray-300",
"--spectrum-gray-400",
+ "--spectrum-gray-50",
"--spectrum-gray-500",
"--spectrum-gray-600",
- "--spectrum-gray-75",
"--spectrum-gray-800",
"--spectrum-gray-900",
"--spectrum-icon-block-size",
@@ -254,338 +270,119 @@
"--spectrum-text-to-visual-200",
"--spectrum-text-to-visual-300",
"--spectrum-text-to-visual-75",
- "--spectrum-transparent-black-200",
+ "--spectrum-transparent-black-1000",
"--spectrum-transparent-black-300",
"--spectrum-transparent-black-400",
"--spectrum-transparent-black-500",
"--spectrum-transparent-black-600",
- "--spectrum-transparent-black-800",
+ "--spectrum-transparent-black-700",
"--spectrum-transparent-black-900",
- "--spectrum-transparent-white-200",
+ "--spectrum-transparent-white-1000",
"--spectrum-transparent-white-300",
"--spectrum-transparent-white-400",
"--spectrum-transparent-white-500",
- "--spectrum-transparent-white-800",
+ "--spectrum-transparent-white-600",
"--spectrum-transparent-white-900",
"--spectrum-white",
"--spectrum-workflow-icon-size-100",
"--spectrum-workflow-icon-size-200",
"--spectrum-workflow-icon-size-300",
- "--spectrum-workflow-icon-size-50",
"--spectrum-workflow-icon-size-75"
],
"system-theme": [
- "--system-spectrum-button-accent-background-color-default",
- "--system-spectrum-button-accent-background-color-disabled",
- "--system-spectrum-button-accent-background-color-down",
- "--system-spectrum-button-accent-background-color-focus",
- "--system-spectrum-button-accent-background-color-hover",
- "--system-spectrum-button-accent-border-color-default",
- "--system-spectrum-button-accent-border-color-disabled",
- "--system-spectrum-button-accent-border-color-down",
- "--system-spectrum-button-accent-border-color-focus",
- "--system-spectrum-button-accent-border-color-hover",
- "--system-spectrum-button-accent-content-color-default",
- "--system-spectrum-button-accent-content-color-disabled",
- "--system-spectrum-button-accent-content-color-down",
- "--system-spectrum-button-accent-content-color-focus",
- "--system-spectrum-button-accent-content-color-hover",
- "--system-spectrum-button-accent-outline-background-color-default",
- "--system-spectrum-button-accent-outline-background-color-disabled",
- "--system-spectrum-button-accent-outline-background-color-down",
- "--system-spectrum-button-accent-outline-background-color-focus",
- "--system-spectrum-button-accent-outline-background-color-hover",
- "--system-spectrum-button-accent-outline-border-color-default",
- "--system-spectrum-button-accent-outline-border-color-disabled",
- "--system-spectrum-button-accent-outline-border-color-down",
- "--system-spectrum-button-accent-outline-border-color-focus",
- "--system-spectrum-button-accent-outline-border-color-hover",
- "--system-spectrum-button-accent-outline-content-color-default",
- "--system-spectrum-button-accent-outline-content-color-disabled",
- "--system-spectrum-button-accent-outline-content-color-down",
- "--system-spectrum-button-accent-outline-content-color-focus",
- "--system-spectrum-button-accent-outline-content-color-hover",
- "--system-spectrum-button-background-color-default",
- "--system-spectrum-button-background-color-disabled",
- "--system-spectrum-button-background-color-down",
- "--system-spectrum-button-background-color-focus",
- "--system-spectrum-button-background-color-hover",
- "--system-spectrum-button-border-color-default",
- "--system-spectrum-button-border-color-disabled",
- "--system-spectrum-button-border-color-down",
- "--system-spectrum-button-border-color-focus",
- "--system-spectrum-button-border-color-hover",
- "--system-spectrum-button-content-color-default",
- "--system-spectrum-button-content-color-disabled",
- "--system-spectrum-button-content-color-down",
- "--system-spectrum-button-content-color-focus",
- "--system-spectrum-button-content-color-hover",
- "--system-spectrum-button-negative-background-color-default",
- "--system-spectrum-button-negative-background-color-disabled",
- "--system-spectrum-button-negative-background-color-down",
- "--system-spectrum-button-negative-background-color-focus",
- "--system-spectrum-button-negative-background-color-hover",
- "--system-spectrum-button-negative-border-color-default",
- "--system-spectrum-button-negative-border-color-disabled",
- "--system-spectrum-button-negative-border-color-down",
- "--system-spectrum-button-negative-border-color-focus",
- "--system-spectrum-button-negative-border-color-hover",
- "--system-spectrum-button-negative-content-color-default",
- "--system-spectrum-button-negative-content-color-disabled",
- "--system-spectrum-button-negative-content-color-down",
- "--system-spectrum-button-negative-content-color-focus",
- "--system-spectrum-button-negative-content-color-hover",
- "--system-spectrum-button-negative-outline-background-color-default",
- "--system-spectrum-button-negative-outline-background-color-disabled",
- "--system-spectrum-button-negative-outline-background-color-down",
- "--system-spectrum-button-negative-outline-background-color-focus",
- "--system-spectrum-button-negative-outline-background-color-hover",
- "--system-spectrum-button-negative-outline-border-color-default",
- "--system-spectrum-button-negative-outline-border-color-disabled",
- "--system-spectrum-button-negative-outline-border-color-down",
- "--system-spectrum-button-negative-outline-border-color-focus",
- "--system-spectrum-button-negative-outline-border-color-hover",
- "--system-spectrum-button-negative-outline-content-color-default",
- "--system-spectrum-button-negative-outline-content-color-disabled",
- "--system-spectrum-button-negative-outline-content-color-down",
- "--system-spectrum-button-negative-outline-content-color-focus",
- "--system-spectrum-button-negative-outline-content-color-hover",
- "--system-spectrum-button-primary-background-color-default",
- "--system-spectrum-button-primary-background-color-disabled",
- "--system-spectrum-button-primary-background-color-down",
- "--system-spectrum-button-primary-background-color-focus",
- "--system-spectrum-button-primary-background-color-hover",
- "--system-spectrum-button-primary-border-color-default",
- "--system-spectrum-button-primary-border-color-disabled",
- "--system-spectrum-button-primary-border-color-down",
- "--system-spectrum-button-primary-border-color-focus",
- "--system-spectrum-button-primary-border-color-hover",
- "--system-spectrum-button-primary-content-color-default",
- "--system-spectrum-button-primary-content-color-disabled",
- "--system-spectrum-button-primary-content-color-down",
- "--system-spectrum-button-primary-content-color-focus",
- "--system-spectrum-button-primary-content-color-hover",
- "--system-spectrum-button-primary-outline-background-color-default",
- "--system-spectrum-button-primary-outline-background-color-disabled",
- "--system-spectrum-button-primary-outline-background-color-down",
- "--system-spectrum-button-primary-outline-background-color-focus",
- "--system-spectrum-button-primary-outline-background-color-hover",
- "--system-spectrum-button-primary-outline-border-color-default",
- "--system-spectrum-button-primary-outline-border-color-disabled",
- "--system-spectrum-button-primary-outline-border-color-down",
- "--system-spectrum-button-primary-outline-border-color-focus",
- "--system-spectrum-button-primary-outline-border-color-hover",
- "--system-spectrum-button-primary-outline-content-color-default",
- "--system-spectrum-button-primary-outline-content-color-disabled",
- "--system-spectrum-button-primary-outline-content-color-down",
- "--system-spectrum-button-primary-outline-content-color-focus",
- "--system-spectrum-button-primary-outline-content-color-hover",
- "--system-spectrum-button-quiet-background-color-default",
- "--system-spectrum-button-quiet-background-color-disabled",
- "--system-spectrum-button-quiet-background-color-down",
- "--system-spectrum-button-quiet-background-color-focus",
- "--system-spectrum-button-quiet-background-color-hover",
- "--system-spectrum-button-quiet-border-color-default",
- "--system-spectrum-button-quiet-border-color-disabled",
- "--system-spectrum-button-quiet-border-color-down",
- "--system-spectrum-button-quiet-border-color-focus",
- "--system-spectrum-button-quiet-border-color-hover",
- "--system-spectrum-button-secondary-background-color-default",
- "--system-spectrum-button-secondary-background-color-disabled",
- "--system-spectrum-button-secondary-background-color-down",
- "--system-spectrum-button-secondary-background-color-focus",
- "--system-spectrum-button-secondary-background-color-hover",
- "--system-spectrum-button-secondary-border-color-default",
- "--system-spectrum-button-secondary-border-color-disabled",
- "--system-spectrum-button-secondary-border-color-down",
- "--system-spectrum-button-secondary-border-color-focus",
- "--system-spectrum-button-secondary-border-color-hover",
- "--system-spectrum-button-secondary-content-color-default",
- "--system-spectrum-button-secondary-content-color-disabled",
- "--system-spectrum-button-secondary-content-color-down",
- "--system-spectrum-button-secondary-content-color-focus",
- "--system-spectrum-button-secondary-content-color-hover",
- "--system-spectrum-button-secondary-outline-background-color-default",
- "--system-spectrum-button-secondary-outline-background-color-disabled",
- "--system-spectrum-button-secondary-outline-background-color-down",
- "--system-spectrum-button-secondary-outline-background-color-focus",
- "--system-spectrum-button-secondary-outline-background-color-hover",
- "--system-spectrum-button-secondary-outline-border-color-default",
- "--system-spectrum-button-secondary-outline-border-color-disabled",
- "--system-spectrum-button-secondary-outline-border-color-down",
- "--system-spectrum-button-secondary-outline-border-color-focus",
- "--system-spectrum-button-secondary-outline-border-color-hover",
- "--system-spectrum-button-secondary-outline-content-color-default",
- "--system-spectrum-button-secondary-outline-content-color-disabled",
- "--system-spectrum-button-secondary-outline-content-color-down",
- "--system-spectrum-button-secondary-outline-content-color-focus",
- "--system-spectrum-button-secondary-outline-content-color-hover",
- "--system-spectrum-button-selected-background-color-default",
- "--system-spectrum-button-selected-background-color-disabled",
- "--system-spectrum-button-selected-background-color-down",
- "--system-spectrum-button-selected-background-color-focus",
- "--system-spectrum-button-selected-background-color-hover",
- "--system-spectrum-button-selected-border-color-default",
- "--system-spectrum-button-selected-border-color-disabled",
- "--system-spectrum-button-selected-border-color-down",
- "--system-spectrum-button-selected-border-color-focus",
- "--system-spectrum-button-selected-border-color-hover",
- "--system-spectrum-button-selected-content-color-default",
- "--system-spectrum-button-selected-content-color-down",
- "--system-spectrum-button-selected-content-color-focus",
- "--system-spectrum-button-selected-content-color-hover",
- "--system-spectrum-button-selected-emphasized-background-color-default",
- "--system-spectrum-button-selected-emphasized-background-color-down",
- "--system-spectrum-button-selected-emphasized-background-color-focus",
- "--system-spectrum-button-selected-emphasized-background-color-hover",
- "--system-spectrum-button-staticblack-background-color-default",
- "--system-spectrum-button-staticblack-background-color-disabled",
- "--system-spectrum-button-staticblack-background-color-down",
- "--system-spectrum-button-staticblack-background-color-focus",
- "--system-spectrum-button-staticblack-background-color-hover",
- "--system-spectrum-button-staticblack-border-color-default",
- "--system-spectrum-button-staticblack-border-color-disabled",
- "--system-spectrum-button-staticblack-border-color-down",
- "--system-spectrum-button-staticblack-border-color-focus",
- "--system-spectrum-button-staticblack-border-color-hover",
- "--system-spectrum-button-staticblack-content-color-default",
- "--system-spectrum-button-staticblack-content-color-disabled",
- "--system-spectrum-button-staticblack-content-color-down",
- "--system-spectrum-button-staticblack-content-color-focus",
- "--system-spectrum-button-staticblack-content-color-hover",
- "--system-spectrum-button-staticblack-focus-indicator-color",
- "--system-spectrum-button-staticblack-outline-background-color-default",
- "--system-spectrum-button-staticblack-outline-background-color-disabled",
- "--system-spectrum-button-staticblack-outline-background-color-down",
- "--system-spectrum-button-staticblack-outline-background-color-focus",
- "--system-spectrum-button-staticblack-outline-background-color-hover",
- "--system-spectrum-button-staticblack-outline-border-color-default",
- "--system-spectrum-button-staticblack-outline-border-color-disabled",
- "--system-spectrum-button-staticblack-outline-border-color-down",
- "--system-spectrum-button-staticblack-outline-border-color-focus",
- "--system-spectrum-button-staticblack-outline-border-color-hover",
- "--system-spectrum-button-staticblack-outline-content-color-default",
- "--system-spectrum-button-staticblack-outline-content-color-disabled",
- "--system-spectrum-button-staticblack-outline-content-color-down",
- "--system-spectrum-button-staticblack-outline-content-color-focus",
- "--system-spectrum-button-staticblack-outline-content-color-hover",
- "--system-spectrum-button-staticblack-outline-focus-indicator-color",
- "--system-spectrum-button-staticblack-quiet-border-color-default",
- "--system-spectrum-button-staticblack-quiet-border-color-disabled",
- "--system-spectrum-button-staticblack-quiet-border-color-down",
- "--system-spectrum-button-staticblack-quiet-border-color-focus",
- "--system-spectrum-button-staticblack-quiet-border-color-hover",
- "--system-spectrum-button-staticblack-secondary-background-color-default",
- "--system-spectrum-button-staticblack-secondary-background-color-disabled",
- "--system-spectrum-button-staticblack-secondary-background-color-down",
- "--system-spectrum-button-staticblack-secondary-background-color-focus",
- "--system-spectrum-button-staticblack-secondary-background-color-hover",
- "--system-spectrum-button-staticblack-secondary-border-color-default",
- "--system-spectrum-button-staticblack-secondary-border-color-disabled",
- "--system-spectrum-button-staticblack-secondary-border-color-down",
- "--system-spectrum-button-staticblack-secondary-border-color-focus",
- "--system-spectrum-button-staticblack-secondary-border-color-hover",
- "--system-spectrum-button-staticblack-secondary-content-color-default",
- "--system-spectrum-button-staticblack-secondary-content-color-disabled",
- "--system-spectrum-button-staticblack-secondary-content-color-down",
- "--system-spectrum-button-staticblack-secondary-content-color-focus",
- "--system-spectrum-button-staticblack-secondary-content-color-hover",
- "--system-spectrum-button-staticblack-secondary-focus-indicator-color",
- "--system-spectrum-button-staticblack-secondary-outline-background-color-default",
- "--system-spectrum-button-staticblack-secondary-outline-background-color-disabled",
- "--system-spectrum-button-staticblack-secondary-outline-background-color-down",
- "--system-spectrum-button-staticblack-secondary-outline-background-color-focus",
- "--system-spectrum-button-staticblack-secondary-outline-background-color-hover",
- "--system-spectrum-button-staticblack-secondary-outline-border-color-default",
- "--system-spectrum-button-staticblack-secondary-outline-border-color-disabled",
- "--system-spectrum-button-staticblack-secondary-outline-border-color-down",
- "--system-spectrum-button-staticblack-secondary-outline-border-color-focus",
- "--system-spectrum-button-staticblack-secondary-outline-border-color-hover",
- "--system-spectrum-button-staticblack-secondary-outline-content-color-default",
- "--system-spectrum-button-staticblack-secondary-outline-content-color-disabled",
- "--system-spectrum-button-staticblack-secondary-outline-content-color-down",
- "--system-spectrum-button-staticblack-secondary-outline-content-color-focus",
- "--system-spectrum-button-staticblack-secondary-outline-content-color-hover",
- "--system-spectrum-button-staticblack-secondary-outline-focus-indicator-color",
- "--system-spectrum-button-staticwhite-background-color-default",
- "--system-spectrum-button-staticwhite-background-color-disabled",
- "--system-spectrum-button-staticwhite-background-color-down",
- "--system-spectrum-button-staticwhite-background-color-focus",
- "--system-spectrum-button-staticwhite-background-color-hover",
- "--system-spectrum-button-staticwhite-border-color-default",
- "--system-spectrum-button-staticwhite-border-color-disabled",
- "--system-spectrum-button-staticwhite-border-color-down",
- "--system-spectrum-button-staticwhite-border-color-focus",
- "--system-spectrum-button-staticwhite-border-color-hover",
- "--system-spectrum-button-staticwhite-content-color-default",
- "--system-spectrum-button-staticwhite-content-color-disabled",
- "--system-spectrum-button-staticwhite-content-color-down",
- "--system-spectrum-button-staticwhite-content-color-focus",
- "--system-spectrum-button-staticwhite-content-color-hover",
- "--system-spectrum-button-staticwhite-focus-indicator-color",
- "--system-spectrum-button-staticwhite-outline-background-color-default",
- "--system-spectrum-button-staticwhite-outline-background-color-disabled",
- "--system-spectrum-button-staticwhite-outline-background-color-down",
- "--system-spectrum-button-staticwhite-outline-background-color-focus",
- "--system-spectrum-button-staticwhite-outline-background-color-hover",
- "--system-spectrum-button-staticwhite-outline-border-color-default",
- "--system-spectrum-button-staticwhite-outline-border-color-disabled",
- "--system-spectrum-button-staticwhite-outline-border-color-down",
- "--system-spectrum-button-staticwhite-outline-border-color-focus",
- "--system-spectrum-button-staticwhite-outline-border-color-hover",
- "--system-spectrum-button-staticwhite-outline-content-color-default",
- "--system-spectrum-button-staticwhite-outline-content-color-disabled",
- "--system-spectrum-button-staticwhite-outline-content-color-down",
- "--system-spectrum-button-staticwhite-outline-content-color-focus",
- "--system-spectrum-button-staticwhite-outline-content-color-hover",
- "--system-spectrum-button-staticwhite-outline-focus-indicator-color",
- "--system-spectrum-button-staticwhite-quiet-border-color-default",
- "--system-spectrum-button-staticwhite-quiet-border-color-disabled",
- "--system-spectrum-button-staticwhite-quiet-border-color-down",
- "--system-spectrum-button-staticwhite-quiet-border-color-focus",
- "--system-spectrum-button-staticwhite-quiet-border-color-hover",
- "--system-spectrum-button-staticwhite-secondary-background-color-default",
- "--system-spectrum-button-staticwhite-secondary-background-color-disabled",
- "--system-spectrum-button-staticwhite-secondary-background-color-down",
- "--system-spectrum-button-staticwhite-secondary-background-color-focus",
- "--system-spectrum-button-staticwhite-secondary-background-color-hover",
- "--system-spectrum-button-staticwhite-secondary-border-color-default",
- "--system-spectrum-button-staticwhite-secondary-border-color-disabled",
- "--system-spectrum-button-staticwhite-secondary-border-color-down",
- "--system-spectrum-button-staticwhite-secondary-border-color-focus",
- "--system-spectrum-button-staticwhite-secondary-border-color-hover",
- "--system-spectrum-button-staticwhite-secondary-content-color-default",
- "--system-spectrum-button-staticwhite-secondary-content-color-disabled",
- "--system-spectrum-button-staticwhite-secondary-content-color-down",
- "--system-spectrum-button-staticwhite-secondary-content-color-focus",
- "--system-spectrum-button-staticwhite-secondary-content-color-hover",
- "--system-spectrum-button-staticwhite-secondary-focus-indicator-color",
- "--system-spectrum-button-staticwhite-secondary-outline-background-color-default",
- "--system-spectrum-button-staticwhite-secondary-outline-background-color-disabled",
- "--system-spectrum-button-staticwhite-secondary-outline-background-color-down",
- "--system-spectrum-button-staticwhite-secondary-outline-background-color-focus",
- "--system-spectrum-button-staticwhite-secondary-outline-background-color-hover",
- "--system-spectrum-button-staticwhite-secondary-outline-border-color-default",
- "--system-spectrum-button-staticwhite-secondary-outline-border-color-disabled",
- "--system-spectrum-button-staticwhite-secondary-outline-border-color-down",
- "--system-spectrum-button-staticwhite-secondary-outline-border-color-focus",
- "--system-spectrum-button-staticwhite-secondary-outline-border-color-hover",
- "--system-spectrum-button-staticwhite-secondary-outline-content-color-default",
- "--system-spectrum-button-staticwhite-secondary-outline-content-color-disabled",
- "--system-spectrum-button-staticwhite-secondary-outline-content-color-down",
- "--system-spectrum-button-staticwhite-secondary-outline-content-color-focus",
- "--system-spectrum-button-staticwhite-secondary-outline-content-color-hover",
- "--system-spectrum-button-staticwhite-secondary-outline-focus-indicator-color",
- "--system-spectrum-button-staticwhite-selected-background-color-default",
- "--system-spectrum-button-staticwhite-selected-background-color-disabled",
- "--system-spectrum-button-staticwhite-selected-background-color-down",
- "--system-spectrum-button-staticwhite-selected-background-color-focus",
- "--system-spectrum-button-staticwhite-selected-background-color-hover",
- "--system-spectrum-button-staticwhite-selected-border-color-disabled",
- "--system-spectrum-button-staticwhite-selected-content-color-default",
- "--system-spectrum-button-staticwhite-selected-content-color-down",
- "--system-spectrum-button-staticwhite-selected-content-color-focus",
- "--system-spectrum-button-staticwhite-selected-content-color-hover"
+ "--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-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-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-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-background-color-down",
+ "--system-button-static-black-secondary-outline-background-color-focus",
+ "--system-button-static-black-secondary-outline-background-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-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",
@@ -608,7 +405,6 @@
"--highcontrast-button-content-color-disabled",
"--highcontrast-button-content-color-down",
"--highcontrast-button-content-color-focus",
- "--highcontrast-button-content-color-hover",
- "--highcontrast-button-focus-ring-color"
+ "--highcontrast-button-content-color-hover"
]
}
diff --git a/components/button/package.json b/components/button/package.json
index fe1b973990c..ebfb620af05 100644
--- a/components/button/package.json
+++ b/components/button/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/button",
- "version": "13.5.0",
+ "version": "14.0.0-s2-foundations.19",
"description": "The Spectrum CSS button component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,19 +21,21 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/progresscircle": ">=3",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/progresscircle": ">=4.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/icon": {
diff --git a/components/button/stories/button.stories.js b/components/button/stories/button.stories.js
index 8eff8c2918d..a603ae70545 100644
--- a/components/button/stories/button.stories.js
+++ b/components/button/stories/button.stories.js
@@ -85,6 +85,10 @@ export default {
actions: {
handles: ["click .spectrum-Button"],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=707-2774",
+ },
packageJson,
metadata,
},
diff --git a/components/button/stories/template.js b/components/button/stories/template.js
index cecada6f7a9..16e259bd86f 100644
--- a/components/button/stories/template.js
+++ b/components/button/stories/template.js
@@ -9,6 +9,9 @@ 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",
diff --git a/components/button/themes/express.css b/components/button/themes/express.css
index 0aa78f6519c..9c43b7cb5dc 100644
--- a/components/button/themes/express.css
+++ b/components/button/themes/express.css
@@ -11,28 +11,27 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-Button {
- --spectrum-button-background-color-default: var(--spectrum-gray-200);
- --spectrum-button-background-color-hover: var(--spectrum-gray-300);
- --spectrum-button-background-color-down: var(--spectrum-gray-400);
- --spectrum-button-background-color-focus: var(--spectrum-gray-300);
-
- --spectrum-button-border-color-default: transparent;
- --spectrum-button-border-color-hover: transparent;
- --spectrum-button-border-color-down: transparent;
- --spectrum-button-border-color-focus: transparent;
+ --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);
- --spectrum-button-background-color-disabled: var(--spectrum-disabled-background-color);
- --spectrum-button-border-color-disabled: transparent;
+ --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 {
- --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);
+ --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
new file mode 100644
index 00000000000..460a563c248
--- /dev/null
+++ b/components/button/themes/spectrum-two.css
@@ -0,0 +1,170 @@
+/*!
+ * 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.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-900);
+ --mod-button-background-color-hover: var(--spectrum-transparent-white-1000);
+ --mod-button-background-color-down: var(--spectrum-transparent-white-1000);
+ --mod-button-background-color-focus: var(--spectrum-transparent-white-1000);
+
+ --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-300);
+ --mod-button-background-color-hover: var(--spectrum-transparent-white-400);
+ --mod-button-background-color-down: var(--spectrum-transparent-white-500);
+ --mod-button-background-color-focus: var(--spectrum-transparent-white-400);
+
+ --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-border-color-default: var(--spectrum-transparent-white-400);
+ --mod-button-border-color-hover: var(--spectrum-transparent-white-500);
+ --mod-button-border-color-down: var(--spectrum-transparent-white-600);
+ --mod-button-border-color-focus: var(--spectrum-transparent-white-500);
+ }
+ }
+
+ &.spectrum-Button--outline {
+ &:not(.spectrum-Button--secondary) {
+ --mod-button-background-color-hover: var(--spectrum-transparent-white-400);
+ --mod-button-background-color-down: var(--spectrum-transparent-white-500);
+ --mod-button-background-color-focus: var(--spectrum-transparent-white-400);
+
+ --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-border-color-default: var(--spectrum-transparent-white-900);
+ --mod-button-border-color-hover: var(--spectrum-transparent-white-1000);
+ --mod-button-border-color-down: var(--spectrum-transparent-white-1000);
+ --mod-button-border-color-focus: var(--spectrum-transparent-white-1000);
+ }
+
+ &.spectrum-Button--secondary {
+ --mod-button-background-color-hover: var(--spectrum-transparent-white-400);
+ --mod-button-background-color-down: var(--spectrum-transparent-white-500);
+ --mod-button-background-color-focus: var(--spectrum-transparent-white-400);
+ }
+ }
+ }
+
+ /* static black */
+ &.spectrum-Button--staticBlack {
+ --mod-button-background-color-default: var(--spectrum-transparent-black-900);
+ --mod-button-background-color-hover: var(--spectrum-transparent-black-1000);
+ --mod-button-background-color-down: var(--spectrum-transparent-black-1000);
+ --mod-button-background-color-focus: var(--spectrum-transparent-black-1000);
+
+ --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-300);
+ --mod-button-background-color-hover: var(--spectrum-transparent-black-400);
+ --mod-button-background-color-down: var(--spectrum-transparent-black-500);
+ --mod-button-background-color-focus: var(--spectrum-transparent-black-400);
+
+ --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--outline {
+ --mod-button-background-color-hover: var(--spectrum-transparent-black-400);
+ --mod-button-background-color-down: var(--spectrum-transparent-black-500);
+ --mod-button-background-color-focus: var(--spectrum-transparent-black-400);
+
+ --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--outline {
+ &:not(.spectrum-Button--secondary) {
+ --mod-button-background-color-hover: var(--spectrum-transparent-black-400);
+ --mod-button-background-color-down: var(--spectrum-transparent-black-500);
+ --mod-button-background-color-focus: var(--spectrum-transparent-black-400);
+
+ --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);
+
+ --mod-button-border-color-default: var(--spectrum-transparent-black-500);
+ --mod-button-border-color-hover: var(--spectrum-transparent-black-600);
+ --mod-button-border-color-down: var(--spectrum-transparent-black-700);
+ --mod-button-border-color-focus: var(--spectrum-transparent-black-600);
+ }
+ }
+ }
+ }
+}
diff --git a/components/button/themes/spectrum.css b/components/button/themes/spectrum.css
index 851cb0efd65..72893c48105 100644
--- a/components/button/themes/spectrum.css
+++ b/components/button/themes/spectrum.css
@@ -11,448 +11,115 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
- .spectrum-Button {
- --spectrum-button-background-color-default: var(--spectrum-gray-75);
- --spectrum-button-background-color-hover: var(--spectrum-gray-200);
- --spectrum-button-background-color-down: var(--spectrum-gray-300);
- --spectrum-button-background-color-focus: var(--spectrum-gray-200);
-
- --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-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-background-color-disabled: transparent;
- --spectrum-button-border-color-disabled: var(--spectrum-disabled-border-color);
- --spectrum-button-content-color-disabled: var(--spectrum-disabled-content-color);
-
- &.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-border-color-default: transparent;
- --spectrum-button-border-color-hover: transparent;
- --spectrum-button-border-color-down: transparent;
- --spectrum-button-border-color-focus: transparent;
-
- --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-disabled-background-color);
- --spectrum-button-border-color-disabled: transparent;
- --spectrum-button-content-color-disabled: var(--spectrum-disabled-content-color);
-
- &.spectrum-Button--outline {
- --spectrum-button-background-color-default: transparent;
- --spectrum-button-background-color-hover: var(--spectrum-accent-color-200);
- --spectrum-button-background-color-down: var(--spectrum-accent-color-300);
- --spectrum-button-background-color-focus: var(--spectrum-accent-color-200);
-
- --spectrum-button-border-color-default: var(--spectrum-accent-color-900);
- --spectrum-button-border-color-hover: var(--spectrum-accent-color-1000);
- --spectrum-button-border-color-down: var(--spectrum-accent-color-1100);
- --spectrum-button-border-color-focus: var(--spectrum-accent-color-1000);
-
- --spectrum-button-content-color-default: var(--spectrum-accent-content-color-default);
- --spectrum-button-content-color-hover: var(--spectrum-accent-content-color-hover);
- --spectrum-button-content-color-down: var(--spectrum-accent-content-color-down);
- --spectrum-button-content-color-focus: var(--spectrum-accent-content-color-key-focus);
-
- --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);
- }
- }
-
- &.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);
-
- --spectrum-button-border-color-default: transparent;
- --spectrum-button-border-color-hover: transparent;
- --spectrum-button-border-color-down: transparent;
- --spectrum-button-border-color-focus: transparent;
-
- --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-disabled-background-color);
- --spectrum-button-border-color-disabled: transparent;
- --spectrum-button-content-color-disabled: var(--spectrum-disabled-content-color);
-
- &.spectrum-Button--outline {
- --spectrum-button-background-color-default: transparent;
- --spectrum-button-background-color-hover: var(--spectrum-negative-color-200);
- --spectrum-button-background-color-down: var(--spectrum-negative-color-300);
- --spectrum-button-background-color-focus: var(--spectrum-negative-color-200);
-
- --spectrum-button-border-color-default: var(--spectrum-negative-color-900);
- --spectrum-button-border-color-hover: var(--spectrum-negative-color-1000);
- --spectrum-button-border-color-down: var(--spectrum-negative-color-1100);
- --spectrum-button-border-color-focus: var(--spectrum-negative-color-1000);
-
- --spectrum-button-content-color-default: var(--spectrum-negative-content-color-default);
- --spectrum-button-content-color-hover: var(--spectrum-negative-content-color-hover);
- --spectrum-button-content-color-down: var(--spectrum-negative-content-color-down);
- --spectrum-button-content-color-focus: var(--spectrum-negative-content-color-key-focus);
-
- --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);
- }
- }
+/* @combine .spectrum.spectrum--legacy */
- &.spectrum-Button--primary {
- --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);
+@import "./spectrum-two.css";
- --spectrum-button-border-color-default: transparent;
- --spectrum-button-border-color-hover: transparent;
- --spectrum-button-border-color-down: transparent;
- --spectrum-button-border-color-focus: transparent;
-
- --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-disabled-background-color);
- --spectrum-button-border-color-disabled: transparent;
- --spectrum-button-content-color-disabled: var(--spectrum-disabled-content-color);
-
- &.spectrum-Button--outline {
- --spectrum-button-background-color-default: transparent;
- --spectrum-button-background-color-hover: var(--spectrum-gray-300);
- --spectrum-button-background-color-down: var(--spectrum-gray-400);
- --spectrum-button-background-color-focus: var(--spectrum-gray-300);
-
- --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);
-
- --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);
- }
+@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.spectrum-Button--outline {
+ --mod-button-background-color-hover: var(--spectrum-gray-300);
+ --mod-button-background-color-focus: var(--spectrum-gray-300);
}
&.spectrum-Button--secondary {
- --spectrum-button-background-color-default: var(--spectrum-gray-200);
- --spectrum-button-background-color-hover: var(--spectrum-gray-300);
- --spectrum-button-background-color-down: var(--spectrum-gray-400);
- --spectrum-button-background-color-focus: var(--spectrum-gray-300);
-
- --spectrum-button-border-color-default: transparent;
- --spectrum-button-border-color-hover: transparent;
- --spectrum-button-border-color-down: transparent;
- --spectrum-button-border-color-focus: transparent;
+ --mod-button-background-color-default: var(--spectrum-gray-200);
- --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-background-color-disabled: var(--spectrum-disabled-background-color);
- --spectrum-button-border-color-disabled: transparent;
- --spectrum-button-content-color-disabled: var(--spectrum-disabled-content-color);
-
- &.spectrum-Button--outline {
- --spectrum-button-background-color-default: transparent;
- --spectrum-button-background-color-hover: var(--spectrum-gray-300);
- --spectrum-button-background-color-down: var(--spectrum-gray-400);
- --spectrum-button-background-color-focus: var(--spectrum-gray-300);
-
- --spectrum-button-border-color-default: var(--spectrum-gray-300);
- --spectrum-button-border-color-hover: var(--spectrum-gray-400);
- --spectrum-button-border-color-down: var(--spectrum-gray-500);
- --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-background-color-disabled: transparent;
- --spectrum-button-border-color-disabled: var(--spectrum-disabled-border-color);
- --spectrum-button-content-color-disabled: var(--spectrum-disabled-content-color);
+ &:not(.spectrum-Button--outline) {
+ --mod-button-background-color-hover: var(--spectrum-gray-300);
+ --mod-button-background-color-focus: var(--spectrum-gray-300);
}
- }
-
- &.spectrum-Button--quiet {
- --spectrum-button-background-color-default: transparent;
- --spectrum-button-background-color-hover: var(--spectrum-gray-200);
- --spectrum-button-background-color-down: var(--spectrum-gray-300);
- --spectrum-button-background-color-focus: var(--spectrum-gray-200);
-
- --spectrum-button-border-color-default: transparent;
- --spectrum-button-border-color-hover: transparent;
- --spectrum-button-border-color-down: transparent;
- --spectrum-button-border-color-focus: transparent;
-
- --spectrum-button-background-color-disabled: transparent;
- --spectrum-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-border-color-default: transparent;
- --spectrum-button-border-color-hover: transparent;
- --spectrum-button-border-color-down: transparent;
- --spectrum-button-border-color-focus: transparent;
-
- --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-disabled-background-color);
- --spectrum-button-border-color-disabled: transparent;
- &.spectrum-Button--emphasized {
- --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--staticBlack,
- &.spectrum-Button--staticWhite {
- &.spectrum-Button--quiet {
- --spectrum-button-border-color-default: transparent;
- --spectrum-button-border-color-hover: transparent;
- --spectrum-button-border-color-down: transparent;
- --spectrum-button-border-color-focus: transparent;
+ &.spectrum-Button--outline {
+ --mod-button-background-color-hover: var(--spectrum-gray-300);
+ --mod-button-background-color-focus: var(--spectrum-gray-300);
- --spectrum-button-border-color-disabled: transparent;
+ --mod-button-border-color-default: var(--spectrum-gray-300);
}
}
- /* static white */
-
&.spectrum-Button--staticWhite {
- --spectrum-button-background-color-default: var(--spectrum-transparent-white-800);
- --spectrum-button-background-color-hover: var(--spectrum-transparent-white-900);
- --spectrum-button-background-color-down: var(--spectrum-transparent-white-900);
- --spectrum-button-background-color-focus: var(--spectrum-transparent-white-900);
-
- --spectrum-button-border-color-default: transparent;
- --spectrum-button-border-color-hover: transparent;
- --spectrum-button-border-color-down: transparent;
- --spectrum-button-border-color-focus: 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-focus-indicator-color: var(--spectrum-static-white-focus-indicator-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);
-
- &.spectrum-Button--outline {
- --spectrum-button-background-color-default: transparent;
- --spectrum-button-background-color-hover: var(--spectrum-transparent-white-300);
- --spectrum-button-background-color-down: var(--spectrum-transparent-white-400);
- --spectrum-button-background-color-focus: var(--spectrum-transparent-white-300);
-
- --spectrum-button-border-color-default: var(--spectrum-transparent-white-800);
- --spectrum-button-border-color-hover: var(--spectrum-transparent-white-900);
- --spectrum-button-border-color-down: var(--spectrum-transparent-white-900);
- --spectrum-button-border-color-focus: var(--spectrum-transparent-white-900);
-
- --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-focus-indicator-color: var(--spectrum-static-white-focus-indicator-color);
-
- --spectrum-button-background-color-disabled: transparent;
- --spectrum-button-border-color-disabled: var(--spectrum-disabled-static-white-border-color);
- --spectrum-button-content-color-disabled: var(--spectrum-disabled-static-white-content-color);
- }
-
- &.is-selected {
- --spectrum-button-background-color-default: var(--spectrum-transparent-white-800);
- --spectrum-button-background-color-hover: var(--spectrum-transparent-white-900);
- --spectrum-button-background-color-down: var(--spectrum-transparent-white-900);
- --spectrum-button-background-color-focus: var(--spectrum-transparent-white-900);
-
- --spectrum-button-content-color-default: var(--mod-button-static-content-color, var(--spectrum-black));
- --spectrum-button-content-color-hover: var(--mod-button-static-content-color, var(--spectrum-black));
- --spectrum-button-content-color-down: var(--mod-button-static-content-color, var(--spectrum-black));
- --spectrum-button-content-color-focus: var(--mod-button-static-content-color, var(--spectrum-black));
-
- --spectrum-button-background-color-disabled: var(--spectrum-disabled-static-white-background-color);
- --spectrum-button-border-color-disabled: transparent;
+ --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--staticWhite.spectrum-Button--secondary {
- --spectrum-button-background-color-default: var(--spectrum-transparent-white-200);
- --spectrum-button-background-color-hover: var(--spectrum-transparent-white-300);
- --spectrum-button-background-color-down: var(--spectrum-transparent-white-400);
- --spectrum-button-background-color-focus: var(--spectrum-transparent-white-300);
-
- --spectrum-button-border-color-default: transparent;
- --spectrum-button-border-color-hover: transparent;
- --spectrum-button-border-color-down: transparent;
- --spectrum-button-border-color-focus: transparent;
-
- --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-focus-indicator-color: var(--spectrum-static-white-focus-indicator-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);
&.spectrum-Button--outline {
- --spectrum-button-background-color-default: transparent;
- --spectrum-button-background-color-hover: var(--spectrum-transparent-white-300);
- --spectrum-button-background-color-down: var(--spectrum-transparent-white-400);
- --spectrum-button-background-color-focus: var(--spectrum-transparent-white-300);
-
- --spectrum-button-border-color-default: var(--spectrum-transparent-white-300);
- --spectrum-button-border-color-hover: var(--spectrum-transparent-white-400);
- --spectrum-button-border-color-down: var(--spectrum-transparent-white-500);
- --spectrum-button-border-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-focus-indicator-color: var(--spectrum-static-white-focus-indicator-color);
-
- --spectrum-button-background-color-disabled: transparent;
- --spectrum-button-border-color-disabled: var(--spectrum-disabled-static-white-border-color);
- --spectrum-button-content-color-disabled: var(--spectrum-disabled-static-white-content-color);
+ &: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);
+ }
}
}
- /* static black */
&.spectrum-Button--staticBlack {
- --spectrum-button-background-color-default: var(--spectrum-transparent-black-800);
- --spectrum-button-background-color-hover: var(--spectrum-transparent-black-900);
- --spectrum-button-background-color-down: var(--spectrum-transparent-black-900);
- --spectrum-button-background-color-focus: var(--spectrum-transparent-black-900);
-
- --spectrum-button-border-color-default: transparent;
- --spectrum-button-border-color-hover: transparent;
- --spectrum-button-border-color-down: transparent;
- --spectrum-button-border-color-focus: transparent;
-
- --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-focus-indicator-color: var(--spectrum-static-black-focus-indicator-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 {
- --spectrum-button-background-color-default: transparent;
- --spectrum-button-background-color-hover: var(--spectrum-transparent-black-300);
- --spectrum-button-background-color-down: var(--spectrum-transparent-black-400);
- --spectrum-button-background-color-focus: var(--spectrum-transparent-black-300);
-
- --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-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-focus-indicator-color: var(--spectrum-static-black-focus-indicator-color);
-
- --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);
+ --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--staticBlack.spectrum-Button--secondary {
- --spectrum-button-background-color-default: var(--spectrum-transparent-black-200);
- --spectrum-button-background-color-hover: var(--spectrum-transparent-black-300);
- --spectrum-button-background-color-down: var(--spectrum-transparent-black-400);
- --spectrum-button-background-color-focus: var(--spectrum-transparent-black-300);
-
- --spectrum-button-border-color-default: transparent;
- --spectrum-button-border-color-hover: transparent;
- --spectrum-button-border-color-down: transparent;
- --spectrum-button-border-color-focus: 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-focus-indicator-color: var(--spectrum-static-black-focus-indicator-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 {
- --spectrum-button-background-color-default: transparent;
- --spectrum-button-background-color-hover: var(--spectrum-transparent-black-300);
- --spectrum-button-background-color-down: var(--spectrum-transparent-black-400);
- --spectrum-button-background-color-focus: var(--spectrum-transparent-black-300);
-
- --spectrum-button-border-color-default: var(--spectrum-transparent-black-300);
- --spectrum-button-border-color-hover: var(--spectrum-transparent-black-400);
- --spectrum-button-border-color-down: var(--spectrum-transparent-black-500);
- --spectrum-button-border-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-focus-indicator-color: var(--spectrum-static-black-focus-indicator-color);
-
- --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);
+ &: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 47e64198d91..fe8259d0464 100644
--- a/components/buttongroup/CHANGELOG.md
+++ b/components/buttongroup/CHANGELOG.md
@@ -1,5 +1,231 @@
# Change Log
+## 8.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/button@14.0.0-s2-foundations.19
+
+## 8.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.17
+
+## 8.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 8.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 8.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 8.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 8.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 8.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 8.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 8.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 8.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/button@14.0.0-s2-foundations.6
+
+## 8.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 8.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 8.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 8.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 8.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 8.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 7.2.0
### Minor Changes
diff --git a/components/buttongroup/index.css b/components/buttongroup/index.css
index 27d6ffb0d15..80ee75de0ad 100644
--- a/components/buttongroup/index.css
+++ b/components/buttongroup/index.css
@@ -11,46 +11,38 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-ButtonGroup {
- --spectrum-buttongroup-spacing-horizontal: var(--spectrum-spacing-300);
- --spectrum-buttongroup-spacing-vertical: var(--spectrum-spacing-300);
-}
-
-.spectrum-ButtonGroup--sizeS {
- --spectrum-buttongroup-spacing-horizontal: var(--spectrum-spacing-200);
- --spectrum-buttongroup-spacing-vertical: var(--spectrum-spacing-200);
-}
-
-.spectrum-ButtonGroup--sizeM {
- --spectrum-buttongroup-spacing-horizontal: var(--spectrum-spacing-300);
- --spectrum-buttongroup-spacing-vertical: var(--spectrum-spacing-300);
-}
+ /* @deprecated --mod-buttongroup-spacing-horizontal -- replaced by --mod-buttongroup-spacing */
+ --spectrum-buttongroup-spacing: var(--mod-buttongroup-spacing, var(--mod-buttongroup-spacing-horizontal, var(--spectrum-spacing-300)));
+ --spectrum-buttongroup-display: flex;
+ --spectrum-buttongroup-flex-direction: row;
+ --spectrum-buttongroup-justify-content: var(--mod-buttongroup-justify-content, normal);
+
+ &.spectrum-ButtonGroup--sizeS {
+ /* @deprecated --mod-buttongroup-spacing-horizontal -- replaced by --mod-buttongroup-spacing */
+ --spectrum-buttongroup-spacing: var(--mod-buttongroup-spacing, var(--mod-buttongroup-spacing-horizontal, var(--spectrum-spacing-200)));
+ }
-.spectrum-ButtonGroup--sizeL {
- --spectrum-buttongroup-spacing-horizontal: var(--spectrum-spacing-300);
- --spectrum-buttongroup-spacing-vertical: var(--spectrum-spacing-300);
-}
+ &.spectrum-ButtonGroup--vertical {
+ /* @deprecated --mod-buttongroup-spacing-vertical -- replaced by generic --mod-buttongroup-spacing */
+ --mod-buttongroup-spacing: var(--mod-buttongroup-spacing-vertical);
-.spectrum-ButtonGroup--sizeXL {
- --spectrum-buttongroup-spacing-horizontal: var(--spectrum-spacing-300);
- --spectrum-buttongroup-spacing-vertical: var(--spectrum-spacing-300);
+ --spectrum-buttongroup-display: inline-flex;
+ --spectrum-buttongroup-flex-direction: column;
+ }
}
.spectrum-ButtonGroup {
- display: flex;
+ display: var(--spectrum-buttongroup-display);
+ flex-direction: var(--spectrum-buttongroup-flex-direction);
flex-wrap: wrap;
- gap: var(--mod-buttongroup-spacing-horizontal, var(--spectrum-buttongroup-spacing-horizontal));
- justify-content: var(--mod-buttongroup-justify-content, normal);
- .spectrum-ButtonGroup-item {
- flex-shrink: 0;
- }
+ gap: var(--spectrum-buttongroup-spacing);
+ justify-content: var(--spectrum-buttongroup-justify-content);
}
-.spectrum-ButtonGroup--vertical {
- display: inline-flex;
- flex-direction: column;
- gap: var(--mod-buttongroup-spacing-vertical, var(--spectrum-buttongroup-spacing-vertical));
+.spectrum-ButtonGroup-item {
+ flex-shrink: 0;
}
diff --git a/components/buttongroup/metadata/metadata.json b/components/buttongroup/metadata/metadata.json
index e74734f8509..38d29f26e39 100644
--- a/components/buttongroup/metadata/metadata.json
+++ b/components/buttongroup/metadata/metadata.json
@@ -2,21 +2,21 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-ButtonGroup",
- ".spectrum-ButtonGroup .spectrum-ButtonGroup-item",
- ".spectrum-ButtonGroup--sizeL",
- ".spectrum-ButtonGroup--sizeM",
- ".spectrum-ButtonGroup--sizeS",
- ".spectrum-ButtonGroup--sizeXL",
- ".spectrum-ButtonGroup--vertical"
+ ".spectrum-ButtonGroup-item",
+ ".spectrum-ButtonGroup.spectrum-ButtonGroup--sizeS",
+ ".spectrum-ButtonGroup.spectrum-ButtonGroup--vertical"
],
"modifiers": [
"--mod-buttongroup-justify-content",
+ "--mod-buttongroup-spacing",
"--mod-buttongroup-spacing-horizontal",
"--mod-buttongroup-spacing-vertical"
],
"component": [
- "--spectrum-buttongroup-spacing-horizontal",
- "--spectrum-buttongroup-spacing-vertical"
+ "--spectrum-buttongroup-display",
+ "--spectrum-buttongroup-flex-direction",
+ "--spectrum-buttongroup-justify-content",
+ "--spectrum-buttongroup-spacing"
],
"global": ["--spectrum-spacing-200", "--spectrum-spacing-300"],
"system-theme": [],
diff --git a/components/buttongroup/metadata/mods.md b/components/buttongroup/metadata/mods.md
index d24339e5f5a..e5e692aadf1 100644
--- a/components/buttongroup/metadata/mods.md
+++ b/components/buttongroup/metadata/mods.md
@@ -1,5 +1,6 @@
| Modifiable custom properties |
| -------------------------------------- |
| `--mod-buttongroup-justify-content` |
+| `--mod-buttongroup-spacing` |
| `--mod-buttongroup-spacing-horizontal` |
| `--mod-buttongroup-spacing-vertical` |
diff --git a/components/buttongroup/package.json b/components/buttongroup/package.json
index 67ea4f80d30..fa5cbad0d36 100644
--- a/components/buttongroup/package.json
+++ b/components/buttongroup/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/buttongroup",
- "version": "7.2.0",
+ "version": "8.0.0-s2-foundations.16",
"description": "The Spectrum CSS buttongroup component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/button": ">=13",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/button": "workspace:^",
diff --git a/components/buttongroup/stories/buttongroup.stories.js b/components/buttongroup/stories/buttongroup.stories.js
index fce4956dd98..adec14a7a72 100644
--- a/components/buttongroup/stories/buttongroup.stories.js
+++ b/components/buttongroup/stories/buttongroup.stories.js
@@ -4,6 +4,7 @@ import { size } from "@spectrum-css/preview/types";
import metadata from "../metadata/metadata.json";
import packageJson from "../package.json";
import { ButtonGroup } from "./buttongroup.test.js";
+import { Template } from "./template.js";
/**
* A button group is a grouping of buttons whose actions are related to each other.
@@ -57,6 +58,10 @@ export default {
],
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=13663-6530",
+ },
packageJson,
metadata,
},
@@ -71,8 +76,11 @@ Default.tags = ["!autodocs"];
/**
* Default spacing for Medium, Large, and Extra Large t-shirt sizes.
*/
-export const Horizontal = ButtonGroup.bind({});
+export const Horizontal = Template.bind({});
Horizontal.tags = ["!dev"];
+Horizontal.parameters = {
+ chromatic: { disableSnapshot: true },
+};
Horizontal.args = Default.args;
Horizontal.parameters = {
chromatic: { disableSnapshot: true },
@@ -81,8 +89,11 @@ Horizontal.parameters = {
/**
* Spacing for the Small t-shirt size.
*/
-export const HorizontalSmall = ButtonGroup.bind({});
+export const HorizontalSmall = Template.bind({});
HorizontalSmall.tags = ["!dev"];
+HorizontalSmall.parameters = {
+ chromatic: { disableSnapshot: true },
+};
HorizontalSmall.args = {
size: "s"
};
@@ -95,6 +106,9 @@ HorizontalSmall.parameters = {
*/
export const Vertical = ButtonGroup.bind({});
Vertical.tags = ["!dev"];
+Vertical.parameters = {
+ chromatic: { disableSnapshot: true },
+};
Vertical.args = {
vertical: true,
};
@@ -105,8 +119,11 @@ Vertical.parameters = {
/**
* Spacing for the Small t-shirt size.
*/
-export const VerticalSmall = ButtonGroup.bind({});
+export const VerticalSmall = Template.bind({});
VerticalSmall.tags = ["!dev"];
+VerticalSmall.parameters = {
+ chromatic: { disableSnapshot: true },
+};
VerticalSmall.args = {
vertical: true,
size: "s"
@@ -119,8 +136,11 @@ VerticalSmall.parameters = {
* A button group in a disabled state shows that the buttons within the group exist, but are not available in that circumstance. This state can be used to maintain layout continuity and to communicate that a button group may become available later.
*/
-export const Disabled = ButtonGroup.bind({});
+export const Disabled = Template.bind({});
Disabled.tags = ["!dev"];
+Disabled.parameters = {
+ chromatic: { disableSnapshot: true },
+};
Disabled.args = {
items: [
{
diff --git a/components/buttongroup/stories/buttongroup.test.js b/components/buttongroup/stories/buttongroup.test.js
index 0a51ed29749..9b2d0e11c71 100644
--- a/components/buttongroup/stories/buttongroup.test.js
+++ b/components/buttongroup/stories/buttongroup.test.js
@@ -1,4 +1,4 @@
-import { Variants } from "@spectrum-css/preview/decorators";
+import { Sizes, Variants } from "@spectrum-css/preview/decorators";
import { Template } from "./template.js";
export const ButtonGroup = Variants({
@@ -7,10 +7,6 @@ export const ButtonGroup = Variants({
{
testHeading: "Default",
},
- {
- testHeading: "Vertical",
- vertical: true,
- },
{
testHeading: "Disabled",
items: [
@@ -27,6 +23,20 @@ export const ButtonGroup = Variants({
isDisabled: true,
},
]
- }
+ },
+ {
+ testHeading: "Vertical",
+ vertical: true,
+ },
+ {
+ Template: (args, context) => Sizes({
+ Template,
+ withHeading: false,
+ withWrapperBorder: false,
+ ...args
+ }, context),
+ testHeading: "Vertical sizing",
+ vertical: true,
+ },
],
});
diff --git a/components/buttongroup/stories/template.js b/components/buttongroup/stories/template.js
index 1d85c23d2cc..464b4908442 100644
--- a/components/buttongroup/stories/template.js
+++ b/components/buttongroup/stories/template.js
@@ -3,6 +3,9 @@ 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-ButtonGroup",
@@ -15,8 +18,7 @@ export const Template = ({
({ ...a, [c]: true }), {}),
})}
diff --git a/components/buttongroup/themes/express.css b/components/buttongroup/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/buttongroup/themes/express.css
+++ b/components/buttongroup/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/buttongroup/themes/spectrum-two.css b/components/buttongroup/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/buttongroup/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/buttongroup/themes/spectrum.css b/components/buttongroup/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/buttongroup/themes/spectrum.css
+++ b/components/buttongroup/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/calendar/CHANGELOG.md b/components/calendar/CHANGELOG.md
index 7474744cc41..05dcac5f78b 100644
--- a/components/calendar/CHANGELOG.md
+++ b/components/calendar/CHANGELOG.md
@@ -1,5 +1,231 @@
# Change Log
+## 6.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.24
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.20
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.18
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 5.3.0
### Minor Changes
diff --git a/components/calendar/index.css b/components/calendar/index.css
index 095530088c8..2ca1bc289aa 100644
--- a/components/calendar/index.css
+++ b/components/calendar/index.css
@@ -11,59 +11,139 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Calendar {
- --spectrum-calendar-day-width: var(--spectrum-component-height-100);
- --spectrum-calendar-day-height: var(--spectrum-component-height-100);
- --spectrum-calendar-border-radius-reset: 0;
- --spectrum-calendar-border-width-reset: 0;
- --spectrum-calendar-day-border-size: var(--spectrum-border-width-200);
- --spectrum-calendar-margin-y: 24px;
- --spectrum-calendar-margin-x: 32px;
- --spectrum-calendar-day-padding: 4px;
- --spectrum-calendar-width: calc((var(--spectrum-calendar-day-width) + var(--spectrum-calendar-day-padding) * 2) * 7);
-
- --spectrum-calendar-title-text-letter-spacing: 0.06em;
- --spectrum-calendar-title-height: 32px;
- --spectrum-calendar-title-text-size: var(--spectrum-font-size-300);
-
- --spectrum-calendar-day-title-text-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-calendar-day-title-text-color: var(--spectrum-gray-700);
- --spectrum-calendar-day-title-text-size: var(--spectrum-font-size-50);
- --spectrum-calendar-day-text-size-han: var(--spectrum-font-size-50);
-
- --spectrum-calendar-day-text-size: var(--spectrum-font-size-100);
- --spectrum-calendar-day-text-color-selected: var(--spectrum-gray-900);
- --spectrum-calendar-day-text-color-hover: var(--spectrum-gray-900);
- --spectrum-calendar-day-text-color-cap-selected: var(--spectrum-gray-900);
- --spectrum-calendar-day-text-font-weight-selected: var(--spectrum-bold-font-weight);
- --spectrum-calendar-day-text-font-weight-cap-selected: var(--spectrum-bold-font-weight);
-
- --spectrum-calendar-day-today-text-color: var(--spectrum-gray-800);
- --spectrum-calendar-day-today-text-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-calendar-day-today-border-color: var(--spectrum-gray-800);
-
- --spectrum-calendar-day-today-text-color-disabled: var(--spectrum-gray-500);
- --spectrum-calendar-day-today-border-color-disabled: var(--spectrum-gray-400);
- --spectrum-calendar-day-text-color-disabled: var(--spectrum-disabled-content-color);
-
- --spectrum-calendar-day-text-color-key-focus: var(--spectrum-gray-900);
-
- --spectrum-calendar-button-icon-color: var(--spectrum-gray-700);
+ --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));
+ --spectrum-calendar-day-padding: var(--mod-calendar-day-padding, 4px);
+
+ --spectrum-calendar-border-radius-reset: var(--mod-calendar-border-radius-reset, 0);
+ --spectrum-calendar-border-width-reset: var(--mod-calendar-border-width-reset, 0);
+ --spectrum-calendar-margin-y: var(--mod-calendar-margin-y, 24px);
+ --spectrum-calendar-margin-x: var(--mod-calendar-margin-x, 32px);
+
+ /* combines (day-width and day-padding x 2) x 7 days a week */
+ --spectrum-calendar-width: var(--mod-calendar-width, calc((var(--spectrum-calendar-day-width) + var(--spectrum-calendar-day-padding) * 2) * 7));
+
+ /* Add letter spacing of 0.66px from Typography > Detail issue #407 */
+ --spectrum-calendar-title-text-letter-spacing: var(--mod-calendar-title-text-letter-spacing, 0.06em);
+ --spectrum-calendar-title-height: var(--mod-calendar-title-height, 32px);
+ --spectrum-calendar-title-text-size: var(--mod-calendar-title-text-size, var(--spectrum-font-size-300));
+
+ --spectrum-calendar-title-text-font-weight: var(--mod-calendar-day-title-text-font-weight, var(--spectrum-bold-font-weight));
+ --spectrum-calendar-title-text-color: var(--highcontrast-calendar-day-title-text-color, var(--mod-calendar-day-title-text-color, var(--spectrum-neutral-subdued-content-color-default)));
+
+ --spectrum-calendar-heading-text-size: var(--mod-calendar-day-title-text-size, var(--spectrum-font-size-50));
+
+ --spectrum-calendar-button-icon-color: var(--mod-calendar-button-icon-color, var(--spectrum-neutral-subdued-content-color-default));
&:dir(rtl) {
--spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0);
}
}
+.spectrum-Calendar-date {
+ --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-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)));
+ --spectrum-calendar-day-background-down: var(--highcontrast-calendar-day-background-down, var(--mod-calendar-day-background-color-down, var(--spectrum-calendar-day-background-color-down)));
+
+ --spectrum-calendar-day-background-layer-color: var(--mod-calendar-day-background-layer-color, transparent);
+
+ --spectrum-calendar-day-border-color: var(--mod-calendar-day-border-color, transparent);
+ --spectrum-calendar-day-border-color-focus: var(--highcontrast-calendar-day-border-color-focus, var(--mod-calendar-day-border-color-key-focus, var(--spectrum-calendar-day-border-color-key-focus)));
+
+ --spectrum-calendar-day-text-size: var(--mod-calendar-day-text-size, var(--spectrum-font-size-100));
+ --spectrum-calendar-day-text-font-weight: var(--mod-calendar-day-text-font-weight, var(--spectrum-regular-font-weight));
+ --spectrum-calendar-day-text-font-weight-selected: var(--mod-calendar-day-text-font-weight-selected, var(--spectrum-bold-font-weight));
+ --spectrum-calendar-day-text-font-weight-cap-selected: var(--mod-calendar-day-text-font-weight-cap-selected, var(--spectrum-bold-font-weight));
+
+ /* Styles specific to the today identifier */
+ --spectrum-calendar-day-today-background-selected-hover: var(--highcontrast-calendar-day-today-background-selected-hover, var(--mod-calendar-day-today-background-color-selected-hover, var(--spectrum-calendar-day-today-background-color-selected-hover)));
+ --spectrum-calendar-day-today-text-font-weight: var(--mod-calendar-day-today-text-font-weight, var(--spectrum-bold-font-weight));
+ --spectrum-calendar-day-today-text-color: var(--highcontrast-calendar-day-today-text-color, var(--mod-calendar-day-today-text-color, var(--spectrum-neutral-content-color-default)));
+ /* @todo There's not a good semantic alias to map this to */
+ --spectrum-calendar-day-today-border-color: var(--highcontrast-calendar-day-today-border-color, var(--mod-calendar-day-today-border-color, var(--spectrum-gray-800)));
+
+ /* Applied to both title-text-color and today-text-color */
+ --spectrum-calendar-day-text-color: var(--mod-calendar-day-text-color, var(--spectrum-neutral-subdued-content-color-default));
+ --spectrum-calendar-day-text-color-selected: var(--highcontrast-calendar-day-text-color-selected, var(--mod-calendar-day-text-color-selected, var(--spectrum-neutral-content-color-down)));
+ --spectrum-calendar-day-text-color-cap-selected: var(--highcontrast-calendar-day-text-color-cap-selected, var(--mod-calendar-day-text-color-cap-selected, var(--spectrum-neutral-content-color-down)));
+ --spectrum-calendar-day-text-color-hover: var(--highcontrast-calendar-day-text-color-hover, var(--mod-calendar-day-text-color-hover, var(--spectrum-neutral-content-color-hover)));
+ --spectrum-calendar-day-text-color-key-focus: var(--highcontrast-calendar-day-text-color-key-focus, var(--mod-calendar-day-text-color-key-focus, var(--spectrum-neutral-content-color-key-focus)));
+
+ /* Disabled state */
+ --spectrum-calendar-day-text-color-disabled: var(--mod-calendar-day-text-color-disabled, var(--spectrum-disabled-content-color));
+ --spectrum-calendar-day-today-border-color-disabled: var(--mod-calendar-day-today-border-color-disabled, var(--spectrum-disabled-border-color));
+
+ &:lang(ja),
+ &:lang(zh),
+ &:lang(ko) {
+ --spectrum-calendar-day-text-size: var(--mod-calendar-day-text-size-han, var(--spectrum-font-size-50));
+ }
+}
+
+@media (forced-colors: active) {
+ .spectrum-Calendar-date {
+ --highcontrast-calendar-day-title-text-color: CanvasText;
+
+ --highcontrast-calendar-day-text-color-selected: HighlightText;
+ --highcontrast-calendar-day-text-color-cap-selected: HighlightText;
+ --highcontrast-calendar-day-text-color-hover: HighlightText;
+ --highcontrast-calendar-day-text-color-key-focus: ButtonText;
+
+ --highcontrast-calendar-day-background-selected: Highlight;
+ --highcontrast-calendar-day-background-selected-hover: Highlight;
+ --highcontrast-calendar-day-background-cap-selected: Highlight;
+ --highcontrast-calendar-day-background-hover: Highlight;
+ --highcontrast-calendar-day-background-focus: ButtonFace;
+ --highcontrast-calendar-day-background-down: ButtonFace;
+
+ --highcontrast-calendar-day-today-border-color: ButtonText;
+ --highcontrast-calendar-day-border-color-focus: ButtonText;
+
+ --highcontrast-calendar-day-today-text-color: ButtonText;
+ --highcontrast-calendar-day-today-background-selected-hover: Highlight;
+
+ forced-color-adjust: none;
+
+ &::before {
+ background: Transparent !important;
+ }
+
+ &.is-selected {
+ background: Highlight;
+ }
+
+ &.is-disabled {
+ --highcontrast-calendar-day-title-text-color: GrayText;
+
+ --highcontrast-calendar-day-text-color-hover: GrayText;
+ --highcontrast-calendar-day-text-color-key-focus: GrayText;
+
+ --highcontrast-calendar-day-today-text-color: HighlightText;
+ --highcontrast-calendar-day-today-border-color: HighlightText;
+ }
+
+ &.is-range-selection.is-selection-start,
+ &.is-range-selection.is-selection-end {
+ --mod-calendar-day-fill-content: none;
+ }
+ }
+}
+
.spectrum-Calendar {
- inline-size: var(--mod-calendar-width, var(--spectrum-calendar-width));
display: inline-block;
+ inline-size: var(--spectrum-calendar-width);
}
.spectrum-Calendar--padded {
- margin: var(--mod-calendar-margin-x, var(--spectrum-calendar-margin-x)) var(--mod-calendar-margin-y, var(--spectrum-calendar-margin-y));
+ margin: var(--spectrum-calendar-margin-x) var(--spectrum-calendar-margin-y);
}
.spectrum-Calendar-header {
@@ -73,11 +153,11 @@
}
.spectrum-Calendar-title {
- color: var(--highcontrast-calendar-day-title-text-color, var(--mod-calendar-day-title-text-color, var(--spectrum-calendar-day-title-text-color)));
- font-size: var(--mod-calendar-title-text-size, var(--spectrum-calendar-title-text-size));
- font-weight: bold;
+ color: var(--spectrum-calendar-title-text-color);
+ font-size: var(--spectrum-calendar-title-text-size);
+ font-weight: var(--spectrum-calendar-title-text-font-weight);
- line-height: var(--mod-calendar-title-height, var(--spectrum-calendar-title-height));
+ line-height: var(--spectrum-calendar-title-height);
margin: 0;
order: 1;
flex-grow: 1;
@@ -90,11 +170,14 @@
.spectrum-Calendar-prevMonth,
.spectrum-Calendar-nextMonth {
- transform: var(--spectrum-logical-rotation);
-
- &:not([disabled]) {
- color: var(--highcontrast-calendar-button-icon-color, var(--mod-calendar-button-icon-color, var(--spectrum-calendar-button-icon-color)));
- }
+ /* @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);
+ /* @passthrough end */
+
+ transform: var(--spectrum-logical-rotation,);
}
.spectrum-Calendar-prevMonth {
@@ -111,13 +194,13 @@
justify-content: flex-end;
block-size: 100%;
- inline-size: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
+ inline-size: var(--spectrum-calendar-day-width);
border-block-end: none !important; /* override abbr styling from normalize.css */
- color: var(--highcontrast-calendar-day-title-text-color, var(--mod-calendar-day-title-text-color, var(--spectrum-calendar-day-title-text-color)));
- font-size: var(--mod-calendar-day-title-text-size, var(--spectrum-calendar-day-title-text-size));
- font-weight: var(--mod-calendar-day-title-text-font-weight, var(--spectrum-calendar-day-title-text-font-weight));
+ color: var(--spectrum-calendar-title-text-color);
+ font-size: var(--spectrum-calendar-heading-text-size);
+ font-weight: var(--spectrum-calendar-title-text-font-weight);
text-transform: uppercase;
text-decoration: none !important; /* override abbr styling from normalize.css */
@@ -132,8 +215,7 @@
text-decoration: underline;
text-decoration: underline dotted;
- /* Add letter spacing of 0.66px from Typography > Detail issue #407 */
- letter-spacing: var(--mod-calendar-title-text-letter-spacing, var(--spectrum-calendar-title-text-letter-spacing));
+ letter-spacing: var(--spectrum-calendar-title-text-letter-spacing);
}
}
@@ -144,8 +226,6 @@
.spectrum-Calendar-table {
table-layout: fixed;
- /* width: 100%; */
-
border-collapse: collapse;
border-spacing: 0;
@@ -154,11 +234,13 @@
.spectrum-Calendar-tableCell {
text-align: center;
+
position: relative;
box-sizing: content-box;
- block-size: var(--mod-calendar-day-height, var(--spectrum-calendar-day-height));
- inline-size: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
- padding: var(--mod-calendar-day-padding, var(--spectrum-calendar-day-padding));
+
+ block-size: var(--spectrum-calendar-day-height);
+ inline-size: var(--spectrum-calendar-day-width);
+ padding: var(--spectrum-calendar-day-padding);
&:focus {
outline: 0;
@@ -168,106 +250,128 @@
.spectrum-Calendar-date {
/* This is fun, but we need to trick the table so it doesn't size itself in a weird way */
position: absolute;
- display: block;
+ display: var(--mod-calendar-day-visibility, block);
inset-block-start: 0;
inset-inline-start: 0;
box-sizing: border-box;
- block-size: var(--mod-calendar-day-height, var(--spectrum-calendar-day-height));
- inline-size: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
- margin: var(--mod-calendar-day-padding, var(--spectrum-calendar-day-padding));
+ block-size: var(--spectrum-calendar-day-height);
+ inline-size: var(--spectrum-calendar-day-width);
+ margin: var(--spectrum-calendar-day-padding);
- border-radius: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
- border: var(--mod-calendar-day-border-size, var(--spectrum-calendar-day-border-size)) solid transparent;
+ border-width: var(--spectrum-calendar-day-border-size);
+ border-style: solid;
+ border-color: var(--spectrum-calendar-day-border-color);
+ border-radius: var(--spectrum-calendar-day-width);
- font-size: var(--mod-calendar-day-text-size, var(--spectrum-calendar-day-text-size));
- line-height: calc(var(--mod-calendar-day-width, var(--spectrum-calendar-day-width)) - var(--mod-calendar-day-border-size, var(--spectrum-calendar-day-border-size)) * 2);
+ font-size: var(--spectrum-calendar-day-text-size);
+ font-weight: var(--spectrum-calendar-day-text-font-weight);
+ line-height: calc(var(--spectrum-calendar-day-width) - var(--spectrum-calendar-day-border-size) * 2);
white-space: nowrap;
+ color: var(--spectrum-calendar-day-text-color);
+ background: var(--spectrum-calendar-day-background-layer-color);
+
cursor: pointer;
- &:lang(ja),
- &:lang(zh),
- &:lang(ko) {
- font-size: var(--mod-calendar-day-text-size-han, var(--spectrum-calendar-day-text-size-han));
+ &::before {
+ content: "";
+ position: absolute;
+ inset-block-start: calc(50% - var(--spectrum-calendar-day-width) / 2);
+ inset-inline-start: calc(50% - var(--spectrum-calendar-day-width) / 2);
+
+ box-sizing: border-box;
+ inline-size: var(--spectrum-calendar-day-width);
+ block-size: var(--spectrum-calendar-day-height);
+
+ background: var(--spectrum-calendar-day-background);
+
+ border-width: var(--spectrum-calendar-day-border-size);
+ border-style: solid;
+ border-color: var(--mod-calendar-day-border-color, transparent);
+
+ border-radius: var(--spectrum-calendar-day-width);
}
- &.is-disabled {
- cursor: default;
- pointer-events: none;
+ &::after {
+ position: absolute;
+ inset-block-start: 0;
+
+ display: var(--mod-calendar-day-fill-display, none);
+
+ block-size: var(--spectrum-calendar-day-height);
+ inline-size: var(--spectrum-calendar-day-width);
+
+ border-radius: var(--spectrum-calendar-day-width);
+ background: transparent;
+
+ content: var(--mod-calendar-day-fill-content, "");
}
- &.is-outsideMonth {
- display: none;
+ &:hover {
+ --mod-calendar-day-text-color: var(--spectrum-calendar-day-text-color-hover);
+
+ &:not(.is-selection-end, .is-selection-start) {
+ --mod-calendar-day-background-color: var(--spectrum-calendar-day-background-hover);
+ }
+
+ &.is-selected:not(.is-selection-end, .is-selection-start),
+ &.is-range-selection {
+ --mod-calendar-day-background-color: var(--spectrum-calendar-day-background-selected-hover);
+ }
}
- &::before {
- content: "";
- position: absolute;
- inset-block-start: calc(50% - calc(var(--mod-calendar-day-width, var(--spectrum-calendar-day-width)) / 2));
- inset-inline-start: calc(50% - calc(var(--mod-calendar-day-width, var(--spectrum-calendar-day-width)) / 2));
- box-sizing: border-box;
- inline-size: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
- block-size: var(--mod-calendar-day-height, var(--spectrum-calendar-day-height));
- border-radius: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
- border: var(--mod-calendar-day-border-size, var(--spectrum-calendar-day-border-size)) solid transparent;
+ &:active {
+ /* Applied behind the selected circle around the date */
+ --mod-calendar-day-background-layer-color: var(--spectrum-calendar-day-background-down);
}
- &.is-selected:not(.is-range-selection) {
- font-weight: var(--mod-calendar-day-text-font-weight-selected, var(--spectrum-calendar-day-text-font-weight-selected));
+ &.is-focused {
+ --mod-calendar-day-border-color: var(--spectrum-calendar-day-border-color-focus);
- &::before {
- /* No highlight for lone selections */
- display: none;
+ &.is-selected,
+ &.is-range-selection {
+ --mod-calendar-day-background-color: var(--spectrum-calendar-day-background-selected);
}
}
- &.is-today {
- font-weight: var(--mod-calendar-day-today-text-font-weight, var(--spectrum-calendar-day-today-text-font-weight));
+ &.is-outsideMonth {
+ --mod-calendar-day-visibility: none;
}
&.is-range-selection {
+ inline-size: calc(var(--spectrum-calendar-day-width) + var(--spectrum-calendar-day-padding) * 2);
+
/* overrides to make the cells appear connected */
- margin: var(--mod-calendar-day-padding, var(--spectrum-calendar-day-padding)) 0;
- border-width: var(--mod-calendar-border-width-reset, var(--spectrum-calendar-border-width-reset));
- line-height: var(--mod-calendar-day-height, var(--spectrum-calendar-day-height));
- border-radius: var(--mod-calendar-border-radius-reset, var(--spectrum-calendar-border-radius-reset));
+ margin: var(--spectrum-calendar-day-padding) 0;
- inline-size: calc(var(--mod-calendar-day-width, var(--spectrum-calendar-day-width)) + calc(var(--mod-calendar-day-padding, var(--spectrum-calendar-day-padding)) * 2));
+ border-width: var(--spectrum-calendar-border-width-reset);
+ border-radius: var(--spectrum-calendar-border-radius-reset);
+
+ line-height: var(--spectrum-calendar-day-height);
- &.is-range-start,
- &.is-range-end,
&.is-selection-start,
- &.is-selection-end {
- inline-size: calc(var(--mod-calendar-day-width, var(--spectrum-calendar-day-width)) + var(--mod-calendar-day-padding, var(--spectrum-calendar-day-padding)));
+ &.is-selection-end,
+ &.is-range-start,
+ &.is-selection-start {
+ inline-size: calc(var(--spectrum-calendar-day-width) + var(--spectrum-calendar-day-padding));
}
&.is-selection-start,
&.is-selection-end {
- font-weight: var(--mod-calendar-day-text-font-weight-cap-selected, var(--spectrum-calendar-day-text-font-weight-cap-selected));
-
- &::after {
- position: absolute;
- inset-block-start: 0;
-
- display: block;
-
- block-size: var(--mod-calendar-day-height, var(--spectrum-calendar-day-height));
- inline-size: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
-
- border-radius: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
-
- content: "";
- }
+ --mod-calendar-day-fill-display: block;
+ --mod-calendar-day-text-font-weight: var(--spectrum-calendar-day-text-font-weight-selected);
+ --mod-calendar-day-text-color: var(--spectrum-calendar-day-text-color-cap-selected);
}
&.is-range-start,
&.is-selection-start {
- padding-inline-end: var(--mod-calendar-day-padding, var(--spectrum-calendar-day-padding));
- margin-inline-start: var(--mod-calendar-day-padding, var(--spectrum-calendar-day-padding));
- border-start-start-radius: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
- border-end-start-radius: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
+ padding-inline-end: var(--spectrum-calendar-day-padding);
+ margin-inline-start: var(--spectrum-calendar-day-padding);
+
+ border-start-start-radius: var(--spectrum-calendar-day-width);
+ border-end-start-radius: var(--spectrum-calendar-day-width);
&::before,
&::after {
@@ -277,10 +381,12 @@
&.is-range-end,
&.is-selection-end {
- padding-inline-start: var(--mod-calendar-day-padding, var(--spectrum-calendar-day-padding));
- margin-inline-end: var(--mod-calendar-day-padding, var(--spectrum-calendar-day-padding));
- border-start-end-radius: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
- border-end-end-radius: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
+ inline-size: calc(var(--spectrum-calendar-day-width) + var(--spectrum-calendar-day-padding));
+ padding-inline-start: var(--spectrum-calendar-day-padding);
+ margin-inline-end: var(--spectrum-calendar-day-padding);
+
+ border-start-end-radius: var(--spectrum-calendar-day-width);
+ border-end-end-radius: var(--spectrum-calendar-day-width);
&::before,
&::after {
@@ -289,178 +395,81 @@
}
}
+ /* dates that are both start & end */
&.is-selection-start.is-selection-end,
&.is-selection-start.is-range-end,
&.is-selection-end.is-range-start,
&.is-range-start.is-range-end {
- inline-size: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
- border-radius: var(--mod-calendar-day-width, var(--spectrum-calendar-day-width));
+ inline-size: var(--spectrum-calendar-day-width);
+ border-radius: var(--spectrum-calendar-day-width);
}
}
-}
-
-.spectrum-Calendar-date {
- color: var(--highcontrast-calendar-day-title-text-color, var(--mod-calendar-day-title-text-color, var(--spectrum-calendar-day-title-text-color)));
- &:hover {
- color: var(--highcontrast-calendar-day-text-color-hover, var(--mod-calendar-day-text-color-hover, var(--spectrum-calendar-day-text-color-hover)));
-
- &:not(.is-selection-end, .is-selection-start) {
- &::before {
- background: var(--highcontrast-calendar-day-background-color-hover, var(--mod-calendar-day-background-color-hover, var(--spectrum-calendar-day-background-color-hover)));
- }
+ &:not(.is-range-selection) {
+ &.is-focused:active,
+ &.is-focused.is-selected {
+ --mod-calendar-day-text-color-key-focus: var(--spectrum-calendar-day-text-color-cap-selected);
+ --mod-calendar-day-background-color-key-focus: var(--spectrum-calendar-day-background-cap-selected);
}
- &.is-selected:not(.is-selection-end, .is-selection-start)::before {
- background: var(--highcontrast-calendar-day-background-color-selected-hover, var(--mod-calendar-day-background-color-selected-hover, var(--spectrum-calendar-day-background-color-selected-hover)));
+ &.is-focused {
+ --mod-calendar-day-text-color: var(--spectrum-calendar-day-text-color-key-focus);
+ --mod-calendar-day-background-color: var(--spectrum-calendar-day-background-focus);
+ --mod-calendar-day-border-color: var(--spectrum-calendar-day-border-color-focus);
}
- &.is-range-selection {
- &::before {
- background: var(--highcontrast-calendar-day-background-color-selected-hover, var(--mod-calendar-day-background-color-selected-hover, var(--spectrum-calendar-day-background-color-selected-hover)));
- }
+ &.is-today.is-selected {
+ --mod-calendar-day-background-color-hover: var(--spectrum-calendar-day-today-background-selected-hover);
}
- }
- &:active {
- background-color: var(--highcontrast-calendar-day-background-color-down, var(--mod-calendar-day-background-color-down, var(--spectrum-calendar-day-background-color-down)));
+ &.is-selected {
+ --mod-calendar-day-text-color: var(--spectrum-calendar-day-text-color-cap-selected);
+ --mod-calendar-day-background-color: var(--spectrum-calendar-day-background-cap-selected);
+ --mod-calendar-day-background-layer-color: transparent;
+ --mod-calendar-day-text-font-weight: var(--spectrum-calendar-day-text-font-weight-cap-selected);
+ }
}
&.is-selected {
- color: var(--highcontrast-calendar-day-text-color-selected, var(--mod-calendar-day-text-color-selected, var(--spectrum-calendar-day-text-color-selected)));
- background: var(--highcontrast-calendar-day-background-color-selected, var(--mod-calendar-day-background-color-selected, var(--spectrum-calendar-day-background-color-selected)));
- }
+ --mod-calendar-day-text-color: var(--spectrum-calendar-day-text-color-selected);
- &.is-selected:not(.is-range-selection) {
- background: var(--highcontrast-calendar-day-background-color-cap-selected, var(--mod-calendar-day-background-color-cap-selected, var(--spectrum-calendar-day-background-color-cap-selected)));
+ /* Applied behind the selected circle around the date */
+ --mod-calendar-day-background-color: var(--spectrum-calendar-day-background-cap-selected);
+ --mod-calendar-day-background-layer-color: var(--spectrum-calendar-day-background-selected);
}
&.is-today {
- color: var(--highcontrast-calendar-day-today-text-color, var(--mod-calendar-day-today-text-color, var(--spectrum-calendar-day-today-text-color)));
- border-color: var(--highcontrast-calendar-day-today-border-color, var(--mod-calendar-day-today-border-color, var(--spectrum-calendar-day-today-border-color)));
-
- &::before {
- border-color: var(--highcontrast-calendar-day-today-border-color, var(--mod-calendar-day-today-border-color, var(--spectrum-calendar-day-today-border-color)));
- }
-
- &.is-selected:not(.is-range-selection):hover::before {
- background: var(--highcontrast-calendar-day-today-background-color-selected-hover, var(--mod-calendar-day-today-background-color-selected-hover, var(--spectrum-calendar-day-today-background-color-selected-hover)));
- }
-
- &.is-disabled {
- color: var(--highcontrast-calendar-day-today-text-color-disabled, var(--mod-calendar-day-today-text-color-disabled, var(--spectrum-calendar-day-today-text-color-disabled)));
- border-color: var(--highcontrast-calendar-day-today-border-color-disabled, var(--mod-calendar-day-today-border-color-disabled, var(--spectrum-calendar-day-today-border-color-disabled)));
-
- &::before {
- border-color: var(--highcontrast-calendar-day-today-border-color-disabled, var(--mod-calendar-day-today-border-color-disabled, var(--spectrum-calendar-day-today-border-color-disabled)));
- }
- }
- }
-
- &.is-focused:not(.is-range-selection) {
- background: var(--highcontrast-calendar-day-background-color-key-focus, var(--mod-calendar-day-background-color-key-focus, var(--spectrum-calendar-day-background-color-key-focus)));
- border-color: var(--highcontrast-calendar-day-border-color-key-focus, var(--mod-calendar-day-border-color-key-focus, var(--spectrum-calendar-day-border-color-key-focus)));
- color: var(--highcontrast-calendar-day-text-color-key-focus, var(--mod-calendar-day-text-color-key-focus, var(--spectrum-calendar-day-text-color-key-focus)));
-
- &.is-today {
- border-color: var(--highcontrast-calendar-day-border-color-key-focus, var(--mod-calendar-day-border-color-key-focus, var(--spectrum-calendar-day-border-color-key-focus)));
- }
-
- &:active,
- &.is-selected {
- color: var(--highcontrast-calendar-day-text-color-selected, var(--mod-calendar-day-text-color-selected, var(--spectrum-calendar-day-text-color-selected)));
- background: var(--highcontrast-calendar-day-background-color-cap-selected, var(--mod-calendar-day-background-color-cap-selected, var(--spectrum-calendar-day-background-color-cap-selected)));
- border-color: var(--highcontrast-calendar-day-border-color-key-focus, var(--mod-calendar-day-border-color-key-focus, var(--spectrum-calendar-day-border-color-key-focus)));
- }
- }
-
- &.is-focused {
- &.is-selected {
- &::before {
- background: var(--highcontrast-calendar-day-background-color-selected-hover, var(--mod-calendar-day-background-color-selected-hover, var(--spectrum-calendar-day-background-color-selected-hover)));
- }
- }
-
- &.is-range-selection {
- &::before {
- background: var(--highcontrast-calendar-day-background-color-selected-hover, var(--mod-calendar-day-background-color-selected-hover, var(--spectrum-calendar-day-background-color-selected-hover)));
- }
- }
-
- &::before {
- border-color: var(--highcontrast-calendar-day-border-color-key-focus, var(--mod-calendar-day-border-color-key-focus, var(--spectrum-calendar-day-border-color-key-focus)));
- }
+ --mod-calendar-day-text-color: var(--spectrum-calendar-day-today-text-color);
+ --mod-calendar-day-border-color: var(--spectrum-calendar-day-today-border-color);
+ --mod-calendar-day-text-font-weight: var(--spectrum-calendar-day-today-text-font-weight);
}
&.is-disabled {
- color: var(--highcontrast-calendar-day-text-color-disabled, var(--mod-calendar-day-text-color-disabled, var(--spectrum-calendar-day-text-color-disabled)));
- }
-
- &.is-selection-start,
- &.is-selection-end {
- color: var(--highcontrast-calendar-day-text-color-cap-selected, var(--mod-calendar-day-text-color-cap-selected, var(--spectrum-calendar-day-text-color-cap-selected)));
-
- &::after {
- background-color: var(--highcontrast-calendar-day-background-color-selected, var(--mod-calendar-day-background-color-selected, var(--spectrum-calendar-day-background-color-selected)));
- }
-
- &.is-disabled {
- color: var(--highcontrast-calendar-day-text-color-disabled, var(--mod-calendar-day-text-color-disabled, var(--spectrum-calendar-day-text-color-disabled)));
- }
- }
-}
-
-@media (forced-colors: active) {
- .spectrum-Calendar-prevMonth,
- .spectrum-Calendar-nextMonth {
- --highcontrast-calendar-button-icon-color-disabled: GrayText;
- --highcontrast-calendar-button-icon-color: ButtonText;
- }
-
- .spectrum-Calendar-date {
- --highcontrast-calendar-day-background-color-cap-selected: Highlight;
- --highcontrast-calendar-day-background-color-down: ButtonFace;
- --highcontrast-calendar-day-background-color-hover: Transparent;
- --highcontrast-calendar-day-background-color-key-focus: ButtonFace;
- --highcontrast-calendar-day-background-color-selected-hover: Transparent;
- --highcontrast-calendar-day-background-color-selected: Highlight;
- --highcontrast-calendar-day-border-color-key-focus: ButtonText;
- --highcontrast-calendar-day-text-color-cap-selected: HighlightText;
- --highcontrast-calendar-day-text-color-disabled: GrayText;
- --highcontrast-calendar-day-text-color-hover: ButtonText;
- --highcontrast-calendar-day-text-color-key-focus: ButtonText;
- --highcontrast-calendar-day-text-color-selected-hover: HighlightText;
- --highcontrast-calendar-day-text-color-selected: HighlightText;
- --highcontrast-calendar-day-title-text-color: CanvasText;
- --highcontrast-calendar-day-today-background-color-selected-hover: Highlight;
- --highcontrast-calendar-day-today-border-color-disabled: GrayText;
- --highcontrast-calendar-day-today-border-color: ButtonText;
- --highcontrast-calendar-day-today-text-color-disabled: GrayText;
- --highcontrast-calendar-day-today-text-color: ButtonText;
-
- forced-color-adjust: none;
+ --mod-calendar-day-text-color: var(--spectrum-calendar-day-text-color-disabled);
+ --mod-calendar-day-text-color-selected: var(--spectrum-calendar-day-text-color-disabled);
+ --mod-calendar-day-text-color-cap-selected: var(--spectrum-calendar-day-text-color-disabled);
+ --mod-calendar-day-text-color-hover: var(--spectrum-calendar-day-text-color-disabled);
+ --mod-calendar-day-text-color-key-focus: var(--spectrum-calendar-day-text-color-disabled);
+
+ --mod-calendar-day-today-border-color: var(--spectrum-calendar-day-today-border-color-disabled);
+ --mod-calendar-day-border-color-key-focus: transparent;
+
+ --mod-calendar-day-background-color-selected: var(--spectrum-calendar-day-background-color-selected-disabled);
+ --mod-calendar-day-background-color-selected-hover: transparent;
+ --mod-calendar-day-background-color-cap-selected: transparent;
+ --mod-calendar-day-background-color-hover: transparent;
+ --mod-calendar-day-background-color-focus: transparent;
+ --mod-calendar-day-background-color-down: transparent;
+
+ --mod-calendar-day-text-font-weight: normal;
+ --mod-calendar-day-text-font-weight-selected: normal;
+ --mod-calendar-day-text-font-weight-cap-selected: normal;
- &.is-range-selection {
- &.is-today {
- color: HighlightText;
- }
-
- &.is-selection-start::after,
- &.is-selection-end::after {
- content: none;
- }
- }
-
- &.is-disabled {
- &.is-range-selection {
- background: Highlight;
- color: HighlightText;
- }
+ pointer-events: none;
- &.is-selected {
- background: Highlight;
- color: HighlightText;
- }
+ /* @todo sync with design on these colors and states for disabled calendars */
+ &.is-selected {
+ --mod-calendar-day-background-layer-color: var(--spectrum-calendar-day-background-selected);
}
}
}
diff --git a/components/calendar/metadata/metadata.json b/components/calendar/metadata/metadata.json
index be6710fa5c1..676c81a041f 100644
--- a/components/calendar/metadata/metadata.json
+++ b/components/calendar/metadata/metadata.json
@@ -6,13 +6,11 @@
".spectrum-Calendar-body",
".spectrum-Calendar-date",
".spectrum-Calendar-date.is-disabled",
- ".spectrum-Calendar-date.is-disabled.is-range-selection",
".spectrum-Calendar-date.is-disabled.is-selected",
- ".spectrum-Calendar-date.is-focused.is-range-selection:before",
- ".spectrum-Calendar-date.is-focused.is-selected:before",
+ ".spectrum-Calendar-date.is-focused",
+ ".spectrum-Calendar-date.is-focused.is-range-selection",
+ ".spectrum-Calendar-date.is-focused.is-selected",
".spectrum-Calendar-date.is-focused.is-selected:not(.is-range-selection)",
- ".spectrum-Calendar-date.is-focused.is-today:not(.is-range-selection)",
- ".spectrum-Calendar-date.is-focused:before",
".spectrum-Calendar-date.is-focused:not(.is-range-selection)",
".spectrum-Calendar-date.is-focused:not(.is-range-selection):active",
".spectrum-Calendar-date.is-outsideMonth",
@@ -33,27 +31,17 @@
".spectrum-Calendar-date.is-range-selection.is-selection-start.is-selection-end",
".spectrum-Calendar-date.is-range-selection.is-selection-start:after",
".spectrum-Calendar-date.is-range-selection.is-selection-start:before",
- ".spectrum-Calendar-date.is-range-selection.is-today",
- ".spectrum-Calendar-date.is-range-selection:hover:before",
+ ".spectrum-Calendar-date.is-range-selection:hover",
".spectrum-Calendar-date.is-selected",
- ".spectrum-Calendar-date.is-selected:hover:not(.is-selection-end, .is-selection-start):before",
+ ".spectrum-Calendar-date.is-selected:hover:not(.is-selection-end, .is-selection-start)",
".spectrum-Calendar-date.is-selected:not(.is-range-selection)",
- ".spectrum-Calendar-date.is-selected:not(.is-range-selection):before",
- ".spectrum-Calendar-date.is-selection-end",
- ".spectrum-Calendar-date.is-selection-end.is-disabled",
- ".spectrum-Calendar-date.is-selection-end:after",
- ".spectrum-Calendar-date.is-selection-start",
- ".spectrum-Calendar-date.is-selection-start.is-disabled",
- ".spectrum-Calendar-date.is-selection-start:after",
".spectrum-Calendar-date.is-today",
- ".spectrum-Calendar-date.is-today.is-disabled",
- ".spectrum-Calendar-date.is-today.is-disabled:before",
- ".spectrum-Calendar-date.is-today.is-selected:not(.is-range-selection):hover:before",
- ".spectrum-Calendar-date.is-today:before",
+ ".spectrum-Calendar-date.is-today.is-selected:not(.is-range-selection)",
".spectrum-Calendar-date:active",
+ ".spectrum-Calendar-date:after",
".spectrum-Calendar-date:before",
".spectrum-Calendar-date:hover",
- ".spectrum-Calendar-date:hover:not(.is-selection-end, .is-selection-start):before",
+ ".spectrum-Calendar-date:hover:not(.is-selection-end, .is-selection-start)",
".spectrum-Calendar-date:lang(ja)",
".spectrum-Calendar-date:lang(ko)",
".spectrum-Calendar-date:lang(zh)",
@@ -61,9 +49,7 @@
".spectrum-Calendar-dayOfWeek[title]",
".spectrum-Calendar-header",
".spectrum-Calendar-nextMonth",
- ".spectrum-Calendar-nextMonth:not([disabled])",
".spectrum-Calendar-prevMonth",
- ".spectrum-Calendar-prevMonth:not([disabled])",
".spectrum-Calendar-table",
".spectrum-Calendar-tableCell",
".spectrum-Calendar-tableCell:focus",
@@ -75,21 +61,29 @@
"--mod-calendar-border-radius-reset",
"--mod-calendar-border-width-reset",
"--mod-calendar-button-icon-color",
+ "--mod-calendar-day-background-color",
"--mod-calendar-day-background-color-cap-selected",
"--mod-calendar-day-background-color-down",
+ "--mod-calendar-day-background-color-focus",
"--mod-calendar-day-background-color-hover",
"--mod-calendar-day-background-color-key-focus",
"--mod-calendar-day-background-color-selected",
"--mod-calendar-day-background-color-selected-hover",
+ "--mod-calendar-day-background-layer-color",
+ "--mod-calendar-day-border-color",
"--mod-calendar-day-border-color-key-focus",
"--mod-calendar-day-border-size",
+ "--mod-calendar-day-fill-content",
+ "--mod-calendar-day-fill-display",
"--mod-calendar-day-height",
"--mod-calendar-day-padding",
+ "--mod-calendar-day-text-color",
"--mod-calendar-day-text-color-cap-selected",
"--mod-calendar-day-text-color-disabled",
"--mod-calendar-day-text-color-hover",
"--mod-calendar-day-text-color-key-focus",
"--mod-calendar-day-text-color-selected",
+ "--mod-calendar-day-text-font-weight",
"--mod-calendar-day-text-font-weight-cap-selected",
"--mod-calendar-day-text-font-weight-selected",
"--mod-calendar-day-text-size",
@@ -101,8 +95,8 @@
"--mod-calendar-day-today-border-color",
"--mod-calendar-day-today-border-color-disabled",
"--mod-calendar-day-today-text-color",
- "--mod-calendar-day-today-text-color-disabled",
"--mod-calendar-day-today-text-font-weight",
+ "--mod-calendar-day-visibility",
"--mod-calendar-day-width",
"--mod-calendar-margin-x",
"--mod-calendar-margin-y",
@@ -115,38 +109,50 @@
"--spectrum-calendar-border-radius-reset",
"--spectrum-calendar-border-width-reset",
"--spectrum-calendar-button-icon-color",
+ "--spectrum-calendar-day-background",
+ "--spectrum-calendar-day-background-cap-selected",
"--spectrum-calendar-day-background-color-cap-selected",
"--spectrum-calendar-day-background-color-down",
"--spectrum-calendar-day-background-color-hover",
"--spectrum-calendar-day-background-color-key-focus",
"--spectrum-calendar-day-background-color-selected",
+ "--spectrum-calendar-day-background-color-selected-disabled",
"--spectrum-calendar-day-background-color-selected-hover",
+ "--spectrum-calendar-day-background-down",
+ "--spectrum-calendar-day-background-focus",
+ "--spectrum-calendar-day-background-hover",
+ "--spectrum-calendar-day-background-layer-color",
+ "--spectrum-calendar-day-background-selected",
+ "--spectrum-calendar-day-background-selected-hover",
+ "--spectrum-calendar-day-border-color",
+ "--spectrum-calendar-day-border-color-focus",
"--spectrum-calendar-day-border-color-key-focus",
"--spectrum-calendar-day-border-size",
"--spectrum-calendar-day-height",
"--spectrum-calendar-day-padding",
+ "--spectrum-calendar-day-text-color",
"--spectrum-calendar-day-text-color-cap-selected",
"--spectrum-calendar-day-text-color-disabled",
"--spectrum-calendar-day-text-color-hover",
"--spectrum-calendar-day-text-color-key-focus",
"--spectrum-calendar-day-text-color-selected",
+ "--spectrum-calendar-day-text-font-weight",
"--spectrum-calendar-day-text-font-weight-cap-selected",
"--spectrum-calendar-day-text-font-weight-selected",
"--spectrum-calendar-day-text-size",
- "--spectrum-calendar-day-text-size-han",
- "--spectrum-calendar-day-title-text-color",
- "--spectrum-calendar-day-title-text-font-weight",
- "--spectrum-calendar-day-title-text-size",
"--spectrum-calendar-day-today-background-color-selected-hover",
+ "--spectrum-calendar-day-today-background-selected-hover",
"--spectrum-calendar-day-today-border-color",
"--spectrum-calendar-day-today-border-color-disabled",
"--spectrum-calendar-day-today-text-color",
- "--spectrum-calendar-day-today-text-color-disabled",
"--spectrum-calendar-day-today-text-font-weight",
"--spectrum-calendar-day-width",
+ "--spectrum-calendar-heading-text-size",
"--spectrum-calendar-margin-x",
"--spectrum-calendar-margin-y",
"--spectrum-calendar-title-height",
+ "--spectrum-calendar-title-text-color",
+ "--spectrum-calendar-title-text-font-weight",
"--spectrum-calendar-title-text-letter-spacing",
"--spectrum-calendar-title-text-size",
"--spectrum-calendar-width"
@@ -155,40 +161,42 @@
"--spectrum-bold-font-weight",
"--spectrum-border-width-200",
"--spectrum-component-height-100",
+ "--spectrum-disabled-border-color",
"--spectrum-disabled-content-color",
"--spectrum-font-size-100",
"--spectrum-font-size-300",
"--spectrum-font-size-50",
- "--spectrum-gray-400",
- "--spectrum-gray-500",
- "--spectrum-gray-700",
+ "--spectrum-gray-100-rgb",
"--spectrum-gray-800",
- "--spectrum-gray-900",
- "--spectrum-logical-rotation"
+ "--spectrum-logical-rotation",
+ "--spectrum-neutral-content-color-default",
+ "--spectrum-neutral-content-color-down",
+ "--spectrum-neutral-content-color-hover",
+ "--spectrum-neutral-content-color-key-focus",
+ "--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",
+ "--mod-actionbutton-min-width"
],
- "system-theme": [],
- "passthroughs": [],
"high-contrast": [
- "--highcontrast-calendar-button-icon-color",
- "--highcontrast-calendar-button-icon-color-disabled",
- "--highcontrast-calendar-day-background-color-cap-selected",
- "--highcontrast-calendar-day-background-color-down",
- "--highcontrast-calendar-day-background-color-hover",
- "--highcontrast-calendar-day-background-color-key-focus",
- "--highcontrast-calendar-day-background-color-selected",
- "--highcontrast-calendar-day-background-color-selected-hover",
- "--highcontrast-calendar-day-border-color-key-focus",
+ "--highcontrast-calendar-day-background-cap-selected",
+ "--highcontrast-calendar-day-background-down",
+ "--highcontrast-calendar-day-background-focus",
+ "--highcontrast-calendar-day-background-hover",
+ "--highcontrast-calendar-day-background-selected",
+ "--highcontrast-calendar-day-background-selected-hover",
+ "--highcontrast-calendar-day-border-color-focus",
"--highcontrast-calendar-day-text-color-cap-selected",
- "--highcontrast-calendar-day-text-color-disabled",
"--highcontrast-calendar-day-text-color-hover",
"--highcontrast-calendar-day-text-color-key-focus",
"--highcontrast-calendar-day-text-color-selected",
- "--highcontrast-calendar-day-text-color-selected-hover",
"--highcontrast-calendar-day-title-text-color",
- "--highcontrast-calendar-day-today-background-color-selected-hover",
+ "--highcontrast-calendar-day-today-background-selected-hover",
"--highcontrast-calendar-day-today-border-color",
- "--highcontrast-calendar-day-today-border-color-disabled",
- "--highcontrast-calendar-day-today-text-color",
- "--highcontrast-calendar-day-today-text-color-disabled"
+ "--highcontrast-calendar-day-today-text-color"
]
}
diff --git a/components/calendar/metadata/mods.md b/components/calendar/metadata/mods.md
index d95ba383981..837d5574720 100644
--- a/components/calendar/metadata/mods.md
+++ b/components/calendar/metadata/mods.md
@@ -3,21 +3,29 @@
| `--mod-calendar-border-radius-reset` |
| `--mod-calendar-border-width-reset` |
| `--mod-calendar-button-icon-color` |
+| `--mod-calendar-day-background-color` |
| `--mod-calendar-day-background-color-cap-selected` |
| `--mod-calendar-day-background-color-down` |
+| `--mod-calendar-day-background-color-focus` |
| `--mod-calendar-day-background-color-hover` |
| `--mod-calendar-day-background-color-key-focus` |
| `--mod-calendar-day-background-color-selected` |
| `--mod-calendar-day-background-color-selected-hover` |
+| `--mod-calendar-day-background-layer-color` |
+| `--mod-calendar-day-border-color` |
| `--mod-calendar-day-border-color-key-focus` |
| `--mod-calendar-day-border-size` |
+| `--mod-calendar-day-fill-content` |
+| `--mod-calendar-day-fill-display` |
| `--mod-calendar-day-height` |
| `--mod-calendar-day-padding` |
+| `--mod-calendar-day-text-color` |
| `--mod-calendar-day-text-color-cap-selected` |
| `--mod-calendar-day-text-color-disabled` |
| `--mod-calendar-day-text-color-hover` |
| `--mod-calendar-day-text-color-key-focus` |
| `--mod-calendar-day-text-color-selected` |
+| `--mod-calendar-day-text-font-weight` |
| `--mod-calendar-day-text-font-weight-cap-selected` |
| `--mod-calendar-day-text-font-weight-selected` |
| `--mod-calendar-day-text-size` |
@@ -29,8 +37,8 @@
| `--mod-calendar-day-today-border-color` |
| `--mod-calendar-day-today-border-color-disabled` |
| `--mod-calendar-day-today-text-color` |
-| `--mod-calendar-day-today-text-color-disabled` |
| `--mod-calendar-day-today-text-font-weight` |
+| `--mod-calendar-day-visibility` |
| `--mod-calendar-day-width` |
| `--mod-calendar-margin-x` |
| `--mod-calendar-margin-y` |
diff --git a/components/calendar/package.json b/components/calendar/package.json
index 7a7b9ea0b20..2d70b4d1c9e 100644
--- a/components/calendar/package.json
+++ b/components/calendar/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/calendar",
- "version": "5.3.0",
+ "version": "6.0.0-s2-foundations.16",
"description": "The Spectrum CSS calendar component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=6",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/actionbutton": "workspace:^",
diff --git a/components/calendar/stories/calendar.mdx b/components/calendar/stories/calendar.mdx
deleted file mode 100644
index 6fb7a8b8f06..00000000000
--- a/components/calendar/stories/calendar.mdx
+++ /dev/null
@@ -1,60 +0,0 @@
-import {
- ArgTypes,
- Canvas,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-
-import * as CalendarStories from "./calendar.stories";
-
-
-
-
-
-
-
-
-
-## Standard
-
-
-
-## Abbreviated weekdays
-
-
-
-## Range selection
-
-For calendars with a selected range:
-
-- `.is-selection-start` class goes on the first day in the selection, and `.is-range-start` goes on the first day of each week or month in the middle of a selection (but not the first day of the selection)
-- `.is-selection-end` goes on the last day of the selection, and `.is-range-end goes` on the last day of each week or month in the middle of the selection (but not on the last day of the selection)
-
-
-
-## Focused
-
-
-
-## Disabled
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/calendar/stories/calendar.stories.js b/components/calendar/stories/calendar.stories.js
index a1844700b0d..926b3589b39 100644
--- a/components/calendar/stories/calendar.stories.js
+++ b/components/calendar/stories/calendar.stories.js
@@ -11,7 +11,7 @@ const months = [...Array(12).keys()].map((key) =>
);
/**
- * Calendars display a grid of days in one or more months and allow users to select a single date.
+ * Calendars display a grid of days in one or more months and allow users to select a single date or a range of dates.
*/
export default {
title: "Calendar",
@@ -27,6 +27,9 @@ export default {
options: months,
control: "select",
},
+ // The date selection controls don't update the story, so they are removed from the table.
+ // TODO: We may have to refactor some of the template to create a working controls for the
+ // selectable dates.
selectedDay: {
name: "Selected date or range start (date)",
description:
@@ -35,10 +38,22 @@ export default {
table: {
type: { summary: "datetime" },
category: "Content",
+ disable: true,
},
control: "date",
if: { arg: "isDisabled", truthy: false },
},
+ isRangeSelection : {
+ name: "Range selection",
+ description: "Allow users to select a range of dates.",
+ type: { name: "boolean" },
+ table: {
+ type: { summary: "boolean" },
+ category: "Content",
+ disable: true,
+ },
+ control: "boolean",
+ },
lastDay: {
name: "Range end (date)",
description: "Defines the end of a date range.",
@@ -46,8 +61,10 @@ export default {
table: {
type: { summary: "datetime" },
category: "Content",
+ disable: true,
},
control: "date",
+ if: { arg: "isRangeSelection", truthy: true}
},
year: {
name: "Year",
@@ -69,7 +86,8 @@ export default {
control: "boolean",
},
useDOWAbbrev: {
- name: "Use 3 letter abbreviation for day of week",
+ name: "Use abbreviated weekdays",
+ description: "Uses a 3 letter abbreviation for day of week.",
type: { name: "boolean" },
table: {
type: { summary: "boolean" },
@@ -89,6 +107,7 @@ export default {
isFocused: false,
useDOWAbbrev: false,
buttonSize: ActionButtonStories.args.size,
+ isRangeSelection: false,
},
parameters: {
actions: {
@@ -99,45 +118,52 @@ export default {
packageJson,
metadata,
},
- tags: ["!autodocs"],
};
export const Default = CalendarGroup.bind({});
Default.args = {
month: months[6],
- selectedDay: new Date(2023, 6, 3),
- year: 2023,
+ selectedDay: new Date(2025, 6, 3),
+ year: 2025,
};
// ********* DOCS ONLY ********* //
export const AbbreviatedWeekdays = Template.bind({});
AbbreviatedWeekdays.args = {
+ ...Default.args,
useDOWAbbrev: true,
};
AbbreviatedWeekdays.tags = ["!dev"];
AbbreviatedWeekdays.parameters = {
chromatic: { disableSnapshot: true },
};
+AbbreviatedWeekdays.storyName = "Abbreviated weekdays";
+
+/**
+ * For calendars with a selectable range:
+- The `.is-range-start` and `.is-range-selection` classes go on the first day in the selection.
+- The `.is-range-end` and `.is-range-selection` classes go on the last day of the selection.
+- The `.is-range-selection` class goes on all days in the middle of the selection.
+ */
export const RangeSelection = Template.bind({});
RangeSelection.args = {
+ isRangeSelection: true,
month: months[6],
- selectedDay: new Date(2023, 6, 3),
- year: 2023,
- lastDay: new Date(2023, 6, 7),
- useDOWAbbrev: true,
+ selectedDay: new Date(2025, 6, 3),
+ year: 2025,
+ lastDay: new Date(2025, 6, 7),
isPadded: true,
};
-RangeSelection.tags = ["!dev"];
RangeSelection.parameters = {
chromatic: { disableSnapshot: true },
};
+RangeSelection.storyName = "Range selection";
export const Focused = Template.bind({});
Focused.args = {
- month: undefined,
+ ...Default.args,
selectedDay: undefined,
- year: undefined,
isFocused: true,
};
Focused.tags = ["!dev"];
@@ -148,6 +174,7 @@ Focused.parameters = {
export const Disabled = Template.bind({});
Disabled.tags = ["!dev"];
Disabled.args = {
+ ...Default.args,
isDisabled: true
};
Disabled.parameters = {
diff --git a/components/calendar/stories/template.js b/components/calendar/stories/template.js
index 2a739d64bcf..e624d0b5fc0 100644
--- a/components/calendar/stories/template.js
+++ b/components/calendar/stories/template.js
@@ -8,6 +8,9 @@ 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",
@@ -136,7 +139,7 @@ export const Template = ({
if (firstDOWInMonth > DOW.length - orphanedDays) {
weeksInMonth++;
}
- if (displayedMonth === 1 && firstDOWInMonth > 0) { // accounts for Feburary
+ if (displayedMonth === 1 && firstDOWInMonth > 0) { // accounts for February
weeksInMonth++;
}
@@ -283,7 +286,7 @@ export const Template = ({
isQuiet: true,
isDisabled,
size: buttonSize,
- iconName: "ChevronLeft100",
+ iconName: "ChevronLeft",
iconSet: "ui",
customClasses: [`${rootClass}-prevMonth`],
onclick: previousHandler.bind(null, {
@@ -297,7 +300,7 @@ export const Template = ({
isQuiet: true,
isDisabled,
size: buttonSize,
- iconName: "ChevronRight100",
+ iconName: "ChevronRight",
iconSet: "ui",
customClasses: [`${rootClass}-nextMonth`],
onclick: nextHandler.bind(null, {
@@ -365,8 +368,6 @@ export const Template = ({
"is-range-start": thisDay.isRangeStart,
"is-range-end": thisDay.isRangeEnd,
"is-selected": thisDay.isSelected,
- // "is-selection-start": thisDay.isRangeStart,
- // "is-selection-end": thisDay.isRangeEnd,
"is-disabled": isDisabled,
"is-focused": (isFocused && thisDay.isFocused) || thisDay.isSelected,
})}
diff --git a/components/calendar/themes/express.css b/components/calendar/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/calendar/themes/express.css
+++ b/components/calendar/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/calendar/themes/spectrum-two.css b/components/calendar/themes/spectrum-two.css
new file mode 100644
index 00000000000..8d0df483671
--- /dev/null
+++ b/components/calendar/themes/spectrum-two.css
@@ -0,0 +1,18 @@
+/*!
+ * 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
index 3b48a570c21..605b802fd2e 100644
--- a/components/calendar/themes/spectrum.css
+++ b/components/calendar/themes/spectrum.css
@@ -10,3 +10,13 @@
* 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 f590b7e5185..0e0f9088045 100644
--- a/components/card/CHANGELOG.md
+++ b/components/card/CHANGELOG.md
@@ -1,5 +1,341 @@
# Change Log
+## 10.0.0-s2-foundations.21
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.24
+ - @spectrum-css/typography@7.0.0-s2-foundations.18
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.20
+ - @spectrum-css/asset@6.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 10.0.0-s2-foundations.20
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`085ecbc`](https://github.com/adobe/spectrum-css/commit/085ecbc739cf736e8d95377d605f2a7c4104bcc0) Thanks [@pfulton](https://github.com/pfulton)! - Pulled out _form_ from _fieldlabel_ package.
+ Pulled out _meter_ from _progressbar_ package.
+
+ [SWC-522] fix hover style regression
+
+## 10.0.0-s2-foundations.19
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.21
+ - @spectrum-css/typography@7.0.0-s2-foundations.17
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.18
+ - @spectrum-css/asset@6.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 10.0.0-s2-foundations.18
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.20
+ - @spectrum-css/typography@7.0.0-s2-foundations.16
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.17
+ - @spectrum-css/asset@6.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 10.0.0-s2-foundations.17
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`d8394c7`](https://github.com/adobe/spectrum-css/commit/d8394c7cd6e49e65928972eedaae0dbf013ea8f9) Thanks [@pfulton](https://github.com/pfulton)! - S2 preview background color mapping update
+
+- Updated dependencies [[`9ae725f`](https://github.com/adobe/spectrum-css/commit/9ae725f10ebbb78b62070c4c477cb41cfc1b1ed6), [`4e80ae6`](https://github.com/adobe/spectrum-css/commit/4e80ae67ddda329a5ed556b57426623c6f0f13f0)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.15
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.19
+
+## 10.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.18
+ - @spectrum-css/typography@7.0.0-s2-foundations.14
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.16
+ - @spectrum-css/asset@6.0.0-s2-foundations.13
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 10.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6582314`](https://github.com/adobe/spectrum-css/commit/65823145e139caa56f5e73e8a36e73aff37672de) Thanks [@pfulton](https://github.com/pfulton)! - Updates to custom property inheritance and properties order
+
+### Patch Changes
+
+- Updated dependencies [[`6582314`](https://github.com/adobe/spectrum-css/commit/65823145e139caa56f5e73e8a36e73aff37672de)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.19
+
+## 10.0.0-s2-foundations.14
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`1037169`](https://github.com/adobe/spectrum-css/commit/103716919fa4e0d43c68e67e1fd3355651c02016) Thanks [@pfulton](https://github.com/pfulton)! - Move --highcontrast references out of themes; remove remaining --mods from the themes
+
+## 10.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9f8732d`](https://github.com/adobe/spectrum-css/commit/9f8732d05da8c2be2ce3d95baac4b1272a6c62bd) Thanks [@pfulton](https://github.com/pfulton)! - Migrating Card component quiet and gallery variant mods to index css file
+
+## 10.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.13
+ - @spectrum-css/typography@7.0.0-s2-foundations.13
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.12
+ - @spectrum-css/asset@6.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 10.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.12
+ - @spectrum-css/typography@7.0.0-s2-foundations.12
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.11
+ - @spectrum-css/asset@6.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 10.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.10
+ - @spectrum-css/typography@7.0.0-s2-foundations.11
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.10
+ - @spectrum-css/asset@6.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 10.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.9
+ - @spectrum-css/typography@7.0.0-s2-foundations.9
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.9
+ - @spectrum-css/asset@6.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 10.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.8
+ - @spectrum-css/typography@7.0.0-s2-foundations.8
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.8
+ - @spectrum-css/asset@6.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 10.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.7
+ - @spectrum-css/typography@7.0.0-s2-foundations.7
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.7
+ - @spectrum-css/asset@6.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 10.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.6
+ - @spectrum-css/typography@7.0.0-s2-foundations.6
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.6
+ - @spectrum-css/asset@6.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 10.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.5
+ - @spectrum-css/typography@7.0.0-s2-foundations.5
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.5
+ - @spectrum-css/asset@6.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 10.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.4
+ - @spectrum-css/typography@7.0.0-s2-foundations.4
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.4
+ - @spectrum-css/asset@6.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 10.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.3
+ - @spectrum-css/typography@7.0.0-s2-foundations.3
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.3
+ - @spectrum-css/asset@6.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 10.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.2
+ - @spectrum-css/typography@7.0.0-s2-foundations.2
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.2
+ - @spectrum-css/asset@6.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 10.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.1
+ - @spectrum-css/typography@7.0.0-s2-foundations.1
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.1
+ - @spectrum-css/asset@6.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 10.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.0
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.0
+ - @spectrum-css/asset@6.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+ - @spectrum-css/typography@7.0.0-s2-foundations.0
+
## 9.3.0
### Minor Changes
@@ -23,6 +359,17 @@
### Patch Changes
+- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
+ - @spectrum-css/tokens@14.5.0
+
+## 9.2.0
+
+### Minor Changes
+
+- [#3253](https://github.com/adobe/spectrum-css/pull/3253) [`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86) Thanks [@castastrophe](https://github.com/castastrophe)! - This update removes tokens defined locally that belonged in the global scope. To ensure no regressions, please upgrade your @spectrum-css/tokens package at the same time so you will pick up the component-level definitions now in the global tokens scope. References to `.spectrum--(light|dark|darkest|medium|large)` have been removed.
+
+### Patch Changes
+
- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
- @spectrum-css/tokens@14.5.0
diff --git a/components/card/index.css b/components/card/index.css
index a39a9e85340..48569741bf2 100644
--- a/components/card/index.css
+++ b/components/card/index.css
@@ -11,79 +11,74 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Card {
/* Default Layout */
- --spectrum-card-background-color: var(--spectrum-background-layer-2-color);
- --spectrum-card-body-spacing: var(--spectrum-spacing-400);
- --spectrum-card-title-padding-top: var(--spectrum-spacing-300);
- --spectrum-card-title-padding-right: var(--spectrum-spacing-400);
- --spectrum-card-content-margin-top: var(--spectrum-spacing-100);
- --spectrum-card-content-margin-bottom: var(--spectrum-spacing-300);
- --spectrum-card-footer-padding-top: var(--spectrum-spacing-100);
- --spectrum-card-subtitle-padding-right: var(--spectrum-spacing-100);
-
- --spectrum-card-border-width: var(--spectrum-border-width-100);
- --spectrum-card-corner-radius: var(--spectrum-corner-radius-100);
- --spectrum-card-border-color: var(--spectrum-gray-200);
- --spectrum-card-border-color-hover: var(--spectrum-gray-300);
- --spectrum-card-border-color-selected: var(--spectrum-blue-700);
-
- --spectrum-card-divider-color: var(--spectrum-gray-300);
+ --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));
+ --spectrum-card-body-padding-block-start: var(--mod-card-body-padding-block-start, var(--spectrum-spacing-300));
+ --spectrum-card-title-padding-right: var(--mod-card-title-padding-right, var(--spectrum-spacing-400));
+ --spectrum-card-content-margin-top: var(--mod-card-content-margin-top, var(--spectrum-spacing-100));
+ --spectrum-card-content-margin-bottom: var(--mod-card-content-margin-bottom, var(--spectrum-spacing-300));
+ --spectrum-card-footer-padding-top: var(--mod-card-footer-padding-block-start, var(--spectrum-spacing-100));
+ --spectrum-card-subtitle-padding-right: var(--mod-card-subtitle-padding-right, var(--spectrum-spacing-100));
+
+ --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(--spectrum-sans-font-family-stack);
- --spectrum-card-title-font-size: var(--spectrum-heading-size-xxs);
- --spectrum-card-title-font-weight: var(--spectrum-heading-sans-serif-font-weight);
- --spectrum-card-title-font-style: var(--spectrum-heading-sans-serif-font-style);
- --spectrum-card-title-line-height: var(--spectrum-heading-line-height);
- --spectrum-card-title-font-color: var(--spectrum-heading-color);
-
- --spectrum-card-body-font-family: var(--spectrum-sans-font-family-stack);
- --spectrum-card-body-font-size: var(--spectrum-body-size-s);
- --spectrum-card-body-font-weight: var(--spectrum-body-sans-serif-font-weight);
- --spectrum-card-body-font-style: var(--spectrum-body-sans-serif-font-style);
- --spectrum-card-body-line-height: var(--spectrum-body-line-height);
- --spectrum-card-body-font-color: var(--spectrum-body-color);
+ --spectrum-card-title-font-family: var(--mod-card-title-font-family, var(--spectrum-sans-font-family-stack));
+ --spectrum-card-title-font-size: var(--mod-card-title-font-size, var(--spectrum-heading-size-xxs));
+ --spectrum-card-title-font-weight: var(--mod-card-title-font-weight, var(--spectrum-heading-sans-serif-font-weight));
+ --spectrum-card-title-font-style: var(--mod-card-title-font-style, var(--spectrum-heading-sans-serif-font-style));
+ --spectrum-card-title-line-height: var(--mod-card-title-line-height, var(--spectrum-heading-line-height));
+ --spectrum-card-title-font-color: var(--mod-card-title-font-color, var(--spectrum-heading-color));
+
+ --spectrum-card-body-font-family: var(--mod-card-body-font-family, var(--spectrum-sans-font-family-stack));
+ --spectrum-card-body-font-size: var(--mod-card-body-font-size, var(--spectrum-body-size-s));
+ --spectrum-card-body-font-weight: var(--mod-card-body-font-weight, var(--spectrum-body-sans-serif-font-weight));
+ --spectrum-card-body-font-style: var(--mod-card-body-font-style, var(--spectrum-body-sans-serif-font-style));
+ --spectrum-card-body-line-height: var(--mod-card-body-line-height, var(--spectrum-body-line-height));
+ --spectrum-card-body-font-color: var(--mod-card-body-font-color, var(--spectrum-body-color));
/* Quick Actions */
- --spectrum-card-actions-spacing: var(--spectrum-spacing-300);
- --spectrum-card-actions-size: var(--spectrum-card-selection-background-size);
- --spectrum-card-actions-border-radius: var(--spectrum-corner-radius-100);
+ --spectrum-card-actions-spacing: var(--mod-card-actions-spacing, var(--spectrum-spacing-300));
+ --spectrum-card-actions-size: var(--mod-card-actions-size, var(--spectrum-card-selection-background-size));
+ --spectrum-card-actions-border-radius: var(--mod-card-actions-border-radius, var(--spectrum-corner-radius-100));
/* TODO update to --spectrum-card-selection-background-color token once an RGB stripped value is available */
- --spectrum-card-actions-background-color-rgb: var(--spectrum-gray-100-rgb);
- --spectrum-card-actions-background-color-opacity: var(--spectrum-card-selection-background-color-opacity);
- --spectrum-card-actions-drop-shadow-color: var(--spectrum-drop-shadow-color);
- --spectrum-card-actions-drop-shadow-x: var(--spectrum-drop-shadow-x);
- --spectrum-card-actions-drop-shadow-y: var(--spectrum-drop-shadow-y);
- --spectrum-card-actions-drop-shadow-blur: var(--spectrum-drop-shadow-blur);
+ --spectrum-card-actions-background-color-rgb: var(--mod-card-actions-background-color-rgb, var(--spectrum-gray-100-rgb));
+ --spectrum-card-actions-background-color-opacity: var(--mod-card-actions-background-color-opacity, var(--spectrum-card-selection-background-color-opacity));
+ --spectrum-card-actions-drop-shadow-color: var(--mod-card-actions-drop-shadow-color, var(--spectrum-drop-shadow-color));
+ --spectrum-card-actions-drop-shadow-x: var(--mod-card-actions-drop-shadow-x, var(--spectrum-drop-shadow-x));
+ --spectrum-card-actions-drop-shadow-y: var(--mod-card-actions-drop-shadow-y, var(--spectrum-drop-shadow-y));
+ --spectrum-card-actions-drop-shadow-blur: var(--mod-card-actions-drop-shadow-blur, var(--spectrum-drop-shadow-blur));
/* Focus */
- --spectrum-card-focus-indicator-color: var(--spectrum-focus-indicator-color);
- --spectrum-card-focus-indicator-width: var(--spectrum-focus-indicator-thickness);
+ --spectrum-card-focus-indicator-color: var(--mod-card-focus-indicator-color, var(--spectrum-focus-indicator-color));
+ --spectrum-card-focus-indicator-width: var(--mod-card-focus-indicator-width, var(--spectrum-focus-indicator-thickness));
/* Selected */
- --spectrum-card-selected-background-opacity: 0.1; /* table-selected-row-background-opacity does not exist in tokens yet */
+ --spectrum-card-selected-background-opacity: var(--mod-card-selected-background-opacity, 0.1); /* table-selected-row-background-opacity does not exist in tokens yet */
- --spectrum-card-preview-border-width-selected: var(--spectrum-border-width-100);
- --spectrum-card-preview-background-color: var(--spectrum-background-base-color);
- --spectrum-card-preview-background-color-hover: var(--spectrum-gray-300);
+ --spectrum-card-preview-border-width-selected: var(--mod-card-preview-border-width-selected, var(--spectrum-border-width-100));
/* Horizontal */
- --spectrum-card-horizontal-body-padding: var(--spectrum-spacing-300);
- --spectrum-card-horizontal-preview-padding: var(--spectrum-spacing-200);
-}
+ --spectrum-card-horizontal-body-padding: var(--mod-card-horizontal-body-padding, var(--spectrum-spacing-300));
+ --spectrum-card-horizontal-preview-padding: var(--mod-card-horizontal-preview-padding, var(--spectrum-spacing-200));
-/* Quiet/Gallery */
-.spectrum-Card--quiet,
-.spectrum-Card--gallery {
- --mod-card-content-margin-top: var(--mod-card-content-margin-top-quiet, var(--spectrum-spacing-100));
- --mod-card-minimum-width: var(--mod-card-minimum-width-quiet, var(--spectrum-card-minimum-width));
-}
+ &.spectrum-Card--quiet {
+ --mod-card-minimum-width: var(--mod-card-minimum-width-quiet);
+ --mod-card-content-margin-top: var(--mod-card-content-margin-top-quiet, var(--spectrum-spacing-100));
+ }
+
+
+ &.spectrum-Card--gallery {
+ --spectrum-card-content-margin-top: var(--spectrum-spacing-100);
+ }
-.spectrum-Card {
position: relative;
display: inline-flex;
flex-direction: column;
@@ -92,13 +87,11 @@
min-inline-size: var(--mod-card-minimum-width, var(--spectrum-card-minimum-width));
- border: var(--mod-card-border-width, var(--spectrum-card-border-width)) solid transparent;
- border-radius: var(--mod-card-corner-radius, var(--spectrum-card-corner-radius));
- border-color: var(--highcontrast-card-border-color, var(--mod-card-border-color, var(--spectrum-card-border-color)));
+ border: var(--spectrum-card-border-width) solid transparent;
+ border-radius: var(--spectrum-card-corner-radius);
+ border-color: var(--mod-card-border-color, var(--spectrum-card-border-color));
- /* @deprecation --mod-spectrum-card-background-color has been renamed to
- --mod-card-background-color. The fallback will be removed in a future version. */
- background-color: var(--highcontrast-card-background-color, var(--mod-card-background-color, var(--mod-spectrum-card-background-color, var(--spectrum-card-background-color))));
+ background-color: var(--spectrum-card-background-color);
&::before {
content: "";
@@ -121,48 +114,47 @@
border-style: solid;
border-color: transparent;
border-width: 0;
- border-radius: var(--mod-card-corner-radius, var(--spectrum-card-corner-radius));
- margin-block-start: calc(-1 * var(--mod-card-focus-indicator-width, var(--spectrum-card-focus-indicator-width)));
- margin-inline-start: calc(-1 * var(--mod-card-focus-indicator-width, var(--spectrum-card-focus-indicator-width)));
+ border-radius: var(--spectrum-card-corner-radius);
+ margin-block-start: calc(-1 * var(--spectrum-card-focus-indicator-width));
+ margin-inline-start: calc(-1 * var(--spectrum-card-focus-indicator-width));
}
&:focus-visible {
outline: none;
&::after {
- border-width: var(--mod-card-focus-indicator-width, var(--spectrum-card-focus-indicator-width));
- border-color: var(--mod-card-focus-indicator-color, var(--spectrum-card-focus-indicator-color));
+ border-width: var(--spectrum-card-focus-indicator-width);
+ border-color: var(--spectrum-card-focus-indicator-color);
}
.spectrum-Card-coverPhoto {
- border-start-start-radius: calc(var(--mod-card-corner-radius, var(--spectrum-card-corner-radius)) - var(--mod-card-focus-indicator-width, var(--spectrum-card-focus-indicator-width)));
- border-start-end-radius: calc(var(--mod-card-corner-radius, var(--spectrum-card-corner-radius)) - var(--mod-card-focus-indicator-width, var(--spectrum-card-focus-indicator-width)));
+ border-start-start-radius: calc(var(--spectrum-card-corner-radius) - var(--spectrum-card-focus-indicator-width));
+ border-start-end-radius: calc(var(--spectrum-card-corner-radius) - var(--spectrum-card-focus-indicator-width));
}
.spectrum-Card-preview {
- border-start-start-radius: calc(var(--mod-card-corner-radius, var(--spectrum-card-corner-radius)) - var(--mod-card-focus-indicator-width, var(--spectrum-card-focus-indicator-width)));
- border-start-end-radius: calc(var(--mod-card-corner-radius, var(--spectrum-card-corner-radius)) - var(--mod-card-focus-indicator-width, var(--spectrum-card-focus-indicator-width)));
+ border-start-start-radius: calc(var(--spectrum-card-corner-radius) - var(--spectrum-card-focus-indicator-width));
+ border-start-end-radius: calc(var(--spectrum-card-corner-radius) - var(--spectrum-card-focus-indicator-width));
}
}
&:hover {
- border-color: var(--highcontrast-card-border-color-hover, var(--mod-card-border-color-hover, var(--spectrum-card-border-color-hover)));
+ --mod-card-border-color: var(--mod-card-border-color-hover, var(--spectrum-card-border-color-hover));
}
&.is-selected {
- border-color: var(--highcontrast-card-border-color-selected, var(--mod-card-border-color-selected, var(--spectrum-card-border-color-selected)));
+ --mod-card-border-color: var(--spectrum-card-border-color-selected);
&::before {
- background-color: rgba(var(--mod-card-selected-background-color-rgb, var(--spectrum-card-selected-background-color-rgb)), var(--mod-card-selected-background-opacity, var(--spectrum-card-selected-background-opacity)));
+ background-color: rgba(var(--mod-card-selected-background-color-rgb, var(--spectrum-card-selected-background-color-rgb)), var(--spectrum-card-selected-background-opacity));
}
}
&.is-drop-target {
- --mod-card-background-color: var(--spectrum-card-background-color-quiet, var(--spectrum-background-base-color));
+ --mod-card-background-color: var(--spectrum-background-base-color);
+ --mod-card-border-color: var(--spectrum-card-border-color-selected);
- border-color: var(--highcontrast-card-border-color-selected, var(--mod-card-border-color-selected, var(--spectrum-card-border-color-selected)));
- box-shadow: 0 0 0 1px var(--highcontrast-card-border-color-selected, var(--mod-card-border-color-selected, var(--spectrum-card-border-color-selected)));
- background-color: var(--mod-card-background-color, var(--spectrum-card-background-color));
+ box-shadow: 0 0 0 1px var(--spectrum-card-border-color-selected);
}
&.is-focused,
@@ -171,7 +163,6 @@
&:hover {
.spectrum-Card-quickActions,
.spectrum-Card-actions {
- /* Ideally, this would simply apply is-open to the QuickActions component */
visibility: visible;
opacity: 1;
pointer-events: all;
@@ -182,20 +173,32 @@
.spectrum-Card-quickActions {
position: absolute;
visibility: hidden;
- box-shadow: var(--mod-card-actions-drop-shadow-x, var(--spectrum-card-actions-drop-shadow-x)) var(--mod-card-actions-drop-shadow-y, var(--spectrum-card-actions-drop-shadow-y)) var(--mod-card-actions-drop-shadow-blur, var(--spectrum-card-actions-drop-shadow-blur)) var(--mod-card-actions-drop-shadow-color, var(--spectrum-card-actions-drop-shadow-color));
-
- inline-size: var(--mod-card-actions-size, var(--spectrum-card-actions-size));
- block-size: var(--mod-card-actions-size, var(--spectrum-card-actions-size));
- border-radius: var(--mod-card-actions-border-radius, var(--spectrum-card-actions-border-radius));
- background-color: rgba(var(--mod-card-actions-background-color-rgb, var(--spectrum-card-actions-background-color-rgb)), var(--mod-card-actions-background-color-opacity, var(--spectrum-card-actions-background-color-opacity)));
-
- inset-inline-start: calc(var(--mod-card-actions-spacing, var(--spectrum-card-actions-spacing)) - var(--mod-card-border-width, var(--spectrum-card-border-width)));
- inset-block-start: calc(var(--mod-card-actions-spacing, var(--spectrum-card-actions-spacing)) - var(--mod-card-border-width, var(--spectrum-card-border-width)));
+ box-shadow: var(--spectrum-card-actions-drop-shadow-x) var(--spectrum-card-actions-drop-shadow-y) var(--spectrum-card-actions-drop-shadow-blur) var(--spectrum-card-actions-drop-shadow-color);
+
+ inline-size: var(--spectrum-card-actions-size);
+ block-size: var(--spectrum-card-actions-size);
+ border-radius: var(--spectrum-card-actions-border-radius);
+ background-color: rgba(var(--spectrum-card-actions-background-color-rgb), var(--spectrum-card-actions-background-color-opacity));
+
+ inset-inline-start: calc(var(--spectrum-card-actions-spacing) - var(--spectrum-card-border-width));
+ inset-block-start: calc(var(--spectrum-card-actions-spacing) - var(--spectrum-card-border-width));
+
+ /* From QuickAction component that is officially deprecated */
+ pointer-events: auto;
+ display:inline-flex;
+ align-items:center;
+ justify-content:center;
+ box-sizing:border-box;
+
+ transition:
+ transform var(--mod-overlay-animation-duration, var(--spectrum-animation-duration-100, 130ms)) ease-in-out,
+ opacity var(--mod-overlay-animation-duration, var(--spectrum-animation-duration-100, 130ms)) ease-in-out,
+ visibility 0ms linear var(--mod-overlay-animation-duration, var(--spectrum-animation-duration-100, 130ms));
}
.spectrum-Card-actions {
- inset-block-start: var(--mod-card-actions-spacing, var(--spectrum-card-actions-spacing));
- inset-inline-end: var(--mod-card-actions-spacing, var(--spectrum-card-actions-spacing));
+ inset-block-start: var(--spectrum-card-actions-spacing);
+ inset-inline-end: var(--spectrum-card-actions-spacing);
}
.spectrum-Card-coverPhoto {
@@ -208,8 +211,8 @@
align-items: center;
justify-content: center;
- border-start-start-radius: calc(var(--mod-card-corner-radius, var(--spectrum-card-corner-radius)) - var(--mod-card-border-width, var(--spectrum-card-border-width)));
- border-start-end-radius: calc(var(--mod-card-corner-radius, var(--spectrum-card-corner-radius)) - var(--mod-card-border-width, var(--spectrum-card-border-width)));
+ border-start-start-radius: calc(var(--spectrum-card-corner-radius) - var(--spectrum-card-border-width));
+ border-start-end-radius: calc(var(--spectrum-card-corner-radius) - var(--spectrum-card-border-width));
border-end-end-radius: 0;
border-end-start-radius: 0;
@@ -227,73 +230,68 @@
.spectrum-Card-content {
display: flex;
align-items: center;
- margin-block-start: var(--mod-card-content-margin-top, var(--spectrum-card-content-margin-top));
+ margin-block-start: var(--spectrum-card-content-margin-top);
}
.spectrum-Card-body {
- /* @deprecation --mod-card-title-padding-top has been renamed to --mod-card-body-padding-block-start
- and will be removed in a future version. */
- padding-block-start: var(--mod-card-body-padding-block-start, var(--mod-card-title-padding-top, var(--spectrum-card-title-padding-top)));
- padding-inline-end: var(--mod-card-body-padding-inline-end, calc(var(--mod-card-body-spacing, var(--spectrum-card-body-spacing)) - var(--mod-card-border-width, var(--spectrum-card-border-width))));
- padding-inline-start: var(--mod-card-body-padding-inline-start, calc(var(--mod-card-body-spacing, var(--spectrum-card-body-spacing)) - var(--mod-card-border-width, var(--spectrum-card-border-width))));
- padding-block-end: var(--mod-card-body-padding-block-end, calc(var(--mod-card-body-spacing, var(--spectrum-card-body-spacing)) - var(--mod-card-border-width, var(--spectrum-card-border-width))));
+ padding-block-start: var(--spectrum-card-body-padding-block-start);
+ padding-inline-end: var(--mod-card-body-padding-inline-end, calc(var(--spectrum-card-body-spacing) - var(--spectrum-card-border-width)));
+ padding-inline-start: var(--mod-card-body-padding-inline-start, calc(var(--spectrum-card-body-spacing) - var(--spectrum-card-border-width)));
+ padding-block-end: var(--mod-card-body-padding-block-end, calc(var(--spectrum-card-body-spacing) - var(--spectrum-card-border-width)));
}
.spectrum-Card-preview {
overflow: hidden;
- border-start-start-radius: var(--mod-card-corner-radius, var(--spectrum-card-corner-radius));
- border-start-end-radius: var(--mod-card-corner-radius, var(--spectrum-card-corner-radius));
+ border-start-start-radius: var(--spectrum-card-corner-radius);
+ border-start-end-radius: var(--spectrum-card-corner-radius);
border-end-end-radius: 0;
border-end-start-radius: 0;
display: flex;
align-items: center;
- color: var(--highcontrast-card-body-font-color, var(--mod-card-body-font-color, var(--spectrum-card-body-font-color)));
+ color: var(--spectrum-card-body-font-color);
}
.spectrum-Card-title {
- padding-inline-end: var(--mod-card-title-padding-right, var(--spectrum-card-title-padding-right));
- font-family: var(--mod-card-title-font-family, var(--spectrum-card-title-font-family));
- font-size: var(--mod-card-title-font-size, var(--spectrum-card-title-font-size));
- font-weight: var(--mod-card-title-font-weight, var(--spectrum-card-title-font-weight));
- font-style: var(--mod-card-title-font-style, var(--spectrum-card-title-font-style));
- line-height: var(--mod-card-title-line-height, var(--spectrum-card-title-line-height));
- color: var(--highcontrast-card-title-font-color, var(--mod-card-title-font-color, var(--spectrum-card-title-font-color)));
+ padding-inline-end: var(--spectrum-card-title-padding-right);
+ font-family: var(--spectrum-card-title-font-family);
+ font-size: var(--spectrum-card-title-font-size);
+ font-weight: var(--spectrum-card-title-font-weight);
+ font-style: var(--spectrum-card-title-font-style);
+ line-height: var(--spectrum-card-title-line-height);
+ color: var(--spectrum-card-title-font-color);
}
.spectrum-Card-subtitle {
- padding-inline-end: var(--mod-card-subtitle-padding-right, var(--spectrum-card-subtitle-padding-right));
- color: var(--highcontrast-card-title-font-color, var(--mod-card-title-font-color, var(--spectrum-card-title-font-color)));
+ padding-inline-end: var(--spectrum-card-subtitle-padding-right);
+ color: var(--spectrum-card-title-font-color);
text-transform: none;
}
.spectrum-Card-subtitle + .spectrum-Card-description::before {
content: "•";
- padding-inline-end: var(--mod-card-subtitle-padding-right, var(--spectrum-card-subtitle-padding-right));
+ padding-inline-end: var(--spectrum-card-subtitle-padding-right);
}
.spectrum-Card-description {
- font-family: var(--mod-card-body-font-family, var(--spectrum-card-body-font-family));
- font-size: var(--mod-card-body-font-size, var(--spectrum-card-body-font-size));
- font-weight: var(--mod-card-body-font-weight, var(--spectrum-card-body-font-weight));
- font-style: var(--mod-card-body-font-style, var(--spectrum-card-body-font-style));
- line-height: var(--mod-card-body-line-height, var(--spectrum-card-body-line-height));
- color: var(--highcontrast-card-body-font-color, var(--mod-card-body-font-color, var(--spectrum-card-body-font-color)));
+ font-family: var(--spectrum-card-body-font-family);
+ font-size: var(--spectrum-card-body-font-size);
+ font-weight: var(--spectrum-card-body-font-weight);
+ font-style: var(--spectrum-card-body-font-style);
+ line-height: var(--spectrum-card-body-line-height);
+ color: var(--spectrum-card-body-font-color);
}
.spectrum-Card-footer {
/* Accommodate for wanting less spacing between body and footer */
- margin-block-start: var(--mod-card-footer-margin-block-start, calc(-1 * (var(--mod-card-body-spacing, var(--spectrum-card-body-spacing)) - var(--mod-card-content-margin-bottom, var(--spectrum-card-content-margin-bottom)))));
- margin-inline-start: var(--mod-card-footer-margin-inline-start, var(--mod-card-body-spacing, var(--spectrum-card-body-spacing)));
- margin-inline-end: var(--mod-card-footer-margin-inline-end, var(--mod-card-body-spacing, var(--spectrum-card-body-spacing)));
- padding-block-end: var(--mod-card-footer-padding-block-end, calc(var(--mod-card-body-spacing, var(--spectrum-card-body-spacing)) - var(--mod-card-border-width, var(--spectrum-card-border-width))));
-
- /* @deprecation --mod-card-footer-margin-top has been renamed to --mod-card-footer-padding-block-start
- and will be removed in a future version. */
- padding-block-start: var(--mod-card-footer-padding-block-start, var(--mod-card-footer-margin-top, var(--spectrum-card-footer-padding-top)));
-
- color: var(--highcontrast-card-body-font-color, var(--mod-card-body-font-color, var(--spectrum-card-body-font-color)));
- line-height: var(--mod-card-body-line-height, var(--spectrum-card-body-line-height));
- border-block-start: var(--mod-card-border-width, var(--spectrum-card-border-width)) solid var(--mod-card-divider-color, var(--spectrum-card-divider-color));
+ margin-block-start: var(--mod-card-footer-margin-block-start, calc(-1 * (var(--spectrum-card-body-spacing) - var(--spectrum-card-content-margin-bottom))));
+ margin-inline-start: var(--mod-card-footer-margin-inline-start, var(--spectrum-card-body-spacing));
+ margin-inline-end: var(--mod-card-footer-margin-inline-end, var(--spectrum-card-body-spacing));
+ padding-block-end: var(--mod-card-footer-padding-block-end, calc(var(--spectrum-card-body-spacing) - var(--spectrum-card-border-width)));
+ padding-block-start: var(--spectrum-card-footer-padding-top);
+
+ color: var(--spectrum-card-body-font-color);
+ line-height: var(--spectrum-card-body-line-height);
+ border-block-start: var(--spectrum-card-border-width) solid var(--mod-card-divider-color, var(--spectrum-card-divider-color));
}
.spectrum-Card-header {
@@ -303,15 +301,12 @@
}
.spectrum-Card-actionButton {
- align-self: center;
- display: flex;
- justify-content: flex-end;
z-index: 1;
}
.spectrum-Card--quiet {
.spectrum-Card-preview {
- border: var(--mod-card-focus-indicator-width, var(--spectrum-card-focus-indicator-width)) solid transparent;
+ border: var(--spectrum-card-focus-indicator-width) solid transparent;
}
&:focus,
@@ -322,16 +317,14 @@
}
.spectrum-Card-preview::after {
- border-color: var(--mod-card-focus-indicator-color, var(--spectrum-card-focus-indicator-color));
+ border-color: var(--spectrum-card-focus-indicator-color);
}
}
&.is-selected {
.spectrum-Card-preview {
- /* @deprecation --mod-card-preview-border-width has been renamed to --mod-card-preview-border-width-selected
- and the fallback will be removed in a future version. */
- border: var(--mod-card-preview-border-width-selected, var(--mod-card-preview-border-width, var(--spectrum-card-preview-border-width-selected))) solid;
- border-color: var(--highcontrast-card-border-color-selected, var(--mod-card-border-color-selected, var(--spectrum-card-border-color-selected)));
+ border: var(--spectrum-card-preview-border-width-selected) solid;
+ border-color: var(--spectrum-card-border-color-selected);
}
}
}
@@ -351,7 +344,7 @@
}
.spectrum-Card-preview {
- border-radius: var(--mod-card-corner-radius, var(--spectrum-card-corner-radius));
+ border-radius: var(--spectrum-card-corner-radius);
background-color: var(--mod-card-preview-background-color, var(--mod-card-background-color, var(--spectrum-card-preview-background-color)));
min-block-size: var(--mod-card-preview-minimum-height, var(--spectrum-card-preview-minimum-height));
inline-size: 100%;
@@ -387,9 +380,9 @@
border-style: solid;
border-color: transparent;
border-width: 0;
- border-radius: calc(var(--mod-card-corner-radius, var(--spectrum-card-corner-radius)) + var(--mod-card-focus-indicator-width, var(--spectrum-card-focus-indicator-width)));
- margin-block-start: calc(-1 * var(--mod-card-focus-indicator-width, var(--spectrum-card-focus-indicator-width)));
- margin-inline-start: calc(-1 * var(--mod-card-focus-indicator-width, var(--spectrum-card-focus-indicator-width)));
+ border-radius: calc(var(--spectrum-card-corner-radius) + var(--spectrum-card-focus-indicator-width));
+ margin-block-start: calc(-1 * var(--spectrum-card-focus-indicator-width));
+ margin-inline-start: calc(-1 * var(--spectrum-card-focus-indicator-width));
}
}
@@ -412,8 +405,8 @@
}
.spectrum-Card-preview::before {
- border-color: var(--mod-card-focus-indicator-color, var(--spectrum-card-focus-indicator-color));
- box-shadow: 0 0 0 1px var(--mod-card-focus-indicator-color, var(--spectrum-card-focus-indicator-color));
+ border-color: var(--spectrum-card-focus-indicator-color);
+ box-shadow: 0 0 0 1px var(--spectrum-card-focus-indicator-color);
}
}
@@ -424,10 +417,7 @@
}
.spectrum-Card-body {
- margin-block-start: var(--mod-card-content-margin-top, var(--spectrum-card-content-margin-top));
- }
-
- .spectrum-Card-body {
+ margin-block-start: var(--spectrum-card-content-margin-top);
padding: 0;
}
@@ -453,12 +443,12 @@
align-items: center;
justify-content: center;
- border-start-start-radius: calc(var(--mod-card-corner-radius, var(--spectrum-card-corner-radius)) - var(--mod-card-border-width, var(--spectrum-card-border-width)));
+ border-start-start-radius: calc(var(--spectrum-card-corner-radius) - var(--spectrum-card-border-width));
border-start-end-radius: 0;
- border-end-start-radius: calc(var(--mod-card-corner-radius, var(--spectrum-card-corner-radius)) - var(--mod-card-border-width, var(--spectrum-card-border-width)));
+ border-end-start-radius: calc(var(--spectrum-card-corner-radius) - var(--spectrum-card-border-width));
border-end-end-radius: 0;
- padding: var(--mod-card-horizontal-preview-padding, var(--spectrum-card-horizontal-preview-padding));
+ padding: var(--spectrum-card-horizontal-preview-padding);
background-color: var(--mod-card-preview-background-color, var(--spectrum-card-preview-background-color));
border-color: var(--mod-card-border-color, var(--spectrum-card-border-color));
}
@@ -483,7 +473,7 @@
justify-content: center;
flex-direction: column;
padding-block: 0;
- padding-inline: var(--mod-card-horizontal-body-padding, var(--spectrum-card-horizontal-body-padding));
+ padding-inline: var(--spectrum-card-horizontal-body-padding);
}
}
diff --git a/components/card/metadata/metadata.json b/components/card/metadata/metadata.json
index 51b2fb5cabe..09d6a163df1 100644
--- a/components/card/metadata/metadata.json
+++ b/components/card/metadata/metadata.json
@@ -61,6 +61,8 @@
".spectrum-Card.is-selected .spectrum-Card-actions",
".spectrum-Card.is-selected .spectrum-Card-quickActions",
".spectrum-Card.is-selected:before",
+ ".spectrum-Card.spectrum-Card--gallery",
+ ".spectrum-Card.spectrum-Card--quiet",
".spectrum-Card:after",
".spectrum-Card:before",
".spectrum-Card:focus .spectrum-Card-actions",
@@ -112,7 +114,6 @@
"--mod-card-footer-margin-block-start",
"--mod-card-footer-margin-inline-end",
"--mod-card-footer-margin-inline-start",
- "--mod-card-footer-margin-top",
"--mod-card-footer-padding-block-end",
"--mod-card-footer-padding-block-start",
"--mod-card-horizontal-body-padding",
@@ -121,7 +122,6 @@
"--mod-card-minimum-width-quiet",
"--mod-card-preview-background-color",
"--mod-card-preview-background-color-hover",
- "--mod-card-preview-border-width",
"--mod-card-preview-border-width-selected",
"--mod-card-preview-minimum-height",
"--mod-card-selected-background-color-rgb",
@@ -134,8 +134,7 @@
"--mod-card-title-font-weight",
"--mod-card-title-line-height",
"--mod-card-title-padding-right",
- "--mod-card-title-padding-top",
- "--mod-spectrum-card-background-color"
+ "--mod-overlay-animation-duration"
],
"component": [
"--spectrum-card-actions-background-color-opacity",
@@ -148,13 +147,13 @@
"--spectrum-card-actions-size",
"--spectrum-card-actions-spacing",
"--spectrum-card-background-color",
- "--spectrum-card-background-color-quiet",
"--spectrum-card-body-font-color",
"--spectrum-card-body-font-family",
"--spectrum-card-body-font-size",
"--spectrum-card-body-font-style",
"--spectrum-card-body-font-weight",
"--spectrum-card-body-line-height",
+ "--spectrum-card-body-padding-block-start",
"--spectrum-card-body-spacing",
"--spectrum-card-border-color",
"--spectrum-card-border-color-hover",
@@ -185,8 +184,7 @@
"--spectrum-card-title-font-style",
"--spectrum-card-title-font-weight",
"--spectrum-card-title-line-height",
- "--spectrum-card-title-padding-right",
- "--spectrum-card-title-padding-top"
+ "--spectrum-card-title-padding-right"
],
"global": [
"--spectrum-animation-duration-100",
@@ -206,9 +204,9 @@
"--spectrum-drop-shadow-y",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-thickness",
+ "--spectrum-gray-100",
"--spectrum-gray-100-rgb",
"--spectrum-gray-200",
- "--spectrum-gray-300",
"--spectrum-heading-color",
"--spectrum-heading-line-height",
"--spectrum-heading-sans-serif-font-style",
@@ -220,14 +218,13 @@
"--spectrum-spacing-300",
"--spectrum-spacing-400"
],
- "system-theme": [],
+ "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": [
- "--highcontrast-card-background-color",
- "--highcontrast-card-body-font-color",
- "--highcontrast-card-border-color",
- "--highcontrast-card-border-color-hover",
- "--highcontrast-card-border-color-selected",
- "--highcontrast-card-title-font-color"
- ]
+ "high-contrast": []
}
diff --git a/components/card/metadata/mods.md b/components/card/metadata/mods.md
index 69311af19ed..0e6a740ffae 100644
--- a/components/card/metadata/mods.md
+++ b/components/card/metadata/mods.md
@@ -38,7 +38,6 @@
| `--mod-card-footer-margin-block-start` |
| `--mod-card-footer-margin-inline-end` |
| `--mod-card-footer-margin-inline-start` |
-| `--mod-card-footer-margin-top` |
| `--mod-card-footer-padding-block-end` |
| `--mod-card-footer-padding-block-start` |
| `--mod-card-horizontal-body-padding` |
@@ -47,7 +46,6 @@
| `--mod-card-minimum-width-quiet` |
| `--mod-card-preview-background-color` |
| `--mod-card-preview-background-color-hover` |
-| `--mod-card-preview-border-width` |
| `--mod-card-preview-border-width-selected` |
| `--mod-card-preview-minimum-height` |
| `--mod-card-selected-background-color-rgb` |
@@ -60,5 +58,4 @@
| `--mod-card-title-font-weight` |
| `--mod-card-title-line-height` |
| `--mod-card-title-padding-right` |
-| `--mod-card-title-padding-top` |
-| `--mod-spectrum-card-background-color` |
+| `--mod-overlay-animation-duration` |
diff --git a/components/card/package.json b/components/card/package.json
index 5391f853903..316b446cb06 100644
--- a/components/card/package.json
+++ b/components/card/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/card",
- "version": "9.3.0",
+ "version": "10.0.0-s2-foundations.21",
"description": "The Spectrum CSS card component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,23 +21,24 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=6",
- "@spectrum-css/asset": ">=5",
- "@spectrum-css/checkbox": ">=9",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/quickaction": ">=3",
- "@spectrum-css/tokens": ">=14.5.0",
- "@spectrum-css/typography": ">=6"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/asset": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0",
+ "@spectrum-css/typography": ">=7.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/actionbutton": {
@@ -52,9 +53,6 @@
"@spectrum-css/icon": {
"optional": true
},
- "@spectrum-css/quickaction": {
- "optional": true
- },
"@spectrum-css/typography": {
"optional": true
}
@@ -64,7 +62,6 @@
"@spectrum-css/asset": "workspace:^",
"@spectrum-css/checkbox": "workspace:^",
"@spectrum-css/icon": "workspace:^",
- "@spectrum-css/quickaction": "^3.1.1",
"@spectrum-css/tokens": "workspace:^",
"@spectrum-css/typography": "workspace:^"
},
diff --git a/components/card/stories/card.mdx b/components/card/stories/card.mdx
deleted file mode 100644
index e806ef6c351..00000000000
--- a/components/card/stories/card.mdx
+++ /dev/null
@@ -1,87 +0,0 @@
-import {
- ArgTypes,
- Canvas,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-
-import * as CardStories from "./card.stories";
-
-
-
-
-
-
-
-
-
-## Standard
-
-
-
-### No image
-
-
-
-### Focused
-
-
-
-### Selected
-
-
-
-## Quiet
-
-
-
-### Quiet File
-
-
-
-### Quiet Folder
-
-
-
-### Quiet Focused
-
-
-
-### Quiet Selected
-
-
-
-## Horizontal
-
-
-
-## Asset preview
-
-A standard card with a full-sized asset preview.
-
-
-
-## Gallery
-
-A gallery card for an image.
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/card/stories/card.stories.js b/components/card/stories/card.stories.js
index 92bd25070c5..bdd9c0995b9 100644
--- a/components/card/stories/card.stories.js
+++ b/components/card/stories/card.stories.js
@@ -28,6 +28,7 @@ export default {
isFocused,
hasActions: {
name: "Card actions",
+ description: "Adds an action button to the card's header.",
type: { name: "boolean" },
table: {
type: { summary: "boolean" },
@@ -41,6 +42,7 @@ export default {
},
showAsset: {
name: "Show asset",
+ description: "Select image, file, or folder asset to display in the preview area. The image option will render a full-sized asset preview.",
type: { name: "string" },
table: {
type: { summary: "string | boolean" },
@@ -68,10 +70,39 @@ export default {
control: { type: "text" },
},
footer: { table: { disable: true } },
- isGallery: { table: { disable: true } },
- isCardAssetOverride: { table: { disable: true } },
+ isGallery: {
+ name: "Gallery preview",
+ type: { name: "boolean" },
+ table: {
+ type: { summary: "boolean" },
+ category: "Component",
+ },
+ control: "boolean",
+ if: { arg: "isHorizontal", truthy: false },
+ },
+ isImageFill: {
+ name: "Image fill",
+ description: "Scales image to fill all available preview area space for gallery or full-sized previews.",
+ type: { name: "boolean" },
+ table: {
+ type: { summary: "boolean" },
+ category: "Component",
+ },
+ control: "boolean",
+ if: { arg: "showAsset", eq: "image"},
+ },
isGrid: { table: { disable: true } },
- isHorizontal: { table: { disable: true } },
+ isHorizontal: {
+ name: "Horizontal orientation",
+ description: "Select an option from the `showAsset` control to see the horizontal orientation of cards.",
+ type: { name: "boolean" },
+ table: {
+ type: { summary: "boolean" },
+ category: "Component",
+ },
+ control: "boolean",
+ if: { arg: "image", truthy: true },
+ },
isDropTarget: { table: { disable: true } },
},
args: {
@@ -84,6 +115,8 @@ export default {
isDropTarget: false,
hasActions: true,
hasQuickAction: true,
+ isHorizontal: false,
+ isImageFill: false,
},
parameters: {
actions: {
@@ -95,9 +128,11 @@ export default {
packageJson,
metadata,
},
- tags: ["!autodocs"],
};
+/**
+ * Cards can either be standard or quiet style. A standard card includes a cover photo and footer, with buttons and more information. A vertical layout is default for cards, and the recommended default preview size is 2:1.
+ */
export const Default = CardGroup.bind({});
Default.args = {
title: "Card title",
@@ -124,26 +159,31 @@ Selected.parameters = {
chromatic: { disableSnapshot: true },
};
Selected.args = {
- isSelected: true
+ ...Default.args,
+ isSelected: true,
};
+Selected.storyName = "Default - selected";
export const Focused = Template.bind({});
Focused.args = {
- isFocused: true,
+ ...Default.args,
title: "Card title that is longer and should wrap",
- customStyles: { "max-inline-size": "205px"},
+ isFocused: true,
};
Focused.tags = ["!dev"];
Focused.parameters = {
chromatic: { disableSnapshot: true },
};
+Focused.storyName = "Default - focused";
+/**
+ * Quiet card styling is reserved for very simple cards with little metadata. The border of the `.spectrum-Card` element is removed, and additional rounded corners are added to the `.spectrum-Card-preview` container.
+ */
export const Quiet = Template.bind({});
Quiet.args = {
- title: "Name",
+ ...Default.args,
showAsset: "image",
image: "example-ava@2x.png",
- description: "10/15/18",
isQuiet: true,
};
Quiet.tags = ["!dev"];
@@ -151,45 +191,51 @@ Quiet.parameters = {
chromatic: { disableSnapshot: true },
};
+/** A quiet card for a file asset. */
export const QuietFile = Template.bind({});
-QuietFile.storyName = "Quiet (file)";
+QuietFile.storyName = "Quiet - file";
QuietFile.args = {
+ ...Quiet.args,
title: "FileName",
description: "PDF",
showAsset: "file",
- image: undefined,
- isQuiet: true,
};
QuietFile.tags = ["!dev"];
QuietFile.parameters = {
chromatic: { disableSnapshot: true },
};
+/**
+ * A card with a horizontal layout. Horizontal cards always have a square preview, and the image is cropped to fit inside the square. These can only be laid out in a tile grid where every card is the same size.
+ * */
export const Horizontal = Template.bind({});
Horizontal.tags = ["!dev"];
Horizontal.parameters = {
chromatic: { disableSnapshot: true },
};
Horizontal.args = {
- title: "Card title",
- description: "jpg",
+ ...Default.args,
showAsset: "file",
- isQuiet: false,
isHorizontal: true,
hasActions: false,
hasQuickAction: false,
};
+/**
+ * A card with no photo.
+ * */
export const NoImage = Template.bind({});
NoImage.args = {
- title: "Card title",
- description: "Optional description that should be one or two lines",
+ ...Default.args,
+ image: undefined,
};
-NoImage.tags = ["!dev"];
NoImage.parameters = {
chromatic: { disableSnapshot: true },
};
+/**
+ * A quiet card for a folder asset.
+ * */
export const QuietFolder = Quiet.bind({});
QuietFolder.args = {
title: "Name",
@@ -201,52 +247,52 @@ QuietFolder.tags = ["!dev"];
QuietFolder.parameters = {
chromatic: { disableSnapshot: true },
};
+QuietFolder.storyName = "Quiet - folder";
export const QuietFocused = Quiet.bind({});
QuietFocused.args = {
- title: "Name",
- showAsset: "image",
- image: "example-ava@2x.png",
- description: "10/15/18",
- isQuiet: true,
+ ...Quiet.args,
isFocused: true,
};
QuietFocused.tags = ["!dev"];
QuietFocused.parameters = {
chromatic: { disableSnapshot: true },
};
+QuietFocused.storyName = "Quiet - focused";
export const QuietSelected = Quiet.bind({});
QuietSelected.args = {
- title: "Name",
- showAsset: "image",
- image: "example-ava@2x.png",
- description: "10/15/18",
- isQuiet: true,
+ ...Quiet.args,
isSelected: true,
};
QuietSelected.tags = ["!dev"];
QuietSelected.parameters = {
chromatic: { disableSnapshot: true },
};
+QuietSelected.storyName = "Quiet - selected";
+/**
+ * Card preview areas can have any aspect ratio between 4:1 (shortest) and 3:4 (tallest).
+ */
export const AssetPreview = Template.bind({});
AssetPreview.args = {
- title: "Card title",
+ ...Default.args,
showAsset: "image",
- image: "example-card-portrait.png",
- description: "jpg",
hasActions: false,
- isCardAssetOverride: true,
+ isImageFill: true,
customStyles: {
- "width": "200px",
+ "width": "300px",
}
};
AssetPreview.tags = ["!dev"];
AssetPreview.parameters = {
chromatic: { disableSnapshot: true },
};
+AssetPreview.storyName = "Full-size asset preview";
+/**
+ * A gallery card for an image.
+ */
export const Gallery = Template.bind({});
Gallery.args = {
title: "Card title",
@@ -254,7 +300,7 @@ Gallery.args = {
image: "example-card-landscape.png",
description: "jpg",
isGallery: true,
- isCardAssetOverride: true,
+ isImageFill: true,
customStyles: {
"width": "700px",
}
diff --git a/components/card/stories/card.test.js b/components/card/stories/card.test.js
index 336ed1c1b75..143d1ad8009 100644
--- a/components/card/stories/card.test.js
+++ b/components/card/stories/card.test.js
@@ -9,17 +9,13 @@ export const CardGroup = Variants({
},
{
testHeading: "No image",
- title: "Card title",
- description: "Optional description that should be one or two lines",
footer: undefined,
image: undefined,
},
{
testHeading: "Horizontal",
- title: "Card title",
description: "jpg",
showAsset: "file",
- isQuiet: false,
isHorizontal: true,
hasActions: false,
hasQuickAction: false,
@@ -27,10 +23,8 @@ export const CardGroup = Variants({
},
{
testHeading: "Quiet",
- title: "Name",
showAsset: "image",
image: "example-ava@2x.png",
- description: "10/15/18",
isQuiet: true,
footer: undefined,
},
@@ -39,7 +33,6 @@ export const CardGroup = Variants({
title: "FileName",
description: "PDF",
showAsset: "file",
- image: undefined,
isQuiet: true,
footer: undefined,
},
@@ -54,12 +47,11 @@ export const CardGroup = Variants({
},
{
testHeading: "Asset preview",
- title: "Card title",
showAsset: "image",
image: "example-card-portrait.png",
description: "jpg",
hasActions: false,
- isCardAssetOverride: true,
+ isImageFill: true,
customStyles: {
width: "200px",
},
@@ -67,12 +59,11 @@ export const CardGroup = Variants({
},
{
testHeading: "Gallery",
- title: "Card title",
showAsset: "image",
image: "example-card-landscape.png",
description: "jpg",
isGallery: true,
- isCardAssetOverride: true,
+ isImageFill: true,
customStyles: {
width: "700px",
},
diff --git a/components/card/stories/template.js b/components/card/stories/template.js
index c6119408ab7..d1d226c7b0e 100644
--- a/components/card/stories/template.js
+++ b/components/card/stories/template.js
@@ -4,7 +4,6 @@ import { Template as Checkbox } from "@spectrum-css/checkbox/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 { getRandomId } from "@spectrum-css/preview/decorators";
-import { Template as QuickAction } from "@spectrum-css/quickaction/stories/template.js";
import { html } from "lit";
import { classMap } from "lit/directives/class-map.js";
import { ifDefined } from "lit/directives/if-defined.js";
@@ -12,6 +11,9 @@ 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",
@@ -25,10 +27,10 @@ export const Template = ({
isHorizontal = false,
isQuiet = false,
isGallery = false,
- isCardAssetOverride = false,
+ isImageFill = false,
isGrid = false,
- hasQuickAction = false,
hasActions = false,
+ hasQuickAction = false,
showAsset,
customStyles = {},
customClasses = [],
@@ -63,7 +65,7 @@ export const Template = ({
>
${when(image || showAsset, () =>
when(
- showAsset || (isGallery && image),
+ showAsset || (isGallery && image) || isQuiet,
() => html`
`
)}
${when(
- footer && !isQuiet,
+ footer && !isQuiet && !isHorizontal && !isGallery,
() => html`
- QuickAction(
- {
- noOverlay: true,
- content: [
- Checkbox(
- {
- isChecked: isSelected,
- title: "Select",
- },
- context
- ),
- ],
- onclick: function() {
+ html`
+
+ ${Checkbox(
+ {
+ isChecked: isSelected,
+ title: "Select",
+ },
+ context
+ )}
+
`
)}
`;
diff --git a/components/card/themes/express.css b/components/card/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/card/themes/express.css
+++ b/components/card/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/card/themes/spectrum-two.css b/components/card/themes/spectrum-two.css
new file mode 100644
index 00000000000..2ef275418ee
--- /dev/null
+++ b/components/card/themes/spectrum-two.css
@@ -0,0 +1,22 @@
+/*!
+ * 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
index 3b48a570c21..a1906d601bd 100644
--- a/components/card/themes/spectrum.css
+++ b/components/card/themes/spectrum.css
@@ -10,3 +10,17 @@
* 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 ebc785c5d51..3676a877e8b 100644
--- a/components/checkbox/CHANGELOG.md
+++ b/components/checkbox/CHANGELOG.md
@@ -1,5 +1,276 @@
# Change Log
+## 10.0.0-s2-foundations.20
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 10.0.0-s2-foundations.19
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9c6561b`](https://github.com/adobe/spectrum-css/commit/9c6561b38624307da9bca7499452c3cb8ea2095e) Thanks [@pfulton](https://github.com/pfulton)! - Bring in the latest S2 foundations release including updated corner rounding approach, colors, and icon spacing. Remapped corner rounding values for the -75 token to a static 2px value for spectrum themes.
+
+### Patch Changes
+
+- Updated dependencies [[`9c6561b`](https://github.com/adobe/spectrum-css/commit/9c6561b38624307da9bca7499452c3cb8ea2095e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.25
+
+## 10.0.0-s2-foundations.18
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 10.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 10.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 10.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`be5d85f`](https://github.com/adobe/spectrum-css/commit/be5d85f36aa6f81485b02fe943c5de22922fe0ff) Thanks [@pfulton](https://github.com/pfulton)! - Fix S1 checkbox color
+
+## 10.0.0-s2-foundations.14
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f38c66a`](https://github.com/adobe/spectrum-css/commit/f38c66a314c94058d7f8f084faa4967c89b20e7b) Thanks [@pfulton](https://github.com/pfulton)! - Fix icon sizing and checkbox border colors
+
+### Patch Changes
+
+- Updated dependencies [[`f38c66a`](https://github.com/adobe/spectrum-css/commit/f38c66a314c94058d7f8f084faa4967c89b20e7b)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.14
+
+## 10.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-238] t-shirt-based calc moved out of theme into base css
+
+### Patch Changes
+
+- Updated dependencies [[`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f), [`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.14
+
+## 10.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 10.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 10.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 10.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 10.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 10.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 10.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 10.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 10.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 10.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 10.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 10.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 10.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
+## 9.2.1
+
+### Patch Changes
+
+- [#3328](https://github.com/adobe/spectrum-css/pull/3328) [`a0486b3`](https://github.com/adobe/spectrum-css/commit/a0486b341581c610ebc9b3acd1837be2b66eb348) Thanks [@jawinn](https://github.com/jawinn)! - This removes some unnecessary read-only styles. Read-only just needs to override disabled styles. Otherwise it uses the normal styles (for both default and emphasized).
+
## 9.2.1
### Patch Changes
diff --git a/components/checkbox/index.css b/components/checkbox/index.css
index f2c87f2c4db..8c24db0fb95 100644
--- a/components/checkbox/index.css
+++ b/components/checkbox/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
/*
* .spectrum-Checkbox-box::before is the Checkbox "box"
@@ -29,7 +29,6 @@
--spectrum-checkbox-content-color-disabled: var(--spectrum-disabled-content-color);
--spectrum-checkbox-control-color-disabled: var(--spectrum-disabled-content-color);
- --spectrum-checkbox-checkmark-color: var(--spectrum-gray-75);
--spectrum-checkbox-invalid-color-default: var(--spectrum-negative-color-900);
--spectrum-checkbox-invalid-color-hover: var(--spectrum-negative-color-1000);
@@ -47,25 +46,27 @@
--spectrum-checkbox-control-selected-color-focus: var(--spectrum-neutral-background-color-selected-key-focus);
/* Font */
- --spectrum-checkbox-font-size: var(--spectrum-font-size-100);
--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-control-corner-radius: var(--spectrum-corner-radius-75);
-
--spectrum-checkbox-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
--spectrum-checkbox-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
--spectrum-checkbox-border-width: var(--spectrum-border-width-200);
--spectrum-checkbox-selected-border-width: calc(var(--spectrum-checkbox-control-size) / 2);
- /* Spacing */
+ --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-animation-duration: var(--spectrum-animation-duration-100);
}
.spectrum-Checkbox--sizeS {
@@ -78,16 +79,6 @@
--spectrum-checkbox-text-to-control: var(--spectrum-text-to-control-75);
}
-.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--sizeL {
--spectrum-checkbox-font-size: var(--spectrum-font-size-200);
@@ -442,6 +433,8 @@
}
.spectrum-Checkbox-box {
+ /* Fix vertical alignment when not wrapping since we're flex-start */
+ --spectrum-checkbox-spacing: calc(var(--mod-checkbox-height, var(--spectrum-checkbox-height)) - var(--mod-checkbox-control-size, var(--spectrum-checkbox-control-size)));
display: flex;
align-items: center;
justify-content: center;
@@ -450,9 +443,6 @@
box-sizing: border-box;
inline-size: var(--mod-checkbox-control-size, var(--spectrum-checkbox-control-size));
block-size: var(--mod-checkbox-control-size, var(--spectrum-checkbox-control-size));
-
- /* Fix vertical alignment when not wrapping since we're flex-start */
- --spectrum-checkbox-spacing: calc(var(--mod-checkbox-height, var(--spectrum-checkbox-height)) - var(--mod-checkbox-control-size, var(--spectrum-checkbox-control-size)));
margin: calc(var(--mod-checkbox-spacing, var(--spectrum-checkbox-spacing)) / 2) 0;
flex-grow: 0;
@@ -541,7 +531,7 @@
forced-color-adjust: none;
outline-color: var(--highcontrast-checkbox-focus-indicator-color, var(--mod-checkbox-focus-indicator-color, var(--spectrum-checkbox-focus-indicator-color)));
outline-style: auto;
- outline-offset: var(--highcontrast-checkbox-focus-indicator-gap, var(--mod-checkbox-focus-indicator-gap, var(--spectrum-checkbox-focus-indicator-gap)));
+ outline-offset: var(--mod-checkbox-focus-indicator-gap, var(--spectrum-checkbox-focus-indicator-gap));
outline-width: var(--mod-focus-indicator-thickness, var(--spectrum-focus-indicator-thickness));
&::after {
diff --git a/components/checkbox/metadata/metadata.json b/components/checkbox/metadata/metadata.json
index 4ce727d04db..fcfbcf86abc 100644
--- a/components/checkbox/metadata/metadata.json
+++ b/components/checkbox/metadata/metadata.json
@@ -179,7 +179,6 @@
"--spectrum-component-top-to-text-200",
"--spectrum-component-top-to-text-300",
"--spectrum-component-top-to-text-75",
- "--spectrum-corner-radius-75",
"--spectrum-disabled-content-color",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
@@ -188,11 +187,10 @@
"--spectrum-font-size-200",
"--spectrum-font-size-300",
"--spectrum-font-size-75",
+ "--spectrum-gray-50",
"--spectrum-gray-600",
"--spectrum-gray-700",
- "--spectrum-gray-75",
"--spectrum-gray-800",
- "--spectrum-gray-900",
"--spectrum-line-height-100",
"--spectrum-negative-color-1000",
"--spectrum-negative-color-1100",
@@ -211,10 +209,12 @@
"--spectrum-text-to-control-75"
],
"system-theme": [
- "--system-spectrum-checkbox-control-color-default",
- "--system-spectrum-checkbox-control-color-down",
- "--system-spectrum-checkbox-control-color-focus",
- "--system-spectrum-checkbox-control-color-hover"
+ "--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": [
@@ -228,7 +228,6 @@
"--highcontrast-checkbox-content-color-hover",
"--highcontrast-checkbox-disabled-color-default",
"--highcontrast-checkbox-focus-indicator-color",
- "--highcontrast-checkbox-focus-indicator-gap",
"--highcontrast-checkbox-highlight-color-default",
"--highcontrast-checkbox-highlight-color-down",
"--highcontrast-checkbox-highlight-color-focus",
diff --git a/components/checkbox/package.json b/components/checkbox/package.json
index 242eda05d6a..4751a05d347 100644
--- a/components/checkbox/package.json
+++ b/components/checkbox/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/checkbox",
- "version": "9.2.1",
+ "version": "10.0.0-s2-foundations.20",
"description": "The Spectrum CSS checkbox component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/icon": "workspace:^",
diff --git a/components/checkbox/stories/checkbox.stories.js b/components/checkbox/stories/checkbox.stories.js
index 07ab09a7922..3d30d357817 100644
--- a/components/checkbox/stories/checkbox.stories.js
+++ b/components/checkbox/stories/checkbox.stories.js
@@ -51,6 +51,10 @@ export default {
actions: {
handles: ["click input[type=\"checkbox\"]"],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=164-16685",
+ },
packageJson,
metadata,
},
diff --git a/components/checkbox/stories/template.js b/components/checkbox/stories/template.js
index 920b1f98b56..9c778259f7d 100644
--- a/components/checkbox/stories/template.js
+++ b/components/checkbox/stories/template.js
@@ -7,6 +7,9 @@ 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
index 54d273354cf..1c84aa5f83b 100644
--- a/components/checkbox/themes/express.css
+++ b/components/checkbox/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-Checkbox {
--spectrum-checkbox-control-color-default: var(--spectrum-gray-800);
--spectrum-checkbox-control-color-hover: var(--spectrum-gray-900);
diff --git a/components/checkbox/themes/spectrum-two.css b/components/checkbox/themes/spectrum-two.css
new file mode 100644
index 00000000000..8632f60bce8
--- /dev/null
+++ b/components/checkbox/themes/spectrum-two.css
@@ -0,0 +1,24 @@
+/*!
+ * 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-gray-600);
+ --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
index 49c95dd11a1..25ea7552d11 100644
--- a/components/checkbox/themes/spectrum.css
+++ b/components/checkbox/themes/spectrum.css
@@ -11,11 +11,13 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
+/* @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-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-75);
+ --spectrum-checkbox-control-corner-radius: var(--spectrum-corner-radius-75);
}
}
diff --git a/components/clearbutton/CHANGELOG.md b/components/clearbutton/CHANGELOG.md
index c888200d7b6..0f4781e7dc1 100644
--- a/components/clearbutton/CHANGELOG.md
+++ b/components/clearbutton/CHANGELOG.md
@@ -1,5 +1,237 @@
# Change Log
+## 7.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 7.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 7.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 7.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 7.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a66241b`](https://github.com/adobe/spectrum-css/commit/a66241bc5ec06ecb81b221187db1740caf1bd8f8) Thanks [@pfulton](https://github.com/pfulton)! - Migrating Clear Button disabled variants to index.css
+
+## 7.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 7.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 7.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 7.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 7.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 7.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 7.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 7.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 7.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 7.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 7.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 7.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 6.4.0
### Minor Changes
@@ -31,6 +263,17 @@
### Patch Changes
+- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
+ - @spectrum-css/tokens@14.5.0
+
+## 6.2.0
+
+### Minor Changes
+
+- [#3263](https://github.com/adobe/spectrum-css/pull/3263) [`904d5b0`](https://github.com/adobe/spectrum-css/commit/904d5b0eae5cd62dd1346a2443192aec886e613b) Thanks [@cdransf](https://github.com/cdransf)! - Removes undefined leading tokens in mods assignments for clearbutton.
+
+### Patch Changes
+
- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
- @spectrum-css/tokens@14.5.0
diff --git a/components/clearbutton/index.css b/components/clearbutton/index.css
index 1b5357c50fd..6de2c20a692 100644
--- a/components/clearbutton/index.css
+++ b/components/clearbutton/index.css
@@ -12,7 +12,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-ClearButton {
--spectrum-clear-button-height: var(--spectrum-component-height-100);
@@ -23,7 +23,7 @@
--spectrum-clear-button-icon-color-hover: var(--spectrum-neutral-content-color-hover);
--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%;
@@ -57,18 +57,14 @@
--mod-clear-button-background-color-key-focus: transparent;
}
- /* @deprecated .spectrum-ClearButton--overBackground */
- &.spectrum-ClearButton--staticWhite,
- &.spectrum-ClearButton--overBackground {
+ &.spectrum-ClearButton--staticWhite {
--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);
--mod-clear-button-icon-color-key-focus: var(--spectrum-white);
+ --mod-clear-button-icon-color-disabled: var(--spectrum-disabled-static-white-content-color);
--mod-clear-button-background-color: transparent;
- --mod-clear-button-background-color-hover: var(--spectrum-transparent-white-300);
- --mod-clear-button-background-color-down: var(--spectrum-transparent-white-400);
- --mod-clear-button-background-color-key-focus:var(--spectrum-transparent-white-300);
}
&:disabled,
@@ -79,10 +75,6 @@
--mod-clear-button-background-color: var(--mod-clear-button-background-color-disabled, transparent);
}
- &.spectrum-ClearButton--staticWhite {
- --spectrum-clear-button-icon-color-disabled: var(--spectrum-disabled-static-white-content-color);
- }
-
&:not(:disabled) {
cursor: pointer;
}
@@ -119,11 +111,8 @@
}
}
-.spectrum-ClearButton:disabled,
-.spectrum-ClearButton.is-disabled {
- .spectrum-ClearButton-icon {
- color: var( --highcontrast-clear-button-icon-color-disabled, var(--mod-clear-button-icon-color-disabled, var(--spectrum-clear-button-icon-color-disabled)));
- }
+.spectrum-ClearButton-icon {
+ color: inherit;
}
.spectrum-ClearButton-fill {
diff --git a/components/clearbutton/metadata/metadata.json b/components/clearbutton/metadata/metadata.json
index 6410450768d..9c4c6a65118 100644
--- a/components/clearbutton/metadata/metadata.json
+++ b/components/clearbutton/metadata/metadata.json
@@ -8,16 +8,14 @@
".spectrum-ClearButton--overBackground:focus-visible",
".spectrum-ClearButton--staticWhite:focus-visible",
".spectrum-ClearButton-fill",
+ ".spectrum-ClearButton-icon",
".spectrum-ClearButton.is-disabled",
- ".spectrum-ClearButton.is-disabled .spectrum-ClearButton-icon",
- ".spectrum-ClearButton.spectrum-ClearButton--overBackground",
".spectrum-ClearButton.spectrum-ClearButton--quiet",
".spectrum-ClearButton.spectrum-ClearButton--sizeL",
".spectrum-ClearButton.spectrum-ClearButton--sizeS",
".spectrum-ClearButton.spectrum-ClearButton--sizeXL",
".spectrum-ClearButton.spectrum-ClearButton--staticWhite",
".spectrum-ClearButton:disabled",
- ".spectrum-ClearButton:disabled .spectrum-ClearButton-icon",
".spectrum-ClearButton:not(:disabled)",
".spectrum-ClearButton:not(:disabled):active",
".spectrum-ClearButton:not(:disabled):active .spectrum-ClearButton-fill",
@@ -52,7 +50,6 @@
"--spectrum-clear-button-background-color-key-focus",
"--spectrum-clear-button-height",
"--spectrum-clear-button-icon-color",
- "--spectrum-clear-button-icon-color-disabled",
"--spectrum-clear-button-icon-color-down",
"--spectrum-clear-button-icon-color-hover",
"--spectrum-clear-button-icon-color-key-focus",
@@ -66,27 +63,24 @@
"--spectrum-component-height-75",
"--spectrum-disabled-content-color",
"--spectrum-disabled-static-white-content-color",
- "--spectrum-gray-200",
- "--spectrum-gray-300",
- "--spectrum-gray-400",
"--spectrum-in-field-button-edge-to-fill",
"--spectrum-neutral-content-color-default",
"--spectrum-neutral-content-color-down",
"--spectrum-neutral-content-color-hover",
"--spectrum-neutral-content-color-key-focus",
- "--spectrum-transparent-white-300",
"--spectrum-transparent-white-400",
+ "--spectrum-transparent-white-500",
"--spectrum-white"
],
"system-theme": [
- "--system-spectrum-clearbutton-spectrum-clear-button-background-color",
- "--system-spectrum-clearbutton-spectrum-clear-button-background-color-down",
- "--system-spectrum-clearbutton-spectrum-clear-button-background-color-hover",
- "--system-spectrum-clearbutton-spectrum-clear-button-background-color-key-focus"
+ "--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-disabled",
- "--highcontrast-clear-button-icon-color-hover"
- ]
+ "high-contrast": ["--highcontrast-clear-button-icon-color-hover"]
}
diff --git a/components/clearbutton/package.json b/components/clearbutton/package.json
index 0f867492889..37ab6cf7c5d 100644
--- a/components/clearbutton/package.json
+++ b/components/clearbutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/clearbutton",
- "version": "6.4.0",
+ "version": "7.0.0-s2-foundations.17",
"description": "The Spectrum CSS clearbutton component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/icon": "workspace:^",
diff --git a/components/clearbutton/stories/clearbutton.stories.js b/components/clearbutton/stories/clearbutton.stories.js
index 3e19531b47d..cca47b24337 100644
--- a/components/clearbutton/stories/clearbutton.stories.js
+++ b/components/clearbutton/stories/clearbutton.stories.js
@@ -102,6 +102,7 @@ Sizing.args = {};
Sizing.tags = ["!dev"];
Sizing.parameters = {
chromatic: { disableSnapshot: true },
+
};
export const OverBackground = ClearButtonGroup.bind({});
diff --git a/components/clearbutton/stories/template.js b/components/clearbutton/stories/template.js
index a4ce921c7aa..58e90007c04 100644
--- a/components/clearbutton/stories/template.js
+++ b/components/clearbutton/stories/template.js
@@ -6,6 +6,9 @@ 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
index 3d3b47cc65b..e13724e2883 100644
--- a/components/clearbutton/themes/express.css
+++ b/components/clearbutton/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@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);
diff --git a/components/clearbutton/themes/spectrum-two.css b/components/clearbutton/themes/spectrum-two.css
new file mode 100644
index 00000000000..abba1f78556
--- /dev/null
+++ b/components/clearbutton/themes/spectrum-two.css
@@ -0,0 +1,27 @@
+/*!
+ * 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
index 84194abf9ab..e4235fb3dff 100644
--- a/components/clearbutton/themes/spectrum.css
+++ b/components/clearbutton/themes/spectrum.css
@@ -11,11 +11,16 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
+/* @combine .spectrum.spectrum--legacy */
+
+@import "./spectrum-two.css";
+
+@container style(--system: legacy) {
.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-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 d39314057a3..dd4a4e0f0d4 100644
--- a/components/closebutton/CHANGELOG.md
+++ b/components/closebutton/CHANGELOG.md
@@ -1,5 +1,240 @@
# Change Log
+## 6.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 6.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 6.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.13
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5d50b15`](https://github.com/adobe/spectrum-css/commit/5d50b1557e0d4f8236be43728cde66c9d41b16e7) Thanks [@pfulton](https://github.com/pfulton)! - Typo in CloseButton classes for sizing
+
+- Updated dependencies [[`6582314`](https://github.com/adobe/spectrum-css/commit/65823145e139caa56f5e73e8a36e73aff37672de)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.19
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 5.3.0
### Minor Changes
@@ -21,6 +256,20 @@
### Patch Changes
+- [#3250](https://github.com/adobe/spectrum-css/pull/3250) [`2b45928`](https://github.com/adobe/spectrum-css/commit/2b45928b503c9ded173a56da65a32764f2255918) Thanks [@castastrophe](https://github.com/castastrophe)! - CloseButton
+
+ - Remove hardcoded tokens for sizing in favor of component sizing. Remove mapping to height & width separately in favor of using the existing "--spectrum-closebutton-size" property.
+
+## 5.2.2
+
+### Patch Changes
+
+- [#3270](https://github.com/adobe/spectrum-css/pull/3270) [`008bb34`](https://github.com/adobe/spectrum-css/commit/008bb34a0bbefd1abeb0d37bcdb179811dd9df3c) Thanks [@cdransf](https://github.com/cdransf)! - Removes unnecessary stylelint-disable comments now that rule is disabled in config.
+
+## 5.2.1
+
+### Patch Changes
+
- [#3250](https://github.com/adobe/spectrum-css/pull/3250) [`2b45928`](https://github.com/adobe/spectrum-css/commit/2b45928b503c9ded173a56da65a32764f2255918) Thanks [@castastrophe](https://github.com/castastrophe)! - CloseButton
- Remove hardcoded tokens for sizing in favor of component sizing. Remove mapping to height & width separately in favor of using the existing "--spectrum-closebutton-size" property.
diff --git a/components/closebutton/index.css b/components/closebutton/index.css
index 7bb4c3b3a10..14880d3ee6e 100644
--- a/components/closebutton/index.css
+++ b/components/closebutton/index.css
@@ -11,74 +11,9 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
@import "@spectrum-css/commons/basebutton.css";
-.spectrum-CloseButton {
- /* Cross icon */
- --spectrum-closebutton-icon-color-default: var(--spectrum-neutral-content-color-default);
- --spectrum-closebutton-icon-color-hover: var(--spectrum-neutral-content-color-hover);
- --spectrum-closebutton-icon-color-down: var(--spectrum-neutral-content-color-down);
- --spectrum-closebutton-icon-color-focus: var(--spectrum-neutral-content-color-key-focus);
- --spectrum-closebutton-icon-color-disabled: var(--spectrum-disabled-content-color);
-
- /* Focus ring */
- --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);
-
- --spectrum-closebutton-animation-duration: var(--spectrum-animation-duration-100);
-}
-
-/* @deprecated .spectrum-Closebutton--sizeM */
-.spectrum-CloseButton,
-.spectrum-CloseButton--sizeM,
-.spectrum-Closebutton--sizeM {
- --spectrum-closebutton-size: var(--spectrum-component-height-100);
- --spectrum-closebutton-border-radius: var(--spectrum-component-height-100);
-}
-
-/* @deprecated .spectrum-Closebutton--sizeS */
-.spectrum-CloseButton--sizeS,
-.spectrum-Closebutton--sizeS {
- --spectrum-closebutton-size: var(--spectrum-component-height-75);
- --spectrum-closebutton-border-radius: var(--spectrum-component-height-75);
-}
-
-/* @deprecated .spectrum-Closebutton--sizeL */
-.spectrum-CloseButton--sizeL,
-.spectrum-Closebutton--sizeL {
- --spectrum-closebutton-size: var(--spectrum-component-height-200);
- --spectrum-closebutton-border-radius: var(--spectrum-component-height-200);
-}
-
-/* @deprecated .spectrum-Closebutton--sizeXL */
-.spectrum-CloseButton--sizeXL,
-.spectrum-Closebutton--sizeXL {
- --spectrum-closebutton-size: var(--spectrum-component-height-300);
- --spectrum-closebutton-border-radius: var(--spectrum-component-height-300);
-}
-
-.spectrum-CloseButton--staticWhite {
- --spectrum-closebutton-static-background-color-default: transparent;
- --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-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 {
- --spectrum-closebutton-static-background-color-default: transparent;
- --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);
- --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);
-}
-
/* Windows high contrast mode */
@media (forced-colors: active) {
.spectrum-CloseButton {
@@ -113,11 +48,58 @@
}
}
-a.spectrum-CloseButton {
- @extend %spectrum-AnchorButton;
-}
-
.spectrum-CloseButton {
+ /* Cross icon */
+ --spectrum-closebutton-icon-color-default: var(--spectrum-neutral-content-color-default);
+ --spectrum-closebutton-icon-color-hover: var(--spectrum-neutral-content-color-hover);
+ --spectrum-closebutton-icon-color-down: var(--spectrum-neutral-content-color-down);
+ --spectrum-closebutton-icon-color-focus: var(--spectrum-neutral-content-color-key-focus);
+ --spectrum-closebutton-icon-color-disabled: var(--spectrum-disabled-content-color);
+
+ /* Focus ring */
+ --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);
+
+ --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);
+ }
+
+ &,
+ &.spectrum-CloseButton--sizeM {
+ --spectrum-closebutton-size: var(--spectrum-component-height-100);
+ --spectrum-closebutton-border-radius: var(--spectrum-component-height-100);
+ }
+
+ &.spectrum-CloseButton--sizeL {
+ --spectrum-closebutton-size: var(--spectrum-component-height-200);
+ --spectrum-closebutton-border-radius: 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--staticWhite {
+ --spectrum-closebutton-static-background-color-default: transparent;
+
+ --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 {
+ --spectrum-closebutton-static-background-color-default: transparent;
+
+ --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);
+ }
+
@extend %spectrum-BaseButton;
block-size: var(--mod-closebutton-height, var(--spectrum-closebutton-size));
@@ -165,55 +147,58 @@ a.spectrum-CloseButton {
box-shadow: 0 0 0 var(--mod-closebutton-focus-indicator-thickness, var(--spectrum-closebutton-focus-indicator-thickness)) var(--highcontrast-closebutton-focus-indicator-color, var(--mod-closebutton-focus-indicator-color, var(--spectrum-closebutton-focus-indicator-color)));
}
}
-}
-/* COLORS */
-.spectrum-CloseButton:not(:disabled) {
- background-color: var(--highcontrast-closebutton-background-color-default, var(--mod-closebutton-background-color-default, var(--spectrum-closebutton-background-color-default)));
+ &:not(:disabled) {
+ background-color: var(--highcontrast-closebutton-background-color-default, var(--mod-closebutton-background-color-default, var(--spectrum-closebutton-background-color-default)));
- &:hover {
- background-color: var(--mod-closebutton-background-color-hover, var(--spectrum-closebutton-background-color-hover));
+ &:hover {
+ background-color: var(--mod-closebutton-background-color-hover, var(--spectrum-closebutton-background-color-hover));
- .spectrum-CloseButton-UIIcon {
- color: var(--highcontrast-closebutton-icon-color-hover, var(--mod-closebutton-icon-color-hover, var(--spectrum-closebutton-icon-color-hover)));
+ .spectrum-CloseButton-UIIcon {
+ color: var(--highcontrast-closebutton-icon-color-hover, var(--mod-closebutton-icon-color-hover, var(--spectrum-closebutton-icon-color-hover)));
+ }
}
- }
- &:active {
- background-color: var(--mod-closebutton-background-color-down, var(--spectrum-closebutton-background-color-down));
+ &:active {
+ background-color: var(--mod-closebutton-background-color-down, var(--spectrum-closebutton-background-color-down));
- .spectrum-CloseButton-UIIcon {
- color: var(--highcontrast-closebutton-icon-color-down, var(--mod-closebutton-icon-color-down, var(--spectrum-closebutton-icon-color-down)));
+ .spectrum-CloseButton-UIIcon {
+ color: var(--highcontrast-closebutton-icon-color-down, var(--mod-closebutton-icon-color-down, var(--spectrum-closebutton-icon-color-down)));
+ }
}
- }
- &:focus-visible,
- &.is-keyboardFocused {
- background-color: var(--mod-closebutton-background-color-focus, var(--spectrum-closebutton-background-color-focus));
+ &:focus-visible,
+ &.is-keyboardFocused {
+ background-color: var(--mod-closebutton-background-color-focus, var(--spectrum-closebutton-background-color-focus));
+
+ .spectrum-CloseButton-UIIcon {
+ color: var(--highcontrast-closebutton-icon-color-focus, var(--mod-closebutton-icon-color-focus, var(--spectrum-closebutton-icon-color-focus)));
+ }
+ }
.spectrum-CloseButton-UIIcon {
- color: var(--highcontrast-closebutton-icon-color-focus, var(--mod-closebutton-icon-color-focus, var(--spectrum-closebutton-icon-color-focus)));
+ color: 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));
+ &:focus,
+ &.is-focused {
+ .spectrum-CloseButton-UIIcon {
+ color: var(--highcontrast-closebutton-icon-color-focus, var(--mod-closebutton-icon-color-focus, var(--spectrum-closebutton-icon-color-focus)));
+ }
+ }
}
- &:focus,
- &.is-focused {
+ &:disabled {
+ background-color: var(--mod-closebutton-background-color-default, var(--spectrum-closebutton-background-color-default));
+
.spectrum-CloseButton-UIIcon {
- color: var(--highcontrast-closebutton-icon-color-focus, var(--mod-closebutton-icon-color-focus, var(--spectrum-closebutton-icon-color-focus)));
+ color: var(--highcontrast-closebutton-icon-color-disabled, var(--mod-closebutton-icon-color-disabled, var(--spectrum-closebutton-icon-color-disabled)));
}
}
}
-.spectrum-CloseButton:disabled {
- background-color: var(--mod-closebutton-background-color-default, var(--spectrum-closebutton-background-color-default));
-
- .spectrum-CloseButton-UIIcon {
- color: var(--highcontrast-closebutton-icon-color-disabled, var(--mod-closebutton-icon-color-disabled, var(--spectrum-closebutton-icon-color-disabled)));
- }
+a.spectrum-CloseButton {
+ @extend %spectrum-AnchorButton;
}
/* Modifier Classes */
@@ -222,7 +207,7 @@ a.spectrum-CloseButton {
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(--highcontrast-closebutton-static-background-color-hover, var(--mod-closebutton-static-background-color-hover, var(--spectrum-closebutton-static-background-color-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)));
@@ -230,7 +215,7 @@ a.spectrum-CloseButton {
}
&:active {
- background-color: var(--highcontrast-closebutton-static-background-color-down, var(--mod-closebutton-static-background-color-down, var(--spectrum-closebutton-static-background-color-down)));
+ 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)));
@@ -239,7 +224,7 @@ a.spectrum-CloseButton {
&:focus-visible,
&.is-keyboardFocused {
- background-color: var(--highcontrast-closebutton-static-background-color-focus, var(--mod-closebutton-static-background-color-focus, var(--spectrum-closebutton-static-background-color-focus)));
+ 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)));
@@ -261,7 +246,7 @@ a.spectrum-CloseButton {
.spectrum-CloseButton--staticBlack:disabled,
.spectrum-CloseButton--staticWhite:disabled {
.spectrum-CloseButton-UIIcon {
- color: var(--highcontrast-closebutton-icon-disabled, var(--mod-closebutton-icon-color-disabled, var(--spectrum-closebutton-icon-color-disabled)));
+ color: var(--mod-closebutton-icon-color-disabled, var(--spectrum-closebutton-icon-color-disabled));
}
}
diff --git a/components/closebutton/metadata/metadata.json b/components/closebutton/metadata/metadata.json
index 6944b5d3956..756fc3d7e62 100644
--- a/components/closebutton/metadata/metadata.json
+++ b/components/closebutton/metadata/metadata.json
@@ -2,10 +2,6 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-CloseButton",
- ".spectrum-CloseButton--sizeL",
- ".spectrum-CloseButton--sizeM",
- ".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)",
@@ -39,6 +35,12 @@
".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",
@@ -55,10 +57,6 @@
".spectrum-CloseButton:not(:disabled):focus-visible .spectrum-CloseButton-UIIcon",
".spectrum-CloseButton:not(:disabled):hover",
".spectrum-CloseButton:not(:disabled):hover .spectrum-CloseButton-UIIcon",
- ".spectrum-Closebutton--sizeL",
- ".spectrum-Closebutton--sizeM",
- ".spectrum-Closebutton--sizeS",
- ".spectrum-Closebutton--sizeXL",
"a.spectrum-CloseButton"
],
"modifiers": [
@@ -125,9 +123,8 @@
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
+ "--spectrum-gray-100",
"--spectrum-gray-200",
- "--spectrum-gray-300",
- "--spectrum-gray-400",
"--spectrum-line-height-100",
"--spectrum-neutral-content-color-default",
"--spectrum-neutral-content-color-down",
@@ -136,17 +133,23 @@
"--spectrum-sans-font-family-stack",
"--spectrum-static-black-focus-indicator-color",
"--spectrum-static-white-focus-indicator-color",
- "--spectrum-transparent-black-300",
"--spectrum-transparent-black-400",
- "--spectrum-transparent-white-300",
+ "--spectrum-transparent-black-500",
"--spectrum-transparent-white-400",
+ "--spectrum-transparent-white-500",
"--spectrum-white"
],
"system-theme": [
- "--system-spectrum-closebutton-background-color-default",
- "--system-spectrum-closebutton-background-color-down",
- "--system-spectrum-closebutton-background-color-focus",
- "--system-spectrum-closebutton-background-color-hover"
+ "--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"
],
"passthroughs": [
"--mod-button-animation-duration",
@@ -161,10 +164,6 @@
"--highcontrast-closebutton-icon-color-down",
"--highcontrast-closebutton-icon-color-focus",
"--highcontrast-closebutton-icon-color-hover",
- "--highcontrast-closebutton-icon-disabled",
- "--highcontrast-closebutton-static-background-color-default",
- "--highcontrast-closebutton-static-background-color-down",
- "--highcontrast-closebutton-static-background-color-focus",
- "--highcontrast-closebutton-static-background-color-hover"
+ "--highcontrast-closebutton-static-background-color-default"
]
}
diff --git a/components/closebutton/package.json b/components/closebutton/package.json
index 956935c2e2a..4a540f11df5 100644
--- a/components/closebutton/package.json
+++ b/components/closebutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/closebutton",
- "version": "5.3.0",
+ "version": "6.0.0-s2-foundations.17",
"description": "The Spectrum CSS close button component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/commons": "workspace:^",
diff --git a/components/closebutton/stories/closebutton.stories.js b/components/closebutton/stories/closebutton.stories.js
index c2950377b68..4bc1f005e21 100644
--- a/components/closebutton/stories/closebutton.stories.js
+++ b/components/closebutton/stories/closebutton.stories.js
@@ -46,6 +46,10 @@ export default {
actions: {
handles: ["click .spectrum-CloseButton"],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=13601-149",
+ },
packageJson,
metadata,
},
diff --git a/components/closebutton/stories/template.js b/components/closebutton/stories/template.js
index 4e730b8529c..644ce705f62 100644
--- a/components/closebutton/stories/template.js
+++ b/components/closebutton/stories/template.js
@@ -6,6 +6,9 @@ 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",
diff --git a/components/closebutton/themes/express.css b/components/closebutton/themes/express.css
index 5ade53f9b28..06a90e4fee9 100644
--- a/components/closebutton/themes/express.css
+++ b/components/closebutton/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-CloseButton {
--spectrum-closebutton-background-color-default: transparent;
--spectrum-closebutton-background-color-hover: var(--spectrum-gray-300);
diff --git a/components/closebutton/themes/spectrum-two.css b/components/closebutton/themes/spectrum-two.css
new file mode 100644
index 00000000000..01479c42fd4
--- /dev/null
+++ b/components/closebutton/themes/spectrum-two.css
@@ -0,0 +1,33 @@
+/*!
+ * 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
index 84b1402f85c..62e907bae8a 100644
--- a/components/closebutton/themes/spectrum.css
+++ b/components/closebutton/themes/spectrum.css
@@ -11,11 +11,26 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
+/* @combine .spectrum.spectrum--legacy */
+
+@import "./spectrum-two.css";
+
+@container style(--system: legacy) {
.spectrum-CloseButton {
- --spectrum-closebutton-background-color-default: transparent;
--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/CHANGELOG.md b/components/coachindicator/CHANGELOG.md
index a04bde7c1b0..a2b1adfc9c8 100644
--- a/components/coachindicator/CHANGELOG.md
+++ b/components/coachindicator/CHANGELOG.md
@@ -1,5 +1,216 @@
# Change Log
+## 3.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 3.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 3.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 3.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 3.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#3041](https://github.com/adobe/spectrum-css/pull/3041) [`7be40c3`](https://github.com/adobe/spectrum-css/commit/7be40c334748f3e1064c614af793117f06146475) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)! - --mod properties were moved out of `coachindicator/themes/spectrum-two.css` into `coachindicator/index.css` so --mods can be applied at the component level.
+
+## 3.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 3.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 3.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 3.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 3.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 3.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 3.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 3.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 3.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 3.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 3.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 3.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 3.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 2.2.0
### Minor Changes
@@ -12,6 +223,15 @@
- [#3266](https://github.com/adobe/spectrum-css/pull/3266) [`4b818e1`](https://github.com/adobe/spectrum-css/commit/4b818e1062202e404de1350938ce2a19146aa0b0) Thanks [@5t3ph](https://github.com/5t3ph)! - For Coach indicator, marks "light" and "dark" variants for deprecation going into S2, and adds "static white" per direction from design.
+- Updated dependencies [[`4b818e1`](https://github.com/adobe/spectrum-css/commit/4b818e1062202e404de1350938ce2a19146aa0b0)]:
+ - @spectrum-css/tokens@14.6.0
+
+## 2.1.5
+
+### Patch Changes
+
+- [#3266](https://github.com/adobe/spectrum-css/pull/3266) [`4b818e1`](https://github.com/adobe/spectrum-css/commit/4b818e1062202e404de1350938ce2a19146aa0b0) Thanks [@5t3ph](https://github.com/5t3ph)! - For Coach indicator, marks "light" and "dark" variants for deprecation going into S2, and adds "static white" per direction from design.
+
- Updated dependencies [[`4b818e1`](https://github.com/adobe/spectrum-css/commit/4b818e1062202e404de1350938ce2a19146aa0b0)]:
- @spectrum-css/tokens@14.6.0
@@ -35,6 +255,12 @@
- [#2842](https://github.com/adobe/spectrum-css/pull/2842) [`4cd3a15`](https://github.com/adobe/spectrum-css/commit/4cd3a15db914b667f5d606388051ecd2cd318134) Thanks [@castastrophe](https://github.com/castastrophe)! - Updated CSSNano plugin to toggle reduceIdent off to prevent invalid abstractions from breaking named grid templates.
+## 2.1.2
+
+### Patch Changes
+
+- [#2842](https://github.com/adobe/spectrum-css/pull/2842) [`4cd3a15`](https://github.com/adobe/spectrum-css/commit/4cd3a15db914b667f5d606388051ecd2cd318134) Thanks [@castastrophe](https://github.com/castastrophe)! - Updated CSSNano plugin to toggle reduceIdent off to prevent invalid abstractions from breaking named grid templates.
+
## 2.1.1
### Patch Changes
diff --git a/components/coachindicator/index.css b/components/coachindicator/index.css
index 8ddc414d482..150561ba132 100644
--- a/components/coachindicator/index.css
+++ b/components/coachindicator/index.css
@@ -11,54 +11,42 @@
* governing permissions and limitations under the License.
*/
-@import "./animation.css";
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-CoachIndicator {
--spectrum-coach-indicator-ring-border-size: var(--spectrum-border-width-200);
- --spectrum-coach-indicator-min-inline-size: calc(var(--spectrum-coach-indicator-ring-diameter) * 3);
- --spectrum-coach-indicator-min-block-size: calc(var(--spectrum-coach-indicator-ring-diameter) * 3);
- --spectrum-coach-indicator-inline-size: var(--spectrum-coach-indicator-min-inline-size);
- --spectrum-coach-indicator-block-size: var(--spectrum-coach-indicator-min-block-size);
- --spectrum-coach-indicator-ring-inline-size: var(--spectrum-coach-indicator-ring-diameter);
- --spectrum-coach-indicator-ring-block-size: var(--spectrum-coach-indicator-ring-diameter);
+ --spectrum-coach-indicator-sizing-multiple: 3;
+ --spectrum-coach-indicator-ring-diameter-size: var(--mod-coach-indicator-ring-diameter, var(--spectrum-coach-indicator-ring-diameter));
- --spectrum-coach-indicator-top: calc((var(--spectrum-coach-indicator-block-size) / 3) - var(--spectrum-coach-indicator-ring-border-size));
- --spectrum-coach-indicator-left: calc((var(--spectrum-coach-indicator-inline-size) / 3) - var(--spectrum-coach-indicator-ring-border-size));
+ --spectrum-coach-indicator-min-inline-size: calc(var(--spectrum-coach-indicator-ring-diameter-size) * var(--spectrum-coach-indicator-sizing-multiple));
+ --spectrum-coach-indicator-min-block-size: calc(var(--spectrum-coach-indicator-ring-diameter-size) * var(--spectrum-coach-indicator-sizing-multiple));
+
+ --spectrum-coach-indicator-inline-size: var(--mod-coach-indicator-inline-size, var(--spectrum-coach-indicator-min-inline-size));
+ --spectrum-coach-indicator-block-size: var(--mod-coach-indicator-block-size, var(--spectrum-coach-indicator-min-block-size));
- /* animation */
--spectrum-coach-animation-indicator-ring-duration: var(--spectrum-animation-duration-6000);
- --spectrum-coach-animation-indicator-ring-inner-delay-multiple: -0.5;
- --spectrum-coach-animation-indicator-ring-center-delay-multiple: -0.66;
- --spectrum-coach-animation-indicator-ring-outer-delay-multiple: -1;
- --spectrum-coach-indicator-quiet-animation-ring-inner-delay-multiple: -0.33;
- --spectrum-coach-indicator-animation-name: pulse;
- --spectrum-coach-indicator-inner-animation-delay-multiple: var(--spectrum-coach-animation-indicator-ring-inner-delay-multiple);
-}
+ --spectrum-coach-indicator-animation-keyframe-scale-initial: 1;
+ --spectrum-coach-indicator-animation-ring-inner-delay-multiple: var(--mod-coach-indicator-inner-animation-delay-multiple, -0.5);
+
+ &.spectrum-CoachIndicator--quiet {
+ --spectrum-coach-indicator-animation-keyframe-scale-initial: 0.8;
+ --spectrum-coach-indicator-sizing-multiple: 2.75;
+ --spectrum-coach-indicator-ring-diameter-size: var(--mod-coach-indicator-quiet-ring-diameter, var(--spectrum-coach-indicator-quiet-ring-diameter));
+ --spectrum-coach-indicator-animation-ring-inner-delay-multiple: var(--mod-coach-indicator-quiet-animation-ring-inner-delay-multiple, -0.33);
+ }
-.spectrum-CoachIndicator--quiet {
- --mod-coach-indicator-min-inline-size: calc(var(--mod-coach-indicator-quiet-ring-diameter, var(--spectrum-coach-indicator-quiet-ring-diameter)) * 2.75);
- --mod-coach-indicator-min-block-size: calc(var(--mod-coach-indicator-quiet-ring-diameter, var(--spectrum-coach-indicator-quiet-ring-diameter)) * 2.75);
- --mod-coach-indicator-inline-size: calc(var(--mod-coach-indicator-quiet-ring-diameter, var(--spectrum-coach-indicator-quiet-ring-diameter)) * 2.75);
- --mod-coach-indicator-block-size: calc(var(--mod-coach-indicator-quiet-ring-diameter, var(--spectrum-coach-indicator-quiet-ring-diameter)) * 2.75);
- --mod-coach-indicator-ring-inline-size: var(--mod-coach-indicator-quiet-ring-diameter, var(--spectrum-coach-indicator-quiet-ring-diameter));
- --mod-coach-indicator-ring-block-size: var(--mod-coach-indicator-quiet-ring-diameter, var(--spectrum-coach-indicator-quiet-ring-diameter));
-
- --mod-coach-indicator-top: calc((var(--mod-coach-indicator-min-inline-size) / 3) - var(--spectrum-coach-indicator-ring-border-size));
- --mod-coach-indicator-left: calc((var(--mod-coach-indicator-min-inline-size) / 3) - var(--spectrum-coach-indicator-ring-border-size));
- --mod-coach-indicator-animation-name: pulse-quiet;
- --mod-coach-indicator-inner-animation-delay-multiple: var(--mod-coach-indicator-quiet-animation-ring-inner-delay-multiple, var(--spectrum-coach-indicator-quiet-animation-ring-inner-delay-multiple));
-}
+ &.spectrum-CoachIndicator--staticWhite {
+ --spectrum-coach-indicator-ring-default-color: var(--spectrum-white);
+ }
-.spectrum-CoachIndicator {
position: relative;
margin: var(--mod-coach-indicator-gap, var(--spectrum-coach-indicator-gap));
min-inline-size: var(--mod-coach-indicator-min-inline-size, var(--spectrum-coach-indicator-min-inline-size));
min-block-size: var(--mod-coach-indicator-min-block-size, var(--spectrum-coach-indicator-min-block-size));
- inline-size: var(--mod-coach-indicator-inline-size, var(--spectrum-coach-indicator-inline-size));
- block-size: var(--mod-coach-indicator-block-size, var(--spectrum-coach-indicator-block-size));
+ inline-size: var(--spectrum-coach-indicator-inline-size);
+ block-size: var(--spectrum-coach-indicator-block-size);
}
.spectrum-CoachIndicator-ring {
@@ -70,42 +58,45 @@
border-radius: 50%;
border-color: var(--mod-coach-indicator-ring-default-color, var(--spectrum-coach-indicator-ring-default-color));
- inset-block-start: var(--mod-coach-indicator-top, var(--spectrum-coach-indicator-top));
- inset-inline-start: var(--mod-coach-indicator-left, var(--spectrum-coach-indicator-left));
+ inset-block-start: var(--mod-coach-indicator-top, calc(var(--spectrum-coach-indicator-block-size) / 3 - var(--spectrum-coach-indicator-ring-border-size)));
+ inset-inline-start: var(--mod-coach-indicator-left, calc(var(--spectrum-coach-indicator-inline-size) / 3 - var(--spectrum-coach-indicator-ring-border-size)));
- inline-size: var(--mod-coach-indicator-ring-inline-size, var(--spectrum-coach-indicator-ring-inline-size));
- block-size: var(--mod-coach-indicator-ring-block-size, var(--spectrum-coach-indicator-ring-block-size));
- animation: var(--mod-coach-indicator-animation-name, var(--spectrum-coach-indicator-animation-name)) var(--mod-coach-animation-indicator-ring-duration, var(--spectrum-coach-animation-indicator-ring-duration)) linear infinite;
+ inline-size: var(--mod-coach-indicator-ring-inline-size, var(--spectrum-coach-indicator-ring-diameter-size));
+ block-size: var(--mod-coach-indicator-ring-block-size, var(--spectrum-coach-indicator-ring-diameter-size));
+ animation: var(--mod-coach-indicator-animation-name, pulse) var(--mod-coach-animation-indicator-ring-duration, var(--spectrum-coach-animation-indicator-ring-duration)) linear infinite;
&:nth-child(1) {
- animation-delay: calc(var(--mod-coach-animation-indicator-ring-duration, var(--spectrum-coach-animation-indicator-ring-duration)) * var(--mod-coach-indicator-inner-animation-delay-multiple, var(--spectrum-coach-indicator-inner-animation-delay-multiple)));
+ animation-delay: calc(var(--mod-coach-animation-indicator-ring-duration, var(--spectrum-coach-animation-indicator-ring-duration)) * var(--spectrum-coach-indicator-animation-ring-inner-delay-multiple));
}
&:nth-child(2) {
- animation-delay: calc(var(--mod-coach-animation-indicator-ring-duration, var(--spectrum-coach-animation-indicator-ring-duration)) * var(--mod-coach-animation-indicator-ring-center-delay-multiple, var(--spectrum-coach-animation-indicator-ring-center-delay-multiple)));
+ animation-delay: calc(var(--mod-coach-animation-indicator-ring-duration, var(--spectrum-coach-animation-indicator-ring-duration)) * var(--mod-coach-animation-indicator-ring-center-delay-multiple, -0.66));
}
&:nth-child(3) {
- animation-delay: calc(var(--mod-coach-animation-indicator-ring-duration, var(--spectrum-coach-animation-indicator-ring-duration)) * var(--mod-coach-animation-indicator-ring-outer-delay-multiple, var(--spectrum-coach-animation-indicator-ring-outer-delay-multiple)));
+ animation-delay: calc(var(--mod-coach-animation-indicator-ring-duration, var(--spectrum-coach-animation-indicator-ring-duration)) * var(--mod-coach-animation-indicator-ring-outer-delay-multiple, -1));
}
+}
- /* @deprecated .spectrum-CoachIndicator--light */
- .spectrum-CoachIndicator--light & {
- border-color: var(--mod-coach-indicator-ring-light-color, var(--spectrum-coach-indicator-ring-light-color));
+@media (prefers-reduced-motion: reduce) {
+ .spectrum-CoachIndicator-ring {
+ animation: none;
}
+}
- .spectrum-CoachIndicator--staticWhite & {
- border-color: var(--spectrum-coach-indicator-ring-static-white-color);
+@keyframes pulse {
+ 0% {
+ transform: scale(var(--spectrum-coach-indicator-animation-keyframe-scale-initial));
+ opacity: 0;
}
- /* @deprecated .spectrum-CoachIndicator--dark */
- .spectrum-CoachIndicator--dark & {
- border-color: var(--mod-coach-indicator-ring-dark-color, var(--spectrum-coach-indicator-ring-dark-color));
+ 50% {
+ transform: scale(1.5);
+ opacity: 1;
}
-}
-@media (prefers-reduced-motion: reduce) {
- .spectrum-CoachIndicator-ring {
- animation: none;
+ 100% {
+ transform: scale(2);
+ opacity: 0;
}
}
diff --git a/components/coachindicator/metadata/metadata.json b/components/coachindicator/metadata/metadata.json
index 91af3d8616b..36a2a34b239 100644
--- a/components/coachindicator/metadata/metadata.json
+++ b/components/coachindicator/metadata/metadata.json
@@ -2,14 +2,12 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-CoachIndicator",
- ".spectrum-CoachIndicator--dark .spectrum-CoachIndicator-ring",
- ".spectrum-CoachIndicator--light .spectrum-CoachIndicator-ring",
- ".spectrum-CoachIndicator--quiet",
- ".spectrum-CoachIndicator--staticWhite .spectrum-CoachIndicator-ring",
".spectrum-CoachIndicator-ring",
".spectrum-CoachIndicator-ring:first-child",
".spectrum-CoachIndicator-ring:nth-child(2)",
".spectrum-CoachIndicator-ring:nth-child(3)",
+ ".spectrum-CoachIndicator.spectrum-CoachIndicator--quiet",
+ ".spectrum-CoachIndicator.spectrum-CoachIndicator--staticWhite",
"0%",
"50%",
"to"
@@ -30,47 +28,31 @@
"--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": [
- "--spectrum-coach-indicator-animation-keyframe-0-opacity",
- "--spectrum-coach-indicator-animation-keyframe-0-scale",
- "--spectrum-coach-indicator-animation-keyframe-100-opacity",
- "--spectrum-coach-indicator-animation-keyframe-100-scale",
- "--spectrum-coach-indicator-animation-keyframe-50-opacity",
- "--spectrum-coach-indicator-animation-keyframe-50-scale",
- "--spectrum-coach-indicator-animation-name",
+ "--spectrum-coach-indicator-animation-keyframe-scale-initial",
+ "--spectrum-coach-indicator-animation-ring-inner-delay-multiple",
"--spectrum-coach-indicator-block-size",
"--spectrum-coach-indicator-gap",
"--spectrum-coach-indicator-inline-size",
- "--spectrum-coach-indicator-inner-animation-delay-multiple",
- "--spectrum-coach-indicator-left",
"--spectrum-coach-indicator-min-block-size",
"--spectrum-coach-indicator-min-inline-size",
- "--spectrum-coach-indicator-quiet-animation-keyframe-0-scale",
- "--spectrum-coach-indicator-quiet-animation-ring-inner-delay-multiple",
"--spectrum-coach-indicator-quiet-ring-diameter",
- "--spectrum-coach-indicator-ring-block-size",
"--spectrum-coach-indicator-ring-border-size",
- "--spectrum-coach-indicator-ring-dark-color",
"--spectrum-coach-indicator-ring-default-color",
"--spectrum-coach-indicator-ring-diameter",
- "--spectrum-coach-indicator-ring-inline-size",
- "--spectrum-coach-indicator-ring-light-color",
- "--spectrum-coach-indicator-ring-static-white-color",
- "--spectrum-coach-indicator-top"
+ "--spectrum-coach-indicator-ring-diameter-size",
+ "--spectrum-coach-indicator-sizing-multiple"
],
"global": [
"--spectrum-animation-duration-6000",
"--spectrum-border-width-200",
- "--spectrum-coach-animation-indicator-ring-center-delay-multiple",
"--spectrum-coach-animation-indicator-ring-duration",
- "--spectrum-coach-animation-indicator-ring-inner-delay-multiple",
- "--spectrum-coach-animation-indicator-ring-outer-delay-multiple"
+ "--spectrum-white"
],
"system-theme": [],
"passthroughs": [],
diff --git a/components/coachindicator/metadata/mods.md b/components/coachindicator/metadata/mods.md
index 6524851fae1..10f9fdb49df 100644
--- a/components/coachindicator/metadata/mods.md
+++ b/components/coachindicator/metadata/mods.md
@@ -15,8 +15,7 @@
| `--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` |
diff --git a/components/coachindicator/package.json b/components/coachindicator/package.json
index 133a5c22db4..9909a2bcb7b 100644
--- a/components/coachindicator/package.json
+++ b/components/coachindicator/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/coachindicator",
- "version": "2.2.0",
+ "version": "3.0.0-s2-foundations.17",
"description": "The Spectrum CSS Coach Indicator component ",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14.6.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/coachindicator/stories/coachindicator.stories.js b/components/coachindicator/stories/coachindicator.stories.js
index bef438a0f55..2f35525d042 100644
--- a/components/coachindicator/stories/coachindicator.stories.js
+++ b/components/coachindicator/stories/coachindicator.stories.js
@@ -3,7 +3,7 @@ import { isQuiet, staticColor } from "@spectrum-css/preview/types";
import metadata from "../metadata/metadata.json";
import packageJson from "../package.json";
import { CoachIndicatorGroup } from "./coachindicator.test.js";
-import { AllVariantsCoachIndicatorGroup, Template } from "./template.js";
+import { Template } from "./template.js";
/**
* The coach indicator component can be used to bring added attention to specific parts of a page.
@@ -38,6 +38,10 @@ export default {
variant: "default",
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=48600-896",
+ },
packageJson,
metadata,
},
@@ -59,14 +63,14 @@ Default.parameters = {
};
Default.tags = ["!autodocs"];
-export const DefaultVariants = AllVariantsCoachIndicatorGroup.bind({});
+export const DefaultVariants = Template.bind({});
DefaultVariants.tags = ["!dev"];
DefaultVariants.storyName = "Default";
DefaultVariants.parameters = {
chromatic: { disableSnapshot: true }
};
-export const QuietVariants = AllVariantsCoachIndicatorGroup.bind({});
+export const QuietVariants = Template.bind({});
QuietVariants.tags = ["!dev"];
QuietVariants.storyName = "Quiet";
QuietVariants.args = {
diff --git a/components/coachindicator/stories/coachindicator.test.js b/components/coachindicator/stories/coachindicator.test.js
index b1e10ea89b5..2843e3e795e 100644
--- a/components/coachindicator/stories/coachindicator.test.js
+++ b/components/coachindicator/stories/coachindicator.test.js
@@ -9,22 +9,6 @@ export const CoachIndicatorGroup = Variants({
testHeading: "Default",
variant: "default",
},
- {
- testHeading: "Dark",
- variant: "dark",
- wrapperStyles: {
- "background-color": "rgba(248 248 248 / 80%)",
- "border-radius": "4px",
- },
- },
- {
- testHeading: "Light",
- variant: "light",
- wrapperStyles: {
- "background-color": "rgba(0 0 0 / 80%)",
- "border-radius": "4px",
- },
- },
{
testHeading: "Static White",
staticColor: "white"
diff --git a/components/coachindicator/stories/template.js b/components/coachindicator/stories/template.js
index db6af34db76..c71d94497ca 100644
--- a/components/coachindicator/stories/template.js
+++ b/components/coachindicator/stories/template.js
@@ -1,9 +1,11 @@
-import { Container } from "@spectrum-css/preview/decorators";
import { html } from "lit-html";
import { classMap } from "lit-html/directives/class-map.js";
import { styleMap } from "lit-html/directives/style-map.js";
import "../index.css";
+import "../themes/spectrum.css";
+/* Must be imported last */
+import "../themes/express.css";
export const Template = ({
rootClass = "spectrum-CoachIndicator",
@@ -12,46 +14,21 @@ export const Template = ({
variant,
customClasses = [],
customStyles = {},
-}) => html`
- ({ ...a, [c]: true }), {}),
- })}
- style=${styleMap(customStyles)}
- >
- ${Array.from({ length: 3 }).map(() => html`
-
- `)}
-
-`;
-
-/* This template group showcases multiple coach indicator variants at once. */
-export const AllVariantsCoachIndicatorGroup = (args, context) => Container({
- withBorder: false,
- content: html`
- ${Container({
- direction: "column",
- withBorder: false,
- heading: "Default",
- content: Template({ ...args, variant: "default" }, context)
- }, context)}
- ${Container({
- direction: "column",
- withBorder: false,
- heading: "Dark",
- content: Template({ ...args, variant: "dark" }, context)
- }, context)}
- ${Container({
- direction: "column",
- withBorder: false,
- heading: "Light",
- content: Template({ ...args, variant: "light" }, context)
-
- }, context)}
- `
-}, context);
+} = {}) => {
+ return html`
+ ({ ...a, [c]: true }), {}),
+ })}
+ style=${styleMap(customStyles)}
+ >
+ ${Array.from({ length: 3 }).map(() => html`
+
+ `)}
+
+ `;
+};
diff --git a/components/coachindicator/themes/express.css b/components/coachindicator/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/coachindicator/themes/express.css
+++ b/components/coachindicator/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/coachindicator/themes/spectrum-two.css b/components/coachindicator/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/coachindicator/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/coachindicator/themes/spectrum.css b/components/coachindicator/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/coachindicator/themes/spectrum.css
+++ b/components/coachindicator/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/coachmark/CHANGELOG.md b/components/coachmark/CHANGELOG.md
index 8f210092715..3eda793722e 100644
--- a/components/coachmark/CHANGELOG.md
+++ b/components/coachmark/CHANGELOG.md
@@ -1,5 +1,338 @@
# Change Log
+## 8.0.0-s2-foundations.18
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.24
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.16
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.16
+ - @spectrum-css/popover@8.0.0-s2-foundations.17
+ - @spectrum-css/button@14.0.0-s2-foundations.19
+ - @spectrum-css/menu@8.0.0-s2-foundations.17
+
+## 8.0.0-s2-foundations.17
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.21
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.15
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.15
+ - @spectrum-css/popover@8.0.0-s2-foundations.16
+ - @spectrum-css/button@14.0.0-s2-foundations.17
+ - @spectrum-css/menu@8.0.0-s2-foundations.15
+
+## 8.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.20
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.14
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.14
+ - @spectrum-css/popover@8.0.0-s2-foundations.15
+ - @spectrum-css/button@14.0.0-s2-foundations.16
+ - @spectrum-css/menu@8.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 8.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.18
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.13
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.13
+ - @spectrum-css/popover@8.0.0-s2-foundations.14
+ - @spectrum-css/button@14.0.0-s2-foundations.15
+ - @spectrum-css/menu@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 8.0.0-s2-foundations.14
+
+### Minor Changes
+
+- [#3015](https://github.com/adobe/spectrum-css/pull/3015) [`db6f93d`](https://github.com/adobe/spectrum-css/commit/db6f93d6cb4b745a53a03a363284ac9e4f9cd46a) Thanks [@cdransf](https://github.com/cdransf)! - Move the coachmark modifiers out of the theme to the base index.css.
+
+### Patch Changes
+
+- Updated dependencies [[`f15243a`](https://github.com/adobe/spectrum-css/commit/f15243adaa633531e82edbb61b2e4444517af64e)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.16
+
+## 8.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-239] passthroughs referencing global token values in index.css abstracted to define alias' in the coach mark theme file
+
+### Patch Changes
+
+- Updated dependencies [[`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f), [`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.14
+
+## 8.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.13
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.12
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.12
+ - @spectrum-css/popover@8.0.0-s2-foundations.12
+ - @spectrum-css/button@14.0.0-s2-foundations.12
+ - @spectrum-css/menu@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 8.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.12
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.11
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.11
+ - @spectrum-css/popover@8.0.0-s2-foundations.11
+ - @spectrum-css/button@14.0.0-s2-foundations.11
+ - @spectrum-css/menu@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 8.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.10
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.10
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.10
+ - @spectrum-css/popover@8.0.0-s2-foundations.10
+ - @spectrum-css/button@14.0.0-s2-foundations.10
+ - @spectrum-css/menu@8.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 8.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.9
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.9
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.9
+ - @spectrum-css/popover@8.0.0-s2-foundations.9
+ - @spectrum-css/button@14.0.0-s2-foundations.9
+ - @spectrum-css/menu@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 8.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.8
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.8
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.8
+ - @spectrum-css/popover@8.0.0-s2-foundations.8
+ - @spectrum-css/button@14.0.0-s2-foundations.8
+ - @spectrum-css/menu@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 8.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.7
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.7
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.7
+ - @spectrum-css/popover@8.0.0-s2-foundations.7
+ - @spectrum-css/button@14.0.0-s2-foundations.7
+ - @spectrum-css/menu@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 8.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.6
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.6
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.6
+ - @spectrum-css/popover@8.0.0-s2-foundations.6
+ - @spectrum-css/button@14.0.0-s2-foundations.6
+ - @spectrum-css/menu@8.0.0-s2-foundations.6
+
+## 8.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.5
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.5
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.5
+ - @spectrum-css/popover@8.0.0-s2-foundations.5
+ - @spectrum-css/button@14.0.0-s2-foundations.5
+ - @spectrum-css/menu@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 8.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.4
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.4
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.4
+ - @spectrum-css/popover@8.0.0-s2-foundations.4
+ - @spectrum-css/button@14.0.0-s2-foundations.4
+ - @spectrum-css/menu@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 8.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.3
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.3
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.3
+ - @spectrum-css/popover@8.0.0-s2-foundations.3
+ - @spectrum-css/button@14.0.0-s2-foundations.3
+ - @spectrum-css/menu@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 8.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.2
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.2
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.2
+ - @spectrum-css/popover@8.0.0-s2-foundations.2
+ - @spectrum-css/button@14.0.0-s2-foundations.2
+ - @spectrum-css/menu@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 8.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.1
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.1
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.1
+ - @spectrum-css/popover@8.0.0-s2-foundations.1
+ - @spectrum-css/button@14.0.0-s2-foundations.1
+ - @spectrum-css/menu@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 8.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.0
+ - @spectrum-css/popover@8.0.0-s2-foundations.0
+ - @spectrum-css/button@14.0.0-s2-foundations.0
+ - @spectrum-css/menu@8.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/actionmenu@7.0.0-s2-foundations.0
+ - @spectrum-css/buttongroup@8.0.0-s2-foundations.0
+
## 7.3.0
### Minor Changes
diff --git a/components/coachmark/index.css b/components/coachmark/index.css
index a987bc6984e..384d90ca93f 100644
--- a/components/coachmark/index.css
+++ b/components/coachmark/index.css
@@ -11,157 +11,138 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-CoachMark {
- --spectrum-coachmark-min-width: var(--spectrum-coach-mark-minimum-width);
- --spectrum-coachmark-width: var(--spectrum-coach-mark-width);
- --spectrum-coachmark-max-width: var(--spectrum-coach-mark-maximum-width);
-
- --spectrum-coachmark-media-height: var(--spectrum-coach-mark-media-height);
- --spectrum-coachmark-media-min-height: var(--spectrum-coach-mark-media-minimum-height);
-
- --spectrum-coachmark-border-size: var(--mod-popover-border-width);
- --spectrum-coachmark-border-radius: var(--mod-popover-corner-radius);
-
- /* layout */
- --spectrum-coachmark-padding: var(--spectrum-coach-mark-edge-to-content);
- --spectrum-coachmark-heading-to-action-button: var(--spectrum-spacing-300);
- --spectrum-coachmark-header-to-body: var(--spectrum-spacing-200);
- --spectrum-coachmark-body-to-footer: var(--spectrum-spacing-300);
-
- /* font */
- --spectrum-coachmark-title-color: var(--spectrum-heading-color);
- --spectrum-coachmark-title-font-family: var(--spectrum-sans-serif-font);
- --spectrum-coachmark-title-font-style: var(--spectrum-heading-serif-font-style);
- --spectrum-coachmark-title-text-font-weight: var(--spectrum-heading-sans-serif-font-weight);
- --spectrum-coachmark-title-font-size: var(--spectrum-coach-mark-title-size);
- --spectrum-coachmark-title-text-line-height: var(--spectrum-heading-line-height);
-
- --spectrum-coachmark-content-font-color: var(--spectrum-body-color);
- --spectrum-coachmark-content-font-weight: var(--spectrum-body-sans-serif-font-weight);
- --spectrum-coachmark-content-font-family: var(--spectrum-sans-serif-font);
- --spectrum-coachmark-content-font-style: var(--spectrum-body-sans-serif-font-style);
- --spectrum-coachmark-content-line-height: var(--spectrum-body-line-height);
- --spectrum-coachmark-content-font-size: var(--spectrum-coach-mark-body-size);
-
- --spectrum-coachmark-step-color: var(--spectrum-coach-mark-pagination-color);
- --spectrum-coachmark-step-font-weight: var(--spectrum-body-sans-serif-font-weight);
- --spectrum-coachmark-step-font-family: var(--spectrum-sans-serif-font);
- --spectrum-coachmark-step-font-style: var(--spectrum-body-sans-serif-font-style);
- --spectrum-coachmark-step-line-height: var(--spectrum-body-line-height);
- --spectrum-coachmark-step-font-size: var(--spectrum-coach-mark-pagination-body-size);
- --spectrum-coachmark-step-to-bottom: var(--spectrum-coach-mark-pagination-text-to-bottom-edge);
-
- /* mods */
+ --spectrum-coachmark-border-size: var(--mod-coachmark-border-size, var(--mod-popover-border-width));
+ --spectrum-coachmark-border-radius: var(--mod-coachmark-border-radius, var(--mod-popover-corner-radius));
+
+ /* @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-button-edge-to-visual-only: 9px;
+ /* @passthrough end */
position: relative;
- min-inline-size: var(--mod-coachmark-min-width, var(--spectrum-coachmark-min-width));
- max-inline-size: var(--mod-coachmark-max-width, var(--spectrum-coachmark-max-width));
- inline-size: var(--mod-coachmark-width, var(--spectrum-coachmark-width));
-}
-
-.spectrum-CoachMark-buttongroup {
- display: var(--spectrum-coachmark-buttongroup-display);
-}
-
-.spectrum-CoachMark-buttongroup--mobile {
- --mod-buttongroup-spacing-horizontal: var(--spectrum-spacing-100);
- display: var(--spectrum-coachmark-buttongroup-mobile-display);
-}
-
-.spectrum-CoachMark-menu {
- display: var(--spectrum-coachmark-menu-display);
-}
-
-.spectrum-CoachMark-menu--mobile {
- display: var(--spectrum-coachmark-menu-mobile-display);
+ min-inline-size: var(--mod-coachmark-min-width, var(--spectrum-coach-mark-minimum-width));
+ max-inline-size: var(--mod-coachmark-max-width, var(--spectrum-coach-mark-maximum-width));
+ inline-size: var(--mod-coachmark-width, var(--spectrum-coach-mark-width));
}
+/* Used when the coachmark has an image */
.spectrum-CoachMark-image-wrapper {
- block-size: var(--mod-coachmark-media-height, var(--spectrum-coachmark-media-height));
- min-block-size: var(--mod-coachmark-media-min-height, var(--spectrum-coachmark-media-min-height));
- inline-size: calc(var(--mod-coachmark-width, var(--spectrum-coachmark-width)) - (var(--mod-coachmark-border-size, var(--spectrum-coachmark-border-size)) * 2));
+ block-size: var(--mod-coachmark-media-height, var(--spectrum-coach-mark-media-height));
+ min-block-size: var(--mod-coachmark-media-min-height, var(--spectrum-coach-mark-media-minimum-height));
+ inline-size: calc(var(--mod-coachmark-width, var(--spectrum-coach-mark-width)) - (var(--spectrum-coachmark-border-size) * 2));
+
object-fit: cover;
object-position: center;
+
border-start-start-radius: inherit;
border-start-end-radius: inherit;
}
+/* Class for the image; nested inside image-wrapper */
.spectrum-CoachMark-image {
display: block;
inline-size: 100%;
block-size: 100%;
object-fit: cover;
- border-start-start-radius: calc(var(--mod-coachmark-border-radius, var(--spectrum-coachmark-border-radius)) - var(--mod-coachmark-border-size, var(--spectrum-coachmark-border-size)));
- border-start-end-radius: calc(var(--mod-coachmark-border-radius, var(--spectrum-coachmark-border-radius)) - var(--mod-coachmark-border-size, var(--spectrum-coachmark-border-size)));
+ border-start-start-radius: calc(var(--spectrum-coachmark-border-radius) - var(--spectrum-coachmark-border-size));
+ border-start-end-radius: calc(var(--spectrum-coachmark-border-radius) - var(--spectrum-coachmark-border-size));
}
+/* Shared content styles */
.spectrum-CoachMark-header,
.spectrum-CoachMark-content,
.spectrum-CoachMark-footer {
padding-block: 0;
- padding-inline: var(--mod-coachmark-padding, var(--spectrum-coachmark-padding));
+ padding-inline: var(--mod-coachmark-padding, var(--spectrum-coach-mark-edge-to-content));
}
+/* Wrapper contains title, action-menu */
.spectrum-CoachMark-header {
- padding-block-start: var(--mod-coachmark-padding, var(--spectrum-coachmark-padding));
+ padding-block-start: var(--mod-coachmark-padding, var(--spectrum-coach-mark-edge-to-content));
display: flex;
justify-content: space-between;
align-items: center;
- margin-block-end: var(--mod-coachmark-header-to-body, var(--spectrum-coachmark-header-to-body));
+ margin-block-end: var(--mod-coachmark-header-to-body, var(--spectrum-spacing-200));
+}
+
+/* Text wrapper for the title content; sides besdie action menu if present */
+.spectrum-CoachMark-title {
+ color: var(--mod-coachmark-title-color, var(--spectrum-heading-color));
+ font-size: var(--mod-coachmark-title-font-size, var(--spectrum-coach-mark-title-size));
+ font-weight: var(--mod-coachmark-title-text-font-weight, var(--spectrum-heading-sans-serif-font-weight));
+ font-family: var(--mod-coachmark-title-font-family, var(--spectrum-sans-serif-font));
+ font-style: var(--mod-coachmark-title-font-style, var(--spectrum-heading-serif-font-style));
+ line-height: var(--mod-coachmark-title-text-line-height, var(--spectrum-heading-line-height));
+ margin-block-end: 0;
}
+/* Wrapper element around the nested action menu sub-component */
.spectrum-CoachMark-action-menu {
white-space: nowrap;
z-index: 1;
- margin-inline-start: var(--mod-coachmark-heading-to-action-button, var(--spectrum-coachmark-heading-to-action-button));
+ margin-inline-start: var(--mod-coachmark-heading-to-action-button, var(--spectrum-spacing-300));
}
+/* @deprecated not used currently in demos or by SWC */
+.spectrum-CoachMark-menu {
+ display: var(--spectrum-coachmark-menu-display);
+}
+
+/* @deprecated not used currently in demos or by SWC */
+.spectrum-CoachMark-menu--mobile {
+ --spectrum-coachmark-menu-display: var(--spectrum-coachmark-menu-mobile-display);
+}
+
+/* Text wrapper for the content */
.spectrum-CoachMark-content {
- margin-block-end: var(--mod-coachmark-body-to-footer, var(--spectrum-coachmark-body-to-footer));
- color: var(--mod-coachmark-content-font-color, var(--spectrum-coachmark-content-font-color));
- font-size: var(--mod-coachmark-content-font-size, var(--spectrum-coachmark-content-font-size));
- font-weight: var(--mod-coachmark-content-font-weight, var(--spectrum-coachmark-content-font-weight));
- font-family: var(--mod-coachmark-content-font-family, var(--spectrum-coachmark-content-font-family));
- font-style: var(--mod-coachmark-content-font-style, var(--spectrum-coachmark-content-font-style));
- line-height: var(--mod-coachmark-content-line-height, var(--spectrum-coachmark-content-line-height));
+ margin-block-end: var(--mod-coachmark-body-to-footer, var(--spectrum-spacing-300));
+ color: var(--mod-coachmark-content-font-color, var(--spectrum-body-color));
+ font-size: var(--mod-coachmark-content-font-size, var(--spectrum-coach-mark-body-size));
+ font-weight: var(--mod-coachmark-content-font-weight, var(--spectrum-body-sans-serif-font-weight));
+ font-family: var(--mod-coachmark-content-font-family, var(--spectrum-sans-serif-font));
+ font-style: var(--mod-coachmark-content-font-style, var(--spectrum-body-sans-serif-font-style));
+ line-height: var(--mod-coachmark-content-line-height, var(--spectrum-body-line-height));
}
+/* Footer wrapper for the pagination and button group sub-components */
.spectrum-CoachMark-footer {
display: grid;
align-items: end;
margin-block-start: 0;
- padding-block-end: var(--mod-coachmark-padding, var(--spectrum-coachmark-padding));
-
- .spectrum-ButtonGroup {
- grid-column-start: 2;
- }
-}
-
-.spectrum-CoachMark-title {
- color: var(--mod-coachmark-title-color, var(--spectrum-coachmark-title-color));
- font-size: var(--mod-coachmark-title-font-size, var(--spectrum-coachmark-title-font-size));
- font-weight: var(--mod-coachmark-title-text-font-weight, var(--spectrum-coachmark-title-text-font-weight));
- font-family: var(--mod-coachmark-title-font-family, var(--spectrum-coachmark-title-font-family));
- font-style: var(--mod-coachmark-title-font-style, var(--spectrum-coachmark-title-font-style));
- line-height: var(--mod-coachmark-title-text-line-height, var(--spectrum-coachmark-title-text-line-height));
- margin-block-end: 0;
+ padding-block-end: var(--mod-coachmark-padding, var(--spectrum-coach-mark-edge-to-content));
}
+/* Text wrapper for the step count */
.spectrum-CoachMark-step {
justify-self: start;
- color: var(--mod-coachmark-step-color, var(--spectrum-coachmark-step-color));
- font-size: var(--mod-coachmark-step-font-size, var(--spectrum-coachmark-step-font-size));
- font-weight: var(--mod-coachmark-step-text-font-weight, var(--spectrum-coachmark-step-font-weight));
- font-family: var(--spectrum-coachmark-step-font-family);
- font-style: var(--mod-coachmark-step-font-style, var(--spectrum-coachmark-step-font-style));
- line-height: var(--mod-coachmark-step-text-line-height, var(--spectrum-coachmark-step-line-height));
+ margin-block-end: calc(var(--mod-coachmark-step-to-bottom, var(--spectrum-coach-mark-pagination-text-to-bottom-edge)) - var(--mod-coachmark-padding, var(--spectrum-coach-mark-edge-to-content)));
+
+ color: var(--mod-coachmark-step-color, var(--spectrum-coach-mark-pagination-color));
+ font-size: var(--mod-coachmark-step-font-size, var(--spectrum-coach-mark-pagination-body-size));
+ font-weight: var(--mod-coachmark-step-text-font-weight, var(--spectrum-body-sans-serif-font-weight));
+ font-family: var(--spectrum-sans-serif-font);
+ font-style: var(--mod-coachmark-step-font-style, var(--spectrum-body-sans-serif-font-style));
+ line-height: var(--mod-coachmark-step-text-line-height, var(--spectrum-body-line-height));
white-space: nowrap;
- margin-block-end: calc(var(--mod-coachmark-step-to-bottom, var(--spectrum-coachmark-step-to-bottom)) - var(--mod-coachmark-padding, var(--spectrum-coachmark-padding)));
+}
+
+/* Class attached to the ButtonGroup sub-component */
+.spectrum-CoachMark-buttongroup {
+ display: var(--spectrum-coachmark-buttongroup-display);
+ grid-column-start: 2;
+}
+
+/* Variant for mobile */
+/* @todo can we use a media query here or base this on scale? */
+.spectrum-CoachMark-buttongroup--mobile {
+ --spectrum-coachmark-buttongroup-display: var(--spectrum-coachmark-buttongroup-mobile-display);
+
+ /* @passthrough -- ButtonGroup */
+ --mod-buttongroup-spacing: var(--spectrum-spacing-100);
}
diff --git a/components/coachmark/metadata/metadata.json b/components/coachmark/metadata/metadata.json
index c8f2d013465..8bc036d5fca 100644
--- a/components/coachmark/metadata/metadata.json
+++ b/components/coachmark/metadata/metadata.json
@@ -7,7 +7,6 @@
".spectrum-CoachMark-buttongroup--mobile",
".spectrum-CoachMark-content",
".spectrum-CoachMark-footer",
- ".spectrum-CoachMark-footer .spectrum-ButtonGroup",
".spectrum-CoachMark-header",
".spectrum-CoachMark-image",
".spectrum-CoachMark-image-wrapper",
@@ -59,40 +58,12 @@
"--spectrum-coach-mark-pagination-text-to-bottom-edge",
"--spectrum-coach-mark-title-size",
"--spectrum-coach-mark-width",
- "--spectrum-coachmark-body-to-footer",
"--spectrum-coachmark-border-radius",
"--spectrum-coachmark-border-size",
"--spectrum-coachmark-buttongroup-display",
"--spectrum-coachmark-buttongroup-mobile-display",
- "--spectrum-coachmark-content-font-color",
- "--spectrum-coachmark-content-font-family",
- "--spectrum-coachmark-content-font-size",
- "--spectrum-coachmark-content-font-style",
- "--spectrum-coachmark-content-font-weight",
- "--spectrum-coachmark-content-line-height",
- "--spectrum-coachmark-header-to-body",
- "--spectrum-coachmark-heading-to-action-button",
- "--spectrum-coachmark-max-width",
- "--spectrum-coachmark-media-height",
- "--spectrum-coachmark-media-min-height",
"--spectrum-coachmark-menu-display",
- "--spectrum-coachmark-menu-mobile-display",
- "--spectrum-coachmark-min-width",
- "--spectrum-coachmark-padding",
- "--spectrum-coachmark-step-color",
- "--spectrum-coachmark-step-font-family",
- "--spectrum-coachmark-step-font-size",
- "--spectrum-coachmark-step-font-style",
- "--spectrum-coachmark-step-font-weight",
- "--spectrum-coachmark-step-line-height",
- "--spectrum-coachmark-step-to-bottom",
- "--spectrum-coachmark-title-color",
- "--spectrum-coachmark-title-font-family",
- "--spectrum-coachmark-title-font-size",
- "--spectrum-coachmark-title-font-style",
- "--spectrum-coachmark-title-text-font-weight",
- "--spectrum-coachmark-title-text-line-height",
- "--spectrum-coachmark-width"
+ "--spectrum-coachmark-menu-mobile-display"
],
"global": [
"--spectrum-body-color",
@@ -114,7 +85,7 @@
"passthroughs": [
"--mod-button-edge-to-visual-only",
"--mod-buttongroup-justify-content",
- "--mod-buttongroup-spacing-horizontal",
+ "--mod-buttongroup-spacing",
"--mod-popover-border-width",
"--mod-popover-content-area-spacing-vertical",
"--mod-popover-corner-radius"
diff --git a/components/coachmark/package.json b/components/coachmark/package.json
index d9f385b5e20..2d52ed71440 100644
--- a/components/coachmark/package.json
+++ b/components/coachmark/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/coachmark",
- "version": "7.3.0",
+ "version": "8.0.0-s2-foundations.18",
"description": "The Spectrum CSS coachmark component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,23 +21,25 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=6",
- "@spectrum-css/actionmenu": ">=6",
- "@spectrum-css/button": ">=13",
- "@spectrum-css/buttongroup": ">=7",
- "@spectrum-css/menu": ">=7",
- "@spectrum-css/popover": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/actionmenu": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0",
+ "@spectrum-css/buttongroup": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/button": {
diff --git a/components/coachmark/stories/coachmark.mdx b/components/coachmark/stories/coachmark.mdx
deleted file mode 100644
index 64ea9ecb305..00000000000
--- a/components/coachmark/stories/coachmark.mdx
+++ /dev/null
@@ -1,43 +0,0 @@
-import {
- ArgTypes,
- Canvas,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-
-import * as CoachmarkStories from "./coachmark.stories";
-
-
-
-
-
-
-
-
-
-## Standard
-
-
-
-## With media
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/coachmark/stories/coachmark.stories.js b/components/coachmark/stories/coachmark.stories.js
index d488a335989..fe2e2e35cda 100644
--- a/components/coachmark/stories/coachmark.stories.js
+++ b/components/coachmark/stories/coachmark.stories.js
@@ -4,10 +4,10 @@ import { disableDefaultModes } from "@spectrum-css/preview/modes";
import metadata from "../metadata/metadata.json";
import packageJson from "../package.json";
import { CoachMarkGroup } from "./coachmark.test.js";
-import { Template } from "./template.js";
+import { CoachmarkMenuStatesTemplate, Template } from "./template.js";
/**
- * The coach mark component can be used to bring added attention to specific parts of a page. It is a separate component from the coach indicator.
+ * The coach mark component can be used to bring added attention to specific parts of a page, like during a tour. It is a separate component from [the coach indicator](/docs/components-coach-indicator--docs) and similar to [a popover](/docs/components-purpose--docs).
*/
export default {
title: "Coach mark",
@@ -54,6 +54,10 @@ export default {
...(Menu.parameters?.actions?.handles ?? []),
],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=37804-254",
+ },
packageJson,
metadata,
docs: {
@@ -62,12 +66,25 @@ export default {
}
}
},
- tags: ["!autodocs"],
};
export const Default = CoachMarkGroup.bind({});
+Default.tags = ["!autodocs"];
Default.args = {};
+/**
+ * Coach marks are temporary messages that educate users through new or unfamiliar product experiences. They can be chained into a sequence to form a tour.
+ */
+export const Standard = CoachmarkMenuStatesTemplate.bind({});
+Standard.storyName = "Default";
+Standard.tags = ["!dev"];
+Standard.parameters = {
+ chromatic: {
+ disableSnapshot: true,
+ },
+};
+
+/** Coach marks can contain images or media that relate to their content, such as demonstrations of gestures, the UI being used, or illustrations. */
export const WithMedia = Template.bind({});
WithMedia.tags = ["!dev"];
WithMedia.args = {
diff --git a/components/coachmark/stories/coachmark.test.js b/components/coachmark/stories/coachmark.test.js
index b5b17d3d6ed..7715854ad1e 100644
--- a/components/coachmark/stories/coachmark.test.js
+++ b/components/coachmark/stories/coachmark.test.js
@@ -29,7 +29,6 @@ export const CoachMarkGroup = Variants({
testHeading: "Default",
hasActionMenu: false,
hasPagination: false,
- hasImage: false,
wrapperStyles: {
"background-color": "var(--spectrum-gray-50, white)",
},
@@ -46,18 +45,31 @@ export const CoachMarkGroup = Variants({
{
testHeading: "With action menu",
hasPagination: false,
- hasActionMenu: true,
- hasImage: false,
isOpen: true,
wrapperStyles: {
"background-color": "var(--spectrum-gray-50, white)"
},
},
+ {
+ testHeading: "With action menu + media",
+ hasPagination: false,
+ isOpen: true,
+ hasImage: true,
+ wrapperStyles: {
+ "background-color": "var(--spectrum-gray-50, white)"
+ },
+ },
{
testHeading: "With pagination",
- hasPagination: true,
hasActionMenu: false,
- hasImage: false,
+ wrapperStyles: {
+ "background-color": "var(--spectrum-gray-50, white)"
+ },
+ },
+ {
+ testHeading: "With pagination + media",
+ hasActionMenu: false,
+ hasImage: true,
wrapperStyles: {
"background-color": "var(--spectrum-gray-50, white)"
},
diff --git a/components/coachmark/stories/template.js b/components/coachmark/stories/template.js
index 0fe3760e017..7a553c4005a 100644
--- a/components/coachmark/stories/template.js
+++ b/components/coachmark/stories/template.js
@@ -1,3 +1,4 @@
+import { Container } from "@spectrum-css/preview/decorators";
import { Template as ActionMenu } from "@spectrum-css/actionmenu/stories/template.js";
import { Template as ButtonGroup } from "@spectrum-css/buttongroup/stories/template.js";
import { Template as CoachIndicator } from "@spectrum-css/coachindicator/stories/template.js";
@@ -8,15 +9,23 @@ 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 CoachContainer = ({
rootClass = "spectrum-CoachMark",
hasActionMenu = false,
hasPagination,
hasImage,
+ title = "Try playing with a pixel brush",
+ content = "Pixel brushes use pixels to create brush strokes, just like in other design and drawing tools. Start drawing, and zoom in to see the pixels in each stroke.",
+ currentStep = 2,
+ totalStepCount = 8,
isOpen = false,
} = {}, context = {}) => {
const { globals = {} } = context;
+
const scale = globals.scale ?? "medium";
return html`
@@ -29,12 +38,10 @@ export const CoachContainer = ({
`)}
+ ${content}
`;
};
+
+/* Displays open and closed action menus in a single story. */
+export const CoachmarkMenuStatesTemplate = (args, context) => Container({
+ withBorder: false,
+ withHeading: false,
+ wrapperStyles: {
+ columnGap: "100px",
+ rowGap: "200px",
+ },
+ content: [
+ Container({
+ withBorder: false,
+ heading: "With action menu",
+ content: Template({...args, isOpen: true}, context),
+ }),
+ Container({
+ withBorder: false,
+ heading: "Without action menu",
+ content: Template({...args, hasActionMenu: false}, context),
+ })
+ ]
+});
diff --git a/components/coachmark/themes/express.css b/components/coachmark/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/coachmark/themes/express.css
+++ b/components/coachmark/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/coachmark/themes/spectrum-two.css b/components/coachmark/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/coachmark/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/coachmark/themes/spectrum.css b/components/coachmark/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/coachmark/themes/spectrum.css
+++ b/components/coachmark/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/colorarea/CHANGELOG.md b/components/colorarea/CHANGELOG.md
index dd373046ceb..9a762713ef8 100644
--- a/components/colorarea/CHANGELOG.md
+++ b/components/colorarea/CHANGELOG.md
@@ -1,5 +1,231 @@
# Change Log
+## 6.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.17
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.16
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
diff --git a/components/colorarea/index.css b/components/colorarea/index.css
index 3c83d4b484d..549ef4c4f91 100644
--- a/components/colorarea/index.css
+++ b/components/colorarea/index.css
@@ -11,18 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
-
-.spectrum-ColorArea {
- --spectrum-colorarea-border-radius: var(--spectrum-color-area-border-rounding);
- --spectrum-colorarea-border-color: rgb(0 0 0 / 10%); /* TODO replace with token --spectrum-color-area-border-color and --spectrum-color-area-border-opacity using RGBA function */
- --spectrum-colorarea-disabled-background-color: var(--spectrum-disabled-background-color);
- --spectrum-colorarea-border-width: var(--spectrum-color-area-border-width);
- --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);
-}
+@import "./themes/spectrum-two.css";
/* Windows High Contrast Mode */
@media (forced-colors: active) {
@@ -45,17 +34,20 @@
}
.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%);
+
position: relative;
display: inline-block;
cursor: default;
user-select: none;
- 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));
+ 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));
box-sizing: border-box;
- 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)));
+ 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)));
&.is-focused {
z-index: 2;
@@ -63,8 +55,8 @@
&.is-disabled {
pointer-events: none;
- 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);
+ 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);
.spectrum-ColorArea-gradient {
display: none;
@@ -73,7 +65,7 @@
}
.spectrum-ColorArea-handle {
- transform: translate(calc(var(--mod-colorarea-width, var(--spectrum-colorarea-width)) - var(--spectrum-colorarea-border-width)), 0);
+ transform: translate(calc(var(--mod-colorarea-width, var(--spectrum-color-area-width)) - var(--spectrum-color-area-border-width)), 0);
inset-block-start: 0;
&:dir(rtl) {
@@ -84,7 +76,7 @@
.spectrum-ColorArea-gradient {
inline-size: 100%;
block-size: 100%;
- border-radius: var(--mod-colorarea-border-radius, var(--spectrum-colorarea-border-radius));
+ border-radius: var(--mod-colorarea-border-radius, var(--spectrum-color-area-border-rounding));
}
.spectrum-ColorArea-slider {
diff --git a/components/colorarea/metadata/metadata.json b/components/colorarea/metadata/metadata.json
index 700f0f3caf3..1f5e367e141 100644
--- a/components/colorarea/metadata/metadata.json
+++ b/components/colorarea/metadata/metadata.json
@@ -30,13 +30,8 @@
"--spectrum-color-area-minimum-width",
"--spectrum-color-area-width",
"--spectrum-colorarea-border-color",
- "--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"
+ "--spectrum-colorarea-border-color-opacity",
+ "--spectrum-colorarea-border-color-rgb"
],
"global": ["--spectrum-disabled-background-color"],
"system-theme": [],
diff --git a/components/colorarea/package.json b/components/colorarea/package.json
index 1fa61f7fe6e..bd669769e6b 100644
--- a/components/colorarea/package.json
+++ b/components/colorarea/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/colorarea",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.16",
"description": "The Spectrum CSS Color Area component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/colorhandle": ">=8",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/colorhandle": ">=9.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/colorhandle": "workspace:^",
diff --git a/components/colorarea/stories/colorarea.mdx b/components/colorarea/stories/colorarea.mdx
deleted file mode 100644
index 2dd6f56f540..00000000000
--- a/components/colorarea/stories/colorarea.mdx
+++ /dev/null
@@ -1,47 +0,0 @@
-import {
- ArgTypes,
- Canvas,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-
-import * as ColorAreaStories from "./colorarea.stories";
-
-
-
-
-
-
-
-
-
-## Standard
-
-
-
-## Custom size
-
-
-
-## Disabled
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/colorarea/stories/colorarea.stories.js b/components/colorarea/stories/colorarea.stories.js
index 7b60fa3c46a..8d2f714516c 100644
--- a/components/colorarea/stories/colorarea.stories.js
+++ b/components/colorarea/stories/colorarea.stories.js
@@ -6,13 +6,15 @@ import { ColorAreaGroup } from "./colorarea.test.js";
import { Template } from "./template.js";
/**
- * The color area component allows users to visually select two properties of a color simultaneously. It's commonly used together with a color slider or color wheel. Some usage notes:
- * - The `.spectrum-ColorHandle` should be moved with the `transform: translate(x, y)` style property as the sliders are dragged
- * - Set the background style property of `.spectrum-ColorArea-gradient` to the gradient of the colors to be selected
- * - Set the value attribute of `.spectrum-ColorArea-slider[name=x]` to the currently selected x value (i.e. saturation)
- * - Set the value attribute of `.spectrum-ColorArea-slider[name=y]` to the currently selected y value (i.e. value)
- * - Set the value of the ColorHandle component to the selected color
- * - Marshall focus between the saturation and value sliders according to which keys are pressed (up/down for value, left/right for saturation)
+ * The color area component allows users to visually select two properties of a color simultaneously. It's commonly used together with a [color slider](/docs/components-color-slider--docs) or [color wheel](/docs/components-color-wheel--docs).
+ *
+ * ## Usage notes
+ * - The `.spectrum-ColorArea-handle` element should be moved with the `transform: translate(x, y)` style property as the sliders are dragged.
+ * - Set the background style property of `.spectrum-ColorArea-gradient` to the gradient of the colors to be selected.
+ * - Set the value attribute of `.spectrum-ColorArea-slider[name=x]` to the currently selected x value (i.e. saturation).
+ * - Set the value attribute of `.spectrum-ColorArea-slider[name=y]` to the currently selected y value (i.e. value).
+ * - Set the value of the [color handle component](/docs/components-color-handle--docs) to the selected color.
+ * - Marshall focus between the saturation and value sliders according to which keys are pressed (up/down for value, left/right for saturation).
*/
export default {
title: "Color area",
@@ -41,10 +43,13 @@ export default {
selectedColor: "rgba(255, 0, 0, 1)",
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=36734-2573",
+ },
packageJson,
metadata,
},
- tags: ["!autodocs"],
};
export const Default = ColorAreaGroup.bind({});
@@ -60,6 +65,7 @@ CustomSize.args = {
CustomSize.parameters = {
chromatic: { disableSnapshot: true },
};
+CustomSize.storyName = "Custom size";
export const Disabled = Template.bind({});
Disabled.tags = ["!dev"];
diff --git a/components/colorarea/stories/template.js b/components/colorarea/stories/template.js
index 35a66e3cc69..541357db203 100644
--- a/components/colorarea/stories/template.js
+++ b/components/colorarea/stories/template.js
@@ -4,6 +4,9 @@ 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-ColorArea",
@@ -16,6 +19,7 @@ export const Template = ({
selectedColor = "rgba(255, 0, 0, 1)",
} = {}, context = {}) => {
const { updateArgs } = context;
+
return html`
+ *
+ * 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.
+ */
diff --git a/components/colorarea/themes/spectrum.css b/components/colorarea/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/colorarea/themes/spectrum.css
+++ b/components/colorarea/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/colorhandle/CHANGELOG.md b/components/colorhandle/CHANGELOG.md
index 48c13f14659..bac2dfe3c07 100644
--- a/components/colorhandle/CHANGELOG.md
+++ b/components/colorhandle/CHANGELOG.md
@@ -1,5 +1,254 @@
# Change Log
+## 9.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.16
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.16
+
+## 9.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.15
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.15
+
+## 9.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.14
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 9.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.13
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 9.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#3016](https://github.com/adobe/spectrum-css/pull/3016) [`9dd8558`](https://github.com/adobe/spectrum-css/commit/9dd85581dff69b051a16a3b71054fa65334d106b) Thanks [@cdransf](https://github.com/cdransf)! - Move the color handle passthrough modifiers out of the theme to the base index.css.
+
+## 9.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.12
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 9.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.11
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 9.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.10
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 9.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.9
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 9.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.8
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 9.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.7
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 9.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.6
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.6
+
+## 9.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.5
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 9.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.4
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 9.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.3
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 9.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.2
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 9.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.1
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 9.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.0
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.0
+
## 8.2.0
### Minor Changes
@@ -18,6 +267,15 @@
- [#3271](https://github.com/adobe/spectrum-css/pull/3271) [`055906c`](https://github.com/adobe/spectrum-css/commit/055906cddb04bdf34ac64125d95a63697b922760) Thanks [@cdransf](https://github.com/cdransf)! - Disables lint violation and moves comment to stylelint-disable description.
+- Updated dependencies [[`a354b16`](https://github.com/adobe/spectrum-css/commit/a354b166727fb34b17300bcd3a6118a00034e344)]:
+ - @spectrum-css/colorloupe@5.1.4
+
+## 8.1.4
+
+### Patch Changes
+
+- [#3271](https://github.com/adobe/spectrum-css/pull/3271) [`055906c`](https://github.com/adobe/spectrum-css/commit/055906cddb04bdf34ac64125d95a63697b922760) Thanks [@cdransf](https://github.com/cdransf)! - Disables lint violation and moves comment to stylelint-disable description.
+
- Updated dependencies [[`a354b16`](https://github.com/adobe/spectrum-css/commit/a354b166727fb34b17300bcd3a6118a00034e344)]:
- @spectrum-css/colorloupe@5.1.4
diff --git a/components/colorhandle/index.css b/components/colorhandle/index.css
index dc1b901bfe7..541d674d641 100644
--- a/components/colorhandle/index.css
+++ b/components/colorhandle/index.css
@@ -11,80 +11,79 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
-.spectrum-ColorHandle {
- --spectrum-colorhandle-size: var(--spectrum-color-handle-size);
- --spectrum-colorhandle-focused-size: var(--spectrum-color-handle-size-key-focus);
- --spectrum-colorhandle-hitarea-size: var(--spectrum-color-control-track-width);
+@media (forced-colors: active) {
+ .spectrum-ColorHandle {
+ forced-color-adjust: none;
- --spectrum-colorhandle-animation-duration: var(--spectrum-animation-duration-100);
- --spectrum-colorhandle-animation-easing: ease-in-out;
+ &.is-disabled {
+ --highcontrast-colorhandle-border-color-disabled: GrayText;
+ --highcontrast-colorhandle-fill-color-disabled: Canvas;
+ }
+ }
+}
+.spectrum-ColorHandle {
/* outer border as box shadow on the colorhandle */
- --spectrum-colorhandle-outer-border-color: rgba(var(--spectrum-black-rgb), var(--spectrum-color-handle-outer-border-opacity)); /* TODO replace --spectrum-black-rgb with color-handle-outer-border-color when supported by RGBA */
+ /* TODO replace --spectrum-black-rgb with color-handle-outer-border-color when supported by RGBA */
+ --spectrum-colorhandle-outer-border-color: rgba(var(--spectrum-black-rgb), var(--spectrum-color-handle-outer-border-opacity));
--spectrum-colorhandle-outer-border-width: var(--spectrum-color-handle-outer-border-width);
/* inner border as inset boxshadow on the colorhandle-inner */
- --spectrum-colorhandle-inner-border-color: rgba(var(--spectrum-black-rgb), var(--spectrum-color-handle-inner-border-opacity)); /* TODO replace --spectrum-black-rgb with color-handle-inner-border-color when supported by RGBA */
- --spectrum-colorhandle-inner-border-width: var(--spectrum-color-handle-inner-border-width);
+ /* TODO replace --spectrum-black-rgb with color-handle-inner-border-color when supported by RGBA */
+ --spectrum-colorhandle-inner-border-color: rgba(var(--spectrum-black-rgb), var(--spectrum-color-handle-inner-border-opacity));
- /* primary border on color handle */
- --spectrum-colorhandle-border-width: var(--spectrum-color-handle-border-width);
- --spectrum-colorhandle-border-color: var(--spectrum-white);
- --spectrum-colorhandle-border-color-disabled: var(--spectrum-disabled-content-color);
- --spectrum-colorhandle-fill-color-disabled: var(--spectrum-disabled-background-color);
+ /* @passthrough -- opacity checkerboard customization */
--mod-opacity-checkerboard-position: 50%;
-}
-.spectrum-ColorHandle {
display: block;
position: absolute;
z-index: 1; /* Be above */
box-sizing: border-box;
- inline-size: var(--mod-colorhandle-size, var(--spectrum-colorhandle-size));
- block-size: var(--mod-colorhandle-size, var(--spectrum-colorhandle-size));
+ inline-size: var(--mod-colorhandle-size, var(--spectrum-color-handle-size));
+ block-size: var(--mod-colorhandle-size, var(--spectrum-color-handle-size));
- margin-inline: calc(-1 * calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size)) / 2));
- margin-block: calc(-1 * calc(var(--mod-colorhandle-size, var(--spectrum-colorhandle-size)) / 2));
+ margin-inline: calc(-1 * calc(var(--mod-colorhandle-size, var(--spectrum-color-handle-size)) / 2));
+ margin-block: calc(-1 * calc(var(--mod-colorhandle-size, var(--spectrum-color-handle-size)) / 2));
- border-width: var(--mod-colorhandle-border-width, var(--spectrum-colorhandle-border-width));
- border-color: var(--highcontrast-colorhandle-border-color, var(--mod-colorhandle-border-color, var(--spectrum-colorhandle-border-color)));
+ border-width: var(--mod-colorhandle-border-width, var(--spectrum-color-handle-border-width));
+ border-color: var(--mod-colorhandle-border-color, var(--spectrum-white));
border-style: solid;
box-shadow: 0 0 0 var(--mod-colorhandle-outer-border-width, var(--spectrum-colorhandle-outer-border-width)) var(--mod-colorhandle-outer-border-color, var(--spectrum-colorhandle-outer-border-color));
border-radius: 100%;
+ transition: all var(--mod-colorhandle-animation-duration, var(--spectrum-animation-duration-100)) var(--mod-colorhandle-animation-easing, ease-in-out);
+
&::after {
content: "";
- inset-inline: calc(50% - calc(var(--mod-colorhandle-hitarea-size, var(--spectrum-colorhandle-hitarea-size)) / 2));
- inset-block: calc(50% - calc(var(--mod-colorhandle-hitarea-size, var(--spectrum-colorhandle-hitarea-size)) / 2));
+ inset-inline: calc(50% - calc(var(--mod-colorhandle-hitarea-size, var(--spectrum-color-control-track-width)) / 2));
+ inset-block: calc(50% - calc(var(--mod-colorhandle-hitarea-size, var(--spectrum-color-control-track-width)) / 2));
position: absolute;
display: block;
- inline-size: var(--mod-colorhandle-hitarea-size, var(--spectrum-colorhandle-hitarea-size));
- block-size: var(--mod-colorhandle-hitarea-size, var(--spectrum-colorhandle-hitarea-size));
+ inline-size: var(--mod-colorhandle-hitarea-size, var(--spectrum-color-control-track-width));
+ block-size: var(--mod-colorhandle-hitarea-size, var(--spectrum-color-control-track-width));
border-radius: var(--mod-colorhandle-hitarea-border-radius, 100%);
}
- transition: all var(--mod-colorhandle-animation-duration, var(--spectrum-colorhandle-animation-duration)) var(--mod-colorhandle-animation-easing, var(--spectrum-colorhandle-animation-easing));
-
&.is-focused,
&:focus-visible {
/* Bigger handle when focused */
- inline-size: var(--mod-colorhandle-focused-size, var(--spectrum-colorhandle-focused-size));
- block-size: var(--mod-colorhandle-focused-size, var(--spectrum-colorhandle-focused-size));
+ inline-size: var(--mod-colorhandle-focused-size, var(--spectrum-color-handle-size-key-focus));
+ block-size: var(--mod-colorhandle-focused-size, var(--spectrum-color-handle-size-key-focus));
- margin-inline: calc(-1 * var(--mod-colorhandle-size, var(--spectrum-colorhandle-size)));
- margin-block: calc(-1 * var(--mod-colorhandle-size, var(--spectrum-colorhandle-size)));
+ margin-inline: calc(-1 * var(--mod-colorhandle-size, var(--spectrum-color-handle-size)));
+ margin-block: calc(-1 * var(--mod-colorhandle-size, var(--spectrum-color-handle-size)));
outline: none;
}
&.is-disabled {
pointer-events: none;
- border-color: var(--highcontrast-colorhandle-border-color-disabled, var(--mod-colorhandle-border-color-disabled, var(--spectrum-colorhandle-border-color-disabled)));
- background: var(--highcontrast-colorhandle-fill-color-disabled, var(--mod-colorhandle-fill-color-disabled, var(--spectrum-colorhandle-fill-color-disabled)));
+ border-color: var(--highcontrast-colorhandle-border-color-disabled, var(--mod-colorhandle-border-color-disabled, var(--spectrum-disabled-content-color)));
+ background: var(--highcontrast-colorhandle-fill-color-disabled, var(--mod-colorhandle-fill-color-disabled, var(--spectrum-disabled-background-color)));
box-shadow: none;
.spectrum-ColorHandle-inner {
@@ -97,17 +96,6 @@
border-radius: 100%;
inline-size: 100%;
block-size: 100%;
- box-shadow: inset 0 0 0 var(--mod-colorhandle-inner-border-width, var(--spectrum-colorhandle-inner-border-width)) var(--mod-colorhandle-inner-border-color, var(--spectrum-colorhandle-inner-border-color));
+ box-shadow: inset 0 0 0 var(--mod-colorhandle-inner-border-width, var(--spectrum-color-handle-inner-border-width)) var(--mod-colorhandle-inner-border-color, var(--spectrum-colorhandle-inner-border-color));
background-color: var(--spectrum-picked-color);
}
-
-@media (forced-colors: active) {
- .spectrum-ColorHandle {
- forced-color-adjust: none;
-
- &.is-disabled {
- --highcontrast-colorhandle-border-color-disabled: GrayText;
- --highcontrast-colorhandle-fill-color-disabled: Canvas;
- }
- }
-}
diff --git a/components/colorhandle/metadata/metadata.json b/components/colorhandle/metadata/metadata.json
index 93493517b91..4d8589ac1c1 100644
--- a/components/colorhandle/metadata/metadata.json
+++ b/components/colorhandle/metadata/metadata.json
@@ -33,19 +33,9 @@
"--spectrum-color-handle-outer-border-width",
"--spectrum-color-handle-size",
"--spectrum-color-handle-size-key-focus",
- "--spectrum-colorhandle-animation-duration",
- "--spectrum-colorhandle-animation-easing",
- "--spectrum-colorhandle-border-color",
- "--spectrum-colorhandle-border-color-disabled",
- "--spectrum-colorhandle-border-width",
- "--spectrum-colorhandle-fill-color-disabled",
- "--spectrum-colorhandle-focused-size",
- "--spectrum-colorhandle-hitarea-size",
"--spectrum-colorhandle-inner-border-color",
- "--spectrum-colorhandle-inner-border-width",
"--spectrum-colorhandle-outer-border-color",
- "--spectrum-colorhandle-outer-border-width",
- "--spectrum-colorhandle-size"
+ "--spectrum-colorhandle-outer-border-width"
],
"global": [
"--spectrum-animation-duration-100",
@@ -59,7 +49,6 @@
"system-theme": [],
"passthroughs": ["--mod-opacity-checkerboard-position"],
"high-contrast": [
- "--highcontrast-colorhandle-border-color",
"--highcontrast-colorhandle-border-color-disabled",
"--highcontrast-colorhandle-fill-color-disabled"
]
diff --git a/components/colorhandle/package.json b/components/colorhandle/package.json
index a68a5f24382..133a632a0c6 100644
--- a/components/colorhandle/package.json
+++ b/components/colorhandle/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/colorhandle",
- "version": "8.2.0",
+ "version": "9.0.0-s2-foundations.17",
"description": "The Spectrum CSS Color Handle component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,19 +21,21 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/colorloupe": ">=5",
- "@spectrum-css/opacitycheckerboard": ">=2",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/colorloupe": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/opacitycheckerboard": ">=3.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/colorloupe": {
diff --git a/components/colorhandle/stories/colorhandle.mdx b/components/colorhandle/stories/colorhandle.mdx
deleted file mode 100644
index 9555652e7cc..00000000000
--- a/components/colorhandle/stories/colorhandle.mdx
+++ /dev/null
@@ -1,51 +0,0 @@
-import {
- ArgTypes,
- Canvas,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-
-import * as ColorHandleStories from "./colorhandle.stories";
-
-
-
-
-
-
-
-
-
-## Standard
-
-Set the `--spectrum-picked-color` custom property to the color value you want to show.
-
-
-
-## Disabled
-
-
-
-## With color loupe
-
-Nest the color loupe component within the color handle markup and apply `.is-open` to the `.spectrum-ColorLoupe` to display the loupe.
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/colorhandle/stories/colorhandle.stories.js b/components/colorhandle/stories/colorhandle.stories.js
index cf7efb835fa..1201553a6ee 100644
--- a/components/colorhandle/stories/colorhandle.stories.js
+++ b/components/colorhandle/stories/colorhandle.stories.js
@@ -6,7 +6,7 @@ import { ColorHandleGroup } from "./colorhandle.test.js";
import { Template } from "./template.js";
/**
- * The color handle component is used with color area, color slider and color wheel as the color selector.
+ * The color handle component is used with [color area](/docs/components-color-area--docs), [color slider](/docs/components-color-slider--docs) and [color wheel](/docs/components-color-wheel--docs) as the color selector.
*/
export default {
title: "Color handle",
@@ -46,12 +46,18 @@ export default {
}
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=13065-162",
+ },
packageJson,
metadata,
},
- tags: ["!autodocs"],
};
+/**
+ * Set the `--spectrum-picked-color` custom property to the color value you want to show.
+ */
export const Default = ColorHandleGroup.bind({});
Default.args = {};
@@ -65,6 +71,9 @@ Disabled.parameters = {
chromatic: { disableSnapshot: true },
};
+/**
+ * Nest the [color loupe component](/docs/components-color-loupe--docs) within the color handle markup and apply `.is-open` to the `.spectrum-ColorLoupe` to display the loupe.
+ */
export const WithColorLoupe = Template.bind({});
WithColorLoupe.args = {
isWithColorLoupe: true,
@@ -73,6 +82,7 @@ WithColorLoupe.tags = ["!dev"];
WithColorLoupe.parameters = {
chromatic: { disableSnapshot: true },
};
+WithColorLoupe.storyName = "With color loupe";
// ********* VRT ONLY ********* //
export const WithForcedColors = ColorHandleGroup.bind({});
diff --git a/components/colorhandle/stories/template.js b/components/colorhandle/stories/template.js
index 12bb5cdb7dc..bc97938bbd8 100644
--- a/components/colorhandle/stories/template.js
+++ b/components/colorhandle/stories/template.js
@@ -5,6 +5,9 @@ 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-ColorHandle",
diff --git a/components/colorhandle/themes/express.css b/components/colorhandle/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/colorhandle/themes/express.css
+++ b/components/colorhandle/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/colorhandle/themes/spectrum-two.css b/components/colorhandle/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/colorhandle/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/colorhandle/themes/spectrum.css b/components/colorhandle/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/colorhandle/themes/spectrum.css
+++ b/components/colorhandle/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/colorloupe/CHANGELOG.md b/components/colorloupe/CHANGELOG.md
index f911d4dc104..e0ad8b83053 100644
--- a/components/colorloupe/CHANGELOG.md
+++ b/components/colorloupe/CHANGELOG.md
@@ -1,5 +1,210 @@
# Change Log
+## 6.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
@@ -12,6 +217,12 @@
- [#3272](https://github.com/adobe/spectrum-css/pull/3272) [`a354b16`](https://github.com/adobe/spectrum-css/commit/a354b166727fb34b17300bcd3a6118a00034e344) Thanks [@cdransf](https://github.com/cdransf)! - Disables lint violation and moves comment to stylelint-disable description.
+## 5.1.4
+
+### Patch Changes
+
+- [#3272](https://github.com/adobe/spectrum-css/pull/3272) [`a354b16`](https://github.com/adobe/spectrum-css/commit/a354b166727fb34b17300bcd3a6118a00034e344) Thanks [@cdransf](https://github.com/cdransf)! - Disables lint violation and moves comment to stylelint-disable description.
+
## 5.1.3
### Patch Changes
diff --git a/components/colorloupe/index.css b/components/colorloupe/index.css
index 019f406aace..8cbf831e8ce 100644
--- a/components/colorloupe/index.css
+++ b/components/colorloupe/index.css
@@ -11,49 +11,31 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-ColorLoupe {
- --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-x);
- --spectrum-colorloupe-drop-shadow-y: var(--spectrum-color-loupe-drop-shadow-y);
- --spectrum-colorloupe-drop-shadow-blur: var(--spectrum-color-loupe-drop-shadow-blur);
- --spectrum-colorloupe-drop-shadow-color: var(--spectrum-color-loupe-drop-shadow-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);
-}
-
-.spectrum-ColorLoupe {
- inline-size: var(--spectrum-colorloupe-width);
- block-size: var(--spectrum-colorloupe-height);
+ inline-size: var(--spectrum-color-loupe-width);
+ block-size: var(--spectrum-color-loupe-height);
position: absolute;
- transform: translate(0, var(--mod-colorloupe-animation-distance, var(--spectrum-colorloupe-animation-distance)));
+ transform: translate(0, var(--mod-colorloupe-animation-distance, 8px));
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-colorloupe-offset)));
- inset-inline-end: calc(50% - (var(--spectrum-colorloupe-width) / 2));
+ 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);
- transition:
- transform 100ms ease-in-out,
- opacity 125ms ease-in-out;
+ 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-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)));
+ 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))
+ );
&:dir(rtl) {
- inset-inline-end: calc(50% - (var(--spectrum-colorloupe-width) / 2) - 1px);
+ inset-inline-end: calc(50% - (var(--spectrum-color-loupe-width) / 2) - 1px);
}
&.is-open {
@@ -64,25 +46,25 @@
.spectrum-ColorLoupe-inner-border {
fill: var(--spectrum-picked-color);
- 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));
+ 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));
}
.spectrum-ColorLoupe-outer-border {
fill: none;
- 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);
+ 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);
}
/* 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-colorloupe-checkerboard-dark-color);
+ fill: var(--spectrum-opacity-checkerboard-square-dark);
}
.spectrum-ColorLoupe-checkerboard-background {
- fill: var(--spectrum-colorloupe-checkerboard-light-color);
+ fill: var(--spectrum-opacity-checkerboard-square-light);
}
.spectrum-ColorLoupe-checkerboard-fill {
diff --git a/components/colorloupe/metadata/metadata.json b/components/colorloupe/metadata/metadata.json
index 4b3ff629453..5ac7753ab33 100644
--- a/components/colorloupe/metadata/metadata.json
+++ b/components/colorloupe/metadata/metadata.json
@@ -34,21 +34,7 @@
"--spectrum-color-loupe-outer-border",
"--spectrum-color-loupe-outer-border-width",
"--spectrum-color-loupe-width",
- "--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"
+ "--spectrum-colorloupe-checkerboard-fill"
],
"global": [
"--spectrum-color-handle-outer-border-width",
diff --git a/components/colorloupe/package.json b/components/colorloupe/package.json
index 5873ba621c0..5f79e934786 100644
--- a/components/colorloupe/package.json
+++ b/components/colorloupe/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/colorloupe",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.16",
"description": "The Spectrum CSS Color Loupe component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/colorloupe/stories/colorloupe.mdx b/components/colorloupe/stories/colorloupe.mdx
deleted file mode 100644
index 034afcb7f35..00000000000
--- a/components/colorloupe/stories/colorloupe.mdx
+++ /dev/null
@@ -1,45 +0,0 @@
-import {
- ArgTypes,
- Canvas,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-
-import * as ColorLoupeStories from "./colorloupe.stories";
-
-
-
-
-
-
-
-
-
-## Usage notes
-
-- Set the `--spectrum-picked-color` custom property to the CSS color value you want to show
-- You must apply `.is-open` to display the loupe
-- Color Loupe does not have a disabled style; do not show it when the handle it's attached to is disabled.
-
-## Standard
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/colorloupe/stories/colorloupe.stories.js b/components/colorloupe/stories/colorloupe.stories.js
index aae0246b56e..a8e7245e9bf 100644
--- a/components/colorloupe/stories/colorloupe.stories.js
+++ b/components/colorloupe/stories/colorloupe.stories.js
@@ -6,6 +6,12 @@ import { ColorLoupeGroup } from "./colorloupe.test.js";
/**
* The color loupe component shows the output color that would otherwise be covered by a cursor, stylus, or finger during color selection.
+ *
+ * ## Usage notes
+ *
+ * - Set the `--spectrum-picked-color` custom property to the CSS color value you want to show.
+ * - Implementations must apply the `.is-open` class to display the loupe.
+ * - Color loupe does not have a disabled style. Do not show it when the handle it's attached to is disabled.
*/
export default {
title: "Color loupe",
diff --git a/components/colorloupe/stories/template.js b/components/colorloupe/stories/template.js
index 0205238614a..8f3a3989b48 100644
--- a/components/colorloupe/stories/template.js
+++ b/components/colorloupe/stories/template.js
@@ -3,6 +3,9 @@ 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-ColorLoupe",
@@ -11,7 +14,8 @@ export const Template = ({
customStyles = {},
customClasses = [],
selectedColor = "rgba(255, 0, 0, 0.5)",
-} = {}) => svg`
+} = {}) => {
+ return svg`
-`;
+ `;
+};
diff --git a/components/colorloupe/themes/express.css b/components/colorloupe/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/colorloupe/themes/express.css
+++ b/components/colorloupe/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/colorloupe/themes/spectrum-two.css b/components/colorloupe/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/colorloupe/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/colorloupe/themes/spectrum.css b/components/colorloupe/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/colorloupe/themes/spectrum.css
+++ b/components/colorloupe/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/colorslider/CHANGELOG.md b/components/colorslider/CHANGELOG.md
index 7106737fee3..a68255388f5 100644
--- a/components/colorslider/CHANGELOG.md
+++ b/components/colorslider/CHANGELOG.md
@@ -1,5 +1,259 @@
# Change Log
+## 7.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.16
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.17
+
+## 7.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.15
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.16
+
+## 7.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.14
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 7.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.13
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 7.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#3017](https://github.com/adobe/spectrum-css/pull/3017) [`2715979`](https://github.com/adobe/spectrum-css/commit/2715979ffef5eda39cf2701d0cccd18efd94136c) Thanks [@cdransf](https://github.com/cdransf)! - Move the color slider passthrough modifiers out of the theme to the base index.css.
+
+### Patch Changes
+
+- Updated dependencies [[`9dd8558`](https://github.com/adobe/spectrum-css/commit/9dd85581dff69b051a16a3b71054fa65334d106b)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.12
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.11
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 7.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.10
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 7.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.9
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 7.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.8
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 7.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.7
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 7.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.6
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.6
+
+## 7.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.5
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 7.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.4
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 7.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.3
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 7.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.2
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 7.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.1
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 7.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.0
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.0
+
## 6.2.0
### Minor Changes
@@ -24,6 +278,18 @@
- [#3284](https://github.com/adobe/spectrum-css/pull/3284) [`cc9afaa`](https://github.com/adobe/spectrum-css/commit/cc9afaaf4ac1aa9311028307c0a18c25d12c0193) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violations by removing unused custom properties.
+## 6.1.5
+
+### Patch Changes
+
+- [#3300](https://github.com/adobe/spectrum-css/pull/3300) [`89797d0`](https://github.com/adobe/spectrum-css/commit/89797d0324bcbf2195a28840ce87ed6959da24a5) Thanks [@castastrophe](https://github.com/castastrophe)! - Remove duplicate references
+
+## 6.1.4
+
+### Patch Changes
+
+- [#3284](https://github.com/adobe/spectrum-css/pull/3284) [`cc9afaa`](https://github.com/adobe/spectrum-css/commit/cc9afaaf4ac1aa9311028307c0a18c25d12c0193) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violations by removing unused custom properties.
+
## 6.1.3
### Patch Changes
diff --git a/components/colorslider/index.css b/components/colorslider/index.css
index b9ed2d5598c..5eb11668191 100644
--- a/components/colorslider/index.css
+++ b/components/colorslider/index.css
@@ -11,9 +11,9 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
- @media (forced-colors: active) {
+@media (forced-colors: active) {
.spectrum-ColorSlider {
--highcontrast-color-slider-border-color: CanvasText;
--highcontrast-color-slider-border-color-disabled: GrayText;
@@ -24,9 +24,9 @@
.spectrum-ColorSlider {
/* @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-rgba: rgba(var(--spectrum-gray-900-rgb), var(--spectrum-color-slider-border-opacity));
+ --spectrum-color-slider-border-color-default: rgba(var(--spectrum-gray-900-rgb), var(--spectrum-color-slider-border-opacity));
- /* Settings for nested Color handle */
+ /* @passthrough -- settings for nested color handle */
--mod-colorhandle-hitarea-border-radius: var(--mod-color-slider-handle-hitarea-border-radius, 0px);
position: relative;
@@ -74,7 +74,7 @@
}
.spectrum-ColorSlider-checkerboard {
- --spectrum-color-slider-border-color-local: var(--highcontrast-color-slider-border-color, var(--mod-color-slider-border-color, var(--spectrum-color-slider-border-color-rgba)));
+ --spectrum-color-slider-border-color-local: var(--highcontrast-color-slider-border-color, var(--mod-color-slider-border-color, var(--spectrum-color-slider-border-color-default)));
/* Inset border on top of background, created with box-shadow. */
&::before {
diff --git a/components/colorslider/metadata/metadata.json b/components/colorslider/metadata/metadata.json
index c28f43e96de..ea202a9f0a0 100644
--- a/components/colorslider/metadata/metadata.json
+++ b/components/colorslider/metadata/metadata.json
@@ -32,8 +32,8 @@
"--mod-color-slider-vertical-minimum-height"
],
"component": [
+ "--spectrum-color-slider-border-color-default",
"--spectrum-color-slider-border-color-local",
- "--spectrum-color-slider-border-color-rgba",
"--spectrum-color-slider-border-opacity",
"--spectrum-color-slider-border-rounding",
"--spectrum-color-slider-border-width",
diff --git a/components/colorslider/package.json b/components/colorslider/package.json
index 889c092b831..541a1441847 100644
--- a/components/colorslider/package.json
+++ b/components/colorslider/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/colorslider",
- "version": "6.2.0",
+ "version": "7.0.0-s2-foundations.17",
"description": "The Spectrum CSS Color slider component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,19 +21,21 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/colorhandle": ">=8",
- "@spectrum-css/opacitycheckerboard": ">=2",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/colorhandle": ">=9.0.0-s2-foundations.0",
+ "@spectrum-css/opacitycheckerboard": ">=3.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/colorhandle": "workspace:^",
diff --git a/components/colorslider/stories/colorslider.mdx b/components/colorslider/stories/colorslider.mdx
deleted file mode 100644
index 7e41a052594..00000000000
--- a/components/colorslider/stories/colorslider.mdx
+++ /dev/null
@@ -1,64 +0,0 @@
-import {
- ArgTypes,
- Canvas,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-
-import * as ColorSliderStories from "./colorslider.stories";
-
-
-
-
-
-
-
-
-
-## Usage notes
-
-- Set the color of the nested Color handle component to match Color slider’s currently selected color using its custom property: `--spectrum-picked-color`
-- The `.spectrum-ColorHandle` should be moved with `inset-inline-*` (horizontal) or `inset-block-*` (vertical) style properties as the slider is dragged
-- Ensure that you set the min and max attributes of the `.spectrum-ColorSlider-slider` input to the corresponding scale (i.e. 0 to 1 for a, 0 to 255 for r, etc)
-- Ensure that you set the step attribute of the `.spectrum-ColorSlider-slider` input appropriately (i.e. 0.1 for a, s, v or 1 and h, r, etc)
-- Set the background style property of `.spectrum-ColorSlider-gradient` to the gradient of the colors to be selected. The CSS will automatically reverse the gradient element horizontally when using a RTL (right-to-left) base direction
- - Alternatively, provide an ` ` element with the gradient you want to use and apply the `.spectrum-ColorSlider-gradient` class
-
-## Standard
-
-
-
-## Alpha
-
-
-
-## Disabled
-
-
-
-## Vertical
-
-
-
-## With image
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/colorslider/stories/colorslider.stories.js b/components/colorslider/stories/colorslider.stories.js
index 9a700339f4a..d6239332704 100644
--- a/components/colorslider/stories/colorslider.stories.js
+++ b/components/colorslider/stories/colorslider.stories.js
@@ -7,6 +7,12 @@ import { Template } from "./template.js";
/**
* The color slider component lets users visually change an individual channel of a color.
+ *
+ * ## Usage notes
+ * - Set the color of the nested [color handle component](/docs/components-color-handle--docs) to match the color slider’s currently selected color using its custom property, `--spectrum-picked-color`.
+- The `.spectrum-ColorHandle` should be moved with `inset-inline-*` (horizontal) or `inset-block-*` (vertical) style properties as the slider is dragged.
+ * - Ensure that the min and max attributes of the `.spectrum-ColorSlider-slider` input are set to the corresponding scale (i.e. 0 to 1 for a, 0 to 255 for r, etc.).
+ * - Ensure the step attribute of the `.spectrum-ColorSlider-slider` input is set appropriately (i.e. 0.1 for a, s, v or 1 and h, r, etc).
*/
export default {
title: "Color slider",
@@ -50,12 +56,18 @@ export default {
selectedColor: "rgba(255, 0, 0, 1)",
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=36740-137",
+ },
packageJson,
metadata,
},
- tags: ["!autodocs"],
};
+/**
+ * By default, a color slider is horizontal and should be used when vertical space is more limited. The background style property of `.spectrum-ColorSlider-gradient` can be set to the gradient of the colors to be selected. The CSS will automatically reverse the gradient element horizontally when using a RTL (right-to-left) base direction.
+ */
export const Default = ColorSliderGroup.bind({});
Default.args = {
gradientStops:
@@ -74,6 +86,9 @@ WithForcedColors.parameters = {
};
// ********* DOCS ONLY ********* //
+/**
+ * The vertical orientation is used when horizontal space is more limited.
+ */
export const Vertical = Template.bind({});
Vertical.args = {
vertical: true,
@@ -93,6 +108,9 @@ Alpha.parameters = {
chromatic: { disableSnapshot: true },
};
+/**
+ * Alternatively, implementations can provide an ` ` element with the gradient desired and apply the `.spectrum-ColorSlider-gradient` class.
+ */
export const WithImage = Template.bind({});
WithImage.args = {
gradientType: "image",
@@ -101,7 +119,7 @@ WithImage.args = {
"inset-inline-start": "50%",
},
};
-WithImage.storyName = "Image";
+WithImage.storyName = "With image";
WithImage.tags = ["!dev"];
WithImage.parameters = {
chromatic: { disableSnapshot: true },
diff --git a/components/colorslider/stories/template.js b/components/colorslider/stories/template.js
index 821f05c9839..b3bfb4bf4c5 100644
--- a/components/colorslider/stories/template.js
+++ b/components/colorslider/stories/template.js
@@ -6,6 +6,9 @@ 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-ColorSlider",
@@ -28,6 +31,7 @@ export const Template = ({
colorHandleStyle = {},
} = {}, context = {}) => {
const { updateArgs } = context;
+
return html`
+ *
+ * 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.
+ */
diff --git a/components/colorslider/themes/spectrum.css b/components/colorslider/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/colorslider/themes/spectrum.css
+++ b/components/colorslider/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/colorwheel/CHANGELOG.md b/components/colorwheel/CHANGELOG.md
index a9a9c3a50ea..788d9dd9d49 100644
--- a/components/colorwheel/CHANGELOG.md
+++ b/components/colorwheel/CHANGELOG.md
@@ -1,5 +1,265 @@
# Change Log
+## 5.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.17
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.16
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.16
+
+## 5.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.16
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.15
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.15
+
+## 5.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.15
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.14
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 5.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.14
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.13
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 5.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.12
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.12
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 5.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.11
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.11
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 5.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.10
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.10
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 5.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.9
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.9
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 5.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.8
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.8
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 5.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.7
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.7
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 5.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.6
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.6
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.6
+
+## 5.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.5
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.5
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 5.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.4
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.4
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 5.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.3
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.3
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 5.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.2
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.2
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 5.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.1
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.1
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 5.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/colorarea@6.0.0-s2-foundations.0
+ - @spectrum-css/colorhandle@9.0.0-s2-foundations.0
+ - @spectrum-css/colorloupe@6.0.0-s2-foundations.0
+
## 4.2.0
### Minor Changes
@@ -19,6 +279,16 @@
- [#3273](https://github.com/adobe/spectrum-css/pull/3273) [`c6205bb`](https://github.com/adobe/spectrum-css/commit/c6205bb247c9c56bb3d7cf8bd52c032fe3b9486f) Thanks [@cdransf](https://github.com/cdransf)! - Moves custom properties to resolve declaration order lint violation. Disable unused property violation and add comment as disable statement description.
+- Updated dependencies [[`055906c`](https://github.com/adobe/spectrum-css/commit/055906cddb04bdf34ac64125d95a63697b922760), [`a354b16`](https://github.com/adobe/spectrum-css/commit/a354b166727fb34b17300bcd3a6118a00034e344)]:
+ - @spectrum-css/colorhandle@8.1.4
+ - @spectrum-css/colorloupe@5.1.4
+
+## 4.1.4
+
+### Patch Changes
+
+- [#3273](https://github.com/adobe/spectrum-css/pull/3273) [`c6205bb`](https://github.com/adobe/spectrum-css/commit/c6205bb247c9c56bb3d7cf8bd52c032fe3b9486f) Thanks [@cdransf](https://github.com/cdransf)! - Moves custom properties to resolve declaration order lint violation. Disable unused property violation and add comment as disable statement description.
+
- Updated dependencies [[`055906c`](https://github.com/adobe/spectrum-css/commit/055906cddb04bdf34ac64125d95a63697b922760), [`a354b16`](https://github.com/adobe/spectrum-css/commit/a354b166727fb34b17300bcd3a6118a00034e344)]:
- @spectrum-css/colorhandle@8.1.4
- @spectrum-css/colorloupe@5.1.4
diff --git a/components/colorwheel/index.css b/components/colorwheel/index.css
index 6a69e250074..e44d21045f0 100644
--- a/components/colorwheel/index.css
+++ b/components/colorwheel/index.css
@@ -11,42 +11,36 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
-
-.spectrum-ColorWheel {
- --spectrum-colorwheel-width: var(--spectrum-color-wheel-width);
- --spectrum-colorwheel-min-width: var(--spectrum-color-wheel-minimum-width);
- --spectrum-colorwheel-height: var(--spectrum-color-wheel-width);
- --spectrum-colorwheel-border-color: var(--spectrum-transparent-black-200);
- --spectrum-colorwheel-border-width: var(--spectrum-border-width-100);
- --spectrum-colorwheel-fill-color-disabled: var(--spectrum-disabled-background-color);
- --spectrum-colorwheel-track-width: var(--spectrum-color-control-track-width);
- --spectrum-colorwheel-colorarea-margin: var(--spectrum-color-wheel-color-area-margin);
- --spectrum-colorwheel-colorhandle-position: calc((var(--spectrum-colorwheel-width) / 2) - (var(--spectrum-colorwheel-track-width) / 2));
-}
+@import "./themes/spectrum-two.css";
/* Windows High Contrast Mode */
@media (forced-colors: active) {
.spectrum-ColorWheel {
--highcontrast-colorwheel-border-color-disabled: GrayText;
--highcontrast-colorwheel-fill-color-disabled: Canvas;
- }
- .spectrum-ColorWheel {
forced-color-adjust: none;
}
}
.spectrum-ColorWheel {
- /* stylelint-disable spectrum-tools/no-unused-custom-properties, custom-property-pattern -- --track-width and --border-width to be used with JS in calculating the clip-path paths and colorarea-container-size */
- --track-width: var(--mod-colorwheel-track-width, var(--spectrum-colorwheel-track-width));
- --border-width: var(--mod-colorwheel-border-width, var(--spectrum-colorwheel-border-width));
+ --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(--mod-colorwheel-border-width, var(--spectrum-border-width-100));
+ --spectrum-colorwheel-track-width: var(--mod-colorwheel-track-width, var(--spectrum-color-control-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 */
+ --_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-colorwheel-min-width));
- inline-size: var(--mod-colorwheel-width, var(--spectrum-colorwheel-width));
- block-size: var(--mod-colorwheel-height, var(--spectrum-colorwheel-height));
+ 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);
user-select: none;
cursor: default;
@@ -82,7 +76,7 @@
display: flex;
align-items: center;
justify-content: center;
- margin: var(--mod-colorwheel-colorarea-margin, var(--spectrum-colorwheel-colorarea-margin));
+ margin: var(--mod-colorwheel-colorarea-margin, var(--spectrum-color-wheel-color-area-margin));
}
.spectrum-ColorWheel-slider {
@@ -98,7 +92,7 @@
}
.spectrum-ColorWheel-handle {
- transform: translate(var(--spectrum-colorwheel-colorhandle-position), 0);
+ transform: translate(calc(var(--spectrum-colorwheel-width) / 2 - var(--spectrum-colorwheel-track-width) / 2), 0);
inset-block-start: 50%;
inset-inline: 50%;
}
@@ -116,12 +110,12 @@
.spectrum-ColorWheel-border {
position: relative;
background-color: var(--mod-colorwheel-border-color, var(--spectrum-colorwheel-border-color));
- inline-size: var(--mod-colorwheel-width, var(--spectrum-colorwheel-width));
- block-size: var(--mod-colorwheel-height, var(--spectrum-colorwheel-height));
+ 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(--mod-colorwheel-fill-color-disabled, var(--spectrum-colorwheel-fill-color-disabled)));
+ background-color: var(--highcontrast-colorwheel-border-color-disabled, var(--spectrum-colorwheel-fill-color-disabled));
}
}
@@ -134,6 +128,6 @@
&.is-disabled {
pointer-events: none;
- background: var(--highcontrast-colorwheel-fill-color-disabled, var(--mod-colorwheel-fill-color-disabled, var(--spectrum-colorwheel-fill-color-disabled)));
+ background: var(--highcontrast-colorwheel-fill-color-disabled, var(--spectrum-colorwheel-fill-color-disabled));
}
}
diff --git a/components/colorwheel/metadata/metadata.json b/components/colorwheel/metadata/metadata.json
index 1be9fe86c07..c321e1aca27 100644
--- a/components/colorwheel/metadata/metadata.json
+++ b/components/colorwheel/metadata/metadata.json
@@ -37,11 +37,8 @@
"--spectrum-colorwheel-border-color",
"--spectrum-colorwheel-border-width",
"--spectrum-colorwheel-colorarea-container-size",
- "--spectrum-colorwheel-colorarea-margin",
- "--spectrum-colorwheel-colorhandle-position",
"--spectrum-colorwheel-fill-color-disabled",
"--spectrum-colorwheel-height",
- "--spectrum-colorwheel-min-width",
"--spectrum-colorwheel-path",
"--spectrum-colorwheel-path-borders",
"--spectrum-colorwheel-track-width",
@@ -51,9 +48,9 @@
"--spectrum-border-width-100",
"--spectrum-color-control-track-width",
"--spectrum-disabled-background-color",
- "--spectrum-transparent-black-200"
+ "--spectrum-transparent-black-300"
],
- "system-theme": [],
+ "system-theme": ["--system-color-wheel-border-color"],
"passthroughs": [],
"high-contrast": [
"--highcontrast-colorwheel-border-color-disabled",
diff --git a/components/colorwheel/package.json b/components/colorwheel/package.json
index 71e4df7db54..b8b5496ad1f 100644
--- a/components/colorwheel/package.json
+++ b/components/colorwheel/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/colorwheel",
- "version": "4.2.0",
+ "version": "5.0.0-s2-foundations.16",
"description": "The Spectrum CSS Color Area component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,20 +21,22 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/colorarea": ">=5",
- "@spectrum-css/colorhandle": ">=8",
- "@spectrum-css/colorloupe": ">=5",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/colorarea": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/colorhandle": ">=9.0.0-s2-foundations.0",
+ "@spectrum-css/colorloupe": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/colorarea": {
diff --git a/components/colorwheel/stories/colorwheel.mdx b/components/colorwheel/stories/colorwheel.mdx
deleted file mode 100644
index 3a850b48f31..00000000000
--- a/components/colorwheel/stories/colorwheel.mdx
+++ /dev/null
@@ -1,59 +0,0 @@
-import {
- ArgTypes,
- Canvas,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-
-import * as ColorWheelStories from "./colorwheel.stories";
-
-
-
-
-
-
-
-
-
-## Usage notes:
-
-- For a given rotation on the wheel, X, the `.spectrum-ColorHandle` should be moved by applying the style property `transform: translate(${Y * Math.cos(X)}px, ${Y * Math.sin(X)}px)`, where Y is `((radius - .spectrum-colorwheel-track-width) / 2))`
-- Set the value attribute of `.spectrum-ColorWheel-value` to the currently selected color (i.e. `hsl(326, 100%, 50%)`)
-- Add `.is-dragged` when the handle is being dragged
-
-## Standard
-
-
-
-## Disabled
-
-
-
-## With color area
-
-Usage notes:
-
-- To display with ColorArea inside of ColorWheel, add ColorArea to `.spectrum-ColorWheel-colorarea-container` with `style="--mod-colorarea-width: 70.1%; --mod-colorarea-height: 70.1%"`
-- `.spectrum-colorwheel-colorarea-container-size` is hard coded to position the ColorArea within the ColorWheel using `.spectrum-color-wheel-color-area-margin`. Using JS container size can be calcaulted with `Math.sqrt(2 * R * R)`, where R is the `innerRadius` as calcaulted 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 in custom CSS variables so they can be accessed with JS to and used to calculate these values, `const wheel = document.querySelector(".spectrum-ColorWheel-wheel") getComputedStyle(wheel).getPropertyValue('--track-width'))`
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/colorwheel/stories/colorwheel.stories.js b/components/colorwheel/stories/colorwheel.stories.js
index fad4aa97461..80276fb0065 100644
--- a/components/colorwheel/stories/colorwheel.stories.js
+++ b/components/colorwheel/stories/colorwheel.stories.js
@@ -7,6 +7,11 @@ import { Template } from "./template.js";
/**
* The color wheel component lets users visually change an individual channel of a color on a circular track.
+ *
+ * ## Usage notes
+ * - For a given rotation on the wheel, X, the `.spectrum-ColorHandle` should be moved by applying the style property `transform: translate(${Y * Math.cos(X)}px, ${Y * Math.sin(X)}px)`, where Y is `((radius - .spectrum-colorwheel-track-width) / 2))`.
+ * - Set the value attribute of `.spectrum-ColorWheel-value` to the currently selected color (i.e. `hsl(326, 100%, 50%)`).
+ * - Add `.is-dragged` when the handle is being dragged.
*/
export default {
title: "Color wheel",
@@ -42,10 +47,13 @@ export default {
selectedColor: "rgba(255, 0, 0, 50%)",
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=20606-73",
+ },
packageJson,
metadata,
},
- tags: ["!autodocs"],
};
export const Default = ColorWheelGroup.bind({});
@@ -61,6 +69,19 @@ Disabled.parameters = {
chromatic: { disableSnapshot: true },
};
+/**
+ * The color wheel is often used together with the [color area component](/docs/components-color-area--docs) for color selection. When placing the color area inside the color wheel, make sure to leave enough of a margin between the two components to ensure there’s enough space for the both handles.
+ *
+ * To display a color area inside of the color wheel, add a color area component to `.spectrum-ColorWheel-colorarea-container` element and define the custom width and height styles with `--mod-colorarea-width` and `--mod-colorarea-height` variables.
+ *
+ * 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:
+ * ```
+ * const wheel = document.querySelector(".spectrum-ColorWheel-wheel")
+ * getComputedStyle(wheel).getPropertyValue('--track-width')
+ * ```
+ * */
export const WithColorArea = Template.bind({});
WithColorArea.tags = ["!dev"];
WithColorArea.args = {
@@ -69,6 +90,7 @@ WithColorArea.args = {
WithColorArea.parameters = {
chromatic: { disableSnapshot: true },
};
+WithColorArea.storyName = "With color area";
// ********* VRT ONLY ********* //
export const WithForcedColors = ColorWheelGroup.bind({});
diff --git a/components/colorwheel/stories/template.js b/components/colorwheel/stories/template.js
index 1d02f5e7823..851150ffd37 100644
--- a/components/colorwheel/stories/template.js
+++ b/components/colorwheel/stories/template.js
@@ -5,6 +5,9 @@ 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-ColorWheel",
diff --git a/components/colorwheel/themes/express.css b/components/colorwheel/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/colorwheel/themes/express.css
+++ b/components/colorwheel/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/colorwheel/themes/spectrum-two.css b/components/colorwheel/themes/spectrum-two.css
new file mode 100644
index 00000000000..984c1fb5a18
--- /dev/null
+++ b/components/colorwheel/themes/spectrum-two.css
@@ -0,0 +1,18 @@
+/*!
+ * 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
index 3b48a570c21..9c47a280a66 100644
--- a/components/colorwheel/themes/spectrum.css
+++ b/components/colorwheel/themes/spectrum.css
@@ -10,3 +10,13 @@
* 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 5fa87319865..f36b311788a 100644
--- a/components/combobox/CHANGELOG.md
+++ b/components/combobox/CHANGELOG.md
@@ -1,5 +1,364 @@
# Change Log
+## 4.0.0-s2-foundations.21
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`79f2ae5`](https://github.com/adobe/spectrum-css/commit/79f2ae585464b2eca63232b37017bd1f96a7d970) Thanks [@pfulton](https://github.com/pfulton)! - Bug fix to retain border color values in S1 for combobox [SWC-582]
+
+- Updated dependencies [[`79f2ae5`](https://github.com/adobe/spectrum-css/commit/79f2ae585464b2eca63232b37017bd1f96a7d970)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.31
+
+## 4.0.0-s2-foundations.20
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`513256c`](https://github.com/adobe/spectrum-css/commit/513256c7c7587ac6a3741a819a41ab321d1cd965) Thanks [@pfulton](https://github.com/pfulton)! - Update border and background color values for Combobox states [SWC-582]
+
+### Patch Changes
+
+- Updated dependencies [[`da9a90a`](https://github.com/adobe/spectrum-css/commit/da9a90adb1b46abc7f3078d2b7cfcf84f7a41026), [`513256c`](https://github.com/adobe/spectrum-css/commit/513256c7c7587ac6a3741a819a41ab321d1cd965)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.30
+
+## 4.0.0-s2-foundations.19
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.16
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.17
+ - @spectrum-css/textfield@8.0.0-s2-foundations.17
+ - @spectrum-css/popover@8.0.0-s2-foundations.17
+ - @spectrum-css/menu@8.0.0-s2-foundations.17
+
+## 4.0.0-s2-foundations.18
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.15
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.16
+ - @spectrum-css/textfield@8.0.0-s2-foundations.16
+ - @spectrum-css/popover@8.0.0-s2-foundations.16
+ - @spectrum-css/menu@8.0.0-s2-foundations.15
+
+## 4.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.14
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.15
+ - @spectrum-css/textfield@8.0.0-s2-foundations.15
+ - @spectrum-css/popover@8.0.0-s2-foundations.15
+ - @spectrum-css/menu@8.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 4.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4e80ae6`](https://github.com/adobe/spectrum-css/commit/4e80ae67ddda329a5ed556b57426623c6f0f13f0) Thanks [@pfulton](https://github.com/pfulton)! - ActionButton:
+
+ - Correct --spectrum-actionbutton-background-color-selected-disabled to be --spectrum-actionbutton-(background|border)-color-disabled-selected
+
+ Combobox:
+
+ - Move --spectrum-combobox-min-inline-size and --spectrum-combobox-button-width to the index.css
+
+ FieldGroup:
+
+ - Swap gap back to margin-inline-end on FieldGroup
+
+ Typography:
+
+ - Remap body size to xs if xxs provided
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9ae725f`](https://github.com/adobe/spectrum-css/commit/9ae725f10ebbb78b62070c4c477cb41cfc1b1ed6) Thanks [@pfulton](https://github.com/pfulton)! - Combobox moved the quiet min-inline-size property to index.css from theme to pick up the t-shirt sizing for the calc.
+
+ Typography increases specificity for the t-shirt sizing.
+
+ Stepper fixes for the disabled + hovered states as well as regressions fixed for the quiet variant.
+
+## 4.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.13
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.14
+ - @spectrum-css/textfield@8.0.0-s2-foundations.14
+ - @spectrum-css/popover@8.0.0-s2-foundations.14
+ - @spectrum-css/menu@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 4.0.0-s2-foundations.14
+
+### Minor Changes
+
+- [#3036](https://github.com/adobe/spectrum-css/pull/3036) [`96686a5`](https://github.com/adobe/spectrum-css/commit/96686a56e2532bc747985b40686783ddd9b98221) Thanks [@rise-erpelding](https://github.com/rise-erpelding)! - [CSS-890]: adjusts --mods to be applied inside of index.css
+
+### Patch Changes
+
+- Updated dependencies [[`96686a5`](https://github.com/adobe/spectrum-css/commit/96686a56e2532bc747985b40686783ddd9b98221)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.18
+
+## 4.0.0-s2-foundations.13
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a0d6de4`](https://github.com/adobe/spectrum-css/commit/a0d6de45845c9158ca30da1a34e30461a9d0af31) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-240] Quiet combobox picker button should have transparent borders
+
+## 4.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.12
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.12
+ - @spectrum-css/textfield@8.0.0-s2-foundations.12
+ - @spectrum-css/popover@8.0.0-s2-foundations.12
+ - @spectrum-css/menu@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 4.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.11
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.11
+ - @spectrum-css/textfield@8.0.0-s2-foundations.11
+ - @spectrum-css/popover@8.0.0-s2-foundations.11
+ - @spectrum-css/menu@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 4.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.10
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.10
+ - @spectrum-css/textfield@8.0.0-s2-foundations.10
+ - @spectrum-css/popover@8.0.0-s2-foundations.10
+ - @spectrum-css/menu@8.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 4.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`da47fa2`](https://github.com/adobe/spectrum-css/commit/da47fa2cb18373e74a6718775f2db90bb25868d4), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.9
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.9
+ - @spectrum-css/textfield@8.0.0-s2-foundations.9
+ - @spectrum-css/popover@8.0.0-s2-foundations.9
+ - @spectrum-css/menu@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 4.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.8
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.8
+ - @spectrum-css/textfield@8.0.0-s2-foundations.8
+ - @spectrum-css/popover@8.0.0-s2-foundations.8
+ - @spectrum-css/menu@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 4.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.7
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.7
+ - @spectrum-css/textfield@8.0.0-s2-foundations.7
+ - @spectrum-css/popover@8.0.0-s2-foundations.7
+ - @spectrum-css/menu@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 4.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.6
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.6
+ - @spectrum-css/textfield@8.0.0-s2-foundations.6
+ - @spectrum-css/popover@8.0.0-s2-foundations.6
+ - @spectrum-css/menu@8.0.0-s2-foundations.6
+
+## 4.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.5
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.5
+ - @spectrum-css/textfield@8.0.0-s2-foundations.5
+ - @spectrum-css/popover@8.0.0-s2-foundations.5
+ - @spectrum-css/menu@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 4.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.4
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.4
+ - @spectrum-css/textfield@8.0.0-s2-foundations.4
+ - @spectrum-css/popover@8.0.0-s2-foundations.4
+ - @spectrum-css/menu@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 4.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.3
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.3
+ - @spectrum-css/textfield@8.0.0-s2-foundations.3
+ - @spectrum-css/popover@8.0.0-s2-foundations.3
+ - @spectrum-css/menu@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 4.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.2
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.2
+ - @spectrum-css/textfield@8.0.0-s2-foundations.2
+ - @spectrum-css/popover@8.0.0-s2-foundations.2
+ - @spectrum-css/menu@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 4.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.1
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.1
+ - @spectrum-css/textfield@8.0.0-s2-foundations.1
+ - @spectrum-css/popover@8.0.0-s2-foundations.1
+ - @spectrum-css/menu@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 4.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.0
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.0
+ - @spectrum-css/textfield@8.0.0-s2-foundations.0
+ - @spectrum-css/popover@8.0.0-s2-foundations.0
+ - @spectrum-css/menu@8.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 3.3.0
### Minor Changes
diff --git a/components/combobox/index.css b/components/combobox/index.css
index 4a7c2ae3906..d745e9a71a1 100644
--- a/components/combobox/index.css
+++ b/components/combobox/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Combobox {
--spectrum-combobox-inline-size: var(--spectrum-field-width);
@@ -54,7 +54,7 @@
--mod-textfield-focus-indicator-color: var(--mod-combobox-focus-indicator-color, var(--spectrum-combobox-focus-indicator-color));
--mod-textfield-background-color: var(--mod-combobox-background-color-default);
- --mod-textfield-background-color-disabled: var(--mod-combobox-background-color-disabled);
+ --mod-textfield-background-color-disabled: var(--mod-combobox-background-color-disabled, var(--spectrum-combobox-background-color-disabled));
--mod-textfield-font-family: var(--mod-combobox-font-family);
--mod-textfield-font-weight: var(--mod-combobox-font-weight);
@@ -100,21 +100,7 @@
--spectrum-combobox-border-color-disabled: var(--spectrum-disabled-border-color);
}
-.spectrum-Combobox--sizeS {
- --spectrum-combobox-block-size: var(--spectrum-component-height-75);
- --spectrum-combobox-icon-size: var(--spectrum-workflow-icon-size-75);
- --spectrum-combobox-font-size: var(--spectrum-font-size-75);
-
- --spectrum-combobox-spacing-inline-icon-to-button: var(--spectrum-combo-box-visual-to-field-button-small);
- --spectrum-combobox-block-spacing-edge-to-progress-circle: var(--spectrum-field-top-to-progress-circle-small);
- --spectrum-combobox-block-spacing-edge-to-alert: var(--spectrum-field-top-to-alert-icon-small);
- --spectrum-combobox-spacing-edge-to-menu: var(--spectrum-component-to-menu-small);
- --spectrum-combobox-spacing-block-start-edge-to-text: var(--spectrum-component-top-to-text-75);
- --spectrum-combobox-spacing-block-end-edge-to-text: var(--spectrum-component-bottom-to-text-75);
- --spectrum-combobox-spacing-inline-start-edge-to-text: var(--spectrum-component-edge-to-text-75);
- --spectrum-combobox-spacing-inline-end-edge-to-text: var(--spectrum-component-edge-to-text-75);
-}
-
+.spectrum-Combobox,
.spectrum-Combobox--sizeM {
--spectrum-combobox-block-size: var(--spectrum-component-height-100);
--spectrum-combobox-icon-size: var(--spectrum-workflow-icon-size-100);
@@ -130,6 +116,21 @@
--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);
+ --spectrum-combobox-font-size: var(--spectrum-font-size-75);
+
+ --spectrum-combobox-spacing-inline-icon-to-button: var(--spectrum-combo-box-visual-to-field-button-small);
+ --spectrum-combobox-block-spacing-edge-to-progress-circle: var(--spectrum-field-top-to-progress-circle-small);
+ --spectrum-combobox-block-spacing-edge-to-alert: var(--spectrum-field-top-to-alert-icon-small);
+ --spectrum-combobox-spacing-edge-to-menu: var(--spectrum-component-to-menu-small);
+ --spectrum-combobox-spacing-block-start-edge-to-text: var(--spectrum-component-top-to-text-75);
+ --spectrum-combobox-spacing-block-end-edge-to-text: var(--spectrum-component-bottom-to-text-75);
+ --spectrum-combobox-spacing-inline-start-edge-to-text: var(--spectrum-component-edge-to-text-75);
+ --spectrum-combobox-spacing-inline-end-edge-to-text: var(--spectrum-component-edge-to-text-75);
+}
+
.spectrum-Combobox--sizeL {
--spectrum-combobox-block-size: var(--spectrum-component-height-200);
--spectrum-combobox-icon-size: var(--spectrum-workflow-icon-size-200);
@@ -369,16 +370,19 @@
/* Focus */
.spectrum-Combobox-textfield.is-focused &,
&:focus {
+ --mod-combobox-border-color-default: var(--spectrum-combobox-border-color-focus);
--mod-textfield-background-color: var(--mod-combobox-background-color-focus);
/* Focus + Hover */
&:hover {
+ --mod-combobox-border-color-default: var(--spectrum-combobox-border-color-focus-hover);
--mod-textfield-background-color: var(--mod-combobox-background-color-focus-hover);
}
}
/* Keyboard Focus */
.spectrum-Combobox-textfield.is-keyboardFocused & {
+ --mod-combobox-border-color-default: var(--spectrum-combobox-border-color-key-focus);
--mod-textfield-background-color: var(--mod-combobox-background-color-key-focus);
}
diff --git a/components/combobox/metadata/metadata.json b/components/combobox/metadata/metadata.json
index 1d540154453..97b38d5f400 100644
--- a/components/combobox/metadata/metadata.json
+++ b/components/combobox/metadata/metadata.json
@@ -142,6 +142,7 @@
"--spectrum-combo-box-visual-to-field-button-medium",
"--spectrum-combo-box-visual-to-field-button-quiet",
"--spectrum-combo-box-visual-to-field-button-small",
+ "--spectrum-combobox-background-color-disabled",
"--spectrum-combobox-block-size",
"--spectrum-combobox-block-spacing-edge-to-alert",
"--spectrum-combobox-block-spacing-edge-to-progress-circle",
@@ -231,7 +232,7 @@
"--spectrum-font-size-200",
"--spectrum-font-size-300",
"--spectrum-font-size-75",
- "--spectrum-gray-400",
+ "--spectrum-gray-25",
"--spectrum-gray-50",
"--spectrum-gray-500",
"--spectrum-gray-600",
@@ -249,11 +250,12 @@
"--spectrum-workflow-icon-size-75"
],
"system-theme": [
- "--system-spectrum-combobox-border-color-default",
- "--system-spectrum-combobox-border-color-focus",
- "--system-spectrum-combobox-border-color-focus-hover",
- "--system-spectrum-combobox-border-color-hover",
- "--system-spectrum-combobox-border-color-key-focus"
+ "--system-combobox-background-color-disabled",
+ "--system-combobox-border-color-default",
+ "--system-combobox-border-color-focus",
+ "--system-combobox-border-color-focus-hover",
+ "--system-combobox-border-color-hover",
+ "--system-combobox-border-color-key-focus"
],
"passthroughs": [
"--mod-picker-button-background-color",
diff --git a/components/combobox/package.json b/components/combobox/package.json
index f49c3be06d2..54050f10d33 100644
--- a/components/combobox/package.json
+++ b/components/combobox/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/combobox",
- "version": "3.3.0",
+ "version": "4.0.0-s2-foundations.21",
"description": "The Spectrum CSS combobox component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,22 +21,24 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/menu": ">=7",
- "@spectrum-css/pickerbutton": ">=5",
- "@spectrum-css/popover": ">=7",
- "@spectrum-css/progresscircle": ">=3",
- "@spectrum-css/textfield": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/pickerbutton": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/progresscircle": ">=4.0.0-s2-foundations.0",
+ "@spectrum-css/textfield": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/progresscircle": {
diff --git a/components/combobox/stories/combobox.stories.js b/components/combobox/stories/combobox.stories.js
index 11e8123be01..73bafe45e9d 100644
--- a/components/combobox/stories/combobox.stories.js
+++ b/components/combobox/stories/combobox.stories.js
@@ -137,6 +137,10 @@ export default {
],
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=727-2550",
+ },
packageJson,
metadata,
},
diff --git a/components/combobox/stories/template.js b/components/combobox/stories/template.js
index 58550951fb0..cee730595a4 100644
--- a/components/combobox/stories/template.js
+++ b/components/combobox/stories/template.js
@@ -10,6 +10,9 @@ 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",
diff --git a/components/combobox/themes/express.css b/components/combobox/themes/express.css
index 96606718a8c..4b554c207db 100644
--- a/components/combobox/themes/express.css
+++ b/components/combobox/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-Combobox {
--spectrum-combobox-border-color-default: var(--spectrum-gray-400);
--spectrum-combobox-border-color-hover: var(--spectrum-gray-500);
diff --git a/components/combobox/themes/spectrum-two.css b/components/combobox/themes/spectrum-two.css
new file mode 100644
index 00000000000..2e6ae242055
--- /dev/null
+++ b/components/combobox/themes/spectrum-two.css
@@ -0,0 +1,24 @@
+/*!
+ * 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-background-color-disabled: var(--spectrum-gray-25);
+ }
+}
diff --git a/components/combobox/themes/spectrum.css b/components/combobox/themes/spectrum.css
index 31c5e848d42..4e5bd9ece62 100644
--- a/components/combobox/themes/spectrum.css
+++ b/components/combobox/themes/spectrum.css
@@ -11,12 +11,16 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
+/* @combine .spectrum.spectrum--legacy */
+
+@import "./spectrum-two.css";
+
+@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-500);
--spectrum-combobox-border-color-focus-hover: var(--spectrum-gray-600);
--spectrum-combobox-border-color-key-focus: var(--spectrum-gray-600);
+
+ --spectrum-combobox-background-color-disabled: var(--spectrum-disabled-background-color);
}
}
diff --git a/components/commons/CHANGELOG.md b/components/commons/CHANGELOG.md
index a1221c1b9b1..7726ef23a9b 100644
--- a/components/commons/CHANGELOG.md
+++ b/components/commons/CHANGELOG.md
@@ -1,5 +1,178 @@
# Change Log
+## 11.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 11.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 11.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 11.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 11.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 11.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 11.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 11.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 11.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 11.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 11.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 11.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 11.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 11.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 11.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 11.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 10.1.0
### Minor Changes
diff --git a/components/commons/basebutton.css b/components/commons/basebutton.css
index 4d16c2fac24..3d64ab574e0 100644
--- a/components/commons/basebutton.css
+++ b/components/commons/basebutton.css
@@ -32,6 +32,11 @@
/* @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)));
+ -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)));
text-decoration: none;
@@ -53,10 +58,7 @@
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;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-
- /* Remove the inner border and padding in Firefox (normalize). */
+ /* Fix Firefox */
&::-moz-focus-inner {
border-style: none;
padding: 0;
@@ -89,13 +91,11 @@
display: block;
- /* @deprecation --mod-focus-indicator-gap has been renamed and will be removed in a future version. */
- margin: calc(var(--mod-button-focus-indicator-gap, var(--mod-focus-indicator-gap, var(--spectrum-focus-indicator-gap))) * -1);
+ margin: calc(-1 * var(--mod-button-focus-indicator-gap, var(--spectrum-focus-indicator-gap)));
- /* @deprecation --mod-animation-duration-100 has been renamed and will be removed in a future version. */
transition:
- opacity var(--mod-button-animation-duration, var(--mod-button-animation-duration, var(--mod-animation-duration-100, var(--spectrum-animation-duration-100)))) ease-out,
- margin var(--mod-button-animation-duration, var(--mod-button-animation-duration, var(--mod-animation-duration-100, var(--spectrum-animation-duration-100)))) ease-out;
+ 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;
}
&:focus-visible::after {
diff --git a/components/commons/overlay.css b/components/commons/overlay.css
index c3a57da85dd..fc40b564b05 100644
--- a/components/commons/overlay.css
+++ b/components/commons/overlay.css
@@ -13,7 +13,7 @@
/* TODO: replace legacy animation variables with core tokens when available */
-/** @note used in modal, popover, quickaction, tooltip, underlay */
+/** @note used in modal, tooltip, underlay */
%spectrum-overlay {
pointer-events: none;
visibility: hidden;
@@ -24,30 +24,10 @@
visibility 0ms linear var(--mod-overlay-animation-duration, var(--spectrum-animation-duration-100, 130ms));
}
-/** @note used in modal, popover, quickaction, tooltip, underlay */
+/** @note used in modal, tooltip, underlay */
%spectrum-overlay--open {
pointer-events: auto;
visibility: visible;
opacity: 1;
transition-delay: var(--mod-overlay-animation-duration-opened, var(--spectrum-animation-duration-0, 0ms));
}
-
-/** @note currently unused */
-%spectrum-overlay--bottom--open {
- transform: translateY(var(--mod-overlay-animation-distance, var(--spectrum-overlay-animation-distance, 6px)));
-}
-
-/** @note currently unused */
-%spectrum-overlay--top--open {
- transform: translateY(calc(-1 * var(--mod-overlay-animation-distance, var(--spectrum-overlay-animation-distance, 6px))));
-}
-
-/** @note used in quickaction */
-%spectrum-overlay--right--open {
- transform: translateX(var(--mod-overlay-animation-distance, var(--spectrum-overlay-animation-distance, 6px)));
-}
-
-/** @note used in quickaction */
-%spectrum-overlay--left--open {
- transform: translateX(calc(-1 * var(--mod-overlay-animation-distance, var(--spectrum-overlay-animation-distance, 6px))));
-}
diff --git a/components/commons/package.json b/components/commons/package.json
index 2e480bf4bb2..a5a44debd08 100644
--- a/components/commons/package.json
+++ b/components/commons/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/commons",
- "version": "10.1.0",
+ "version": "11.0.0-s2-foundations.15",
"description": "Common mixins for Spectrum CSS components",
"license": "Apache-2.0",
"author": "Adobe",
@@ -13,9 +13,17 @@
"bugs": {
"url": "https://github.com/adobe/spectrum-css/issues"
},
+ "exports": {
+ ".": "./index.css",
+ "./*.css": "./*.css",
+ "./CHANGELOG.md": "./CHANGELOG.md",
+ "./README.md": "./README.md",
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
+ },
"main": "index.css",
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/contextualhelp/CHANGELOG.md b/components/contextualhelp/CHANGELOG.md
index 81f65ec8e02..9356af4bab8 100644
--- a/components/contextualhelp/CHANGELOG.md
+++ b/components/contextualhelp/CHANGELOG.md
@@ -1,5 +1,276 @@
# Change Log
+## 4.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.24
+ - @spectrum-css/popover@8.0.0-s2-foundations.17
+ - @spectrum-css/link@6.0.0-s2-foundations.16
+
+## 4.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`1da2494`](https://github.com/adobe/spectrum-css/commit/1da249479a0014287a6124dc0f900ee99ab6b946) Thanks [@pfulton](https://github.com/pfulton)! - added contextual-help-content-spacing custom property definition
+
+### Patch Changes
+
+- Updated dependencies [[`1da2494`](https://github.com/adobe/spectrum-css/commit/1da249479a0014287a6124dc0f900ee99ab6b946)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.23
+
+## 4.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.21
+ - @spectrum-css/popover@8.0.0-s2-foundations.16
+ - @spectrum-css/link@6.0.0-s2-foundations.15
+
+## 4.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.20
+ - @spectrum-css/popover@8.0.0-s2-foundations.15
+ - @spectrum-css/link@6.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 4.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.18
+ - @spectrum-css/popover@8.0.0-s2-foundations.14
+ - @spectrum-css/link@6.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 4.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.13
+ - @spectrum-css/popover@8.0.0-s2-foundations.12
+ - @spectrum-css/link@6.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 4.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.12
+ - @spectrum-css/popover@8.0.0-s2-foundations.11
+ - @spectrum-css/link@6.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 4.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.10
+ - @spectrum-css/popover@8.0.0-s2-foundations.10
+ - @spectrum-css/link@6.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 4.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.9
+ - @spectrum-css/popover@8.0.0-s2-foundations.9
+ - @spectrum-css/link@6.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 4.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.8
+ - @spectrum-css/popover@8.0.0-s2-foundations.8
+ - @spectrum-css/link@6.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 4.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.7
+ - @spectrum-css/popover@8.0.0-s2-foundations.7
+ - @spectrum-css/link@6.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 4.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.6
+ - @spectrum-css/popover@8.0.0-s2-foundations.6
+ - @spectrum-css/link@6.0.0-s2-foundations.6
+
+## 4.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.5
+ - @spectrum-css/popover@8.0.0-s2-foundations.5
+ - @spectrum-css/link@6.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 4.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.4
+ - @spectrum-css/popover@8.0.0-s2-foundations.4
+ - @spectrum-css/link@6.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 4.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.3
+ - @spectrum-css/popover@8.0.0-s2-foundations.3
+ - @spectrum-css/link@6.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 4.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.2
+ - @spectrum-css/popover@8.0.0-s2-foundations.2
+ - @spectrum-css/link@6.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 4.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.1
+ - @spectrum-css/popover@8.0.0-s2-foundations.1
+ - @spectrum-css/link@6.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 4.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.0
+ - @spectrum-css/popover@8.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/link@6.0.0-s2-foundations.0
+
## 3.3.0
### Minor Changes
@@ -21,6 +292,17 @@
### Patch Changes
+- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
+ - @spectrum-css/tokens@14.5.0
+
+## 3.2.0
+
+### Minor Changes
+
+- [#3253](https://github.com/adobe/spectrum-css/pull/3253) [`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86) Thanks [@castastrophe](https://github.com/castastrophe)! - This update removes tokens defined locally that belonged in the global scope. To ensure no regressions, please upgrade your @spectrum-css/tokens package at the same time so you will pick up the component-level definitions now in the global tokens scope. References to `.spectrum--(light|dark|darkest|medium|large)` have been removed.
+
+### Patch Changes
+
- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
- @spectrum-css/tokens@14.5.0
diff --git a/components/contextualhelp/index.css b/components/contextualhelp/index.css
index 21cdfa4c8be..27f7f99a0c6 100644
--- a/components/contextualhelp/index.css
+++ b/components/contextualhelp/index.css
@@ -11,18 +11,9 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-ContextualHelp {
- /* Layout Variables */
- --spectrum-contextual-help-padding: var(--spectrum-spacing-400);
- --spectrum-contextual-help-link-spacing: var(--spectrum-spacing-300);
-
- /* Typography Variables */
- --spectrum-contextual-help-heading-size: var(--spectrum-contextual-help-title-size);
- --spectrum-contextual-help-heading-color: var(--spectrum-heading-color);
- --spectrum-contextual-help-body-color: var(--spectrum-body-color);
-
position: relative;
min-inline-size: var(--mod-spectrum-contextual-help-minimum-width, var(--spectrum-contextual-help-minimum-width));
}
@@ -32,10 +23,10 @@
}
.spectrum-ContextualHelp-popover {
- padding-block: var(--mod-spectrum-contextual-help-padding, var(--spectrum-contextual-help-padding));
- padding-inline: var(--mod-spectrum-contextual-help-padding, var(--spectrum-contextual-help-padding));
+ padding-block: var(--mod-spectrum-contextual-help-padding, var(--spectrum-spacing-400));
+ padding-inline: var(--mod-spectrum-contextual-help-padding, var(--spectrum-spacing-400));
font-size: var(--mod-spectrum-contextual-help-body-size, var(--spectrum-contextual-help-body-size));
- color: var(--highcontrast-contextual-help-body-color, var(--mod-contextual-help-body-color, var(--spectrum-contextual-help-body-color)));
+ color: var(--highcontrast-contextual-help-body-color, var(--mod-contextual-help-body-color, var(--spectrum-body-color)));
.spectrum-ContextualHelp-heading,
.spectrum-ContextualHelp-body {
@@ -44,13 +35,13 @@
.spectrum-ContextualHelp-heading {
margin-block-end: var(--mod-spectrum-contextual-help-content-spacing, var(--spectrum-contextual-help-content-spacing));
- font-size: var(--mod-spectrum-contextual-help-heading-size, var(--spectrum-contextual-help-heading-size));
- color: var(--highcontrast-contextual-help-heading-color, var(--mod-contextual-help-heading-color, var(--spectrum-contextual-help-heading-color)));
+ font-size: var(--mod-spectrum-contextual-help-heading-size, var(--spectrum-contextual-help-title-size));
+ color: var(--highcontrast-contextual-help-heading-color, var(--mod-contextual-help-heading-color, var(--spectrum-heading-color)));
}
}
.spectrum-ContextualHelp-link {
- margin-block-start: var(--mod-spectrum-contextual-help-link-spacing, var(--spectrum-contextual-help-link-spacing));
+ margin-block-start: var(--mod-spectrum-contextual-help-link-spacing, var(--spectrum-spacing-300));
}
@media (forced-colors: active) {
diff --git a/components/contextualhelp/metadata/metadata.json b/components/contextualhelp/metadata/metadata.json
index e3952ec7081..71d3220dc75 100644
--- a/components/contextualhelp/metadata/metadata.json
+++ b/components/contextualhelp/metadata/metadata.json
@@ -19,14 +19,9 @@
"--mod-spectrum-contextual-help-padding"
],
"component": [
- "--spectrum-contextual-help-body-color",
"--spectrum-contextual-help-body-size",
"--spectrum-contextual-help-content-spacing",
- "--spectrum-contextual-help-heading-color",
- "--spectrum-contextual-help-heading-size",
- "--spectrum-contextual-help-link-spacing",
"--spectrum-contextual-help-minimum-width",
- "--spectrum-contextual-help-padding",
"--spectrum-contextual-help-title-size"
],
"global": [
diff --git a/components/contextualhelp/package.json b/components/contextualhelp/package.json
index 40e540604aa..f57c5fb4523 100644
--- a/components/contextualhelp/package.json
+++ b/components/contextualhelp/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/contextualhelp",
- "version": "3.3.0",
+ "version": "4.0.0-s2-foundations.17",
"description": "The Spectrum CSS contextualhelp component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,20 +21,22 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=6",
- "@spectrum-css/link": ">=5",
- "@spectrum-css/popover": ">=7",
- "@spectrum-css/tokens": ">=14.5.0"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/link": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/link": {
diff --git a/components/contextualhelp/stories/contextualhelp.mdx b/components/contextualhelp/stories/contextualhelp.mdx
deleted file mode 100644
index d9511f7f5cc..00000000000
--- a/components/contextualhelp/stories/contextualhelp.mdx
+++ /dev/null
@@ -1,63 +0,0 @@
-import {
- Canvas,
- ArgTypes,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-
-import * as ContextualHelpStories from "./contextualhelp.stories";
-
-
-
-
-
-
-
-
-
-## Info icon variants
-
-### Info icon - standard
-
-
-
-### Info icon - with link
-
-
-
-### Info icon - top popover
-
-
-
-## Help icon variants
-
-### Help icon - standard
-
-
-
-### Help icon - with link
-
-
-
-### Help icon - top popover
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/contextualhelp/stories/contextualhelp.stories.js b/components/contextualhelp/stories/contextualhelp.stories.js
index 43805455df4..d881daca40a 100644
--- a/components/contextualhelp/stories/contextualhelp.stories.js
+++ b/components/contextualhelp/stories/contextualhelp.stories.js
@@ -93,6 +93,10 @@ export default {
...(ActionButtonStories?.parameters?.actions?.handles ?? [])
],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=49480-1934",
+ },
packageJson,
metadata,
docs: {
@@ -103,10 +107,18 @@ export default {
},
};
+/**
+ * The default contextual help component uses an info icon to signify that it represents in-line information, and does not incorporate a link in its content. Specific, brief, and contextual guidance is best for this component's supplemental or nice-to-know content. The default placement of the popover is `bottom-start`.
+ */
export const Default = ContextualHelpGroup.bind({});
Default.args = {};
// ********* DOCS ONLY ********* //
+/**
+ * If using a standalone [link](/docs/components-link--docs), do not add punctuation to the end of the link text. Make sure that the landing experience is intuitive, helpful, and naturally builds upon the information being introduced in this component. For example, don’t link to an external sales website unless the information there is directly related to a user being able to do something within the product.
+ *
+ * A generic “Learn more” can be acceptable, but it’s more helpful, particularly for screen reader users, to include another word or two in the link text that gives more context about the link's destination.
+ */
export const WithLink = Template.bind({});
WithLink.tags = ["!dev"];
WithLink.args = {
@@ -118,7 +130,11 @@ WithLink.args = {
WithLink.parameters = {
chromatic: { disableSnapshot: true },
};
+WithLink.storyName = "Default - info icon with link";
+/**
+ * This is an example of the contextual help component within a popover with a placement of `top`. Read more about the 22 available placement positions in the [popover documentation](/docs/components-popover--docs).
+ */
export const TopPopover = Template.bind({});
TopPopover.tags = ["!dev"];
TopPopover.args = {
@@ -138,7 +154,11 @@ TopPopover.parameters = {
},
},
};
+TopPopover.storyName = "Default - top popover";
+/**
+ * When displaying help or resources to learn more, the contextual help should use the help icon. The content in this variant provides more detailed, in-depth guidance about a task, UI element, tool or keyboard shortcuts.
+ */
export const HelpDefault = Template.bind({});
HelpDefault.tags = ["!dev"];
HelpDefault.args = {
@@ -147,6 +167,7 @@ HelpDefault.args = {
HelpDefault.parameters = {
chromatic: { disableSnapshot: true },
};
+HelpDefault.storyName = "Help icon";
export const HelpWithLink = Template.bind({});
HelpWithLink.tags = ["!dev"];
@@ -160,6 +181,7 @@ HelpWithLink.args = {
HelpWithLink.parameters = {
chromatic: { disableSnapshot: true },
};
+HelpWithLink.storyName = "Help icon - with link";
export const HelpTopPopover = Template.bind({});
HelpTopPopover.tags = ["!dev"];
@@ -181,6 +203,7 @@ HelpTopPopover.parameters = {
},
},
};
+HelpTopPopover.storyName = "Help icon - top popover";
// ********* VRT ONLY ********* //
export const WithForcedColors = ContextualHelpGroup.bind({});
diff --git a/components/contextualhelp/stories/contextualhelp.test.js b/components/contextualhelp/stories/contextualhelp.test.js
index 47abc2f463d..c58db43a91b 100644
--- a/components/contextualhelp/stories/contextualhelp.test.js
+++ b/components/contextualhelp/stories/contextualhelp.test.js
@@ -22,5 +22,13 @@ export const ContextualHelpGroup = Variants({
url: "#",
},
},
+ {
+ testHeading: "Help",
+ iconName: "Help",
+ customStyles: {
+ "inline-size": "275px",
+ "margin-bottom": "170px",
+ },
+ },
],
});
diff --git a/components/contextualhelp/stories/template.js b/components/contextualhelp/stories/template.js
index aaeac140d32..a8dbb79a195 100644
--- a/components/contextualhelp/stories/template.js
+++ b/components/contextualhelp/stories/template.js
@@ -8,6 +8,9 @@ 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-ContextualHelp",
diff --git a/components/contextualhelp/themes/express.css b/components/contextualhelp/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/contextualhelp/themes/express.css
+++ b/components/contextualhelp/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/contextualhelp/themes/spectrum-two.css b/components/contextualhelp/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/contextualhelp/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/contextualhelp/themes/spectrum.css b/components/contextualhelp/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/contextualhelp/themes/spectrum.css
+++ b/components/contextualhelp/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/datepicker/CHANGELOG.md b/components/datepicker/CHANGELOG.md
index 09af8dfa683..c6c5096983f 100644
--- a/components/datepicker/CHANGELOG.md
+++ b/components/datepicker/CHANGELOG.md
@@ -1,5 +1,291 @@
# Change Log
+## 4.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.17
+ - @spectrum-css/textfield@8.0.0-s2-foundations.17
+ - @spectrum-css/calendar@6.0.0-s2-foundations.16
+ - @spectrum-css/popover@8.0.0-s2-foundations.17
+
+## 4.0.0-s2-foundations.16
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57e187f`](https://github.com/adobe/spectrum-css/commit/57e187f5a52e9782e8573defc825cef0399b99e4) Thanks [@pfulton](https://github.com/pfulton)! - Minor bug fixes for datepicker and radio; tokens released for alignment
+
+- Updated dependencies [[`57e187f`](https://github.com/adobe/spectrum-css/commit/57e187f5a52e9782e8573defc825cef0399b99e4)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.26
+
+## 4.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.16
+ - @spectrum-css/textfield@8.0.0-s2-foundations.16
+ - @spectrum-css/calendar@6.0.0-s2-foundations.15
+ - @spectrum-css/popover@8.0.0-s2-foundations.16
+
+## 4.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.15
+ - @spectrum-css/textfield@8.0.0-s2-foundations.15
+ - @spectrum-css/calendar@6.0.0-s2-foundations.14
+ - @spectrum-css/popover@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 4.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.14
+ - @spectrum-css/textfield@8.0.0-s2-foundations.14
+ - @spectrum-css/calendar@6.0.0-s2-foundations.13
+ - @spectrum-css/popover@8.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 4.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.12
+ - @spectrum-css/textfield@8.0.0-s2-foundations.12
+ - @spectrum-css/calendar@6.0.0-s2-foundations.12
+ - @spectrum-css/popover@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 4.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.11
+ - @spectrum-css/textfield@8.0.0-s2-foundations.11
+ - @spectrum-css/calendar@6.0.0-s2-foundations.11
+ - @spectrum-css/popover@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 4.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.10
+ - @spectrum-css/textfield@8.0.0-s2-foundations.10
+ - @spectrum-css/calendar@6.0.0-s2-foundations.10
+ - @spectrum-css/popover@8.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 4.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`da47fa2`](https://github.com/adobe/spectrum-css/commit/da47fa2cb18373e74a6718775f2db90bb25868d4), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.9
+ - @spectrum-css/textfield@8.0.0-s2-foundations.9
+ - @spectrum-css/calendar@6.0.0-s2-foundations.9
+ - @spectrum-css/popover@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 4.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.8
+ - @spectrum-css/textfield@8.0.0-s2-foundations.8
+ - @spectrum-css/calendar@6.0.0-s2-foundations.8
+ - @spectrum-css/popover@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 4.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.7
+ - @spectrum-css/textfield@8.0.0-s2-foundations.7
+ - @spectrum-css/calendar@6.0.0-s2-foundations.7
+ - @spectrum-css/popover@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 4.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.6
+ - @spectrum-css/textfield@8.0.0-s2-foundations.6
+ - @spectrum-css/calendar@6.0.0-s2-foundations.6
+ - @spectrum-css/popover@8.0.0-s2-foundations.6
+
+## 4.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.5
+ - @spectrum-css/textfield@8.0.0-s2-foundations.5
+ - @spectrum-css/calendar@6.0.0-s2-foundations.5
+ - @spectrum-css/popover@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 4.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.4
+ - @spectrum-css/textfield@8.0.0-s2-foundations.4
+ - @spectrum-css/calendar@6.0.0-s2-foundations.4
+ - @spectrum-css/popover@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 4.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.3
+ - @spectrum-css/textfield@8.0.0-s2-foundations.3
+ - @spectrum-css/calendar@6.0.0-s2-foundations.3
+ - @spectrum-css/popover@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 4.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.2
+ - @spectrum-css/textfield@8.0.0-s2-foundations.2
+ - @spectrum-css/calendar@6.0.0-s2-foundations.2
+ - @spectrum-css/popover@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 4.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.1
+ - @spectrum-css/textfield@8.0.0-s2-foundations.1
+ - @spectrum-css/calendar@6.0.0-s2-foundations.1
+ - @spectrum-css/popover@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 4.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/pickerbutton@6.0.0-s2-foundations.0
+ - @spectrum-css/textfield@8.0.0-s2-foundations.0
+ - @spectrum-css/popover@8.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/calendar@6.0.0-s2-foundations.0
+
## 3.3.0
### Minor Changes
@@ -26,6 +312,18 @@
- [#3285](https://github.com/adobe/spectrum-css/pull/3285) [`727ccd0`](https://github.com/adobe/spectrum-css/commit/727ccd0eda8ef6f975cda52c7ef4e3516818e383) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violation in datepicker by adjusting nesting depth.
+## 3.2.5
+
+### Patch Changes
+
+- [#3300](https://github.com/adobe/spectrum-css/pull/3300) [`89797d0`](https://github.com/adobe/spectrum-css/commit/89797d0324bcbf2195a28840ce87ed6959da24a5) Thanks [@castastrophe](https://github.com/castastrophe)! - Add passthrough markers to prevent unnecessary warnings about unused custom properties
+
+## 3.2.4
+
+### Patch Changes
+
+- [#3285](https://github.com/adobe/spectrum-css/pull/3285) [`727ccd0`](https://github.com/adobe/spectrum-css/commit/727ccd0eda8ef6f975cda52c7ef4e3516818e383) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violation in datepicker by adjusting nesting depth.
+
## 3.2.3
### Patch Changes
diff --git a/components/datepicker/index.css b/components/datepicker/index.css
index 84845e4d18a..8c84e0d0427 100644
--- a/components/datepicker/index.css
+++ b/components/datepicker/index.css
@@ -11,178 +11,185 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-DatePicker {
- --spectrum-datepicker-border-radius: var(--spectrum-corner-radius-100);
- --spectrum-datepicker-border-radius-quiet: 0;
+ --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(--spectrum-field-width);
+ --spectrum-datepicker-min-width: var(--mod-datepicker-min-width, var(--spectrum-field-width));
--spectrum-datepicker-icon-size: var(--spectrum-workflow-icon-size-100);
/* button */
- --spectrum-datepicker-pickerbutton-border-color: var(--spectrum-gray-500);
- --spectrum-datepicker-pickerbutton-border-color-invalid: var(--spectrum-negative-border-color-default);
- --spectrum-datepicker-pickerbutton-width: calc((var(--spectrum-field-edge-to-disclosure-icon-100) * 2) + var(--spectrum-workflow-icon-size-100));
- --spectrum-datepicker-pickerbutton-width-quiet: calc(var(--spectrum-datepicker-pickerbutton-width) - var(--spectrum-datepicker-quiet-button-offset));
- --spectrum-datepicker-quiet-button-offset: var(--spectrum-text-to-visual-100);
- --spectrum-datepicker-icon-to-button: var(--spectrum-text-to-visual-100);
+ --spectrum-datepicker-pickerbutton-border-color: var(--highcontrast-datepicker-pickerbutton-border-color, var(--mod-datepicker-pickerbutton-border-color, var(--spectrum-gray-500)));
+ --spectrum-datepicker-pickerbutton-border-color-invalid: var(--highcontrast-datepicker-pickerbutton-border-color, var(--mod-datepicker-pickerbutton-border-color-invalid, var(--spectrum-negative-border-color-default)));
+ --spectrum-datepicker-pickerbutton-width: calc(var(--spectrum-field-edge-to-disclosure-icon-100) * 2 + var(--spectrum-workflow-icon-size-100));
+ --spectrum-datepicker-quiet-button-offset: var(--mod-datepicker-quiet-button-offset, var(--spectrum-text-to-visual-100));
--spectrum-datepicker-icon-to-text: var(--spectrum-component-edge-to-text-100);
+ /* Calculated as width minus offset */
+ --spectrum-datepicker-pickerbutton-width-quiet: calc(var(--spectrum-datepicker-pickerbutton-width) - var(--spectrum-datepicker-quiet-button-offset));
+
/* focus */
- --spectrum-datepicker-focus-ring-gap: var(--spectrum-focus-indicator-gap);
- --spectrum-datepicker-focus-thickness: var(--spectrum-focus-indicator-thickness);
- --spectrum-datepicker-focus-animation: var(--spectrum-animation-duration-100);
- --spectrum-datepicker-focus-ring-width: var(--spectrum-border-width-100);
- --spectrum-datepicker-focus-ring-color: var(--spectrum-focus-indicator-color);
- --spectrum-datepicker-focus-line-gap: var(--spectrum-spacing-75);
+ --spectrum-datepicker-focus-ring-gap: var(--mod-datepicker-focus-ring-gap, var(--spectrum-focus-indicator-gap));
+ --spectrum-datepicker-focus-thickness: var(--mod-datepicker-focus-thickness, var(--spectrum-focus-indicator-thickness));
+ --spectrum-datepicker-focus-animation: var(--mod-datepicker-focus-animation, var(--spectrum-animation-duration-100));
+ --spectrum-datepicker-focus-ring-width: var(--mod-datepicker-focus-ring-width, var(--spectrum-border-width-100));
+ --spectrum-datepicker-focus-ring-color: var(--highcontrast-datepicker-focus-ring-color, var(--mod-datepicker-focus-ring-color, var(--spectrum-focus-indicator-color)));
+ --spectrum-datepicker-focus-line-gap: var(--mod-datepicker-focus-line-gap, var(--spectrum-spacing-75));
/* color */
- --spectrum-datepicker-invalid-quiet-color: var(--spectrum-negative-border-color-default);
- --spectrum-datepicker-quiet-border-color-hover: var(--spectrum-gray-500);
- --spectrum-datepicker-border-color-disabled: var(--spectrum-disabled-border-color);
+ --spectrum-datepicker-invalid-quiet-color: var(--mod-datepicker-invalid-quiet-color, var(--spectrum-negative-border-color-default));
+ --spectrum-datepicker-quiet-border-color-hover: var(--mod-datepicker-quiet-border-color-hover, var(--spectrum-gray-500));
+ --spectrum-datepicker-border-color-disabled: var(--mod-datepicker-border-color-disabled, var(--spectrum-disabled-border-color));
/* dash */
- --spectrum-datepicker-dash-font-size: var(--spectrum-font-size-100);
- --spectrum-datepicker-dash-color: var(--spectrum-neutral-content-color-default);
- --spectrum-datepicker-dash-color-disabled: var(--spectrum-disabled-content-color);
- --spectrum-datepicker-range-dash-marin-inline-start: calc(-0.5 * var(--spectrum-datepicker-dash-font-size));
- --spectrum-datepicker-range-dash-padding-top: 0;
+ --spectrum-datepicker-dash-font-size: var(--mod-datepicker-dash-font-size, var(--spectrum-font-size-100));
+ --spectrum-datepicker-dash-color: var(--highcontrast-datepicker-dash-color, var(--mod-datepicker-dash-color, var(--spectrum-neutral-content-color-default)));
+ --spectrum-datepicker-range-dash-padding-top: var(--mod-datepicker-range-dash-padding-top, 0);
+
+ /* Calculated as negative half of font-size */
+ --spectrum-datepicker-range-dash-marin-inline-start: var(--mod-datepicker-range-dash-margin-left, calc(-0.5 * var(--spectrum-datepicker-dash-font-size)));
/* calculating widths */
- /* todo: if we add t-shirt sizing, this will be wrong ❤️ */
+ /* initial-width and generic-padding are being served from the global tokens package */
+ --spectrum-datepicker-range-input-width-first: var(--mod-datepicker-range-input-width-first, calc(var(--spectrum-datepicker-initial-width) - 2 * var(--spectrum-datepicker-generic-padding)));
--spectrum-datepicker-input-width-base: calc(var(--spectrum-datepicker-range-input-width-first) + var(--spectrum-datepicker-icon-size));
- --spectrum-datepicker-input-width: calc(var(--spectrum-datepicker-input-width-base) + var(--spectrum-datepicker-initial-height));
- --spectrum-datepicker-input-width-quiet: calc(var(--spectrum-datepicker-range-input-width-quiet-first) + var(--spectrum-datepicker-icon-size) + var(--spectrum-datepicker-initial-height));
- --spectrum-datepicker-range-input-width-first: calc(var(--spectrum-datepicker-initial-width) - 2 * var(--spectrum-datepicker-generic-padding));
- --spectrum-datepicker-range-input-width-quiet-first: calc(var(--spectrum-datepicker-width-quiet-first) + var(--spectrum-datepicker-width-quiet-second));
+ --spectrum-datepicker-input-width: var(--mod-datepicker-input-width, calc(var(--spectrum-datepicker-input-width-base) + var(--spectrum-datepicker-initial-height)));
+ --spectrum-datepicker-range-input-width-quiet-first: var(--mod-datepicker-range-input-width-quiet-first, calc(var(--spectrum-datepicker-width-quiet-first) + var(--spectrum-datepicker-width-quiet-second)));
+ --spectrum-datepicker-input-width-quiet: var(--mod-datepicker-input-width-quiet, calc(var(--spectrum-datepicker-range-input-width-quiet-first) + var(--spectrum-datepicker-icon-size) + var(--spectrum-datepicker-initial-height)));
- --spectrum-datepicker-datetime-input-width-first: calc(var(--spectrum-datepicker-input-width-base) + var(--spectrum-datepicker-datetime-width-first));
- --spectrum-datepicker-datetime-input-width: calc(var(--spectrum-datepicker-datetime-input-width-first) + var(--spectrum-datepicker-icon-size) + var(--spectrum-datepicker-initial-height));
- --spectrum-datepicker-datetime-quiet-input-width-first: calc(var(--spectrum-datepicker-input-width-base) + var(--spectrum-datepicker-input-datetime-width));
- --spectrum-datepicker-datetime-quiet-input-width: calc(var(--spectrum-datepicker-datetime-quiet-input-width-first) + var(--spectrum-datepicker-icon-size) + var(--spectrum-datepicker-initial-height));
+
+ --spectrum-datepicker-datetime-input-width-first: var(--mod-datepicker-datetime-input-width-first, calc(var(--spectrum-datepicker-input-width-base) + var(--spectrum-datepicker-datetime-width-first)));
+ --spectrum-datepicker-datetime-input-width: var(--mod-datepicker-datetime-input-width, calc(var(--spectrum-datepicker-datetime-input-width-first) + var(--spectrum-datepicker-icon-size) + var(--spectrum-datepicker-initial-height)));
+ --spectrum-datepicker-datetime-quiet-input-width-first: var(--mod-datepicker-datetime-quiet-input-width-first, calc(var(--spectrum-datepicker-input-width-base) + var(--spectrum-datepicker-input-datetime-width)));
+ --spectrum-datepicker-datetime-quiet-input-width: var(--mod-datepicker-datetime-quiet-input-width, calc(var(--spectrum-datepicker-datetime-quiet-input-width-first) + var(--spectrum-datepicker-icon-size) + var(--spectrum-datepicker-initial-height)));
/* padding inline end */
- --spectrum-datepicker-padding-inline-end: calc(var(--spectrum-datepicker-pickerbutton-width) + var(--spectrum-component-edge-to-text-100) - (var(--spectrum-datepicker-border-width) * 2));
- --spectrum-datepicker-padding-inline-end-quiet: calc((var(--spectrum-datepicker-pickerbutton-width) + var(--spectrum-component-edge-to-text-100)) - var(--spectrum-datepicker-quiet-button-offset));
- --spectrum-datepicker-padding-inline-end-invalid: calc(var(--spectrum-datepicker-pickerbutton-width) + var(--spectrum-component-edge-to-text-100) + var(--spectrum-datepicker-icon-to-button) + var(--spectrum-datepicker-icon-size) - (var(--spectrum-datepicker-border-width) * 2));
- --spectrum-datepicker-padding-inline-end-invalid-quiet: calc(var(--spectrum-datepicker-pickerbutton-width-quiet) + var(--spectrum-datepicker-icon-size) + var(--spectrum-datepicker-icon-to-text));
-}
+ --spectrum-datepicker-padding-inline-end: var(--mod-datepicker-padding-inline, calc(var(--spectrum-datepicker-pickerbutton-width) + var(--spectrum-component-edge-to-text-100) - var(--spectrum-datepicker-border-width) * 2));
+ --spectrum-datepicker-padding-inline-end-quiet: var(--mod-datepicker-padding-inline-quiet, calc((var(--spectrum-datepicker-pickerbutton-width) + var(--spectrum-component-edge-to-text-100)) - var(--spectrum-datepicker-quiet-button-offset)));
+ --spectrum-datepicker-padding-inline-end-invalid-quiet: var(--mod-datepicker-padding-inline-end-invalid-quiet, calc(var(--spectrum-datepicker-pickerbutton-width-quiet) + var(--spectrum-datepicker-icon-size) + var(--spectrum-datepicker-icon-to-text)));
-.spectrum-DatePicker {
position: relative;
display: inline-flex;
flex-direction: row;
flex-wrap: nowrap;
- min-inline-size: var(--mod-datepicker-min-width, var(--spectrum-datepicker-min-width));
- border-radius: var(--mod-datepicker-border-radius, var(--spectrum-datepicker-border-radius));
+ min-inline-size: var(--spectrum-datepicker-min-width);
+ border-radius: var(--spectrum-datepicker-border-radius);
&.is-disabled {
- .spectrum-DatePicker-rangeDash {
- color: var(--highcontrast-datepicker-dash-color-disabled, var(--mod-datepicker-dash-color-disabled, var(--spectrum-datepicker-dash-color-disabled)));
- }
+ --mod-datepicker-dash-color: var(--mod-datepicker-dash-color-disabled, var(--spectrum-disabled-content-color));
}
&.is-invalid {
--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));
}
-}
-.spectrum-DatePicker:not(.spectrum-DatePicker--quiet, .is-disabled) {
- /* @passthrough -- ensures picker button border color matches the textfield border color */
- --mod-picker-button-border-color: var(--highcontrast-datepicker-pickerbutton-border-color, var(--mod-datepicker-pickerbutton-border-color, var(--spectrum-datepicker-pickerbutton-border-color)));
+ &:not(.spectrum-DatePicker--quiet, .is-disabled) {
+ /* @passthrough -- ensures picker button border color matches the textfield border color */
+ --mod-picker-button-border-color: var(--spectrum-datepicker-pickerbutton-border-color);
- &.is-invalid {
- /* @passthrough */
- --mod-picker-button-border-color: var(--highcontrast-datepicker-pickerbutton-border-color, var(--mod-datepicker-pickerbutton-border-color-invalid, var(--spectrum-datepicker-pickerbutton-border-color-invalid)));
+ &.is-invalid {
+ /* @passthrough */
+ --mod-picker-button-border-color: var(--spectrum-datepicker-pickerbutton-border-color-invalid);
+ }
}
}
-/* input padding inline end */
-/* standard and range */
.spectrum-DatePicker-input {
- padding-inline-end: var(--mod-datepicker-padding-inline, var(--spectrum-datepicker-padding-inline-end));
-
- &.spectrum-DatePicker-endField {
- padding-inline-end: var(--mod-datepicker-padding-inline, var(--spectrum-datepicker-padding-inline-end));
- }
-}
-
-/* standard and range invalid */
-.is-invalid .spectrum-DatePicker-input {
- padding-inline-end: var(--mod-datepicker-padding-inline-end-invalid, var(--spectrum-datepicker-padding-inline-end-invalid));
-}
+ /* fill space */
+ flex: 1;
+ inline-size: 100%;
+ padding-inline-end: var(--spectrum-datepicker-padding-inline-end);
-/* quiet */
-.spectrum-DatePicker--quiet {
- .spectrum-DatePicker-input {
- padding-inline-end: var(--mod-datepicker-padding-inline-end-quiet, var(--spectrum-datepicker-padding-inline-end-quiet));
- }
+ &.spectrum-DatePicker-startField {
+ padding-inline-end: var(--mod-datepicker-generic-padding, var(--spectrum-datepicker-generic-padding));
- /* quiet invalid and quiet range invalid */
- .is-invalid .spectrum-DatePicker-input:not(.spectrum-DatePicker-startField) {
- padding-inline-end: var(--mod-datepicker-padding-inline-end-invalid-quiet, var(--spectrum-datepicker-padding-inline-end-invalid-quiet));
+ border-inline-end: 0;
+ border-start-end-radius: 0;
+ border-end-end-radius: 0;
}
-}
-/* quiet range */
-.spectrum-DatePicker--quiet .spectrum-DatePicker-input {
&.spectrum-DatePicker-endField {
- padding-inline-end: var(--mod-datepicker-padding-inline-end-quiet, var(--spectrum-datepicker-padding-inline-end-quiet));
+ border-inline-start: 0;
+ border-start-start-radius: 0;
+ border-end-start-radius: 0;
+ padding-inline-start: var(--mod-datepicker-generic-padding, var(--spectrum-datepicker-generic-padding));
}
}
+/* Nested Picker Button */
.spectrum-DatePicker-button {
/* Be above textfield so box shadow shines through */
position: absolute;
inset-inline-end: 0;
}
-.spectrum-DatePicker--quiet {
- border-radius: var(--mod-datepicker-border-radius-quiet, var(--spectrum-datepicker-border-radius-quiet));
+/* "-" between inputs */
+.spectrum-DatePicker-rangeDash {
+ color: var(--spectrum-datepicker-dash-color);
+ line-height: var(--mod-datepicker-dash-line-height, var(--spectrum-datepicker-dash-line-height));
+ padding-block-start: var(--spectrum-datepicker-range-dash-padding-top);
+ flex: initial;
+ inline-size: 0;
+ z-index: 1;
- .spectrum-DatePicker-button {
- inline-size: auto;
- inset-inline-end: calc(-1 * var(--mod-datepicker-quiet-button-offset, var(--spectrum-datepicker-quiet-button-offset)));
+ &::before {
+ content: "–";
+ display: inline-block;
+ margin-block: 0;
+ margin-inline: var(--spectrum-datepicker-range-dash-marin-inline-start);
+ overflow: hidden;
+ text-align: center;
+ vertical-align: middle;
+ inline-size: var(--spectrum-datepicker-dash-font-size);
+ }
+}
- &:disabled,
- &:disabled:hover {
- border-color: var(--mod-datepicker-border-color-disabled, var(--spectrum-datepicker-border-color-disabled));
- }
+/* quiet */
+.spectrum-DatePicker--quiet {
+ --mod-datepicker-border-radius: var(--spectrum-datepicker-border-radius-quiet);
+ --mod-datepicker-padding-inline: var(--spectrum-datepicker-padding-inline-end-quiet);
- &:disabled:not(.is-open) {
- .spectrum-PickerButton-fill {
- border-color: transparent;
- }
- }
+ /* @passthrough start -- quiet variant nested button styles */
+ --mod-picker-button-border-color-disabled: var(--spectrum-datepicker-border-color-disabled);
+ --mod-picker-button-background-color-hover-disabled: var(--spectrum-datepicker-border-color-disabled);
+ /* @passthrough end */
- &:not(:disabled, .is-open) {
- .spectrum-PickerButton-fill {
- background-color: transparent;
- }
- }
+ /* quiet invalid and quiet range invalid */
+ &.is-invalid .spectrum-DatePicker-input:not(.spectrum-DatePicker-startField) {
+ padding-inline-end: var(--spectrum-datepicker-padding-inline-end-invalid-quiet);
}
&:hover:not(.is-focused, .is-keyboardFocused, .is-disabled, .is-invalid) {
- .spectrum-DatePicker-input,
- .spectrum-DatePicker-button {
- border-color: var(--mod-datepicker-quiet-border-color-hover, var(--spectrum-datepicker-quiet-border-color-hover));
- }
+ /* @passthrough -- nested border colors */
+ --mod-picker-button-border-color: var(--spectrum-datepicker-quiet-border-color-hover);
}
- /* invalid bottom border color */
&.is-invalid {
- .spectrum-DatePicker-input,
- .spectrum-DatePicker-button {
- border-color: var(--highcontrast-datepicker-invalid-quiet-color, var(--mod-datepicker-invalid-quiet-color, var(--spectrum-datepicker-invalid-quiet-color)));
+ /* @passthrough -- invalid bottom border color */
+ --mod-picker-button-border-color: var(--spectrum-datepicker-invalid-quiet-color);
+ }
+
+ /* Nested Picker Button */
+ .spectrum-DatePicker-button {
+ inline-size: auto;
+ inset-inline-end: calc(-1 * var(--spectrum-datepicker-quiet-button-offset));
+
+ &:not(.is-open) {
+ --mod-picker-button-border-color-disabled: transparent;
+ }
+
+ &:not(:disabled, .is-open) {
+ --mod-picker-button-background-color: transparent;
}
}
}
.spectrum-DatePicker--range {
- border-radius: var(--mod-datepicker-border-radius, var(--spectrum-datepicker-border-radius));
+ --mod-datepicker-border-radius: var(--spectrum-datepicker-border-radius);
/* focus-ring */
&::after {
@@ -190,17 +197,17 @@
content: "";
position: absolute;
inset: 0;
- margin: calc(var(--mod-datepicker-focus-ring-gap, var(--spectrum-datepicker-focus-ring-gap)) * -1);
- border-radius: calc(var(--mod-datepicker-border-radius, var(--spectrum-datepicker-border-radius)) + var(--mod-datepicker-focus-ring-gap, var(--spectrum-datepicker-focus-ring-gap)));
+ margin: calc(var(--spectrum-datepicker-focus-ring-gap) * -1);
+ border-radius: calc(var(--spectrum-datepicker-border-radius) + var(--spectrum-datepicker-focus-ring-gap));
border-color: transparent;
transition:
- box-shadow var(--mod-datepicker-focus-animation, var(--spectrum-datepicker-focus-animation)) ease-in-out,
- border-color var(--mod-datepicker-focus-animation, var(--spectrum-datepicker-focus-animation)) ease-in-out;
+ box-shadow var(--spectrum-datepicker-focus-animation) ease-in-out,
+ border-color var(--spectrum-datepicker-focus-animation) ease-in-out;
}
&.is-keyboardFocused:not(.spectrum-DatePicker--quiet) {
&::after {
- box-shadow: 0 0 0 var(--mod-datepicker-focus-ring-width, var(--spectrum-datepicker-focus-ring-width)) var(--highcontrast-datepicker-focus-ring-color, var(--mod-datepicker-focus-ring-color, var(--spectrum-datepicker-focus-ring-color)));
+ box-shadow: 0 0 0 var(--spectrum-datepicker-focus-ring-width) var(--spectrum-datepicker-focus-ring-color);
}
.spectrum-DatePicker-textfield::after {
@@ -208,27 +215,25 @@
}
}
- &.is-keyboardFocused.spectrum-DatePicker--quiet {
+ /* Input Group */
+ &.spectrum-DatePicker--quiet {
+ --mod-datepicker-border-radius: var(--spectrum-datepicker-border-radius-quiet);
+
/* quiet variant bottom border focus indicator */
- &::after {
+ &.is-keyboardFocused::after {
margin: 0;
box-shadow: none;
border-radius: 0;
- border-block-end: var(--mod-datepicker-focus-thickness, var(--spectrum-datepicker-focus-thickness)) solid var(--highcontrast-datepicker-focus-ring-color, var(--mod-datepicker-focus-ring-color, var(--spectrum-datepicker-focus-ring-color)));
- inset-block-end: calc(-1 * var(--mod-datepicker-focus-line-gap, var(--spectrum-datepicker-focus-line-gap)));
+ border-block-end: var(--spectrum-datepicker-focus-thickness) solid var(--spectrum-datepicker-focus-ring-color);
+ inset-block-end: calc(-1 * var(--spectrum-datepicker-focus-line-gap));
}
- }
-
- /* Input Group */
- &.spectrum-DatePicker--quiet {
- border-radius: var(--mod-datepicker-border-radius-quiet, var(--spectrum-datepicker-border-radius-quiet));
.spectrum-DatePicker-textfield {
min-inline-size: 0;
- inline-size: var(--mod-datepicker-input-width-quiet, var(--spectrum-datepicker-input-width-quiet));
+ inline-size: var(--spectrum-datepicker-input-width-quiet);
&:first-of-type {
- inline-size: var(--mod-datepicker-range-input-width-quiet-first, var(--spectrum-datepicker-range-input-width-quiet-first));
+ inline-size: var(--spectrum-datepicker-range-input-width-quiet-first);
}
}
}
@@ -237,21 +242,19 @@
&.spectrum-DatePicker--datetimeRange {
/* Inputs */
.spectrum-DatePicker-textfield {
- inline-size: var(--mod-datepicker-datetime-input-width, var(--spectrum-datepicker-datetime-input-width));
+ inline-size: var(--spectrum-datepicker-datetime-input-width);
min-inline-size: 0;
&:first-of-type {
- inline-size: var(--mod-datepicker-datetime-input-width-first, var(--spectrum-datepicker-datetime-input-width-first));
+ inline-size: var(--spectrum-datepicker-datetime-input-width-first);
}
}
- &.spectrum-DatePicker--quiet {
- .spectrum-DatePicker-textfield {
- inline-size: var(--mod-datepicker-datetime-quiet-input-width, var(--spectrum-datepicker-datetime-quiet-input-width));
- }
+ &.spectrum-DatePicker--quiet .spectrum-DatePicker-textfield {
+ inline-size: var(--spectrum-datepicker-datetime-quiet-input-width);
- .spectrum-DatePicker-textfield:first-of-type {
- inline-size: var(--mod-datepicker-datetime-quiet-input-width-first, var(--spectrum-datepicker-datetime-quiet-input-width-first));
+ &:first-of-type {
+ inline-size: var(--spectrum-datepicker-datetime-quiet-input-width-first);
}
}
}
@@ -260,62 +263,27 @@
.spectrum-DatePicker-textfield {
flex: initial;
min-inline-size: 0;
- inline-size: var(--mod-datepicker-input-width, var(--spectrum-datepicker-input-width));
+ inline-size: var(--spectrum-datepicker-input-width);
&:first-of-type {
- inline-size: var(--mod-datepicker-range-input-width-first, var(--spectrum-datepicker-range-input-width-first));
+ inline-size: var(--spectrum-datepicker-range-input-width-first);
}
}
}
-.spectrum-DatePicker-input {
- /* fill space */
- flex: 1;
- inline-size: 100%;
-
- &.spectrum-DatePicker-startField {
- border-inline-end: 0;
- border-start-end-radius: 0;
- border-end-end-radius: 0;
- padding-inline-end: var(--mod-datepicker-generic-padding, var(--spectrum-datepicker-generic-padding));
- }
-
- &.spectrum-DatePicker-endField {
- border-inline-start: 0;
- border-start-start-radius: 0;
- border-end-start-radius: 0;
- padding-inline-start: var(--mod-datepicker-generic-padding, var(--spectrum-datepicker-generic-padding));
- }
-}
-
-/* "-" between inputs */
-.spectrum-DatePicker-rangeDash {
- color: var(--highcontrast-datepicker-dash-color, var(--mod-datepicker-dash-color, var(--spectrum-datepicker-dash-color)));
- line-height: var(--mod-datepicker-dash-line-height, var(--spectrum-datepicker-dash-line-height));
- padding-block-start: var(--mod-datepicker-range-dash-padding-top, var(--spectrum-datepicker-range-dash-padding-top));
- flex: initial;
- inline-size: 0;
- z-index: 1;
-
- &::before {
- content: "–";
- display: inline-block;
- margin-block: 0;
- margin-inline: var(--mod-datepicker-range-dash-margin-left, var(--spectrum-datepicker-range-dash-marin-inline-start));
- overflow: hidden;
- text-align: center;
- vertical-align: middle;
- inline-size: var(--mod-datepicker-dash-font-size, var(--spectrum-datepicker-dash-font-size));
- }
-}
-
/********* WHCM *********/
@media (forced-colors: active) {
.spectrum-DatePicker {
--highcontrast-datepicker-dash-color: CanvasText;
- --highcontrast-datepicker-dash-color-disabled: GrayText;
--highcontrast-datepicker-focus-ring-color: Highlight;
--highcontrast-datepicker-pickerbutton-border-color: Highlight;
- --highcontrast-datepicker-invalid-quiet-color: Highlight;
+
+ &.is-disabled {
+ --highcontrast-datepicker-dash-color: GrayText;
+ }
+
+ &.spectrum-DatePicker--quiet.is-invalid {
+ --highcontrast-datepicker-pickerbutton-border-color: Highlight;
+ }
}
}
diff --git a/components/datepicker/metadata/metadata.json b/components/datepicker/metadata/metadata.json
index 35711fc2d3d..ec63632266f 100644
--- a/components/datepicker/metadata/metadata.json
+++ b/components/datepicker/metadata/metadata.json
@@ -1,25 +1,17 @@
{
"sourceFile": "index.css",
"selectors": [
- ".is-invalid .spectrum-DatePicker-input",
".spectrum-DatePicker",
".spectrum-DatePicker--quiet",
- ".spectrum-DatePicker--quiet .is-invalid .spectrum-DatePicker-input:not(.spectrum-DatePicker-startField)",
".spectrum-DatePicker--quiet .spectrum-DatePicker-button",
- ".spectrum-DatePicker--quiet .spectrum-DatePicker-button:disabled",
- ".spectrum-DatePicker--quiet .spectrum-DatePicker-button:disabled:hover",
- ".spectrum-DatePicker--quiet .spectrum-DatePicker-button:disabled:not(.is-open) .spectrum-PickerButton-fill",
- ".spectrum-DatePicker--quiet .spectrum-DatePicker-button:not(:disabled, .is-open) .spectrum-PickerButton-fill",
- ".spectrum-DatePicker--quiet .spectrum-DatePicker-input",
- ".spectrum-DatePicker--quiet .spectrum-DatePicker-input.spectrum-DatePicker-endField",
- ".spectrum-DatePicker--quiet.is-invalid .spectrum-DatePicker-button",
- ".spectrum-DatePicker--quiet.is-invalid .spectrum-DatePicker-input",
- ".spectrum-DatePicker--quiet:hover:not(.is-focused, .is-keyboardFocused, .is-disabled, .is-invalid) .spectrum-DatePicker-button",
- ".spectrum-DatePicker--quiet:hover:not(.is-focused, .is-keyboardFocused, .is-disabled, .is-invalid) .spectrum-DatePicker-input",
+ ".spectrum-DatePicker--quiet .spectrum-DatePicker-button:not(.is-open)",
+ ".spectrum-DatePicker--quiet .spectrum-DatePicker-button:not(:disabled, .is-open)",
+ ".spectrum-DatePicker--quiet.is-invalid",
+ ".spectrum-DatePicker--quiet.is-invalid .spectrum-DatePicker-input:not(.spectrum-DatePicker-startField)",
+ ".spectrum-DatePicker--quiet:hover:not(.is-focused, .is-keyboardFocused, .is-disabled, .is-invalid)",
".spectrum-DatePicker--range",
".spectrum-DatePicker--range .spectrum-DatePicker-textfield",
".spectrum-DatePicker--range .spectrum-DatePicker-textfield:first-of-type",
- ".spectrum-DatePicker--range.is-keyboardFocused.spectrum-DatePicker--quiet:after",
".spectrum-DatePicker--range.is-keyboardFocused:not(.spectrum-DatePicker--quiet) .spectrum-DatePicker-textfield:after",
".spectrum-DatePicker--range.is-keyboardFocused:not(.spectrum-DatePicker--quiet):after",
".spectrum-DatePicker--range.spectrum-DatePicker--datetimeRange .spectrum-DatePicker-textfield",
@@ -29,6 +21,7 @@
".spectrum-DatePicker--range.spectrum-DatePicker--quiet",
".spectrum-DatePicker--range.spectrum-DatePicker--quiet .spectrum-DatePicker-textfield",
".spectrum-DatePicker--range.spectrum-DatePicker--quiet .spectrum-DatePicker-textfield:first-of-type",
+ ".spectrum-DatePicker--range.spectrum-DatePicker--quiet.is-keyboardFocused:after",
".spectrum-DatePicker--range:after",
".spectrum-DatePicker-button",
".spectrum-DatePicker-input",
@@ -36,9 +29,10 @@
".spectrum-DatePicker-input.spectrum-DatePicker-startField",
".spectrum-DatePicker-rangeDash",
".spectrum-DatePicker-rangeDash:before",
- ".spectrum-DatePicker.is-disabled .spectrum-DatePicker-rangeDash",
+ ".spectrum-DatePicker.is-disabled",
".spectrum-DatePicker.is-invalid",
".spectrum-DatePicker.is-invalid:not(.spectrum-DatePicker--quiet, .is-disabled)",
+ ".spectrum-DatePicker.spectrum-DatePicker--quiet.is-invalid",
".spectrum-DatePicker:not(.spectrum-DatePicker--quiet, .is-disabled)"
],
"modifiers": [
@@ -65,9 +59,8 @@
"--mod-datepicker-invalid-quiet-color",
"--mod-datepicker-min-width",
"--mod-datepicker-padding-inline",
- "--mod-datepicker-padding-inline-end-invalid",
"--mod-datepicker-padding-inline-end-invalid-quiet",
- "--mod-datepicker-padding-inline-end-quiet",
+ "--mod-datepicker-padding-inline-quiet",
"--mod-datepicker-pickerbutton-border-color",
"--mod-datepicker-pickerbutton-border-color-invalid",
"--mod-datepicker-quiet-border-color-hover",
@@ -83,7 +76,6 @@
"--spectrum-datepicker-border-radius-quiet",
"--spectrum-datepicker-border-width",
"--spectrum-datepicker-dash-color",
- "--spectrum-datepicker-dash-color-disabled",
"--spectrum-datepicker-dash-font-size",
"--spectrum-datepicker-dash-line-height",
"--spectrum-datepicker-datetime-input-width",
@@ -99,7 +91,6 @@
"--spectrum-datepicker-focus-thickness",
"--spectrum-datepicker-generic-padding",
"--spectrum-datepicker-icon-size",
- "--spectrum-datepicker-icon-to-button",
"--spectrum-datepicker-icon-to-text",
"--spectrum-datepicker-initial-height",
"--spectrum-datepicker-initial-width",
@@ -112,7 +103,6 @@
"--spectrum-datepicker-invalid-quiet-color",
"--spectrum-datepicker-min-width",
"--spectrum-datepicker-padding-inline-end",
- "--spectrum-datepicker-padding-inline-end-invalid",
"--spectrum-datepicker-padding-inline-end-invalid-quiet",
"--spectrum-datepicker-padding-inline-end-quiet",
"--spectrum-datepicker-pickerbutton-border-color",
@@ -133,7 +123,6 @@
"--spectrum-border-width-100",
"--spectrum-component-edge-to-text-100",
"--spectrum-component-height-100",
- "--spectrum-component-height-75",
"--spectrum-corner-radius-100",
"--spectrum-disabled-border-color",
"--spectrum-disabled-content-color",
@@ -150,17 +139,18 @@
"--spectrum-text-to-visual-100",
"--spectrum-workflow-icon-size-100"
],
- "system-theme": ["--system-spectrum-datepicker-initial-height"],
+ "system-theme": ["--system-date-picker-initial-height"],
"passthroughs": [
+ "--mod-picker-button-background-color",
+ "--mod-picker-button-background-color-hover-disabled",
"--mod-picker-button-border-color",
+ "--mod-picker-button-border-color-disabled",
"--mod-textfield-icon-spacing-inline-end-invalid",
"--mod-textfield-icon-spacing-inline-end-quiet-invalid"
],
"high-contrast": [
"--highcontrast-datepicker-dash-color",
- "--highcontrast-datepicker-dash-color-disabled",
"--highcontrast-datepicker-focus-ring-color",
- "--highcontrast-datepicker-invalid-quiet-color",
"--highcontrast-datepicker-pickerbutton-border-color"
]
}
diff --git a/components/datepicker/metadata/mods.md b/components/datepicker/metadata/mods.md
index e92f2d8bad9..f3c75683dc9 100644
--- a/components/datepicker/metadata/mods.md
+++ b/components/datepicker/metadata/mods.md
@@ -23,9 +23,8 @@
| `--mod-datepicker-invalid-quiet-color` |
| `--mod-datepicker-min-width` |
| `--mod-datepicker-padding-inline` |
-| `--mod-datepicker-padding-inline-end-invalid` |
| `--mod-datepicker-padding-inline-end-invalid-quiet` |
-| `--mod-datepicker-padding-inline-end-quiet` |
+| `--mod-datepicker-padding-inline-quiet` |
| `--mod-datepicker-pickerbutton-border-color` |
| `--mod-datepicker-pickerbutton-border-color-invalid` |
| `--mod-datepicker-quiet-border-color-hover` |
diff --git a/components/datepicker/package.json b/components/datepicker/package.json
index 15d38b0963d..f58eac7edb4 100644
--- a/components/datepicker/package.json
+++ b/components/datepicker/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/datepicker",
- "version": "3.3.0",
+ "version": "4.0.0-s2-foundations.17",
"description": "The Spectrum CSS datepicker component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,21 +21,23 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/calendar": ">=5",
- "@spectrum-css/pickerbutton": ">=5",
- "@spectrum-css/popover": ">=7",
- "@spectrum-css/textfield": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/calendar": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/pickerbutton": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/textfield": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/calendar": "workspace:^",
diff --git a/components/datepicker/stories/datepicker.mdx b/components/datepicker/stories/datepicker.mdx
deleted file mode 100644
index e6fd0a9ca4c..00000000000
--- a/components/datepicker/stories/datepicker.mdx
+++ /dev/null
@@ -1,86 +0,0 @@
-import {
- Canvas,
- ArgTypes,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-
-import * as DatePickerStories from "./datepicker.stories";
-
-
-
-
-
-
-
-
-
-## Usage notes
-
-### General notes
-
-- Date picker uses `.spectrum-PickerButton` instead of a `.spectrum-Picker`.
-- Workflow icon size is medium. If your markup is still using the small icon, replace `.spectrum-Icon--sizeS` with `.spectrum-Icon--sizeM`.
-
-## Standard
-
-
-
-## Quiet
-
-
-
-## Range
-
-### Standard
-
-
-
-### Quiet
-
-
-
-## Invalid
-
-### Standard
-
-
-
-### Quiet
-
-
-
-## Read-only
-
-Read-only displays the same for standard and quiet variants.
-
-
-
-## Disabled
-
-### Standard
-
-
-
-### Quiet
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/datepicker/stories/datepicker.stories.js b/components/datepicker/stories/datepicker.stories.js
index 5b60505789f..01b4ea53237 100644
--- a/components/datepicker/stories/datepicker.stories.js
+++ b/components/datepicker/stories/datepicker.stories.js
@@ -4,7 +4,7 @@ import { isDisabled, isInvalid, isOpen, isQuiet, isReadOnly, isRequired, isValid
import metadata from "../metadata/metadata.json";
import packageJson from "../package.json";
import { DatePickerGroup } from "./datepicker.test.js";
-import { Template } from "./template.js";
+import { OpenClosedTemplate, Template } from "./template.js";
/**
* A date picker displays a text field input with a button next to it, and can display two text fields next to each other for choosing a date range.
@@ -28,7 +28,7 @@ export default {
if: { arg: "isInvalid", truthy: false },
},
isDateTimeRange: {
- name: "Date and Time styling",
+ name: "Date and time styling",
type: { name: "boolean" },
table: {
type: { summary: "boolean" },
@@ -81,16 +81,31 @@ export default {
export const Default = DatePickerGroup.bind({});
Default.args = {};
-Default.parameters = {
+Default.tags = ["!autodocs"];
+
+// ********* DOCS ONLY ********* //
+/**
+ * Default styling for date pickers display a visible field button. This style works best in a dense array of controls where the field button helps separate the dropdown from its surroundings.
+ *
+ * The standard implementation for a date picker incorporates the display of a [calendar](/docs/components-calendar--docs) within a [popover component](/docs/components-popover--docs).
+ */
+export const DefaultGroup = OpenClosedTemplate.bind({});
+DefaultGroup.args = {};
+DefaultGroup.tags = [ "!dev"];
+DefaultGroup.storyName = "Default";
+DefaultGroup.parameters = {
docs: {
story: {
- height: "300px"
+ height: "350px",
}
},
+ chromatic: { disableSnapshot: true },
};
-// ********* DOCS ONLY ********* //
-export const Quiet = Template.bind({});
+/**
+ * The quiet style works best when a clear layout (vertical stack, table, grid) makes it easy to parse.
+ */
+export const Quiet = OpenClosedTemplate.bind({});
Quiet.tags = ["!dev"];
Quiet.args = {
isQuiet: true,
@@ -99,13 +114,15 @@ Quiet.parameters = {
chromatic: { disableSnapshot: true },
docs: {
story: {
- height: "300px"
+ height: "350px",
}
},
};
+/**
+ * Date pickers can be used to select a date range (a start date and an end date).
+ */
export const Range = Template.bind({});
-Range.tags = ["!dev"];
Range.args = {
lastDay: 3,
isRange: true,
@@ -126,7 +143,11 @@ QuietRange.args = {
QuietRange.parameters = {
chromatic: { disableSnapshot: true },
};
+QuietRange.storyName = "Range, quiet";
+/**
+ * A date picker can be marked as having an error to show that a value needs to be entered in order to move forward, or that an entered value is invalid.
+ */
export const Invalid = Template.bind({});
Invalid.tags = ["!dev"];
Invalid.args = {
@@ -147,6 +168,7 @@ QuietInvalid.args = {
QuietInvalid.parameters = {
chromatic: { disableSnapshot: true },
};
+QuietInvalid.storyName = "Invalid, quiet";
export const ReadOnly = Template.bind({});
ReadOnly.tags = ["!dev"];
@@ -156,6 +178,7 @@ ReadOnly.args = {
ReadOnly.parameters = {
chromatic: { disableSnapshot: true },
};
+ReadOnly.storyName = "Read-only";
export const Disabled = Template.bind({});
Disabled.tags = ["!dev"];
@@ -175,6 +198,7 @@ QuietDisabled.args = {
QuietDisabled.parameters = {
chromatic: { disableSnapshot: true },
};
+QuietDisabled.storyName = "Disabled, quiet";
// ********* VRT ONLY ********* //
export const WithForcedColors = DatePickerGroup.bind({});
diff --git a/components/datepicker/stories/template.js b/components/datepicker/stories/template.js
index 73311e7f022..2d56102d24e 100644
--- a/components/datepicker/stories/template.js
+++ b/components/datepicker/stories/template.js
@@ -1,7 +1,7 @@
import { Template as Calendar } from "@spectrum-css/calendar/stories/template.js";
import { Template as PickerButton } from "@spectrum-css/pickerbutton/stories/template.js";
import { Template as Popover } from "@spectrum-css/popover/stories/template.js";
-import { getRandomId } from "@spectrum-css/preview/decorators";
+import { Container, getRandomId } from "@spectrum-css/preview/decorators";
import { Template as TextField } from "@spectrum-css/textfield/stories/template.js";
import { html } from "lit";
import { when } from "lit-html/directives/when.js";
@@ -9,6 +9,9 @@ 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",
@@ -27,6 +30,7 @@ export const DatePicker = ({
lastDay,
} = {}, context = {}) => {
const { globals = {}, updateArgs } = context;
+
const lang = globals.lang ?? "en-US";
const triggerId = getRandomId("datepicker-trigger");
@@ -72,15 +76,16 @@ export const DatePicker = ({
size: "m",
isQuiet,
isDisabled,
- isInvalid,
isReadOnly,
+ isInvalid,
customClasses: [`${rootClass}-textfield`],
customInputClasses: [`${rootClass}-input`, `${rootClass}-endField`],
placeholder: "Choose a date",
name: "field",
- value: lastDay
- ? new Date(lastDay).toLocaleDateString(lang)
- : undefined,
+ value: lastDay ? new Date(lastDay).toLocaleDateString(lang) : undefined,
+ onclick: function () {
+ if (!isOpen) updateArgs({ isOpen: true });
+ },
}, context))}
${PickerButton({
customClasses: [`${rootClass}-button`],
@@ -130,3 +135,22 @@ export const Template = ({
}, context)}
`;
};
+
+
+/* Displays open and closed date pickers. */
+export const OpenClosedTemplate = (args, context) => Container({
+ withBorder: false,
+ wrapperStyles: { "column-gap": "56px", },
+ content: html`
+ ${Container({
+ withBorder: false,
+ heading: "Open",
+ content: Template(args, context),
+ })}
+ ${Container({
+ withBorder: false,
+ heading: "Closed",
+ content: Template({...args, isOpen: false}, context),
+ })}
+ `
+});
diff --git a/components/datepicker/themes/express.css b/components/datepicker/themes/express.css
index 76f792cc5cf..ead071e6f18 100644
--- a/components/datepicker/themes/express.css
+++ b/components/datepicker/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@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
new file mode 100644
index 00000000000..05b3ca88ae4
--- /dev/null
+++ b/components/datepicker/themes/spectrum-two.css
@@ -0,0 +1,18 @@
+/*!
+ * 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
index c409dbd2e9a..3d81bc564b5 100644
--- a/components/datepicker/themes/spectrum.css
+++ b/components/datepicker/themes/spectrum.css
@@ -11,8 +11,6 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
- .spectrum-DatePicker {
- --spectrum-datepicker-initial-height: var(--spectrum-component-height-100);
- }
-}
+/* @combine .spectrum.spectrum--legacy */
+
+@import "./spectrum-two.css";
diff --git a/components/dial/CHANGELOG.md b/components/dial/CHANGELOG.md
index b79901aae5a..89c41034eb7 100644
--- a/components/dial/CHANGELOG.md
+++ b/components/dial/CHANGELOG.md
@@ -1,5 +1,210 @@
# Change Log
+## 4.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 4.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 4.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 4.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 4.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 4.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 4.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 4.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 4.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 4.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 4.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 4.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 4.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 4.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 4.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 4.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 4.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 3.2.0
### Minor Changes
@@ -12,6 +217,12 @@
- [#3286](https://github.com/adobe/spectrum-css/pull/3286) [`3d5c39a`](https://github.com/adobe/spectrum-css/commit/3d5c39ab4b79316563f9659eb4b19afe81f9debf) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violations for dial by removing unused properties and moving todo comment into stylelint-disable description.
+## 3.1.4
+
+### Patch Changes
+
+- [#3286](https://github.com/adobe/spectrum-css/pull/3286) [`3d5c39a`](https://github.com/adobe/spectrum-css/commit/3d5c39ab4b79316563f9659eb4b19afe81f9debf) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violations for dial by removing unused properties and moving todo comment into stylelint-disable description.
+
## 3.1.3
### Patch Changes
diff --git a/components/dial/index.css b/components/dial/index.css
index 4fe71ce612a..8aee8cef361 100644
--- a/components/dial/index.css
+++ b/components/dial/index.css
@@ -11,19 +11,15 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Dial {
- --spectrum-dial-background-color-default: var(--spectrum-gray-100);
-
--spectrum-dial-handle-marker-color: var(--spectrum-gray-700);
--spectrum-dial-border-color: var(--spectrum-gray-700);
--spectrum-dial-handle-marker-color-hover: var(--spectrum-gray-800);
--spectrum-dial-border-color-hover: var(--spectrum-gray-800);
- --spectrum-dial-handle-marker-color-key-focus: var(--spectrum-gray-50);
-
--spectrum-dial-handle-marker-color-mouse-focus: var(--spectrum-gray-700);
--spectrum-dial-min-max-tick-color: var(--spectrum-gray-600);
@@ -51,14 +47,12 @@
--spectrum-dial-handle-border-size: var(--spectrum-border-width-200);
--spectrum-dial-label-text-size: var(--spectrum-font-size-75);
--spectrum-dial-label-line-height: var(--spectrum-line-height-200);
-}
-.spectrum-Dial--small {
- --spectrum-dial-width: 24px;
- --spectrum-dial-height: 24px;
-}
+ &.spectrum-Dial--small {
+ --spectrum-dial-width: 24px;
+ --spectrum-dial-height: 24px;
+ }
-.spectrum-Dial {
position: relative;
/* Don't let z-index'd child elements float above other things on the page */
@@ -70,6 +64,30 @@
min-inline-size: var(--mod-dial-min-height, var(--spectrum-dial-min-height));
min-block-size: var(--mod-dial-min-height, var(--spectrum-dial-min-height));
inline-size: var(--mod-dial-container-width, var(--spectrum-dial-container-width));
+
+ &.is-disabled {
+ .spectrum-Dial-labelContainer {
+ color: var(--highcontrast-dial-label-text-color-disabled, var(--mod-dial-label-text-color-disabled, var(--spectrum-dial-label-text-color-disabled)));
+ }
+
+ .spectrum-Dial-controls {
+ &::after,
+ &::before {
+ background-color: var(--highcontrast-dial-handle-border-color-disabled, var(--mod-dial-handle-border-color-disabled, var(--spectrum-dial-handle-border-color-disabled)));
+ }
+ }
+
+ .spectrum-Dial-handle {
+ cursor: default;
+ border-color: var(--highcontrast-dial-handle-border-color-disabled, var(--mod-dial-handle-border-color-disabled, var(--spectrum-dial-handle-border-color-disabled)));
+ background: var(--mod-dial-background-color-default, var(--spectrum-dial-background-color-default));
+
+ &::after,
+ &::before {
+ background-color: var(--highcontrast-dial-handle-border-color-disabled, var(--mod-dial-handle-border-color-disabled, var(--spectrum-dial-handle-border-color-disabled)));
+ }
+ }
+ }
}
.spectrum-Dial-label {
@@ -89,7 +107,7 @@
}
.spectrum-Dial-labelContainer {
- color: var(--highcontrast-dial-label-text-color, var(--mod-dial-label-text-color, var(--spectrum-dial-label-text-color)));
+ color: var(--mod-dial-label-text-color, var(--spectrum-dial-label-text-color));
display: flex;
position: relative;
inline-size: auto;
@@ -203,8 +221,8 @@
&:focus-visible,
&:focus-within {
- background-color: var(--highcontrast-dial-handle-marker-color-mouse-focus, var(--mod-dial-handle-marker-color-mouse-focus, var(--spectrum-dial-handle-marker-color-mouse-focus)));
- border-color: var(--highcontrast-dial-handle-marker-color-mouse-focus, var(--mod-dial-handle-marker-color-mouse-focus, var(--spectrum-dial-handle-marker-color-mouse-focus)));
+ background-color: var(--mod-dial-handle-marker-color-mouse-focus, var(--spectrum-dial-handle-marker-color-mouse-focus));
+ border-color: var(--mod-dial-handle-marker-color-mouse-focus, var(--spectrum-dial-handle-marker-color-mouse-focus));
&::after {
background-color: var(--highcontrast-dial-handle-marker-color-key-focus, var(--mod-dial-handle-marker-color-key-focus, var(--spectrum-dial-handle-marker-color-key-focus)));
@@ -247,32 +265,7 @@
}
}
-.spectrum-Dial {
- &.is-disabled {
- .spectrum-Dial-labelContainer {
- color: var(--highcontrast-dial-label-text-color-disabled, var(--mod-dial-label-text-color-disabled, var(--spectrum-dial-label-text-color-disabled)));
- }
-
- .spectrum-Dial-controls {
- &::after,
- &::before {
- background-color: var(--highcontrast-dial-handle-border-color-disabled, var(--mod-dial-handle-border-color-disabled, var(--spectrum-dial-handle-border-color-disabled)));
- }
- }
-
- .spectrum-Dial-handle {
- cursor: default;
- border-color: var(--highcontrast-dial-handle-border-color-disabled, var(--mod-dial-handle-border-color-disabled, var(--spectrum-dial-handle-border-color-disabled)));
- background: var(--highcontrast-dial-background-color-default, var(--mod-dial-background-color-default, var(--spectrum-dial-background-color-default)));
-
- &::after,
- &::before {
- background-color: var(--highcontrast-dial-handle-border-color-disabled, var(--mod-dial-handle-border-color-disabled, var(--spectrum-dial-handle-border-color-disabled)));
- }
- }
- }
-}
-
+/* @deprecated .u- prefixed states are a legacy implementation still supported */
.u-isGrabbing {
cursor: ns-resize;
/* stylelint-disable-next-line -- required for webkit cursor grab/grabbing support */
diff --git a/components/dial/metadata/metadata.json b/components/dial/metadata/metadata.json
index e137edbe349..29e38855d6a 100644
--- a/components/dial/metadata/metadata.json
+++ b/components/dial/metadata/metadata.json
@@ -4,7 +4,6 @@
".js-focus-within .spectrum-Dial-handle[focus-within]",
".js-focus-within .spectrum-Dial-handle[focus-within]:after",
".spectrum-Dial",
- ".spectrum-Dial--small",
".spectrum-Dial-controls",
".spectrum-Dial-controls:after",
".spectrum-Dial-controls:before",
@@ -35,6 +34,7 @@
".spectrum-Dial.is-disabled .spectrum-Dial-handle:after",
".spectrum-Dial.is-disabled .spectrum-Dial-handle:before",
".spectrum-Dial.is-disabled .spectrum-Dial-labelContainer",
+ ".spectrum-Dial.spectrum-Dial--small",
".u-isGrabbing",
".u-isGrabbing .spectrum-Dial .spectrum-Dial-label",
".u-isGrabbing .spectrum-Dial .spectrum-Dial-value"
@@ -108,26 +108,26 @@
"global": [
"--spectrum-border-width-200",
"--spectrum-font-size-75",
- "--spectrum-gray-100",
+ "--spectrum-gray-25",
"--spectrum-gray-400",
- "--spectrum-gray-50",
"--spectrum-gray-600",
"--spectrum-gray-700",
+ "--spectrum-gray-75",
"--spectrum-gray-800",
"--spectrum-line-height-200"
],
- "system-theme": [],
+ "system-theme": [
+ "--system-dial-background-color-default",
+ "--system-dial-handle-marker-color-key-focus"
+ ],
"passthroughs": [],
"high-contrast": [
- "--highcontrast-dial-background-color-default",
"--highcontrast-dial-border-color",
"--highcontrast-dial-border-color-hover",
"--highcontrast-dial-handle-border-color-disabled",
"--highcontrast-dial-handle-marker-color",
"--highcontrast-dial-handle-marker-color-hover",
"--highcontrast-dial-handle-marker-color-key-focus",
- "--highcontrast-dial-handle-marker-color-mouse-focus",
- "--highcontrast-dial-label-text-color",
"--highcontrast-dial-label-text-color-disabled",
"--highcontrast-dial-min-max-tick-color"
]
diff --git a/components/dial/package.json b/components/dial/package.json
index 0ba00453d5e..dbd6bfa7df1 100644
--- a/components/dial/package.json
+++ b/components/dial/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/dial",
- "version": "3.2.0",
+ "version": "4.0.0-s2-foundations.16",
"description": "The Spectrum CSS dial component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/dial/stories/template.js b/components/dial/stories/template.js
index 547fb97f661..c8f25c2175b 100644
--- a/components/dial/stories/template.js
+++ b/components/dial/stories/template.js
@@ -5,6 +5,9 @@ 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
index fad97bb3695..9fd550418f2 100644
--- a/components/dial/themes/express.css
+++ b/components/dial/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/dial/themes/spectrum-two.css b/components/dial/themes/spectrum-two.css
new file mode 100644
index 00000000000..410196c3916
--- /dev/null
+++ b/components/dial/themes/spectrum-two.css
@@ -0,0 +1,19 @@
+/*!
+ * 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
index 3b48a570c21..24077607a8b 100644
--- a/components/dial/themes/spectrum.css
+++ b/components/dial/themes/spectrum.css
@@ -10,3 +10,14 @@
* 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 e9e691ae04a..57d7affc54f 100644
--- a/components/dialog/CHANGELOG.md
+++ b/components/dialog/CHANGELOG.md
@@ -1,5 +1,282 @@
# Change Log
+## 11.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.17
+ - @spectrum-css/underlay@5.0.0-s2-foundations.16
+ - @spectrum-css/divider@4.0.0-s2-foundations.16
+ - @spectrum-css/modal@6.0.0-s2-foundations.17
+
+## 11.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.16
+ - @spectrum-css/underlay@5.0.0-s2-foundations.15
+ - @spectrum-css/divider@4.0.0-s2-foundations.15
+ - @spectrum-css/modal@6.0.0-s2-foundations.16
+
+## 11.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.15
+ - @spectrum-css/underlay@5.0.0-s2-foundations.14
+ - @spectrum-css/divider@4.0.0-s2-foundations.14
+ - @spectrum-css/modal@6.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 11.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.14
+ - @spectrum-css/underlay@5.0.0-s2-foundations.13
+ - @spectrum-css/divider@4.0.0-s2-foundations.13
+ - @spectrum-css/modal@6.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 11.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.12
+ - @spectrum-css/underlay@5.0.0-s2-foundations.12
+ - @spectrum-css/divider@4.0.0-s2-foundations.12
+ - @spectrum-css/modal@6.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 11.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.11
+ - @spectrum-css/underlay@5.0.0-s2-foundations.11
+ - @spectrum-css/divider@4.0.0-s2-foundations.11
+ - @spectrum-css/modal@6.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 11.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.10
+ - @spectrum-css/underlay@5.0.0-s2-foundations.10
+ - @spectrum-css/divider@4.0.0-s2-foundations.10
+ - @spectrum-css/modal@6.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 11.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.9
+ - @spectrum-css/underlay@5.0.0-s2-foundations.9
+ - @spectrum-css/divider@4.0.0-s2-foundations.9
+ - @spectrum-css/modal@6.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 11.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.8
+ - @spectrum-css/underlay@5.0.0-s2-foundations.8
+ - @spectrum-css/divider@4.0.0-s2-foundations.8
+ - @spectrum-css/modal@6.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 11.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.7
+ - @spectrum-css/underlay@5.0.0-s2-foundations.7
+ - @spectrum-css/divider@4.0.0-s2-foundations.7
+ - @spectrum-css/modal@6.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 11.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.6
+ - @spectrum-css/underlay@5.0.0-s2-foundations.6
+ - @spectrum-css/divider@4.0.0-s2-foundations.6
+ - @spectrum-css/modal@6.0.0-s2-foundations.6
+
+## 11.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.5
+ - @spectrum-css/underlay@5.0.0-s2-foundations.5
+ - @spectrum-css/divider@4.0.0-s2-foundations.5
+ - @spectrum-css/modal@6.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 11.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.4
+ - @spectrum-css/underlay@5.0.0-s2-foundations.4
+ - @spectrum-css/divider@4.0.0-s2-foundations.4
+ - @spectrum-css/modal@6.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 11.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.3
+ - @spectrum-css/underlay@5.0.0-s2-foundations.3
+ - @spectrum-css/divider@4.0.0-s2-foundations.3
+ - @spectrum-css/modal@6.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 11.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.2
+ - @spectrum-css/underlay@5.0.0-s2-foundations.2
+ - @spectrum-css/divider@4.0.0-s2-foundations.2
+ - @spectrum-css/modal@6.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 11.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.1
+ - @spectrum-css/underlay@5.0.0-s2-foundations.1
+ - @spectrum-css/divider@4.0.0-s2-foundations.1
+ - @spectrum-css/modal@6.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 11.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.0
+ - @spectrum-css/divider@4.0.0-s2-foundations.0
+ - @spectrum-css/modal@6.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/underlay@5.0.0-s2-foundations.0
+
## 10.2.0
### Minor Changes
diff --git a/components/dialog/index.css b/components/dialog/index.css
index 513da55f2c3..760f4a5975b 100644
--- a/components/dialog/index.css
+++ b/components/dialog/index.css
@@ -11,36 +11,18 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Dialog {
- /* The font-size of the fullscreen dialog header */
- --spectrum-dialog-fullscreen-header-text-size: 28px;
- --spectrum-dialog-min-inline-size: 288px;
- --spectrum-dialog-confirm-small-width: 400px;
- --spectrum-dialog-confirm-medium-width: 480px;
- --spectrum-dialog-confirm-large-width: 640px;
--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-title-text-color: var(--spectrum-gray-900);
- --spectrum-dialog-confirm-description-text-line-height: var(--spectrum-line-height-100);
- --spectrum-dialog-confirm-title-text-line-height: var(--spectrum-line-height-100);
- --spectrum-dialog-heading-font-weight: var(--spectrum-heading-sans-serif-font-weight);
-
--spectrum-dialog-confirm-description-padding: var(--spectrum-spacing-50);
- --spectrum-dialog-confirm-description-margin: calc(var(--spectrum-spacing-50) * -1);
- --spectrum-dialog-confirm-footer-padding-top: var(--spectrum-spacing-600);
--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-dialog-confirm-divider-height: var(--spectrum-spacing-50);
-}
-/* @deprecated .spectrum-Dialog--medium */
-.spectrum-Dialog,
-.spectrum-Dialog--medium {
/* Be a flexbox to allow a full sized content area that scrolls */
display: flex;
@@ -48,8 +30,8 @@
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-confirm-medium-width, var(--spectrum-dialog-confirm-medium-width));
- min-inline-size: var(--mod-dialog-min-inline-size, var(--spectrum-dialog-min-inline-size));
+ inline-size: var(--mod-dialog-width, var(--mod-dialog-confirm-medium-width, 480px));
+ min-inline-size: var(--mod-dialog-min-inline-size, 288px);
max-inline-size: 100%;
max-block-size: inherit;
@@ -57,16 +39,12 @@
outline: none;
}
-/* @deprecated .spectrum-Dialog--small */
-.spectrum-Dialog--sizeS,
-.spectrum-Dialog--small {
- inline-size: var(--mod-dialog-confirm-small-width, var(--spectrum-dialog-confirm-small-width));
+.spectrum-Dialog--sizeS {
+ --mod-dialog-width: var(--mod-dialog-confirm-small-width, 400px);
}
-/* @deprecated .spectrum-Dialog--large */
-.spectrum-Dialog--sizeL,
-.spectrum-Dialog--large {
- inline-size: var(--mod-dialog-confirm-large-width, var(--spectrum-dialog-confirm-large-width));
+.spectrum-Dialog--sizeL {
+ --mod-dialog-width: var(--mod-dialog-confirm-large-width, 640px);
}
.spectrum-Dialog-hero {
@@ -86,7 +64,6 @@
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 1fr auto var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
grid-template-areas:
"hero hero hero hero hero hero"
". . . . . ."
@@ -94,7 +71,7 @@
". 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));
inline-size: 100%;
}
@@ -104,9 +81,9 @@
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-dialog-heading-font-weight));
- line-height: var(--mod-dialog-confirm-title-text-line-height, var(--spectrum-dialog-confirm-title-text-line-height));
- color: var(--mod-dialog-confirm-title-text-color, var(--spectrum-dialog-confirm-title-text-color));
+ 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));
outline: none; /* Hide focus outline */
padding-inline-end: var(--mod-dialog-confirm-gap-size, var(--spectrum-dialog-confirm-gap-size));
@@ -148,7 +125,7 @@
}
.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-dialog-confirm-divider-height)));
+ 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)));
}
}
@@ -167,19 +144,20 @@
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-dialog-confirm-description-text-line-height));
+ 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, var(--spectrum-dialog-confirm-description-margin));
+ margin: 0 var(--mod-dialog-confirm-description-margin, calc(var(--spectrum-spacing-50) * -1));
+
}
.spectrum-Dialog-footer {
grid-area: footer;
/* 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-dialog-confirm-footer-padding-top));
+ padding-block-start: var(--mod-dialog-confirm-footer-padding-top, var(--spectrum-spacing-600));
display: flex;
flex-wrap: wrap;
@@ -213,7 +191,6 @@
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 1fr auto var(--mod-dialog-confirm-padding-grid, var(--spectrum-dialog-confirm-padding-grid));
grid-template-areas:
"hero hero hero hero hero hero hero"
". . . . . closeButton closeButton"
@@ -221,7 +198,7 @@
". 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;
@@ -274,7 +251,7 @@
}
.spectrum-Dialog-heading {
- font-size: var(--mod-dialog-fullscreen-header-text-size, var(--spectrum-dialog-fullscreen-header-text-size));
+ font-size: var(--mod-dialog-fullscreen-header-text-size, 28px);
}
.spectrum-Dialog-content {
@@ -326,8 +303,7 @@
". divider divider divider divider divider ."
". content content content content content ."
". footer footer buttonGroup buttonGroup buttonGroup ."
- ". . . . . . .";
- }
+ ". . . . . . .";}
.spectrum-Dialog .spectrum-Dialog-header {
justify-content: flex-start;
@@ -346,8 +322,7 @@
". divider ."
". content ."
". buttonGroup ."
- ". . .";
- }
+ ". . .";}
.spectrum-Dialog-buttonGroup {
padding-block-start: var(--mod-dialog-confirm-buttongroup-padding-top, var(--spectrum-dialog-confirm-buttongroup-padding-top));
diff --git a/components/dialog/metadata/metadata.json b/components/dialog/metadata/metadata.json
index 44cd1a85b8e..812542da227 100644
--- a/components/dialog/metadata/metadata.json
+++ b/components/dialog/metadata/metadata.json
@@ -18,13 +18,10 @@
".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-footer",
".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-heading",
".spectrum-Dialog--fullscreenTakeover.spectrum-Dialog .spectrum-Dialog-grid",
- ".spectrum-Dialog--large",
- ".spectrum-Dialog--medium",
".spectrum-Dialog--noDivider .spectrum-Dialog-divider",
".spectrum-Dialog--noDivider .spectrum-Dialog-heading",
".spectrum-Dialog--sizeL",
".spectrum-Dialog--sizeS",
- ".spectrum-Dialog--small",
".spectrum-Dialog-buttonGroup",
".spectrum-Dialog-buttonGroup.spectrum-Dialog-buttonGroup--noFooter",
".spectrum-Dialog-closeButton",
@@ -66,34 +63,23 @@
"--mod-dialog-confirm-title-text-size",
"--mod-dialog-fullscreen-header-text-size",
"--mod-dialog-heading-font-weight",
- "--mod-dialog-min-inline-size"
+ "--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-margin",
"--spectrum-dialog-confirm-description-padding",
"--spectrum-dialog-confirm-description-text-color",
- "--spectrum-dialog-confirm-description-text-line-height",
"--spectrum-dialog-confirm-description-text-size",
"--spectrum-dialog-confirm-divider-block-spacing-end",
"--spectrum-dialog-confirm-divider-block-spacing-start",
- "--spectrum-dialog-confirm-divider-height",
- "--spectrum-dialog-confirm-footer-padding-top",
"--spectrum-dialog-confirm-gap-size",
"--spectrum-dialog-confirm-hero-height",
- "--spectrum-dialog-confirm-large-width",
- "--spectrum-dialog-confirm-medium-width",
"--spectrum-dialog-confirm-padding-grid",
- "--spectrum-dialog-confirm-small-width",
- "--spectrum-dialog-confirm-title-text-color",
- "--spectrum-dialog-confirm-title-text-line-height",
- "--spectrum-dialog-confirm-title-text-size",
- "--spectrum-dialog-fullscreen-header-text-size",
- "--spectrum-dialog-heading-font-weight",
- "--spectrum-dialog-min-inline-size"
+ "--spectrum-dialog-confirm-title-text-size"
],
"global": [
"--spectrum-component-bottom-to-text-300",
diff --git a/components/dialog/metadata/mods.md b/components/dialog/metadata/mods.md
index 2be49da8f6e..2642a916d3e 100644
--- a/components/dialog/metadata/mods.md
+++ b/components/dialog/metadata/mods.md
@@ -26,3 +26,4 @@
| `--mod-dialog-fullscreen-header-text-size` |
| `--mod-dialog-heading-font-weight` |
| `--mod-dialog-min-inline-size` |
+| `--mod-dialog-width` |
diff --git a/components/dialog/package.json b/components/dialog/package.json
index 128c8e408c0..38352daa6ee 100644
--- a/components/dialog/package.json
+++ b/components/dialog/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/dialog",
- "version": "10.2.0",
+ "version": "11.0.0-s2-foundations.16",
"description": "The Spectrum CSS dialog component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,21 +21,23 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/closebutton": ">=5",
- "@spectrum-css/divider": ">=3",
- "@spectrum-css/modal": ">=5",
- "@spectrum-css/tokens": ">=14",
- "@spectrum-css/underlay": ">=4"
+ "@spectrum-css/closebutton": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/divider": ">=4.0.0-s2-foundations.0",
+ "@spectrum-css/modal": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0",
+ "@spectrum-css/underlay": ">=5.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/divider": {
diff --git a/components/dialog/stories/dialog.stories.js b/components/dialog/stories/dialog.stories.js
index 3e40c848883..1256f6519ff 100644
--- a/components/dialog/stories/dialog.stories.js
+++ b/components/dialog/stories/dialog.stories.js
@@ -1,6 +1,6 @@
import { withUnderlayWrapper } from "@spectrum-css/preview/decorators";
import { disableDefaultModes } from "@spectrum-css/preview/modes";
-import { isOpen } from "@spectrum-css/preview/types";
+import { isOpen, size } from "@spectrum-css/preview/types";
import { Template as Typography } from "@spectrum-css/typography/stories/template.js";
import metadata from "../metadata/metadata.json";
import packageJson from "../package.json";
@@ -36,16 +36,7 @@ export default {
control: "boolean",
},
footer: { table: { disable: true } },
- size: {
- name: "Size",
- type: { name: "string", required: true },
- table: {
- type: { summary: "string" },
- category: "Component",
- },
- options: ["small", "medium", "large"],
- control: "select",
- },
+ size: size(["s", "m", "l"]),
layout: {
name: "Layout",
type: { name: "string" },
@@ -106,7 +97,7 @@ export default {
hasDivider: true,
isOpen: true,
showModal: true,
- size: "medium",
+ size: "m",
layout: "default",
},
parameters: {
@@ -120,6 +111,10 @@ export default {
height: "500px",
},
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=839-1128",
+ },
packageJson,
metadata,
},
@@ -155,7 +150,7 @@ DefaultSmall.parameters = {
};
DefaultSmall.args = {
...Default.args,
- size: "small",
+ size: "s",
};
export const DefaultLarge = Template.bind({});
@@ -166,7 +161,7 @@ DefaultLarge.parameters = {
};
DefaultLarge.args = {
...Default.args,
- size: "large",
+ size: "l",
};
/**
@@ -237,6 +232,10 @@ WithScroll.parameters = {
export const Fullscreen = DialogFullscreen.bind({});
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,
@@ -249,6 +248,10 @@ Fullscreen.args = {
export const FullscreenTakeover = DialogFullscreenTakeover.bind({});
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,
diff --git a/components/dialog/stories/template.js b/components/dialog/stories/template.js
index 860bd6b6302..b98d9747be8 100644
--- a/components/dialog/stories/template.js
+++ b/components/dialog/stories/template.js
@@ -10,6 +10,9 @@ 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-Dialog",
@@ -23,13 +26,16 @@ export const Template = ({
footer = [],
customClasses = [],
id = getRandomId("dialog"),
- size = "medium",
+ size = "m",
layout,
heroImageUrl,
customStyles = {},
} = {}, context = {}) => {
const { updateArgs } = context;
- const toggleOpen = () => updateArgs({ isOpen: !isOpen });
+
+ const toggleOpen = function () {
+ updateArgs({ isOpen: !isOpen });
+ };
const Dialog = html`
layout !== l),
[`${rootClass}--${layout}`]: typeof layout !== "undefined",
- [`${rootClass}--${size}`]: typeof size !== "undefined",
+ [`${rootClass}--size${size?.toUpperCase()}`]: typeof size !== "undefined",
[`${rootClass}--noDivider`]: !hasDivider,
...customClasses.reduce((a, c) => ({ ...a, [c]: true }), {}),
})}
@@ -50,7 +56,7 @@ export const Template = ({
${when(typeof heroImageUrl !== "undefined", () =>
html`
-
@@ -119,4 +125,3 @@ export const Template = ({
return Dialog;
}
};
-
diff --git a/components/dialog/themes/express.css b/components/dialog/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/dialog/themes/express.css
+++ b/components/dialog/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/dialog/themes/spectrum-two.css b/components/dialog/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/dialog/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/dialog/themes/spectrum.css b/components/dialog/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/dialog/themes/spectrum.css
+++ b/components/dialog/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/divider/CHANGELOG.md b/components/divider/CHANGELOG.md
index 421030f320e..9e947615114 100644
--- a/components/divider/CHANGELOG.md
+++ b/components/divider/CHANGELOG.md
@@ -1,5 +1,210 @@
# Change Log
+## 4.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 4.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 4.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 4.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 4.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 4.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 4.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 4.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 4.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 4.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 4.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 4.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 4.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 4.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 4.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 4.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 4.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 3.2.0
### Minor Changes
diff --git a/components/divider/index.css b/components/divider/index.css
index e947909bf6c..762bdbdcfa4 100644
--- a/components/divider/index.css
+++ b/components/divider/index.css
@@ -11,65 +11,31 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
-.spectrum-Divider {
- /* default thickness no size */
- --spectrum-divider-thickness: var(--spectrum-divider-thickness-medium);
+/* windows high contrast mode */
+@media (forced-colors: active) {
+ .spectrum-Divider {
+ background-color: CanvasText !important;
+ }
+}
- /* default background color no size */
+.spectrum-Divider,
+.spectrum-Divider--sizeM {
+ --spectrum-divider-thickness: var(--spectrum-divider-thickness-medium);
--spectrum-divider-background-color: var(--spectrum-divider-background-color-medium);
-
- /* background colors */
- --spectrum-divider-background-color-small: var(--spectrum-gray-300);
- --spectrum-divider-background-color-medium: var(--spectrum-gray-300);
- --spectrum-divider-background-color-large: var(--spectrum-gray-800);
-
- /* static white background colors */
- --spectrum-divider-background-color-small-static-white: var(--spectrum-transparent-white-300);
- --spectrum-divider-background-color-medium-static-white: var(--spectrum-transparent-white-300);
- --spectrum-divider-background-color-large-static-white: var(--spectrum-transparent-white-800);
-
- /* static black background colors */
- --spectrum-divider-background-color-small-static-black: var(--spectrum-transparent-black-300);
- --spectrum-divider-background-color-medium-static-black: var(--spectrum-transparent-black-300);
- --spectrum-divider-background-color-large-static-black: var(--spectrum-transparent-black-800);
}
-/* small divider */
.spectrum-Divider--sizeS {
--spectrum-divider-thickness: var(--spectrum-divider-thickness-small);
--spectrum-divider-background-color: var(--spectrum-divider-background-color-small);
}
-/* medium divider */
-.spectrum-Divider--sizeM {
- --spectrum-divider-thickness: var(--spectrum-divider-thickness-medium);
- --spectrum-divider-background-color: var(--spectrum-divider-background-color-medium);
-}
-
-/* large divider */
.spectrum-Divider--sizeL {
--spectrum-divider-thickness: var(--spectrum-divider-thickness-large);
--spectrum-divider-background-color: var(--spectrum-divider-background-color-large);
}
-/* windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-Divider,
- .spectrum-Divider--sizeS,
- .spectrum-Divider--sizeM,
- .spectrum-Divider--sizeL {
- --spectrum-divider-background-color: CanvasText;
- --spectrum-divider-background-color-small-static-white: CanvasText;
- --spectrum-divider-background-color-medium-static-white: CanvasText;
- --spectrum-divider-background-color-large-static-white: CanvasText;
- --spectrum-divider-background-color-small-static-black: CanvasText;
- --spectrum-divider-background-color-medium-static-black: CanvasText;
- --spectrum-divider-background-color-large-static-black: CanvasText;
- }
-}
-
.spectrum-Divider {
block-size: var(--mod-divider-thickness, var(--spectrum-divider-thickness));
inline-size: 100%;
@@ -86,14 +52,15 @@
/* static white variant colors */
.spectrum-Divider--staticWhite {
- &.spectrum-Divider--sizeS {
- --spectrum-divider-background-color: var(--mod-divider-background-color-small-static-white, var(--spectrum-divider-background-color-small-static-white));
- }
-
+ &,
&.spectrum-Divider--sizeM {
--spectrum-divider-background-color: var(--mod-divider-background-color-medium-static-white, var(--spectrum-divider-background-color-medium-static-white));
}
+ &.spectrum-Divider--sizeS {
+ --spectrum-divider-background-color: var(--mod-divider-background-color-small-static-white, var(--spectrum-divider-background-color-small-static-white));
+ }
+
&.spectrum-Divider--sizeL {
--spectrum-divider-background-color: var(--mod-divider-background-color-large-static-white, var(--spectrum-divider-background-color-large-static-white));
}
@@ -101,14 +68,15 @@
/* static black variant colors */
.spectrum-Divider--staticBlack {
- &.spectrum-Divider--sizeS {
- --spectrum-divider-background-color: var(--mod-divider-background-color-small-static-black, var(--spectrum-divider-background-color-small-static-black));
- }
-
+ &,
&.spectrum-Divider--sizeM {
--spectrum-divider-background-color: var(--mod-divider-background-color-medium-static-black, var(--spectrum-divider-background-color-medium-static-black));
}
+ &.spectrum-Divider--sizeS {
+ --spectrum-divider-background-color: var(--mod-divider-background-color-small-static-black, var(--spectrum-divider-background-color-small-static-black));
+ }
+
&.spectrum-Divider--sizeL {
--spectrum-divider-background-color: var(--mod-divider-background-color-large-static-black, var(--spectrum-divider-background-color-large-static-black));
}
diff --git a/components/divider/metadata/metadata.json b/components/divider/metadata/metadata.json
index 2c200f1bbff..d4d1ed9e1e4 100644
--- a/components/divider/metadata/metadata.json
+++ b/components/divider/metadata/metadata.json
@@ -5,9 +5,11 @@
".spectrum-Divider--sizeL",
".spectrum-Divider--sizeM",
".spectrum-Divider--sizeS",
+ ".spectrum-Divider--staticBlack",
".spectrum-Divider--staticBlack.spectrum-Divider--sizeL",
".spectrum-Divider--staticBlack.spectrum-Divider--sizeM",
".spectrum-Divider--staticBlack.spectrum-Divider--sizeS",
+ ".spectrum-Divider--staticWhite",
".spectrum-Divider--staticWhite.spectrum-Divider--sizeL",
".spectrum-Divider--staticWhite.spectrum-Divider--sizeM",
".spectrum-Divider--staticWhite.spectrum-Divider--sizeS",
@@ -43,14 +45,24 @@
"--spectrum-divider-thickness-small"
],
"global": [
- "--spectrum-gray-300",
+ "--spectrum-gray-200",
"--spectrum-gray-800",
- "--spectrum-transparent-black-300",
- "--spectrum-transparent-black-800",
- "--spectrum-transparent-white-300",
- "--spectrum-transparent-white-800"
+ "--spectrum-transparent-black-400",
+ "--spectrum-transparent-black-900",
+ "--spectrum-transparent-white-400",
+ "--spectrum-transparent-white-900"
+ ],
+ "system-theme": [
+ "--system-divider-background-color-large",
+ "--system-divider-background-color-large-static-black",
+ "--system-divider-background-color-large-static-white",
+ "--system-divider-background-color-medium",
+ "--system-divider-background-color-medium-static-black",
+ "--system-divider-background-color-medium-static-white",
+ "--system-divider-background-color-small",
+ "--system-divider-background-color-small-static-black",
+ "--system-divider-background-color-small-static-white"
],
- "system-theme": [],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/divider/package.json b/components/divider/package.json
index f9d255af819..daf36b69fe9 100644
--- a/components/divider/package.json
+++ b/components/divider/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/divider",
- "version": "3.2.0",
+ "version": "4.0.0-s2-foundations.16",
"description": "The Spectrum CSS divider component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/divider/stories/divider.stories.js b/components/divider/stories/divider.stories.js
index 45eb6b925cf..77734460505 100644
--- a/components/divider/stories/divider.stories.js
+++ b/components/divider/stories/divider.stories.js
@@ -34,6 +34,10 @@ export default {
minDimensionValues: true,
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=13642-334",
+ },
packageJson,
metadata,
},
diff --git a/components/divider/stories/template.js b/components/divider/stories/template.js
index cd3d9bc1a64..ac2ffa2a4c1 100644
--- a/components/divider/stories/template.js
+++ b/components/divider/stories/template.js
@@ -4,6 +4,9 @@ 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",
diff --git a/components/divider/themes/express.css b/components/divider/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/divider/themes/express.css
+++ b/components/divider/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/divider/themes/spectrum-two.css b/components/divider/themes/spectrum-two.css
new file mode 100644
index 00000000000..261e20f0a19
--- /dev/null
+++ b/components/divider/themes/spectrum-two.css
@@ -0,0 +1,31 @@
+/*!
+ * 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-small: var(--spectrum-gray-200);
+ --spectrum-divider-background-color-medium: var(--spectrum-gray-200);
+ --spectrum-divider-background-color-large: var(--spectrum-gray-800);
+
+ /* static white background colors */
+ --spectrum-divider-background-color-small-static-white: var(--spectrum-transparent-white-400);
+ --spectrum-divider-background-color-medium-static-white: var(--spectrum-transparent-white-400);
+ --spectrum-divider-background-color-large-static-white: var(--spectrum-transparent-white-900);
+
+ /* static black background colors */
+ --spectrum-divider-background-color-small-static-black: var(--spectrum-transparent-black-400);
+ --spectrum-divider-background-color-medium-static-black: var(--spectrum-transparent-black-400);
+ --spectrum-divider-background-color-large-static-black: var(--spectrum-transparent-black-900);
+ }
+}
diff --git a/components/divider/themes/spectrum.css b/components/divider/themes/spectrum.css
index 3b48a570c21..64108adc7b7 100644
--- a/components/divider/themes/spectrum.css
+++ b/components/divider/themes/spectrum.css
@@ -10,3 +10,25 @@
* 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-small: var(--spectrum-gray-300);
+ --spectrum-divider-background-color-medium: var(--spectrum-gray-300);
+
+ /* static white background colors */
+ --spectrum-divider-background-color-small-static-white: var(--spectrum-transparent-white-300);
+ --spectrum-divider-background-color-medium-static-white: var(--spectrum-transparent-white-300);
+ --spectrum-divider-background-color-large-static-white: var(--spectrum-transparent-white-800);
+
+ /* static black background colors */
+ --spectrum-divider-background-color-small-static-black: var(--spectrum-transparent-black-300);
+ --spectrum-divider-background-color-medium-static-black: var(--spectrum-transparent-black-300);
+ --spectrum-divider-background-color-large-static-black: var(--spectrum-transparent-black-800);
+ }
+}
diff --git a/components/dropindicator/CHANGELOG.md b/components/dropindicator/CHANGELOG.md
index c77d7f72bf4..849761cf369 100644
--- a/components/dropindicator/CHANGELOG.md
+++ b/components/dropindicator/CHANGELOG.md
@@ -1,5 +1,231 @@
# Change Log
+## 6.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
diff --git a/components/dropindicator/index.css b/components/dropindicator/index.css
index a247b66bd6a..d7028af682e 100644
--- a/components/dropindicator/index.css
+++ b/components/dropindicator/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
@media (forced-colors: active) {
.spectrum-DropIndicator {
@@ -20,15 +20,11 @@
}
.spectrum-DropIndicator {
- --spectrum-dropindicator-border-color: var(--spectrum-dropindicator-color);
- --spectrum-dropindicator-circle-color: var(--spectrum-dropindicator-color);
--spectrum-dropindicator-border-size: var(--spectrum-border-width-200);
--spectrum-dropindicator-circle-size: 12px;
-}
-.spectrum-DropIndicator {
position: relative;
- background: var(--highcontrast-dropindicator-color, var(--mod-dropindicator-border-color, var(--spectrum-dropindicator-border-color)));
+ background: var(--highcontrast-dropindicator-color, var(--mod-dropindicator-border-color, var(--spectrum-dropindicator-color)));
&::before,
&::after {
@@ -39,7 +35,7 @@
border-radius: 50%;
border: var(--mod-dropindicator-border-size, var(--spectrum-dropindicator-border-size)) solid;
box-sizing: border-box;
- border-color: var(--highcontrast-dropindicator-color, var(--mod-dropindicator-circle-color, var(--spectrum-dropindicator-circle-color)));
+ border-color: var(--highcontrast-dropindicator-color, var(--mod-dropindicator-circle-color, var(--spectrum-dropindicator-color)));
}
}
diff --git a/components/dropindicator/metadata/metadata.json b/components/dropindicator/metadata/metadata.json
index e8c125fbcd4..dd3a7a50810 100644
--- a/components/dropindicator/metadata/metadata.json
+++ b/components/dropindicator/metadata/metadata.json
@@ -18,9 +18,7 @@
"--mod-dropindicator-circle-size"
],
"component": [
- "--spectrum-dropindicator-border-color",
"--spectrum-dropindicator-border-size",
- "--spectrum-dropindicator-circle-color",
"--spectrum-dropindicator-circle-size",
"--spectrum-dropindicator-color"
],
diff --git a/components/dropindicator/package.json b/components/dropindicator/package.json
index dc07373203e..42922ba5a4c 100644
--- a/components/dropindicator/package.json
+++ b/components/dropindicator/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/dropindicator",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.16",
"description": "The Spectrum CSS dropindicator component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/icon": "workspace:^",
diff --git a/components/dropindicator/stories/template.js b/components/dropindicator/stories/template.js
index e9d57e8ffcf..6106bd1cc66 100644
--- a/components/dropindicator/stories/template.js
+++ b/components/dropindicator/stories/template.js
@@ -4,6 +4,9 @@ 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-DropIndicator",
diff --git a/components/dropindicator/themes/express.css b/components/dropindicator/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/dropindicator/themes/express.css
+++ b/components/dropindicator/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/dropindicator/themes/spectrum-two.css b/components/dropindicator/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/dropindicator/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/dropindicator/themes/spectrum.css b/components/dropindicator/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/dropindicator/themes/spectrum.css
+++ b/components/dropindicator/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/dropzone/CHANGELOG.md b/components/dropzone/CHANGELOG.md
index 63c56fbd223..a4cc5b9def6 100644
--- a/components/dropzone/CHANGELOG.md
+++ b/components/dropzone/CHANGELOG.md
@@ -1,5 +1,271 @@
# Change Log
+## 7.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.16
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.24
+ - @spectrum-css/link@6.0.0-s2-foundations.16
+
+## 7.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.15
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.21
+ - @spectrum-css/link@6.0.0-s2-foundations.15
+
+## 7.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.14
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.20
+ - @spectrum-css/link@6.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 7.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.13
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.18
+ - @spectrum-css/link@6.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 7.0.0-s2-foundations.13
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`877ca25`](https://github.com/adobe/spectrum-css/commit/877ca2516363e9483e7b3ecbfddc900b4e6a9a65) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-241] In order to show dropzone background color, --spectrum-drop-zone-background-color has been changed to --mod-drop-zone-background-color in &.is-dragged and &.is-filled
+
+## 7.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.12
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.13
+ - @spectrum-css/link@6.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.11
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.12
+ - @spectrum-css/link@6.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 7.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.10
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.10
+ - @spectrum-css/link@6.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 7.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.9
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.9
+ - @spectrum-css/link@6.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 7.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.8
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.8
+ - @spectrum-css/link@6.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 7.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.7
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.7
+ - @spectrum-css/link@6.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 7.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.6
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.6
+ - @spectrum-css/link@6.0.0-s2-foundations.6
+
+## 7.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.5
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.5
+ - @spectrum-css/link@6.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 7.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.4
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.4
+ - @spectrum-css/link@6.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 7.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.3
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.3
+ - @spectrum-css/link@6.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 7.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.2
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.2
+ - @spectrum-css/link@6.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 7.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.1
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.1
+ - @spectrum-css/link@6.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 7.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/illustratedmessage@8.0.0-s2-foundations.0
+ - @spectrum-css/link@6.0.0-s2-foundations.0
+
## 6.2.0
### Minor Changes
@@ -19,6 +285,12 @@
- [#3300](https://github.com/adobe/spectrum-css/pull/3300) [`89797d0`](https://github.com/adobe/spectrum-css/commit/89797d0324bcbf2195a28840ce87ed6959da24a5) Thanks [@castastrophe](https://github.com/castastrophe)! - Add passthrough markers to prevent unnecessary warnings about unused custom properties
+## 6.1.4
+
+### Patch Changes
+
+- [#3300](https://github.com/adobe/spectrum-css/pull/3300) [`89797d0`](https://github.com/adobe/spectrum-css/commit/89797d0324bcbf2195a28840ce87ed6959da24a5) Thanks [@castastrophe](https://github.com/castastrophe)! - Add passthrough markers to prevent unnecessary warnings about unused custom properties
+
## 6.1.3
### Patch Changes
diff --git a/components/dropzone/index.css b/components/dropzone/index.css
index f46224d1a88..2b3fbefe0c7 100644
--- a/components/dropzone/index.css
+++ b/components/dropzone/index.css
@@ -11,115 +11,75 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-DropZone {
- --spectrum-drop-zone-padding: var(--spectrum-spacing-400);
- --spectrum-drop-zone-illustration-to-heading: var(--spectrum-spacing-400);
- --spectrum-drop-zone-heading-to-body: var(--spectrum-spacing-75);
-
--spectrum-drop-zone-border-width: var(--spectrum-border-width-200);
- --spectrum-drop-zone-corner-radius: var(--spectrum-corner-radius-100);
- --spectrum-drop-zone-border-color: var(--spectrum-gray-300);
-
- --spectrum-drop-zone-heading-font-family: var(--spectrum-sans-font-family-stack);
- --spectrum-drop-zone-heading-font-weight: var(--spectrum-heading-sans-serif-font-weight);
- --spectrum-drop-zone-heading-font-style: var(--spectrum-heading-sans-serif-font-style);
- --spectrum-drop-zone-heading-font-size: var(--spectrum-drop-zone-title-size);
- --spectrum-drop-zone-heading-line-height: var(--spectrum-heading-line-height);
- --spectrum-drop-zone-heading-color: var(--spectrum-heading-color);
-
- --spectrum-drop-zone-body-font-family: var(--spectrum-sans-font-family-stack);
- --spectrum-drop-zone-body-font-weight: var(--spectrum-body-sans-serif-font-weight);
- --spectrum-drop-zone-body-font-style: var(--spectrum-body-sans-serif-font-style);
- --spectrum-drop-zone-body-font-size: var(--spectrum-drop-zone-body-size);
- --spectrum-drop-zone-body-line-height: var(--spectrum-body-line-height);
- --spectrum-drop-zone-body-color: var(--spectrum-body-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-visual-color);
-
- /* Filled styles */
- --spectrum-drop-zone-content-height: var(--spectrum-component-height-300);
- --spectrum-drop-zone-content-max-width: var(--spectrum-drop-zone-content-maximum-width);
- --spectrum-drop-zone-content-edge-to-text: var(--spectrum-component-edge-to-text-300);
- --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-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-style: var(--spectrum-default-font-style);
- --spectrum-drop-zone-content-font-size: var(--spectrum-font-size-300);
- --spectrum-drop-zone-content-line-height: var(--spectrum-line-height-100);
-
--spectrum-drop-zone-content-background-color: var(--spectrum-accent-visual-color);
- --spectrum-drop-zone-content-color: var(--spectrum-white);
- /* @passthrough start -- settings for a nested illustrated message */
+ /* @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-drop-zone-illustration-to-heading));
- --mod-illustrated-message-heading-to-body: var(--mod-drop-zone-heading-to-body, var(--spectrum-drop-zone-heading-to-body));
- --mod-illustrated-message-title-font-family: var(--mod-drop-zone-heading-font-family, var(--spectrum-drop-zone-heading-font-family));
- --mod-illustrated-message-title-font-weight: var(--mod-drop-zone-heading-font-weight, var(--spectrum-drop-zone-heading-font-weight));
- --mod-illustrated-message-title-font-style: var(--mod-drop-zone-heading-font-style, var(--spectrum-drop-zone-heading-font-style));
- --mod-illustrated-message-title-font-size: var(--mod-drop-zone-heading-font-size, var(--spectrum-drop-zone-heading-font-size));
- --mod-illustrated-message-title-line-height: var(--mod-drop-zone-heading-line-height, var(--spectrum-drop-zone-heading-line-height));
- --mod-illustrated-message-title-color: var(--mod-drop-zone-heading-color, var(--spectrum-drop-zone-heading-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));
--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-drop-zone-body-font-family));
- --mod-illustrated-message-description-font-weight: var(--mod-drop-zone-body-font-weight, var(--spectrum-drop-zone-body-font-weight));
- --mod-illustrated-message-description-font-style: var(--mod-drop-zone-body-font-style, var(--spectrum-drop-zone-body-font-style));
- --mod-illustrated-message-description-font-size: var(--mod-drop-zone-body-font-size, var(--spectrum-drop-zone-body-font-size));
- --mod-illustrated-message-description-line-height: var(--mod-drop-zone-body-line-height, var(--spectrum-drop-zone-body-line-height));
- --mod-illustrated-message-description-color: var(--mod-drop-zone-body-color, var(--spectrum-drop-zone-body-color));
+ --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 -- settings for a nested actionbutton */
- --mod-actionbutton-font-size: var(--mod-drop-zone-content-font-size, var(--spectrum-drop-zone-content-font-size));
- --mod-actionbutton-label-color: var(--mod-drop-zone-content-color, var(--spectrum-drop-zone-content-color));
- --mod-actionbutton-edge-to-text: var(--mod-drop-zone-content-edge-to-text, var(--spectrum-drop-zone-content-edge-to-text));
+ /* @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 */
- /* cjk language support */
- &:lang(ja),
- &:lang(zh),
- &:lang(ko) {
- --spectrum-drop-zone-heading-font-size: var(--spectrum-drop-zone-cjk-title-size);
- }
-}
-
-.spectrum-DropZone {
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-drop-zone-padding)) - var(--mod-drop-zone-border-width, var(--spectrum-drop-zone-border-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-drop-zone-corner-radius));
+ border-radius: var(--mod-drop-zone-corner-radius, var(--spectrum-corner-radius-100));
border-style: var(--mod-drop-zone-border-style, dashed);
- background-size: cover;
background-color: var(--mod-drop-zone-background-color, var(--spectrum-drop-zone-background-color));
+ 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);
+ }
&.is-dragged {
- /* @deprecation --mod-drop-zone-border-style--dragged will be removed during the S2 migration; please update your code to --mod-drop-zone-border-style-dragged */
- --mod-drop-zone-border-style: var(--mod-drop-zone-border-style--dragged, var(--mod-drop-zone-border-style-dragged, solid));
+ --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)));
- --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)));
+ --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)));
- /* 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));
+ /* @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));
}
&.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)));
- /* Updated values for a nested illustrated message when state changes */
+ /* @passthrough -- Updated values for a nested illustrated message when state changes */
--mod-illustrated-message-display: none;
}
@@ -129,7 +89,8 @@
&:focus-visible {
--mod-drop-zone-border-style: solid;
- --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)));
+ --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)));
+
outline: 0;
}
}
@@ -146,16 +107,16 @@
.spectrum-DropZone-button {
box-sizing: border-box;
border: none;
- block-size: var(--mod-drop-zone-content-height, var(--spectrum-drop-zone-content-height));
- 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));
+ 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-drop-zone-content-font-family));
- font-weight: var(--mod-drop-zone-content-font-weight, var(--spectrum-drop-zone-content-font-weight));
- font-style: var(--mod-drop-zone-content-font-style, var(--spectrum-drop-zone-content-font-style));
- line-height: var(--mod-drop-zone-content-line-height, var(--spectrum-drop-zone-content-line-height));
+ 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));
&:hover,
&:focus {
diff --git a/components/dropzone/metadata/metadata.json b/components/dropzone/metadata/metadata.json
index a3bbc3e93e8..3044ecfc906 100644
--- a/components/dropzone/metadata/metadata.json
+++ b/components/dropzone/metadata/metadata.json
@@ -27,7 +27,6 @@
"--mod-drop-zone-border-color",
"--mod-drop-zone-border-color-hover",
"--mod-drop-zone-border-style",
- "--mod-drop-zone-border-style--dragged",
"--mod-drop-zone-border-style-dragged",
"--mod-drop-zone-border-width",
"--mod-drop-zone-content-background-color",
@@ -63,42 +62,14 @@
"--spectrum-drop-zone-background-color-opacity",
"--spectrum-drop-zone-background-color-opacity-filled",
"--spectrum-drop-zone-background-color-rgb",
- "--spectrum-drop-zone-body-color",
- "--spectrum-drop-zone-body-font-family",
- "--spectrum-drop-zone-body-font-size",
- "--spectrum-drop-zone-body-font-style",
- "--spectrum-drop-zone-body-font-weight",
- "--spectrum-drop-zone-body-line-height",
"--spectrum-drop-zone-body-size",
"--spectrum-drop-zone-border-color",
"--spectrum-drop-zone-border-color-hover",
"--spectrum-drop-zone-border-width",
"--spectrum-drop-zone-cjk-title-size",
"--spectrum-drop-zone-content-background-color",
- "--spectrum-drop-zone-content-bottom-to-text",
- "--spectrum-drop-zone-content-color",
- "--spectrum-drop-zone-content-edge-to-text",
- "--spectrum-drop-zone-content-font-family",
- "--spectrum-drop-zone-content-font-size",
- "--spectrum-drop-zone-content-font-style",
- "--spectrum-drop-zone-content-font-weight",
- "--spectrum-drop-zone-content-height",
- "--spectrum-drop-zone-content-line-height",
- "--spectrum-drop-zone-content-max-width",
"--spectrum-drop-zone-content-maximum-width",
- "--spectrum-drop-zone-content-top-to-text",
- "--spectrum-drop-zone-corner-radius",
- "--spectrum-drop-zone-heading-color",
- "--spectrum-drop-zone-heading-font-family",
- "--spectrum-drop-zone-heading-font-size",
- "--spectrum-drop-zone-heading-font-style",
- "--spectrum-drop-zone-heading-font-weight",
- "--spectrum-drop-zone-heading-line-height",
- "--spectrum-drop-zone-heading-to-body",
"--spectrum-drop-zone-illustration-color",
- "--spectrum-drop-zone-illustration-color-hover",
- "--spectrum-drop-zone-illustration-to-heading",
- "--spectrum-drop-zone-padding",
"--spectrum-drop-zone-title-size",
"--spectrum-drop-zone-width"
],
@@ -117,7 +88,7 @@
"--spectrum-corner-radius-100",
"--spectrum-default-font-style",
"--spectrum-font-size-300",
- "--spectrum-gray-300",
+ "--spectrum-gray-200",
"--spectrum-heading-color",
"--spectrum-heading-line-height",
"--spectrum-heading-sans-serif-font-style",
@@ -129,7 +100,7 @@
"--spectrum-spacing-75",
"--spectrum-white"
],
- "system-theme": [],
+ "system-theme": ["--system-drop-zone-border-color"],
"passthroughs": [
"--mod-actionbutton-edge-to-text",
"--mod-actionbutton-font-size",
diff --git a/components/dropzone/metadata/mods.md b/components/dropzone/metadata/mods.md
index da00c42f335..21a65244705 100644
--- a/components/dropzone/metadata/mods.md
+++ b/components/dropzone/metadata/mods.md
@@ -12,7 +12,6 @@
| `--mod-drop-zone-border-color` |
| `--mod-drop-zone-border-color-hover` |
| `--mod-drop-zone-border-style` |
-| `--mod-drop-zone-border-style--dragged` |
| `--mod-drop-zone-border-style-dragged` |
| `--mod-drop-zone-border-width` |
| `--mod-drop-zone-content-background-color` |
diff --git a/components/dropzone/package.json b/components/dropzone/package.json
index 4fb44cb6c3b..f0e562d2576 100644
--- a/components/dropzone/package.json
+++ b/components/dropzone/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/dropzone",
- "version": "6.2.0",
+ "version": "7.0.0-s2-foundations.17",
"description": "The Spectrum CSS dropzone component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,20 +21,22 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=6",
- "@spectrum-css/illustratedmessage": ">=7",
- "@spectrum-css/link": ">=5",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/illustratedmessage": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/link": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/actionbutton": {
diff --git a/components/dropzone/stories/dropzone.stories.js b/components/dropzone/stories/dropzone.stories.js
index 7bd644a0969..eba852ba47d 100644
--- a/components/dropzone/stories/dropzone.stories.js
+++ b/components/dropzone/stories/dropzone.stories.js
@@ -35,6 +35,10 @@ export default {
isFilled: false,
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=13049-185",
+ },
packageJson,
metadata,
},
diff --git a/components/dropzone/stories/template.js b/components/dropzone/stories/template.js
index 3363790eccc..9eb2dfface7 100644
--- a/components/dropzone/stories/template.js
+++ b/components/dropzone/stories/template.js
@@ -7,6 +7,9 @@ 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",
diff --git a/components/dropzone/themes/express.css b/components/dropzone/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/dropzone/themes/express.css
+++ b/components/dropzone/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/dropzone/themes/spectrum-two.css b/components/dropzone/themes/spectrum-two.css
new file mode 100644
index 00000000000..cf71b766c33
--- /dev/null
+++ b/components/dropzone/themes/spectrum-two.css
@@ -0,0 +1,18 @@
+/*!
+ * 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
index 3b48a570c21..0760508568f 100644
--- a/components/dropzone/themes/spectrum.css
+++ b/components/dropzone/themes/spectrum.css
@@ -10,3 +10,13 @@
* 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 2a4db63b4e3..32a9b5b331c 100644
--- a/components/fieldgroup/CHANGELOG.md
+++ b/components/fieldgroup/CHANGELOG.md
@@ -1,5 +1,296 @@
# Change Log
+## 6.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.20
+ - @spectrum-css/helptext@6.0.0-s2-foundations.16
+ - @spectrum-css/radio@10.0.0-s2-foundations.18
+
+## 6.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.18
+ - @spectrum-css/helptext@6.0.0-s2-foundations.15
+ - @spectrum-css/radio@10.0.0-s2-foundations.15
+
+## 6.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.17
+ - @spectrum-css/helptext@6.0.0-s2-foundations.14
+ - @spectrum-css/radio@10.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4e80ae6`](https://github.com/adobe/spectrum-css/commit/4e80ae67ddda329a5ed556b57426623c6f0f13f0) Thanks [@pfulton](https://github.com/pfulton)! - ActionButton:
+
+ - Correct --spectrum-actionbutton-background-color-selected-disabled to be --spectrum-actionbutton-(background|border)-color-disabled-selected
+
+ Combobox:
+
+ - Move --spectrum-combobox-min-inline-size and --spectrum-combobox-button-width to the index.css
+
+ FieldGroup:
+
+ - Swap gap back to margin-inline-end on FieldGroup
+
+ Typography:
+
+ - Remap body size to xs if xxs provided
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.16
+ - @spectrum-css/helptext@6.0.0-s2-foundations.13
+ - @spectrum-css/radio@10.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.12
+ - @spectrum-css/helptext@6.0.0-s2-foundations.12
+ - @spectrum-css/radio@10.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.11
+ - @spectrum-css/helptext@6.0.0-s2-foundations.11
+ - @spectrum-css/radio@10.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.10
+ - @spectrum-css/helptext@6.0.0-s2-foundations.10
+ - @spectrum-css/radio@10.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.9
+ - @spectrum-css/helptext@6.0.0-s2-foundations.9
+ - @spectrum-css/radio@10.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.8
+ - @spectrum-css/helptext@6.0.0-s2-foundations.8
+ - @spectrum-css/radio@10.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.7
+ - @spectrum-css/helptext@6.0.0-s2-foundations.7
+ - @spectrum-css/radio@10.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.6
+ - @spectrum-css/helptext@6.0.0-s2-foundations.6
+ - @spectrum-css/radio@10.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.5
+ - @spectrum-css/helptext@6.0.0-s2-foundations.5
+ - @spectrum-css/radio@10.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.4
+ - @spectrum-css/helptext@6.0.0-s2-foundations.4
+ - @spectrum-css/radio@10.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.3
+ - @spectrum-css/helptext@6.0.0-s2-foundations.3
+ - @spectrum-css/radio@10.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.2
+ - @spectrum-css/helptext@6.0.0-s2-foundations.2
+ - @spectrum-css/radio@10.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.1
+ - @spectrum-css/helptext@6.0.0-s2-foundations.1
+ - @spectrum-css/radio@10.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.0
+ - @spectrum-css/radio@10.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/helptext@6.0.0-s2-foundations.0
+
+## 5.3.0
+
+### Minor Changes
+
+- [#3328](https://github.com/adobe/spectrum-css/pull/3328) [`a0486b3`](https://github.com/adobe/spectrum-css/commit/a0486b341581c610ebc9b3acd1837be2b66eb348) Thanks [@jawinn](https://github.com/jawinn)! - The previous display of the read-only state checkboxes did not match up with any guidelines. This update removes the read-only specific styles for checkbox within the fieldgroup component, so that the boxes are still displayed and commas are not appended to the label. This includes the removal of `--spectrum-fieldgroup-readonly-delimiter` as it is no longer needed.
+
+### Patch Changes
+
+- Updated dependencies [[`a0486b3`](https://github.com/adobe/spectrum-css/commit/a0486b341581c610ebc9b3acd1837be2b66eb348)]:
+ - @spectrum-css/checkbox@9.2.1
+
## 5.3.0
### Minor Changes
diff --git a/components/fieldgroup/index.css b/components/fieldgroup/index.css
index dc2aef1d43a..76d18e86511 100644
--- a/components/fieldgroup/index.css
+++ b/components/fieldgroup/index.css
@@ -11,11 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
-
-.spectrum-FieldGroup {
- --spectrum-fieldgroup-margin: var(--spectrum-spacing-300);
-}
+@import "./themes/spectrum-two.css";
/* field group */
.spectrum-FieldGroup {
@@ -49,7 +45,7 @@
/* space between horizontal fields */
.spectrum-FieldGroup-item:not(:last-child) {
- margin-inline-end: var(--spectrum-fieldgroup-margin);
+ margin-inline-end: var(--spectrum-spacing-300);
}
/* move help text down to new row */
diff --git a/components/fieldgroup/metadata/metadata.json b/components/fieldgroup/metadata/metadata.json
index 20528391a13..c8875b9d3a9 100644
--- a/components/fieldgroup/metadata/metadata.json
+++ b/components/fieldgroup/metadata/metadata.json
@@ -11,7 +11,7 @@
".spectrum-FieldGroupInputLayout"
],
"modifiers": [],
- "component": ["--spectrum-fieldgroup-margin"],
+ "component": [],
"global": ["--spectrum-spacing-300"],
"system-theme": [],
"passthroughs": [],
diff --git a/components/fieldgroup/package.json b/components/fieldgroup/package.json
index 4cad0ed5664..5d7ed7a9d7b 100644
--- a/components/fieldgroup/package.json
+++ b/components/fieldgroup/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/fieldgroup",
- "version": "5.3.0",
+ "version": "6.0.0-s2-foundations.17",
"description": "The Spectrum CSS fieldgroup component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,20 +21,22 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/checkbox": ">=9",
- "@spectrum-css/helptext": ">=5",
- "@spectrum-css/radio": ">=9",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0",
+ "@spectrum-css/helptext": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/radio": ">=10.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/checkbox": {
diff --git a/components/fieldgroup/stories/fieldgroup.mdx b/components/fieldgroup/stories/fieldgroup.mdx
deleted file mode 100644
index 4ceef8fd355..00000000000
--- a/components/fieldgroup/stories/fieldgroup.mdx
+++ /dev/null
@@ -1,122 +0,0 @@
-import {
- ArgTypes,
- Canvas,
- Meta,
- Description,
- Title,
- Subtitle,
-} from "@storybook/blocks";
-import {
- ComponentDetails,
- TaggedReleases,
- PropertiesTable,
-} from "@spectrum-css/preview/blocks";
-
-import * as FieldGroupStories from "./fieldgroup.stories";
-
-
-
-
-
-
-
-
-
-## Variants
-
-### Vertical
-
-A vertical group of fields:
-
-#### Vertical Radio
-
-
-
-#### Vertical Checkbox
-
-
-
-### Horizontal
-
-A horizontal group of fields:
-
-#### Horizontal Radio
-
-
-
-#### Horizontal Checkbox
-
-
-
-### Invalid
-
-An invalid group of radio buttons or checkboxes is signified by negative help text.
-
-#### Invalid Radios
-
-
-
-#### Invalid Checkboxes
-
-
-
-### Required or optional
-
-
-
-
-#### Required
-
-
-
-#### Required Asterisk
-
-
-
-#### Optional
-
-
-
-### Side label position
-
-
-
-#### Side Label Vertical Radio
-
-
-
-#### Side Label Horizontal Radio
-
-
-
-#### Side Label Vertical Checkbox
-
-
-
-#### Side Label Horizontal Checkbox
-
-
-
-### Read-only Checkbox
-
-
-
-
-
-### Read-only Radio
-
-
-
-
-
-## Properties
-
-The component accepts the following inputs (properties):
-
-
-
-
-
-## Tagged releases
-
-
diff --git a/components/fieldgroup/stories/fieldgroup.stories.js b/components/fieldgroup/stories/fieldgroup.stories.js
index 9217f3b3176..3fc14929f84 100644
--- a/components/fieldgroup/stories/fieldgroup.stories.js
+++ b/components/fieldgroup/stories/fieldgroup.stories.js
@@ -4,12 +4,10 @@ import { default as RadioSettings } from "@spectrum-css/radio/stories/radio.stor
import metadata from "../metadata/metadata.json";
import packageJson from "../package.json";
import { FieldGroupSet } from "./fieldgroup.test.js";
-import { Template } from "./template.js";
+import { InputOptionsFieldGroupTemplate, NecessityIndicatorFieldGroupTemplate, Template } from "./template.js";
/**
- * A field group is a group of fields which are usually radios (also known as a radio group) or checkboxes
- * (also known as a checkbox group). A field group is composed of a field label, a group of radio
- * inputs or checkboxes, and an optional help text component.
+ * A field group is a group of fields which are usually radios (also known as a radio group) or checkboxes (also known as a checkbox group). It is composed of a [field label](/docs/components-field-label--docs), a group of [radio inputs](/docs/components-radio--docs) or [checkboxes](/docs/components-checkbox--docs), and [an optional help text component](/docs/components-help-text--docs).
*
* ## Usage notes
*
@@ -61,7 +59,6 @@ export default {
},
isInvalid,
items: { table: { disable: true } },
- fieldLabel: { table: { disable: true } },
helpText: { table: { disable: true } },
isRequired,
isReadOnly,
@@ -100,11 +97,11 @@ export default {
packageJson,
metadata,
},
- tags: ["!autodocs"],
};
export const Default = FieldGroupSet.bind({});
Default.args = {};
+Default.tags = ["!autodocs"];
// ********* VRT ONLY ********* //
export const WithForcedColors = FieldGroupSet.bind({});
@@ -117,155 +114,78 @@ WithForcedColors.parameters = {
},
};
-
// ********* DOCS ONLY ********* //
-export const VerticalRadio = Template.bind({});
-VerticalRadio.tags = ["!dev"];
-VerticalRadio.args = {
- layout: "vertical",
- inputType: "radio"
-};
-VerticalRadio.parameters = {
- chromatic: { disableSnapshot: true },
-};
-
-export const VerticalCheckbox = Template.bind({});
-VerticalCheckbox.tags = ["!dev"];
-VerticalCheckbox.args = {
- layout: "vertical",
- inputType: "checkbox",
-};
-VerticalCheckbox.parameters = {
- chromatic: { disableSnapshot: true },
-};
-
-export const HorizontalRadio = Template.bind({});
-HorizontalRadio.tags = ["!dev"];
-HorizontalRadio.args = {
- layout: "horizontal",
- inputType: "radio"
-};
-HorizontalRadio.parameters = {
- chromatic: { disableSnapshot: true },
-};
-
-export const HorizontalCheckbox = Template.bind({});
-HorizontalCheckbox.tags = ["!dev"];
-HorizontalCheckbox.args = {
- layout: "horizontal",
- inputType: "checkbox",
-};
-HorizontalCheckbox.parameters = {
- chromatic: { disableSnapshot: true },
-};
-
-export const InvalidRadio = Template.bind({});
-InvalidRadio.tags = ["!dev"];
-InvalidRadio.args = {
- layout: "horizontal",
- inputType: "radio",
- isInvalid: true
-};
-InvalidRadio.parameters = {
+/**
+ * The default field group orientation is vertical. The field label is positioned at the top with the `spectrum-FieldGroup spectrum-FieldGroup--toplabel` classes.
+ * */
+export const Vertical = InputOptionsFieldGroupTemplate.bind({});
+Vertical.tags = ["!dev"];
+Vertical.args = Default.args;
+Vertical.parameters = {
chromatic: { disableSnapshot: true },
};
+Vertical.storyName = "Default";
-export const InvalidCheckbox = Template.bind({});
-InvalidCheckbox.tags = ["!dev"];
-InvalidCheckbox.args = {
+/**
+ * A horizontal group of fields. Use a horizontal field group when vertical space is limited.
+ * */
+export const Horizontal = InputOptionsFieldGroupTemplate.bind({});
+Horizontal.tags = ["!dev"];
+Horizontal.args = {
layout: "horizontal",
- inputType: "checkbox",
- isInvalid: true,
};
-InvalidCheckbox.parameters = {
+Horizontal.parameters = {
chromatic: { disableSnapshot: true },
};
/**
- * Field groups can be marked as optional or required, depending on the situation.
- * If required, the field group must either contain a "(required)" label or an asterisk. If an asterisk is used, help text must explain what the asterisk means.
+ * An invalid group of radio buttons or checkboxes is signified by negative help text.
*/
-export const Required = Template.bind({});
-Required.tags = ["!dev"];
-Required.args = {
- inputType: "radio",
- fieldLabel: "Radio group label (required)"
-};
-Required.parameters = {
- chromatic: { disableSnapshot: true },
-};
-
-export const RequiredAsterisk = Template.bind({});
-RequiredAsterisk.tags = ["!dev"];
-RequiredAsterisk.args = {
- fieldLabel: "Checkbox group label",
- inputType: "checkbox",
- isRequired: true,
+export const InvalidFieldGroups = InputOptionsFieldGroupTemplate.bind({});
+InvalidFieldGroups.tags = ["!dev"];
+InvalidFieldGroups.args = {
+ isInvalid: true
};
-RequiredAsterisk.parameters = {
+InvalidFieldGroups.parameters = {
chromatic: { disableSnapshot: true },
};
+InvalidFieldGroups.storyName = "Invalid field groups";
/**
- * Optional field groups can be denoted with text added to the end of the label "(optional)" or have no indication at all.
+ * Field groups can be marked as optional or required, depending on the situation.
+ * - If required, the field group must either contain the text "(required)" in its label or an asterisk. If an asterisk is used, help text must explain what the asterisk means.
+ * - Optional field groups can be denoted with the text "(optional)" added to the end of the label or have no indication at all.
*/
-export const Optional = Template.bind({});
-Optional.tags = ["!dev"];
-Optional.args = {
- fieldLabel: "Checkbox group label (optional)",
- helpText: "",
- inputType: "checkbox",
-};
-Optional.parameters = {
+export const RequiredOptional = NecessityIndicatorFieldGroupTemplate.bind({});
+RequiredOptional.tags = ["!dev"];
+RequiredOptional.parameters = {
chromatic: { disableSnapshot: true },
};
+RequiredOptional.storyName = "Indicating required or optional";
/**
- * The field group label has two layout options: the label can be top aligned with `spectrum-FieldGroup spectrum-FieldGroup--toplabel`, or side aligned with `spectrum-FieldGroup spectrum-FieldGroup--sidelabel`.
+ * The alternative layout option has side-aligned labels, and can be achieved with `spectrum-FieldGroup spectrum-FieldGroup--sidelabel`.
*/
-export const VerticalSideLabelRadio = Template.bind({});
-VerticalSideLabelRadio.tags = ["!dev"];
-VerticalSideLabelRadio.args = {
+export const VerticalSideLabels = InputOptionsFieldGroupTemplate.bind({});
+VerticalSideLabels.tags = ["!dev"];
+VerticalSideLabels.args = {
labelPosition: "side",
- inputType: "radio",
- layout: "vertical"
};
-VerticalSideLabelRadio.parameters = {
+VerticalSideLabels.parameters = {
chromatic: { disableSnapshot: true },
};
+VerticalSideLabels.storyName = "Default - with side labels";
-export const HorizontalSideLabelRadio = Template.bind({});
-HorizontalSideLabelRadio.tags = ["!dev"];
-HorizontalSideLabelRadio.args = {
+export const HorizontalSideLabels = InputOptionsFieldGroupTemplate.bind({});
+HorizontalSideLabels.tags = ["!dev"];
+HorizontalSideLabels.args = {
labelPosition: "side",
- inputType: "radio",
- layout: "horizontal"
-};
-HorizontalSideLabelRadio.parameters = {
- chromatic: { disableSnapshot: true },
-};
-
-export const VerticalSideLabelCheckbox = Template.bind({});
-VerticalSideLabelCheckbox.tags = ["!dev"];
-VerticalSideLabelCheckbox.args = {
- labelPosition: "side",
- inputType: "checkbox",
- layout: "vertical",
-};
-VerticalSideLabelCheckbox.parameters = {
- chromatic: { disableSnapshot: true },
-};
-
-export const HorizontalSideLabelCheckbox = Template.bind({});
-HorizontalSideLabelCheckbox.tags = ["!dev"];
-HorizontalSideLabelCheckbox.args = {
- labelPosition: "side",
- inputType: "checkbox",
layout: "horizontal",
};
-HorizontalSideLabelCheckbox.parameters = {
+HorizontalSideLabels.parameters = {
chromatic: { disableSnapshot: true },
};
+HorizontalSideLabels.storyName = "Horizontal - with side labels";
/**
* Implementations should include the following behavior for read-only checkboxes:
@@ -282,11 +202,12 @@ ReadOnlyCheckbox.args = {
ReadOnlyCheckbox.parameters = {
chromatic: { disableSnapshot: true },
};
+ReadOnlyCheckbox.storyName = "Read-only checkbox";
/**
* A group of read-only radio buttons.
*
- * Review the individual story for more features of [read-only radio buttons](?path=/docs/components-radio--docs#read-only).
+ * Review the individual story for more features of [read-only radio buttons](/docs/components-radio--docs#read-only).
*/
export const ReadOnlyRadio = Template.bind({});
ReadOnlyRadio.tags = ["!dev"];
@@ -297,3 +218,4 @@ ReadOnlyRadio.args = {
ReadOnlyRadio.parameters = {
chromatic: { disableSnapshot: true },
};
+ReadOnlyRadio.storyName = "Read-only radio";
diff --git a/components/fieldgroup/stories/fieldgroup.test.js b/components/fieldgroup/stories/fieldgroup.test.js
index 5ad730cbc90..42a723babfa 100644
--- a/components/fieldgroup/stories/fieldgroup.test.js
+++ b/components/fieldgroup/stories/fieldgroup.test.js
@@ -19,11 +19,9 @@ export const FieldGroupSet = Variants({
testHeading: "Horizontal checkboxes",
layout: "horizontal",
inputType: "checkbox",
- helpText: "Make a selection.",
},
{
testHeading: "Radios label position: side",
- label: "Pick one:",
labelPosition: "side",
},
{
@@ -33,14 +31,12 @@ export const FieldGroupSet = Variants({
},
{
testHeading: "Horizontal radios label position: side",
- label: "Pick one:",
labelPosition: "side",
layout: "horizontal",
inputType: "radio",
},
{
testHeading: "Horizontal checkboxes label position: side",
- label: "Pick one:",
labelPosition: "side",
layout: "horizontal",
inputType: "checkbox",
diff --git a/components/fieldgroup/stories/template.js b/components/fieldgroup/stories/template.js
index 3c74a2fbdcf..829205f04ae 100644
--- a/components/fieldgroup/stories/template.js
+++ b/components/fieldgroup/stories/template.js
@@ -1,7 +1,7 @@
import { Template as CheckBox } from "@spectrum-css/checkbox/stories/template.js";
import { Template as FieldLabel } from "@spectrum-css/fieldlabel/stories/template.js";
import { Template as HelpText } from "@spectrum-css/helptext/stories/template.js";
-import { getRandomId } from "@spectrum-css/preview/decorators";
+import { Container, getRandomId } from "@spectrum-css/preview/decorators";
import { Template as Radio } from "@spectrum-css/radio/stories/template.js";
import { html } from "lit";
import { classMap } from "lit/directives/class-map.js";
@@ -9,6 +9,9 @@ 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 = (
{
@@ -94,3 +97,42 @@ export const Template = (
`;
};
+
+/* Displays a radio group and a checkbox group. */
+export const InputOptionsFieldGroupTemplate = (args, context) => Container({
+ withBorder: false,
+ content: html`
+ ${Container({
+ withBorder: false,
+ heading: "Radios",
+ content: Template({...args}, context),
+ })}
+ ${Container({
+ withBorder: false,
+ heading: "Checkboxes",
+ content: Template({...args, inputType: "checkbox"}, context),
+ })}
+ `
+});
+
+/* Displays all options for required vs. optional indicators. */
+export const NecessityIndicatorFieldGroupTemplate = (args, context) => Container({
+ withBorder: false,
+ content: html`
+ ${Container({
+ withBorder: false,
+ heading: "Required (text)",
+ content: Template({...args, label: "Field label (required)",}, context),
+ })}
+ ${Container({
+ withBorder: false,
+ heading: "Required (asterisk)",
+ content: Template({...args, isRequired: true,}, context),
+ })}
+ ${Container({
+ withBorder: false,
+ heading: "Optional",
+ content: Template({...args, label: "Field label (optional)", helpText: "",}, context),
+ })}
+ `
+});
diff --git a/components/fieldgroup/themes/express.css b/components/fieldgroup/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/fieldgroup/themes/express.css
+++ b/components/fieldgroup/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/fieldgroup/themes/spectrum-two.css b/components/fieldgroup/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/fieldgroup/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/fieldgroup/themes/spectrum.css b/components/fieldgroup/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/fieldgroup/themes/spectrum.css
+++ b/components/fieldgroup/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/fieldlabel/CHANGELOG.md b/components/fieldlabel/CHANGELOG.md
index 5433f98d220..3be540d761f 100644
--- a/components/fieldlabel/CHANGELOG.md
+++ b/components/fieldlabel/CHANGELOG.md
@@ -1,5 +1,240 @@
# Change Log
+## 9.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 9.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`085ecbc`](https://github.com/adobe/spectrum-css/commit/085ecbc739cf736e8d95377d605f2a7c4104bcc0) Thanks [@pfulton](https://github.com/pfulton)! - Pulled out _form_ from _fieldlabel_ package.
+ Pulled out _meter_ from _progressbar_ package.
+
+ [SWC-522] fix hover style regression
+
+## 9.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 9.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 9.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 9.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 9.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 9.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 9.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 9.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 9.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 9.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 9.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 9.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 9.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 9.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 9.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 9.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 8.2.0
### Minor Changes
diff --git a/components/fieldlabel/index.css b/components/fieldlabel/index.css
index c52c4d4fae2..a9e4284a2e6 100644
--- a/components/fieldlabel/index.css
+++ b/components/fieldlabel/index.css
@@ -11,63 +11,55 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
-.spectrum-FieldLabel {
- --spectrum-fieldlabel-min-height: var(--spectrum-component-height-75);
- --spectrum-fieldlabel-color: var(--spectrum-neutral-subdued-content-color-default);
+/* @todo align modifiers to use field-label or fieldlabel but not both */
- --spectrum-field-label-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-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-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-fieldlabel-line-height: var(--spectrum-line-height-100);
- --spectrum-fieldlabel-line-height-cjk: var(--spectrum-cjk-line-height-100);
+ --spectrum-field-label-text-to-asterisk: var(--spectrum-field-label-text-to-asterisk-medium);
}
.spectrum-FieldLabel--sizeS {
- --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-font-size: var(--spectrum-font-size-75);
+ --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-side-margin-block-start: var(--spectrum-field-label-top-margin-small);
- --spectrum-fieldlabel-side-padding-right: var(--spectrum-spacing-100);
+ --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-field-label-text-to-asterisk: var(--spectrum-field-label-text-to-asterisk-small);
}
-.spectrum-FieldLabel--sizeM {
- --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-font-size: var(--spectrum-font-size-75);
-
- --spectrum-fieldlabel-side-margin-block-start: var(--spectrum-field-label-top-margin-medium);
- --spectrum-fieldlabel-side-padding-right: var(--spectrum-spacing-200);
-
- --spectrum-field-label-text-to-asterisk: var(--spectrum-field-label-text-to-asterisk-medium);
-}
-
.spectrum-FieldLabel--sizeL {
- --spectrum-fieldlabel-min-height: var(--spectrum-component-height-100);
- --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-font-size: var(--spectrum-font-size-100);
+ --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-side-margin-block-start: var(--spectrum-field-label-top-margin-large);
- --spectrum-fieldlabel-side-padding-right: var(--spectrum-spacing-200);
+ --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-field-label-text-to-asterisk: var(--spectrum-field-label-text-to-asterisk-large);
}
.spectrum-FieldLabel--sizeXL {
- --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-font-size: var(--spectrum-font-size-200);
+ --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-side-margin-block-start: var(--spectrum-field-label-top-margin-extra-large);
- --spectrum-fieldlabel-side-padding-right: var(--spectrum-spacing-200);
+ --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-field-label-text-to-asterisk: var(--spectrum-field-label-text-to-asterisk-extra-large);
}
@@ -75,30 +67,38 @@
.spectrum-FieldLabel {
display: block;
box-sizing: border-box;
- min-block-size: var(--mod-fieldlabel-min-height, var(--spectrum-fieldlabel-min-height));
+ min-block-size: var(--mod-fieldlabel-min-height, var(--spectrum-field-label-min-height));
- padding-block: var(--mod-field-label-top-to-text, var(--spectrum-fieldlabel-top-to-text)) var(--mod-field-label-bottom-to-text, var(--spectrum-fieldlabel-bottom-to-text));
- padding-inline: 0;
+ 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-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-fieldlabel-font-size));
- font-weight: var(--mod-fieldlabel-font-weight, var(--spectrum-fieldlabel-font-weight));
+ 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));
- line-height: var(--mod-fieldlabel-line-height, var(--spectrum-fieldlabel-line-height));
+ line-height: var(--mod-fieldlabel-line-height, var(--spectrum-line-height-100));
-webkit-font-smoothing: subpixel-antialiased;
-moz-osx-font-smoothing: auto;
- color: var(--spectrum-fieldlabel-color);
+ 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) {
- line-height: var(--mod-fieldlabel-line-height-cjk, var(--spectrum-fieldlabel-line-height-cjk));
+ --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));
}
}
.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);
@@ -108,9 +108,9 @@
.spectrum-FieldLabel--right {
display: inline-block;
- margin-block-start: var(--mod-fieldlabel-side-margin-block-start, var(--spectrum-fieldlabel-side-margin-block-start));
+ margin-block-start: var(--mod-fieldlabel-side-margin-block-start, var(--spectrum-field-label-side-margin-block-start));
margin-block-end: 0;
- margin-inline-end: var(--mod-fieldlabel-side-padding-right, var(--spectrum-fieldlabel-side-padding-right));
+ margin-inline-end: var(--mod-fieldlabel-side-padding-right, var(--spectrum-field-label-side-padding-right));
vertical-align: top;
}
@@ -119,71 +119,9 @@
text-align: end;
}
-/********* Form *********/
-.spectrum-Form {
- --spectrum-tableform-item-block-spacing: var(--spectrum-spacing-300);
-
- margin: 0;
- display: grid;
- grid-template-columns: var(--mod-form-grid-template-columns, auto auto);
- inline-size: var(--mod-form-inline-size, fit-content);
- justify-content: start;
-
- /* @deprecation --mod-tableform-item-block-spacing has been renamed to
- --mod-form-item-block-spacing. The fallback will be removed in a future version. */
- row-gap: var(--mod-form-item-block-spacing, var(--mod-tableform-item-block-spacing, var(--spectrum-tableform-item-block-spacing)));
-}
-
-/* Row */
-.spectrum-Form-item {
- display: contents;
-}
-
-@supports (grid-template-columns: subgrid) {
- .spectrum-Form-item {
- display: grid;
- grid-column: span 2;
- grid-template-columns: subgrid;
- }
-}
-
-.spectrum-Form-itemLabel,
-.spectrum-Form-itemField {
- display: block;
-}
-
-/* Fix extra space after inline-flex elements such as stepper. */
-.spectrum-Form-itemField > * {
- vertical-align: top;
-}
-
-/* Rows with stacked alignment */
-.spectrum-Form--labelsAbove {
- /* @deprecation --mod-tableform-item-block-spacing-labels-above has been renamed to
- --mod-form-item-block-spacing-labels-above. The fallback will be removed in a future version. */
- --mod-form-item-block-spacing: var(--mod-form-item-block-spacing-labels-above, var(--mod-tableform-item-block-spacing-labels-above, var(--spectrum-spacing-200)));
- --mod-form-grid-template-columns: var(--mod-form-grid-template-columns-labels-above, auto);
-
- .spectrum-Form-item {
- display: block;
- }
-}
-
-/********* Disabled state *********/
-.spectrum-FieldLabel,
-.spectrum-Form-itemLabel {
- &.is-disabled {
- color: var(--highcontrast-disabled-content-color, var(--mod-disabled-content-color, var(--spectrum-disabled-content-color)));
-
- .spectrum-FieldLabel-requiredIcon {
- color: var(--highcontrast-disabled-content-color, var(--mod-disabled-content-color, var(--spectrum-disabled-content-color)));
- }
- }
-}
-
/********* WHCM *********/
@media (forced-colors: active) {
- .spectrum-FieldLabel {
- --highcontrast-disabled-content-color: GrayText;
+ .spectrum-FieldLabel.is-disabled {
+ --highcontrast-field-label-content-color: GrayText;
}
}
diff --git a/components/fieldlabel/metadata/metadata.json b/components/fieldlabel/metadata/metadata.json
index 409f73ab3ab..cc26c19a022 100644
--- a/components/fieldlabel/metadata/metadata.json
+++ b/components/fieldlabel/metadata/metadata.json
@@ -10,19 +10,9 @@
".spectrum-FieldLabel--sizeXL",
".spectrum-FieldLabel-requiredIcon",
".spectrum-FieldLabel.is-disabled",
- ".spectrum-FieldLabel.is-disabled .spectrum-FieldLabel-requiredIcon",
".spectrum-FieldLabel:lang(ja)",
".spectrum-FieldLabel:lang(ko)",
- ".spectrum-FieldLabel:lang(zh)",
- ".spectrum-Form",
- ".spectrum-Form--labelsAbove",
- ".spectrum-Form--labelsAbove .spectrum-Form-item",
- ".spectrum-Form-item",
- ".spectrum-Form-itemField",
- ".spectrum-Form-itemField > *",
- ".spectrum-Form-itemLabel",
- ".spectrum-Form-itemLabel.is-disabled",
- ".spectrum-Form-itemLabel.is-disabled .spectrum-FieldLabel-requiredIcon"
+ ".spectrum-FieldLabel:lang(zh)"
],
"modifiers": [
"--mod-disabled-content-color",
@@ -30,20 +20,29 @@
"--mod-field-label-bottom-to-text",
"--mod-field-label-text-to-asterisk",
"--mod-field-label-top-to-text",
+ "--mod-fieldlabel-color",
"--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-form-grid-template-columns",
- "--mod-form-grid-template-columns-labels-above",
- "--mod-form-inline-size",
- "--mod-form-item-block-spacing",
- "--mod-form-item-block-spacing-labels-above"
+ "--mod-fieldlabel-side-padding-right"
],
"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",
@@ -53,16 +52,7 @@
"--spectrum-field-label-top-margin-large",
"--spectrum-field-label-top-margin-medium",
"--spectrum-field-label-top-margin-small",
- "--spectrum-fieldlabel-bottom-to-text",
- "--spectrum-fieldlabel-color",
- "--spectrum-fieldlabel-font-size",
- "--spectrum-fieldlabel-font-weight",
- "--spectrum-fieldlabel-line-height",
- "--spectrum-fieldlabel-line-height-cjk",
- "--spectrum-fieldlabel-min-height",
- "--spectrum-fieldlabel-side-margin-block-start",
- "--spectrum-fieldlabel-side-padding-right",
- "--spectrum-fieldlabel-top-to-text"
+ "--spectrum-field-label-top-to-text"
],
"global": [
"--spectrum-cjk-line-height-100",
@@ -83,14 +73,9 @@
"--spectrum-neutral-subdued-content-color-default",
"--spectrum-regular-font-weight",
"--spectrum-spacing-100",
- "--spectrum-spacing-200",
- "--spectrum-spacing-300",
- "--spectrum-tableform-item-block-spacing"
+ "--spectrum-spacing-200"
],
"system-theme": [],
- "passthroughs": [
- "--mod-tableform-item-block-spacing",
- "--mod-tableform-item-block-spacing-labels-above"
- ],
- "high-contrast": ["--highcontrast-disabled-content-color"]
+ "passthroughs": [],
+ "high-contrast": ["--highcontrast-field-label-content-color"]
}
diff --git a/components/fieldlabel/metadata/mods.md b/components/fieldlabel/metadata/mods.md
index 35f6422ca6a..b7fb79c638a 100644
--- a/components/fieldlabel/metadata/mods.md
+++ b/components/fieldlabel/metadata/mods.md
@@ -1,19 +1,23 @@
-| Modifiable custom properties |
-| ----------------------------------------------- |
-| `--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-font-size` |
-| `--mod-fieldlabel-font-weight` |
-| `--mod-fieldlabel-line-height` |
-| `--mod-fieldlabel-line-height-cjk` |
-| `--mod-fieldlabel-min-height` |
-| `--mod-fieldlabel-side-margin-block-start` |
-| `--mod-fieldlabel-side-padding-right` |
-| `--mod-form-grid-template-columns` |
-| `--mod-form-grid-template-columns-labels-above` |
-| `--mod-form-inline-size` |
-| `--mod-form-item-block-spacing` |
-| `--mod-form-item-block-spacing-labels-above` |
+| Modifiable custom properties |
+| ------------------------------------------- |
+| `--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-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` |
diff --git a/components/fieldlabel/package.json b/components/fieldlabel/package.json
index 3abf4885c02..a7a95574b4a 100644
--- a/components/fieldlabel/package.json
+++ b/components/fieldlabel/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/fieldlabel",
- "version": "8.2.0",
+ "version": "9.0.0-s2-foundations.17",
"description": "The Spectrum CSS fieldlabel component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/icon": "workspace:^",
diff --git a/components/fieldlabel/stories/fieldlabel.stories.js b/components/fieldlabel/stories/fieldlabel.stories.js
index 36669ac1b37..a6245d1105b 100644
--- a/components/fieldlabel/stories/fieldlabel.stories.js
+++ b/components/fieldlabel/stories/fieldlabel.stories.js
@@ -45,6 +45,10 @@ export default {
label: "Label",
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=16090-95",
+ },
packageJson,
metadata,
},
diff --git a/components/fieldlabel/stories/form.template.js b/components/fieldlabel/stories/form.template.js
deleted file mode 100644
index 0b04ff96cbf..00000000000
--- a/components/fieldlabel/stories/form.template.js
+++ /dev/null
@@ -1,51 +0,0 @@
-import { Template as FieldLabel } from "@spectrum-css/fieldlabel/stories/template.js";
-import { getRandomId, renderContent } 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";
-import { repeat } from "lit/directives/repeat.js";
-import { styleMap } from "lit/directives/style-map.js";
-import { when } from "lit/directives/when.js";
-
-import "../index.css";
-
-export const Template = ({
- rootClass = "spectrum-Form",
- labelPosition = "top",
- fieldLabelAlignment = "left",
- customClasses = [],
- customStyles = {},
- id = getRandomId("form"),
- items = [],
-}, context) => html`
-
-`;
diff --git a/components/fieldlabel/stories/template.js b/components/fieldlabel/stories/template.js
index 7f5477e4d5f..97fd584410a 100644
--- a/components/fieldlabel/stories/template.js
+++ b/components/fieldlabel/stories/template.js
@@ -7,6 +7,9 @@ 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-FieldLabel",
diff --git a/components/fieldlabel/themes/express.css b/components/fieldlabel/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/fieldlabel/themes/express.css
+++ b/components/fieldlabel/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/fieldlabel/themes/spectrum-two.css b/components/fieldlabel/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/fieldlabel/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/fieldlabel/themes/spectrum.css b/components/fieldlabel/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/fieldlabel/themes/spectrum.css
+++ b/components/fieldlabel/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/floatingactionbutton/CHANGELOG.md b/components/floatingactionbutton/CHANGELOG.md
index fe6a7559f7c..c924f02a657 100644
--- a/components/floatingactionbutton/CHANGELOG.md
+++ b/components/floatingactionbutton/CHANGELOG.md
@@ -1,5 +1,199 @@
# Change Log
+## 3.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 3.0.0-s2-foundations.14
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 3.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 3.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`43c7d40`](https://github.com/adobe/spectrum-css/commit/43c7d40cd97d75162fa954a9bd35cfcdbc37ccd1) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to static white background color and selected states
+
+### Patch Changes
+
+- Updated dependencies [[`6582314`](https://github.com/adobe/spectrum-css/commit/65823145e139caa56f5e73e8a36e73aff37672de)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.19
+
+## 3.0.0-s2-foundations.11
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 3.0.0-s2-foundations.10
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 3.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 3.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 3.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 3.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 3.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 3.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 3.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 3.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 3.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 3.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 2.2.0
### Minor Changes
diff --git a/components/floatingactionbutton/index.css b/components/floatingactionbutton/index.css
index f44edcfd11a..caa308d1ce3 100644
--- a/components/floatingactionbutton/index.css
+++ b/components/floatingactionbutton/index.css
@@ -11,23 +11,38 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
+
+@media (forced-colors: active) {
+ .spectrum-FloatingActionButton {
+ --highcontrast-floating-action-button-background-color: ButtonText;
+ --highcontrast-floating-action-button-background-color-hover: Highlight;
+ --highcontrast-floating-action-button-background-color-down: Highlight;
+ --highcontrast-floating-action-button-background-color-key-focus: Highlight;
+
+ --highcontrast-floating-action-button-icon-color: ButtonFace;
+ --highcontrast-floating-action-button-icon-color-hover: ButtonFace;
+ --highcontrast-floating-action-button-icon-color-down: ButtonFace;
+ --highcontrast-floating-action-button-icon-color-key-focus: ButtonFace;
+
+ &::after {
+ /* make sure focus-ring renders */
+ forced-color-adjust: none;
+ }
+ }
+}
.spectrum-FloatingActionButton {
--spectrum-floating-action-button-size: var(--spectrum-component-height-200);
--spectrum-floating-action-button-icon-size: var(--spectrum-workflow-icon-size-200);
--spectrum-floating-action-button-padding: var(--spectrum-component-pill-edge-to-visual-only-200);
--spectrum-floating-action-button-margin: var(--spectrum-spacing-200);
- --spectrum-floating-action-button-drop-shadow-x: var(--spectrum-drop-shadow-x);
-
- --spectrum-floating-action-button-focus-ring-width: var(--spectrum-focus-indicator-thickness);
- --spectrum-floating-action-button-focus-ring-gap: var(--spectrum-focus-indicator-gap);
- --spectrum-floating-action-button-focus-ring-color: var(--spectrum-focus-indicator-color);
--spectrum-floating-action-button-background-color: var(--spectrum-accent-background-color-default);
--spectrum-floating-action-button-background-color-hover: var(--spectrum-accent-background-color-hover);
--spectrum-floating-action-button-background-color-down: var(--spectrum-accent-background-color-down);
--spectrum-floating-action-button-background-color-key-focus: var(--spectrum-accent-background-color-key-focus);
+
--spectrum-floating-action-button-icon-color: var(--spectrum-white);
--spectrum-floating-action-button-icon-color-hover: var(--spectrum-white);
--spectrum-floating-action-button-icon-color-down: var(--spectrum-white);
@@ -39,31 +54,13 @@
--spectrum-floating-action-button-background-color-hover: var(--spectrum-background-layer-2-color);
--spectrum-floating-action-button-background-color-down: var(--spectrum-background-layer-2-color);
--spectrum-floating-action-button-background-color-key-focus: var(--spectrum-background-layer-2-color);
+
--spectrum-floating-action-button-icon-color: var(--spectrum-neutral-subdued-content-color-default);
--spectrum-floating-action-button-icon-color-hover: var(--spectrum-neutral-subdued-content-color-hover);
--spectrum-floating-action-button-icon-color-down: var(--spectrum-neutral-subdued-content-color-down);
--spectrum-floating-action-button-icon-color-key-focus: var(--spectrum-neutral-subdued-content-color-key-focus);
}
-@media (forced-colors: active) {
- .spectrum-FloatingActionButton {
- &::after {
- /* make sure focus-ring renders */
- forced-color-adjust: none;
- }
-
- --highcontrast-floating-action-button-background-color: ButtonText;
- --highcontrast-floating-action-button-background-color-hover: Highlight;
- --highcontrast-floating-action-button-background-color-down: Highlight;
- --highcontrast-floating-action-button-background-color-key-focus: Highlight;
-
- --highcontrast-floating-action-button-icon-color: ButtonFace;
- --highcontrast-floating-action-button-icon-color-hover: ButtonFace;
- --highcontrast-floating-action-button-icon-color-down: ButtonFace;
- --highcontrast-floating-action-button-icon-color-key-focus: ButtonFace;
- }
-}
-
.spectrum-FloatingActionButton {
cursor: pointer;
block-size: var(--mod-floating-action-button-size, var(--spectrum-floating-action-button-size));
@@ -74,7 +71,7 @@
margin-inline-end: var(--mod-floating-action-button-margin, var(--spectrum-floating-action-button-margin));
margin-block-end: var(--mod-floating-action-button-margin, var(--spectrum-floating-action-button-margin));
border: none;
- box-shadow: var(--mod-floating-action-button-drop-shadow-x, var(--spectrum-floating-action-button-drop-shadow-x)) var(--mod-floating-action-button-drop-shadow-y, var(--spectrum-floating-action-button-drop-shadow-y)) var(--mod-floating-action-button-drop-shadow-blur, var(--spectrum-floating-action-button-drop-shadow-blur)) var(--mod-floating-action-button-drop-shadow-color, var(--spectrum-floating-action-button-drop-shadow-color));
+ box-shadow: var(--mod-floating-action-button-drop-shadow-x, var(--spectrum-drop-shadow-x)) var(--mod-floating-action-button-drop-shadow-y, var(--spectrum-floating-action-button-drop-shadow-y)) var(--mod-floating-action-button-drop-shadow-blur, var(--spectrum-floating-action-button-drop-shadow-blur)) var(--mod-floating-action-button-drop-shadow-color, var(--spectrum-floating-action-button-drop-shadow-color));
position: relative;
/* default is primary */
@@ -107,8 +104,8 @@
&::after {
position: absolute;
inset: 0;
- margin: calc(-1 * var(--mod-floating-action-button-focus-ring-gap, var(--spectrum-floating-action-button-focus-ring-gap)));
- box-shadow: 0 0 0 var(--mod-floating-action-button-focus-ring-width, var(--spectrum-floating-action-button-focus-ring-width)) var(--highcontrast-floating-action-button-focus-ring-color, var(--mod-afloating-action-button-focus-ring-color, var(--spectrum-floating-action-button-focus-ring-color)));
+ margin: calc(-1 * var(--mod-floating-action-button-focus-ring-gap, var(--spectrum-focus-indicator-gap)));
+ box-shadow: 0 0 0 var(--mod-floating-action-button-focus-ring-width, var(--spectrum-focus-indicator-thickness)) var(--mod-afloating-action-button-focus-ring-color, var(--spectrum-focus-indicator-color));
border-radius: var(--mod-floating-action-button-border-radius, 50%);
pointer-events: none;
content: "";
diff --git a/components/floatingactionbutton/metadata/metadata.json b/components/floatingactionbutton/metadata/metadata.json
index 093c5517581..7daf062a329 100644
--- a/components/floatingactionbutton/metadata/metadata.json
+++ b/components/floatingactionbutton/metadata/metadata.json
@@ -42,11 +42,7 @@
"--spectrum-floating-action-button-background-color-key-focus",
"--spectrum-floating-action-button-drop-shadow-blur",
"--spectrum-floating-action-button-drop-shadow-color",
- "--spectrum-floating-action-button-drop-shadow-x",
"--spectrum-floating-action-button-drop-shadow-y",
- "--spectrum-floating-action-button-focus-ring-color",
- "--spectrum-floating-action-button-focus-ring-gap",
- "--spectrum-floating-action-button-focus-ring-width",
"--spectrum-floating-action-button-icon-color",
"--spectrum-floating-action-button-icon-color-down",
"--spectrum-floating-action-button-icon-color-hover",
@@ -83,7 +79,6 @@
"--highcontrast-floating-action-button-background-color-down",
"--highcontrast-floating-action-button-background-color-hover",
"--highcontrast-floating-action-button-background-color-key-focus",
- "--highcontrast-floating-action-button-focus-ring-color",
"--highcontrast-floating-action-button-icon-color",
"--highcontrast-floating-action-button-icon-color-down",
"--highcontrast-floating-action-button-icon-color-hover",
diff --git a/components/floatingactionbutton/package.json b/components/floatingactionbutton/package.json
index d7e065bc10f..9131f0c8a3c 100644
--- a/components/floatingactionbutton/package.json
+++ b/components/floatingactionbutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/floatingactionbutton",
- "version": "2.2.0",
+ "version": "3.0.0-s2-foundations.15",
"description": "The Spectrum CSS floatingactionbutton component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -22,17 +22,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/floatingactionbutton/stories/template.js b/components/floatingactionbutton/stories/template.js
index c82eb7bb687..bd9f973bd61 100644
--- a/components/floatingactionbutton/stories/template.js
+++ b/components/floatingactionbutton/stories/template.js
@@ -6,6 +6,9 @@ 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-FloatingActionButton",
diff --git a/components/floatingactionbutton/themes/express.css b/components/floatingactionbutton/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/floatingactionbutton/themes/express.css
+++ b/components/floatingactionbutton/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/floatingactionbutton/themes/spectrum-two.css b/components/floatingactionbutton/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/floatingactionbutton/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/floatingactionbutton/themes/spectrum.css b/components/floatingactionbutton/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/floatingactionbutton/themes/spectrum.css
+++ b/components/floatingactionbutton/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/form/CHANGELOG.md b/components/form/CHANGELOG.md
new file mode 100644
index 00000000000..884e0d2a496
--- /dev/null
+++ b/components/form/CHANGELOG.md
@@ -0,0 +1,42 @@
+# Change Log
+
+## 0.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 0.0.0-s2-foundations.1
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`085ecbc`](https://github.com/adobe/spectrum-css/commit/085ecbc739cf736e8d95377d605f2a7c4104bcc0) Thanks [@pfulton](https://github.com/pfulton)! - Pulled out _form_ from _fieldlabel_ package.
+ Pulled out _meter_ from _progressbar_ package.
+
+ [SWC-522] fix hover style regression
diff --git a/components/page/README.md b/components/form/README.md
similarity index 82%
rename from components/page/README.md
rename to components/form/README.md
index b9ab95ef3ff..7b4cce7b04f 100644
--- a/components/page/README.md
+++ b/components/form/README.md
@@ -1,6 +1,6 @@
-# @spectrum-css/page
+# @spectrum-css/form
-> The Spectrum CSS page component
+> The Spectrum CSS form component
This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
diff --git a/components/form/index.css b/components/form/index.css
new file mode 100644
index 00000000000..50807f073a3
--- /dev/null
+++ b/components/form/index.css
@@ -0,0 +1,83 @@
+/*!
+ * 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.
+ */
+
+@import "./themes/spectrum-two.css";
+
+.spectrum-Form {
+ --spectrum-form-item-block-spacing: var(--spectrum-spacing-300);
+ --spectrum-form-item-block-spacing-labels-above: var(--spectrum-spacing-200);
+
+ --spectrum-form-grid-template-columns: auto auto;
+ --spectrum-form-grid-template-columns-labels-above: auto;
+
+ --spectrum-form-item-disabled-content-color: var(--spectrum-disabled-content-color);
+
+ margin: 0;
+ display: grid;
+ grid-template-columns: var(--mod-form-grid-template-columns, var(--spectrum-form-grid-template-columns));
+ inline-size: var(--mod-form-inline-size, fit-content);
+ justify-content: start;
+ row-gap: var(--mod-form-item-block-spacing, var(--spectrum-form-item-block-spacing));
+
+}
+
+/* Row */
+.spectrum-Form-item {
+ display: contents;
+}
+
+@supports (grid-template-columns: subgrid) {
+ .spectrum-Form-item {
+ display: grid;
+ grid-column: span 2;
+ grid-template-columns: subgrid;
+ }
+}
+
+.spectrum-Form-itemLabel,
+.spectrum-Form-itemField {
+ display: block;
+}
+
+/* Fix extra space after inline-flex elements such as stepper. */
+.spectrum-Form-itemField > * {
+ vertical-align: top;
+}
+
+/* Rows with stacked alignment */
+.spectrum-Form--labelsAbove {
+ --mod-form-item-block-spacing: var(--mod-form-item-block-spacing-labels-above, var(--spectrum-form-item-block-spacing-labels-above));
+ --mod-form-grid-template-columns: var(--mod-form-grid-template-columns-labels-above, var(--spectrum-form-grid-template-columns-labels-above));
+
+ .spectrum-Form-item {
+ display: block;
+ }
+}
+
+/********* Disabled state *********/
+.spectrum-Form-itemLabel {
+ &.is-disabled {
+ color: var(--highcontrast-form-item-disabled-content-color, var(--mod-disabled-content-color, var(--spectrum-form-item-disabled-content-color)));
+
+ .spectrum-FieldLabel-requiredIcon {
+ color: var(--highcontrast-form-item-disabled-content-color, var(--mod-disabled-content-color, var(--spectrum-form-item-disabled-content-color)));
+ }
+ }
+}
+
+/********* WHCM *********/
+@media (forced-colors: active) {
+ .spectrum-Form {
+ --highcontrast-form-item-disabled-content-color: GrayText;
+ }
+}
diff --git a/components/form/metadata/metadata.json b/components/form/metadata/metadata.json
new file mode 100644
index 00000000000..88655f8edd3
--- /dev/null
+++ b/components/form/metadata/metadata.json
@@ -0,0 +1,37 @@
+{
+ "sourceFile": "index.css",
+ "selectors": [
+ ".spectrum-Form",
+ ".spectrum-Form--labelsAbove",
+ ".spectrum-Form--labelsAbove .spectrum-Form-item",
+ ".spectrum-Form-item",
+ ".spectrum-Form-itemField",
+ ".spectrum-Form-itemField > *",
+ ".spectrum-Form-itemLabel",
+ ".spectrum-Form-itemLabel.is-disabled",
+ ".spectrum-Form-itemLabel.is-disabled .spectrum-FieldLabel-requiredIcon"
+ ],
+ "modifiers": [
+ "--mod-disabled-content-color",
+ "--mod-form-grid-template-columns",
+ "--mod-form-grid-template-columns-labels-above",
+ "--mod-form-inline-size",
+ "--mod-form-item-block-spacing",
+ "--mod-form-item-block-spacing-labels-above"
+ ],
+ "component": [
+ "--spectrum-form-grid-template-columns",
+ "--spectrum-form-grid-template-columns-labels-above",
+ "--spectrum-form-item-block-spacing",
+ "--spectrum-form-item-block-spacing-labels-above",
+ "--spectrum-form-item-disabled-content-color"
+ ],
+ "global": [
+ "--spectrum-disabled-content-color",
+ "--spectrum-spacing-200",
+ "--spectrum-spacing-300"
+ ],
+ "system-theme": [],
+ "passthroughs": [],
+ "high-contrast": ["--highcontrast-form-item-disabled-content-color"]
+}
diff --git a/components/form/metadata/mods.md b/components/form/metadata/mods.md
new file mode 100644
index 00000000000..bea9efef78a
--- /dev/null
+++ b/components/form/metadata/mods.md
@@ -0,0 +1,8 @@
+| Modifiable custom properties |
+| ----------------------------------------------- |
+| `--mod-disabled-content-color` |
+| `--mod-form-grid-template-columns` |
+| `--mod-form-grid-template-columns-labels-above` |
+| `--mod-form-inline-size` |
+| `--mod-form-item-block-spacing` |
+| `--mod-form-item-block-spacing-labels-above` |
diff --git a/components/page/package.json b/components/form/package.json
similarity index 68%
rename from components/page/package.json
rename to components/form/package.json
index 64690a19fa0..e524b88e32a 100644
--- a/components/page/package.json
+++ b/components/form/package.json
@@ -1,14 +1,14 @@
{
- "name": "@spectrum-css/page",
- "version": "8.2.0",
- "description": "The Spectrum CSS page component",
+ "name": "@spectrum-css/form",
+ "version": "0.0.0-s2-foundations.2",
+ "description": "The Spectrum CSS form component",
"license": "Apache-2.0",
"author": "Adobe",
- "homepage": "https://opensource.adobe.com/spectrum-css/page",
+ "homepage": "https://opensource.adobe.com/spectrum-css/form",
"repository": {
"type": "git",
"url": "https://github.com/adobe/spectrum-css.git",
- "directory": "components/page"
+ "directory": "components/form"
},
"bugs": {
"url": "https://github.com/adobe/spectrum-css/issues"
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/page/project.json b/components/form/project.json
similarity index 94%
rename from components/page/project.json
rename to components/form/project.json
index ba93abb5315..f419af393ec 100644
--- a/components/page/project.json
+++ b/components/form/project.json
@@ -1,6 +1,6 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
- "name": "page",
+ "name": "form",
"tags": ["component"],
"targets": {
"build": {},
diff --git a/components/fieldlabel/stories/form.stories.js b/components/form/stories/form.stories.js
similarity index 98%
rename from components/fieldlabel/stories/form.stories.js
rename to components/form/stories/form.stories.js
index fb26920d530..5adbb790303 100644
--- a/components/fieldlabel/stories/form.stories.js
+++ b/components/form/stories/form.stories.js
@@ -6,8 +6,8 @@ import { Template as Stepper } from "@spectrum-css/stepper/stories/template.js";
import { Template as TextField } from "@spectrum-css/textfield/stories/template.js";
import metadata from "../metadata/metadata.json";
import packageJson from "../package.json";
-import { Template } from "./form.template.js";
import { FormGroup } from "./form.test.js";
+import { Template } from "./template.js";
/**
* The form component is used for aligning multiple inputs and field groups within a form. It provides structure and spacing for your form fields.
diff --git a/components/fieldlabel/stories/form.test.js b/components/form/stories/form.test.js
similarity index 88%
rename from components/fieldlabel/stories/form.test.js
rename to components/form/stories/form.test.js
index bd9fc862243..b2dc7e74327 100644
--- a/components/fieldlabel/stories/form.test.js
+++ b/components/form/stories/form.test.js
@@ -1,5 +1,5 @@
import { Variants } from "@spectrum-css/preview/decorators";
-import { Template } from "./form.template.js";
+import { Template } from "./template.js";
export const FormGroup = Variants({
Template,
diff --git a/components/form/stories/template.js b/components/form/stories/template.js
new file mode 100644
index 00000000000..c75456bc895
--- /dev/null
+++ b/components/form/stories/template.js
@@ -0,0 +1,56 @@
+import { Template as FieldLabel } from "@spectrum-css/fieldlabel/stories/template.js";
+import { getRandomId, renderContent } 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";
+import { repeat } from "lit/directives/repeat.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-Form",
+ labelPosition = "top",
+ fieldLabelAlignment = "left",
+ customClasses = [],
+ customStyles = {},
+ id = getRandomId("form"),
+ items = [],
+} = {}, context = {}) => {
+ return html`
+
+ `;
+};
diff --git a/tokens/custom-express/custom-vars.css b/components/form/themes/express.css
similarity index 85%
rename from tokens/custom-express/custom-vars.css
rename to components/form/themes/express.css
index d21931db513..9fd550418f2 100644
--- a/tokens/custom-express/custom-vars.css
+++ b/components/form/themes/express.css
@@ -11,8 +11,6 @@
* governing permissions and limitations under the License.
*/
-/* This file contains overrides and additions to core tokens */
+/* @combine .spectrum.spectrum--express */
-.spectrum--express {
- --system: express;
-}
+@import "./spectrum.css";
diff --git a/components/form/themes/spectrum-two.css b/components/form/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/form/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/form/themes/spectrum.css b/components/form/themes/spectrum.css
new file mode 100644
index 00000000000..3d81bc564b5
--- /dev/null
+++ b/components/form/themes/spectrum.css
@@ -0,0 +1,16 @@
+/*!
+ * 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/helptext/CHANGELOG.md b/components/helptext/CHANGELOG.md
index 7ad4ed5aa84..f0ebf722d8b 100644
--- a/components/helptext/CHANGELOG.md
+++ b/components/helptext/CHANGELOG.md
@@ -1,5 +1,231 @@
# Change Log
+## 6.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
diff --git a/components/helptext/index.css b/components/helptext/index.css
index 1c477287c81..6799ca54797 100644
--- a/components/helptext/index.css
+++ b/components/helptext/index.css
@@ -11,13 +11,70 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
+
+@media (forced-colors: active) {
+ .spectrum-HelpText {
+ --highcontrast-helptext-content-color-default: CanvasText;
+ --highcontrast-helptext-icon-color-default: CanvasText;
+
+ forced-color-adjust: none;
+
+ .spectrum-HelpText-validationIcon,
+ .spectrum-HelpText-text {
+ forced-color-adjust: none;
+ }
+ }
+}
.spectrum-HelpText {
- --spectrum-helptext-line-height: var(--spectrum-line-height-100);
--spectrum-helptext-content-color-default: var(--spectrum-neutral-subdued-content-color-default);
--spectrum-helptext-icon-color-default: var(--spectrum-neutral-subdued-content-color-default);
- --spectrum-helptext-disabled-content-color: var(--spectrum-disabled-content-color);
+
+ &.spectrum-HelpText--sizeS {
+ --spectrum-helptext-min-height: var(--spectrum-component-height-75);
+ --spectrum-helptext-icon-size: var(--spectrum-workflow-icon-size-75);
+ --spectrum-helptext-font-size: var(--spectrum-font-size-75);
+ --spectrum-helptext-text-to-visual: var(--spectrum-text-to-visual-75);
+ --spectrum-helptext-top-to-workflow-icon: var(--spectrum-help-text-top-to-workflow-icon-small);
+ --spectrum-helptext-bottom-to-workflow-icon: var(--spectrum-helptext-top-to-workflow-icon);
+ --spectrum-helptext-top-to-text: var(--spectrum-component-top-to-text-75);
+ --spectrum-helptext-bottom-to-text: var(--spectrum-component-bottom-to-text-75);
+ }
+
+ &,
+ &.spectrum-HelpText--sizeM {
+ --spectrum-helptext-min-height: var(--spectrum-component-height-75);
+ --spectrum-helptext-icon-size: var(--spectrum-workflow-icon-size-100);
+ --spectrum-helptext-font-size: var(--spectrum-font-size-75);
+ --spectrum-helptext-text-to-visual: var(--spectrum-text-to-visual-75);
+ --spectrum-helptext-top-to-workflow-icon: var(--spectrum-help-text-top-to-workflow-icon-medium);
+ --spectrum-helptext-bottom-to-workflow-icon: var(--spectrum-helptext-top-to-workflow-icon);
+ --spectrum-helptext-top-to-text: var(--spectrum-component-top-to-text-75);
+ --spectrum-helptext-bottom-to-text: var(--spectrum-component-bottom-to-text-75);
+ }
+
+ &.spectrum-HelpText--sizeL {
+ --spectrum-helptext-min-height: var(--spectrum-component-height-100);
+ --spectrum-helptext-icon-size: var(--spectrum-workflow-icon-size-200);
+ --spectrum-helptext-font-size: var(--spectrum-font-size-100);
+ --spectrum-helptext-text-to-visual: var(--spectrum-text-to-visual-100);
+ --spectrum-helptext-top-to-workflow-icon: var(--spectrum-help-text-top-to-workflow-icon-large);
+ --spectrum-helptext-bottom-to-workflow-icon: var(--spectrum-helptext-top-to-workflow-icon);
+ --spectrum-helptext-top-to-text: var(--spectrum-component-top-to-text-100);
+ --spectrum-helptext-bottom-to-text: var(--spectrum-component-bottom-to-text-100);
+ }
+
+ &.spectrum-HelpText--sizeXL {
+ --spectrum-helptext-min-height: var(--spectrum-component-height-200);
+ --spectrum-helptext-icon-size: var(--spectrum-workflow-icon-size-300);
+ --spectrum-helptext-font-size: var(--spectrum-font-size-200);
+ --spectrum-helptext-text-to-visual: var(--spectrum-text-to-visual-200);
+ --spectrum-helptext-top-to-workflow-icon: var(--spectrum-help-text-top-to-workflow-icon-extra-large);
+ --spectrum-helptext-bottom-to-workflow-icon: var(--spectrum-helptext-top-to-workflow-icon);
+ --spectrum-helptext-top-to-text: var(--spectrum-component-top-to-text-200);
+ --spectrum-helptext-bottom-to-text: var(--spectrum-component-bottom-to-text-200);
+ }
&.spectrum-HelpText--neutral {
--spectrum-helptext-content-color-default: var(--spectrum-neutral-subdued-content-color-default);
@@ -30,81 +87,21 @@
}
&.is-disabled {
- --spectrum-helptext-content-color-default: var(--spectrum-helptext-disabled-content-color);
- --spectrum-helptext-icon-color-default: var(--spectrum-helptext-disabled-content-color);
- }
-
- &:lang(ja),
- &:lang(zh),
- &:lang(ko) {
- --spectrum-helptext-line-height-cjk: var(--spectrum-cjk-line-height-100);
+ --spectrum-helptext-content-color-default: var(--spectrum-disabled-content-color);
+ --spectrum-helptext-icon-color-default: var(--spectrum-disabled-content-color);
}
-}
-
-.spectrum-HelpText--sizeS {
- --spectrum-helptext-min-height: var(--spectrum-component-height-75);
- --spectrum-helptext-icon-size: var(--spectrum-workflow-icon-size-75);
- --spectrum-helptext-font-size: var(--spectrum-font-size-75);
- --spectrum-helptext-text-to-visual: var(--spectrum-text-to-visual-75);
- --spectrum-helptext-top-to-workflow-icon: var(--spectrum-help-text-top-to-workflow-icon-small);
- --spectrum-helptext-bottom-to-workflow-icon: var(--spectrum-helptext-top-to-workflow-icon);
- --spectrum-helptext-top-to-text: var(--spectrum-component-top-to-text-75);
- --spectrum-helptext-bottom-to-text: var(--spectrum-component-bottom-to-text-75);
-}
-
-.spectrum-HelpText--sizeM {
- --spectrum-helptext-min-height: var(--spectrum-component-height-75);
- --spectrum-helptext-icon-size: var(--spectrum-workflow-icon-size-100);
- --spectrum-helptext-font-size: var(--spectrum-font-size-75);
- --spectrum-helptext-text-to-visual: var(--spectrum-text-to-visual-75);
- --spectrum-helptext-top-to-workflow-icon: var(--spectrum-help-text-top-to-workflow-icon-medium);
- --spectrum-helptext-bottom-to-workflow-icon: var(--spectrum-helptext-top-to-workflow-icon);
- --spectrum-helptext-top-to-text: var(--spectrum-component-top-to-text-75);
- --spectrum-helptext-bottom-to-text: var(--spectrum-component-bottom-to-text-75);
-}
-.spectrum-HelpText--sizeL {
- --spectrum-helptext-min-height: var(--spectrum-component-height-100);
- --spectrum-helptext-icon-size: var(--spectrum-workflow-icon-size-200);
- --spectrum-helptext-font-size: var(--spectrum-font-size-100);
- --spectrum-helptext-text-to-visual: var(--spectrum-text-to-visual-100);
- --spectrum-helptext-top-to-workflow-icon: var(--spectrum-help-text-top-to-workflow-icon-large);
- --spectrum-helptext-bottom-to-workflow-icon: var(--spectrum-helptext-top-to-workflow-icon);
- --spectrum-helptext-top-to-text: var(--spectrum-component-top-to-text-100);
- --spectrum-helptext-bottom-to-text: var(--spectrum-component-bottom-to-text-100);
-}
-
-.spectrum-HelpText--sizeXL {
- --spectrum-helptext-min-height: var(--spectrum-component-height-200);
- --spectrum-helptext-icon-size: var(--spectrum-workflow-icon-size-300);
- --spectrum-helptext-font-size: var(--spectrum-font-size-200);
- --spectrum-helptext-text-to-visual: var(--spectrum-text-to-visual-200);
- --spectrum-helptext-top-to-workflow-icon: var(--spectrum-help-text-top-to-workflow-icon-extra-large);
- --spectrum-helptext-bottom-to-workflow-icon: var(--spectrum-helptext-top-to-workflow-icon);
- --spectrum-helptext-top-to-text: var(--spectrum-component-top-to-text-200);
- --spectrum-helptext-bottom-to-text: var(--spectrum-component-bottom-to-text-200);
-}
-
-@media (forced-colors: active) {
- .spectrum-HelpText {
- --highcontrast-helptext-content-color-default: CanvasText;
- --highcontrast-helptext-icon-color-default: CanvasText;
-
- forced-color-adjust: none;
-
- .spectrum-HelpText-validationIcon,
- .spectrum-HelpText-text {
- forced-color-adjust: none;
- }
- }
-}
-
-.spectrum-HelpText {
color: var(--highcontrast-helptext-content-color-default, var(--mod-helptext-content-color-default, var(--spectrum-helptext-content-color-default)));
display: flex;
font-size: var(--mod-helptext-font-size, var(--spectrum-helptext-font-size));
min-block-size: var(--mod-helptext-min-height, var(--spectrum-helptext-min-height));
+ &:lang(ja),
+ &:lang(zh),
+ &:lang(ko) {
+ --mod-helptext-line-height: var(--mod-helptext-line-height-cjk, var(--spectrum-cjk-line-height-100));
+ }
+
.spectrum-HelpText-validationIcon {
margin-inline-end: var(--mod-helptext-text-to-visual, var(--spectrum-helptext-text-to-visual));
padding-block-start: var(--mod-helptext-top-to-workflow-icon, var(--spectrum-helptext-top-to-workflow-icon));
@@ -117,15 +114,7 @@
.spectrum-HelpText-text {
padding-block-start: var(--mod-helptext-top-to-text, var(--spectrum-helptext-top-to-text));
padding-block-end: var(--mod-helptext-bottom-to-text, var(--spectrum-helptext-bottom-to-text));
- line-height: var(--mod-helptext-line-height, var(--spectrum-helptext-line-height));
- }
-
- &:lang(ja),
- &:lang(zh),
- &:lang(ko) {
- .spectrum-HelpText-text {
- line-height: var(--mod-helptext-line-height-cjk, var(--spectrum-helptext-line-height-cjk));
- }
+ line-height: var(--mod-helptext-line-height, var(--spectrum-line-height-100));
}
&.spectrum-HelpText--neutral {
diff --git a/components/helptext/metadata/metadata.json b/components/helptext/metadata/metadata.json
index b6600329896..f730c33a671 100644
--- a/components/helptext/metadata/metadata.json
+++ b/components/helptext/metadata/metadata.json
@@ -4,10 +4,6 @@
".spectrum-HelpText",
".spectrum-HelpText .spectrum-HelpText-text",
".spectrum-HelpText .spectrum-HelpText-validationIcon",
- ".spectrum-HelpText--sizeL",
- ".spectrum-HelpText--sizeM",
- ".spectrum-HelpText--sizeS",
- ".spectrum-HelpText--sizeXL",
".spectrum-HelpText.is-disabled",
".spectrum-HelpText.is-disabled .spectrum-HelpText-text",
".spectrum-HelpText.is-disabled .spectrum-HelpText-validationIcon",
@@ -17,12 +13,13 @@
".spectrum-HelpText.spectrum-HelpText--neutral",
".spectrum-HelpText.spectrum-HelpText--neutral .spectrum-HelpText-text",
".spectrum-HelpText.spectrum-HelpText--neutral .spectrum-HelpText-validationIcon",
+ ".spectrum-HelpText.spectrum-HelpText--sizeL",
+ ".spectrum-HelpText.spectrum-HelpText--sizeM",
+ ".spectrum-HelpText.spectrum-HelpText--sizeS",
+ ".spectrum-HelpText.spectrum-HelpText--sizeXL",
".spectrum-HelpText:lang(ja)",
- ".spectrum-HelpText:lang(ja) .spectrum-HelpText-text",
".spectrum-HelpText:lang(ko)",
- ".spectrum-HelpText:lang(ko) .spectrum-HelpText-text",
- ".spectrum-HelpText:lang(zh)",
- ".spectrum-HelpText:lang(zh) .spectrum-HelpText-text"
+ ".spectrum-HelpText:lang(zh)"
],
"modifiers": [
"--mod-helptext-bottom-to-text",
@@ -46,12 +43,9 @@
"--spectrum-helptext-bottom-to-text",
"--spectrum-helptext-bottom-to-workflow-icon",
"--spectrum-helptext-content-color-default",
- "--spectrum-helptext-disabled-content-color",
"--spectrum-helptext-font-size",
"--spectrum-helptext-icon-color-default",
"--spectrum-helptext-icon-size",
- "--spectrum-helptext-line-height",
- "--spectrum-helptext-line-height-cjk",
"--spectrum-helptext-min-height",
"--spectrum-helptext-text-to-visual",
"--spectrum-helptext-top-to-text",
diff --git a/components/helptext/package.json b/components/helptext/package.json
index c09a64c5ff3..15a062f3eba 100644
--- a/components/helptext/package.json
+++ b/components/helptext/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/helptext",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.16",
"description": "The Spectrum CSS helptext component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/icon": "workspace:^",
diff --git a/components/helptext/stories/helptext.stories.js b/components/helptext/stories/helptext.stories.js
index e19f0ebef36..ef05dc29d45 100644
--- a/components/helptext/stories/helptext.stories.js
+++ b/components/helptext/stories/helptext.stories.js
@@ -57,6 +57,10 @@ export default {
size: "m",
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=13653-196",
+ },
packageJson,
metadata,
},
diff --git a/components/helptext/stories/template.js b/components/helptext/stories/template.js
index 74fa628ae2a..61d5e243da5 100644
--- a/components/helptext/stories/template.js
+++ b/components/helptext/stories/template.js
@@ -7,6 +7,9 @@ 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-HelpText",
diff --git a/components/helptext/themes/express.css b/components/helptext/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/helptext/themes/express.css
+++ b/components/helptext/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/helptext/themes/spectrum-two.css b/components/helptext/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/helptext/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/helptext/themes/spectrum.css b/components/helptext/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/helptext/themes/spectrum.css
+++ b/components/helptext/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/icon/CHANGELOG.md b/components/icon/CHANGELOG.md
index b3ab1a66566..dcb64e2ffb6 100644
--- a/components/icon/CHANGELOG.md
+++ b/components/icon/CHANGELOG.md
@@ -1,5 +1,228 @@
# Change Log
+## 8.0.0-s2-foundations.18
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 8.0.0-s2-foundations.17
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 8.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 8.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 8.0.0-s2-foundations.14
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f38c66a`](https://github.com/adobe/spectrum-css/commit/f38c66a314c94058d7f8f084faa4967c89b20e7b) Thanks [@pfulton](https://github.com/pfulton)! - Fix icon sizing and checkbox border colors
+
+## 8.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 8.0.0-s2-foundations.12
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 8.0.0-s2-foundations.11
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 8.0.0-s2-foundations.10
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`494da11`](https://github.com/adobe/spectrum-css/commit/494da118554c2ecc425564e42d25424325efc331) Thanks [@pfulton](https://github.com/pfulton)! - ## Feature [@spectrum-css/icon]
+
+ Update source files to load the mappings from component-level to global tokens for size and transform values. This will allow for more consistent and predictable behavior when using the `size` and `transform` props on icons when switching between contexts for S1, S2, and Express.
+
+ ## Patch [@spectrum-css/typography]
+
+ Remove the sourcemap footer from compiled assets.
+
+## 8.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 8.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 8.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 8.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 8.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 8.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 8.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 8.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 8.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 8.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 7.2.0
### Minor Changes
diff --git a/components/icon/index.css b/components/icon/index.css
index ac23de00cbb..8a89a0f2965 100644
--- a/components/icon/index.css
+++ b/components/icon/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
@import "./icons.css";
@import "./workflow-icons.css";
@import "./ui-icons.css";
diff --git a/components/icon/package.json b/components/icon/package.json
index 293aeaf0f96..1bc704a465a 100644
--- a/components/icon/package.json
+++ b/components/icon/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/icon",
- "version": "7.2.0",
+ "version": "8.0.0-s2-foundations.18",
"description": "The Spectrum CSS icon component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/icon/stories/icon.stories.js b/components/icon/stories/icon.stories.js
index ea28140a2cb..01d8c6a3b92 100644
--- a/components/icon/stories/icon.stories.js
+++ b/components/icon/stories/icon.stories.js
@@ -104,7 +104,10 @@ WithForcedColors.tags = ["!autodocs", "!dev"];
WithForcedColors.parameters = {
chromatic: {
forcedColors: "active",
- modes: disableDefaultModes
+ modes: {
+ ...disableDefaultModes,
+ "Mobile": { disable: true },
+ },
},
};
diff --git a/components/icon/stories/template.js b/components/icon/stories/template.js
index cf4b2067091..16f3b57bffb 100644
--- a/components/icon/stories/template.js
+++ b/components/icon/stories/template.js
@@ -5,6 +5,9 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { unsafeSVG } from "lit/directives/unsafe-svg.js";
import "../index.css";
+import "../themes/spectrum.css";
+/* Must be imported last */
+import "../themes/express.css";
/**
* @typedef { keyof import("./icon.stories.js").default.args } IconArgs
@@ -111,6 +114,7 @@ export const Template = ({
uiIconSizes,
} = {}, context = {}) => {
const { globals = {}, loaded = {} } = context;
+
const scale = globals.scale ?? "medium";
if (!workflowIcons || !uiIcons || !uiIconSizes) {
diff --git a/components/icon/themes/express.css b/components/icon/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/icon/themes/express.css
+++ b/components/icon/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/icon/themes/spectrum-two.css b/components/icon/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/icon/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/icon/themes/spectrum.css b/components/icon/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/icon/themes/spectrum.css
+++ b/components/icon/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/illustratedmessage/CHANGELOG.md b/components/illustratedmessage/CHANGELOG.md
index a79e098c865..74a1bdea367 100644
--- a/components/illustratedmessage/CHANGELOG.md
+++ b/components/illustratedmessage/CHANGELOG.md
@@ -1,5 +1,231 @@
# Change Log
+## 8.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/typography@7.0.0-s2-foundations.18
+
+## 8.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.17
+
+## 8.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 8.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 8.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 8.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 8.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 8.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 8.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 8.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 8.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/typography@7.0.0-s2-foundations.6
+
+## 8.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 8.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 8.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 8.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 8.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/typography@7.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 8.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/typography@7.0.0-s2-foundations.0
+
## 7.2.0
### Minor Changes
diff --git a/components/illustratedmessage/index.css b/components/illustratedmessage/index.css
index f51cba797af..0200206bba9 100644
--- a/components/illustratedmessage/index.css
+++ b/components/illustratedmessage/index.css
@@ -11,7 +11,14 @@
* governing permissions and limitations under the License.
*/
- @import "./themes/express.css";
+@import "./themes/spectrum-two.css";
+
+@media (forced-colors: active) {
+ .spectrum-IllustratedMessage {
+ --highcontrast-illustrated-message-illustration-color: CanvasText;
+ --highcontrast-illustrated-message-illustration-accent-color: Highlight;
+ }
+}
.spectrum-IllustratedMessage {
/* Size & Spacing */
@@ -40,22 +47,6 @@
--spectrum-illustrated-message-description-line-height: var(--spectrum-body-line-height);
--spectrum-illustrated-message-description-color: var(--spectrum-body-color);
- /* 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);
- }
-}
-
-@media (forced-colors: active) {
- .spectrum-IllustratedMessage {
- --highcontrast-illustrated-message-illustration-color: CanvasText;
- --highcontrast-illustrated-message-illustration-accent-color: Highlight;
- }
-}
-
-.spectrum-IllustratedMessage {
block-size: 100%;
display: var(--mod-illustrated-message-display, flex);
@@ -66,6 +57,13 @@
text-align: center;
pointer-events: var(--mod-illustrated-message-pointer-events, auto);
max-inline-size: var(--mod-illustrated-message-content-maximum-width);
+
+ /* 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-IllustratedMessage-illustration {
@@ -95,6 +93,7 @@
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);
+
}
.spectrum-IllustratedMessage-description {
diff --git a/components/illustratedmessage/package.json b/components/illustratedmessage/package.json
index 91cbbb9f7e4..80b567d9e7a 100644
--- a/components/illustratedmessage/package.json
+++ b/components/illustratedmessage/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/illustratedmessage",
- "version": "7.2.0",
+ "version": "8.0.0-s2-foundations.16",
"description": "The Spectrum CSS illustratedmessage component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14",
- "@spectrum-css/typography": ">=6"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0",
+ "@spectrum-css/typography": ">=7.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^",
diff --git a/components/illustratedmessage/stories/illustratedmessage.stories.js b/components/illustratedmessage/stories/illustratedmessage.stories.js
index 7daaa86e92a..2333714d6f0 100644
--- a/components/illustratedmessage/stories/illustratedmessage.stories.js
+++ b/components/illustratedmessage/stories/illustratedmessage.stories.js
@@ -44,6 +44,10 @@ export default {
useAccentColor: false,
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=20032-601",
+ },
packageJson,
metadata,
},
diff --git a/components/illustratedmessage/stories/template.js b/components/illustratedmessage/stories/template.js
index 58b0a69076e..9d9f06852b9 100644
--- a/components/illustratedmessage/stories/template.js
+++ b/components/illustratedmessage/stories/template.js
@@ -4,6 +4,9 @@ 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-IllustratedMessage",
@@ -11,34 +14,36 @@ export const Template = ({
description,
customClasses = [],
useAccentColor = false,
-} = {}, context = {}) => html`
- ({ ...a, [c]: true }), {}),
- })}
- >
- ${illustrationSvgMarkup(useAccentColor)}
- ${when(heading, () =>
- Typography({
- semantics: "heading",
- "size": "m",
- customClasses: [`${rootClass}-heading`],
- content: [heading],
- }, context)
- )}
- ${when(description, () =>
- Typography({
- semantics: "body",
- "size": "s",
- customClasses: [`${rootClass}-description`],
- content: [
- ...description.map((c) => (typeof c === "function" ? c({}) : c))
- ],
- }, context)
- )}
-
-`;
+} = {}, context = {}) => {
+ return html`
+ ({ ...a, [c]: true }), {}),
+ })}
+ >
+ ${illustrationSvgMarkup(useAccentColor)}
+ ${when(heading, () =>
+ Typography({
+ semantics: "heading",
+ "size": "m",
+ customClasses: [`${rootClass}-heading`],
+ content: [heading],
+ }, context)
+ )}
+ ${when(description, () =>
+ Typography({
+ semantics: "body",
+ "size": "s",
+ customClasses: [`${rootClass}-description`],
+ content: [
+ ...description.map((c) => (typeof c === "function" ? c({}) : c))
+ ],
+ }, context)
+ )}
+
+ `;
+};
const illustrationSvgMarkup = (withAccentColorClass = false) => html`
+ *
+ * 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.
+ */
diff --git a/components/illustratedmessage/themes/spectrum.css b/components/illustratedmessage/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/illustratedmessage/themes/spectrum.css
+++ b/components/illustratedmessage/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/infieldbutton/CHANGELOG.md b/components/infieldbutton/CHANGELOG.md
index adb201756c4..b067382eb5e 100644
--- a/components/infieldbutton/CHANGELOG.md
+++ b/components/infieldbutton/CHANGELOG.md
@@ -1,5 +1,237 @@
# Change Log
+## 6.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 6.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 6.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#3040](https://github.com/adobe/spectrum-css/pull/3040) [`cf2e737`](https://github.com/adobe/spectrum-css/commit/cf2e73743b2c3d43d4c51fceeabfb99fda1ac4b5) Thanks [@aramos-adobe](https://github.com/aramos-adobe)! - Migrating --mod to index.css from infield button, logic button and table components
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
@@ -17,6 +249,12 @@
- [#3289](https://github.com/adobe/spectrum-css/pull/3289) [`d05f25f`](https://github.com/adobe/spectrum-css/commit/d05f25f971f2e0123ad0747c53ad0250c7cee707) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violation by removing unused custom property.
+## 5.1.4
+
+### Patch Changes
+
+- [#3289](https://github.com/adobe/spectrum-css/pull/3289) [`d05f25f`](https://github.com/adobe/spectrum-css/commit/d05f25f971f2e0123ad0747c53ad0250c7cee707) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violation by removing unused custom property.
+
## 5.1.3
### Patch Changes
diff --git a/components/infieldbutton/index.css b/components/infieldbutton/index.css
index 2cf8eb7c715..ab1533eeacc 100644
--- a/components/infieldbutton/index.css
+++ b/components/infieldbutton/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-InfieldButton {
/* Medium size is the default */
@@ -37,6 +37,7 @@
--mod-infield-button-background-color: var(--mod-infield-button-background-color-disabled, var(--spectrum-disabled-background-color));
--mod-infield-button-background-color-hover: var(--mod-infield-button-background-color-hover-disabled, var(--spectrum-disabled-background-color));
--mod-infield-button-background-color-down: var(--mod-infield-button-background-color-down-disabled, var(--spectrum-disabled-background-color));
+
--mod-infield-button-border-color: var(--mod-infield-button-border-color-disabled, var(--spectrum-disabled-background-color));
--mod-infield-button-icon-color: var(--mod-infield-button-icon-color-disabled, var(--spectrum-disabled-content-color));
@@ -101,11 +102,35 @@
}
}
- &:hover:not(:disabled),
- &:active:not(:disabled),
- &:focus-visible:not(:disabled) {
- @media (forced-colors: active) {
- --highcontrast-infield-button-border-color: Highlight;
+ &:hover {
+ --mod-infield-button-background-color: var(--mod-infield-button-background-color-hover, var(--spectrum-infield-button-background-color-hover));
+ --mod-infield-button-icon-color: var(--mod-infield-button-icon-color-hover, var(--spectrum-infield-button-icon-color-hover));
+ }
+
+ &:active {
+ --mod-infield-button-background-color: var(--mod-infield-button-background-color-down, var(--spectrum-infield-button-background-color-down));
+ --mod-infield-button-icon-color: var(--mod-infield-button-icon-color-down, var(--spectrum-infield-button-icon-color-down));
+ }
+
+ &:focus-visible {
+ --mod-infield-button-background-color: var(--mod-infield-button-background-color-key-focus, var(--spectrum-infield-button-background-color-key-focus));
+ --mod-infield-button-icon-color: var(--mod-infield-button-icon-color-key-focus, var(--spectrum-infield-button-icon-color-key-focus));
+ }
+}
+
+@media (forced-colors: active) {
+ .spectrum-InfieldButton {
+ --highcontrast-infield-button-border-color: ButtonText;
+ --highcontrast-infield-button-border-color-active: Highlight;
+
+ &:disabled {
+ --highcontrast-infield-button-border-color: inherit;
+ }
+
+ &:not(:disabled):hover,
+ &:not(:disabled):active,
+ &:not(:disabled):focus-visible {
+ --highcontrast-infield-button-border-color: var(--highcontrast-infield-button-border-color-active);
}
}
}
@@ -124,104 +149,71 @@
padding: var(--mod-infield-button-edge-to-fill, var(--spectrum-infield-button-edge-to-fill));
- .spectrum-InfieldButton-fill {
- block-size: 100%;
- inline-size: 100%;
-
- background-color: var(--mod-infield-button-background-color, var(--spectrum-infield-button-background-color));
-
- border-width: var(--mod-infield-button-border-width, var(--spectrum-infield-button-border-width));
- border-style: solid;
- border-color: var(--highcontrast-infield-button-border-color, var(--mod-infield-button-border-color, var(--spectrum-infield-button-border-color)));
- border-end-end-radius: var(--mod-infield-button-border-radius, var(--spectrum-infield-button-border-radius));
- border-start-end-radius: var(--mod-infield-button-border-radius, var(--spectrum-infield-button-border-radius));
- border-end-start-radius: var(--mod-infield-button-border-radius, var(--spectrum-infield-button-border-radius));
- border-start-start-radius: var(--mod-infield-button-border-radius, var(--spectrum-infield-button-border-radius));
-
- padding: var(--mod-infield-button-fill-padding, var(--spectrum-infield-button-fill-padding));
- }
-
- .spectrum-InfieldButton-icon {
- color: var(--mod-infield-button-icon-color, var(--spectrum-infield-button-icon-color));
+ &:disabled {
+ cursor: auto;
}
- &.spectrum-InfieldButton--right {
- .spectrum-InfieldButton-fill {
- border-end-start-radius: var(--mod-infield-button-border-radius-reset, var(--spectrum-infield-button-border-radius-reset));
- border-start-start-radius: var(--mod-infield-button-border-radius-reset, var(--spectrum-infield-button-border-radius-reset));
- }
+ &:focus-visible {
+ outline: none;
}
- &.spectrum-InfieldButton--left {
- .spectrum-InfieldButton-fill {
- border-end-end-radius: var(--mod-infield-button-border-radius-reset, var(--spectrum-infield-button-border-radius-reset));
- border-start-end-radius: var(--mod-infield-button-border-radius-reset, var(--spectrum-infield-button-border-radius-reset));
- }
+ /* Stacked in-field buttons */
+ /* Not currently in use (stepper uses Action Buttons) but adding the CSS so the option is there */
+ &.spectrum-InfieldButton--top,
+ &.spectrum-InfieldButton--bottom {
+ block-size: calc(var(--mod-infield-button-height, var(--spectrum-infield-button-height)) / 2);
}
- &:disabled {
- cursor: auto;
+ &.spectrum-InfieldButton--top {
+ padding-block-end: var(--mod-infield-button-inner-edge-to-fill, var(--spectrum-infield-button-inner-edge-to-fill));
}
- &:hover {
- .spectrum-InfieldButton-fill {
- background-color: var(--mod-infield-button-background-color-hover, var(--spectrum-infield-button-background-color-hover));
- }
-
- .spectrum-InfieldButton-icon {
- color: var(--mod-infield-button-icon-color-hover, var(--spectrum-infield-button-icon-color-hover));
- }
+ &.spectrum-InfieldButton--bottom {
+ padding-block-start: var(--mod-infield-button-inner-edge-to-fill, var(--spectrum-infield-button-inner-edge-to-fill));
}
+}
- &:active {
- .spectrum-InfieldButton-fill {
- background-color: var(--mod-infield-button-background-color-down, var(--spectrum-infield-button-background-color-down));
- }
+.spectrum-InfieldButton-fill {
+ block-size: 100%;
+ inline-size: 100%;
- .spectrum-InfieldButton-icon {
- color: var(--mod-infield-button-icon-color-down, var(--spectrum-infield-button-icon-color-down));
- }
- }
+ background-color: var(--mod-infield-button-background-color, var(--spectrum-infield-button-background-color));
- &:focus-visible {
- outline: none;
+ border-width: var(--mod-infield-button-border-width, var(--spectrum-infield-button-border-width));
+ border-style: solid;
+ border-color: var(--highcontrast-infield-button-border-color, var(--mod-infield-button-border-color, var(--spectrum-infield-button-border-color)));
+ border-end-end-radius: var(--mod-infield-button-border-radius, var(--spectrum-infield-button-border-radius));
+ border-start-end-radius: var(--mod-infield-button-border-radius, var(--spectrum-infield-button-border-radius));
+ border-end-start-radius: var(--mod-infield-button-border-radius, var(--spectrum-infield-button-border-radius));
+ border-start-start-radius: var(--mod-infield-button-border-radius, var(--spectrum-infield-button-border-radius));
- .spectrum-InfieldButton-fill {
- background-color: var(--mod-infield-button-background-color-key-focus, var(--spectrum-infield-button-background-color-key-focus));
- }
+ padding: var(--mod-infield-button-fill-padding, var(--spectrum-infield-button-fill-padding));
- .spectrum-InfieldButton-icon {
- color: var(--mod-infield-button-icon-color-key-focus, var(--spectrum-infield-button-icon-color-key-focus));
- }
- }
-}
-
-.spectrum-InfieldButton-fill {
/* center icon */
display: flex;
align-items: center;
justify-content: var(--mod-infield-button-fill-justify-content, var(--spectrum-infield-button-fill-justify-content));
- transition: border-color var(--spectrum-global-animation-duration-100) ease-in-out;
-}
+ transition: border-color var(--spectrum-animation-duration-100) ease-in-out;
+
+ .spectrum-InfieldButton--right & {
+ border-end-start-radius: var(--mod-infield-button-border-radius-reset, var(--spectrum-infield-button-border-radius-reset));
+ border-start-start-radius: var(--mod-infield-button-border-radius-reset, var(--spectrum-infield-button-border-radius-reset));
+ }
-/* Stacked in-field buttons */
-/* Not currently in use (stepper uses Action Buttons) but adding the CSS so the option is there */
-.spectrum-InfieldButton--top,
-.spectrum-InfieldButton--bottom {
- block-size: calc(var(--mod-infield-button-height, var(--spectrum-infield-button-height)) / 2);
+ .spectrum-InfieldButton--left & {
+ border-end-end-radius: var(--mod-infield-button-border-radius-reset, var(--spectrum-infield-button-border-radius-reset));
+ border-start-end-radius: var(--mod-infield-button-border-radius-reset, var(--spectrum-infield-button-border-radius-reset));
+ }
- .spectrum-InfieldButton-fill {
+ .spectrum-InfieldButton--top &,
+ .spectrum-InfieldButton--bottom & {
box-sizing: border-box;
padding-inline-start: calc(var(--mod-infield-button-stacked-fill-padding-inline, var(--spectrum-infield-button-stacked-fill-padding-inline)) - var(--mod-infield-button-edge-to-fill, var(--spectrum-infield-button-edge-to-fill)) - var(--mod-infield-button-border-width, var(--spectrum-infield-button-border-width)));
padding-inline-end: calc(var(--mod-infield-button-stacked-fill-padding-inline, var(--spectrum-infield-button-stacked-fill-padding-inline)) - var(--mod-infield-button-edge-to-fill, var(--spectrum-infield-button-edge-to-fill)) - var(--mod-infield-button-border-width, var(--spectrum-infield-button-border-width)));
}
-}
-
-.spectrum-InfieldButton--top {
- padding-block-end: var(--mod-infield-button-inner-edge-to-fill, var(--spectrum-infield-button-inner-edge-to-fill));
- .spectrum-InfieldButton-fill {
+ .spectrum-InfieldButton--top & {
padding-block-start: calc(var(--mod-infield-button-stacked-fill-padding-outer, var(--spectrum-infield-button-stacked-fill-padding-outer)) - var(--mod-infield-button-edge-to-fill, var(--spectrum-infield-button-edge-to-fill)) - var(--mod-infield-button-border-width, var(--spectrum-infield-button-border-width)));
padding-block-end: calc(var(--mod-infield-button-stacked-fill-padding-inner, var(--spectrum-infield-button-stacked-fill-padding-inner)) - var(--mod-infield-button-inner-edge-to-fill, var(--spectrum-infield-button-inner-edge-to-fill)));
border-block-end: none;
@@ -229,12 +221,8 @@
border-end-start-radius: var(--mod-infield-button-stacked-border-radius-reset, var(--spectrum-infield-button-stacked-border-radius-reset));
border-end-end-radius: var(--mod-infield-button-stacked-border-radius-reset, var(--spectrum-infield-button-stacked-border-radius-reset));
}
-}
-
-.spectrum-InfieldButton--bottom {
- padding-block-start: var(--mod-infield-button-inner-edge-to-fill, var(--spectrum-infield-button-inner-edge-to-fill));
- .spectrum-InfieldButton-fill {
+ .spectrum-InfieldButton--bottom & {
padding-block-start: calc(var(--mod-infield-button-stacked-fill-padding-inner, var(--spectrum-infield-button-stacked-fill-padding-inner)) - var(--mod-infield-button-edge-to-fill, var(--spectrum-infield-button-edge-to-fill)) - var(--mod-infield-button-border-width, var(--spectrum-infield-button-border-width)));
padding-block-end: calc(var(--mod-infield-button-stacked-fill-padding-outer, var(--spectrum-infield-button-stacked-fill-padding-outer)) - var(--mod-infield-button-inner-edge-to-fill, var(--spectrum-infield-button-inner-edge-to-fill)) - var(--mod-infield-button-border-width, var(--spectrum-infield-button-border-width)));
border-end-start-radius: var(--mod-infield-button-stacked-bottom-border-radius-end-start, var(--spectrum-infield-button-stacked-bottom-border-radius-end-start));
@@ -253,4 +241,6 @@
/* remove margin used for centering */
margin: 0 !important;
+
+ color: var(--mod-infield-button-icon-color, var(--spectrum-infield-button-icon-color));
}
diff --git a/components/infieldbutton/metadata/metadata.json b/components/infieldbutton/metadata/metadata.json
index 1b524213f41..0f740ffe77e 100644
--- a/components/infieldbutton/metadata/metadata.json
+++ b/components/infieldbutton/metadata/metadata.json
@@ -2,11 +2,9 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-InfieldButton",
- ".spectrum-InfieldButton .spectrum-InfieldButton-fill",
- ".spectrum-InfieldButton .spectrum-InfieldButton-icon",
- ".spectrum-InfieldButton--bottom",
".spectrum-InfieldButton--bottom .spectrum-InfieldButton-fill",
- ".spectrum-InfieldButton--top",
+ ".spectrum-InfieldButton--left .spectrum-InfieldButton-fill",
+ ".spectrum-InfieldButton--right .spectrum-InfieldButton-fill",
".spectrum-InfieldButton--top .spectrum-InfieldButton-fill",
".spectrum-InfieldButton-fill",
".spectrum-InfieldButton-icon",
@@ -14,10 +12,8 @@
".spectrum-InfieldButton.spectrum-InfieldButton--bottom.spectrum-InfieldButton--sizeL",
".spectrum-InfieldButton.spectrum-InfieldButton--bottom.spectrum-InfieldButton--sizeS",
".spectrum-InfieldButton.spectrum-InfieldButton--bottom.spectrum-InfieldButton--sizeXL",
- ".spectrum-InfieldButton.spectrum-InfieldButton--left .spectrum-InfieldButton-fill",
".spectrum-InfieldButton.spectrum-InfieldButton--quiet",
".spectrum-InfieldButton.spectrum-InfieldButton--quiet:disabled",
- ".spectrum-InfieldButton.spectrum-InfieldButton--right .spectrum-InfieldButton-fill",
".spectrum-InfieldButton.spectrum-InfieldButton--sizeL",
".spectrum-InfieldButton.spectrum-InfieldButton--sizeS",
".spectrum-InfieldButton.spectrum-InfieldButton--sizeXL",
@@ -25,17 +21,13 @@
".spectrum-InfieldButton.spectrum-InfieldButton--top.spectrum-InfieldButton--sizeL",
".spectrum-InfieldButton.spectrum-InfieldButton--top.spectrum-InfieldButton--sizeS",
".spectrum-InfieldButton.spectrum-InfieldButton--top.spectrum-InfieldButton--sizeXL",
- ".spectrum-InfieldButton:active .spectrum-InfieldButton-fill",
- ".spectrum-InfieldButton:active .spectrum-InfieldButton-icon",
- ".spectrum-InfieldButton:active:not(:disabled)",
+ ".spectrum-InfieldButton:active",
".spectrum-InfieldButton:disabled",
".spectrum-InfieldButton:focus-visible",
- ".spectrum-InfieldButton:focus-visible .spectrum-InfieldButton-fill",
- ".spectrum-InfieldButton:focus-visible .spectrum-InfieldButton-icon",
- ".spectrum-InfieldButton:focus-visible:not(:disabled)",
- ".spectrum-InfieldButton:hover .spectrum-InfieldButton-fill",
- ".spectrum-InfieldButton:hover .spectrum-InfieldButton-icon",
- ".spectrum-InfieldButton:hover:not(:disabled)"
+ ".spectrum-InfieldButton:hover",
+ ".spectrum-InfieldButton:not(:disabled):active",
+ ".spectrum-InfieldButton:not(:disabled):focus-visible",
+ ".spectrum-InfieldButton:not(:disabled):hover"
],
"modifiers": [
"--mod-infield-border-color",
@@ -129,37 +121,38 @@
"--spectrum-infield-button-width"
],
"global": [
+ "--spectrum-animation-duration-100",
"--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-75",
"--spectrum-disabled-background-color",
"--spectrum-disabled-content-color",
- "--spectrum-global-animation-duration-100",
+ "--spectrum-gray-100",
"--spectrum-gray-200",
- "--spectrum-gray-300",
- "--spectrum-gray-400",
- "--spectrum-gray-75",
+ "--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-spectrum-infieldbutton-spectrum-infield-button-background-color",
- "--system-spectrum-infieldbutton-spectrum-infield-button-background-color-down",
- "--system-spectrum-infieldbutton-spectrum-infield-button-background-color-hover",
- "--system-spectrum-infieldbutton-spectrum-infield-button-background-color-key-focus",
- "--system-spectrum-infieldbutton-spectrum-infield-button-border-color",
- "--system-spectrum-infieldbutton-spectrum-infield-button-border-radius",
- "--system-spectrum-infieldbutton-spectrum-infield-button-border-radius-reset",
- "--system-spectrum-infieldbutton-spectrum-infield-button-border-width",
- "--system-spectrum-infieldbutton-spectrum-infield-button-stacked-bottom-border-radius-end-start",
- "--system-spectrum-infieldbutton-spectrum-infield-button-stacked-top-border-radius-start-start"
+ "--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"]
+ "high-contrast": [
+ "--highcontrast-infield-button-border-color",
+ "--highcontrast-infield-button-border-color-active"
+ ]
}
diff --git a/components/infieldbutton/package.json b/components/infieldbutton/package.json
index 8fc651ed416..defb7f56f33 100644
--- a/components/infieldbutton/package.json
+++ b/components/infieldbutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/infieldbutton",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.17",
"description": "The Spectrum CSS infield button component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/icon": {
diff --git a/components/infieldbutton/stories/template.js b/components/infieldbutton/stories/template.js
index 5cc77d42045..7f0b4ee8db1 100644
--- a/components/infieldbutton/stories/template.js
+++ b/components/infieldbutton/stories/template.js
@@ -4,6 +4,9 @@ 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
index 3eb94f10c9c..1d930d4cfee 100644
--- a/components/infieldbutton/themes/express.css
+++ b/components/infieldbutton/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-InfieldButton {
--spectrum-infield-button-border-width: 0;
--spectrum-infield-button-border-color: transparent;
diff --git a/components/infieldbutton/themes/spectrum-two.css b/components/infieldbutton/themes/spectrum-two.css
new file mode 100644
index 00000000000..69b060d4e03
--- /dev/null
+++ b/components/infieldbutton/themes/spectrum-two.css
@@ -0,0 +1,31 @@
+/*!
+ * 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-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);
+ }
+}
diff --git a/components/infieldbutton/themes/spectrum.css b/components/infieldbutton/themes/spectrum.css
index 9bb80540e20..ff95c7c2dce 100644
--- a/components/infieldbutton/themes/spectrum.css
+++ b/components/infieldbutton/themes/spectrum.css
@@ -11,18 +11,12 @@
* governing permissions and limitations under the License.
*/
-@container (--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;
+/* @combine .spectrum.spectrum--legacy */
- /* 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);
+@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);
diff --git a/components/inlinealert/CHANGELOG.md b/components/inlinealert/CHANGELOG.md
index 951d845f7b2..3b0bd1e9c62 100644
--- a/components/inlinealert/CHANGELOG.md
+++ b/components/inlinealert/CHANGELOG.md
@@ -1,5 +1,248 @@
# Change Log
+## 9.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/button@14.0.0-s2-foundations.19
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 9.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 9.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 9.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 9.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 9.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 9.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 9.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 9.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 9.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 9.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/button@14.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 9.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 9.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 9.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 9.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 9.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 9.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/button@14.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 8.2.0
### Minor Changes
diff --git a/components/inlinealert/index.css b/components/inlinealert/index.css
index 407c1d4b2aa..ab3af28976d 100644
--- a/components/inlinealert/index.css
+++ b/components/inlinealert/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
- @import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-InLineAlert {
/* Font */
@@ -48,9 +48,7 @@
--spectrum-inlinealert-border-and-icon-color-positive: var(--spectrum-positive-visual-color);
--spectrum-inlinealert-border-and-icon-color-notice: var(--spectrum-notice-visual-color);
--spectrum-inlinealert-border-and-icon-color-negative: var(--spectrum-negative-visual-color);
-}
-.spectrum-InLineAlert {
position: relative;
display: inline-block;
@@ -120,6 +118,7 @@
line-height: var(--mod-inlinealert-content-line-height, var(--spectrum-inlinealert-content-line-height));
color: var(--highcontrast-inlinealert-content-color, var(--mod-inlinealert-content-color, var(--spectrum-inlinealert-content-color)));
+
}
.spectrum-InLineAlert-footer {
diff --git a/components/inlinealert/package.json b/components/inlinealert/package.json
index 139d9acbf79..26b727b735d 100644
--- a/components/inlinealert/package.json
+++ b/components/inlinealert/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/inlinealert",
- "version": "8.2.0",
+ "version": "9.0.0-s2-foundations.16",
"description": "The Spectrum CSS in-line alert component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,19 +21,21 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/button": ">=13",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/button": {
diff --git a/components/inlinealert/stories/inlinealert.stories.js b/components/inlinealert/stories/inlinealert.stories.js
index 5ef4fb5f446..67f802cc5f4 100644
--- a/components/inlinealert/stories/inlinealert.stories.js
+++ b/components/inlinealert/stories/inlinealert.stories.js
@@ -59,6 +59,10 @@ export default {
isClosable: false,
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=2659-4482",
+ },
packageJson,
metadata,
},
diff --git a/components/inlinealert/stories/template.js b/components/inlinealert/stories/template.js
index f5439cf8c4d..6d7a89137f3 100644
--- a/components/inlinealert/stories/template.js
+++ b/components/inlinealert/stories/template.js
@@ -5,6 +5,9 @@ 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-InLineAlert",
diff --git a/components/inlinealert/themes/express.css b/components/inlinealert/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/inlinealert/themes/express.css
+++ b/components/inlinealert/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/inlinealert/themes/spectrum-two.css b/components/inlinealert/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/inlinealert/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/inlinealert/themes/spectrum.css b/components/inlinealert/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/inlinealert/themes/spectrum.css
+++ b/components/inlinealert/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/link/CHANGELOG.md b/components/link/CHANGELOG.md
index 1d215111dca..89ddb8d9857 100644
--- a/components/link/CHANGELOG.md
+++ b/components/link/CHANGELOG.md
@@ -1,5 +1,210 @@
# Change Log
+## 6.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
diff --git a/components/link/index.css b/components/link/index.css
index 4e182c227ba..6a4f668f44f 100644
--- a/components/link/index.css
+++ b/components/link/index.css
@@ -11,46 +11,22 @@
* governing permissions and limitations under the License.
*/
- @import "./themes/express.css";
-
-.spectrum-Link {
- --spectrum-link-animation-duration: var(--spectrum-animation-duration-100);
-
- /* Colors */
- /* Primary */
- --spectrum-link-text-color-primary-default: var(--spectrum-accent-content-color-default);
- --spectrum-link-text-color-primary-hover: var(--spectrum-accent-content-color-hover);
- --spectrum-link-text-color-primary-active: var(--spectrum-accent-content-color-down);
- --spectrum-link-text-color-primary-focus: var(--spectrum-accent-content-color-key-focus);
-
- /* Secondary */
- --spectrum-link-text-color-secondary-default: var(--spectrum-neutral-content-color-default);
- --spectrum-link-text-color-secondary-hover: var(--spectrum-neutral-content-color-hover);
- --spectrum-link-text-color-secondary-active: var(--spectrum-neutral-content-color-down);
- --spectrum-link-text-color-secondary-focus: var(--spectrum-neutral-content-color-key-focus);
-
- --spectrum-link-text-color-white: var(--spectrum-white);
- --spectrum-link-text-color-black: var(--spectrum-black);
-}
+@import "./themes/spectrum-two.css";
/* Windows high contrast mode */
@media (forced-colors: active) {
.spectrum-Link {
- --highcontrast-link-text-color-primary-default: LinkText;
- --highcontrast-link-text-color-primary-hover: LinkText;
- --highcontrast-link-text-color-primary-active: LinkText;
- --highcontrast-link-text-color-primary-focus: LinkText;
-
- --highcontrast-link-text-color-secondary-default: LinkText;
- --highcontrast-link-text-color-secondary-hover: LinkText;
- --highcontrast-link-text-color-secondary-active: LinkText;
- --highcontrast-link-text-color-secondary-focus: LinkText;
-
- --highcontrast-link-text-color-white: LinkText;
- --highcontrast-link-text-color-black: LinkText;
+ --highcontrast-link-text-color: LinkText;
}
}
+.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 {
/* Remove the gray background on active links in IE 10. */
background-color: transparent;
@@ -58,41 +34,30 @@
/* Remove gaps in links underline in iOS 8+ and Safari 8+. */
text-decoration-skip: objects;
text-decoration: underline;
- transition: color var(--mod-link-animation-duration, var(--spectrum-link-animation-duration)) ease-in-out;
+ transition: color var(--mod-link-animation-duration, var(--spectrum-animation-duration-100)) ease-in-out;
outline: none;
cursor: pointer;
- color: var(--highcontrast-link-text-color-primary-default, var(--mod-link-text-color-primary-default, var(--spectrum-link-text-color-primary-default)));
+ /* @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))));
&:hover {
- color: var(--highcontrast-link-text-color-primary-hover, var(--mod-link-text-color-primary-hover, var(--spectrum-link-text-color-primary-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)));
}
&:active {
- color: var(--highcontrast-link-text-color-primary-active, var(--mod-link-text-color-primary-active, var(--spectrum-link-text-color-primary-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)));
}
&:focus-visible {
- color: var(--highcontrast-link-text-color-primary-focus, var(--mod-link-text-color-primary-focus, var(--spectrum-link-text-color-primary-focus)));
+ /* @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)));
+
text-decoration: underline;
text-decoration-style: double;
- text-decoration-color: var(--highcontrast-link-focus-color, inherit);
- }
-}
-
-.spectrum-Link--secondary {
- color: var(--highcontrast-link-text-color-secondary-default, var(--mod-link-text-color-secondary-default, var(--spectrum-link-text-color-secondary-default)));
-
- &:hover {
- color: var(--highcontrast-link-text-color-secondary-hover, var(--mod-link-text-color-secondary-hover, var(--spectrum-link-text-color-secondary-hover)));
- }
-
- &:active {
- color: var(--highcontrast-link-text-color-secondary-active, var(--mod-link-text-color-secondary-active, var(--spectrum-link-text-color-secondary-active)));
- }
-
- &:focus {
- color: var(--highcontrast-link-text-color-secondary-focus, var(--mod-link-text-color-secondary-focus, var(--spectrum-link-text-color-secondary-focus)));
+ text-decoration-color: inherit;
}
}
@@ -105,21 +70,15 @@
}
.spectrum-Link--staticWhite {
- color: var(--highcontrast-link-text-color-white, var(--mod-link-text-color-white, var(--spectrum-link-text-color-white)));
-
- &:hover,
- &:active,
- &:focus {
- color: var(--highcontrast-link-text-color-white, var(--mod-link-text-color-white, var(--spectrum-link-text-color-white)));
- }
+ --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));
+ --mod-link-text-color-active: var(--mod-link-text-color-white, var(--spectrum-white));
+ --mod-link-text-color-focus: var(--mod-link-text-color-white, var(--spectrum-white));
}
.spectrum-Link--staticBlack {
- color: var(--highcontrast-link-text-color-black, var(--mod-link-text-color-black, var(--spectrum-link-text-color-black)));
-
- &:hover,
- &:active,
- &:focus {
- color: var(--highcontrast-link-text-color-black, var(--mod-link-text-color-black, var(--spectrum-link-text-color-black)));
- }
+ --mod-link-text-color: var(--mod-link-text-color-black, var(--spectrum-black));
+ --mod-link-text-color-hover: var(--mod-link-text-color-black, var(--spectrum-black));
+ --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));
}
diff --git a/components/link/metadata/metadata.json b/components/link/metadata/metadata.json
index a5b1874d5ea..9befaceefc4 100644
--- a/components/link/metadata/metadata.json
+++ b/components/link/metadata/metadata.json
@@ -5,24 +5,19 @@
".spectrum-Link--quiet",
".spectrum-Link--quiet:hover",
".spectrum-Link--secondary",
- ".spectrum-Link--secondary:active",
- ".spectrum-Link--secondary:focus",
- ".spectrum-Link--secondary:hover",
".spectrum-Link--staticBlack",
- ".spectrum-Link--staticBlack:active",
- ".spectrum-Link--staticBlack:focus",
- ".spectrum-Link--staticBlack:hover",
".spectrum-Link--staticWhite",
- ".spectrum-Link--staticWhite:active",
- ".spectrum-Link--staticWhite:focus",
- ".spectrum-Link--staticWhite:hover",
".spectrum-Link:active",
".spectrum-Link:focus-visible",
".spectrum-Link:hover"
],
"modifiers": [
"--mod-link-animation-duration",
+ "--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",
@@ -33,19 +28,7 @@
"--mod-link-text-color-secondary-hover",
"--mod-link-text-color-white"
],
- "component": [
- "--spectrum-link-animation-duration",
- "--spectrum-link-text-color-black",
- "--spectrum-link-text-color-primary-active",
- "--spectrum-link-text-color-primary-default",
- "--spectrum-link-text-color-primary-focus",
- "--spectrum-link-text-color-primary-hover",
- "--spectrum-link-text-color-secondary-active",
- "--spectrum-link-text-color-secondary-default",
- "--spectrum-link-text-color-secondary-focus",
- "--spectrum-link-text-color-secondary-hover",
- "--spectrum-link-text-color-white"
- ],
+ "component": [],
"global": [
"--spectrum-accent-content-color-default",
"--spectrum-accent-content-color-down",
@@ -61,17 +44,5 @@
],
"system-theme": [],
"passthroughs": [],
- "high-contrast": [
- "--highcontrast-link-focus-color",
- "--highcontrast-link-text-color-black",
- "--highcontrast-link-text-color-primary-active",
- "--highcontrast-link-text-color-primary-default",
- "--highcontrast-link-text-color-primary-focus",
- "--highcontrast-link-text-color-primary-hover",
- "--highcontrast-link-text-color-secondary-active",
- "--highcontrast-link-text-color-secondary-default",
- "--highcontrast-link-text-color-secondary-focus",
- "--highcontrast-link-text-color-secondary-hover",
- "--highcontrast-link-text-color-white"
- ]
+ "high-contrast": ["--highcontrast-link-text-color"]
}
diff --git a/components/link/metadata/mods.md b/components/link/metadata/mods.md
index 2831c34f716..3ec055db1cd 100644
--- a/components/link/metadata/mods.md
+++ b/components/link/metadata/mods.md
@@ -1,7 +1,11 @@
| Modifiable custom properties |
| ----------------------------------------- |
| `--mod-link-animation-duration` |
+| `--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` |
diff --git a/components/link/package.json b/components/link/package.json
index dbe72dbc99e..a42b58e4b98 100644
--- a/components/link/package.json
+++ b/components/link/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/link",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.16",
"description": "The Spectrum CSS link component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/link/stories/link.stories.js b/components/link/stories/link.stories.js
index ff955ec089b..b025880ae3d 100644
--- a/components/link/stories/link.stories.js
+++ b/components/link/stories/link.stories.js
@@ -70,6 +70,10 @@ export default {
actions: {
handles: ["click .spectrum-Link"],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=18850-110",
+ },
packageJson,
metadata,
},
diff --git a/components/link/stories/template.js b/components/link/stories/template.js
index 2c4cd925c15..e999236a81f 100644
--- a/components/link/stories/template.js
+++ b/components/link/stories/template.js
@@ -5,6 +5,9 @@ import { ifDefined } from "lit/directives/if-defined.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-Link",
@@ -19,31 +22,33 @@ export const Template = ({
isVisited = false,
id = getRandomId("link"),
customClasses = [],
-} = {}) => html`
- ({ ...a, [c]: true }), {}),
- })}
- id=${ifDefined(id)}
- href=${ifDefined(url)}
- >
- ${text}
-
-`;
+} = {}) => {
+ return html`
+ ({ ...a, [c]: true }), {}),
+ })}
+ id=${ifDefined(id)}
+ href=${ifDefined(url)}
+ >
+ ${text}
+
+ `;
+};
export const TemplateWithFillerText = (args, context) => html`
Hello, this is a
- ${Template({...args, context})}
+ ${Template(args, context)}
. This is just filler text, but if you keep reading maybe something good will happen.
`;
diff --git a/components/link/themes/express.css b/components/link/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/link/themes/express.css
+++ b/components/link/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/link/themes/spectrum-two.css b/components/link/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/link/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/link/themes/spectrum.css b/components/link/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/link/themes/spectrum.css
+++ b/components/link/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/logicbutton/CHANGELOG.md b/components/logicbutton/CHANGELOG.md
index 334a6fbea44..85591618101 100644
--- a/components/logicbutton/CHANGELOG.md
+++ b/components/logicbutton/CHANGELOG.md
@@ -1,5 +1,216 @@
# Change Log
+## 5.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 5.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 5.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 5.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 5.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#3040](https://github.com/adobe/spectrum-css/pull/3040) [`cf2e737`](https://github.com/adobe/spectrum-css/commit/cf2e73743b2c3d43d4c51fceeabfb99fda1ac4b5) Thanks [@aramos-adobe](https://github.com/aramos-adobe)! - Migrating --mod to index.css from infield button, logic button and table components
+
+## 5.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 5.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 5.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 5.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 5.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 5.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 5.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 5.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 5.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 5.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 5.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 5.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 5.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 4.2.0
### Minor Changes
diff --git a/components/logicbutton/index.css b/components/logicbutton/index.css
index c2f85821aac..4429907705b 100644
--- a/components/logicbutton/index.css
+++ b/components/logicbutton/index.css
@@ -12,71 +12,58 @@
*/
@import "@spectrum-css/commons/basebutton.css";
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-LogicButton {
- --spectrum-logic-button-height: 24px;
- --spectrum-logic-button-padding: var(--spectrum-component-edge-to-text-50);
- --spectrum-logic-button-font-size: var(--spectrum-font-size-100);
- --spectrum-logic-button-font-weight: var(--spectrum-bold-font-weight);
-
- --spectrum-logic-button-border-width: var(--spectrum-border-width-200);
--spectrum-logic-button-border-radius: var(--spectrum-corner-radius-100);
- --spectrum-logic-button-focus-indicator-width: var(--spectrum-focus-indicator-thickness);
- --spectrum-logic-button-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
- --spectrum-logic-button-focus-indicator-color: var(--spectrum-focus-indicator-color);
-
--spectrum-logic-button-and-text-color: var(--spectrum-white);
--spectrum-logic-button-and-background-color-hover: var(--spectrum-blue-1100);
--spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1100);
--spectrum-logic-button-or-text-color: var(--spectrum-white);
+ --spectrum-logic-button-text-color-disabled: var(--spectrum-gray-500);
- &:disabled,
- &.is-disabled {
- --mod-logic-button-and-background-color: var(--mod-logic-button-and-background-color-disabled, var(--spectrum-gray-200));
- --mod-logic-button-and-border-color: var(--mod-logic-button-and-border-color-disabled, var(--spectrum-gray-200));
- --mod-logic-button-and-text-color: var(--mod-logic-button-and-text-color-disabled, var(--spectrum-gray-500));
- --mod-logic-button-and-background-color-hover: var(--mod-logic-button-and-background-color-hover-disabled, var(--spectrum-gray-200));
- --mod-logic-button-and-border-color-hover: var(--mod-logic-button-and-border-color-hover-disabled, var(--spectrum-gray-200));
-
- --mod-logic-button-or-background-color: var(--mod-logic-button-or-background-color-disabled, var(--spectrum-gray-200));
- --mod-logic-button-or-border-color: var(--mod-logic-button-or-border-color-disabled, var(--spectrum-gray-200));
- --mod-logic-button-or-text-color: var(--mod-logic-button-or-text-color-disabled, var(--spectrum-gray-500));
- --mod-logic-button-or-background-color-hover: var(--mod-logic-button-or-background-color-hover-disabled, var(--spectrum-gray-200));
- --mod-logic-button-or-border-color-hover: var(--mod-logic-button-or-border-color-hover-disabled, var(--spectrum-gray-200));
- }
-}
-
-.spectrum-LogicButton {
@extend %spectrum-BaseButton;
@extend %spectrum-ButtonWithFocusRing;
- block-size: var(--mod-logic-button-height, var(--spectrum-logic-button-height));
- padding: var(--mod-logic-button-padding, var(--spectrum-logic-button-padding));
+ block-size: var(--mod-logic-button-height, 24px);
+ padding: var(--mod-logic-button-padding, var(--spectrum-component-edge-to-text-50));
- border-width: var(--mod-logic-button-border-width, var(--spectrum-logic-button-border-width));
+ border-width: var(--mod-logic-button-border-width, var(--spectrum-border-width-200));
border-radius: var(--mod-logic-button-border-radius, var(--spectrum-logic-button-border-radius));
- font-size: var(--mod-logic-button-font-size, var(--spectrum-logic-button-font-size));
- font-weight: var(--mod-logic-button-font-weight, var(--spectrum-logic-button-font-weight));
+ font-size: var(--mod-logic-button-font-size, var(--spectrum-font-size-100));
+ font-weight: var(--mod-logic-button-font-weight, var(--spectrum-bold-font-weight));
line-height: 0;
&::after {
/* Override border-radius set in %spectrum-ButtonWithFocusRing since this is not a pill button */
- border-radius: calc(var(--mod-logic-button-border-radius, var(--spectrum-logic-button-border-radius)) + var(--mod-logic-button-focus-indicator-gap, var(--spectrum-logic-button-focus-indicator-gap)));
+ border-radius: calc(var(--mod-logic-button-border-radius, var(--spectrum-logic-button-border-radius)) + var(--mod-logic-button-focus-indicator-gap, var(--spectrum-focus-indicator-gap)));
}
-}
-.spectrum-LogicButton {
&:focus-visible {
outline: none;
&::after {
- box-shadow: 0 0 0 var(--mod-logic-button-focus-indicator-width, var(--spectrum-logic-button-focus-indicator-width)) var(--highcontrast-logic-button-focus-indicator-color, var(--mod-logic-button-focus-indicator-color, var(--spectrum-logic-button-focus-indicator-color)));
+ box-shadow: 0 0 0 var(--mod-logic-button-focus-indicator-width, var(--spectrum-focus-indicator-thickness)) var(--highcontrast-logic-button-focus-indicator-color, var(--mod-logic-button-focus-indicator-color, var(--spectrum-focus-indicator-color)));
}
}
+
+ &:disabled,
+ &.is-disabled {
+ --mod-logic-button-and-background-color: var(--mod-logic-button-and-background-color-disabled, var(--spectrum-logic-button-and-background-color-disabled));
+ --mod-logic-button-and-border-color: var(--mod-logic-button-and-border-color-disabled, var(--spectrum-logic-button-and-border-color-disabled));
+ --mod-logic-button-and-text-color: var(--mod-logic-button-and-text-color-disabled, var(--spectrum-logic-button-text-color-disabled));
+ --mod-logic-button-and-background-color-hover: var(--mod-logic-button-and-background-color-hover-disabled, var(--spectrum-logic-button-and-background-color-hover-disabled));
+ --mod-logic-button-and-border-color-hover: var(--mod-logic-button-and-border-color-hover-disabled, var(--spectrum-logic-button-and-border-color-hover-disabled));
+
+ --mod-logic-button-or-background-color: var(--mod-logic-button-or-background-color-disabled, var(--spectrum-logic-button-or-background-color-disabled));
+ --mod-logic-button-or-border-color: var(--mod-logic-button-or-border-color-disabled, var(--spectrum-logic-button-or-border-color-disabled));
+ --mod-logic-button-or-text-color: var(--mod-logic-button-or-text-color-disabled, var(--spectrum-logic-button-text-color-disabled));
+ --mod-logic-button-or-background-color-hover: var(--mod-logic-button-or-background-color-hover-disabled, var(--spectrum-logic-button-or-background-color-hover-disabled));
+ --mod-logic-button-or-border-color-hover: var(--mod-logic-button-or-border-color-hover-disabled, var(--spectrum-logic-button-or-border-color-hover-disabled));
+ }
}
.spectrum-LogicButton--and {
@@ -104,11 +91,11 @@
@media (forced-colors: active) {
.spectrum-LogicButton::after {
--highcontrast-logic-button-focus-indicator-color: Highlight;
+
forced-color-adjust: none;
}
.spectrum-LogicButton {
-
--highcontrast-logic-button-and-background-color: ButtonFace;
--highcontrast-logic-button-and-background-color-hover: ButtonFace;
--highcontrast-logic-button-and-border-color: ButtonText;
@@ -119,6 +106,7 @@
--highcontrast-logic-button-or-border-color: ButtonText;
--highcontrast-logic-button-or-border-color-hover: Highlight;
--highcontrast-logic-button-or-text-color: ButtonText;
+
forced-color-adjust: none;
&:disabled,
diff --git a/components/logicbutton/metadata/metadata.json b/components/logicbutton/metadata/metadata.json
index 36af6ae9a7a..6adfbf58b24 100644
--- a/components/logicbutton/metadata/metadata.json
+++ b/components/logicbutton/metadata/metadata.json
@@ -51,24 +51,25 @@
],
"component": [
"--spectrum-logic-button-and-background-color",
+ "--spectrum-logic-button-and-background-color-disabled",
"--spectrum-logic-button-and-background-color-hover",
+ "--spectrum-logic-button-and-background-color-hover-disabled",
"--spectrum-logic-button-and-border-color",
+ "--spectrum-logic-button-and-border-color-disabled",
"--spectrum-logic-button-and-border-color-hover",
+ "--spectrum-logic-button-and-border-color-hover-disabled",
"--spectrum-logic-button-and-text-color",
"--spectrum-logic-button-border-radius",
- "--spectrum-logic-button-border-width",
- "--spectrum-logic-button-focus-indicator-color",
- "--spectrum-logic-button-focus-indicator-gap",
- "--spectrum-logic-button-focus-indicator-width",
- "--spectrum-logic-button-font-size",
- "--spectrum-logic-button-font-weight",
- "--spectrum-logic-button-height",
"--spectrum-logic-button-or-background-color",
+ "--spectrum-logic-button-or-background-color-disabled",
"--spectrum-logic-button-or-background-color-hover",
+ "--spectrum-logic-button-or-background-color-hover-disabled",
"--spectrum-logic-button-or-border-color",
+ "--spectrum-logic-button-or-border-color-disabled",
"--spectrum-logic-button-or-border-color-hover",
+ "--spectrum-logic-button-or-border-color-hover-disabled",
"--spectrum-logic-button-or-text-color",
- "--spectrum-logic-button-padding"
+ "--spectrum-logic-button-text-color-disabled"
],
"global": [
"--spectrum-animation-duration-100",
@@ -81,13 +82,22 @@
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
"--spectrum-font-size-100",
- "--spectrum-gray-200",
+ "--spectrum-gray-100",
"--spectrum-gray-500",
"--spectrum-line-height-100",
"--spectrum-sans-font-family-stack",
"--spectrum-white"
],
- "system-theme": [],
+ "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/package.json b/components/logicbutton/package.json
index dda75daeb7d..292c84ff72e 100644
--- a/components/logicbutton/package.json
+++ b/components/logicbutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/logicbutton",
- "version": "4.2.0",
+ "version": "5.0.0-s2-foundations.17",
"description": "The Spectrum CSS logicbutton component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/commons": "workspace:^"
diff --git a/components/logicbutton/stories/template.js b/components/logicbutton/stories/template.js
index 889eda68e38..5b0730616ef 100644
--- a/components/logicbutton/stories/template.js
+++ b/components/logicbutton/stories/template.js
@@ -2,28 +2,33 @@ 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",
customClasses = [],
variant = "and",
isDisabled = false,
-} = {}) => html`
- ({ ...a, [c]: true }), {}),
- })}
- aria-disabled=${isDisabled ? "true" : "false"}
- ?disabled=${isDisabled}
- type="button"
- >
- ${variant
- ? variant.charAt(0).toUpperCase() + variant.slice(1)
- : undefined}
-
-`;
+} = {}) => {
+ return html`
+ ({ ...a, [c]: true }), {}),
+ })}
+ aria-disabled=${isDisabled ? "true" : "false"}
+ ?disabled=${isDisabled}
+ type="button"
+ >
+ ${variant
+ ? variant.charAt(0).toUpperCase() + variant.slice(1)
+ : undefined}
+
+ `;
+};
export const VariantGroup = (args, context) => html`
${Template({...args}, context)}
diff --git a/components/logicbutton/themes/express.css b/components/logicbutton/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/logicbutton/themes/express.css
+++ b/components/logicbutton/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/logicbutton/themes/spectrum-two.css b/components/logicbutton/themes/spectrum-two.css
new file mode 100644
index 00000000000..c0bd0d1b3fb
--- /dev/null
+++ b/components/logicbutton/themes/spectrum-two.css
@@ -0,0 +1,26 @@
+/*!
+ * 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
index 3b48a570c21..4aa43a01048 100644
--- a/components/logicbutton/themes/spectrum.css
+++ b/components/logicbutton/themes/spectrum.css
@@ -10,3 +10,21 @@
* 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 4a3e1d5706e..ad738968db1 100644
--- a/components/menu/CHANGELOG.md
+++ b/components/menu/CHANGELOG.md
@@ -1,5 +1,308 @@
# Change Log
+## 8.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.20
+ - @spectrum-css/divider@4.0.0-s2-foundations.16
+ - @spectrum-css/switch@6.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+ - @spectrum-css/tray@4.0.0-s2-foundations.16
+
+## 8.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`085ecbc`](https://github.com/adobe/spectrum-css/commit/085ecbc739cf736e8d95377d605f2a7c4104bcc0) Thanks [@pfulton](https://github.com/pfulton)! - Pulled out _form_ from _fieldlabel_ package.
+ Pulled out _meter_ from _progressbar_ package.
+
+ [SWC-522] fix hover style regression
+
+## 8.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.18
+ - @spectrum-css/divider@4.0.0-s2-foundations.15
+ - @spectrum-css/switch@6.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+ - @spectrum-css/tray@4.0.0-s2-foundations.15
+
+## 8.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.17
+ - @spectrum-css/divider@4.0.0-s2-foundations.14
+ - @spectrum-css/switch@6.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tray@4.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 8.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.16
+ - @spectrum-css/divider@4.0.0-s2-foundations.13
+ - @spectrum-css/switch@6.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tray@4.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 8.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.12
+ - @spectrum-css/divider@4.0.0-s2-foundations.12
+ - @spectrum-css/switch@6.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tray@4.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 8.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.11
+ - @spectrum-css/divider@4.0.0-s2-foundations.11
+ - @spectrum-css/switch@6.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tray@4.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 8.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.10
+ - @spectrum-css/divider@4.0.0-s2-foundations.10
+ - @spectrum-css/switch@6.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tray@4.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 8.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.9
+ - @spectrum-css/divider@4.0.0-s2-foundations.9
+ - @spectrum-css/switch@6.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tray@4.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 8.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.8
+ - @spectrum-css/divider@4.0.0-s2-foundations.8
+ - @spectrum-css/switch@6.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tray@4.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 8.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.7
+ - @spectrum-css/divider@4.0.0-s2-foundations.7
+ - @spectrum-css/switch@6.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tray@4.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 8.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.6
+ - @spectrum-css/divider@4.0.0-s2-foundations.6
+ - @spectrum-css/switch@6.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+ - @spectrum-css/tray@4.0.0-s2-foundations.6
+
+## 8.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.5
+ - @spectrum-css/divider@4.0.0-s2-foundations.5
+ - @spectrum-css/switch@6.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tray@4.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 8.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.4
+ - @spectrum-css/divider@4.0.0-s2-foundations.4
+ - @spectrum-css/switch@6.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tray@4.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 8.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.3
+ - @spectrum-css/divider@4.0.0-s2-foundations.3
+ - @spectrum-css/switch@6.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tray@4.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 8.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.2
+ - @spectrum-css/divider@4.0.0-s2-foundations.2
+ - @spectrum-css/switch@6.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tray@4.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 8.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.1
+ - @spectrum-css/divider@4.0.0-s2-foundations.1
+ - @spectrum-css/switch@6.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tray@4.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 8.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.0
+ - @spectrum-css/divider@4.0.0-s2-foundations.0
+ - @spectrum-css/switch@6.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+ - @spectrum-css/tray@4.0.0-s2-foundations.0
+
## 7.2.0
### Minor Changes
@@ -27,6 +330,18 @@
- [#3290](https://github.com/adobe/spectrum-css/pull/3290) [`df4c029`](https://github.com/adobe/spectrum-css/commit/df4c029babe8007a783099f9989af1e2c2e8181e) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violation by removing unused custom property.
+## 7.1.9
+
+### Patch Changes
+
+- [#3300](https://github.com/adobe/spectrum-css/pull/3300) [`89797d0`](https://github.com/adobe/spectrum-css/commit/89797d0324bcbf2195a28840ce87ed6959da24a5) Thanks [@castastrophe](https://github.com/castastrophe)! - Add passthrough markers to prevent unnecessary warnings about unused custom properties
+
+## 7.1.8
+
+### Patch Changes
+
+- [#3290](https://github.com/adobe/spectrum-css/pull/3290) [`df4c029`](https://github.com/adobe/spectrum-css/commit/df4c029babe8007a783099f9989af1e2c2e8181e) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violation by removing unused custom property.
+
## 7.1.7
### Patch Changes
diff --git a/components/menu/index.css b/components/menu/index.css
index beedd2c07a2..bcb468c029d 100644
--- a/components/menu/index.css
+++ b/components/menu/index.css
@@ -11,32 +11,76 @@
* governing permissions and limitations under the License.
*/
- @import "./themes/express.css";
+@import "./themes/spectrum-two.css";
-.spectrum-Menu {
- --spectrum-menu-item-min-height: var(--spectrum-component-height-100);
- --spectrum-menu-item-icon-height: var(--spectrum-workflow-icon-size-100);
- --spectrum-menu-item-icon-width: var(--spectrum-workflow-icon-size-100);
- --spectrum-menu-item-label-font-size: var(--spectrum-font-size-100);
- --spectrum-menu-item-label-text-to-visual: var(--spectrum-text-to-visual-100);
+@media (forced-colors: active) {
+ .spectrum-Menu {
+ --highcontrast-menu-item-background-color-default: ButtonFace;
+ --highcontrast-menu-item-color-default: ButtonText;
- --spectrum-menu-item-label-inline-edge-to-content: var(--spectrum-component-edge-to-text-100);
- --spectrum-menu-item-top-edge-to-text: var(--spectrum-component-top-to-text-100);
- --spectrum-menu-item-bottom-edge-to-text: var(--spectrum-component-bottom-to-text-100);
+ --highcontrast-menu-item-background-color-focus: Highlight;
+ --highcontrast-menu-item-color-focus: HighlightText;
- --spectrum-menu-item-text-to-control: var(--spectrum-text-to-control-100);
+ --highcontrast-menu-checkmark-icon-color-default: Highlight;
+
+ --highcontrast-menu-item-color-disabled: GrayText;
+ --highcontrast-menu-item-focus-indicator-color: Highlight;
- --spectrum-menu-item-description-font-size: var(--spectrum-font-size-75);
+ --highcontrast-menu-item-selected-background-color: Highlight;
+ --highcontrast-menu-item-selected-color: HighlightText;
- --spectrum-menu-section-header-font-size: var(--spectrum-font-size-100);
- --spectrum-menu-section-header-min-width: var(--spectrum-component-height-100);
+ @supports (color: SelectedItem) {
+ --highcontrast-menu-item-selected-background-color: SelectedItem;
+ --highcontrast-menu-item-selected-color: SelectedItemText;
+ }
- --spectrum-menu-item-selectable-edge-to-text-not-selected: var(--spectrum-menu-item-selectable-edge-to-text-not-selected-medium);
+ .spectrum-Menu-item {
+ /* Hide unstylable readability backplates. */
+ forced-color-adjust: none;
+ }
- --spectrum-menu-item-checkmark-height: var(--spectrum-menu-item-checkmark-height-medium);
- --spectrum-menu-item-checkmark-width: var(--spectrum-menu-item-checkmark-width-medium);
- --spectrum-menu-item-top-to-checkmark: var(--spectrum-menu-item-top-to-selected-icon-medium);
+ .spectrum-Menu-item:hover,
+ .spectrum-Menu-item:focus {
+ .spectrum-Menu-itemCheckbox {
+ /* @passthrough start */
+ --highcontrast-checkbox-highlight-color-hover: ButtonText;
+ --highcontrast-checkbox-highlight-color-default: ButtonText;
+ /* @passthrough end */
+ }
+
+ .spectrum-Menu-itemSwitch {
+ /* @passthrough start */
+ --highcontrast-switch-handle-border-color-hover: ButtonText;
+ --highcontrast-switch-handle-border-color-selected-default: ButtonText;
+ --highcontrast-switch-handle-border-color-selected-hover: ButtonText;
+ --highcontrast-switch-background-color-selected-default: ButtonText;
+ --highcontrast-switch-background-color-selected-hover: ButtonText;
+ /* @passthrough end */
+ }
+ }
+
+ .spectrum-Menu-item--drillIn.is-open {
+ --highcontrast-menu-item-background-color-default: var(--highcontrast-menu-item-selected-background-color);
+ --highcontrast-menu-item-color-default: var(--highcontrast-menu-item-selected-color);
+ }
+
+ .spectrum-Menu-item--collapsible.is-open {
+ &:hover,
+ &:focus-within {
+ box-shadow: inset calc(var(--mod-menu-item-focus-indicator-width, var(--spectrum-menu-item-focus-indicator-width)) * var(--spectrum-menu-item-focus-indicator-direction-scalar, 1)) 0 0 0 var(--highcontrast-menu-item-focus-indicator-color, var(--mod-menu-item-focus-indicator-color, var(--spectrum-menu-item-focus-indicator-color)));
+ }
+ &:hover,
+ &:active,
+ &:focus,
+ &.is-focused {
+ --highcontrast-menu-item-color-focus: var(--highcontrast-menu-item-color-default);
+ }
+ }
+ }
+}
+
+.spectrum-Menu {
--spectrum-menu-item-top-to-action: var(--spectrum-spacing-50);
--spectrum-menu-item-top-to-checkbox: var(--spectrum-spacing-50);
@@ -94,161 +138,118 @@
--spectrum-menu-checkmark-display-shown: block;
--spectrum-menu-checkmark-display: var(--spectrum-menu-checkmark-display-shown);
- --spectrum-menu-back-icon-margin: var(--spectrum-navigational-indicator-top-to-back-icon-medium);
-
/* "no" icon: just the chevron (we're not counting it because it HAS to be there for a collapsible) */
--spectrum-menu-item-collapsible-no-icon-submenu-item-padding-x-start: calc((var(--spectrum-menu-item-label-inline-edge-to-content) + var(--spectrum-menu-item-checkmark-width) + var(--spectrum-menu-item-label-text-to-visual) + var(--spectrum-menu-item-focus-indicator-width)));
-}
-.spectrum-Menu--sizeS {
- --spectrum-menu-item-min-height: var(--spectrum-component-height-75);
- --spectrum-menu-item-icon-height: var(--spectrum-workflow-icon-size-75);
- --spectrum-menu-item-icon-width: var(--spectrum-workflow-icon-size-75);
- --spectrum-menu-item-label-font-size: var(--spectrum-font-size-75);
- --spectrum-menu-item-label-text-to-visual: var(--spectrum-text-to-visual-75);
+ &.spectrum-Menu--sizeS {
+ --spectrum-menu-item-min-height: var(--spectrum-component-height-75);
+ --spectrum-menu-item-icon-height: var(--spectrum-workflow-icon-size-75);
+ --spectrum-menu-item-icon-width: var(--spectrum-workflow-icon-size-75);
+ --spectrum-menu-item-label-font-size: var(--spectrum-font-size-75);
+ --spectrum-menu-item-label-text-to-visual: var(--spectrum-text-to-visual-75);
- --spectrum-menu-item-label-inline-edge-to-content: var(--spectrum-component-edge-to-text-75);
- --spectrum-menu-item-top-edge-to-text: var(--spectrum-component-top-to-text-75);
- --spectrum-menu-item-bottom-edge-to-text: var(--spectrum-component-bottom-to-text-75);
+ --spectrum-menu-item-label-inline-edge-to-content: var(--spectrum-component-edge-to-text-75);
+ --spectrum-menu-item-top-edge-to-text: var(--spectrum-component-top-to-text-75);
+ --spectrum-menu-item-bottom-edge-to-text: var(--spectrum-component-bottom-to-text-75);
- --spectrum-menu-item-text-to-control: var(--spectrum-text-to-control-75);
+ --spectrum-menu-item-text-to-control: var(--spectrum-text-to-control-75);
- --spectrum-menu-item-description-font-size: var(--spectrum-font-size-50);
+ --spectrum-menu-item-description-font-size: var(--spectrum-font-size-50);
- --spectrum-menu-section-header-font-size: var(--spectrum-font-size-75);
- --spectrum-menu-section-header-min-width: var(--spectrum-component-height-75);
+ --spectrum-menu-section-header-font-size: var(--spectrum-font-size-75);
+ --spectrum-menu-section-header-min-width: var(--spectrum-component-height-75);
- --spectrum-menu-item-selectable-edge-to-text-not-selected: var(--spectrum-menu-item-selectable-edge-to-text-not-selected-small);
+ --spectrum-menu-item-selectable-edge-to-text-not-selected: var(--spectrum-menu-item-selectable-edge-to-text-not-selected-small);
- --spectrum-menu-item-checkmark-height: var(--spectrum-menu-item-checkmark-height-small);
- --spectrum-menu-item-checkmark-width: var(--spectrum-menu-item-checkmark-width-small);
- --spectrum-menu-item-top-to-checkmark: var(--spectrum-menu-item-top-to-selected-icon-small);
+ --spectrum-menu-item-checkmark-height: var(--spectrum-menu-item-checkmark-height-small);
+ --spectrum-menu-item-checkmark-width: var(--spectrum-menu-item-checkmark-width-small);
+ --spectrum-menu-item-top-to-checkmark: var(--spectrum-menu-item-top-to-selected-icon-small);
- --spectrum-menu-back-icon-margin: var(--spectrum-navigational-indicator-top-to-back-icon-small);
-}
-
-.spectrum-Menu--sizeL {
- --spectrum-menu-item-min-height: var(--spectrum-component-height-200);
- --spectrum-menu-item-icon-height: var(--spectrum-workflow-icon-size-200);
- --spectrum-menu-item-icon-width: var(--spectrum-workflow-icon-size-200);
- --spectrum-menu-item-label-font-size: var(--spectrum-font-size-200);
- --spectrum-menu-item-label-text-to-visual: var(--spectrum-text-to-visual-200);
-
- --spectrum-menu-item-label-inline-edge-to-content: var(--spectrum-component-edge-to-text-200);
- --spectrum-menu-item-top-edge-to-text: var(--spectrum-component-top-to-text-200);
- --spectrum-menu-item-bottom-edge-to-text: var(--spectrum-component-bottom-to-text-200);
-
- --spectrum-menu-item-text-to-control: var(--spectrum-text-to-control-200);
-
- --spectrum-menu-item-description-font-size: var(--spectrum-font-size-100);
+ --spectrum-menu-back-icon-margin: var(--spectrum-navigational-indicator-top-to-back-icon-small);
+ }
- --spectrum-menu-section-header-font-size: var(--spectrum-font-size-200);
- --spectrum-menu-section-header-min-width: var(--spectrum-component-height-200);
+ &,
+ &.spectrum-Menu--sizeM {
+ --spectrum-menu-item-min-height: var(--spectrum-component-height-100);
+ --spectrum-menu-item-icon-height: var(--spectrum-workflow-icon-size-100);
+ --spectrum-menu-item-icon-width: var(--spectrum-workflow-icon-size-100);
+ --spectrum-menu-item-label-font-size: var(--spectrum-font-size-100);
+ --spectrum-menu-item-label-text-to-visual: var(--spectrum-text-to-visual-100);
- --spectrum-menu-item-selectable-edge-to-text-not-selected: var(--spectrum-menu-item-selectable-edge-to-text-not-selected-large);
+ --spectrum-menu-item-label-inline-edge-to-content: var(--spectrum-component-edge-to-text-100);
+ --spectrum-menu-item-top-edge-to-text: var(--spectrum-component-top-to-text-100);
+ --spectrum-menu-item-bottom-edge-to-text: var(--spectrum-component-bottom-to-text-100);
- --spectrum-menu-item-checkmark-height: var(--spectrum-menu-item-checkmark-height-large);
- --spectrum-menu-item-checkmark-width: var(--spectrum-menu-item-checkmark-width-large);
- --spectrum-menu-item-top-to-checkmark: var(--spectrum-menu-item-top-to-selected-icon-large);
+ --spectrum-menu-item-text-to-control: var(--spectrum-text-to-control-100);
- --spectrum-menu-back-icon-margin: var(--spectrum-navigational-indicator-top-to-back-icon-large);
-}
+ --spectrum-menu-item-description-font-size: var(--spectrum-font-size-75);
-.spectrum-Menu--sizeXL {
- --spectrum-menu-item-min-height: var(--spectrum-component-height-300);
- --spectrum-menu-item-icon-height: var(--spectrum-workflow-icon-size-300);
- --spectrum-menu-item-icon-width: var(--spectrum-workflow-icon-size-300);
- --spectrum-menu-item-label-font-size: var(--spectrum-font-size-300);
- --spectrum-menu-item-label-text-to-visual: var(--spectrum-text-to-visual-300);
+ --spectrum-menu-section-header-font-size: var(--spectrum-font-size-100);
+ --spectrum-menu-section-header-min-width: var(--spectrum-component-height-100);
- --spectrum-menu-item-label-inline-edge-to-content: var(--spectrum-component-edge-to-text-300);
- --spectrum-menu-item-top-edge-to-text: var(--spectrum-component-top-to-text-300);
- --spectrum-menu-item-bottom-edge-to-text: var(--spectrum-component-bottom-to-text-300);
+ --spectrum-menu-item-selectable-edge-to-text-not-selected: var(--spectrum-menu-item-selectable-edge-to-text-not-selected-medium);
- --spectrum-menu-item-text-to-control: var(--spectrum-text-to-control-300);
+ --spectrum-menu-item-checkmark-height: var(--spectrum-menu-item-checkmark-height-medium);
+ --spectrum-menu-item-checkmark-width: var(--spectrum-menu-item-checkmark-width-medium);
+ --spectrum-menu-item-top-to-checkmark: var(--spectrum-menu-item-top-to-selected-icon-medium);
- --spectrum-menu-item-description-font-size: var(--spectrum-font-size-200);
+ --spectrum-menu-back-icon-margin: var(--spectrum-navigational-indicator-top-to-back-icon-medium);
+ }
- --spectrum-menu-section-header-font-size: var(--spectrum-font-size-300);
- --spectrum-menu-section-header-min-width: var(--spectrum-component-height-300);
+ &.spectrum-Menu--sizeL {
+ --spectrum-menu-item-min-height: var(--spectrum-component-height-200);
+ --spectrum-menu-item-icon-height: var(--spectrum-workflow-icon-size-200);
+ --spectrum-menu-item-icon-width: var(--spectrum-workflow-icon-size-200);
+ --spectrum-menu-item-label-font-size: var(--spectrum-font-size-200);
+ --spectrum-menu-item-label-text-to-visual: var(--spectrum-text-to-visual-200);
- --spectrum-menu-item-selectable-edge-to-text-not-selected: var(--spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large);
+ --spectrum-menu-item-label-inline-edge-to-content: var(--spectrum-component-edge-to-text-200);
+ --spectrum-menu-item-top-edge-to-text: var(--spectrum-component-top-to-text-200);
+ --spectrum-menu-item-bottom-edge-to-text: var(--spectrum-component-bottom-to-text-200);
- --spectrum-menu-item-checkmark-height: var(--spectrum-menu-item-checkmark-height-extra-large);
- --spectrum-menu-item-checkmark-width: var(--spectrum-menu-item-checkmark-width-extra-large);
- --spectrum-menu-item-top-to-checkmark: var(--spectrum-menu-item-top-to-selected-icon-extra-large);
+ --spectrum-menu-item-text-to-control: var(--spectrum-text-to-control-200);
- --spectrum-menu-back-icon-margin: var(--spectrum-navigational-indicator-top-to-back-icon-extra-large);
-}
+ --spectrum-menu-item-description-font-size: var(--spectrum-font-size-100);
-@media (forced-colors: active) {
- .spectrum-Menu {
- --highcontrast-menu-item-background-color-default: ButtonFace;
- --highcontrast-menu-item-color-default: ButtonText;
+ --spectrum-menu-section-header-font-size: var(--spectrum-font-size-200);
+ --spectrum-menu-section-header-min-width: var(--spectrum-component-height-200);
- --highcontrast-menu-item-background-color-focus: Highlight;
- --highcontrast-menu-item-color-focus: HighlightText;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected: var(--spectrum-menu-item-selectable-edge-to-text-not-selected-large);
- --highcontrast-menu-checkmark-icon-color-default: Highlight;
+ --spectrum-menu-item-checkmark-height: var(--spectrum-menu-item-checkmark-height-large);
+ --spectrum-menu-item-checkmark-width: var(--spectrum-menu-item-checkmark-width-large);
+ --spectrum-menu-item-top-to-checkmark: var(--spectrum-menu-item-top-to-selected-icon-large);
- --highcontrast-menu-item-color-disabled: GrayText;
- --highcontrast-menu-item-focus-indicator-color: Highlight;
+ --spectrum-menu-back-icon-margin: var(--spectrum-navigational-indicator-top-to-back-icon-large);
+ }
- --highcontrast-menu-item-selected-background-color: Highlight;
- --highcontrast-menu-item-selected-color: HighlightText;
+ &.spectrum-Menu--sizeXL {
+ --spectrum-menu-item-min-height: var(--spectrum-component-height-300);
+ --spectrum-menu-item-icon-height: var(--spectrum-workflow-icon-size-300);
+ --spectrum-menu-item-icon-width: var(--spectrum-workflow-icon-size-300);
+ --spectrum-menu-item-label-font-size: var(--spectrum-font-size-300);
+ --spectrum-menu-item-label-text-to-visual: var(--spectrum-text-to-visual-300);
- @supports (color: SelectedItem) {
- --highcontrast-menu-item-selected-background-color: SelectedItem;
- --highcontrast-menu-item-selected-color: SelectedItemText;
- }
+ --spectrum-menu-item-label-inline-edge-to-content: var(--spectrum-component-edge-to-text-300);
+ --spectrum-menu-item-top-edge-to-text: var(--spectrum-component-top-to-text-300);
+ --spectrum-menu-item-bottom-edge-to-text: var(--spectrum-component-bottom-to-text-300);
- .spectrum-Menu-item {
- /* Hide unstylable readability backplates. */
- forced-color-adjust: none;
- }
+ --spectrum-menu-item-text-to-control: var(--spectrum-text-to-control-300);
- .spectrum-Menu-item:hover,
- .spectrum-Menu-item:focus {
- .spectrum-Menu-itemCheckbox {
- /* @passthrough start */
- --highcontrast-checkbox-highlight-color-hover: ButtonText;
- --highcontrast-checkbox-highlight-color-default: ButtonText;
- /* @passthrough end */
- }
+ --spectrum-menu-item-description-font-size: var(--spectrum-font-size-200);
- .spectrum-Menu-itemSwitch {
- /* @passthrough start */
- --highcontrast-switch-handle-border-color-hover: ButtonText;
- --highcontrast-switch-handle-border-color-selected-default: ButtonText;
- --highcontrast-switch-handle-border-color-selected-hover: ButtonText;
- --highcontrast-switch-background-color-selected-default: ButtonText;
- --highcontrast-switch-background-color-selected-hover: ButtonText;
- /* @passthrough end */
- }
- }
+ --spectrum-menu-section-header-font-size: var(--spectrum-font-size-300);
+ --spectrum-menu-section-header-min-width: var(--spectrum-component-height-300);
- .spectrum-Menu-item--drillIn.is-open {
- --highcontrast-menu-item-background-color-default: var(--highcontrast-menu-item-selected-background-color);
- --highcontrast-menu-item-color-default: var(--highcontrast-menu-item-selected-color);
- }
+ --spectrum-menu-item-selectable-edge-to-text-not-selected: var(--spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large);
- .spectrum-Menu-item--collapsible.is-open {
- &:hover,
- &:focus-within {
- box-shadow: inset calc(var(--mod-menu-item-focus-indicator-width, var(--spectrum-menu-item-focus-indicator-width)) * var(--spectrum-menu-item-focus-indicator-direction-scalar, 1)) 0 0 0 var(--highcontrast-menu-item-focus-indicator-color, var(--mod-menu-item-focus-indicator-color, var(--spectrum-menu-item-focus-indicator-color)));
- }
+ --spectrum-menu-item-checkmark-height: var(--spectrum-menu-item-checkmark-height-extra-large);
+ --spectrum-menu-item-checkmark-width: var(--spectrum-menu-item-checkmark-width-extra-large);
+ --spectrum-menu-item-top-to-checkmark: var(--spectrum-menu-item-top-to-selected-icon-extra-large);
- &:hover,
- &:active,
- &:focus,
- &.is-focused {
- --highcontrast-menu-item-color-focus: var(--highcontrast-menu-item-color-default);
- }
- }
+ --spectrum-menu-back-icon-margin: var(--spectrum-navigational-indicator-top-to-back-icon-extra-large);
}
-}
-.spectrum-Menu {
display: inline-block;
inline-size: var(--mod-menu-inline-size, auto);
box-sizing: border-box;
@@ -265,6 +266,23 @@
--spectrum-menu-section-header-line-height: var(--mod-menu-section-header-line-height-cjk, var(--spectrum-menu-section-header-line-height-cjk));
}
+ /* Menus with "selectable" menu items. */
+ &.is-selectable {
+ /* Provide inline-start spacing for potential checkmarks. */
+ .spectrum-Menu-item {
+ --spectrum-menu-checkmark-display: var(--spectrum-menu-checkmark-display-hidden);
+
+ padding-inline-start: var(--mod-menu-item-selectable-edge-to-text-not-selected, var(--spectrum-menu-item-selectable-edge-to-text-not-selected));
+
+ /* Remove inline-start spacing once an item is selected and a checkmark appears. */
+ &.is-selected {
+ --spectrum-menu-checkmark-display: var(--spectrum-menu-checkmark-display-shown);
+
+ padding-inline-start: var(--mod-menu-item-label-inline-edge-to-content, var(--spectrum-menu-item-label-inline-edge-to-content));
+ }
+ }
+ }
+
.spectrum-Menu-divider {
--spectrum-menu-divider-thickness: var(--spectrum-divider-thickness-medium);
@@ -277,25 +295,8 @@
margin-block: var(--mod-menu-section-divider-margin-block, max(0px, (var(--spectrum-menu-item-section-divider-height) - var(--spectrum-menu-divider-thickness)) / 2));
margin-inline: var(--mod-menu-item-label-inline-edge-to-content, var(--spectrum-menu-item-label-inline-edge-to-content));
}
-}
-
-/* Menus with "selectable" menu items. */
-.spectrum-Menu.is-selectable {
- /* Provide inline-start spacing for potential checkmarks. */
- .spectrum-Menu-item {
- --spectrum-menu-checkmark-display: var(--spectrum-menu-checkmark-display-hidden);
- padding-inline-start: var(--mod-menu-item-selectable-edge-to-text-not-selected, var(--spectrum-menu-item-selectable-edge-to-text-not-selected));
- /* Remove inline-start spacing once an item is selected and a checkmark appears. */
- &.is-selected {
- --spectrum-menu-checkmark-display: var(--spectrum-menu-checkmark-display-shown);
- padding-inline-start: var(--mod-menu-item-label-inline-edge-to-content, var(--spectrum-menu-item-label-inline-edge-to-content));
- }
- }
-}
-
-/* Icons */
-.spectrum-Menu {
+ /* Icons */
.spectrum-Menu-itemIcon {
fill: var(--highcontrast-menu-item-color-default, var(--mod-menu-item-label-icon-color-default, var(--spectrum-menu-item-label-icon-color-default)));
color: var(--highcontrast-menu-item-color-default, var(--mod-menu-item-label-icon-color-default, var(--spectrum-menu-item-label-icon-color-default)));
@@ -331,6 +332,17 @@
grid-area: chevronArea;
align-self: center;
+
+ &:dir(rtl) {
+ transform: rotate(-180deg);
+ }
+ }
+
+ .spectrum-Menu-backIcon {
+ margin-block: var(--mod-menu-back-icon-margin-block, var(--spectrum-menu-back-icon-margin));
+ margin-inline: var(--mod-menu-back-icon-margin-inline, var(--spectrum-menu-back-icon-margin));
+ fill: var(--highcontrast-menu-item-color-default, var(--mod-menu-back-icon-color-default, var(--spectrum-menu-section-header-color)));
+ color: var(--highcontrast-menu-item-color-default, var(--mod-menu-back-icon-color-default, var(--spectrum-menu-section-header-color)));
}
.spectrum-Menu-itemIcon--workflowIcon {
@@ -342,19 +354,15 @@
block-size: var(--mod-menu-item-icon-height, var(--spectrum-menu-item-icon-height));
inline-size: var(--mod-menu-item-icon-width, var(--spectrum-menu-item-icon-width));
}
-}
-
-.spectrum-Menu-chevron:dir(rtl) {
- transform: rotate(-180deg);
-}
-/* Presentational list items for sections and dividers. */
-.spectrum-Menu li:not(.spectrum-Menu-item, .spectrum-Menu-divider) {
- display: block;
- position: relative;
- box-sizing: border-box;
- margin: 0;
- padding: 0;
+ /* Presentational list items for sections and dividers. */
+ li:not(.spectrum-Menu-item, .spectrum-Menu-divider) {
+ display: block;
+ position: relative;
+ box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+ }
}
.spectrum-Menu-item {
@@ -369,6 +377,7 @@
line-height: var(--mod-menu-item-label-line-height, var(--spectrum-menu-item-label-line-height));
min-block-size: var(--mod-menu-item-min-height, var(--spectrum-menu-item-min-height));
+
padding-block-start: var(--mod-menu-item-top-edge-to-text, var(--spectrum-menu-item-top-edge-to-text));
padding-block-end: var(--mod-menu-item-bottom-edge-to-text, var(--spectrum-menu-item-bottom-edge-to-text));
padding-inline: var(--mod-menu-item-label-inline-edge-to-content, var(--spectrum-menu-item-label-inline-edge-to-content));
@@ -376,14 +385,25 @@
margin: 0;
text-decoration: none;
+ display: grid;
+
+ grid-template-areas:
+ ". chevronAreaCollapsible . headingIconArea sectionHeadingArea . . . "
+ "selectedArea chevronAreaCollapsible checkmarkArea iconArea labelArea valueArea actionsArea chevronAreaDrillIn"
+ ". . . . descriptionArea . . . "
+ ". . . . submenuArea . . . ";
+
+ grid-template-columns: auto auto auto auto 1fr auto auto auto;
+ grid-template-rows: 1fr auto;
+
.spectrum-Menu-itemCheckbox {
--mod-checkbox-top-to-text: 0;
--mod-checkbox-text-to-control: 0;
+
min-block-size: 0;
.spectrum-Checkbox-box {
margin-inline-end: var(--mod-menu-item-text-to-control, var(--spectrum-menu-item-text-to-control));
-
margin-block-start: var(--mod-menu-item-top-to-checkbox, var(--spectrum-menu-item-top-to-checkbox));
margin-block-end: 0;
}
@@ -397,161 +417,188 @@
margin-block-end: 0;
}
}
-}
-.spectrum-Menu-item {
- display: grid;
- grid-template-areas:
- ". chevronAreaCollapsible . headingIconArea sectionHeadingArea . . . "
- "selectedArea chevronAreaCollapsible checkmarkArea iconArea labelArea valueArea actionsArea chevronAreaDrillIn"
- ". . . . descriptionArea . . . "
- ". . . . submenuArea . . . ";
+ .spectrum-Menu-item {
+ display: grid;
+ grid-template-areas: "submenuItemLabelArea submenuItemValueArea";
+ grid-template-columns: auto auto;
+ grid-template-rows: 1fr auto;
- grid-template-columns: auto auto auto auto 1fr auto auto auto;
- grid-template-rows: 1fr auto;
-}
+ .spectrum-Menu-itemLabel {
+ grid-area: submenuItemLabelArea;
+ }
-.spectrum-Menu-item .spectrum-Menu-item {
- display: grid;
- grid-template-areas: "submenuItemLabelArea submenuItemValueArea";
- grid-template-columns: auto auto;
- grid-template-rows: 1fr auto;
-}
+ .spectrum-Menu-itemValue {
+ grid-area: submenuItemValueArea;
+ }
+ }
-.spectrum-Menu-item .spectrum-Menu-item .spectrum-Menu-itemLabel {
- grid-area: submenuItemLabelArea;
-}
+ &:focus,
+ &.is-focused {
+ background-color: var(--highcontrast-menu-item-background-color-focus, var(--mod-menu-item-background-color-key-focus, var(--spectrum-menu-item-background-color-key-focus)));
+ outline: none;
-.spectrum-Menu-item .spectrum-Menu-item .spectrum-Menu-itemValue {
- grid-area: submenuItemValueArea;
-}
+ > .spectrum-Menu-itemLabel {
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-content-color-focus, var(--spectrum-menu-item-label-content-color-focus)));
+ }
-.spectrum-Menu-item:focus,
-.spectrum-Menu-item.is-focused {
- background-color: var(--highcontrast-menu-item-background-color-focus, var(--mod-menu-item-background-color-key-focus, var(--spectrum-menu-item-background-color-key-focus)));
- outline: none;
+ > .spectrum-Menu-sectionHeading {
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-section-header-color, var(--spectrum-menu-section-header-color)));
+ }
- > .spectrum-Menu-itemLabel {
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-content-color-focus, var(--spectrum-menu-item-label-content-color-focus)));
- }
+ > .spectrum-Menu-itemDescription {
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-description-color-focus, var(--spectrum-menu-item-description-color-focus)));
+ }
- > .spectrum-Menu-sectionHeading {
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-section-header-color, var(--spectrum-menu-section-header-color)));
- }
+ > .spectrum-Menu-itemValue {
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-value-color-focus, var(--spectrum-menu-item-value-color-focus)));
+ }
- > .spectrum-Menu-itemDescription {
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-description-color-focus, var(--spectrum-menu-item-description-color-focus)));
- }
+ > .spectrum-Menu-itemIcon:not(.spectrum-Menu-chevron, .spectrum-Menu-checkmark) {
+ fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-icon-color-focus, var(--spectrum-menu-item-label-icon-color-focus)));
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-icon-color-focus, var(--spectrum-menu-item-label-icon-color-focus)));
+ }
- > .spectrum-Menu-itemValue {
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-value-color-focus, var(--spectrum-menu-item-value-color-focus)));
- }
+ > .spectrum-Menu-chevron {
+ fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-collapsible-icon-color, var(--spectrum-menu-collapsible-icon-color)));
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-collapsible-icon-color, var(--spectrum-menu-collapsible-icon-color)));
+ }
- > .spectrum-Menu-itemIcon:not(.spectrum-Menu-chevron, .spectrum-Menu-checkmark) {
- fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-icon-color-focus, var(--spectrum-menu-item-label-icon-color-focus)));
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-icon-color-focus, var(--spectrum-menu-item-label-icon-color-focus)));
+ > .spectrum-Menu-checkmark {
+ fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-checkmark-icon-color-focus, var(--spectrum-menu-checkmark-icon-color-focus)));
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-checkmark-icon-color-focus, var(--spectrum-menu-checkmark-icon-color-focus)));
+ }
}
- > .spectrum-Menu-chevron {
- fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-collapsible-icon-color, var(--spectrum-menu-collapsible-icon-color)));
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-collapsible-icon-color, var(--spectrum-menu-collapsible-icon-color)));
+ &:dir(rtl) {
+ --spectrum-menu-item-focus-indicator-direction-scalar: -1;
}
- > .spectrum-Menu-checkmark {
- fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-checkmark-icon-color-focus, var(--spectrum-menu-checkmark-icon-color-focus)));
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-checkmark-icon-color-focus, var(--spectrum-menu-checkmark-icon-color-focus)));
- }
-}
+ &:hover {
+ background-color: var(--highcontrast-menu-item-background-color-focus, var(--mod-menu-item-background-color-hover, var(--spectrum-menu-item-background-color-hover)));
-.spectrum-Menu-item:focus-visible,
-.spectrum-Menu-back:focus-visible {
- box-shadow: inset calc(var(--mod-menu-item-focus-indicator-width, var(--spectrum-menu-item-focus-indicator-width)) * var(--spectrum-menu-item-focus-indicator-direction-scalar, 1)) 0 0 0 var(--highcontrast-menu-item-focus-indicator-color, var(--mod-menu-item-focus-indicator-color, var(--spectrum-menu-item-focus-indicator-color)));
-}
+ > .spectrum-Menu-itemLabel {
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-content-color-hover, var(--spectrum-menu-item-label-content-color-hover)));
+ }
-.spectrum-Menu-item:dir(rtl) {
- --spectrum-menu-item-focus-indicator-direction-scalar: -1;
-}
+ > .spectrum-Menu-sectionHeading {
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-section-header-color, var(--spectrum-menu-section-header-color)));
+ }
-.spectrum-Menu-item:hover {
- background-color: var(--highcontrast-menu-item-background-color-focus, var(--mod-menu-item-background-color-hover, var(--spectrum-menu-item-background-color-hover)));
+ > .spectrum-Menu-itemDescription {
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-description-color-hover, var(--spectrum-menu-item-description-color-hover)));
+ }
- > .spectrum-Menu-itemLabel {
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-content-color-hover, var(--spectrum-menu-item-label-content-color-hover)));
- }
+ > .spectrum-Menu-itemValue {
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-value-color-hover, var(--spectrum-menu-item-value-color-hover)));
+ }
- > .spectrum-Menu-sectionHeading {
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-section-header-color, var(--spectrum-menu-section-header-color)));
- }
+ > .spectrum-Menu-itemIcon:not(.spectrum-Menu-chevron, .spectrum-Menu-checkmark) {
+ fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-icon-color-hover, var(--spectrum-menu-item-label-icon-color-hover)));
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-icon-color-hover, var(--spectrum-menu-item-label-icon-color-hover)));
+ }
- > .spectrum-Menu-itemDescription {
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-description-color-hover, var(--spectrum-menu-item-description-color-hover)));
- }
+ > .spectrum-Menu-chevron {
+ fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-collapsible-icon-color, var(--spectrum-menu-collapsible-icon-color)));
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-collapsible-icon-color, var(--spectrum-menu-collapsible-icon-color)));
+ }
- > .spectrum-Menu-itemValue {
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-value-color-hover, var(--spectrum-menu-item-value-color-hover)));
+ > .spectrum-Menu-checkmark {
+ fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-checkmark-icon-color-hover, var(--spectrum-menu-checkmark-icon-color-hover)));
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-checkmark-icon-color-hover, var(--spectrum-menu-checkmark-icon-color-hover)));
+ }
}
- > .spectrum-Menu-itemIcon:not(.spectrum-Menu-chevron, .spectrum-Menu-checkmark) {
- fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-icon-color-hover, var(--spectrum-menu-item-label-icon-color-hover)));
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-icon-color-hover, var(--spectrum-menu-item-label-icon-color-hover)));
- }
+ &:active {
+ background-color: var(--highcontrast-menu-item-background-color-focus, var(--mod-menu-item-background-color-down, var(--spectrum-menu-item-background-color-down)));
- > .spectrum-Menu-chevron {
- fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-collapsible-icon-color, var(--spectrum-menu-collapsible-icon-color)));
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-collapsible-icon-color, var(--spectrum-menu-collapsible-icon-color)));
- }
+ > .spectrum-Menu-itemLabel {
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-content-color-down, var(--spectrum-menu-item-label-content-color-down)));
+ }
- > .spectrum-Menu-checkmark {
- fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-checkmark-icon-color-hover, var(--spectrum-menu-checkmark-icon-color-hover)));
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-checkmark-icon-color-hover, var(--spectrum-menu-checkmark-icon-color-hover)));
- }
-}
+ > .spectrum-Menu-sectionHeading {
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-section-header-color, var(--spectrum-menu-section-header-color)));
+ }
-.spectrum-Menu-item:active {
- background-color: var(--highcontrast-menu-item-background-color-focus, var(--mod-menu-item-background-color-down, var(--spectrum-menu-item-background-color-down)));
+ > .spectrum-Menu-itemDescription {
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-description-color-down, var(--spectrum-menu-item-description-color-down)));
+ }
- > .spectrum-Menu-itemLabel {
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-content-color-down, var(--spectrum-menu-item-label-content-color-down)));
- }
+ > .spectrum-Menu-itemValue {
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-value-color-down, var(--spectrum-menu-item-value-color-down)));
+ }
- > .spectrum-Menu-sectionHeading {
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-section-header-color, var(--spectrum-menu-section-header-color)));
- }
+ > .spectrum-Menu-itemIcon:not(.spectrum-Menu-chevron, .spectrum-Menu-checkmark) {
+ fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-icon-color-down, var(--spectrum-menu-item-label-icon-color-down)));
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-icon-color-down, var(--spectrum-menu-item-label-icon-color-down)));
+ }
- > .spectrum-Menu-itemDescription {
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-description-color-down, var(--spectrum-menu-item-description-color-down)));
- }
+ > .spectrum-Menu-chevron {
+ fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-collapsible-icon-color, var(--spectrum-menu-collapsible-icon-color)));
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-collapsible-icon-color, var(--spectrum-menu-collapsible-icon-color)));
+ }
- > .spectrum-Menu-itemValue {
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-value-color-down, var(--spectrum-menu-item-value-color-down)));
+ > .spectrum-Menu-checkmark {
+ fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-checkmark-icon-color-down, var(--spectrum-menu-checkmark-icon-color-down)));
+ color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-checkmark-icon-color-down, var(--spectrum-menu-checkmark-icon-color-down)));
+ }
}
- > .spectrum-Menu-itemIcon:not(.spectrum-Menu-chevron, .spectrum-Menu-checkmark) {
- fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-icon-color-down, var(--spectrum-menu-item-label-icon-color-down)));
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-item-label-icon-color-down, var(--spectrum-menu-item-label-icon-color-down)));
- }
+ /* Disabled menu items */
+ &.is-disabled,
+ &[aria-disabled="true"] {
+ background-color: transparent;
- > .spectrum-Menu-chevron {
- fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-collapsible-icon-color, var(--spectrum-menu-collapsible-icon-color)));
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-collapsible-icon-color, var(--spectrum-menu-collapsible-icon-color)));
- }
+ .spectrum-Menu-itemLabel,
+ .spectrum-Menu-sectionHeading,
+ .spectrum-Menu-itemValue {
+ color: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-label-content-color-disabled, var(--spectrum-menu-item-label-content-color-disabled)));
+ }
- > .spectrum-Menu-checkmark {
- fill: var(--highcontrast-menu-item-color-focus, var(--mod-menu-checkmark-icon-color-down, var(--spectrum-menu-checkmark-icon-color-down)));
- color: var(--highcontrast-menu-item-color-focus, var(--mod-menu-checkmark-icon-color-down, var(--spectrum-menu-checkmark-icon-color-down)));
+ .spectrum-Menu-itemDescription {
+ color: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-description-color-disabled, var(--spectrum-menu-item-description-color-disabled)));
+ }
+
+ .spectrum-Menu-itemIcon {
+ color: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-label-icon-color-disabled, var(--spectrum-menu-item-label-icon-color-disabled)));
+ fill: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-label-icon-color-disabled, var(--spectrum-menu-item-label-icon-color-disabled)));
+ }
+
+ &:hover {
+ cursor: default;
+ background-color: transparent;
+
+ .spectrum-Menu-itemLabel,
+ .spectrum-Menu-sectionHeading,
+ .spectrum-Menu-itemValue {
+ color: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-label-content-color-disabled, var(--spectrum-menu-item-label-content-color-disabled)));
+ }
+
+ .spectrum-Menu-itemDescription {
+ color: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-description-color-disabled, var(--spectrum-menu-item-description-color-disabled)));
+ }
+
+ .spectrum-Menu-itemIcon {
+ color: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-label-icon-color-disabled, var(--spectrum-menu-item-label-icon-color-disabled)));
+ fill: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-label-icon-color-disabled, var(--spectrum-menu-item-label-icon-color-disabled)));
+ }
+ }
}
}
-.spectrum-Menu-item--collapsible .spectrum-Menu-itemIcon {
- grid-area: headingIconArea;
+.spectrum-Menu-item:focus-visible,
+.spectrum-Menu-back:focus-visible {
+ box-shadow: inset calc(var(--mod-menu-item-focus-indicator-width, var(--spectrum-menu-item-focus-indicator-width)) * var(--spectrum-menu-item-focus-indicator-direction-scalar, 1)) 0 0 0 var(--highcontrast-menu-item-focus-indicator-color, var(--mod-menu-item-focus-indicator-color, var(--spectrum-menu-item-focus-indicator-color)));
}
-.is-selectableMultiple .spectrum-Menu-item {
- align-items: start;
-}
+.is-selectableMultiple {
+ .spectrum-Menu-item {
+ align-items: start;
+ }
-.is-selectableMultiple .spectrum-Menu-itemCheckbox {
- grid-area: checkmarkArea;
+ .spectrum-Menu-itemCheckbox {
+ grid-area: checkmarkArea;
+ }
}
.spectrum-Menu-itemSelection {
@@ -559,13 +606,26 @@
}
.spectrum-Menu-itemLabel {
+ /* @passthrough start -- Switch spacing overrides */
+ --mod-switch-control-label-spacing: 0;
+ --mod-switch-spacing-top-to-label: 0;
+ /* @passthrough end */
+
grid-area: labelArea;
font-size: var(--mod-menu-item-label-font-size, var(--spectrum-menu-item-label-font-size));
color: var(--highcontrast-menu-item-color-default, var(--mod-menu-item-label-content-color-default, var(--spectrum-menu-item-label-content-color-default)));
+
+ hyphens: auto;
+ overflow-wrap: break-word;
}
.spectrum-Menu-itemValue {
grid-area: valueArea;
+ color: var(--highcontrast-menu-item-color-default, var(--mod-menu-item-value-color-default, var(--spectrum-menu-item-value-color-default)));
+ font-size: var(--mod-menu-item-label-font-size, var(--spectrum-menu-item-label-font-size));
+ justify-self: end;
+ align-self: start;
+ margin-inline-start: var(--mod-menu-item-label-to-value-area-min-spacing, var(--spectrum-menu-item-label-to-value-area-min-spacing));
}
.spectrum-Menu-itemActions {
@@ -574,39 +634,22 @@
margin-inline-start: var(--mod-menu-item-label-to-value-area-min-spacing, var(--spectrum-menu-item-label-to-value-area-min-spacing));
}
-.spectrum-Menu-item--collapsible .spectrum-Menu-chevron {
- grid-area: chevronAreaCollapsible;
-}
-
.spectrum-Menu-sectionHeading {
grid-area: sectionHeadingArea;
grid-column: 1 / -1;
-}
-
-.spectrum-Menu-item--collapsible .spectrum-Menu-sectionHeading {
- /*
- start at 5th column, to account for icons & match sectionHeadingArea
- ". chevronAreaCollapsible . iconArea sectionHeadingArea . . ."
- stretch to last column
- */
- grid-column: 5 / -1;
+ color: var(--highcontrast-menu-item-color-default, var(--mod-menu-section-header-color, var(--spectrum-menu-section-header-color)));
+ display: block;
+ font-size: var(--mod-menu-section-header-font-size, var(--spectrum-menu-section-header-font-size));
+ font-weight: var(--mod-menu-section-header-font-weight, var(--spectrum-menu-section-header-font-weight));
+ line-height: var(--mod-menu-section-header-line-height, var(--spectrum-menu-section-header-line-height));
+ min-inline-size: var(--mod-menu-section-header-min-width, var(--spectrum-menu-section-header-min-width));
+ padding-block-start: var(--mod-menu-section-header-top-edge-to-text, var(--mod-menu-item-top-edge-to-text, var(--spectrum-menu-item-top-edge-to-text)));
+ padding-block-end: var(--mod-menu-section-header-bottom-edge-to-text, var(--mod-menu-item-bottom-edge-to-text, var(--spectrum-menu-item-bottom-edge-to-text)));
+ padding-inline: var(--mod-menu-item-label-inline-edge-to-content, var(--spectrum-menu-item-label-inline-edge-to-content));
}
.spectrum-Menu-itemDescription {
grid-area: descriptionArea;
-}
-
-.spectrum-Menu-item--collapsible .spectrum-Menu,
-.spectrum-Menu-item .spectrum-Menu {
- grid-area: submenuArea;
- grid-column: 1 / -1;
-}
-
-.spectrum-Menu-item--drillIn .spectrum-Menu-chevron {
- grid-area: chevronAreaDrillIn;
-}
-
-.spectrum-Menu-itemDescription {
color: var(--highcontrast-menu-item-color-default, var(--mod-menu-item-description-color-default, var(--spectrum-menu-item-description-color-default)));
font-size: var(--mod-menu-item-description-font-size, var(--spectrum-menu-item-description-font-size));
hyphens: auto;
@@ -615,39 +658,25 @@
line-height: var(--mod-menu-item-description-line-height, var(--spectrum-menu-item-description-line-height));
}
-.spectrum-Menu-itemLabel {
- hyphens: auto;
- overflow-wrap: break-word;
-}
-
-.spectrum-Menu-itemValue {
- color: var(--highcontrast-menu-item-color-default, var(--mod-menu-item-value-color-default, var(--spectrum-menu-item-value-color-default)));
- font-size: var(--mod-menu-item-label-font-size, var(--spectrum-menu-item-label-font-size));
- justify-self: end;
- align-self: start;
- margin-inline-start: var(--mod-menu-item-label-to-value-area-min-spacing, var(--spectrum-menu-item-label-to-value-area-min-spacing));
-}
-
.spectrum-Menu-itemLabel--truncate {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
-.spectrum-Menu-sectionHeading {
- color: var(--highcontrast-menu-item-color-default, var(--mod-menu-section-header-color, var(--spectrum-menu-section-header-color)));
- display: block;
- font-size: var(--mod-menu-section-header-font-size, var(--spectrum-menu-section-header-font-size));
- font-weight: var(--mod-menu-section-header-font-weight, var(--spectrum-menu-section-header-font-weight));
- line-height: var(--mod-menu-section-header-line-height, var(--spectrum-menu-section-header-line-height));
- min-inline-size: var(--mod-menu-section-header-min-width, var(--spectrum-menu-section-header-min-width));
- padding-block-start: var(--mod-menu-section-header-top-edge-to-text, var(--mod-menu-item-top-edge-to-text, var(--spectrum-menu-item-top-edge-to-text)));
- padding-block-end: var(--mod-menu-section-header-bottom-edge-to-text, var(--mod-menu-item-bottom-edge-to-text, var(--spectrum-menu-item-bottom-edge-to-text)));
- padding-inline: var(--mod-menu-item-label-inline-edge-to-content, var(--spectrum-menu-item-label-inline-edge-to-content));
-}
-
-/* collapsible sub-menus */
.spectrum-Menu-item--collapsible {
+ .spectrum-Menu-sectionHeading {
+ /*
+ start at 5th column, to account for icons & match sectionHeadingArea
+ ". chevronAreaCollapsible . iconArea sectionHeadingArea . . ."
+ stretch to last column
+ */
+ grid-column: 5 / -1;
+
+ padding-inline: 0;
+ }
+
+ /* collapsible sub-menus */
&.is-open {
padding-block-end: 0;
@@ -663,43 +692,52 @@
background-color: var(--highcontrast-menu-item-background-color-default, var(--mod-menu-item-background-color-default, var(--spectrum-menu-item-background-color-default)));
}
- .spectrum-Menu {
- display: none;
- }
-
- .spectrum-Menu.is-open {
- display: block;
- }
-
- .spectrum-Menu-sectionHeading {
- padding-inline: 0;
+ .spectrum-Menu-itemIcon {
+ grid-area: headingIconArea;
}
> .spectrum-Menu-itemIcon {
padding-block-start: var(--mod-menu-section-header-top-edge-to-text, var(--mod-menu-item-top-edge-to-text, var(--spectrum-menu-item-top-edge-to-text)));
padding-block-end: var(--mod-menu-section-header-bottom-edge-to-text, var(--mod-menu-item-bottom-edge-to-text, var(--spectrum-menu-item-bottom-edge-to-text)));
}
-}
-/*
- assume that if an item is collapsible, it will
- have a chevron and we need to adjust position of submenu items to account for that
-*/
-.spectrum-Menu-item--collapsible .spectrum-Menu {
- /* reposition the entire submenu to be flush left with the parent menu item via negative margins */
- margin-inline: calc(var(--mod-menu-item-label-inline-edge-to-content, var(--spectrum-menu-item-label-inline-edge-to-content)) * -1);
+ .spectrum-Menu-chevron {
+ grid-area: chevronAreaCollapsible;
+ }
- .spectrum-Menu-item {
- /*
- allow item to take up full width of parent,
- but make the content start where the parent item's label text starts
- */
- padding-inline-start: var(--mod-menu-item-collapsible-no-icon-submenu-item-padding-x-start, var(--spectrum-menu-item-collapsible-no-icon-submenu-item-padding-x-start));
+ /*
+ assume that if an item is collapsible, it will
+ have a chevron and we need to adjust position of submenu items to account for that
+ */
+ .spectrum-Menu {
+ display: none;
+
+ /* reposition the entire submenu to be flush left with the parent menu item via negative margins */
+ margin-inline: calc(var(--mod-menu-item-label-inline-edge-to-content, var(--spectrum-menu-item-label-inline-edge-to-content)) * -1);
+
+ &.is-open {
+ display: block;
+ }
+
+ .spectrum-Menu-item {
+ /*
+ allow item to take up full width of parent,
+ but make the content start where the parent item's label text starts
+ */
+ padding-inline-start: var(--mod-menu-item-collapsible-no-icon-submenu-item-padding-x-start, var(--spectrum-menu-item-collapsible-no-icon-submenu-item-padding-x-start));
+ }
}
}
+.spectrum-Menu-item--collapsible .spectrum-Menu,
+.spectrum-Menu-item .spectrum-Menu {
+ grid-area: submenuArea;
+ grid-column: 1 / -1;
+}
+
.spectrum-Menu-item--drillIn {
.spectrum-Menu-chevron {
+ grid-area: chevronAreaDrillIn;
fill: var(--highcontrast-menu-item-color-default, var(--mod-menu-drillin-icon-color-default, var(--spectrum-menu-drillin-icon-color-default)));
color: var(--highcontrast-menu-item-color-default, var(--mod-menu-drillin-icon-color-default, var(--spectrum-menu-drillin-icon-color-default)));
margin-inline-start: var(--mod-menu-item-label-to-value-area-min-spacing, var(--spectrum-menu-item-label-to-value-area-min-spacing));
@@ -748,47 +786,6 @@
}
}
-/* Disabled menu items */
-.spectrum-Menu-item.is-disabled,
-.spectrum-Menu-item[aria-disabled="true"] {
- background-color: transparent;
-
- .spectrum-Menu-itemLabel,
- .spectrum-Menu-sectionHeading,
- .spectrum-Menu-itemValue {
- color: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-label-content-color-disabled, var(--spectrum-menu-item-label-content-color-disabled)));
- }
-
- .spectrum-Menu-itemDescription {
- color: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-description-color-disabled, var(--spectrum-menu-item-description-color-disabled)));
- }
-
- .spectrum-Menu-itemIcon {
- fill: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-label-icon-color-disabled, var(--spectrum-menu-item-label-icon-color-disabled)));
- color: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-label-icon-color-disabled, var(--spectrum-menu-item-label-icon-color-disabled)));
- }
-
- &:hover {
- cursor: default;
- background-color: transparent;
-
- .spectrum-Menu-itemLabel,
- .spectrum-Menu-sectionHeading,
- .spectrum-Menu-itemValue {
- color: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-label-content-color-disabled, var(--spectrum-menu-item-label-content-color-disabled)));
- }
-
- .spectrum-Menu-itemDescription {
- color: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-description-color-disabled, var(--spectrum-menu-item-description-color-disabled)));
- }
-
- .spectrum-Menu-itemIcon {
- fill: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-label-icon-color-disabled, var(--spectrum-menu-item-label-icon-color-disabled)));
- color: var(--highcontrast-menu-item-color-disabled, var(--mod-menu-item-label-icon-color-disabled, var(--spectrum-menu-item-label-icon-color-disabled)));
- }
- }
-}
-
/* Tray submenu */
.spectrum-Menu-back {
display: flex;
@@ -823,10 +820,3 @@
font-weight: var(--mod-menu-section-header-font-weight, var(--spectrum-menu-section-header-font-weight));
line-height: var(--mod-menu-section-header-line-height, var(--spectrum-menu-section-header-line-height));
}
-
-.spectrum-Menu .spectrum-Menu-backIcon {
- margin-block: var(--mod-menu-back-icon-margin-block, var(--spectrum-menu-back-icon-margin));
- margin-inline: var(--mod-menu-back-icon-margin-inline, var(--spectrum-menu-back-icon-margin));
- fill: var(--highcontrast-menu-item-color-default, var(--mod-menu-back-icon-color-default));
- color: var(--highcontrast-menu-item-color-default, var(--mod-menu-back-icon-color-default));
-}
diff --git a/components/menu/metadata/metadata.json b/components/menu/metadata/metadata.json
index 2b9470696d9..b770b9e947b 100644
--- a/components/menu/metadata/metadata.json
+++ b/components/menu/metadata/metadata.json
@@ -8,6 +8,7 @@
".spectrum-Menu .spectrum-Menu-backIcon",
".spectrum-Menu .spectrum-Menu-checkmark",
".spectrum-Menu .spectrum-Menu-chevron",
+ ".spectrum-Menu .spectrum-Menu-chevron:dir(rtl)",
".spectrum-Menu .spectrum-Menu-divider",
".spectrum-Menu .spectrum-Menu-divider.spectrum-Divider--sizeS",
".spectrum-Menu .spectrum-Menu-item",
@@ -25,16 +26,12 @@
".spectrum-Menu .spectrum-Menu-itemIcon--workflowIcon",
".spectrum-Menu .spectrum-Menu-itemIcon:not(.spectrum-Menu-chevron, .spectrum-Menu-checkmark)",
".spectrum-Menu li:not(.spectrum-Menu-item, .spectrum-Menu-divider)",
- ".spectrum-Menu--sizeL",
- ".spectrum-Menu--sizeS",
- ".spectrum-Menu--sizeXL",
".spectrum-Menu-back",
".spectrum-Menu-back .spectrum-Menu-sectionHeading",
".spectrum-Menu-back:focus-visible",
".spectrum-Menu-backButton",
".spectrum-Menu-backButton:focus-visible",
".spectrum-Menu-backHeading",
- ".spectrum-Menu-chevron:dir(rtl)",
".spectrum-Menu-item",
".spectrum-Menu-item .spectrum-Menu",
".spectrum-Menu-item .spectrum-Menu-item",
@@ -134,10 +131,14 @@
".spectrum-Menu.is-selectable .spectrum-Menu-item",
".spectrum-Menu.is-selectable .spectrum-Menu-item.is-selected",
".spectrum-Menu.js-focus-within .spectrum-Menu-item--collapsible.is-open[focus-within]",
+ ".spectrum-Menu.spectrum-Menu--sizeL",
+ ".spectrum-Menu.spectrum-Menu--sizeM",
+ ".spectrum-Menu.spectrum-Menu--sizeS",
+ ".spectrum-Menu.spectrum-Menu--sizeXL",
".spectrum-Menu:lang(ja)",
".spectrum-Menu:lang(ko)",
".spectrum-Menu:lang(zh)",
- "[dir=\"rtl\"] .spectrum-Menu-chevron",
+ "[dir=\"rtl\"] .spectrum-Menu .spectrum-Menu-chevron",
"[dir=\"rtl\"] .spectrum-Menu-item"
],
"modifiers": [
@@ -341,6 +342,7 @@
"--spectrum-font-size-300",
"--spectrum-font-size-50",
"--spectrum-font-size-75",
+ "--spectrum-gray-1000-rgb",
"--spectrum-gray-900",
"--spectrum-line-height-100",
"--spectrum-navigational-indicator-top-to-back-icon-extra-large",
@@ -365,15 +367,22 @@
"--spectrum-text-to-visual-200",
"--spectrum-text-to-visual-300",
"--spectrum-text-to-visual-75",
+ "--spectrum-transparent-black-200-opacity",
"--spectrum-workflow-icon-size-100",
"--spectrum-workflow-icon-size-200",
"--spectrum-workflow-icon-size-300",
"--spectrum-workflow-icon-size-75"
],
- "system-theme": [],
+ "system-theme": [
+ "--system-menu-item-background-color-down",
+ "--system-menu-item-background-color-hover",
+ "--system-menu-item-background-color-key-focus"
+ ],
"passthroughs": [
"--mod-checkbox-text-to-control",
- "--mod-checkbox-top-to-text"
+ "--mod-checkbox-top-to-text",
+ "--mod-switch-control-label-spacing",
+ "--mod-switch-spacing-top-to-label"
],
"high-contrast": [
"--highcontrast-checkbox-highlight-color-default",
diff --git a/components/menu/package.json b/components/menu/package.json
index f8565467dba..8f22ecf025b 100644
--- a/components/menu/package.json
+++ b/components/menu/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/menu",
- "version": "7.2.0",
+ "version": "8.0.0-s2-foundations.17",
"description": "The Spectrum CSS menu component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,22 +21,24 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/checkbox": ">=9",
- "@spectrum-css/divider": ">=3",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/switch": ">=5",
- "@spectrum-css/tokens": ">=14",
- "@spectrum-css/tray": ">=3"
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0",
+ "@spectrum-css/divider": ">=4.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/switch": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0",
+ "@spectrum-css/tray": ">=4.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/checkbox": {
diff --git a/components/menu/stories/menu.stories.js b/components/menu/stories/menu.stories.js
index acf1e41bb96..8409f26b220 100644
--- a/components/menu/stories/menu.stories.js
+++ b/components/menu/stories/menu.stories.js
@@ -82,6 +82,10 @@ export default {
height: "300px"
}
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=37252-553",
+ },
packageJson,
metadata,
},
@@ -247,6 +251,9 @@ TraySubmenu.parameters = {
height: "400px"
}
},
+ viewport: {
+ defaultViewport: "mobile2"
+ },
};
export const MenuItem = MenuItemGroup.bind({});
@@ -317,6 +324,12 @@ MenuItem.args = {
isSelected: false,
hasActions: false,
};
+MenuItem.parameters = {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=37252-2242&node-type=frame&t=Kcz7zeePp3PeRusJ-11",
+ },
+};
/**
* This option will display submenus in a collapsed, nested format within the parent menu’s container. It can be used
diff --git a/components/menu/stories/template.js b/components/menu/stories/template.js
index 24aee2eeaba..7c41f127add 100644
--- a/components/menu/stories/template.js
+++ b/components/menu/stories/template.js
@@ -13,6 +13,9 @@ 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).
diff --git a/components/menu/themes/express.css b/components/menu/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/menu/themes/express.css
+++ b/components/menu/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/menu/themes/spectrum-two.css b/components/menu/themes/spectrum-two.css
new file mode 100644
index 00000000000..821e0fde0b6
--- /dev/null
+++ b/components/menu/themes/spectrum-two.css
@@ -0,0 +1,20 @@
+/*!
+ * 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));
+ }
+}
diff --git a/components/menu/themes/spectrum.css b/components/menu/themes/spectrum.css
index 3b48a570c21..5085c7a1b08 100644
--- a/components/menu/themes/spectrum.css
+++ b/components/menu/themes/spectrum.css
@@ -10,3 +10,15 @@
* 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));
+ }
+}
diff --git a/components/meter/CHANGELOG.md b/components/meter/CHANGELOG.md
new file mode 100644
index 00000000000..0b13d8a1c6b
--- /dev/null
+++ b/components/meter/CHANGELOG.md
@@ -0,0 +1,1736 @@
+# Change Log
+
+## 0.0.0-s2-foundations.3
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/progressbar@5.0.0-s2-foundations.20
+
+## 0.0.0-s2-foundations.2
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f14c3be`](https://github.com/adobe/spectrum-css/commit/f14c3bee4ea3b3ad259ce2fa9c3f58fa49febf9d) Thanks [@pfulton](https://github.com/pfulton)! - ProgressBar/Meter
+
+ - Fix bug by reverting "background-color" for track fill back to "background".
+
+ Thumbnail
+
+ - Remove unused "vertical align" property.
+
+### Patch Changes
+
+- Updated dependencies [[`f14c3be`](https://github.com/adobe/spectrum-css/commit/f14c3bee4ea3b3ad259ce2fa9c3f58fa49febf9d)]:
+ - @spectrum-css/progressbar@5.0.0-s2-foundations.19
+
+## 0.0.0-s2-foundations.1
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`085ecbc`](https://github.com/adobe/spectrum-css/commit/085ecbc739cf736e8d95377d605f2a7c4104bcc0) Thanks [@pfulton](https://github.com/pfulton)! - Pulled out _form_ from _fieldlabel_ package.
+ Pulled out _meter_ from _progressbar_ package.
+
+ [SWC-522] fix hover style regression
+
+### Patch Changes
+
+- Updated dependencies [[`085ecbc`](https://github.com/adobe/spectrum-css/commit/085ecbc739cf736e8d95377d605f2a7c4104bcc0)]:
+ - @spectrum-css/progressbar@5.0.0-s2-foundations.18
+
+## 5.0.0-s2-foundations.17
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.15
+
+## 5.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 5.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 5.0.0-s2-foundations.14
+
+### Patch Changes
+
+- [#3023](https://github.com/adobe/spectrum-css/pull/3023) [`213efa8`](https://github.com/adobe/spectrum-css/commit/213efa8618cdccf75a274ee9c2dd0404864c1779) Thanks [@jawinn](https://github.com/jawinn)! - Relocates --mod custom properties from the themes CSS to the index.css.
+
+## 5.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-235] meter properties moved out of theme and into index.css
+
+### Patch Changes
+
+- Updated dependencies [[`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f), [`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.14
+
+## 5.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 5.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 5.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 5.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 5.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 5.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 5.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.6
+
+## 5.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 5.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 5.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 5.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 5.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 5.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.0
+
+## 4.1.7
+
+### Patch Changes
+
+- [#3107](https://github.com/adobe/spectrum-css/pull/3107) [`83d5a17`](https://github.com/adobe/spectrum-css/commit/83d5a171bd850df693707611203ecce21f22e7d2) Thanks [@castastrophe](https://github.com/castastrophe)! - Incorporate glob export for the dist directory in all component packages as well as glob markdown exports (to include both CHANGELOG and READMEs).
+
+ Sort keys in the package.json assets.
+
+- Updated dependencies [[`83d5a17`](https://github.com/adobe/spectrum-css/commit/83d5a171bd850df693707611203ecce21f22e7d2)]:
+ - @spectrum-css/fieldlabel@8.1.3
+
+## 4.1.6
+
+### Patch Changes
+
+- [#3045](https://github.com/adobe/spectrum-css/pull/3045) [`5d6e03f`](https://github.com/adobe/spectrum-css/commit/5d6e03f30891f9171f1a600b06d534ee85719277) Thanks [@castastrophe](https://github.com/castastrophe)! - Improve changeset suggestions by using exports instead of files in component packages
+
+- Updated dependencies [[`5d6e03f`](https://github.com/adobe/spectrum-css/commit/5d6e03f30891f9171f1a600b06d534ee85719277)]:
+ - @spectrum-css/fieldlabel@8.1.2
+
+## 4.1.5
+
+### Patch Changes
+
+- [#2929](https://github.com/adobe/spectrum-css/pull/2929) [`3c6addd`](https://github.com/adobe/spectrum-css/commit/3c6addd3133f9340bb6472c96fc5c436bb77cb5a) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)! - Reverts the `background-color` property to `background` to support the use of CSS gradients. Gradient support stories were added to the meter and progress bar components within their Chromatic testing previews to ensure that we continue to support gradients by covering them in our visual regression tests.
+
+## 4.1.4
+
+### Patch Changes
+
+- [#2965](https://github.com/adobe/spectrum-css/pull/2965) [`469dfc2`](https://github.com/adobe/spectrum-css/commit/469dfc2b13248ed5fb067e05cc30049d3e43dc90) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)! - - Enforces the correct static white progress bar fill color when meter is using both the `spectrum-ProgressBar--staticWhite` class and one of the `is-positive`, `is-negative`, or `is-notice` classes.
+ - Adds a static white story to meter.
+
+## 4.1.3
+
+### Patch Changes
+
+- [#2842](https://github.com/adobe/spectrum-css/pull/2842) [`4cd3a15`](https://github.com/adobe/spectrum-css/commit/4cd3a15db914b667f5d606388051ecd2cd318134) Thanks [@castastrophe](https://github.com/castastrophe)! - Updated CSSNano plugin to toggle reduceIdent off to prevent invalid abstractions from breaking named grid templates.
+
+## 4.1.2
+
+### Patch Changes
+
+- [#2677](https://github.com/adobe/spectrum-css/pull/2677) [`d83200c`](https://github.com/adobe/spectrum-css/commit/d83200ca70a959aa70329e71de0c4383de157855) Thanks [@castastrophe](https://github.com/castastrophe)! - Leveral local workspace versioning to prevent misalignment
+
+- Updated dependencies [[`d83200c`](https://github.com/adobe/spectrum-css/commit/d83200ca70a959aa70329e71de0c4383de157855)]:
+ - @spectrum-css/fieldlabel@8.1.1
+
+## 4.1.1
+
+### Patch Changes
+
+- [#2754](https://github.com/adobe/spectrum-css/pull/2754) [`dbf1406`](https://github.com/adobe/spectrum-css/commit/dbf1406822be32aa1dbd2864b097853423bf06d8) Thanks [@jawinn](https://github.com/jawinn)! - Sets the `color` property in parts of some components that were relying on inheriting a color from higher up in the DOM.
+
+## 4.1.0
+
+### Minor Changes
+
+- [#2616](https://github.com/adobe/spectrum-css/pull/2616) [`7f45ea9`](https://github.com/adobe/spectrum-css/commit/7f45ea95d3d31addf29b0720de8623b0f3f0431d) Thanks [@castastrophe](https://github.com/castastrophe)!
+
+#### Build optmizations to support minification
+
+Output for all component CSS files is now being run through a lightweight optimizer (cssnano) which significantly reduces unnecessary whitespace. These changes reduce file size but should not have any impact on the rendering of the component. By removing unnecessary whitespace from var functions, we are making it easier to effectively minify our provided CSS assets.
+
+### Patch Changes
+
+- Updated peerDependencies [[`7f45ea9`](https://github.com/adobe/spectrum-css/commit/7f45ea95d3d31addf29b0720de8623b0f3f0431d)]:
+ - @spectrum-css/fieldlabel@>=8
+ - @spectrum-css/tokens@>=14
+
+All notable changes to this project will be documented in this file.
+See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+
+
+
+## 4.0.0
+
+🗓
+2024-04-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.1.5...@spectrum-css/progressbar@4.0.0)
+
+\*feat!: postcss config build and script; remove gulp (#2466)([b0f337b](https://github.com/adobe/spectrum-css/commit/b0f337b)), closes[#2466](https://github.com/adobe/spectrum-css/issues/2466)
+
+ ###
+ 🛑 BREAKING CHANGES
+
+ *
+ - Removes component-builder & component-builder-simple for script leveraging postcss
+
+- Imports added to index.css and themes/express.css
+
+
+
+## 3.1.5
+
+🗓
+2024-03-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.1.4...@spectrum-css/progressbar@3.1.5)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.1.4
+
+🗓
+2024-02-26 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.1.3...@spectrum-css/progressbar@3.1.4)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.1.3
+
+🗓
+2024-02-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.1.2...@spectrum-css/progressbar@3.1.3)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.1.2
+
+🗓
+2024-02-15 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.1.1...@spectrum-css/progressbar@3.1.2)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.1.1
+
+🗓
+2024-02-06
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.1.0
+
+🗓
+2024-01-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.81...@spectrum-css/progressbar@3.1.0)
+
+### ✨ Features
+
+\*remove theme files without content([1eadd4f](https://github.com/adobe/spectrum-css/commit/1eadd4f))
+
+
+
+## 3.0.81
+
+🗓
+2023-12-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.80...@spectrum-css/progressbar@3.0.81)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.80
+
+🗓
+2023-12-04 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.79...@spectrum-css/progressbar@3.0.80)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.79
+
+🗓
+2023-11-15 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.77...@spectrum-css/progressbar@3.0.79)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.78
+
+🗓
+2023-11-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.77...@spectrum-css/progressbar@3.0.78)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.77
+
+🗓
+2023-11-09 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.76...@spectrum-css/progressbar@3.0.77)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.76
+
+🗓
+2023-10-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.75...@spectrum-css/progressbar@3.0.76)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.75
+
+🗓
+2023-09-26 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.74...@spectrum-css/progressbar@3.0.75)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.74
+
+🗓
+2023-09-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.73...@spectrum-css/progressbar@3.0.74)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.73
+
+🗓
+2023-09-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.72...@spectrum-css/progressbar@3.0.73)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.72
+
+🗓
+2023-09-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.71...@spectrum-css/progressbar@3.0.72)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.71
+
+🗓
+2023-09-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.70...@spectrum-css/progressbar@3.0.71)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.70
+
+🗓
+2023-09-01 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.69...@spectrum-css/progressbar@3.0.70)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.69
+
+🗓
+2023-08-31 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.68...@spectrum-css/progressbar@3.0.69)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.68
+
+🗓
+2023-08-31 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.67...@spectrum-css/progressbar@3.0.68)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.67
+
+🗓
+2023-08-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.66...@spectrum-css/progressbar@3.0.67)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.66
+
+🗓
+2023-08-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.65...@spectrum-css/progressbar@3.0.66)
+
+### 🐛 Bug fixes
+
+- **meter:**update layout tokens ([#2080](https://github.com/adobe/spectrum-css/issues/2080))([da88b3c](https://github.com/adobe/spectrum-css/commit/da88b3c))
+
+### spectrum-Meter class
+
+Meter now uses the class `spectrum-Meter` on the parent `div`.
+
+### 🔙 Reverts
+
+\*gulp and build updates ([#2121](https://github.com/adobe/spectrum-css/issues/2121))([03a37f5](https://github.com/adobe/spectrum-css/commit/03a37f5)), closes[#2099](https://github.com/adobe/spectrum-css/issues/2099)
+
+
+
+## 3.0.65
+
+🗓
+2023-08-22 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.64...@spectrum-css/progressbar@3.0.65)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.64
+
+🗓
+2023-08-22 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.62...@spectrum-css/progressbar@3.0.64)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.63
+
+🗓
+2023-08-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.62...@spectrum-css/progressbar@3.0.63)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.62
+
+🗓
+2023-08-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.61...@spectrum-css/progressbar@3.0.62)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.61
+
+🗓
+2023-08-10 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.60...@spectrum-css/progressbar@3.0.61)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.60
+
+🗓
+2023-08-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.59...@spectrum-css/progressbar@3.0.60)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.59
+
+🗓
+2023-08-04 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.58...@spectrum-css/progressbar@3.0.59)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.58
+
+🗓
+2023-08-03 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.57...@spectrum-css/progressbar@3.0.58)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.57
+
+🗓
+2023-07-31 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.56...@spectrum-css/progressbar@3.0.57)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.56
+
+🗓
+2023-07-26 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.55...@spectrum-css/progressbar@3.0.56)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.55
+
+🗓
+2023-07-24 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.54...@spectrum-css/progressbar@3.0.55)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.54
+
+🗓
+2023-07-17 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.53...@spectrum-css/progressbar@3.0.54)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.53
+
+🗓
+2023-07-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.52...@spectrum-css/progressbar@3.0.53)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.52
+
+🗓
+2023-07-11 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.51...@spectrum-css/progressbar@3.0.52)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.51
+
+🗓
+2023-06-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.50...@spectrum-css/progressbar@3.0.51)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.50
+
+🗓
+2023-06-28 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.49...@spectrum-css/progressbar@3.0.50)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.49
+
+🗓
+2023-06-21 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.48...@spectrum-css/progressbar@3.0.49)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.48
+
+🗓
+2023-06-15 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.47...@spectrum-css/progressbar@3.0.48)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.47
+
+🗓
+2023-06-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.46...@spectrum-css/progressbar@3.0.47)
+
+### 🐛 Bug fixes
+
+\*restore files to pre-formatted state([491dbcb](https://github.com/adobe/spectrum-css/commit/491dbcb))
+
+
+
+## 3.0.46
+
+🗓
+2023-06-02 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.45...@spectrum-css/progressbar@3.0.46)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.45
+
+🗓
+2023-06-01 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.44...@spectrum-css/progressbar@3.0.45)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.44
+
+🗓 2023-05-30 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.43...@spectrum-css/progressbar@3.0.44)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.43
+
+🗓 2023-05-23 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.42...@spectrum-css/progressbar@3.0.43)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.42
+
+🗓 2023-05-23 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.41...@spectrum-css/progressbar@3.0.42)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.41
+
+🗓 2023-05-22 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.40...@spectrum-css/progressbar@3.0.41)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.40
+
+🗓 2023-05-22 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.39...@spectrum-css/progressbar@3.0.40)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.39
+
+🗓 2023-05-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.38...@spectrum-css/progressbar@3.0.39)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.38
+
+🗓 2023-05-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.37...@spectrum-css/progressbar@3.0.38)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.37
+
+🗓 2023-05-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.36...@spectrum-css/progressbar@3.0.37)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.36
+
+🗓 2023-05-17 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.35...@spectrum-css/progressbar@3.0.36)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.35
+
+🗓 2023-05-11 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.34...@spectrum-css/progressbar@3.0.35)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.34
+
+🗓 2023-05-10 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.33...@spectrum-css/progressbar@3.0.34)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.33
+
+🗓 2023-05-10 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.32...@spectrum-css/progressbar@3.0.33)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.32
+
+🗓 2023-05-10 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.31...@spectrum-css/progressbar@3.0.32)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.31
+
+🗓 2023-05-08 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.30...@spectrum-css/progressbar@3.0.31)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.30
+
+🗓 2023-05-04 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.29...@spectrum-css/progressbar@3.0.30)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.29
+
+🗓 2023-05-04 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.28...@spectrum-css/progressbar@3.0.29)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.28
+
+🗓 2023-05-02 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.27...@spectrum-css/progressbar@3.0.28)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.27
+
+🗓 2023-04-26 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.26...@spectrum-css/progressbar@3.0.27)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.26
+
+🗓 2023-04-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.24...@spectrum-css/progressbar@3.0.26)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.25
+
+🗓 2023-04-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.24...@spectrum-css/progressbar@3.0.25)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.24
+
+🗓 2023-04-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.23...@spectrum-css/progressbar@3.0.24)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.23
+
+🗓 2023-04-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.22...@spectrum-css/progressbar@3.0.23)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.22
+
+🗓 2023-04-21 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.21...@spectrum-css/progressbar@3.0.22)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.21
+
+🗓 2023-04-20 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.20...@spectrum-css/progressbar@3.0.21)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.20
+
+🗓 2023-04-17 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.19...@spectrum-css/progressbar@3.0.20)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.19
+
+🗓 2023-04-17 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.17...@spectrum-css/progressbar@3.0.19)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.18
+
+🗓 2023-04-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.17...@spectrum-css/progressbar@3.0.18)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.17
+
+🗓 2023-04-06 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.15...@spectrum-css/progressbar@3.0.17)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.16
+
+🗓 2023-04-04 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.15...@spectrum-css/progressbar@3.0.16)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.15
+
+🗓 2023-04-03 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.14...@spectrum-css/progressbar@3.0.15)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.14
+
+🗓 2023-03-31 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.13...@spectrum-css/progressbar@3.0.14)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.13
+
+🗓 2023-03-27 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.12...@spectrum-css/progressbar@3.0.13)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.12
+
+🗓 2023-03-21 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.11...@spectrum-css/progressbar@3.0.12)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.11
+
+🗓 2023-03-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.10...@spectrum-css/progressbar@3.0.11)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.10
+
+🗓 2023-03-09 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.9...@spectrum-css/progressbar@3.0.10)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.9
+
+🗓 2023-03-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.8...@spectrum-css/progressbar@3.0.9)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.8
+
+🗓 2023-03-01 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.7...@spectrum-css/progressbar@3.0.8)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.7
+
+🗓 2023-02-28 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.6...@spectrum-css/progressbar@3.0.7)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.6
+
+🗓 2023-02-24 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.5...@spectrum-css/progressbar@3.0.6)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.5
+
+🗓 2023-02-24 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.4...@spectrum-css/progressbar@3.0.5)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.4
+
+🗓 2023-02-21 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.3...@spectrum-css/progressbar@3.0.4)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.3
+
+🗓 2023-02-06 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.2...@spectrum-css/progressbar@3.0.3)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.2
+
+🗓 2023-02-02 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.1...@spectrum-css/progressbar@3.0.2)
+
+### 🐛 Bug fixes
+
+- **progressbar:** typo in --mod-progressbar-label-and-value-white variable ([#1599](https://github.com/adobe/spectrum-css/issues/1599)) ([a7c5892](https://github.com/adobe/spectrum-css/commit/a7c5892))
+
+
+
+## 3.0.1
+
+🗓 2023-02-02 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@3.0.0...@spectrum-css/progressbar@3.0.1)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 3.0.0
+
+🗓 2023-02-01 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@2.0.12...@spectrum-css/progressbar@3.0.0)
+
+- chore(tokens)!: use latest dependency & fix build error (#1591) ([f2532e7](https://github.com/adobe/spectrum-css/commit/f2532e7)), closes [#1591](https://github.com/adobe/spectrum-css/issues/1591)
+
+### 🛑 BREAKING CHANGES
+
+- uses latest `@adobe/spectrum-tokens` dependency which includes token renames
+
+
+
+## 2.0.12
+
+🗓 2023-02-01 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@2.0.11...@spectrum-css/progressbar@2.0.12)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 2.0.11
+
+🗓 2023-01-27 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@2.0.10...@spectrum-css/progressbar@2.0.11)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 2.0.10
+
+🗓 2023-01-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@2.0.9...@spectrum-css/progressbar@2.0.10)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 2.0.9
+
+🗓 2023-01-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@2.0.7...@spectrum-css/progressbar@2.0.9)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 2.0.8
+
+🗓 2023-01-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@2.0.7...@spectrum-css/progressbar@2.0.8)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 2.0.7
+
+🗓 2023-01-05 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@2.0.6...@spectrum-css/progressbar@2.0.7)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 2.0.6
+
+🗓 2022-12-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@2.0.5...@spectrum-css/progressbar@2.0.6)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 2.0.5
+
+🗓 2022-12-15 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@2.0.4...@spectrum-css/progressbar@2.0.5)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 2.0.4
+
+🗓 2022-12-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@2.0.3...@spectrum-css/progressbar@2.0.4)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 2.0.3
+
+🗓 2022-12-09 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@2.0.2...@spectrum-css/progressbar@2.0.3)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 2.0.2
+
+🗓 2022-11-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@2.0.1...@spectrum-css/progressbar@2.0.2)
+
+### 🐛 Bug fixes
+
+- resolve missing tokens errors due to name changes ([#1555](https://github.com/adobe/spectrum-css/issues/1555)) ([ddae027](https://github.com/adobe/spectrum-css/commit/ddae027))
+
+
+
+## 2.0.1
+
+🗓 2022-11-11 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@2.0.0...@spectrum-css/progressbar@2.0.1)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 2.0.0
+
+🗓 2022-11-10 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.33...@spectrum-css/progressbar@2.0.0)
+
+- feat(progressbar)!: migrate progressbar to core tokens (#1493) ([c0fc49f](https://github.com/adobe/spectrum-css/commit/c0fc49f)), closes [#1493](https://github.com/adobe/spectrum-css/issues/1493)
+
+### 🛑 BREAKING CHANGES
+
+- migrate ProgressBar to core tokens
+
+- feat(meter!): meter now only supports sizes S & L
+
+Co-authored-by: Patrick Fulton
+Co-authored-by: Bernhard Schmidt <52184321+bernhard-adobe@users.noreply.github.com>
+
+
+
+## 1.0.33
+
+🗓 2022-07-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.32...@spectrum-css/progressbar@1.0.33)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.32
+
+🗓 2022-06-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.31...@spectrum-css/progressbar@1.0.32)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.31
+
+🗓 2022-06-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.29...@spectrum-css/progressbar@1.0.31)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.30
+
+🗓 2022-06-08 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.29...@spectrum-css/progressbar@1.0.30)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.29
+
+🗓 2022-06-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.28...@spectrum-css/progressbar@1.0.29)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.28
+
+🗓 2022-05-09 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.27...@spectrum-css/progressbar@1.0.28)
+
+### 🐛 Bug fixes
+
+- progressbar WHCM ([2288a68](https://github.com/adobe/spectrum-css/commit/2288a68))
+
+
+
+## 1.0.27
+
+🗓 2022-04-28 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.26...@spectrum-css/progressbar@1.0.27)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.26
+
+🗓 2022-04-11 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.25...@spectrum-css/progressbar@1.0.26)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.25
+
+🗓 2022-04-08 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.24...@spectrum-css/progressbar@1.0.25)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.24
+
+🗓 2022-03-30 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.23...@spectrum-css/progressbar@1.0.24)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.23
+
+🗓 2022-03-22 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.22...@spectrum-css/progressbar@1.0.23)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.22
+
+🗓 2022-03-17 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.21...@spectrum-css/progressbar@1.0.22)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.21
+
+🗓 2022-03-11 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.20...@spectrum-css/progressbar@1.0.21)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.20
+
+🗓 2022-03-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.19...@spectrum-css/progressbar@1.0.20)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.19
+
+🗓 2022-03-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.18...@spectrum-css/progressbar@1.0.19)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.18
+
+🗓 2022-02-23 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.17...@spectrum-css/progressbar@1.0.18)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.17
+
+🗓 2022-02-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.16...@spectrum-css/progressbar@1.0.17)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.16
+
+🗓 2022-02-02 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.15...@spectrum-css/progressbar@1.0.16)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.15
+
+🗓 2022-02-01 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.14...@spectrum-css/progressbar@1.0.15)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.14
+
+🗓 2022-01-26 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.13...@spectrum-css/progressbar@1.0.14)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.13
+
+🗓 2022-01-05 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.11...@spectrum-css/progressbar@1.0.13)
+
+### 🐛 Bug fixes
+
+- update peer dependencies ([97810cf](https://github.com/adobe/spectrum-css/commit/97810cf))
+
+
+
+## 1.0.12
+
+🗓 2022-01-05 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.12-beta.0...@spectrum-css/progressbar@1.0.12)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.12-beta.0
+
+🗓 2021-12-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.11...@spectrum-css/progressbar@1.0.12-beta.0)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.11
+
+🗓 2021-12-10 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.10...@spectrum-css/progressbar@1.0.11)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.10
+
+🗓 2021-12-06 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.9...@spectrum-css/progressbar@1.0.10)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.9
+
+🗓 2021-11-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.8...@spectrum-css/progressbar@1.0.9)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.8
+
+🗓 2021-11-10 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.7...@spectrum-css/progressbar@1.0.8)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.7
+
+🗓 2021-11-09 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.6...@spectrum-css/progressbar@1.0.7)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.6
+
+🗓 2021-11-08 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.4...@spectrum-css/progressbar@1.0.6)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.5
+
+🗓 2021-10-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.4...@spectrum-css/progressbar@1.0.5)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.3
+
+🗓 2021-09-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.3-alpha.7...@spectrum-css/progressbar@1.0.3)
+
+### 🐛 Bug fixes
+
+- updating version number on vars ([f535b49](https://github.com/adobe/spectrum-css/commit/f535b49))
+
+
+
+## 1.0.3-alpha.7
+
+🗓 2021-08-17 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.3-alpha.6...@spectrum-css/progressbar@1.0.3-alpha.7)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.3-alpha.6
+
+🗓 2021-08-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.3-alpha.5...@spectrum-css/progressbar@1.0.3-alpha.6)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.3-alpha.5
+
+🗓 2021-08-04 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.3-alpha.4...@spectrum-css/progressbar@1.0.3-alpha.5)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.3-alpha.4
+
+🗓 2021-07-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.3-alpha.3...@spectrum-css/progressbar@1.0.3-alpha.4)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.3-alpha.3
+
+🗓 2021-07-19 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.3-alpha.2...@spectrum-css/progressbar@1.0.3-alpha.3)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.3-alpha.2
+
+🗓 2021-06-17 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.3-alpha.1...@spectrum-css/progressbar@1.0.3-alpha.2)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.3-alpha.1
+
+🗓 2021-05-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.3-alpha.0...@spectrum-css/progressbar@1.0.3-alpha.1)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.3-alpha.0
+
+🗓 2021-04-27 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.2...@spectrum-css/progressbar@1.0.3-alpha.0)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.2
+
+🗓 2021-04-15 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.1...@spectrum-css/progressbar@1.0.2)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.1
+
+🗓 2021-03-10 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.0...@spectrum-css/progressbar@1.0.1)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.0
+
+🗓 2021-02-02 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.0-beta.3...@spectrum-css/progressbar@1.0.0)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.0-beta.3
+
+🗓 2020-12-04 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.0-beta.2...@spectrum-css/progressbar@1.0.0-beta.3)
+
+### ♻️ Code refactoring
+
+- use Field label instead of custom classes ([dd9d369](https://github.com/adobe/spectrum-css/commit/dd9d369))
+
+### Label and percentage now use Field Label
+
+Progress bar now uses Field label for its label and percentage. Add the appropriately sized Field label to match the t-shirt size of the Progress bar.
+
+### ✨ Features
+
+- t-shirt sizing for ProgressBar, update notice classes, closes [#955](https://github.com/adobe/spectrum-css/issues/955) ([440ce85](https://github.com/adobe/spectrum-css/commit/440ce85))
+
+#### T-shirt sizing
+
+Progress bar now supports t-shirt sizing and requires that you specify the size of button by adding a `.spectrum-ProgressBar--size*` class.
+
+### 🐛 Bug fixes
+
+- allow customizing ProgressBar width, fixes [#1064](https://github.com/adobe/spectrum-css/issues/1064) ([5b39f67](https://github.com/adobe/spectrum-css/commit/5b39f67))
+- correct label wrapping ([0ecbc19](https://github.com/adobe/spectrum-css/commit/0ecbc19))
+- correct Meter notice colors ([97fd959](https://github.com/adobe/spectrum-css/commit/97fd959))
+- correct padding and font size of Progress Bar label ([ee08255](https://github.com/adobe/spectrum-css/commit/ee08255))
+- correct width of track for side label ([eca67dc](https://github.com/adobe/spectrum-css/commit/eca67dc))
+
+### 🛑 BREAKING CHANGES
+
+- Progress bar now uses Field label
+- .spectrum-ProgressBar--large renamed to .spectrum-ProgressBar--sizeM, .spectrum-ProgressBar--small renamed to .spectrum-ProgressBar--sizeS is required for previous
+- ProgressBar .is-warning renamed to .is-notice, .is-critical renamed to .is-negative
+
+#### Size classnames changed
+
+Previous size classnames map as follows:
+
+| Previous size classname | New size classname |
+| ------------------------------ | ------------------------------ |
+| `.spectrum-ProgressBar--small` | `.spectrum-ProgressBar--sizeS` |
+| `.spectrum-ProgressBar--large` | `.spectrum-ProgressBar--sizeM` |
+
+
+
+## 1.0.0-beta.2
+
+🗓 2020-10-20 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/progressbar@1.0.0-beta.1...@spectrum-css/progressbar@1.0.0-beta.2)
+
+**Note:** Version bump only for package @spectrum-css/progressbar
+
+
+
+## 1.0.0-beta.1
+
+🗓 2020-09-23
+
+### 🐛 Bug fixes
+
+- removed more deprecations ([70dd116](https://github.com/adobe/spectrum-css/commit/70dd116))
+
+### 🛑 BREAKING CHANGES
+
+#### Component renamed
+
+Bar loader is now known as Progress bar. Replace all .spectrum-BarLoader* classnames with .spectrum-ProgressBar*.
+
+
+
+## 3.0.0-beta.2
+
+🗓 2020-05-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/barloader@3.0.0-beta.1...@spectrum-css/barloader@3.0.0-beta.2)
+
+**Note:** Version bump only for package @spectrum-css/barloader
+
+
+
+## 3.0.0-beta.1
+
+🗓 2020-03-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/barloader@3.0.0-beta.0...@spectrum-css/barloader@3.0.0-beta.1)
+
+**Note:** Version bump only for package @spectrum-css/barloader
+
+
+
+## 3.0.0-beta.0
+
+🗓 2020-03-09 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/barloader@2.0.5...@spectrum-css/barloader@3.0.0-beta.0)
+
+### ✨ Features
+
+- make Bar Loader support RTL ([c12138c](https://github.com/adobe/spectrum-css/commit/c12138c))
+
+
+
+## 2.0.5
+
+🗓 2020-03-06 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/barloader@2.0.4...@spectrum-css/barloader@2.0.5)
+
+**Note:** Version bump only for package @spectrum-css/barloader
+
+
+
+## 2.0.4
+
+🗓 2020-02-10 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/barloader@2.0.3...@spectrum-css/barloader@2.0.4)
+
+**Note:** Version bump only for package @spectrum-css/barloader
+
+
+
+## 2.0.3
+
+🗓 2019-12-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/barloader@2.0.2...@spectrum-css/barloader@2.0.3)
+
+### 🐛 Bug fixes
+
+- text wrapping in Meter/BarLoader, fixes [#420](https://github.com/adobe/spectrum-css/issues/420) ([ba75f07](https://github.com/adobe/spectrum-css/commit/ba75f07))
+
+
+
+## 2.0.2
+
+🗓 2019-11-08 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/barloader@2.0.1...@spectrum-css/barloader@2.0.2)
+
+**Note:** Version bump only for package @spectrum-css/barloader
+
+
+
+## 2.0.1
+
+🗓 2019-11-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/barloader@2.0.0...@spectrum-css/barloader@2.0.1)
+
+**Note:** Version bump only for package @spectrum-css/barloader
+
+
+
+## 2.0.0
+
+🗓 2019-10-08
+
+### ✨ Features
+
+- move to individually versioned packages with Lerna ([#265](https://github.com/adobe/spectrum-css/issues/265)) ([cb7fd4b](https://github.com/adobe/spectrum-css/commit/cb7fd4b)), closes [#231](https://github.com/adobe/spectrum-css/issues/231) [#214](https://github.com/adobe/spectrum-css/issues/214) [#229](https://github.com/adobe/spectrum-css/issues/229) [#240](https://github.com/adobe/spectrum-css/issues/240) [#239](https://github.com/adobe/spectrum-css/issues/239) [#161](https://github.com/adobe/spectrum-css/issues/161) [#242](https://github.com/adobe/spectrum-css/issues/242) [#246](https://github.com/adobe/spectrum-css/issues/246) [#219](https://github.com/adobe/spectrum-css/issues/219) [#235](https://github.com/adobe/spectrum-css/issues/235) [#189](https://github.com/adobe/spectrum-css/issues/189) [#248](https://github.com/adobe/spectrum-css/issues/248) [#232](https://github.com/adobe/spectrum-css/issues/232) [#248](https://github.com/adobe/spectrum-css/issues/248) [#218](https://github.com/adobe/spectrum-css/issues/218) [#237](https://github.com/adobe/spectrum-css/issues/237) [#255](https://github.com/adobe/spectrum-css/issues/255) [#256](https://github.com/adobe/spectrum-css/issues/256) [#258](https://github.com/adobe/spectrum-css/issues/258) [#257](https://github.com/adobe/spectrum-css/issues/257) [#259](https://github.com/adobe/spectrum-css/issues/259)
diff --git a/components/meter/README.md b/components/meter/README.md
new file mode 100644
index 00000000000..16c36aa919c
--- /dev/null
+++ b/components/meter/README.md
@@ -0,0 +1,7 @@
+# @spectrum-css/meter
+
+> The Spectrum CSS meter 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/meter/index.css b/components/meter/index.css
new file mode 100644
index 00000000000..1be3816d127
--- /dev/null
+++ b/components/meter/index.css
@@ -0,0 +1,47 @@
+/*!
+ * 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.
+ */
+
+@import "./themes/spectrum-two.css";
+
+/* @passthrough start */
+.spectrum-Meter {
+ --mod-progressbar-size-default: var(--mod-meter-inline-size, var(--spectrum-meter-default-width));
+ --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);
+ }
+
+ &.spectrum-Meter--sizeL {
+ --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);
+ }
+
+ &.is-positive {
+ --mod-progressbar-fill-color: var(--spectrum-positive-visual-color);
+ }
+
+ &.is-notice {
+ --mod-progressbar-fill-color: var(--spectrum-notice-visual-color);
+ }
+
+ &.is-negative {
+ --mod-progressbar-fill-color: var(--spectrum-negative-visual-color);
+ }
+}
+/* @passthrough end */
diff --git a/components/meter/metadata/metadata.json b/components/meter/metadata/metadata.json
new file mode 100644
index 00000000000..9bfe3424ce7
--- /dev/null
+++ b/components/meter/metadata/metadata.json
@@ -0,0 +1,43 @@
+{
+ "sourceFile": "index.css",
+ "selectors": [
+ ".spectrum-Meter",
+ ".spectrum-Meter.is-negative",
+ ".spectrum-Meter.is-notice",
+ ".spectrum-Meter.is-positive",
+ ".spectrum-Meter.spectrum-Meter--sizeL",
+ ".spectrum-Meter.spectrum-Meter--sizeS"
+ ],
+ "modifiers": [
+ "--mod-meter-inline-size",
+ "--mod-meter-max-width",
+ "--mod-meter-min-width"
+ ],
+ "component": [
+ "--spectrum-meter-default-width",
+ "--spectrum-meter-maximum-width",
+ "--spectrum-meter-minimum-width",
+ "--spectrum-meter-thickness-large",
+ "--spectrum-meter-thickness-small"
+ ],
+ "global": [
+ "--spectrum-component-top-to-text-200",
+ "--spectrum-component-top-to-text-75",
+ "--spectrum-font-size-100",
+ "--spectrum-font-size-75",
+ "--spectrum-negative-visual-color",
+ "--spectrum-notice-visual-color",
+ "--spectrum-positive-visual-color"
+ ],
+ "system-theme": [],
+ "passthroughs": [
+ "--mod-progressbar-fill-color",
+ "--mod-progressbar-font-size",
+ "--mod-progressbar-max-size",
+ "--mod-progressbar-min-size",
+ "--mod-progressbar-size-default",
+ "--mod-progressbar-spacing-top-to-text",
+ "--mod-progressbar-thickness"
+ ],
+ "high-contrast": []
+}
diff --git a/components/meter/metadata/mods.md b/components/meter/metadata/mods.md
new file mode 100644
index 00000000000..413920957c5
--- /dev/null
+++ b/components/meter/metadata/mods.md
@@ -0,0 +1,5 @@
+| Modifiable custom properties |
+| ---------------------------- |
+| `--mod-meter-inline-size` |
+| `--mod-meter-max-width` |
+| `--mod-meter-min-width` |
diff --git a/components/meter/package.json b/components/meter/package.json
new file mode 100644
index 00000000000..d5d8dc50fd8
--- /dev/null
+++ b/components/meter/package.json
@@ -0,0 +1,52 @@
+{
+ "name": "@spectrum-css/meter",
+ "version": "0.0.0-s2-foundations.3",
+ "description": "The Spectrum CSS meter component",
+ "license": "Apache-2.0",
+ "author": "Adobe",
+ "homepage": "https://opensource.adobe.com/spectrum-css/meter",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/adobe/spectrum-css.git",
+ "directory": "components/meter"
+ },
+ "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": "./metadata/metadata.json",
+ "./metadata/*": "./metadata/*",
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
+ },
+ "main": "dist/index.css",
+ "files": [
+ "dist/*",
+ "*.md",
+ "package.json",
+ "stories/*",
+ "metadata/*"
+ ],
+ "peerDependencies": {
+ "@spectrum-css/progressbar": ">=5.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
+ },
+ "devDependencies": {
+ "@spectrum-css/progressbar": "workspace:^",
+ "@spectrum-css/tokens": "workspace:^"
+ },
+ "keywords": [
+ "spectrum",
+ "css",
+ "design system",
+ "adobe"
+ ],
+ "publishConfig": {
+ "access": "public"
+ }
+}
diff --git a/components/meter/project.json b/components/meter/project.json
new file mode 100644
index 00000000000..480296f64f0
--- /dev/null
+++ b/components/meter/project.json
@@ -0,0 +1,17 @@
+{
+ "$schema": "../../node_modules/nx/schemas/project-schema.json",
+ "name": "meter",
+ "tags": ["component"],
+ "targets": {
+ "build": {},
+ "clean": {},
+ "compare": {},
+ "format": {},
+ "lint": {},
+ "report": {},
+ "test": {
+ "defaultConfiguration": "scope"
+ },
+ "validate": {}
+ }
+}
diff --git a/components/progressbar/stories/meter.stories.js b/components/meter/stories/meter.stories.js
similarity index 91%
rename from components/progressbar/stories/meter.stories.js
rename to components/meter/stories/meter.stories.js
index 1f7129bdfa1..1f56041110d 100644
--- a/components/progressbar/stories/meter.stories.js
+++ b/components/meter/stories/meter.stories.js
@@ -1,11 +1,11 @@
import { Sizes } from "@spectrum-css/preview/decorators";
import { disableDefaultModes } from "@spectrum-css/preview/modes";
import { size } from "@spectrum-css/preview/types";
+import { default as ProgressBar } from "@spectrum-css/progressbar/stories/progressbar.stories.js";
import metadata from "../metadata/metadata.json";
import packageJson from "../package.json";
-import { FillGroup, Template } from "./meter.template.js";
import { MeterGroup } from "./meter.test.js";
-import { default as ProgressBar } from "./progressbar.stories";
+import { FillGroup, Template } from "./template.js";
/**
* The meter component is a visual representations of a quantity or an achievement. The progress is determined by user actions, rather than system actions.
@@ -16,7 +16,7 @@ import { default as ProgressBar } from "./progressbar.stories";
*/
export default {
title: "Meter",
- component: "ProgressBar",
+ component: "Meter",
argTypes: {
...ProgressBar.argTypes,
size: size(["s", "l"]),
@@ -41,6 +41,10 @@ export default {
label: "Storage space",
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=33840-90",
+ },
packageJson,
metadata,
},
@@ -78,14 +82,9 @@ Sizing.parameters = {
*
* By default, the meter has a informative, blue fill to show the value. This can be used to represent a neutral or non-semantic value. The positive variant has a green fill, representing a positive semantic value. The notice variant has an orange fill, and can be used to warn users about a situation that may need to be addressed soon. The negative variant has a red fill, and can be used to warn users about a critical situation that needs their urgent attention.
*/
-export const FillColors = (args, context) => FillGroup({
- variants: ["info", "positive", "negative", "notice"],
- ...args,
-}, context);
+export const FillColors = FillGroup.bind({});
FillColors.storyName = "Fill colors";
-FillColors.args = {
- value: 50,
-};
+FillColors.args = Default.args;
FillColors.tags = ["!dev"];
FillColors.parameters = {
chromatic: { disableSnapshot: true },
diff --git a/components/progressbar/stories/meter.test.js b/components/meter/stories/meter.test.js
similarity index 91%
rename from components/progressbar/stories/meter.test.js
rename to components/meter/stories/meter.test.js
index 64de9db0623..46f60024bf4 100644
--- a/components/progressbar/stories/meter.test.js
+++ b/components/meter/stories/meter.test.js
@@ -1,5 +1,5 @@
import { Variants } from "@spectrum-css/preview/decorators";
-import { Template } from "./meter.template.js";
+import { Template } from "./template.js";
export const MeterGroup = Variants({
Template,
@@ -28,7 +28,7 @@ export const MeterGroup = Variants({
testHeading: "Without value label",
showValueLabel: false,
},
- /* The gradient story below supports linear-gradients used by Express. For use cases that require a custom
+ /* The gradient story below supports linear-gradients used by Express. For use cases that require a custom
linear-gradient for any --mod-*-{fill} properties, set those custom properties in CSS.
*/
{
diff --git a/components/meter/stories/template.js b/components/meter/stories/template.js
new file mode 100644
index 00000000000..fd2263e6751
--- /dev/null
+++ b/components/meter/stories/template.js
@@ -0,0 +1,43 @@
+import { ArgGrid } from "@spectrum-css/preview/decorators";
+import { Template as ProgressBar } from "@spectrum-css/progressbar/stories/template.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-Meter",
+ customClasses = [],
+ fill,
+ size = "s",
+ staticColor,
+ ...item
+} = {}, context = {}) => {
+ return ProgressBar({
+ ...item,
+ customClasses: [
+ ...customClasses,
+ rootClass,
+ typeof size !== "undefined" ? `${rootClass}--size${size?.toUpperCase()}` : null,
+ typeof fill !== "undefined" ? `is-${fill}` : null,
+ /*
+ * The `spectrum-Meter--staticWhite` class is not present in the Meter CSS, as it makes use of
+ * `spectrum-ProgressBar--staticWhite`, but having this allows for simpler detection of static
+ * colors when looking at the element using its `rootClass` in our decorators.
+ */
+ typeof staticColor !== "undefined" ? `${rootClass}--static${capitalize(staticColor)}` : null,
+ ].filter(Boolean),
+ staticColor,
+ }, context);
+};
+
+/* FillGroup showcases all semantic variants in a single story. */
+export const FillGroup = (args, context) => ArgGrid({
+ Template,
+ argKey: "fill",
+ options: ["info", "positive", "negative", "notice"],
+ withBorder: false,
+ ...args,
+}, context);
diff --git a/components/meter/themes/express.css b/components/meter/themes/express.css
new file mode 100644
index 00000000000..9fd550418f2
--- /dev/null
+++ b/components/meter/themes/express.css
@@ -0,0 +1,16 @@
+/*!
+ * 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/meter/themes/spectrum-two.css b/components/meter/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/meter/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/meter/themes/spectrum.css b/components/meter/themes/spectrum.css
new file mode 100644
index 00000000000..3d81bc564b5
--- /dev/null
+++ b/components/meter/themes/spectrum.css
@@ -0,0 +1,16 @@
+/*!
+ * 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/miller/CHANGELOG.md b/components/miller/CHANGELOG.md
index 7cb3dc90de2..c78ad674962 100644
--- a/components/miller/CHANGELOG.md
+++ b/components/miller/CHANGELOG.md
@@ -1,5 +1,265 @@
# Change Log
+## 7.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.16
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.20
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 7.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.15
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.18
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 7.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.14
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 7.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.13
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 7.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.12
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.11
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 7.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.10
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 7.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.9
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 7.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.8
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 7.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.7
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 7.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.6
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 7.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.5
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 7.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.4
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 7.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.3
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 7.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.2
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 7.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.1
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 7.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/assetlist@7.0.0-s2-foundations.0
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 6.2.0
### Minor Changes
diff --git a/components/miller/index.css b/components/miller/index.css
index faa8cb4cbb9..d1cd1ca2b2b 100644
--- a/components/miller/index.css
+++ b/components/miller/index.css
@@ -11,34 +11,27 @@
* governing permissions and limitations under the License.
*/
- @import "./themes/express.css";
-
-.spectrum-MillerColumns {
- --spectrum-millercolumns-inline-size: 272px;
- --spectrum-millercolumns-padding: var(--spectrum-spacing-100);
- --spectrum-millercolumns-margin-inline-start: var(--spectrum-spacing-100);
- --spectrum-millercolumns-margin-inline-end: var(--spectrum-spacing-100);
-}
+@import "./themes/spectrum-two.css";
.spectrum-MillerColumns {
overflow-x: auto;
white-space: nowrap;
user-select: none;
- padding: var(--mod-millercolumns-padding, var(--spectrum-millercolumns-padding)) 0;
+ padding: var(--mod-millercolumns-padding, var(--spectrum-spacing-100)) 0;
}
.spectrum-MillerColumns-item {
display: inline-block;
- inline-size: var(--mod-millercolumns-inline-size, var(--spectrum-millercolumns-inline-size));
+ inline-size: var(--mod-millercolumns-inline-size, 272px);
vertical-align: top;
outline: none;
margin: 0;
padding: 0;
- margin-inline-end: var(--mod-millercolumns-margin-inline-end, var(--spectrum-millercolumns-margin-inline-end));
+ margin-inline-end: var(--mod-millercolumns-margin-inline-end, var(--spectrum-spacing-100));
overflow: auto;
block-size: 100%;
&:first-child {
- margin-inline-start: var(--mod-millercolumns-margin-inline-start, var(--spectrum-millercolumns-margin-inline-start));
+ margin-inline-start: var(--mod-millercolumns-margin-inline-start, var(--spectrum-spacing-100));
}
}
diff --git a/components/miller/metadata/metadata.json b/components/miller/metadata/metadata.json
index 4d2e62f974e..adb2109144c 100644
--- a/components/miller/metadata/metadata.json
+++ b/components/miller/metadata/metadata.json
@@ -11,12 +11,7 @@
"--mod-millercolumns-margin-inline-start",
"--mod-millercolumns-padding"
],
- "component": [
- "--spectrum-millercolumns-inline-size",
- "--spectrum-millercolumns-margin-inline-end",
- "--spectrum-millercolumns-margin-inline-start",
- "--spectrum-millercolumns-padding"
- ],
+ "component": [],
"global": ["--spectrum-spacing-100"],
"system-theme": [],
"passthroughs": [],
diff --git a/components/miller/package.json b/components/miller/package.json
index a09980c654e..42a81dafab4 100644
--- a/components/miller/package.json
+++ b/components/miller/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/miller",
- "version": "6.2.0",
+ "version": "7.0.0-s2-foundations.16",
"description": "The Spectrum CSS miller component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,20 +21,22 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/assetlist": ">=6",
- "@spectrum-css/checkbox": ">=9",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/assetlist": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/assetlist": "workspace:^",
diff --git a/components/miller/stories/template.js b/components/miller/stories/template.js
index 66caafe96fe..9476ef5fc35 100644
--- a/components/miller/stories/template.js
+++ b/components/miller/stories/template.js
@@ -3,6 +3,9 @@ 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-MillerColumns",
diff --git a/components/miller/themes/express.css b/components/miller/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/miller/themes/express.css
+++ b/components/miller/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/miller/themes/spectrum-two.css b/components/miller/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/miller/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/miller/themes/spectrum.css b/components/miller/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/miller/themes/spectrum.css
+++ b/components/miller/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/modal/CHANGELOG.md b/components/modal/CHANGELOG.md
index f3b027cd6ec..e42de3f0307 100644
--- a/components/modal/CHANGELOG.md
+++ b/components/modal/CHANGELOG.md
@@ -1,5 +1,221 @@
# Change Log
+## 6.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 6.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 6.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#3056](https://github.com/adobe/spectrum-css/pull/3056) [`5bbbc78`](https://github.com/adobe/spectrum-css/commit/5bbbc78a6ef9442dc51c5fcc14a82fbe9bc277bf) Thanks [@Rajdeepc](https://github.com/Rajdeepc)! - Updates the spectrum-modal-background-color in dark and light in spectrum-two theme
+
+### Patch Changes
+
+- Updated dependencies [[`db528ce`](https://github.com/adobe/spectrum-css/commit/db528ce0a6f7d817e6124604014faf9f4accfc1e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.20
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
diff --git a/components/modal/index.css b/components/modal/index.css
index fb6b22c0ef8..8a5e2e9ad95 100644
--- a/components/modal/index.css
+++ b/components/modal/index.css
@@ -12,23 +12,19 @@
*/
@import "@spectrum-css/commons/overlay.css";
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Modal {
- /* Bug: this must be 0ms, not 0 */
- --spectrum-modal-confirm-exit-animation-delay: var(--spectrum-animation-duration-0);
+ --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)));
+
+ /* @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-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: 32px;
- --spectrum-modal-max-height: 90vh;
- --spectrum-modal-max-width: 90%;
-
- --spectrum-modal-background-color: var(--spectrum-gray-100);
- --spectrum-modal-confirm-border-radius: var(--spectrum-corner-radius-100);
- --spectrum-modal-confirm-exit-animation-duration: var(--spectrum-animation-duration-100);
- --spectrum-modal-confirm-entry-animation-duration: var(--spectrum-animation-duration-500);
- --spectrum-modal-confirm-entry-animation-delay: var(--spectrum-animation-duration-200);
- --spectrum-modal-transition-animation-duration: var(--spectrum-animation-duration-100);
+ --spectrum-modal-fullscreen-margin: var(--mod-modal-fullscreen-margin, 32px);
}
/* Used to position the modal */
@@ -64,7 +60,7 @@
z-index: 2;
/* Be invisible by default */
- transition: visibility 0ms linear var(--mod-modal-transition-animation-duration, var(--spectrum-modal-transition-animation-duration));
+ transition: visibility 0ms linear var(--mod-modal-transition-animation-duration, var(--spectrum-animation-duration-100));
&.is-open {
visibility: visible;
@@ -72,42 +68,43 @@
}
.spectrum-Modal {
- @extend %spectrum-overlay;
+ visibility: hidden;
+ opacity: 0;
- /* Start offset by the animation distance */
- transform: translateY(var(--mod-modal-confirm-entry-animation-distance, var(--spectrum-modal-confirm-entry-animation-distance)));
+ /* 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)));
/* Appear above underlay */
z-index: 2;
/* Don't be bigger than the screen */
- 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));
+ max-block-size: var(--mod-modal-max-height, 90vh);
+ max-inline-size: var(--mod-modal-max-width, 90%);
background: var(--mod-modal-background-color, var(--spectrum-modal-background-color));
-
- /* border-radius includes legacy token fallback, which can be deprecated once component is migrated */
- border-radius: var(--mod-modal-confirm-border-radius, var(--spectrum-modal-confirm-border-radius));
+ border-radius: var(--mod-modal-confirm-border-radius, var(--spectrum-corner-radius-100));
overflow: hidden;
outline: none; /* Firefox shows outline */
pointer-events: auto;
/* Exit animations */
transition:
- opacity var(--mod-modal-confirm-exit-animation-duration, var(--spectrum-modal-confirm-exit-animation-duration)) var(--spectrum-animation-ease-in) var(--mod-modal-confirm-exit-animation-delay, var(--spectrum-modal-confirm-exit-animation-delay)),
- visibility 0ms linear calc(var(--mod-modal-confirm-exit-animation-delay, var(--spectrum-modal-confirm-exit-animation-delay)) + var(--mod-modal-confirm-exit-animation-duration, var(--spectrum-modal-confirm-exit-animation-duration))),
- transform 0ms linear calc(var(--mod-modal-confirm-exit-animation-delay, var(--spectrum-modal-confirm-exit-animation-delay)) + var(--mod-modal-confirm-exit-animation-duration, var(--spectrum-modal-confirm-exit-animation-duration)));
-}
+ 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));
-.spectrum-Modal.is-open {
- @extend %spectrum-overlay--open;
+ &.is-open {
+ pointer-events: auto;
+ visibility: visible;
+ opacity: 1;
- /* Entry animations */
- transition:
- transform var(--mod-modal-confirm-entry-animation-duration, var(--spectrum-modal-confirm-entry-animation-duration)) var(--spectrum-animation-ease-out) var(--mod-modal-confirm-entry-animation-delay, var(--spectrum-modal-confirm-entry-animation-delay)),
- opacity var(--mod-modal-confirm-entry-animation-duration, var(--spectrum-modal-confirm-entry-animation-duration)) var(--spectrum-animation-ease-out) var(--mod-modal-confirm-entry-animation-delay, var(--spectrum-modal-confirm-entry-animation-delay));
+ /* Entry animations */
+ transition:
+ transform var(--spectrum-modal-confirm-entry-animation-duration) var(--spectrum-animation-ease-out) var(--spectrum-modal-confirm-entry-animation-delay),
+ opacity var(--spectrum-modal-confirm-entry-animation-duration) var(--spectrum-animation-ease-out) var(--spectrum-modal-confirm-entry-animation-delay);
- transform: translateY(0);
+ transform: translateY(0);
+ }
}
/* Responsive modals will fill the screen on small viewports */
@@ -120,20 +117,18 @@
border-radius: 0;
}
- .spectrum-Modal-wrapper {
- .spectrum-Modal--responsive {
- margin-block-start: 0; /* Prevent the vertical offset bit */
- }
+ .spectrum-Modal-wrapper .spectrum-Modal--responsive {
+ margin-block-start: 0; /* Prevent the vertical offset bit */
}
}
/** @unofficial */
.spectrum-Modal--fullscreen {
position: fixed;
- inset-inline-start: var(--mod-modal-fullscreen-margin, var(--spectrum-modal-fullscreen-margin));
- inset-block-start: var(--mod-modal-fullscreen-margin, var(--spectrum-modal-fullscreen-margin));
- inset-inline-end: var(--mod-modal-fullscreen-margin, var(--spectrum-modal-fullscreen-margin));
- inset-block-end: var(--mod-modal-fullscreen-margin, var(--spectrum-modal-fullscreen-margin));
+ 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);
max-inline-size: none;
max-block-size: none;
}
diff --git a/components/modal/metadata/metadata.json b/components/modal/metadata/metadata.json
index 0fcba109eea..950d9fca3c6 100644
--- a/components/modal/metadata/metadata.json
+++ b/components/modal/metadata/metadata.json
@@ -28,16 +28,11 @@
],
"component": [
"--spectrum-modal-background-color",
- "--spectrum-modal-confirm-border-radius",
"--spectrum-modal-confirm-entry-animation-delay",
- "--spectrum-modal-confirm-entry-animation-distance",
"--spectrum-modal-confirm-entry-animation-duration",
"--spectrum-modal-confirm-exit-animation-delay",
"--spectrum-modal-confirm-exit-animation-duration",
- "--spectrum-modal-fullscreen-margin",
- "--spectrum-modal-max-height",
- "--spectrum-modal-max-width",
- "--spectrum-modal-transition-animation-duration"
+ "--spectrum-modal-fullscreen-margin"
],
"global": [
"--spectrum-animation-duration-0",
@@ -46,10 +41,12 @@
"--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-gray-100"
+ "--spectrum-dialog-confirm-entry-animation-distance"
],
- "system-theme": [],
+ "system-theme": ["--system-modal-background-color"],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/modal/package.json b/components/modal/package.json
index e2b52f1af59..29d92cec18a 100644
--- a/components/modal/package.json
+++ b/components/modal/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/modal",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.17",
"description": "The Spectrum CSS modal component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/commons": "workspace:^",
diff --git a/components/modal/stories/template.js b/components/modal/stories/template.js
index 9abbf49ebea..07a52b89131 100644
--- a/components/modal/stories/template.js
+++ b/components/modal/stories/template.js
@@ -5,6 +5,9 @@ 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
index fad97bb3695..9fd550418f2 100644
--- a/components/modal/themes/express.css
+++ b/components/modal/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/modal/themes/spectrum-two.css b/components/modal/themes/spectrum-two.css
new file mode 100644
index 00000000000..c31756dcdae
--- /dev/null
+++ b/components/modal/themes/spectrum-two.css
@@ -0,0 +1,18 @@
+/*!
+ * 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
index 3b48a570c21..f637e6f343e 100644
--- a/components/modal/themes/spectrum.css
+++ b/components/modal/themes/spectrum.css
@@ -10,3 +10,13 @@
* 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/CHANGELOG.md b/components/opacitycheckerboard/CHANGELOG.md
index ac6deb909c7..4e4f195bc34 100644
--- a/components/opacitycheckerboard/CHANGELOG.md
+++ b/components/opacitycheckerboard/CHANGELOG.md
@@ -1,5 +1,210 @@
# Change Log
+## 3.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 3.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 3.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 3.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 3.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 3.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 3.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 3.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 3.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 3.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 3.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 3.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 3.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 3.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 3.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 3.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 3.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 2.2.0
### Minor Changes
diff --git a/components/opacitycheckerboard/index.css b/components/opacitycheckerboard/index.css
index a0485721ad6..f24f7e72027 100644
--- a/components/opacitycheckerboard/index.css
+++ b/components/opacitycheckerboard/index.css
@@ -11,17 +11,17 @@
* governing permissions and limitations under the License.
*/
- @import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-OpacityCheckerboard {
- --spectrum-opacity-checkerboard-dark: var(--spectrum-opacity-checkerboard-square-dark);
- --spectrum-opacity-checkerboard-light: var(--spectrum-opacity-checkerboard-square-light);
- --spectrum-opacity-checkerboard-size: var(--spectrum-opacity-checkerboard-square-size);
- --spectrum-opacity-checkerboard-position: left top;
-}
-
-.spectrum-OpacityCheckerboard {
- background: repeating-conic-gradient(var(--mod-opacity-checkerboard-light, var(--spectrum-opacity-checkerboard-light)) 0% 25%, var(--mod-opacity-checkerboard-dark, var(--spectrum-opacity-checkerboard-dark)) 0% 50%) var(--mod-opacity-checkerboard-position, var(--spectrum-opacity-checkerboard-position)) / calc(var(--mod-opacity-checkerboard-size, var(--spectrum-opacity-checkerboard-size)) * 2) calc(var(--mod-opacity-checkerboard-size, var(--spectrum-opacity-checkerboard-size)) * 2);
+ 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);
}
@media (forced-colors: active) {
diff --git a/components/opacitycheckerboard/metadata/metadata.json b/components/opacitycheckerboard/metadata/metadata.json
index a47a1f04bb9..51c1a155873 100644
--- a/components/opacitycheckerboard/metadata/metadata.json
+++ b/components/opacitycheckerboard/metadata/metadata.json
@@ -8,10 +8,6 @@
"--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"
diff --git a/components/opacitycheckerboard/package.json b/components/opacitycheckerboard/package.json
index 4e25dbc1d49..e39bff3ba01 100644
--- a/components/opacitycheckerboard/package.json
+++ b/components/opacitycheckerboard/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/opacitycheckerboard",
- "version": "2.2.0",
+ "version": "3.0.0-s2-foundations.16",
"description": "The Spectrum CSS opacitycheckerboard component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/opacitycheckerboard/stories/template.js b/components/opacitycheckerboard/stories/template.js
index 5327a593cb8..4f55fe23408 100644
--- a/components/opacitycheckerboard/stories/template.js
+++ b/components/opacitycheckerboard/stories/template.js
@@ -5,6 +5,9 @@ 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-OpacityCheckerboard",
@@ -14,18 +17,21 @@ export const Template = ({
id = getRandomId("opacity-checkerboard"),
content = [],
role,
-}) => html`
- ({ ...a, [c]: true }), {}),
- })}
- style=${ifDefined(styleMap({
- "--mod-opacity-checkerboard-position": backgroundPosition,
- ...customStyles,
- }))}
- role=${ifDefined(role)}
- id=${ifDefined(id)}
- >
- ${renderContent(content)}
-
`;
+} = {}) => {
+ return html`
+ ({ ...a, [c]: true }), {}),
+ })}
+ style=${ifDefined(styleMap({
+ "--mod-opacity-checkerboard-position": backgroundPosition,
+ ...customStyles,
+ }))}
+ role=${ifDefined(role)}
+ id=${ifDefined(id)}
+ >
+ ${renderContent(content)}
+
+ `;
+};
diff --git a/components/opacitycheckerboard/themes/express.css b/components/opacitycheckerboard/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/opacitycheckerboard/themes/express.css
+++ b/components/opacitycheckerboard/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/opacitycheckerboard/themes/spectrum-two.css b/components/opacitycheckerboard/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/opacitycheckerboard/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/opacitycheckerboard/themes/spectrum.css b/components/opacitycheckerboard/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/opacitycheckerboard/themes/spectrum.css
+++ b/components/opacitycheckerboard/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/page/CHANGELOG.md b/components/page/CHANGELOG.md
deleted file mode 100644
index f3b1d00596c..00000000000
--- a/components/page/CHANGELOG.md
+++ /dev/null
@@ -1,752 +0,0 @@
-# Change Log
-
-## 8.2.0
-
-### Minor Changes
-
-- [#3369](https://github.com/adobe/spectrum-css/pull/3369) [`9c49505`](https://github.com/adobe/spectrum-css/commit/9c4950517bf0f8ca7b2e373f4323c97d068d0ceb) Thanks [@castastrophe](https://github.com/castastrophe)! - Remove the storybook assets from the shipped output for components
-
-## 8.1.3
-
-### Patch Changes
-
-- [#3107](https://github.com/adobe/spectrum-css/pull/3107) [`83d5a17`](https://github.com/adobe/spectrum-css/commit/83d5a171bd850df693707611203ecce21f22e7d2) Thanks [@castastrophe](https://github.com/castastrophe)! - Incorporate glob export for the dist directory in all component packages as well as glob markdown exports (to include both CHANGELOG and READMEs).
-
- Sort keys in the package.json assets.
-
-## 8.1.2
-
-### Patch Changes
-
-- [#3045](https://github.com/adobe/spectrum-css/pull/3045) [`5d6e03f`](https://github.com/adobe/spectrum-css/commit/5d6e03f30891f9171f1a600b06d534ee85719277) Thanks [@castastrophe](https://github.com/castastrophe)! - Improve changeset suggestions by using exports instead of files in component packages
-
-## 8.1.1
-
-### Patch Changes
-
-- [#2677](https://github.com/adobe/spectrum-css/pull/2677) [`d83200c`](https://github.com/adobe/spectrum-css/commit/d83200ca70a959aa70329e71de0c4383de157855) Thanks [@castastrophe](https://github.com/castastrophe)! - Leveral local workspace versioning to prevent misalignment
-
-## 8.1.0
-
-### Minor Changes
-
-- [#2616](https://github.com/adobe/spectrum-css/pull/2616) [`7f45ea9`](https://github.com/adobe/spectrum-css/commit/7f45ea95d3d31addf29b0720de8623b0f3f0431d) Thanks [@castastrophe](https://github.com/castastrophe)!
-
-#### Build optmizations to support minification
-
-Output for all component CSS files is now being run through a lightweight optimizer (cssnano) which significantly reduces unnecessary whitespace. These changes reduce file size but should not have any impact on the rendering of the component. By removing unnecessary whitespace from var functions, we are making it easier to effectively minify our provided CSS assets.
-
-### Patch Changes
-
-- Updated peerDependencies [[`7f45ea9`](https://github.com/adobe/spectrum-css/commit/7f45ea95d3d31addf29b0720de8623b0f3f0431d)]:
- - @spectrum-css/tokens@>=14
-
-All notable changes to this project will be documented in this file.
-See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
-
-
-
-## 8.0.0
-
-🗓
-2024-04-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@7.1.4...@spectrum-css/page@8.0.0)
-
-\*feat!: postcss config build and script; remove gulp (#2466)([b0f337b](https://github.com/adobe/spectrum-css/commit/b0f337b)), closes[#2466](https://github.com/adobe/spectrum-css/issues/2466)
-
- ###
- 🛑 BREAKING CHANGES
-
- *
- - Removes component-builder & component-builder-simple for script leveraging postcss
-
-- Imports added to index.css and themes/express.css
-
-
-
-## 7.1.4
-
-🗓
-2024-03-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@7.1.3...@spectrum-css/page@7.1.4)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 7.1.3
-
-🗓
-2024-02-26 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@7.1.2...@spectrum-css/page@7.1.3)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 7.1.2
-
-🗓
-2024-02-15 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@7.1.1...@spectrum-css/page@7.1.2)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 7.1.1
-
-🗓
-2024-02-06
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 7.1.0
-
-🗓
-2024-01-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@6.1.0...@spectrum-css/page@7.1.0)
-
-### ✨ Features
-
-\*migrate build packages to postcss v8 ([#2460](https://github.com/adobe/spectrum-css/issues/2460))([bd6c40e](https://github.com/adobe/spectrum-css/commit/bd6c40e))
-
-
-
-## 7.0.0
-
-🗓
-2024-01-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@6.1.0...@spectrum-css/page@7.0.0)
-
-### 🛑 BREAKING CHANGES
-
-replace & with :root ([1eadd4f](https://github.com/adobe/spectrum-css/commit/bd6c40eb5a4b43df94dff1f325502e5cd08b7f5f))
-
-
-
-## 6.1.0
-
-🗓
-2024-01-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@6.0.10...@spectrum-css/page@6.1.0)
-
-### ✨ Features
-
-\*remove theme files without content([1eadd4f](https://github.com/adobe/spectrum-css/commit/1eadd4f))
-
-
-
-## 6.0.10
-
-🗓
-2023-12-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@6.0.9...@spectrum-css/page@6.0.10)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 6.0.9
-
-🗓
-2023-12-04 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@6.0.8...@spectrum-css/page@6.0.9)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 6.0.8
-
-🗓
-2023-11-15 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@6.0.6...@spectrum-css/page@6.0.8)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 6.0.7
-
-🗓
-2023-11-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@6.0.6...@spectrum-css/page@6.0.7)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 6.0.6
-
-🗓
-2023-11-09 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@6.0.5...@spectrum-css/page@6.0.6)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 6.0.5
-
-🗓
-2023-10-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@6.0.4...@spectrum-css/page@6.0.5)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 6.0.4
-
-🗓
-2023-09-26 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@6.0.3...@spectrum-css/page@6.0.4)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 6.0.3
-
-🗓
-2023-09-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@6.0.2...@spectrum-css/page@6.0.3)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 6.0.2
-
-🗓
-2023-09-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@6.0.1...@spectrum-css/page@6.0.2)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 6.0.1
-
-🗓
-2023-09-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@6.0.0...@spectrum-css/page@6.0.1)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 6.0.0
-
-🗓
-2023-09-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.33...@spectrum-css/page@6.0.0)
-
-\*feat(page)!: migrate to spectrum-tokens (#2150)([bdf535b](https://github.com/adobe/spectrum-css/commit/bdf535b)), closes[#2150](https://github.com/adobe/spectrum-css/issues/2150)
-
- ###
- 🛑 BREAKING CHANGES
-
- *
- migrates the Page component to use `@adobe/spectrum-tokens`
-
-
-
-## 5.0.33
-
-🗓
-2023-08-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.32...@spectrum-css/page@5.0.33)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.32
-
-🗓
-2023-08-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.31...@spectrum-css/page@5.0.32)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.31
-
-🗓
-2023-06-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.30...@spectrum-css/page@5.0.31)
-
-### 🐛 Bug fixes
-
-\*restore files to pre-formatted state([491dbcb](https://github.com/adobe/spectrum-css/commit/491dbcb))
-
-
-
-## 5.0.30
-
-🗓
-2023-06-02 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.29...@spectrum-css/page@5.0.30)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.29
-
-🗓
-2023-06-01 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.28...@spectrum-css/page@5.0.29)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.28
-
-🗓 2023-05-23 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.27...@spectrum-css/page@5.0.28)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.27
-
-🗓 2023-05-17 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.26...@spectrum-css/page@5.0.27)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.26
-
-🗓 2023-05-02 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.25...@spectrum-css/page@5.0.26)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.25
-
-🗓 2023-04-26 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.24...@spectrum-css/page@5.0.25)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.24
-
-🗓 2023-04-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.22...@spectrum-css/page@5.0.24)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.23
-
-🗓 2023-04-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.22...@spectrum-css/page@5.0.23)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.22
-
-🗓 2023-04-17 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.20...@spectrum-css/page@5.0.22)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.21
-
-🗓 2023-04-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.20...@spectrum-css/page@5.0.21)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.20
-
-🗓 2023-04-03 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.19...@spectrum-css/page@5.0.20)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.19
-
-🗓 2023-03-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.18...@spectrum-css/page@5.0.19)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.18
-
-🗓 2023-02-21 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.17...@spectrum-css/page@5.0.18)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.17
-
-🗓 2023-02-06 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.16...@spectrum-css/page@5.0.17)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.16
-
-🗓 2023-02-01 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.15...@spectrum-css/page@5.0.16)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.15
-
-🗓 2023-01-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.14...@spectrum-css/page@5.0.15)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.14
-
-🗓 2023-01-18 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.12...@spectrum-css/page@5.0.14)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.13
-
-🗓 2023-01-13 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.12...@spectrum-css/page@5.0.13)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.12
-
-🗓 2022-11-11 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.11...@spectrum-css/page@5.0.12)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.11
-
-🗓 2022-06-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.10...@spectrum-css/page@5.0.11)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.10
-
-🗓 2022-06-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.9...@spectrum-css/page@5.0.10)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.9
-
-🗓 2022-04-28 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.8...@spectrum-css/page@5.0.9)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.8
-
-🗓 2022-04-08 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.7...@spectrum-css/page@5.0.8)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.7
-
-🗓 2022-03-22 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.6...@spectrum-css/page@5.0.7)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.6
-
-🗓 2022-03-17 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.5...@spectrum-css/page@5.0.6)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.5
-
-🗓 2022-03-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.4...@spectrum-css/page@5.0.5)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.4
-
-🗓 2022-03-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.3...@spectrum-css/page@5.0.4)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.3
-
-🗓 2022-02-23 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.2...@spectrum-css/page@5.0.3)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.2
-
-🗓 2022-02-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.1...@spectrum-css/page@5.0.2)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.1
-
-🗓 2022-01-26 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@5.0.0...@spectrum-css/page@5.0.1)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 5.0.0
-
-🗓 2022-01-05 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.9...@spectrum-css/page@5.0.0)
-
-### 📚 Documentation
-
-- use new Button markup ([886b2cb](https://github.com/adobe/spectrum-css/commit/886b2cb))
-
-### 🛑 BREAKING CHANGES
-
-- Button markup has changed
-
-
-
-## 4.0.0
-
-🗓 2022-01-05 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@4.0.0-beta.0...@spectrum-css/page@4.0.0)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 4.0.0-beta.0
-
-🗓 2021-12-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.9...@spectrum-css/page@4.0.0-beta.0)
-
-### 📚 Documentation
-
-- use new Button markup ([629bf05](https://github.com/adobe/spectrum-css/commit/629bf05))
-
-### 🛑 BREAKING CHANGES
-
-- Button markup has changed
-
-
-
-## 3.0.9
-
-🗓 2021-12-06 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.8...@spectrum-css/page@3.0.9)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.8
-
-🗓 2021-11-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.7...@spectrum-css/page@3.0.8)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.7
-
-🗓 2021-11-10 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.6...@spectrum-css/page@3.0.7)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.6
-
-🗓 2021-11-09 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.5...@spectrum-css/page@3.0.6)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.5
-
-🗓 2021-11-08 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.3-alpha.3...@spectrum-css/page@3.0.5)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.4
-
-🗓 2021-10-25 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.3-alpha.3...@spectrum-css/page@3.0.4)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.3
-
-🗓 2021-09-29 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.3-alpha.3...@spectrum-css/page@3.0.3)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.3-alpha.3
-
-🗓 2021-08-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.3-alpha.2...@spectrum-css/page@3.0.3-alpha.3)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.3-alpha.2
-
-🗓 2021-06-17 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.3-alpha.1...@spectrum-css/page@3.0.3-alpha.2)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.3-alpha.1
-
-🗓 2021-05-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.3-alpha.0...@spectrum-css/page@3.0.3-alpha.1)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.3-alpha.0
-
-🗓 2021-04-27 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.2...@spectrum-css/page@3.0.3-alpha.0)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.2
-
-🗓 2021-04-15 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.1...@spectrum-css/page@3.0.2)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.1
-
-🗓 2021-03-10 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.0...@spectrum-css/page@3.0.1)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.0
-
-🗓 2021-02-02 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@3.0.0-beta.0...@spectrum-css/page@3.0.0)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 3.0.0-beta.0
-
-🗓 2020-12-04 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@2.0.8-beta.1...@spectrum-css/page@3.0.0-beta.0)
-
-### 🐛 Bug fixes
-
-- update main, resolved conflicts ([d7880a2](https://github.com/adobe/spectrum-css/commit/d7880a2))
-- use new Button markup ([502a1b0](https://github.com/adobe/spectrum-css/commit/502a1b0))
-
-### 🛑 BREAKING CHANGES
-
-- markup has changed and now requires new Button markup (.spectrum-Button--sizeM)
-
-
-
-## 2.0.8-beta.1
-
-🗓 2020-10-20 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@2.0.8-beta.0...@spectrum-css/page@2.0.8-beta.1)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 2.0.8-beta.0
-
-🗓 2020-09-23 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@2.0.7...@spectrum-css/page@2.0.8-beta.0)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 2.0.7
-
-🗓 2020-05-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@2.0.6...@spectrum-css/page@2.0.7)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 2.0.6
-
-🗓 2020-03-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@2.0.5...@spectrum-css/page@2.0.6)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 2.0.5
-
-🗓 2020-03-06 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@2.0.4...@spectrum-css/page@2.0.5)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 2.0.4
-
-🗓 2020-02-10 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@2.0.3...@spectrum-css/page@2.0.4)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 2.0.3
-
-🗓 2019-12-14 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@2.0.2...@spectrum-css/page@2.0.3)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 2.0.2
-
-🗓 2019-11-08 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@2.0.1...@spectrum-css/page@2.0.2)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 2.0.1
-
-🗓 2019-11-07 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/page@2.0.0...@spectrum-css/page@2.0.1)
-
-**Note:** Version bump only for package @spectrum-css/page
-
-
-
-## 2.0.0
-
-🗓 2019-10-08
-
-### ✨ Features
-
-- move to individually versioned packages with Lerna ([#265](https://github.com/adobe/spectrum-css/issues/265)) ([cb7fd4b](https://github.com/adobe/spectrum-css/commit/cb7fd4b)), closes [#231](https://github.com/adobe/spectrum-css/issues/231) [#214](https://github.com/adobe/spectrum-css/issues/214) [#229](https://github.com/adobe/spectrum-css/issues/229) [#240](https://github.com/adobe/spectrum-css/issues/240) [#239](https://github.com/adobe/spectrum-css/issues/239) [#161](https://github.com/adobe/spectrum-css/issues/161) [#242](https://github.com/adobe/spectrum-css/issues/242) [#246](https://github.com/adobe/spectrum-css/issues/246) [#219](https://github.com/adobe/spectrum-css/issues/219) [#235](https://github.com/adobe/spectrum-css/issues/235) [#189](https://github.com/adobe/spectrum-css/issues/189) [#248](https://github.com/adobe/spectrum-css/issues/248) [#232](https://github.com/adobe/spectrum-css/issues/232) [#248](https://github.com/adobe/spectrum-css/issues/248) [#218](https://github.com/adobe/spectrum-css/issues/218) [#237](https://github.com/adobe/spectrum-css/issues/237) [#255](https://github.com/adobe/spectrum-css/issues/255) [#256](https://github.com/adobe/spectrum-css/issues/256) [#258](https://github.com/adobe/spectrum-css/issues/258) [#257](https://github.com/adobe/spectrum-css/issues/257) [#259](https://github.com/adobe/spectrum-css/issues/259)
diff --git a/components/page/metadata/metadata.json b/components/page/metadata/metadata.json
deleted file mode 100644
index 3ea846415da..00000000000
--- a/components/page/metadata/metadata.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "sourceFile": "index.css",
- "selectors": [":root"],
- "modifiers": [],
- "component": [],
- "global": ["--spectrum-gray-100", "--spectrum-transparent-black-100"],
- "system-theme": [],
- "passthroughs": [],
- "high-contrast": []
-}
diff --git a/components/page/metadata/mods.md b/components/page/metadata/mods.md
deleted file mode 100644
index a98209f6e87..00000000000
--- a/components/page/metadata/mods.md
+++ /dev/null
@@ -1,2 +0,0 @@
-| Modifiable custom properties |
-| ---------------------------- |
diff --git a/components/pagination/CHANGELOG.md b/components/pagination/CHANGELOG.md
index 089ab48dd7b..4882a5d7e4a 100644
--- a/components/pagination/CHANGELOG.md
+++ b/components/pagination/CHANGELOG.md
@@ -1,5 +1,282 @@
# Change Log
+## 9.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.24
+ - @spectrum-css/textfield@8.0.0-s2-foundations.17
+ - @spectrum-css/button@14.0.0-s2-foundations.19
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 9.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.21
+ - @spectrum-css/textfield@8.0.0-s2-foundations.16
+ - @spectrum-css/button@14.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 9.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.20
+ - @spectrum-css/textfield@8.0.0-s2-foundations.15
+ - @spectrum-css/button@14.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 9.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.18
+ - @spectrum-css/textfield@8.0.0-s2-foundations.14
+ - @spectrum-css/button@14.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 9.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.13
+ - @spectrum-css/textfield@8.0.0-s2-foundations.12
+ - @spectrum-css/button@14.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 9.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.12
+ - @spectrum-css/textfield@8.0.0-s2-foundations.11
+ - @spectrum-css/button@14.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 9.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.10
+ - @spectrum-css/textfield@8.0.0-s2-foundations.10
+ - @spectrum-css/button@14.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 9.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`da47fa2`](https://github.com/adobe/spectrum-css/commit/da47fa2cb18373e74a6718775f2db90bb25868d4), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.9
+ - @spectrum-css/textfield@8.0.0-s2-foundations.9
+ - @spectrum-css/button@14.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 9.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.8
+ - @spectrum-css/textfield@8.0.0-s2-foundations.8
+ - @spectrum-css/button@14.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 9.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.7
+ - @spectrum-css/textfield@8.0.0-s2-foundations.7
+ - @spectrum-css/button@14.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 9.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.6
+ - @spectrum-css/textfield@8.0.0-s2-foundations.6
+ - @spectrum-css/button@14.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 9.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.5
+ - @spectrum-css/textfield@8.0.0-s2-foundations.5
+ - @spectrum-css/button@14.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 9.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.4
+ - @spectrum-css/textfield@8.0.0-s2-foundations.4
+ - @spectrum-css/button@14.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 9.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.3
+ - @spectrum-css/textfield@8.0.0-s2-foundations.3
+ - @spectrum-css/button@14.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 9.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.2
+ - @spectrum-css/textfield@8.0.0-s2-foundations.2
+ - @spectrum-css/button@14.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 9.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.1
+ - @spectrum-css/textfield@8.0.0-s2-foundations.1
+ - @spectrum-css/button@14.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 9.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.0
+ - @spectrum-css/textfield@8.0.0-s2-foundations.0
+ - @spectrum-css/button@14.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 8.2.0
### Minor Changes
diff --git a/components/pagination/index.css b/components/pagination/index.css
index 58e31a90f64..36ebda9d563 100644
--- a/components/pagination/index.css
+++ b/components/pagination/index.css
@@ -11,14 +11,13 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Pagination {
- --spectrum-pagination-counter-margin-inline-start: var(--spectrum-pagination-item-inline-spacing);
- --spectrum-pagination-page-button-inline-spacing: var(--spectrum-pagination-item-inline-spacing);
- --spectrum-pagination-counter-color: var(--spectrum-neutral-subdued-content-color-default);
- --spectrum-pagination-counter-font-size: var(--spectrum-font-size-100);
- --spectrum-pagination-counter-line-height: var(--spectrum-line-height-100);
+ --spectrum-pagination-counter-color: var(--mod-pagination-counter-color, var(--spectrum-neutral-subdued-content-color-default));
+ --spectrum-pagination-counter-font-size: var(--mod-pagination-counter-font-size, var(--spectrum-font-size-100));
+ --spectrum-pagination-counter-line-height: var(--mod-pagination-counter-line-height, var(--spectrum-line-height-100));
+ --spectrum-pagination-counter-inline-spacing: var(--mod-pagination-page-button-inline-spacing, var(--spectrum-pagination-item-inline-spacing));
&:dir(rtl) {
--spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0);
@@ -34,31 +33,32 @@
/* Explicit variant elements */
.spectrum-Pagination-textfield {
+ /* @passthrough start */
--mod-textfield-width: var(--mod-pagination-textfield-width, var(--spectrum-pagination-textfield-width));
--mod-textfield-min-width: var(--mod-pagination-textfield-width, var(--spectrum-pagination-textfield-width));
+ /* @passthrough end */
}
.spectrum-Pagination-counter {
- font-size: var(--mod-pagination-counter-font-size, var(--spectrum-pagination-counter-font-size));
- line-height: var(--mod-pagination-counter-line-height, var(--spectrum-pagination-counter-line-height));
- margin-inline-start: var(--mod-pagination-counter-margin-inline-start, var(--spectrum-pagination-counter-margin-inline-start));
- color: var(--mod-pagination-counter-color, var(--spectrum-pagination-counter-color));
+ font-size: var(--spectrum-pagination-counter-font-size);
+ line-height: var(--spectrum-pagination-counter-line-height);
+ color: var(--spectrum-pagination-counter-color);
+}
+
+.spectrum-Pagination-counter,
+.spectrum-Pagination-nextButton {
+ margin-inline-start: var(--spectrum-pagination-counter-inline-spacing);
}
-/* Previous and next buttons */
.spectrum-Pagination-prevButton {
- margin-inline-end: var(--mod-pagination-page-button-inline-spacing, var(--spectrum-pagination-page-button-inline-spacing));
+ margin-inline-end: var(--spectrum-pagination-counter-inline-spacing);
}
-.spectrum-Pagination-nextButton {
- margin-inline-start: var(--mod-pagination-page-button-inline-spacing, var(--spectrum-pagination-page-button-inline-spacing));
+/* Correct the direction of the arrows */
+.spectrum-Pagination-nextButton .spectrum-Icon {
+ transform: var(--spectrum-logical-rotation,);
}
-/* Correct the direction of the arrows when viewing right-to-left */
.spectrum-Pagination-prevButton .spectrum-Icon {
transform: var(--spectrum-logical-rotation,) rotate(180deg);
}
-
-.spectrum-Pagination-nextButton .spectrum-Icon {
- transform: var(--spectrum-logical-rotation);
-}
diff --git a/components/pagination/metadata/metadata.json b/components/pagination/metadata/metadata.json
index e69042686e0..7a0b21fe8dd 100644
--- a/components/pagination/metadata/metadata.json
+++ b/components/pagination/metadata/metadata.json
@@ -17,17 +17,15 @@
"--mod-pagination-counter-color",
"--mod-pagination-counter-font-size",
"--mod-pagination-counter-line-height",
- "--mod-pagination-counter-margin-inline-start",
"--mod-pagination-page-button-inline-spacing",
"--mod-pagination-textfield-width"
],
"component": [
"--spectrum-pagination-counter-color",
"--spectrum-pagination-counter-font-size",
+ "--spectrum-pagination-counter-inline-spacing",
"--spectrum-pagination-counter-line-height",
- "--spectrum-pagination-counter-margin-inline-start",
"--spectrum-pagination-item-inline-spacing",
- "--spectrum-pagination-page-button-inline-spacing",
"--spectrum-pagination-textfield-width"
],
"global": [
diff --git a/components/pagination/metadata/mods.md b/components/pagination/metadata/mods.md
index b9a493ed377..6fe1ad0ef9b 100644
--- a/components/pagination/metadata/mods.md
+++ b/components/pagination/metadata/mods.md
@@ -1,8 +1,7 @@
-| Modifiable custom properties |
-| ---------------------------------------------- |
-| `--mod-pagination-counter-color` |
-| `--mod-pagination-counter-font-size` |
-| `--mod-pagination-counter-line-height` |
-| `--mod-pagination-counter-margin-inline-start` |
-| `--mod-pagination-page-button-inline-spacing` |
-| `--mod-pagination-textfield-width` |
+| Modifiable custom properties |
+| --------------------------------------------- |
+| `--mod-pagination-counter-color` |
+| `--mod-pagination-counter-font-size` |
+| `--mod-pagination-counter-line-height` |
+| `--mod-pagination-page-button-inline-spacing` |
+| `--mod-pagination-textfield-width` |
diff --git a/components/pagination/package.json b/components/pagination/package.json
index 4bc388c7f2c..9af256c6275 100644
--- a/components/pagination/package.json
+++ b/components/pagination/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/pagination",
- "version": "8.2.0",
+ "version": "9.0.0-s2-foundations.16",
"description": "The Spectrum CSS Pagination component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,28 +21,28 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=6",
- "@spectrum-css/button": ">=13",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/splitbutton": ">=8",
- "@spectrum-css/textfield": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/textfield": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/actionbutton": "workspace:^",
"@spectrum-css/button": "workspace:^",
"@spectrum-css/icon": "workspace:^",
- "@spectrum-css/splitbutton": "^8.1.2",
"@spectrum-css/textfield": "workspace:^",
"@spectrum-css/tokens": "workspace:^"
},
diff --git a/components/pagination/stories/pagination.test.js b/components/pagination/stories/pagination.test.js
index 43cccd9e9e0..b3c7d8c1611 100644
--- a/components/pagination/stories/pagination.test.js
+++ b/components/pagination/stories/pagination.test.js
@@ -6,15 +6,12 @@ export const PaginationGroup = Variants({
sizeDirection: "column",
testData: [
{
- testHeading: "Default",
+ testHeading: "Listing",
+ variant: "listing",
},
{
testHeading: "Explicit",
variant: "explicit",
},
- {
- testHeading: "Button",
- variant: "button",
- },
]
});
diff --git a/components/pagination/stories/template.js b/components/pagination/stories/template.js
index 8950cf08fdb..6c169f501df 100644
--- a/components/pagination/stories/template.js
+++ b/components/pagination/stories/template.js
@@ -1,12 +1,14 @@
import { Template as ActionButton } from "@spectrum-css/actionbutton/stories/template.js";
import { Template as Button } from "@spectrum-css/button/stories/template.js";
-import { Default as SplitButton } from "@spectrum-css/preview/deprecated/splitbutton/splitbutton.stories.js";
import { Template as Textfield } from "@spectrum-css/textfield/stories/template.js";
import { html } from "lit";
import { classMap } from "lit/directives/class-map.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-Pagination",
@@ -15,7 +17,6 @@ export const Template = ({
variant,
items
} = {}, context = {}) => {
-
const explicitVariant = html`
`;
- // @todo This variant should be deprecated, as it uses the deprecated SplitButton component.
- const buttonVariant = SplitButton({
- position: "left",
- variant: "accent",
- label: "Next",
- iconName: "ChevronLeft100",
- labelIconName: "ChevronRight100",
- iconSet: "ui",
- customFirstButtonClasses: ["spectrum-Pagination-prevButton"],
- customLastButtonClasses: ["spectrum-Pagination-nextButton"]
- }, context);
-
const listingVariant = html`
+ *
+ * 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.
+ */
diff --git a/components/pagination/themes/spectrum.css b/components/pagination/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/pagination/themes/spectrum.css
+++ b/components/pagination/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/picker/CHANGELOG.md b/components/picker/CHANGELOG.md
index 063fedc10aa..4bfc08c6d68 100644
--- a/components/picker/CHANGELOG.md
+++ b/components/picker/CHANGELOG.md
@@ -1,5 +1,310 @@
# Change Log
+## 9.0.0-s2-foundations.17
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`da9a90a`](https://github.com/adobe/spectrum-css/commit/da9a90adb1b46abc7f3078d2b7cfcf84f7a41026) Thanks [@pfulton](https://github.com/pfulton)! - Update background and border color for picker in Spectrum 2 theme [SWC-575]
+
+### Patch Changes
+
+- Updated dependencies [[`da9a90a`](https://github.com/adobe/spectrum-css/commit/da9a90adb1b46abc7f3078d2b7cfcf84f7a41026), [`513256c`](https://github.com/adobe/spectrum-css/commit/513256c7c7587ac6a3741a819a41ab321d1cd965)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.30
+
+## 9.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.16
+ - @spectrum-css/helptext@6.0.0-s2-foundations.16
+ - @spectrum-css/popover@8.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+ - @spectrum-css/menu@8.0.0-s2-foundations.17
+
+## 9.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.15
+ - @spectrum-css/helptext@6.0.0-s2-foundations.15
+ - @spectrum-css/popover@8.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+ - @spectrum-css/menu@8.0.0-s2-foundations.15
+
+## 9.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.14
+ - @spectrum-css/helptext@6.0.0-s2-foundations.14
+ - @spectrum-css/popover@8.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/menu@8.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 9.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.13
+ - @spectrum-css/helptext@6.0.0-s2-foundations.13
+ - @spectrum-css/popover@8.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/menu@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 9.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.12
+ - @spectrum-css/helptext@6.0.0-s2-foundations.12
+ - @spectrum-css/popover@8.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/menu@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 9.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.11
+ - @spectrum-css/helptext@6.0.0-s2-foundations.11
+ - @spectrum-css/popover@8.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/menu@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 9.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.10
+ - @spectrum-css/helptext@6.0.0-s2-foundations.10
+ - @spectrum-css/popover@8.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/menu@8.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 9.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.9
+ - @spectrum-css/helptext@6.0.0-s2-foundations.9
+ - @spectrum-css/popover@8.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/menu@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 9.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.8
+ - @spectrum-css/helptext@6.0.0-s2-foundations.8
+ - @spectrum-css/popover@8.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/menu@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 9.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.7
+ - @spectrum-css/helptext@6.0.0-s2-foundations.7
+ - @spectrum-css/popover@8.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/menu@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 9.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.6
+ - @spectrum-css/helptext@6.0.0-s2-foundations.6
+ - @spectrum-css/popover@8.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+ - @spectrum-css/menu@8.0.0-s2-foundations.6
+
+## 9.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.5
+ - @spectrum-css/helptext@6.0.0-s2-foundations.5
+ - @spectrum-css/popover@8.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/menu@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 9.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.4
+ - @spectrum-css/helptext@6.0.0-s2-foundations.4
+ - @spectrum-css/popover@8.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/menu@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 9.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.3
+ - @spectrum-css/helptext@6.0.0-s2-foundations.3
+ - @spectrum-css/popover@8.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/menu@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 9.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.2
+ - @spectrum-css/helptext@6.0.0-s2-foundations.2
+ - @spectrum-css/popover@8.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/menu@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 9.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.1
+ - @spectrum-css/helptext@6.0.0-s2-foundations.1
+ - @spectrum-css/popover@8.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/menu@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 9.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/progresscircle@4.0.0-s2-foundations.0
+ - @spectrum-css/popover@8.0.0-s2-foundations.0
+ - @spectrum-css/menu@8.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/helptext@6.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 8.3.0
### Minor Changes
diff --git a/components/picker/index.css b/components/picker/index.css
index 23295ab3108..53dcb003ce3 100644
--- a/components/picker/index.css
+++ b/components/picker/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
@import "@spectrum-css/commons/basebutton.css";
.spectrum-Picker {
@@ -45,10 +45,6 @@
--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);
- & + .spectrum-Popover--bottom.is-open {
- --spectrum-picker-spacing-picker-to-popover: var(--spectrum-component-to-menu-medium);
- }
-
/* animation */
--spectrum-picker-animation-duration: var(--spectrum-animation-duration-100);
@@ -84,6 +80,10 @@
--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-picker-spacing-picker-to-popover: var(--spectrum-component-to-menu-medium);
+ }
}
.spectrum-Picker--sizeS {
@@ -479,7 +479,7 @@
.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)));
- border-color: var(--highcontrast-picker-border-color-disabled, transparent);
+ 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)));
.spectrum-Picker-icon,
diff --git a/components/picker/metadata/metadata.json b/components/picker/metadata/metadata.json
index a87ea36a42b..8b62a6c4c3a 100644
--- a/components/picker/metadata/metadata.json
+++ b/components/picker/metadata/metadata.json
@@ -157,6 +157,7 @@
"--spectrum-picker-border-color-active",
"--spectrum-picker-border-color-default",
"--spectrum-picker-border-color-default-open",
+ "--spectrum-picker-border-color-disabled",
"--spectrum-picker-border-color-error-active",
"--spectrum-picker-border-color-error-default",
"--spectrum-picker-border-color-error-default-open",
@@ -274,13 +275,14 @@
"--spectrum-font-size-200",
"--spectrum-font-size-300",
"--spectrum-font-size-75",
+ "--spectrum-gray-100",
"--spectrum-gray-200",
"--spectrum-gray-300",
- "--spectrum-gray-400",
"--spectrum-gray-500",
"--spectrum-gray-600",
"--spectrum-gray-700",
- "--spectrum-gray-75",
+ "--spectrum-gray-800",
+ "--spectrum-gray-900",
"--spectrum-line-height-100",
"--spectrum-negative-border-color-default",
"--spectrum-negative-border-color-down",
@@ -303,19 +305,20 @@
"--spectrum-text-to-visual-75"
],
"system-theme": [
- "--system-spectrum-picker-background-color-active",
- "--system-spectrum-picker-background-color-default",
- "--system-spectrum-picker-background-color-default-open",
- "--system-spectrum-picker-background-color-hover",
- "--system-spectrum-picker-background-color-hover-open",
- "--system-spectrum-picker-background-color-key-focus",
- "--system-spectrum-picker-border-color-active",
- "--system-spectrum-picker-border-color-default",
- "--system-spectrum-picker-border-color-default-open",
- "--system-spectrum-picker-border-color-hover",
- "--system-spectrum-picker-border-color-hover-open",
- "--system-spectrum-picker-border-color-key-focus",
- "--system-spectrum-picker-border-width"
+ "--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",
diff --git a/components/picker/package.json b/components/picker/package.json
index 840c99e1b3d..95355422149 100644
--- a/components/picker/package.json
+++ b/components/picker/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/picker",
- "version": "8.3.0",
+ "version": "9.0.0-s2-foundations.17",
"description": "The Spectrum CSS picker component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,22 +21,24 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/helptext": ">=5",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/menu": ">=7",
- "@spectrum-css/popover": ">=7",
- "@spectrum-css/progresscircle": ">=3",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/helptext": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/progresscircle": ">=4.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/helptext": {
diff --git a/components/picker/stories/picker.stories.js b/components/picker/stories/picker.stories.js
index 42324ec1186..b4f50532782 100644
--- a/components/picker/stories/picker.stories.js
+++ b/components/picker/stories/picker.stories.js
@@ -133,6 +133,10 @@ export default {
height: "400px"
}
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=739-1453",
+ },
packageJson,
metadata,
},
diff --git a/components/picker/stories/template.js b/components/picker/stories/template.js
index 4be33a2092f..5bce15f0744 100644
--- a/components/picker/stories/template.js
+++ b/components/picker/stories/template.js
@@ -11,6 +11,9 @@ 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).
diff --git a/components/picker/themes/express.css b/components/picker/themes/express.css
index 05de433acae..bb521933e6b 100644
--- a/components/picker/themes/express.css
+++ b/components/picker/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@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);
diff --git a/components/picker/themes/spectrum-two.css b/components/picker/themes/spectrum-two.css
new file mode 100644
index 00000000000..3d481512294
--- /dev/null
+++ b/components/picker/themes/spectrum-two.css
@@ -0,0 +1,33 @@
+/*!
+ * 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-100);
+ --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-800);
+ --spectrum-picker-border-color-default-open: var(--spectrum-gray-500);
+ --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
index b98f70f57ea..0e15e162fe0 100644
--- a/components/picker/themes/spectrum.css
+++ b/components/picker/themes/spectrum.css
@@ -11,7 +11,11 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
+/* @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);
@@ -21,12 +25,8 @@
--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: var(--spectrum-gray-600);
--spectrum-picker-border-color-hover-open: var(--spectrum-gray-600);
- --spectrum-picker-border-color-active: var(--spectrum-gray-700);
--spectrum-picker-border-color-key-focus: var(--spectrum-gray-600);
-
- --spectrum-picker-border-width: var(--spectrum-border-width-100);
+ --spectrum-picker-border-color-disabled: transparent;
}
}
diff --git a/components/pickerbutton/CHANGELOG.md b/components/pickerbutton/CHANGELOG.md
index 76ace483e66..cdc6113b736 100644
--- a/components/pickerbutton/CHANGELOG.md
+++ b/components/pickerbutton/CHANGELOG.md
@@ -1,5 +1,271 @@
# Change Log
+## 6.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/popover@8.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+ - @spectrum-css/menu@8.0.0-s2-foundations.17
+
+## 6.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+ - @spectrum-css/menu@8.0.0-s2-foundations.15
+
+## 6.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/menu@8.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/menu@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.13
+
+### Patch Changes
+
+- [#3023](https://github.com/adobe/spectrum-css/pull/3023) [`213efa8`](https://github.com/adobe/spectrum-css/commit/213efa8618cdccf75a274ee9c2dd0404864c1779) Thanks [@jawinn](https://github.com/jawinn)! - Relocates --mod custom properties from the themes CSS to the index.css.
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/menu@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/menu@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/menu@8.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/menu@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/menu@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/menu@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/popover@8.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+ - @spectrum-css/menu@8.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/menu@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/menu@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/menu@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/menu@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/menu@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/popover@8.0.0-s2-foundations.0
+ - @spectrum-css/menu@8.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
diff --git a/components/pickerbutton/index.css b/components/pickerbutton/index.css
index 14b89f9bbfd..92a3dda0bea 100644
--- a/components/pickerbutton/index.css
+++ b/components/pickerbutton/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-PickerButton {
--spectrum-picker-button-height: var(--spectrum-component-height-100);
@@ -22,8 +22,6 @@
--spectrum-picker-button-label-padding: var(--spectrum-text-to-visual-50);
--spectrum-picker-button-fill-padding: var(--spectrum-field-edge-to-disclosure-icon-100);
- --spectrum-picker-button-border-radius-rounded: var(--spectrum-corner-radius-200);
-
--spectrum-picker-button-icon-color: var(--spectrum-neutral-content-color-default);
--spectrum-picker-button-icon-color-hover: var(--spectrum-neutral-content-color-hover);
--spectrum-picker-button-icon-color-down: var(--spectrum-neutral-content-color-down);
@@ -39,8 +37,32 @@
--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-radius-rounded: var(--spectrum-corner-radius-200);
+
--spectrum-picker-button-background-animation-duration: var(--spectrum-animation-duration-100);
+ &:hover {
+ --mod-picker-button-background-color: var(--mod-picker-button-background-color-hover, var(--spectrum-picker-button-background-color-hover));
+ --mod-picker-button-font-color: var(--mod-picker-button-font-color-hover, var(--spectrum-picker-button-font-color-hover));
+ --mod-picker-button-icon-color: var(--mod-picker-button-icon-color-hover, var(--spectrum-picker-button-icon-color-hover));
+ }
+
+ &:active,
+ &.is-open {
+ --mod-picker-button-background-color: var(--mod-picker-button-background-color-down, var(--spectrum-picker-button-background-color-down));
+ --mod-picker-button-font-color: var(--mod-picker-button-font-color-down, var(--spectrum-picker-button-font-color-down));
+ --mod-picker-button-icon-color: var(--mod-picker-button-icon-color-down, var(--spectrum-picker-button-icon-color-down));
+ }
+
+ &:focus,
+ &.is-focused,
+ &:focus-visible,
+ &.is-keyboardFocused {
+ --mod-picker-button-background-color: var(--mod-picker-button-background-color-key-focus, var(--spectrum-picker-button-background-color-key-focus));
+ --mod-picker-button-font-color: var(--mod-picker-button-font-color-key-focus, var(--spectrum-picker-button-font-color-key-focus));
+ --mod-picker-button-icon-color: var(--mod-picker-button-icon-color-key-focus, var(--spectrum-picker-button-icon-color-key-focus));
+ }
+
&:disabled {
--mod-picker-button-background-color: var(--mod-picker-button-background-color-disabled, var(--spectrum-disabled-background-color));
--mod-picker-button-background-color-hover: var(--mod-picker-button-background-color-hover-disabled, var(--spectrum-disabled-background-color));
@@ -100,78 +122,8 @@
box-sizing: border-box;
padding: var(--mod-picker-button-padding, var(--spectrum-picker-button-padding));
- &:hover {
- .spectrum-PickerButton-fill {
- background-color: var(--mod-picker-button-background-color-hover, var(--spectrum-picker-button-background-color-hover));
- }
-
- .spectrum-PickerButton-label {
- color: var(--mod-picker-button-font-color-hover, var(--spectrum-picker-button-font-color-hover));
- }
-
- .spectrum-PickerButton-icon {
- color: var(--mod-picker-button-icon-color-hover, var(--spectrum-picker-button-icon-color-hover));
- }
- }
-
- &:active,
- &.is-open {
- .spectrum-PickerButton-fill {
- background-color: var(--mod-picker-button-background-color-down, var(--spectrum-picker-button-background-color-down));
- }
-
- .spectrum-PickerButton-label {
- color: var(--mod-picker-button-font-color-down, var(--spectrum-picker-button-font-color-down));
- }
-
- .spectrum-PickerButton-icon {
- color: var(--mod-picker-button-icon-color-down, var(--spectrum-picker-button-icon-color-down));
- }
- }
-
- &:focus,
- &.is-focused,
- &:focus-visible,
- &.is-keyboardFocused {
- .spectrum-PickerButton-fill {
- background-color: var(--mod-picker-button-background-color-key-focus, var(--spectrum-picker-button-background-color-key-focus));
- }
-
- .spectrum-PickerButton-label {
- color: var(--mod-picker-button-font-color-key-focus, var(--spectrum-picker-button-font-color-key-focus));
- }
-
- .spectrum-PickerButton-icon {
- color: var(--mod-picker-button-icon-color-key-focus, var(--spectrum-picker-button-icon-color-key-focus));
- }
- }
-}
-
-.spectrum-PickerButton--right {
- .spectrum-PickerButton-fill {
- border-end-start-radius: var(--mod-picker-button-border-radius-sided, var(--spectrum-picker-button-border-radius-sided));
- border-start-start-radius: var(--mod-picker-button-border-radius-sided, var(--spectrum-picker-button-border-radius-sided));
- }
-
- &.spectrum-PickerButton--rounded {
- .spectrum-PickerButton-fill {
- border-end-start-radius: var(--mod-picker-button-border-radius-rounded-sided, var(--spectrum-picker-button-border-radius-rounded-sided));
- border-start-start-radius: var(--mod-picker-button-border-radius-rounded-sided, var(--spectrum-picker-button-border-radius-rounded-sided));
- }
- }
-}
-
-.spectrum-PickerButton--left {
- .spectrum-PickerButton-fill {
- border-end-end-radius: var(--mod-picker-button-border-radius-sided, var(--spectrum-picker-button-border-radius-sided));
- border-start-end-radius: var(--mod-picker-button-border-radius-sided, var(--spectrum-picker-button-border-radius-sided));
- }
-
- &.spectrum-PickerButton--rounded {
- .spectrum-PickerButton-fill {
- border-end-end-radius: var(--mod-picker-button-border-radius-rounded-sided, var(--spectrum-picker-button-border-radius-rounded-sided));
- border-start-end-radius: var(--mod-picker-button-border-radius-rounded-sided, var(--spectrum-picker-button-border-radius-rounded-sided));
- }
+ &.spectrum-PickerButton--uiicononly {
+ inline-size: var(--mod-picker-button-height, var(--spectrum-picker-button-height));
}
}
@@ -189,6 +141,10 @@
font-style: var(--mod-picker-button-font-style, var(--spectrum-picker-button-font-style));
font-weight: var(--mod-picker-button-font-weight, var(--spectrum-picker-button-font-weight));
font-size: var(--mod-picker-button-font-size, var(--spectrum-picker-button-font-size));
+
+ .spectrum-PickerButton--uiicononly & {
+ display: none;
+ }
}
.spectrum-PickerButton-fill {
@@ -212,37 +168,46 @@
border-start-start-radius: var(--mod-picker-button-border-radius, var(--spectrum-picker-button-border-radius));
transition: border-color var(--mod-picker-button-background-animation-duration, var(--spectrum-picker-button-background-animation-duration)) ease-in-out;
-}
-.spectrum-PickerButton-icon {
- /* don't be small, ever */
- flex-shrink: 0;
- color: var(--mod-picker-button-icon-color, var(--spectrum-picker-button-icon-color));
-}
-.spectrum-PickerButton--rounded {
- .spectrum-PickerButton-fill {
+ .spectrum-PickerButton--right & {
+ border-end-start-radius: var(--mod-picker-button-border-radius-sided, var(--spectrum-picker-button-border-radius-sided));
+ border-start-start-radius: var(--mod-picker-button-border-radius-sided, var(--spectrum-picker-button-border-radius-sided));
+ }
+
+ .spectrum-PickerButton--right.spectrum-PickerButton--rounded & {
+ border-end-start-radius: var(--mod-picker-button-border-radius-rounded-sided, var(--spectrum-picker-button-border-radius-rounded-sided));
+ border-start-start-radius: var(--mod-picker-button-border-radius-rounded-sided, var(--spectrum-picker-button-border-radius-rounded-sided));
+ }
+
+ .spectrum-PickerButton--left & {
+ border-end-end-radius: var(--mod-picker-button-border-radius-sided, var(--spectrum-picker-button-border-radius-sided));
+ border-start-end-radius: var(--mod-picker-button-border-radius-sided, var(--spectrum-picker-button-border-radius-sided));
+ }
+
+ .spectrum-PickerButton--left.spectrum-PickerButton--rounded & {
+ border-end-end-radius: var(--mod-picker-button-border-radius-rounded-sided, var(--spectrum-picker-button-border-radius-rounded-sided));
+ border-start-end-radius: var(--mod-picker-button-border-radius-rounded-sided, var(--spectrum-picker-button-border-radius-rounded-sided));
+ }
+
+ .spectrum-PickerButton--rounded & {
border-end-end-radius: var(--mod-picker-button-border-radius-rounded, var(--spectrum-picker-button-border-radius-rounded));
border-end-start-radius: var(--mod-picker-button-border-radius-rounded, var(--spectrum-picker-button-border-radius-rounded));
border-start-end-radius: var(--mod-picker-button-border-radius-rounded, var(--spectrum-picker-button-border-radius-rounded));
border-start-start-radius: var(--mod-picker-button-border-radius-rounded, var(--spectrum-picker-button-border-radius-rounded));
}
-}
-
-.spectrum-PickerButton--uiicononly {
- inline-size: var(--mod-picker-button-height, var(--spectrum-picker-button-height));
-
- .spectrum-PickerButton-label {
- display: none;
- }
- .spectrum-PickerButton-fill {
+ .spectrum-PickerButton--uiicononly & {
padding: 0;
}
-}
-.spectrum-PickerButton--textuiicon {
- .spectrum-PickerButton-fill {
+ .spectrum-PickerButton--textuiicon & {
inline-size: auto;
}
}
+
+.spectrum-PickerButton-icon {
+ /* don't be small, ever */
+ flex-shrink: 0;
+ color: var(--mod-picker-button-icon-color, var(--spectrum-picker-button-icon-color));
+}
diff --git a/components/pickerbutton/metadata/metadata.json b/components/pickerbutton/metadata/metadata.json
index c605d88694b..967fcb22057 100644
--- a/components/pickerbutton/metadata/metadata.json
+++ b/components/pickerbutton/metadata/metadata.json
@@ -8,38 +8,24 @@
".spectrum-PickerButton--right.spectrum-PickerButton--rounded .spectrum-PickerButton-fill",
".spectrum-PickerButton--rounded .spectrum-PickerButton-fill",
".spectrum-PickerButton--textuiicon .spectrum-PickerButton-fill",
- ".spectrum-PickerButton--uiicononly",
".spectrum-PickerButton--uiicononly .spectrum-PickerButton-fill",
".spectrum-PickerButton--uiicononly .spectrum-PickerButton-label",
".spectrum-PickerButton-fill",
".spectrum-PickerButton-icon",
".spectrum-PickerButton-label",
- ".spectrum-PickerButton.is-focused .spectrum-PickerButton-fill",
- ".spectrum-PickerButton.is-focused .spectrum-PickerButton-icon",
- ".spectrum-PickerButton.is-focused .spectrum-PickerButton-label",
- ".spectrum-PickerButton.is-keyboardFocused .spectrum-PickerButton-fill",
- ".spectrum-PickerButton.is-keyboardFocused .spectrum-PickerButton-icon",
- ".spectrum-PickerButton.is-keyboardFocused .spectrum-PickerButton-label",
- ".spectrum-PickerButton.is-open .spectrum-PickerButton-fill",
- ".spectrum-PickerButton.is-open .spectrum-PickerButton-icon",
- ".spectrum-PickerButton.is-open .spectrum-PickerButton-label",
+ ".spectrum-PickerButton.is-focused",
+ ".spectrum-PickerButton.is-keyboardFocused",
+ ".spectrum-PickerButton.is-open",
".spectrum-PickerButton.spectrum-PickerButton--quiet",
".spectrum-PickerButton.spectrum-PickerButton--sizeL",
".spectrum-PickerButton.spectrum-PickerButton--sizeS",
".spectrum-PickerButton.spectrum-PickerButton--sizeXL",
- ".spectrum-PickerButton:active .spectrum-PickerButton-fill",
- ".spectrum-PickerButton:active .spectrum-PickerButton-icon",
- ".spectrum-PickerButton:active .spectrum-PickerButton-label",
+ ".spectrum-PickerButton.spectrum-PickerButton--uiicononly",
+ ".spectrum-PickerButton:active",
".spectrum-PickerButton:disabled",
- ".spectrum-PickerButton:focus .spectrum-PickerButton-fill",
- ".spectrum-PickerButton:focus .spectrum-PickerButton-icon",
- ".spectrum-PickerButton:focus .spectrum-PickerButton-label",
- ".spectrum-PickerButton:focus-visible .spectrum-PickerButton-fill",
- ".spectrum-PickerButton:focus-visible .spectrum-PickerButton-icon",
- ".spectrum-PickerButton:focus-visible .spectrum-PickerButton-label",
- ".spectrum-PickerButton:hover .spectrum-PickerButton-fill",
- ".spectrum-PickerButton:hover .spectrum-PickerButton-icon",
- ".spectrum-PickerButton:hover .spectrum-PickerButton-label"
+ ".spectrum-PickerButton:focus",
+ ".spectrum-PickerButton:focus-visible",
+ ".spectrum-PickerButton:hover"
],
"modifiers": [
"--mod-picker-button-background-animation-duration",
@@ -128,7 +114,6 @@
"--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",
@@ -140,10 +125,9 @@
"--spectrum-font-size-200",
"--spectrum-font-size-300",
"--spectrum-font-size-75",
+ "--spectrum-gray-100",
"--spectrum-gray-200",
- "--spectrum-gray-300",
- "--spectrum-gray-400",
- "--spectrum-gray-75",
+ "--spectrum-gray-50",
"--spectrum-in-field-button-edge-to-fill",
"--spectrum-neutral-content-color-default",
"--spectrum-neutral-content-color-down",
@@ -156,15 +140,15 @@
"--spectrum-text-to-visual-50"
],
"system-theme": [
- "--system-spectrum-pickerbutton-spectrum-picker-button-background-color",
- "--system-spectrum-pickerbutton-spectrum-picker-button-background-color-down",
- "--system-spectrum-pickerbutton-spectrum-picker-button-background-color-hover",
- "--system-spectrum-pickerbutton-spectrum-picker-button-background-color-key-focus",
- "--system-spectrum-pickerbutton-spectrum-picker-button-border-color",
- "--system-spectrum-pickerbutton-spectrum-picker-button-border-radius",
- "--system-spectrum-pickerbutton-spectrum-picker-button-border-radius-rounded-sided",
- "--system-spectrum-pickerbutton-spectrum-picker-button-border-radius-sided",
- "--system-spectrum-pickerbutton-spectrum-picker-button-border-width"
+ "--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"
],
"passthroughs": [],
"high-contrast": []
diff --git a/components/pickerbutton/package.json b/components/pickerbutton/package.json
index 281ede12f1b..75dae2689ad 100644
--- a/components/pickerbutton/package.json
+++ b/components/pickerbutton/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/pickerbutton",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.17",
"description": "The Spectrum CSS picker button component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,20 +21,22 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/menu": ">=7",
- "@spectrum-css/popover": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/icon": "workspace:^",
diff --git a/components/pickerbutton/stories/template.js b/components/pickerbutton/stories/template.js
index 5ec6142f74d..0479c145e0a 100644
--- a/components/pickerbutton/stories/template.js
+++ b/components/pickerbutton/stories/template.js
@@ -8,6 +8,9 @@ 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
index f399ef81f83..dc0472307b2 100644
--- a/components/pickerbutton/themes/express.css
+++ b/components/pickerbutton/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@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);
diff --git a/components/pickerbutton/themes/spectrum-two.css b/components/pickerbutton/themes/spectrum-two.css
new file mode 100644
index 00000000000..6cba1ef3df8
--- /dev/null
+++ b/components/pickerbutton/themes/spectrum-two.css
@@ -0,0 +1,27 @@
+/*!
+ * 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: 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);
+ }
+}
diff --git a/components/pickerbutton/themes/spectrum.css b/components/pickerbutton/themes/spectrum.css
index 1daf4d9af8e..043a4a779ca 100644
--- a/components/pickerbutton/themes/spectrum.css
+++ b/components/pickerbutton/themes/spectrum.css
@@ -11,17 +11,15 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
+/* @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);
}
}
diff --git a/components/popover/CHANGELOG.md b/components/popover/CHANGELOG.md
index 47794f83645..16ebcdeb842 100644
--- a/components/popover/CHANGELOG.md
+++ b/components/popover/CHANGELOG.md
@@ -1,5 +1,288 @@
# Change Log
+## 8.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.16
+ - @spectrum-css/divider@4.0.0-s2-foundations.16
+ - @spectrum-css/dialog@11.0.0-s2-foundations.16
+ - @spectrum-css/menu@8.0.0-s2-foundations.17
+
+## 8.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.15
+ - @spectrum-css/divider@4.0.0-s2-foundations.15
+ - @spectrum-css/dialog@11.0.0-s2-foundations.15
+ - @spectrum-css/menu@8.0.0-s2-foundations.15
+
+## 8.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.14
+ - @spectrum-css/divider@4.0.0-s2-foundations.14
+ - @spectrum-css/dialog@11.0.0-s2-foundations.14
+ - @spectrum-css/menu@8.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 8.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.13
+ - @spectrum-css/divider@4.0.0-s2-foundations.13
+ - @spectrum-css/dialog@11.0.0-s2-foundations.13
+ - @spectrum-css/menu@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 8.0.0-s2-foundations.13
+
+### Patch Changes
+
+- [#2982](https://github.com/adobe/spectrum-css/pull/2982) [`dffdefa`](https://github.com/adobe/spectrum-css/commit/dffdefaa1ffc39fbf7706e218d261da3a02695b5) Thanks [@castastrophe](https://github.com/castastrophe)! - Remove internal-only --flow-direction variable
+
+## 8.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.12
+ - @spectrum-css/divider@4.0.0-s2-foundations.12
+ - @spectrum-css/dialog@11.0.0-s2-foundations.12
+ - @spectrum-css/menu@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 8.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.11
+ - @spectrum-css/divider@4.0.0-s2-foundations.11
+ - @spectrum-css/dialog@11.0.0-s2-foundations.11
+ - @spectrum-css/menu@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 8.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.10
+ - @spectrum-css/divider@4.0.0-s2-foundations.10
+ - @spectrum-css/dialog@11.0.0-s2-foundations.10
+ - @spectrum-css/menu@8.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 8.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.9
+ - @spectrum-css/divider@4.0.0-s2-foundations.9
+ - @spectrum-css/dialog@11.0.0-s2-foundations.9
+ - @spectrum-css/menu@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 8.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.8
+ - @spectrum-css/divider@4.0.0-s2-foundations.8
+ - @spectrum-css/dialog@11.0.0-s2-foundations.8
+ - @spectrum-css/menu@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 8.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.7
+ - @spectrum-css/divider@4.0.0-s2-foundations.7
+ - @spectrum-css/dialog@11.0.0-s2-foundations.7
+ - @spectrum-css/menu@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 8.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.6
+ - @spectrum-css/divider@4.0.0-s2-foundations.6
+ - @spectrum-css/dialog@11.0.0-s2-foundations.6
+ - @spectrum-css/menu@8.0.0-s2-foundations.6
+
+## 8.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.5
+ - @spectrum-css/divider@4.0.0-s2-foundations.5
+ - @spectrum-css/dialog@11.0.0-s2-foundations.5
+ - @spectrum-css/menu@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 8.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.4
+ - @spectrum-css/divider@4.0.0-s2-foundations.4
+ - @spectrum-css/dialog@11.0.0-s2-foundations.4
+ - @spectrum-css/menu@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 8.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.3
+ - @spectrum-css/divider@4.0.0-s2-foundations.3
+ - @spectrum-css/dialog@11.0.0-s2-foundations.3
+ - @spectrum-css/menu@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 8.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.2
+ - @spectrum-css/divider@4.0.0-s2-foundations.2
+ - @spectrum-css/dialog@11.0.0-s2-foundations.2
+ - @spectrum-css/menu@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 8.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.1
+ - @spectrum-css/divider@4.0.0-s2-foundations.1
+ - @spectrum-css/dialog@11.0.0-s2-foundations.1
+ - @spectrum-css/menu@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 8.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.0
+ - @spectrum-css/menu@8.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/alertdialog@3.0.0-s2-foundations.0
+ - @spectrum-css/dialog@11.0.0-s2-foundations.0
+
## 7.2.0
### Minor Changes
diff --git a/components/popover/index.css b/components/popover/index.css
index 5c94377b78c..9e6c3443904 100644
--- a/components/popover/index.css
+++ b/components/popover/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
@import "@spectrum-css/commons/overlay.css";
.spectrum-Popover {
@@ -80,7 +80,7 @@
.spectrum-Popover-tip-triangle {
stroke-linecap: square;
stroke-linejoin: miter;
- fill: var(--highcontrast-popover-background-color, var(--mod-popover-background-color, var(--spectrum-popover-background-color)));
+ 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-width: var(--mod-popover-border-width, var(--spectrum-popover-border-width));
}
diff --git a/components/popover/metadata/metadata.json b/components/popover/metadata/metadata.json
index c0ec791c2b5..25e49b3553f 100644
--- a/components/popover/metadata/metadata.json
+++ b/components/popover/metadata/metadata.json
@@ -148,10 +148,7 @@
"--spectrum-gray-400",
"--spectrum-spacing-100"
],
- "system-theme": ["--system-spectrum-popover-border-width"],
+ "system-theme": ["--system-popover-border-width"],
"passthroughs": [],
- "high-contrast": [
- "--highcontrast-popover-background-color",
- "--highcontrast-popover-border-color"
- ]
+ "high-contrast": ["--highcontrast-popover-border-color"]
}
diff --git a/components/popover/package.json b/components/popover/package.json
index 961b825cddf..6ece3cbc2da 100644
--- a/components/popover/package.json
+++ b/components/popover/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/popover",
- "version": "7.2.0",
+ "version": "8.0.0-s2-foundations.17",
"description": "The Spectrum CSS popover component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,21 +21,23 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/alertdialog": ">=2",
- "@spectrum-css/dialog": ">=10",
- "@spectrum-css/divider": ">=3",
- "@spectrum-css/menu": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/alertdialog": ">=3.0.0-s2-foundations.0",
+ "@spectrum-css/dialog": ">=11.0.0-s2-foundations.0",
+ "@spectrum-css/divider": ">=4.0.0-s2-foundations.0",
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/divider": {
diff --git a/components/popover/stories/popover.stories.js b/components/popover/stories/popover.stories.js
index 967dda2baac..51087da06bc 100644
--- a/components/popover/stories/popover.stories.js
+++ b/components/popover/stories/popover.stories.js
@@ -91,6 +91,10 @@ export default {
height: "200px",
}
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=42086-5684",
+ },
packageJson,
metadata,
},
@@ -236,7 +240,7 @@ DialogStyle.args = {
content: [
(passthroughs, context) => Dialog({
showModal: false,
- size: ["small"],
+ size: "s",
isDismissable: false,
heading: "Example heading",
hasFooter: false,
diff --git a/components/popover/stories/popover.test.js b/components/popover/stories/popover.test.js
index 9f7dd09356b..b0271bc3f07 100644
--- a/components/popover/stories/popover.test.js
+++ b/components/popover/stories/popover.test.js
@@ -137,7 +137,7 @@ export const PopoverGroup = Variants({
content: [
(passthroughs, context) => Dialog({
showModal: false,
- size: ["small"],
+ size: "s",
isDismissable: false,
heading: "Example heading",
hasFooter: false,
diff --git a/components/popover/stories/template.js b/components/popover/stories/template.js
index 1be2e30689e..6d7e55375e2 100644
--- a/components/popover/stories/template.js
+++ b/components/popover/stories/template.js
@@ -8,6 +8,9 @@ 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",
@@ -41,7 +44,10 @@ export const Template = ({
setTimeout(() => {
// Get the actual height and width of the popover
const popover = document.getElementById(id);
+ if (!popover) return;
+
const rect = popover.getBoundingClientRect();
+ if (!rect) return;
let shouldChange = false;
if (popoverHeight !== parseInt(rect.height, 10)) {
@@ -186,8 +192,7 @@ export const Template = ({
class=${classMap({
[rootClass]: true,
"is-open": isOpen,
- [`${rootClass}--size${size?.toUpperCase()}`]:
- typeof size !== "undefined",
+ [`${rootClass}--size${size?.toUpperCase()}`]: typeof size !== "undefined",
[`${rootClass}--withTip`]: withTip,
[`${rootClass}--${position}`]: typeof position !== "undefined",
...customClasses.reduce((a, c) => ({ ...a, [c]: true }), {}),
@@ -275,7 +280,7 @@ export const TipPlacementVariants = (args, context) => {
/**
* Contains a source button with a fixed width, and an always open Popover.
*/
-export const FixedWidthSourceTemplate = (args) => html`
+export const FixedWidthSourceTemplate = (args, context) => html`
${ActionButton({
label: "Source",
@@ -283,12 +288,12 @@ export const FixedWidthSourceTemplate = (args) => html`
width: "100px",
display: "block",
},
- })}
+ }, context)}
${Template({
...args,
position: "bottom-start",
isOpen: true,
trigger: () => null,
- })}
+ }, context)}
`;
diff --git a/components/popover/themes/express.css b/components/popover/themes/express.css
index 4748454f03d..32c92bf71b5 100644
--- a/components/popover/themes/express.css
+++ b/components/popover/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-Popover {
--spectrum-popover-border-width: 0;
}
diff --git a/components/page/index.css b/components/popover/themes/spectrum-two.css
similarity index 81%
rename from components/page/index.css
rename to components/popover/themes/spectrum-two.css
index 28bab4cccc2..80c0cdc94c4 100644
--- a/components/page/index.css
+++ b/components/popover/themes/spectrum-two.css
@@ -11,9 +11,8 @@
* governing permissions and limitations under the License.
*/
-:root {
- background-color: var(--spectrum-gray-100);
-
- /* Prevent tap highlights */
- -webkit-tap-highlight-color: var(--spectrum-transparent-black-100);
+@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
index 2f0c2993266..3d81bc564b5 100644
--- a/components/popover/themes/spectrum.css
+++ b/components/popover/themes/spectrum.css
@@ -11,8 +11,6 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
- .spectrum-Popover {
- --spectrum-popover-border-width: var(--spectrum-border-width-100);
- }
-}
+/* @combine .spectrum.spectrum--legacy */
+
+@import "./spectrum-two.css";
diff --git a/components/progressbar/CHANGELOG.md b/components/progressbar/CHANGELOG.md
index acc0e3020f8..1993a71fe13 100644
--- a/components/progressbar/CHANGELOG.md
+++ b/components/progressbar/CHANGELOG.md
@@ -1,5 +1,274 @@
# Change Log
+## 5.0.0-s2-foundations.20
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.17
+
+## 5.0.0-s2-foundations.19
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f14c3be`](https://github.com/adobe/spectrum-css/commit/f14c3bee4ea3b3ad259ce2fa9c3f58fa49febf9d) Thanks [@pfulton](https://github.com/pfulton)! - ProgressBar/Meter
+
+ - Fix bug by reverting "background-color" for track fill back to "background".
+
+ Thumbnail
+
+ - Remove unused "vertical align" property.
+
+## 5.0.0-s2-foundations.18
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`085ecbc`](https://github.com/adobe/spectrum-css/commit/085ecbc739cf736e8d95377d605f2a7c4104bcc0) Thanks [@pfulton](https://github.com/pfulton)! - Pulled out _form_ from _fieldlabel_ package.
+ Pulled out _meter_ from _progressbar_ package.
+
+ [SWC-522] fix hover style regression
+
+### Patch Changes
+
+- Updated dependencies [[`085ecbc`](https://github.com/adobe/spectrum-css/commit/085ecbc739cf736e8d95377d605f2a7c4104bcc0)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.16
+
+## 5.0.0-s2-foundations.17
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.15
+
+## 5.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 5.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 5.0.0-s2-foundations.14
+
+### Patch Changes
+
+- [#3023](https://github.com/adobe/spectrum-css/pull/3023) [`213efa8`](https://github.com/adobe/spectrum-css/commit/213efa8618cdccf75a274ee9c2dd0404864c1779) Thanks [@jawinn](https://github.com/jawinn)! - Relocates --mod custom properties from the themes CSS to the index.css.
+
+## 5.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-235] meter properties moved out of theme and into index.css
+
+### Patch Changes
+
+- Updated dependencies [[`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f), [`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.14
+
+## 5.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 5.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 5.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 5.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 5.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 5.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 5.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.6
+
+## 5.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 5.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 5.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 5.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 5.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 5.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/fieldlabel@9.0.0-s2-foundations.0
+
## 4.2.0
### Minor Changes
@@ -17,6 +286,12 @@
- [#3291](https://github.com/adobe/spectrum-css/pull/3291) [`6c47b48`](https://github.com/adobe/spectrum-css/commit/6c47b48cdfbd1ad5fc19d913d18901f405b8b211) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violation by removing unused custom property.
+## 4.1.8
+
+### Patch Changes
+
+- [#3291](https://github.com/adobe/spectrum-css/pull/3291) [`6c47b48`](https://github.com/adobe/spectrum-css/commit/6c47b48cdfbd1ad5fc19d913d18901f405b8b211) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violation by removing unused custom property.
+
## 4.1.7
### Patch Changes
diff --git a/components/progressbar/README.md b/components/progressbar/README.md
index 0f0acd2bf5b..28f221fd087 100644
--- a/components/progressbar/README.md
+++ b/components/progressbar/README.md
@@ -1,6 +1,6 @@
-# @spectrum-css/barloader
+# @spectrum-css/progressbar
-> The Spectrum CSS barloader component
+> The Spectrum CSS progressbar component
This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
diff --git a/components/progressbar/index.css b/components/progressbar/index.css
index 970c7adf162..648c492df0f 100644
--- a/components/progressbar/index.css
+++ b/components/progressbar/index.css
@@ -11,15 +11,50 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@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 {
- /* 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-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);
- --spectrum-progressbar-fill-size-indeterminate: 70%;
+ --spectrum-progressbar-fill-size-indeterminate: var(--mod-progressbar-fill-size-indeterminate, 70%);
+ --spectrum-progressbar-dir-indeterminate-multiplier: 1;
/* --spectrum-global-dimension-static-size-2400 */
--spectrum-progressbar-size-2400: 192px;
@@ -31,102 +66,49 @@
--spectrum-progressbar-size-2800: 224px;
/* Size */
- --spectrum-progressbar-font-size: var(--spectrum-font-size-75);
- --spectrum-progressbar-line-height-cjk: var(--spectrum-cjk-line-height-100);
+ --spectrum-progressbar-line-height-cjk: var(--mod-progressbar-line-height-cjk, var(--spectrum-cjk-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-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-thickness: var(--spectrum-progress-bar-thickness-medium);
- --spectrum-progressbar-line-height: var(--spectrum-line-height-100);
+ --spectrum-progressbar-line-height: var(--mod-progressbar-line-height, var(--spectrum-line-height-100));
/* Spacing */
- --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);
+ --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));
/* Color */
- --spectrum-progressbar-text-color: var(--spectrum-neutral-content-color-default);
- --spectrum-progressbar-track-color: var(--spectrum-gray-300);
- --spectrum-progressbar-fill-color: var(--spectrum-accent-color-900);
- --spectrum-progressbar-fill-color-positive: var(--spectrum-positive-visual-color);
- --spectrum-progressbar-fill-color-notice: var(--spectrum-notice-visual-color);
- --spectrum-progressbar-fill-color-negative: var(--spectrum-negative-visual-color);
- --spectrum-progressbar-label-and-value-white: var(--spectrum-white);
- --spectrum-progressbar-track-color-white: var(--spectrum-transparent-white-300);
- --spectrum-progressbar-fill-color-white: var(--spectrum-white);
-
- /* Meter */
- --spectrum-meter-min-width: var(--spectrum-meter-minimum-width);
- --spectrum-meter-max-width: var(--spectrum-meter-maximum-width);
- --spectrum-meter-inline-size: var(--spectrum-meter-default-width);
- --spectrum-meter-thickness-s: var(--spectrum-meter-thickness-small);
- --spectrum-meter-thickness-l: var(--spectrum-meter-thickness-large);
-}
-
-.spectrum-ProgressBar--sizeS,
-.spectrum-Meter--sizeS {
- --spectrum-progressbar-size-default: var(--spectrum-progressbar-size-2400);
-
- --spectrum-progressbar-font-size: var(--spectrum-font-size-75);
- --spectrum-progressbar-thickness: var(--spectrum-progress-bar-thickness-small);
-
- --spectrum-progressbar-spacing-top-to-text: var(--spectrum-component-top-to-text-75);
-}
-
-.spectrum-ProgressBar--sizeM {
- --spectrum-progressbar-size-default: var(--spectrum-progressbar-size-2400);
-
- --spectrum-progressbar-font-size: var(--spectrum-font-size-75);
- --spectrum-progressbar-thickness: var(--spectrum-progress-bar-thickness-large);
+ --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-spacing-top-to-text: var(--spectrum-component-top-to-text-75);
-}
-
-.spectrum-ProgressBar--sizeL,
-.spectrum-Meter--sizeL {
- --spectrum-progressbar-size-default: var(--spectrum-progressbar-size-2500);
-
- --spectrum-progressbar-font-size: var(--spectrum-font-size-100);
- --spectrum-progressbar-thickness: var(--spectrum-progress-bar-thickness-large);
-
- --spectrum-progressbar-spacing-top-to-text: var(--spectrum-component-top-to-text-200);
-}
-
-.spectrum-ProgressBar--sizeXL {
- --spectrum-progressbar-size-default: var(--spectrum-progressbar-size-2800);
-
- --spectrum-progressbar-font-size: var(--spectrum-font-size-200);
- --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-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-Meter {
- --spectrum-progressbar-size-default: var(--mod-meter-inline-size, var(--spectrum-meter-inline-size));
- --spectrum-progressbar-max-size: var(--mod-meter-max-width, var(--spectrum-meter-max-width));
- --spectrum-progressbar-min-size: var(--mod-meter-min-width, var(--spectrum-meter-min-width));
+ /* @passthrough */
+ --mod-fieldlabel-font-size: var(--spectrum-progressbar-font-size);
- /* Meter only supports size S and L */
- &.spectrum-Meter--sizeS {
- --spectrum-progressbar-thickness: var(--spectrum-meter-thickness-s);
+ &:dir(rtl) {
+ --spectrum-progressbar-dir-indeterminate-multiplier: -1;
}
- &.spectrum-Meter--sizeL {
- --spectrum-progressbar-thickness: var(--spectrum-meter-thickness-l);
- --spectrum-progressbar-spacing-top-to-text: var(--spectrum-component-top-to-text-75);
- }
-
- &.is-positive .spectrum-ProgressBar-fill {
- background: var(--highcontrast-progressbar-fill-color, var(--mod-progressbar-fill-color-positive, var(--spectrum-progressbar-fill-color-positive)));
+ &:lang(ja),
+ &:lang(zh),
+ &:lang(ko) {
+ --mod-progressbar-line-height: var(--spectrum-progressbar-line-height-cjk);
}
+}
- &.is-notice .spectrum-ProgressBar-fill {
- background: var(--highcontrast-progressbar-fill-color, var(--mod-progressbar-fill-color-notice, var(--spectrum-progressbar-fill-color-notice)));
+@media (forced-colors: active) {
+ .spectrum-ProgressBar {
+ --highcontrast-progressbar-fill-color: ButtonText;
+ --highcontrast-progressbar-track-color: ButtonFace;
}
- &.is-negative .spectrum-ProgressBar-fill {
- background: var(--highcontrast-progressbar-fill-color, var(--mod-progressbar-fill-color-negative, var(--spectrum-progressbar-fill-color-negative)));
+ .spectrum-ProgressBar-track {
+ forced-color-adjust: none;
+ border: 1px solid ButtonText;
}
}
@@ -136,144 +118,99 @@
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;
- 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));
+ inline-size: var(--spectrum-progressbar-size-default);
+ max-inline-size: var(--spectrum-progressbar-max-size);
+ min-inline-size: var(--spectrum-progressbar-min-size);
- /* 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));
- }
-
- /* Label */
- .spectrum-ProgressBar-label {
- flex: 1 1 0%;
+ &.spectrum-ProgressBar--sideLabel {
+ flex-flow: row;
+ justify-content: space-between;
}
- /* 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));
- }
-
- /* 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)));
- }
-
- .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--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);
}
}
-.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 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);
-/* Variants */
-/* Side Label */
-.spectrum-ProgressBar--sideLabel {
- display: inline-flex;
- flex-flow: row;
- justify-content: space-between;
+ line-height: var(--spectrum-progressbar-line-height);
+ color: var(--spectrum-progressbar-text-color);
+}
- .spectrum-ProgressBar-track {
- flex: 1 1 var(--mod-progressbar-size-default, var(--spectrum-progressbar-size-default));
- }
+/* Label */
+.spectrum-ProgressBar-label {
+ flex: 1 1 0%;
- .spectrum-ProgressBar-label {
+ .spectrum-ProgressBar--sideLabel & {
flex-grow: 0;
- margin-inline-end: var(--mod-progressbar-spacing-label-to-text, var(--spectrum-progressbar-spacing-label-to-text));
+ margin-inline-end: var(--spectrum-progressbar-spacing-label-to-text);
margin-block-end: 0;
}
+}
- .spectrum-ProgressBar-percentage {
+/* Percentage */
+.spectrum-ProgressBar-percentage {
+ align-self: flex-start;
+ margin-inline-start: var(--spectrum-progressbar-spacing-label-to-text);
+
+ .spectrum-ProgressBar--sideLabel & {
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;
}
}
-/* Static White */
-.spectrum-ProgressBar.spectrum-ProgressBar--staticWhite {
- .spectrum-ProgressBar-fill {
- color: var(--mod-progressbar-label-and-value-white, var(--spectrum-progressbar-label-and-value-white));
- background: var(--mod-progressbar-fill-color-white, var(--spectrum-progressbar-fill-color-white));
- }
+/* 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);
- .spectrum-ProgressBar-label,
- .spectrum-ProgressBar-percentage {
- color: var(--mod-progressbar-label-and-value-white, var(--spectrum-progressbar-label-and-value-white));
- }
+ background: var(--spectrum-progressbar-track-color-default);
- .spectrum-ProgressBar-track {
- background: var(--spectrum-progressbar-track-color-white);
+ .spectrum-ProgressBar--sideLabel & {
+ flex: 1 1 var(--spectrum-progressbar-size-default);
}
}
-/* Animations */
-.spectrum-ProgressBar--indeterminate .spectrum-ProgressBar-fill {
- animation: indeterminate-loop-ltr var(--mod-progressbar-animation-duration-indeterminate, var(--spectrum-progressbar-animation-duration-indeterminate)) infinite;
-}
+.spectrum-ProgressBar-fill {
+ block-size: var(--spectrum-progressbar-thickness);
-.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;
-}
+ border: none;
+ background: var(--spectrum-progressbar-fill-color);
-@keyframes indeterminate-loop-ltr {
- from {
- transform: translate(calc(-1 * var(--mod-progressbar-fill-size-indeterminate, var(--spectrum-progressbar-fill-size-indeterminate))));
- }
+ transition: width 1s;
- to {
- transform: translate(var(--mod-progressbar-size-default, var(--spectrum-progressbar-size-default)));
+ .spectrum-ProgressBar--indeterminate & {
+ position: relative;
+ inline-size: 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;
}
}
-@keyframes indeterminate-loop-rtl {
+@keyframes indeterminate-loop {
from {
- transform: translate(var(--mod-progressbar-size-default, var(--spectrum-progressbar-fill-size-indeterminate)));
+ transform: translate(calc(-1 * var(--spectrum-progressbar-dir-indeterminate-multiplier) * var(--spectrum-progressbar-fill-size-indeterminate)));
}
to {
- 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;
- forced-color-adjust: none;
- border: 1px solid ButtonText;
+ transform: translate(calc(var(--spectrum-progressbar-dir-indeterminate-multiplier) * var(--spectrum-progressbar-size-default)));
}
}
diff --git a/components/progressbar/metadata/metadata.json b/components/progressbar/metadata/metadata.json
index f49c8b03854..3294d6c477a 100644
--- a/components/progressbar/metadata/metadata.json
+++ b/components/progressbar/metadata/metadata.json
@@ -1,28 +1,8 @@
{
"sourceFile": "index.css",
"selectors": [
- ".spectrum-Meter",
- ".spectrum-Meter--sizeL",
- ".spectrum-Meter--sizeS",
- ".spectrum-Meter.is-negative .spectrum-ProgressBar-fill",
- ".spectrum-Meter.is-notice .spectrum-ProgressBar-fill",
- ".spectrum-Meter.is-positive .spectrum-ProgressBar-fill",
- ".spectrum-Meter.spectrum-Meter--sizeL",
- ".spectrum-Meter.spectrum-Meter--sizeS",
".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",
@@ -30,25 +10,24 @@
".spectrum-ProgressBar--sizeM",
".spectrum-ProgressBar--sizeS",
".spectrum-ProgressBar--sizeXL",
+ ".spectrum-ProgressBar-fill",
+ ".spectrum-ProgressBar-label",
+ ".spectrum-ProgressBar-percentage",
".spectrum-ProgressBar-track",
- ".spectrum-ProgressBar.spectrum-ProgressBar--staticWhite .spectrum-ProgressBar-fill",
- ".spectrum-ProgressBar.spectrum-ProgressBar--staticWhite .spectrum-ProgressBar-label",
- ".spectrum-ProgressBar.spectrum-ProgressBar--staticWhite .spectrum-ProgressBar-percentage",
- ".spectrum-ProgressBar.spectrum-ProgressBar--staticWhite .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--indeterminate .spectrum-ProgressBar-fill",
+ "[dir=\"rtl\"] .spectrum-ProgressBar",
"to"
],
"modifiers": [
- "--mod-meter-inline-size",
- "--mod-meter-max-width",
- "--mod-meter-min-width",
"--mod-progressbar-animation-duration-indeterminate",
"--mod-progressbar-animation-ease-in-out-indeterminate",
"--mod-progressbar-fill-color",
- "--mod-progressbar-fill-color-negative",
- "--mod-progressbar-fill-color-notice",
- "--mod-progressbar-fill-color-positive",
"--mod-progressbar-fill-color-white",
"--mod-progressbar-fill-size-indeterminate",
"--mod-progressbar-font-size",
@@ -63,23 +42,19 @@
"--mod-progressbar-spacing-top-to-text",
"--mod-progressbar-text-color",
"--mod-progressbar-thickness",
- "--mod-progressbar-track-color",
- "--mod-spacing-progressbar-label-to-text"
+ "--mod-progressbar-track-color"
],
"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-negative",
- "--spectrum-progressbar-fill-color-notice",
- "--spectrum-progressbar-fill-color-positive",
"--spectrum-progressbar-fill-color-white",
"--spectrum-progressbar-fill-size-indeterminate",
"--spectrum-progressbar-font-size",
@@ -92,12 +67,18 @@
"--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": [
@@ -113,29 +94,19 @@
"--spectrum-font-size-100",
"--spectrum-font-size-200",
"--spectrum-font-size-75",
- "--spectrum-gray-300",
+ "--spectrum-gray-200",
"--spectrum-line-height-100",
- "--spectrum-meter-default-width",
- "--spectrum-meter-inline-size",
- "--spectrum-meter-max-width",
- "--spectrum-meter-maximum-width",
- "--spectrum-meter-min-width",
- "--spectrum-meter-minimum-width",
- "--spectrum-meter-thickness-l",
- "--spectrum-meter-thickness-large",
- "--spectrum-meter-thickness-s",
- "--spectrum-meter-thickness-small",
- "--spectrum-negative-visual-color",
"--spectrum-neutral-content-color-default",
- "--spectrum-notice-visual-color",
- "--spectrum-positive-visual-color",
"--spectrum-spacing-200",
"--spectrum-spacing-75",
- "--spectrum-transparent-white-300",
+ "--spectrum-transparent-white-400",
"--spectrum-white"
],
- "system-theme": [],
- "passthroughs": [],
+ "system-theme": [
+ "--system-progress-bar-track-color",
+ "--system-progress-bar-track-color-white"
+ ],
+ "passthroughs": ["--mod-fieldlabel-font-size"],
"high-contrast": [
"--highcontrast-progressbar-fill-color",
"--highcontrast-progressbar-track-color"
diff --git a/components/progressbar/metadata/mods.md b/components/progressbar/metadata/mods.md
index 1a9745a13ea..76ab6ee4acf 100644
--- a/components/progressbar/metadata/mods.md
+++ b/components/progressbar/metadata/mods.md
@@ -1,14 +1,8 @@
| Modifiable custom properties |
| ------------------------------------------------------- |
-| `--mod-meter-inline-size` |
-| `--mod-meter-max-width` |
-| `--mod-meter-min-width` |
| `--mod-progressbar-animation-duration-indeterminate` |
| `--mod-progressbar-animation-ease-in-out-indeterminate` |
| `--mod-progressbar-fill-color` |
-| `--mod-progressbar-fill-color-negative` |
-| `--mod-progressbar-fill-color-notice` |
-| `--mod-progressbar-fill-color-positive` |
| `--mod-progressbar-fill-color-white` |
| `--mod-progressbar-fill-size-indeterminate` |
| `--mod-progressbar-font-size` |
@@ -24,4 +18,3 @@
| `--mod-progressbar-text-color` |
| `--mod-progressbar-thickness` |
| `--mod-progressbar-track-color` |
-| `--mod-spacing-progressbar-label-to-text` |
diff --git a/components/progressbar/package.json b/components/progressbar/package.json
index da26db33092..e576a6780bb 100644
--- a/components/progressbar/package.json
+++ b/components/progressbar/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/progressbar",
- "version": "4.2.0",
+ "version": "5.0.0-s2-foundations.20",
"description": "The Spectrum CSS progress bar component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/fieldlabel": ">=8",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/fieldlabel": ">=9.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/fieldlabel": {
diff --git a/components/progressbar/stories/meter.template.js b/components/progressbar/stories/meter.template.js
deleted file mode 100644
index 8c045d1cf05..00000000000
--- a/components/progressbar/stories/meter.template.js
+++ /dev/null
@@ -1,44 +0,0 @@
-import { Container } from "@spectrum-css/preview/decorators";
-import { html } from "lit";
-import { capitalize } from "lodash-es";
-import { Template as ProgressBar } from "./template.js";
-
-import "../index.css";
-
-export const Template = ({
- customClasses = [],
- fill,
- size = "s",
- rootClass = "spectrum-Meter",
- staticColor,
- ...item
-} = {}, context = {}) => ProgressBar({
- customClasses: [
- rootClass,
- typeof size !== "undefined" ? `${rootClass}--size${size.toUpperCase()}` : null,
- typeof fill !== "undefined" ? `is-${fill}` : null,
- /*
- * The `spectrum-Meter--staticWhite` class is not present in the Meter CSS, as it makes use of
- * `spectrum-ProgressBar--staticWhite`, but having this allows for simpler detection of static
- * colors when looking at the element using its `rootClass` in our decorators.
- */
- typeof staticColor !== "undefined" ? `${rootClass}--static${capitalize(staticColor)}` : null,
- ...customClasses,
- ].filter(Boolean),
- size,
- staticColor,
- ...item,
-}, context);
-
-/* FillGroup showcases all semantic variants in a single story. */
-export const FillGroup = (args, context) => Container({
- withBorder: false,
- withHeading: false,
- content: html`${["info", "positive", "negative", "notice"].map((variant) =>
- Container({
- withBorder: false,
- heading: variant,
- content: Template({...args, fill: variant}, context),
- }, context)
- )}`
-}, context);
diff --git a/components/progressbar/stories/progressbar.stories.js b/components/progressbar/stories/progressbar.stories.js
index f6bf0ff90ad..d94a214f2de 100644
--- a/components/progressbar/stories/progressbar.stories.js
+++ b/components/progressbar/stories/progressbar.stories.js
@@ -92,6 +92,10 @@ export default {
showValueLabel: true,
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=13059-181",
+ },
packageJson,
metadata,
},
diff --git a/components/progressbar/stories/template.js b/components/progressbar/stories/template.js
index 84fd9506b7e..c358879721c 100644
--- a/components/progressbar/stories/template.js
+++ b/components/progressbar/stories/template.js
@@ -7,6 +7,9 @@ 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",
@@ -22,7 +25,8 @@ export const Template = ({
progressBarFill,
customStyles = {},
size = "m",
-} = {}, context = {}) => html`
+} = {}, context = {}) => {
+ return html`
-`;
+ `;
+};
/* This template shows determinate and indeterminate progress bars */
export const IndeterminateGroup = (args, context) => Container({
diff --git a/components/progressbar/themes/express.css b/components/progressbar/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/progressbar/themes/express.css
+++ b/components/progressbar/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/progressbar/themes/spectrum-two.css b/components/progressbar/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b705ef64c4
--- /dev/null
+++ b/components/progressbar/themes/spectrum-two.css
@@ -0,0 +1,19 @@
+/*!
+ * 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
index 3b48a570c21..3760cc4cfc4 100644
--- a/components/progressbar/themes/spectrum.css
+++ b/components/progressbar/themes/spectrum.css
@@ -10,3 +10,14 @@
* 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/CHANGELOG.md b/components/progresscircle/CHANGELOG.md
index 1c4522b7636..f534dec22a3 100644
--- a/components/progresscircle/CHANGELOG.md
+++ b/components/progresscircle/CHANGELOG.md
@@ -1,5 +1,210 @@
# Change Log
+## 4.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 4.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 4.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 4.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 4.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 4.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 4.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 4.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 4.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 4.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 4.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 4.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 4.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 4.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 4.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 4.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 4.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 3.2.0
### Minor Changes
diff --git a/components/progresscircle/index.css b/components/progresscircle/index.css
index 76a3e03f6b5..661cba87458 100644
--- a/components/progresscircle/index.css
+++ b/components/progresscircle/index.css
@@ -11,8 +11,23 @@
* governing permissions and limitations under the License.
*/
-@import "./animation.css";
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
+
+/* 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;
+ }
+}
.spectrum-ProgressCircle {
/* circle unfilled border color */
@@ -27,46 +42,26 @@
/* over background progress fill border color */
--spectrum-progress-circle-fill-border-color-over-background: var(--spectrum-transparent-white-900);
- /* default size and thickness */
- --spectrum-progress-circle-size: var(--spectrum-progress-circle-size-medium);
- --spectrum-progress-circle-thickness: var(--spectrum-progress-circle-thickness-medium);
-
/* 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);
-}
-
-.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--large {
- --spectrum-progress-circle-size: var(--spectrum-progress-circle-size-large);
- --spectrum-progress-circle-thickness: var(--spectrum-progress-circle-thickness-large);
-}
-/* windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-ProgressCircle {
- /* fill is bright color */
- --highcontrast-progress-circle-fill-border-color: Highlight;
+ &.spectrum-ProgressCircle--small {
+ --spectrum-progress-circle-size: var(--spectrum-progress-circle-size-small);
+ --spectrum-progress-circle-thickness: var(--spectrum-progress-circle-thickness-small);
+ }
- /* fill over background is bright color */
- --highcontrast-progress-circle-fill-border-color-over-background: Highlight;
+ &,
+ &.spectrum-ProgressCircle--medium {
+ --spectrum-progress-circle-size: var(--spectrum-progress-circle-size-medium);
+ --spectrum-progress-circle-thickness: var(--spectrum-progress-circle-thickness-medium);
}
- /* track double for visibility */
- .spectrum-ProgressCircle-track {
- --spectrum-progress-circle-track-border-style: double;
+ &.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 {
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));
@@ -83,7 +78,7 @@
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(--highcontrast-progress-circle-track-border-style, var(--mod-progress-circle-track-border-style, var(--spectrum-progress-circle-track-border-style)));
+ 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));
@@ -166,3 +161,501 @@
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);
+ }
+}
+
+@keyframes spectrum-fills-rotate {
+ 0% {
+ transform: rotate(-90deg);
+ }
+
+ 100% {
+ transform: rotate(270deg);
+ }
+}
diff --git a/components/progresscircle/metadata/metadata.json b/components/progresscircle/metadata/metadata.json
index cc43dfd0c63..82493f14621 100644
--- a/components/progresscircle/metadata/metadata.json
+++ b/components/progresscircle/metadata/metadata.json
@@ -6,9 +6,6 @@
".spectrum-ProgressCircle--indeterminate .spectrum-ProgressCircle-fillSubMask2",
".spectrum-ProgressCircle--indeterminate .spectrum-ProgressCircle-fills",
".spectrum-ProgressCircle--indeterminate-fill-submask-2",
- ".spectrum-ProgressCircle--large",
- ".spectrum-ProgressCircle--medium",
- ".spectrum-ProgressCircle--small",
".spectrum-ProgressCircle-fill",
".spectrum-ProgressCircle-fillMask1",
".spectrum-ProgressCircle-fillMask2",
@@ -16,6 +13,9 @@
".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%",
@@ -106,15 +106,21 @@
],
"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-theme": [
+ "--system-progress-circle-fill-border-color-over-background",
+ "--system-progress-circle-track-border-color",
+ "--system-progress-circle-track-border-color-over-background"
+ ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-progress-circle-fill-border-color",
- "--highcontrast-progress-circle-fill-border-color-over-background",
- "--highcontrast-progress-circle-track-border-style"
+ "--highcontrast-progress-circle-fill-border-color-over-background"
]
}
diff --git a/components/progresscircle/package.json b/components/progresscircle/package.json
index 8587d222a04..6140b1dcd62 100644
--- a/components/progresscircle/package.json
+++ b/components/progresscircle/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/progresscircle",
- "version": "3.2.0",
+ "version": "4.0.0-s2-foundations.16",
"description": "The Spectrum CSS progress circle component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/progresscircle/stories/progresscircle.stories.js b/components/progresscircle/stories/progresscircle.stories.js
index f5f7216b3e0..24491ad3405 100644
--- a/components/progresscircle/stories/progresscircle.stories.js
+++ b/components/progresscircle/stories/progresscircle.stories.js
@@ -27,6 +27,10 @@ export default {
staticColor: undefined,
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=13061-181",
+ },
packageJson,
metadata,
},
diff --git a/components/progresscircle/stories/template.js b/components/progresscircle/stories/template.js
index a0fa4486e8b..2e27221f91a 100644
--- a/components/progresscircle/stories/template.js
+++ b/components/progresscircle/stories/template.js
@@ -5,6 +5,9 @@ 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 = ({
id = getRandomId("progress-circle"),
@@ -15,7 +18,7 @@ export const Template = ({
size = "m",
staticColor,
isIndeterminate = false,
-}) => {
+} = {}) => {
let sizeClassName = "medium";
switch (size) {
case "s":
diff --git a/components/progresscircle/themes/express.css b/components/progresscircle/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/progresscircle/themes/express.css
+++ b/components/progresscircle/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/progresscircle/themes/spectrum-two.css b/components/progresscircle/themes/spectrum-two.css
new file mode 100644
index 00000000000..02fff62e640
--- /dev/null
+++ b/components/progresscircle/themes/spectrum-two.css
@@ -0,0 +1,25 @@
+/*!
+ * 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);
+
+ /* over background unfilled border color */
+ --spectrum-progress-circle-track-border-color-over-background: var(--spectrum-transparent-white-400);
+
+ /* over background progress fill border color */
+ --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
index 3b48a570c21..e9740e41d36 100644
--- a/components/progresscircle/themes/spectrum.css
+++ b/components/progresscircle/themes/spectrum.css
@@ -10,3 +10,17 @@
* 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 ba1cd664f87..272ceaaec60 100644
--- a/components/radio/CHANGELOG.md
+++ b/components/radio/CHANGELOG.md
@@ -1,5 +1,252 @@
# Change Log
+## 10.0.0-s2-foundations.18
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 10.0.0-s2-foundations.17
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57e187f`](https://github.com/adobe/spectrum-css/commit/57e187f5a52e9782e8573defc825cef0399b99e4) Thanks [@pfulton](https://github.com/pfulton)! - Minor bug fixes for datepicker and radio; tokens released for alignment
+
+- Updated dependencies [[`57e187f`](https://github.com/adobe/spectrum-css/commit/57e187f5a52e9782e8573defc825cef0399b99e4)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.26
+
+## 10.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#3164](https://github.com/adobe/spectrum-css/pull/3164) [`f8dead7`](https://github.com/adobe/spectrum-css/commit/f8dead7a680e88678bf830fccee32ecc661677bc) Thanks [@jawinn](https://github.com/jawinn)! - Fixes an issue with the alignment of a read-only radio's label element within field group and flex layouts.
+
+## 10.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 10.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 10.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 10.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 10.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 10.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 10.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 10.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 10.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 10.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 10.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 10.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 10.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 10.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 10.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 10.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
+## 9.4.1
+
+### Patch Changes
+
+- [#3350](https://github.com/adobe/spectrum-css/pull/3350) [`c091b4d`](https://github.com/adobe/spectrum-css/commit/c091b4d7ee33c870d24d731c9f377cf7ed1cb19a) Thanks [@5t3ph](https://github.com/5t3ph)! - Corrects the styles of the read-only state to show the radio inputs and allow visible focus. Also adds `aria-disabled` since `aria-readonly` isn't well supported, and story demonstrates scripting to make selection for read-only radios immutable.
+
## 9.4.1
### Patch Changes
diff --git a/components/radio/index.css b/components/radio/index.css
index 37e128bdb45..94a17540461 100644
--- a/components/radio/index.css
+++ b/components/radio/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
/*
* Radio:
@@ -43,21 +43,13 @@
/* selection indicator all themes */
--spectrum-radio-border-width: var(--spectrum-border-width-200);
- --spectrum-radio-button-background-color: var(--spectrum-gray-75);
/* 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-focus);
+ --spectrum-radio-button-checked-border-color-focus: var(--spectrum-neutral-background-color-selected-key-focus);
- /* spacing all themes */
- --spectrum-radio-text-to-control: var(--spectrum-text-to-control-100);
- --spectrum-radio-label-top-to-text: var(--spectrum-component-top-to-text-100);
- --spectrum-radio-label-bottom-to-text: var(--spectrum-component-bottom-to-text-100);
-
- /* text styles all themes */
- --spectrum-radio-font-size: var(--spectrum-font-size-100);
--spectrum-radio-line-height: var(--spectrum-line-height-100);
/* animation all themes */
@@ -69,13 +61,19 @@
&:lang(ko) {
--spectrum-radio-line-height-cjk: var(--spectrum-cjk-line-height-100);
}
+}
- /* default radio size for no t-shirt size */
+.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);
- /* default radio spacing for no t-shirt size */
+ --spectrum-radio-text-to-control: var(--spectrum-text-to-control-100);
+ --spectrum-radio-label-top-to-text: var(--spectrum-component-top-to-text-100);
+ --spectrum-radio-label-bottom-to-text: var(--spectrum-component-bottom-to-text-100);
--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--sizeS {
@@ -90,18 +88,6 @@
--spectrum-radio-font-size: var(--spectrum-font-size-75);
}
-.spectrum-Radio--sizeM {
- --spectrum-radio-height: var(--spectrum-component-height-100);
- --spectrum-radio-button-control-size: var(--spectrum-radio-button-control-size-medium);
-
- --spectrum-radio-text-to-control: var(--spectrum-text-to-control-100);
- --spectrum-radio-label-top-to-text: var(--spectrum-component-top-to-text-100);
- --spectrum-radio-label-bottom-to-text: var(--spectrum-component-bottom-to-text-100);
- --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--sizeL {
--spectrum-radio-height: var(--spectrum-component-height-200);
--spectrum-radio-button-control-size: var(--spectrum-radio-button-control-size-large);
@@ -129,6 +115,8 @@
/* 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;
diff --git a/components/radio/metadata/metadata.json b/components/radio/metadata/metadata.json
index 9fd6219975e..b94c6dfcf90 100644
--- a/components/radio/metadata/metadata.json
+++ b/components/radio/metadata/metadata.json
@@ -7,7 +7,6 @@
".spectrum-Radio .spectrum-Radio-input:checked:disabled ~ .spectrum-Radio-label",
".spectrum-Radio .spectrum-Radio-input:disabled + .spectrum-Radio-button:before",
".spectrum-Radio .spectrum-Radio-input:disabled ~ .spectrum-Radio-label",
- ".spectrum-Radio--emphasized",
".spectrum-Radio--emphasized .spectrum-Radio-input:checked + .spectrum-Radio-button:before",
".spectrum-Radio--emphasized:active .spectrum-Radio-input:checked + .spectrum-Radio-button:before",
".spectrum-Radio--emphasized:focus .spectrum-Radio-input:checked + .spectrum-Radio-button:before",
@@ -150,16 +149,15 @@
"--spectrum-font-size-200",
"--spectrum-font-size-300",
"--spectrum-font-size-75",
+ "--spectrum-gray-50",
"--spectrum-gray-600",
"--spectrum-gray-700",
- "--spectrum-gray-75",
"--spectrum-gray-800",
- "--spectrum-gray-900",
"--spectrum-line-height-100",
"--spectrum-neutral-background-color-selected-default",
"--spectrum-neutral-background-color-selected-down",
- "--spectrum-neutral-background-color-selected-focus",
"--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",
@@ -170,14 +168,11 @@
"--spectrum-text-to-control-75"
],
"system-theme": [
- "--system-spectrum-radio-button-border-color-default",
- "--system-spectrum-radio-button-border-color-down",
- "--system-spectrum-radio-button-border-color-focus",
- "--system-spectrum-radio-button-border-color-hover",
- "--system-spectrum-radio-emphasized-button-checked-border-color-default",
- "--system-spectrum-radio-emphasized-button-checked-border-color-down",
- "--system-spectrum-radio-emphasized-button-checked-border-color-focus",
- "--system-spectrum-radio-emphasized-button-checked-border-color-hover"
+ "--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": [
diff --git a/components/radio/package.json b/components/radio/package.json
index 3db57b4f02e..ba1d45db45a 100644
--- a/components/radio/package.json
+++ b/components/radio/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/radio",
- "version": "9.4.1",
+ "version": "10.0.0-s2-foundations.18",
"description": "The Spectrum CSS radio component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/icon": "workspace:^",
diff --git a/components/radio/stories/radio.stories.js b/components/radio/stories/radio.stories.js
index bb2181ea408..778736043f1 100644
--- a/components/radio/stories/radio.stories.js
+++ b/components/radio/stories/radio.stories.js
@@ -54,6 +54,10 @@ export default {
actions: {
handles: ["click input[type=\"radio\"]"],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=164-16723",
+ },
packageJson,
metadata,
},
diff --git a/components/radio/stories/template.js b/components/radio/stories/template.js
index 50ba8484b2f..68c3cbf0e96 100644
--- a/components/radio/stories/template.js
+++ b/components/radio/stories/template.js
@@ -5,6 +5,9 @@ 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",
diff --git a/components/radio/themes/express.css b/components/radio/themes/express.css
index 65e3ec36e9b..8565459259d 100644
--- a/components/radio/themes/express.css
+++ b/components/radio/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-Radio {
/* selection indicator */
--spectrum-radio-button-border-color-default: var(--spectrum-gray-800);
diff --git a/components/radio/themes/spectrum-two.css b/components/radio/themes/spectrum-two.css
new file mode 100644
index 00000000000..48b980fc0e4
--- /dev/null
+++ b/components/radio/themes/spectrum-two.css
@@ -0,0 +1,24 @@
+/*!
+ * 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
index 467a880aa56..33772fcc7c9 100644
--- a/components/radio/themes/spectrum.css
+++ b/components/radio/themes/spectrum.css
@@ -11,19 +11,12 @@
* governing permissions and limitations under the License.
*/
-@container (--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);
- }
+/* @combine .spectrum.spectrum--legacy */
- .spectrum-Radio--emphasized {
- --spectrum-radio-button-checked-border-color-default: var(--spectrum-accent-color-900);
- --spectrum-radio-button-checked-border-color-hover: var(--spectrum-accent-color-1000);
- --spectrum-radio-button-checked-border-color-down: var(--spectrum-accent-color-1100);
- --spectrum-radio-button-checked-border-color-focus: var(--spectrum-accent-color-1000);
+@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 3dfbe3e36cc..8d1e9f56bfd 100644
--- a/components/rating/CHANGELOG.md
+++ b/components/rating/CHANGELOG.md
@@ -1,5 +1,242 @@
# Change Log
+## 6.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 6.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9c6561b`](https://github.com/adobe/spectrum-css/commit/9c6561b38624307da9bca7499452c3cb8ea2095e) Thanks [@pfulton](https://github.com/pfulton)! - Bring in the latest S2 foundations release including updated corner rounding approach, colors, and icon spacing. Remapped corner rounding values for the -75 token to a static 2px value for spectrum themes.
+
+### Patch Changes
+
+- Updated dependencies [[`9c6561b`](https://github.com/adobe/spectrum-css/commit/9c6561b38624307da9bca7499452c3cb8ea2095e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.25
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
@@ -17,6 +254,12 @@
- [#3294](https://github.com/adobe/spectrum-css/pull/3294) [`d66cc60`](https://github.com/adobe/spectrum-css/commit/d66cc6019124f25582716d57b2cf499cdbacad48) Thanks [@cdransf](https://github.com/cdransf)! - Assigns CanvasText to custom property to satisfy linting requirements.
+## 5.1.4
+
+### Patch Changes
+
+- [#3294](https://github.com/adobe/spectrum-css/pull/3294) [`d66cc60`](https://github.com/adobe/spectrum-css/commit/d66cc6019124f25582716d57b2cf499cdbacad48) Thanks [@cdransf](https://github.com/cdransf)! - Assigns CanvasText to custom property to satisfy linting requirements.
+
## 5.1.3
### Patch Changes
diff --git a/components/rating/index.css b/components/rating/index.css
index ff4f5bd8195..02c76194916 100644
--- a/components/rating/index.css
+++ b/components/rating/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Rating {
/* Icon */
@@ -26,7 +26,6 @@
/* Spacing (top/bottom edge to icon) */
--spectrum-rating-icon-spacing-vertical-top: var(--spectrum-component-top-to-workflow-icon-100);
- --spectrum-rating-indicator-border-radius: var(--spectrum-corner-radius-75);
/* Indicator height */
--spectrum-rating-indicator-height: var(--spectrum-border-width-200);
@@ -41,11 +40,22 @@
/* Disabled */
--spectrum-rating-icon-color-disabled: var(--spectrum-disabled-content-color);
--spectrum-rating-icon-count: var(--spectrum-rating-icon-count);
-}
-.spectrum-Rating {
+ position: relative;
+ display: inline-flex;
+ flex: 0 0 auto;
+
+ gap: var(--mod-rating-icon-spacing, var(--spectrum-rating-icon-spacing));
+
+ inline-size: calc((var(--mod-rating-icon-width, var(--spectrum-rating-icon-width)) + var(--mod-rating-icon-spacing, var(--spectrum-rating-icon-spacing))) * var(--mod-rating-icon-count, var(--spectrum-rating-icon-count)));
+ border-radius: var(--mod-rating-border-radius, var(--spectrum-rating-border-radius));
+
+ padding-inline: calc((var(--mod-rating-icon-spacing, var(--spectrum-rating-icon-spacing)) + var(--mod-rating-focus-indicator-gap, var(--spectrum-rating-focus-indicator-gap))) - 1.5px);
+
+ cursor: pointer;
+
&.is-focused {
- box-shadow: 0 0 0 var(--mod-rating-focus-indicator-thickness, var(--spectrum-rating-focus-indicator-thickness)) var(--highcontrast-rating-focus-indicator-color, var(--mod-rating-focus-indicator-color, var(--spectrum-rating-focus-indicator-color)));
+ box-shadow: 0 0 0 var(--mod-rating-focus-indicator-thickness, var(--spectrum-rating-focus-indicator-thickness)) var(--mod-rating-focus-indicator-color, var(--spectrum-rating-focus-indicator-color));
.spectrum-Rating-icon {
color: var(--highcontrast-rating-icon-color-key-focus, var(--mod-rating-icon-color-key-focus, var(--spectrum-rating-icon-color-key-focus)));
@@ -59,16 +69,16 @@
&:hover {
.spectrum-Rating-icon {
/* Make all stars colored when the component is hovered */
- color: var(--highcontrast-rating-icon-color-default, var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default)));
+ color: var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default));
}
/* The icon that's actually hovered is darker */
.spectrum-Rating-icon:hover {
- color: var(--highcontrast-rating-icon-color-hover, var(--mod-rating-icon-color-hover, var(--spectrum-rating-icon-color-hover)));
+ color: var(--mod-rating-icon-color-hover, var(--spectrum-rating-icon-color-hover));
}
.spectrum-Rating-icon:active {
- color: var(--highcontrast-rating-icon-color-down, var(--mod-rating-icon-color-down, var(--spectrum-rating-icon-color-down)));
+ color: var(--mod-rating-icon-color-down, var(--spectrum-rating-icon-color-down));
}
/* Show which star is currently selected */
@@ -76,31 +86,8 @@
/* Match the color of the star */
background: currentColor;
}
- }
-}
-
-.spectrum-Rating {
- position: relative;
- display: inline-flex;
- flex: 0 0 auto;
- gap: var(--mod-rating-icon-spacing, var(--spectrum-rating-icon-spacing));
-
- inline-size: calc((var(--mod-rating-icon-width, var(--spectrum-rating-icon-width)) + var(--mod-rating-icon-spacing, var(--spectrum-rating-icon-spacing))) * var(--mod-rating-icon-count, var(--spectrum-rating-icon-count)));
- border-radius: var(--mod-rating-border-radius, var(--spectrum-rating-border-radius));
-
- padding-inline: calc((var(--mod-rating-icon-spacing, var(--spectrum-rating-icon-spacing)) + var(--mod-rating-focus-indicator-gap, var(--spectrum-rating-focus-indicator-gap))) - 1.5px);
-
- cursor: pointer;
-
- &.is-disabled,
- &.is-readOnly {
- cursor: default;
- pointer-events: none;
- }
-
- /* When the entire component is hovered, show all solid icons */
- &:hover {
+ /* When the entire component is hovered, show all solid icons */
.spectrum-Rating-starActive {
display: block;
}
@@ -109,6 +96,12 @@
display: none;
}
}
+
+ &.is-disabled,
+ &.is-readOnly {
+ cursor: default;
+ pointer-events: none;
+ }
}
.spectrum-Rating-input {
@@ -176,16 +169,16 @@
}
.spectrum-Rating-icon {
- color: var(--highcontrast-rating-icon-color-default, var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default)));
+ color: var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default));
&.is-selected {
- color: var(--highcontrast-rating-icon-color-default, var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default)));
+ color: var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default));
}
&:hover {
/* All stars following the hovered star */
& ~ .spectrum-Rating-icon {
- color: var(--highcontrast-rating-icon-color-default, var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default)));
+ color: var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default));
}
}
}
@@ -193,12 +186,12 @@
.spectrum-Rating--emphasized {
&.is-focused {
.spectrum-Rating-icon.is-selected {
- color: var(--highcontrast-rating-emphasized-icon-color-key-focus, var(--mod-rating-emphasized-icon-color-key-focus, var(--spectrum-rating-emphasized-icon-color-key-focus)));
+ color: var(--mod-rating-emphasized-icon-color-key-focus, var(--spectrum-rating-emphasized-icon-color-key-focus));
}
}
.spectrum-Rating-icon {
- color: var(--highcontrast-rating-icon-color-default, var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default)));
+ color: var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default));
&.is-selected {
color: var(--highcontrast-rating-emphasized-icon-color-default, var(--mod-rating-emphasized-icon-color-default, var(--spectrum-rating-emphasized-icon-color-default)));
@@ -206,7 +199,7 @@
/* All stars following the hovered star */
&:hover ~ .spectrum-Rating-icon {
- color: var(--highcontrast-rating-icon-color-default, var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default)));
+ color: var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default));
}
}
@@ -220,7 +213,7 @@
}
&:hover ~ .spectrum-Rating-icon {
- color: var(--highcontrast-rating-icon-color-default, var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default)));
+ color: var(--mod-rating-icon-color-default, var(--spectrum-rating-icon-color-default));
}
&:active {
diff --git a/components/rating/metadata/metadata.json b/components/rating/metadata/metadata.json
index 7902bda44e7..75ee43e0895 100644
--- a/components/rating/metadata/metadata.json
+++ b/components/rating/metadata/metadata.json
@@ -91,15 +91,10 @@
"--spectrum-border-width-200",
"--spectrum-component-top-to-workflow-icon-100",
"--spectrum-corner-radius-100",
- "--spectrum-corner-radius-75",
"--spectrum-disabled-content-color",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
- "--spectrum-neutral-content-color-default",
- "--spectrum-neutral-content-color-down",
- "--spectrum-neutral-content-color-hover",
- "--spectrum-neutral-content-color-key-focus",
"--spectrum-neutral-subdued-content-color-default",
"--spectrum-neutral-subdued-content-color-down",
"--spectrum-neutral-subdued-content-color-hover",
@@ -107,23 +102,19 @@
"--spectrum-workflow-icon-size-100"
],
"system-theme": [
- "--system-spectrum-rating-icon-color-default",
- "--system-spectrum-rating-icon-color-down",
- "--system-spectrum-rating-icon-color-hover",
- "--system-spectrum-rating-icon-color-key-focus"
+ "--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",
"--highcontrast-rating-emphasized-icon-color-down",
"--highcontrast-rating-emphasized-icon-color-hover",
- "--highcontrast-rating-emphasized-icon-color-key-focus",
"--highcontrast-rating-focus-color-outline",
- "--highcontrast-rating-focus-indicator-color",
- "--highcontrast-rating-icon-color-default",
"--highcontrast-rating-icon-color-disabled",
- "--highcontrast-rating-icon-color-down",
- "--highcontrast-rating-icon-color-hover",
"--highcontrast-rating-icon-color-key-focus"
]
}
diff --git a/components/rating/package.json b/components/rating/package.json
index 2413dd9f806..86002609a69 100644
--- a/components/rating/package.json
+++ b/components/rating/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/rating",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.17",
"description": "The Spectrum CSS rating component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/icon": "workspace:^",
diff --git a/components/rating/stories/rating.stories.js b/components/rating/stories/rating.stories.js
index 79efe8c3b83..eb9e4d83f52 100644
--- a/components/rating/stories/rating.stories.js
+++ b/components/rating/stories/rating.stories.js
@@ -53,6 +53,10 @@ export default {
value: 3,
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=59953-195",
+ },
packageJson,
metadata,
},
diff --git a/components/rating/stories/template.js b/components/rating/stories/template.js
index 245694af8fa..47ea5c5f61a 100644
--- a/components/rating/stories/template.js
+++ b/components/rating/stories/template.js
@@ -6,6 +6,9 @@ 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
index 20e16cab063..1a0d5c792b2 100644
--- a/components/rating/themes/express.css
+++ b/components/rating/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@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);
diff --git a/components/rating/themes/spectrum-two.css b/components/rating/themes/spectrum-two.css
new file mode 100644
index 00000000000..0c2a8df9260
--- /dev/null
+++ b/components/rating/themes/spectrum-two.css
@@ -0,0 +1,23 @@
+/*!
+ * 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
index 87a6e2ee611..0f07dfcc100 100644
--- a/components/rating/themes/spectrum.css
+++ b/components/rating/themes/spectrum.css
@@ -11,11 +11,12 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
+/* @combine .spectrum.spectrum--legacy */
+
+@import "./spectrum-two.css";
+
+@container style(--system: legacy) {
.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: var(--spectrum-corner-radius-75);
+ }
}
diff --git a/components/search/CHANGELOG.md b/components/search/CHANGELOG.md
index 510e9d54346..492ff2e8538 100644
--- a/components/search/CHANGELOG.md
+++ b/components/search/CHANGELOG.md
@@ -1,5 +1,288 @@
# Change Log
+## 8.0.0-s2-foundations.19
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.17
+ - @spectrum-css/textfield@8.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 8.0.0-s2-foundations.18
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`22fbd89`](https://github.com/adobe/spectrum-css/commit/22fbd895f90470d6a0211c50360d774c6a54ff57) Thanks [@pfulton](https://github.com/pfulton)! - Update offset mod placement for quiet button offsets
+
+## 8.0.0-s2-foundations.17
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.16
+ - @spectrum-css/textfield@8.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 8.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.15
+ - @spectrum-css/textfield@8.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 8.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.14
+ - @spectrum-css/textfield@8.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 8.0.0-s2-foundations.14
+
+### Patch Changes
+
+- [#3023](https://github.com/adobe/spectrum-css/pull/3023) [`213efa8`](https://github.com/adobe/spectrum-css/commit/213efa8618cdccf75a274ee9c2dd0404864c1779) Thanks [@jawinn](https://github.com/jawinn)! - Relocates --mod custom properties from the themes CSS to the index.css.
+
+## 8.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`d06b762`](https://github.com/adobe/spectrum-css/commit/d06b762232592342dcea35c8ff4d309edb00d588) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-236] Search: internal property references including calc moved out of theme files; express theme updated to match format of spectrum-two theme selectors; spectrum-two theme adds new --spectrum-search-min-inline-multiplier abstraction for internal calc, removes passthroughs, adds in a sizeM theme instead of relying on defaults
+
+### Patch Changes
+
+- Updated dependencies [[`58a89ea`](https://github.com/adobe/spectrum-css/commit/58a89ea464c387111511271a5f5afce044f11042)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.15
+
+## 8.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.12
+ - @spectrum-css/textfield@8.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 8.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.11
+ - @spectrum-css/textfield@8.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 8.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.10
+ - @spectrum-css/textfield@8.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 8.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`da47fa2`](https://github.com/adobe/spectrum-css/commit/da47fa2cb18373e74a6718775f2db90bb25868d4), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.9
+ - @spectrum-css/textfield@8.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 8.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.8
+ - @spectrum-css/textfield@8.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 8.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.7
+ - @spectrum-css/textfield@8.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 8.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.6
+ - @spectrum-css/textfield@8.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 8.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.5
+ - @spectrum-css/textfield@8.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 8.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.4
+ - @spectrum-css/textfield@8.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 8.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.3
+ - @spectrum-css/textfield@8.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 8.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.2
+ - @spectrum-css/textfield@8.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 8.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.1
+ - @spectrum-css/textfield@8.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 8.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.0
+ - @spectrum-css/textfield@8.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 7.4.0
### Minor Changes
@@ -45,6 +328,24 @@
- [#3270](https://github.com/adobe/spectrum-css/pull/3270) [`008bb34`](https://github.com/adobe/spectrum-css/commit/008bb34a0bbefd1abeb0d37bcdb179811dd9df3c) Thanks [@cdransf](https://github.com/cdransf)! - Removes unnecessary stylelint-disable comments now that rule is disabled in config.
+## 7.2.3
+
+### Patch Changes
+
+- [#3300](https://github.com/adobe/spectrum-css/pull/3300) [`89797d0`](https://github.com/adobe/spectrum-css/commit/89797d0324bcbf2195a28840ce87ed6959da24a5) Thanks [@castastrophe](https://github.com/castastrophe)! - Add passthrough markers to prevent unnecessary warnings about unused custom properties
+
+## 7.2.2
+
+### Patch Changes
+
+- [#3295](https://github.com/adobe/spectrum-css/pull/3295) [`62e2b76`](https://github.com/adobe/spectrum-css/commit/62e2b76f1fed5c0fb60049826b05eaa9162f21e2) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violation in search by moving spectrum-search-color custom property above style declarations.
+
+## 7.2.1
+
+### Patch Changes
+
+- [#3270](https://github.com/adobe/spectrum-css/pull/3270) [`008bb34`](https://github.com/adobe/spectrum-css/commit/008bb34a0bbefd1abeb0d37bcdb179811dd9df3c) Thanks [@cdransf](https://github.com/cdransf)! - Removes unnecessary stylelint-disable comments now that rule is disabled in config.
+
## 7.2.0
### Minor Changes
diff --git a/components/search/index.css b/components/search/index.css
index e33392c5503..842123e839a 100644
--- a/components/search/index.css
+++ b/components/search/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Search {
/* Size / Spacing */
@@ -45,7 +45,6 @@
/* Background and Border */
--spectrum-search-border-width: var(--spectrum-border-width-100);
- --spectrum-search-background-color: var(--spectrum-gray-50);
/* Disabled */
--spectrum-search-color-disabled: var(--spectrum-disabled-content-color);
@@ -215,12 +214,10 @@
--spectrum-search-border-color-disabled: var(--spectrum-disabled-border-color);
/* Added specificity, otherwise they are overridden by system specific themes. */
- &.spectrum-Search {
- --spectrum-search-border-radius: 0;
- --spectrum-search-edge-to-visual: var(--spectrum-field-edge-to-visual-quiet);
- }
+ --mod-search-border-radius: 0;
+ --mod-search-edge-to-visual: var(--spectrum-field-edge-to-visual-quiet);
- &.spectrum-Search .spectrum-Search-input {
+ .spectrum-Search-input {
border-radius: var(--mod-search-border-radius, var(--spectrum-search-border-radius));
padding-inline-start: calc(var(--mod-search-edge-to-visual, var(--spectrum-search-edge-to-visual)) + var(--mod-search-icon-size, var(--spectrum-search-icon-size)) + var(--mod-search-text-to-icon, var(--spectrum-search-text-to-icon)));
padding-inline-end: var(--mod-search-button-inline-size, var(--spectrum-search-button-inline-size));
diff --git a/components/search/metadata/metadata.json b/components/search/metadata/metadata.json
index 76433d8544c..5dacd2f6ba3 100644
--- a/components/search/metadata/metadata.json
+++ b/components/search/metadata/metadata.json
@@ -7,10 +7,8 @@
".spectrum-Search .spectrum-Search-textfield",
".spectrum-Search .spectrum-Search-textfield .spectrum-Search-input",
".spectrum-Search--quiet",
- ".spectrum-Search--quiet.spectrum-Search",
- ".spectrum-Search--quiet.spectrum-Search .spectrum-Search-input",
+ ".spectrum-Search--quiet .spectrum-Search-input",
".spectrum-Search--sizeL",
- ".spectrum-Search--sizeM",
".spectrum-Search--sizeS",
".spectrum-Search--sizeXL",
".spectrum-Search-clearButton",
@@ -27,6 +25,10 @@
".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"
],
@@ -113,10 +115,6 @@
"--spectrum-component-height-200",
"--spectrum-component-height-300",
"--spectrum-component-height-75",
- "--spectrum-component-pill-edge-to-visual-100",
- "--spectrum-component-pill-edge-to-visual-200",
- "--spectrum-component-pill-edge-to-visual-300",
- "--spectrum-component-pill-edge-to-visual-75",
"--spectrum-component-top-to-text-100",
"--spectrum-corner-radius-100",
"--spectrum-default-font-style",
@@ -128,8 +126,7 @@
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
- "--spectrum-gray-400",
- "--spectrum-gray-50",
+ "--spectrum-gray-25",
"--spectrum-gray-500",
"--spectrum-gray-600",
"--spectrum-gray-800",
@@ -153,21 +150,22 @@
"--spectrum-workflow-icon-size-75"
],
"system-theme": [
- "--system-spectrum-search-border-color-default",
- "--system-spectrum-search-border-color-focus",
- "--system-spectrum-search-border-color-focus-hover",
- "--system-spectrum-search-border-color-hover",
- "--system-spectrum-search-border-color-key-focus",
- "--system-spectrum-search-border-radius",
- "--system-spectrum-search-edge-to-visual",
- "--system-spectrum-search-sizel-border-radius",
- "--system-spectrum-search-sizel-edge-to-visual",
- "--system-spectrum-search-sizem-border-radius",
- "--system-spectrum-search-sizem-edge-to-visual",
- "--system-spectrum-search-sizes-border-radius",
- "--system-spectrum-search-sizes-edge-to-visual",
- "--system-spectrum-search-sizexl-border-radius",
- "--system-spectrum-search-sizexl-edge-to-visual"
+ "--system-search-background-color",
+ "--system-search-border-color-default",
+ "--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-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",
diff --git a/components/search/package.json b/components/search/package.json
index ef798f7c4d2..8fc95302b54 100644
--- a/components/search/package.json
+++ b/components/search/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/search",
- "version": "7.4.0",
+ "version": "8.0.0-s2-foundations.19",
"description": "The Spectrum CSS search component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,20 +21,22 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/clearbutton": ">=6",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/textfield": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/clearbutton": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/textfield": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/clearbutton": "workspace:^",
diff --git a/components/search/stories/search.stories.js b/components/search/stories/search.stories.js
index 6283aae9762..ad061edfd79 100644
--- a/components/search/stories/search.stories.js
+++ b/components/search/stories/search.stories.js
@@ -56,6 +56,10 @@ export default {
"click .spectrum-Search-icon",
],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=13670-229",
+ },
packageJson,
metadata,
},
@@ -70,8 +74,10 @@ export const Disabled = SearchOptions.bind({});
Disabled.args = {
isDisabled: true,
};
-
Disabled.tags = ["!dev"];
+Disabled.parameters = {
+ chromatic: { disableSnapshot: true },
+};
/**
* A search field can have [help text](?path=/docs/components-help-text--docs) below the field to give extra context or instruction about what a user should input. The description communicates a hint or helpful information, such as a search’s scope.
diff --git a/components/search/stories/template.js b/components/search/stories/template.js
index 09570d33581..364c8d8fde6 100644
--- a/components/search/stories/template.js
+++ b/components/search/stories/template.js
@@ -7,6 +7,9 @@ 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",
diff --git a/components/search/themes/express.css b/components/search/themes/express.css
index 7dfe45ef663..002ab9cecb6 100644
--- a/components/search/themes/express.css
+++ b/components/search/themes/express.css
@@ -11,37 +11,37 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-Search {
- --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-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--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--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--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--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);
+ &.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
new file mode 100644
index 00000000000..85a34114a0a
--- /dev/null
+++ b/components/search/themes/spectrum-two.css
@@ -0,0 +1,45 @@
+/*!
+ * 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--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);
+ }
+ }
+}
diff --git a/components/search/themes/spectrum.css b/components/search/themes/spectrum.css
index e4246f817a2..4fd1a9aae94 100644
--- a/components/search/themes/spectrum.css
+++ b/components/search/themes/spectrum.css
@@ -11,35 +11,12 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
- .spectrum-Search {
- --spectrum-search-border-radius: var(--spectrum-corner-radius-100);
- --spectrum-search-edge-to-visual: var(--spectrum-component-edge-to-visual-100);
+/* @combine .spectrum.spectrum--legacy */
- --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);
- }
+@import "./spectrum-two.css";
- .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--sizeM {
- --spectrum-search-border-radius: var(--spectrum-corner-radius-100);
- --spectrum-search-edge-to-visual: var(--spectrum-component-edge-to-visual-100);
- }
-
- .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);
+@container style(--system: legacy) {
+ .spectrum-Search {
+ --spectrum-search-background-color: var(--spectrum-gray-50);
}
}
diff --git a/components/sidenav/CHANGELOG.md b/components/sidenav/CHANGELOG.md
index 1761f420150..7ef2c385680 100644
--- a/components/sidenav/CHANGELOG.md
+++ b/components/sidenav/CHANGELOG.md
@@ -1,5 +1,231 @@
# Change Log
+## 6.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
diff --git a/components/sidenav/index.css b/components/sidenav/index.css
index d3fd3adf21c..028378643c2 100644
--- a/components/sidenav/index.css
+++ b/components/sidenav/index.css
@@ -11,7 +11,40 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+ @import "./themes/spectrum-two.css";
+
+ @media (forced-colors: active) {
+ /* forced-color-adjust: preserve-parent-color addresses svg bug on icon hover */
+ .spectrum-SideNav {
+ .spectrum-Icon {
+ forced-color-adjust: preserve-parent-color;
+ }
+ }
+
+ .spectrum-SideNav-item {
+ --highcontrast-sidenav-content-disabled-color: GrayText;
+
+ --highcontrast-sidenav-focus-ring-color: Highlight;
+
+ --highcontrast-sidenav-content-color-default-selected: SelectedItemText;
+ --highcontrast-sidenav-item-background-default-selected: SelectedItem;
+
+ --highcontrast-sidenav-background-key-focus-selected: Highlight;
+ --highcontrast-sidenav-background-hover-selected: Highlight;
+ --highcontrast-sidenav-item-background-down-selected: Highlight;
+
+ --highcontrast-sidenav-item-background-down: Highlight;
+ --highcontrast-sidenav-background-hover: Highlight;
+ --highcontrast-sidenav-content-color-hover: HighlightText;
+ --highcontrast-sidenav-background-key-focus: Highlight;
+
+ --highcontrast-sidenav-top-level-font-color: ButtonText;
+ --highcontrast-sidenav-content-color-default: ButtonText;
+ --highcontrast-sidenav-content-color-down: HighlightText;
+
+ forced-color-adjust: none;
+ }
+}
.spectrum-SideNav {
/* focus indicator */
@@ -45,14 +78,6 @@
/* color - background */
--spectrum-sidenav-background-disabled: transparent;
--spectrum-sidenav-background-default: transparent;
- --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);
/* color font */
--spectrum-sidenav-header-color: var(--spectrum-gray-600);
@@ -76,44 +101,32 @@
--spectrum-sidenav-text-font-size: var(--spectrum-font-size-100);
--spectrum-sidenav-text-line-height: var(--spectrum-line-height-100);
- &:lang(ja),
- &:lang(zh),
- &:lang(ko) {
- --spectrum-sidenav-text-line-height: var(--spectrum-cjk-line-height-100);
- }
-
--spectrum-sidenav-top-level-font-family: var(--spectrum-sans-font-family-stack);
--spectrum-sidenav-top-level-font-weight: var(--spectrum-bold-font-weight);
--spectrum-sidenav-top-level-font-style: var(--spectrum-default-font-style);
--spectrum-sidenav-top-level-font-size: var(--spectrum-font-size-100);
--spectrum-sidenav-top-level-line-height: var(--spectrum-line-height-100);
- &:lang(ja),
- &:lang(zh),
- &:lang(ko) {
- --spectrum-sidenav-top-level-line-height: var(--spectrum-cjk-line-height-100);
- }
-
--spectrum-sidenav-header-font-family: var(--spectrum-sans-font-family-stack);
--spectrum-sidenav-header-font-weight: var(--spectrum-medium-font-weight);
--spectrum-sidenav-header-font-style: var(--spectrum-default-font-style);
--spectrum-sidenav-header-font-size: var(--spectrum-font-size-75);
--spectrum-sidenav-header-line-height: var(--spectrum-line-height-100);
- &:lang(ja),
- &:lang(zh),
- &:lang(ko) {
- --spectrum-sidenav-header-line-height: var(--spectrum-cjk-line-height-100);
- }
-}
-
-.spectrum-SideNav {
display: flex;
flex-direction: column;
list-style-type: none;
margin: 0;
padding: 0;
+
+ &:lang(ja),
+ &:lang(zh),
+ &:lang(ko) {
+ --spectrum-sidenav-text-line-height: var(--spectrum-cjk-line-height-100);
+ --spectrum-sidenav-top-level-line-height: var(--spectrum-cjk-line-height-100);
+ --spectrum-sidenav-header-line-height: var(--spectrum-cjk-line-height-100);
+ }
}
.spectrum-SideNav-item {
@@ -123,34 +136,34 @@
&.is-disabled {
/* Disable all children */
.spectrum-SideNav-itemLink {
- background-color: var(--highcontrast-sidenav-background-disabled, var(--mod-sidenav-background-disabled, var(--spectrum-sidenav-background-disabled)));
+ background-color: var(--mod-sidenav-background-disabled, var(--spectrum-sidenav-background-disabled));
color: var(--highcontrast-sidenav-content-disabled-color, var(--mod-sidenav-content-disabled-color, var(--spectrum-sidenav-content-disabled-color)));
cursor: default;
pointer-events: none;
}
}
-}
-
-.spectrum-SideNav-item.is-selected {
- .spectrum-SideNav-itemLink {
- background-color: var(--highcontrast-sidenav-item-background-default-selected, var(--mod-sidenav-item-background-default-selected, var(--spectrum-sidenav-item-background-default-selected)));
- color: var(--highcontrast-sidenav-content-color-default-selected, var(--mod-sidenav-content-color-default-selected, var(--spectrum-sidenav-content-color-default-selected)));
- &:hover {
- background-color: var(--highcontrast-sidenav-background-hover-selected, var(--mod-sidenav-background-hover-selected, var(--spectrum-sidenav-background-hover-selected)));
- color: var(--mod-sidenav-content-color-hover-selected, var(--spectrum-sidenav-content-color-hover-selected));
- }
-
- &:active {
- background-color: var(--highcontrast-sidenav-item-background-down-selected, var(--mod-sidenav-item-background-down-selected, var(--spectrum-sidenav-item-background-down-selected)));
- color: var(--mod-sidenav-content-color-down-selected, var(--spectrum-sidenav-content-color-down-selected));
- }
-
- &.is-keyboardFocused,
- &:focus-visible {
- background-color: var(--highcontrast-sidenav-background-key-focus-selected, var(--mod-sidenav-background-key-focus-selected, var(--spectrum-sidenav-background-key-focus-selected)));
- color: var(--mod-sidenav-content-color-key-focus-selected, var(--spectrum-sidenav-content-color-key-focus-selected));
+ &.is-selected {
+ .spectrum-SideNav-itemLink {
+ background-color: var(--highcontrast-sidenav-item-background-default-selected, var(--mod-sidenav-item-background-default-selected, var(--spectrum-sidenav-item-background-default-selected)));
+ color: var(--highcontrast-sidenav-content-color-default-selected, var(--mod-sidenav-content-color-default-selected, var(--spectrum-sidenav-content-color-default-selected)));
+
+ &:hover {
+ background-color: var(--highcontrast-sidenav-background-hover-selected, var(--mod-sidenav-background-hover-selected, var(--spectrum-sidenav-background-hover-selected)));
+ color: var(--mod-sidenav-content-color-hover-selected, var(--spectrum-sidenav-content-color-hover-selected));
+ }
+
+ &:active {
+ background-color: var(--highcontrast-sidenav-item-background-down-selected, var(--mod-sidenav-item-background-down-selected, var(--spectrum-sidenav-item-background-down-selected)));
+ color: var(--mod-sidenav-content-color-down-selected, var(--spectrum-sidenav-content-color-down-selected));
+ }
+
+ &.is-keyboardFocused,
+ &:focus-visible {
+ background-color: var(--highcontrast-sidenav-background-key-focus-selected, var(--mod-sidenav-background-key-focus-selected, var(--spectrum-sidenav-background-key-focus-selected)));
+ color: var(--mod-sidenav-content-color-key-focus-selected, var(--spectrum-sidenav-content-color-key-focus-selected));
+ }
}
}
}
@@ -171,7 +184,7 @@
border-radius: var(--mod-sidenav-border-radius, var(--spectrum-sidenav-border-radius));
- background-color: var(--highcontrast-sidenav-background-default, var(--mod-sidenav-background-default, var(--spectrum-sidenav-background-default)));
+ background-color: var(--mod-sidenav-background-default, var(--spectrum-sidenav-background-default));
color: var(--highcontrast-sidenav-content-color-default, var(--mod-sidenav-content-color-default, var(--spectrum-sidenav-content-color-default)));
inline-size: var(--mod-sidenav-width, var(--spectrum-sidenav-width));
@@ -214,7 +227,7 @@
outline: var(--highcontrast-sidenav-focus-ring-color, var(--mod-sidenav-focus-ring-color, var(--spectrum-sidenav-focus-ring-color))) solid var(--mod-sidenav-focus-ring-size, var(--spectrum-sidenav-focus-ring-size));
outline-offset: var(--mod-sidenav-focus-ring-gap, var(--spectrum-sidenav-focus-ring-gap));
background-color: var(--highcontrast-sidenav-background-key-focus, var(--mod-sidenav-background-key-focus, var(--spectrum-sidenav-background-key-focus)));
- color: var(--highcontrast-sidenav-content-color-key-focus, var(--mod-sidenav-content-color-key-focus, var(--spectrum-sidenav-content-color-key-focus)));
+ color: var(--mod-sidenav-content-color-key-focus, var(--spectrum-sidenav-content-color-key-focus));
}
}
@@ -263,35 +276,3 @@
}
}
}
-
-@media (forced-colors: active) {
- .spectrum-SideNav {
- .spectrum-Icon {
- forced-color-adjust: preserve-parent-color;
- }
- }
-
- .spectrum-SideNav-item {
- --highcontrast-sidenav-content-disabled-color: GrayText;
-
- --highcontrast-sidenav-focus-ring-color: Highlight;
-
- --highcontrast-sidenav-content-color-default-selected: SelectedItemText;
- --highcontrast-sidenav-item-background-default-selected: SelectedItem;
-
- --highcontrast-sidenav-background-key-focus-selected: Highlight;
- --highcontrast-sidenav-background-hover-selected: Highlight;
- --highcontrast-sidenav-item-background-down-selected: Highlight;
-
- --highcontrast-sidenav-item-background-down: Highlight;
- --highcontrast-sidenav-background-hover: Highlight;
- --highcontrast-sidenav-content-color-hover: HighlightText;
- --highcontrast-sidenav-background-key-focus: Highlight;
-
- --highcontrast-sidenav-top-level-font-color: ButtonText;
- --highcontrast-sidenav-content-color-default: ButtonText;
- --highcontrast-sidenav-content-color-down: HighlightText;
-
- forced-color-adjust: none;
- }
-}
diff --git a/components/sidenav/metadata/metadata.json b/components/sidenav/metadata/metadata.json
index 08e0dcc839d..a0be758aa57 100644
--- a/components/sidenav/metadata/metadata.json
+++ b/components/sidenav/metadata/metadata.json
@@ -166,8 +166,8 @@
"--spectrum-focus-indicator-thickness",
"--spectrum-font-size-100",
"--spectrum-font-size-75",
+ "--spectrum-gray-100",
"--spectrum-gray-200",
- "--spectrum-gray-300",
"--spectrum-gray-600",
"--spectrum-line-height-100",
"--spectrum-medium-font-weight",
@@ -180,11 +180,17 @@
"--spectrum-text-to-visual-100",
"--spectrum-workflow-icon-size-100"
],
- "system-theme": [],
+ "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-default",
- "--highcontrast-sidenav-background-disabled",
"--highcontrast-sidenav-background-hover",
"--highcontrast-sidenav-background-hover-selected",
"--highcontrast-sidenav-background-key-focus",
@@ -193,7 +199,6 @@
"--highcontrast-sidenav-content-color-default-selected",
"--highcontrast-sidenav-content-color-down",
"--highcontrast-sidenav-content-color-hover",
- "--highcontrast-sidenav-content-color-key-focus",
"--highcontrast-sidenav-content-disabled-color",
"--highcontrast-sidenav-focus-ring-color",
"--highcontrast-sidenav-item-background-default-selected",
diff --git a/components/sidenav/package.json b/components/sidenav/package.json
index f17cc275c95..6c2740ddef6 100644
--- a/components/sidenav/package.json
+++ b/components/sidenav/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/sidenav",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.16",
"description": "The Spectrum CSS sidenav component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/icon": {
diff --git a/components/sidenav/stories/sidenav.stories.js b/components/sidenav/stories/sidenav.stories.js
index 3f1b5648431..17ff41ef0f3 100644
--- a/components/sidenav/stories/sidenav.stories.js
+++ b/components/sidenav/stories/sidenav.stories.js
@@ -63,6 +63,10 @@ export default {
],
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=21993-665",
+ },
packageJson,
metadata,
},
@@ -142,6 +146,10 @@ Multilevel.args = {
]
};
Multilevel.parameters = {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=21993-941&node-type=frame&t=YT3sYHqnhqpnjdv9-11",
+ },
chromatic: { disableSnapshot: true },
};
@@ -189,6 +197,10 @@ WithHeading.args = {
]
};
WithHeading.parameters = {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=21993-941&node-type=frame&t=YT3sYHqnhqpnjdv9-11",
+ },
chromatic: { disableSnapshot: true },
};
diff --git a/components/sidenav/stories/template.js b/components/sidenav/stories/template.js
index 18ee61a6ade..3aa9960e809 100644
--- a/components/sidenav/stories/template.js
+++ b/components/sidenav/stories/template.js
@@ -7,6 +7,9 @@ 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",
@@ -16,69 +19,106 @@ export const Template = ({
iconName,
iconSet = "workflow",
items = [],
-} = {}, context = {}) => html`
-
- ({ ...a, [c]: true }), {}),
- })}>
- ${repeat(items, (item) => item.id, (item) => {
- // First level nav item with second tier of nav items beneath.
- if (typeof item.levelTwoItems !== "undefined") {
- return html`
-
- ${item.heading
- ? html`${item.heading} `
- : html`
-
- ${when(hasIcon && iconName, () => Icon({ iconName, setName: iconSet }, context))}
- ${item.title}
-
- `
- }
- ({ ...a, [c]: true }), {}),
- })}
- aria-labelledby=${ifDefined(item.heading) ? `${item.id}-heading` : ""}>
- ${repeat(item.levelTwoItems, (item) => item.id, (item) => {
- // Display nav items in second tier, and possibly a third tier.
- return SideNavItem({
- currentTier: 2,
- hasIcon,
- iconName,
- iconSet,
- ...item
- }, context);
- })}
-
-
- `;
- }
- else {
- // First level nav item only.
- return SideNavItem({
- currentTier: 1,
- hasIcon,
- iconName,
- iconSet,
- ...item
- }, context);
- }
- })}
-
-
-`;
+} = {}, context = {}) => {
+ return html`
+
+ ({ ...a, [c]: true }), {}),
+ })}
+ >
+ ${repeat(
+ items,
+ (item) => item.id,
+ (item) => {
+ // First level nav item with second tier of nav items beneath.
+ if (typeof item.levelTwoItems !== "undefined") {
+ return html`
+
+ ${item.heading
+ ? html`
+ ${item.heading}
+ `
+ : html`
+
+ ${when(hasIcon && iconName, () =>
+ Icon({ iconName, setName: iconSet }, context),
+ )}
+ ${item.title}
+
+ `}
+ ({ ...a, [c]: true }),
+ {},
+ ),
+ })}
+ aria-labelledby=${ifDefined(item.heading)
+ ? `${item.id}-heading`
+ : ""}
+ >
+ ${repeat(
+ item.levelTwoItems,
+ (item) => item.id,
+ (item) => {
+ // Display nav items in second tier, and possibly a third tier.
+ return SideNavItem(
+ {
+ currentTier: 2,
+ hasIcon,
+ iconName,
+ iconSet,
+ ...item,
+ },
+ context,
+ );
+ },
+ )}
+
+
+ `;
+ }
+ else {
+ // First level nav item only.
+ return SideNavItem(
+ {
+ currentTier: 1,
+ hasIcon,
+ iconName,
+ iconSet,
+ ...item,
+ },
+ context,
+ );
+ }
+ },
+ )}
+
+
+ `;
+};
/**
* Renders a single navigation item, and an optional third tier of items.
@@ -98,37 +138,53 @@ export const SideNavItem = ({
customClasses = [],
} = {}, context = {}) => {
return html`
- ({ ...a, [c]: true }), {}),
- })}
- >
-
- ${when(hasIcon && iconName && currentTier == 1, () => Icon({ iconName, setName: iconSet }, context))}
-
- ${title}
-
-
- ${when(levelThreeItems, () => html`
-
- ${repeat(levelThreeItems, (item) => item.id, (item) => SideNavItem({
- ...item
- }, context))}
- `
- )}
-
- `;
+ ({ ...a, [c]: true }), {}),
+ })}
+ >
+
+ ${when(hasIcon && iconName && currentTier == 1, () =>
+ Icon({ iconName, setName: iconSet }, context),
+ )}
+
+ ${title}
+
+
+ ${when(
+ levelThreeItems,
+ () =>
+ html`
+ ${repeat(
+ levelThreeItems,
+ (item) => item.id,
+ (item) =>
+ SideNavItem(
+ {
+ ...item,
+ },
+ context,
+ ),
+ )}
+ `,
+ )}
+
+ `;
};
diff --git a/components/sidenav/themes/express.css b/components/sidenav/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/sidenav/themes/express.css
+++ b/components/sidenav/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/tokens/custom-express/custom-medium-vars.css b/components/sidenav/themes/spectrum-two.css
similarity index 52%
rename from tokens/custom-express/custom-medium-vars.css
rename to components/sidenav/themes/spectrum-two.css
index 1d6e142a98a..85869d92dbe 100644
--- a/tokens/custom-express/custom-medium-vars.css
+++ b/components/sidenav/themes/spectrum-two.css
@@ -11,15 +11,15 @@
* governing permissions and limitations under the License.
*/
-/* This file contains overrides and additions to core tokens */
+@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--express.spectrum--medium {
- --spectrum-colorwheel-path: "M 94 94 m -94 0 a 94 94 0 1 0 188 0 a 94 94 0 1 0 -188 0.2 M 94 94 m -74 0 a 74 74 0 1 0 148 0 a 74 74 0 1 0 -148 0";
- --spectrum-colorwheel-path-borders: "M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";
-
- --spectrum-dialog-confirm-border-radius: 6px;
-
- --spectrum-dial-border-radius: 12px;
-
- --spectrum-assetcard-focus-ring-border-radius: 10px;
+ --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
index 3b48a570c21..51828a4d8bf 100644
--- a/components/sidenav/themes/spectrum.css
+++ b/components/sidenav/themes/spectrum.css
@@ -10,3 +10,20 @@
* 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 4f749b63f86..27452be3e23 100644
--- a/components/slider/CHANGELOG.md
+++ b/components/slider/CHANGELOG.md
@@ -1,5 +1,248 @@
# Change Log
+## 6.0.0-s2-foundations.18
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/stepper@7.0.0-s2-foundations.19
+
+## 6.0.0-s2-foundations.17
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9c6561b`](https://github.com/adobe/spectrum-css/commit/9c6561b38624307da9bca7499452c3cb8ea2095e) Thanks [@pfulton](https://github.com/pfulton)! - Bring in the latest S2 foundations release including updated corner rounding approach, colors, and icon spacing. Remapped corner rounding values for the -75 token to a static 2px value for spectrum themes.
+
+### Patch Changes
+
+- Updated dependencies [[`9c6561b`](https://github.com/adobe/spectrum-css/commit/9c6561b38624307da9bca7499452c3cb8ea2095e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.25
+
+## 6.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.18
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#3154](https://github.com/adobe/spectrum-css/pull/3154) [`7735155`](https://github.com/adobe/spectrum-css/commit/77351552eac8a28cab316d984fee88dca61dc786) Thanks [@cdransf](https://github.com/cdransf)! - This applies a flex layout to the spectrum slider controls to consistently align the enclosed handle and ramp, while also removing the margins that might otherwise interfere with alignment. This aims to resolve the issues with the calc-based approach that exhibited variations in vertical alignment.
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.17
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/stepper@7.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/stepper@7.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 5.5.0
### Minor Changes
@@ -23,6 +266,21 @@
- [#3298](https://github.com/adobe/spectrum-css/pull/3298) [`07cc324`](https://github.com/adobe/spectrum-css/commit/07cc324af3b1a6240033b6c2f91342373c7234c2) Thanks [@cdransf](https://github.com/cdransf)! - Resolves violation error by moving todo comment into stylelint disable comment as a description
+- Updated dependencies [[`5fa753b`](https://github.com/adobe/spectrum-css/commit/5fa753b34944584576c8d91b8d51460ff0a2e4be)]:
+ - @spectrum-css/stepper@6.2.1
+
+## 5.4.2
+
+### Patch Changes
+
+- [#3300](https://github.com/adobe/spectrum-css/pull/3300) [`89797d0`](https://github.com/adobe/spectrum-css/commit/89797d0324bcbf2195a28840ce87ed6959da24a5) Thanks [@castastrophe](https://github.com/castastrophe)! - Remove duplicate references
+
+## 5.4.1
+
+### Patch Changes
+
+- [#3298](https://github.com/adobe/spectrum-css/pull/3298) [`07cc324`](https://github.com/adobe/spectrum-css/commit/07cc324af3b1a6240033b6c2f91342373c7234c2) Thanks [@cdransf](https://github.com/cdransf)! - Resolves violation error by moving todo comment into stylelint disable comment as a description
+
- Updated dependencies [[`5fa753b`](https://github.com/adobe/spectrum-css/commit/5fa753b34944584576c8d91b8d51460ff0a2e4be)]:
- @spectrum-css/stepper@6.2.1
diff --git a/components/slider/index.css b/components/slider/index.css
index f4cd0317ee8..ec2b73c336d 100644
--- a/components/slider/index.css
+++ b/components/slider/index.css
@@ -11,14 +11,13 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@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);
- --spectrum-slider-handle-border-radius: var(--spectrum-corner-radius-200);
--spectrum-slider-handle-border-width-down: var(--spectrum-slider-handle-border-width-down-medium);
--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-medium);
@@ -27,57 +26,10 @@
/* TODO: placeholder value for sideLabel variant value width */
--spectrum-slider-value-inline-size: 18px;
- &:dir(rtl),
- &:dir(rtl) {
- --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0);
- }
-}
-
-.spectrum-Slider--sizeS {
- --spectrum-slider-font-size: var(--spectrum-font-size-75);
- --spectrum-slider-handle-size: var(--spectrum-slider-handle-size-small);
- --spectrum-slider-control-height: var(--spectrum-component-height-75);
- --spectrum-slider-handle-border-radius: var(--spectrum-corner-radius-200);
- --spectrum-slider-handle-border-width-down: var(--spectrum-slider-handle-border-width-down-small);
- --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--sizeL {
- --spectrum-slider-font-size: var(--spectrum-font-size-100);
- --spectrum-slider-handle-size: var(--spectrum-slider-handle-size-large);
- --spectrum-slider-control-height: var(--spectrum-component-height-200);
- --spectrum-slider-handle-border-radius: calc(var(--spectrum-corner-radius-200) * 4);
- --spectrum-slider-handle-border-width-down: var(--spectrum-slider-handle-border-width-down-large);
- --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);
-
- /* TODO: placeholder value for sideLabel variant value width */
- --spectrum-slider-value-inline-size: 18px;
-}
-
-.spectrum-Slider--sizeXL {
- --spectrum-slider-font-size: var(--spectrum-font-size-200);
- --spectrum-slider-handle-size: var(--spectrum-slider-handle-size-extra-large);
- --spectrum-slider-control-height: var(--spectrum-component-height-300);
- --spectrum-slider-handle-border-radius: calc(var(--spectrum-corner-radius-200) * 4);
- --spectrum-slider-handle-border-width-down: var(--spectrum-slider-handle-border-width-down-extra-large);
- --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);
-
- /* TODO: placeholder value for sideLabel variant value width */
- --spectrum-slider-value-inline-size: 22px;
-}
-
-.spectrum-Slider {
--spectrum-slider-cjk-line-height: var(--spectrum-cjk-line-height-100);
--spectrum-slider-min-size: var(--spectrum-spacing-900);
- --spectrum-slider-track-corner-radius: var(--spectrum-corner-radius-75);
--spectrum-slider-label-margin-start: var(--spectrum-spacing-300);
--spectrum-slider-handle-border-width: var(--spectrum-border-width-200);
--spectrum-slider-handle-margin-left: calc(var(--spectrum-slider-handle-size) / -2);
@@ -115,11 +67,52 @@
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--sizeS {
+ --spectrum-slider-font-size: var(--spectrum-font-size-75);
+ --spectrum-slider-handle-size: var(--spectrum-slider-handle-size-small);
+ --spectrum-slider-control-height: var(--spectrum-component-height-75);
+ --spectrum-slider-handle-border-width-down: var(--spectrum-slider-handle-border-width-down-small);
+ --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--sizeL {
+ --spectrum-slider-font-size: var(--spectrum-font-size-100);
+ --spectrum-slider-handle-size: var(--spectrum-slider-handle-size-large);
+ --spectrum-slider-control-height: var(--spectrum-component-height-200);
+ --spectrum-slider-handle-border-width-down: var(--spectrum-slider-handle-border-width-down-large);
+ --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);
+
+ /* TODO: placeholder value for sideLabel variant value width */
+ --spectrum-slider-value-inline-size: 18px;
+}
+
+.spectrum-Slider--sizeXL {
+ --spectrum-slider-font-size: var(--spectrum-font-size-200);
+ --spectrum-slider-handle-size: var(--spectrum-slider-handle-size-extra-large);
+ --spectrum-slider-control-height: var(--spectrum-component-height-300);
+ --spectrum-slider-handle-border-width-down: var(--spectrum-slider-handle-border-width-down-extra-large);
+ --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);
+
+ /* TODO: placeholder value for sideLabel variant value width */
+ --spectrum-slider-value-inline-size: 22px;
+}
+
.spectrum-Slider--sideLabel {
display: flex;
align-items: center;
@@ -302,7 +295,7 @@
block-size: 100%;
/* Flip the ramp automatically for RTL */
- transform: var(--spectrum-logical-rotation);
+ transform: var(--spectrum-logical-rotation,);
}
}
@@ -442,7 +435,7 @@
/* setting tick marks in relation to label */
.spectrum-Slider--tick {
.spectrum-Slider-handle {
- background-color: var(--highcontrast-slider-tick-handle-background-color, var(--mod-slider-tick-handle-background-color, var(--spectrum-slider-tick-handle-background-color)));
+ background-color: var(--mod-slider-tick-handle-background-color, var(--spectrum-slider-tick-handle-background-color));
}
.spectrum-Slider-controls {
@@ -656,7 +649,8 @@
&:hover,
&:active {
- border-color: var(--highcontrast-disabled-border-color, var(--mod-disabled-border-color, var(--spectrum-disabled-border-color)));
+ /* @todo need to update --mod with a component-specific prefix */
+ border-color: var(--mod-disabled-border-color, var(--spectrum-disabled-border-color));
background: var(--highcontrast-slider-handle-background-color-disabled, var(--mod-slider-handle-background-color-disabled, var(--spectrum-slider-handle-background-color-disabled)));
}
}
diff --git a/components/slider/metadata/metadata.json b/components/slider/metadata/metadata.json
index 4c2be2d396c..9cc5b6e39fa 100644
--- a/components/slider/metadata/metadata.json
+++ b/components/slider/metadata/metadata.json
@@ -83,6 +83,10 @@
".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",
@@ -230,8 +234,7 @@
"--spectrum-component-top-to-text-100",
"--spectrum-component-top-to-text-200",
"--spectrum-component-top-to-text-75",
- "--spectrum-corner-radius-200",
- "--spectrum-corner-radius-75",
+ "--spectrum-corner-radius-500",
"--spectrum-disabled-background-color",
"--spectrum-disabled-border-color",
"--spectrum-disabled-content-color",
@@ -243,13 +246,10 @@
"--spectrum-font-size-75",
"--spectrum-gray-100",
"--spectrum-gray-200",
- "--spectrum-gray-300",
"--spectrum-gray-400",
- "--spectrum-gray-50",
- "--spectrum-gray-600",
"--spectrum-gray-700",
+ "--spectrum-gray-75",
"--spectrum-gray-800",
- "--spectrum-gray-900",
"--spectrum-line-height-100",
"--spectrum-logical-rotation",
"--spectrum-neutral-content-color-default",
@@ -260,25 +260,30 @@
"--spectrum-text-to-visual-75"
],
"system-theme": [
- "--system-spectrum-slider-handle-background-color",
- "--system-spectrum-slider-handle-background-color-disabled",
- "--system-spectrum-slider-handle-border-color",
- "--system-spectrum-slider-handle-border-color-down",
- "--system-spectrum-slider-handle-border-color-hover",
- "--system-spectrum-slider-handle-border-color-key-focus",
- "--system-spectrum-slider-handle-disabled-background-color",
- "--system-spectrum-slider-handle-focus-ring-color-key-focus",
- "--system-spectrum-slider-ramp-handle-background-color",
- "--system-spectrum-slider-ramp-track-color",
- "--system-spectrum-slider-ramp-track-color-disabled",
- "--system-spectrum-slider-tick-mark-color",
- "--system-spectrum-slider-ticks-handle-background-color",
- "--system-spectrum-slider-track-color",
- "--system-spectrum-slider-track-fill-color"
+ "--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-disabled-border-color",
"--highcontrast-slider-filled-track-fill-color",
"--highcontrast-slider-handle-background-color",
"--highcontrast-slider-handle-background-color-disabled",
@@ -295,7 +300,6 @@
"--highcontrast-slider-ramp-handle-border-color-active",
"--highcontrast-slider-ramp-track-color",
"--highcontrast-slider-ramp-track-color-disabled",
- "--highcontrast-slider-tick-handle-background-color",
"--highcontrast-slider-tick-mark-color",
"--highcontrast-slider-tick-mark-color-disabled",
"--highcontrast-slider-track-color",
diff --git a/components/slider/package.json b/components/slider/package.json
index fb047af5489..65e22781e4c 100644
--- a/components/slider/package.json
+++ b/components/slider/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/slider",
- "version": "5.5.0",
+ "version": "6.0.0-s2-foundations.18",
"description": "The Spectrum CSS slider component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/stepper": ">=6",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/stepper": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/stepper": "workspace:^",
diff --git a/components/slider/stories/slider.stories.js b/components/slider/stories/slider.stories.js
index 2c2c4984585..c0977f94830 100644
--- a/components/slider/stories/slider.stories.js
+++ b/components/slider/stories/slider.stories.js
@@ -140,6 +140,10 @@ export default {
"change .spectrum-Slider-input",
],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=842-1056",
+ },
packageJson,
metadata,
},
diff --git a/components/slider/stories/template.js b/components/slider/stories/template.js
index bc625452855..becef6ade92 100644
--- a/components/slider/stories/template.js
+++ b/components/slider/stories/template.js
@@ -7,6 +7,9 @@ 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
index 834cc673f79..f9f149f4d93 100644
--- a/components/slider/themes/express.css
+++ b/components/slider/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-Slider {
--spectrum-slider-track-color: var(--spectrum-gray-200);
--spectrum-slider-track-fill-color: var(--spectrum-gray-600);
diff --git a/components/slider/themes/spectrum-two.css b/components/slider/themes/spectrum-two.css
new file mode 100644
index 00000000000..b118d77cffd
--- /dev/null
+++ b/components/slider/themes/spectrum-two.css
@@ -0,0 +1,54 @@
+/*!
+ * 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
index 1beab05efd8..f411427cc8d 100644
--- a/components/slider/themes/spectrum.css
+++ b/components/slider/themes/spectrum.css
@@ -11,25 +11,35 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
+/* @combine .spectrum.spectrum--legacy */
+
+@import "./spectrum-two.css";
+
+@container style(--system: legacy) {
.spectrum-Slider {
--spectrum-slider-track-color: var(--spectrum-gray-300);
- --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-200);
-
- --spectrum-slider-handle-background-color: transparent;
- --spectrum-slider-handle-background-color-disabled: transparent;
--spectrum-slider-ramp-handle-background-color: var(--spectrum-gray-100);
--spectrum-slider-ticks-handle-background-color: var(--spectrum-gray-100);
- --spectrum-slider-handle-border-color: var(--spectrum-gray-700);
--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-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--sizeXL {
+ --spectrum-slider-handle-border-radius: calc(var(--spectrum-corner-radius-200) * 4);
+ }
}
}
diff --git a/components/splitview/CHANGELOG.md b/components/splitview/CHANGELOG.md
index 991760d8a42..5270c8361c0 100644
--- a/components/splitview/CHANGELOG.md
+++ b/components/splitview/CHANGELOG.md
@@ -1,5 +1,221 @@
# Change Log
+## 6.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 6.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9c6561b`](https://github.com/adobe/spectrum-css/commit/9c6561b38624307da9bca7499452c3cb8ea2095e) Thanks [@pfulton](https://github.com/pfulton)! - Bring in the latest S2 foundations release including updated corner rounding approach, colors, and icon spacing. Remapped corner rounding values for the -75 token to a static 2px value for spectrum themes.
+
+### Patch Changes
+
+- Updated dependencies [[`9c6561b`](https://github.com/adobe/spectrum-css/commit/9c6561b38624307da9bca7499452c3cb8ea2095e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.25
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 5.3.0
### Minor Changes
diff --git a/components/splitview/index.css b/components/splitview/index.css
index 219190bfab8..392fcf80971 100644
--- a/components/splitview/index.css
+++ b/components/splitview/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+ @import "./themes/spectrum-two.css";
.spectrum-SplitView {
--spectrum-splitview-vertical-width: 100%;
@@ -19,23 +19,18 @@
--spectrum-splitview-vertical-gripper-outer-width: 100%;
--spectrum-splitview-vertical-gripper-reset: 0;
- --spectrum-splitview-background-color: var(--spectrum-gray-100);
--spectrum-splitview-content-color: var(--spectrum-body-color);
- --spectrum-splitview-handle-background-color: var(--spectrum-gray-300);
--spectrum-splitview-handle-background-color-hover: var(--spectrum-gray-400);
--spectrum-splitview-handle-background-color-down: var(--spectrum-gray-800);
--spectrum-splitview-handle-background-color-focus: var(--spectrum-focus-indicator-color);
--spectrum-splitview-handle-width: var(--spectrum-border-width-200);
- --spectrum-splitview-gripper-border-radius: var(--spectrum-corner-radius-75);
--spectrum-splitview-gripper-width: var(--spectrum-border-width-400);
- --spectrum-splitview-gripper-height: 16px; /* No good token to use for this */
- --spectrum-splitview-gripper-border-width-horizontal: 3px; /* No good token to use for this */
+ --spectrum-splitview-gripper-height: 16px;
+ --spectrum-splitview-gripper-border-width-horizontal: 3px;
--spectrum-splitview-gripper-border-width-vertical: var(--spectrum-border-width-400);
-}
-.spectrum-SplitView {
display: flex;
overflow: hidden;
}
@@ -111,51 +106,51 @@
inset-inline-start: auto;
}
}
-}
-
-.spectrum-SplitView-splitter.is-draggable {
- &:hover,
- &.is-hovered {
- background-color: var(--highcontrast-splitview-handle-background-color-hover, var(--mod-splitview-handle-background-color-hover, var(--spectrum-splitview-handle-background-color-hover)));
-
- .spectrum-SplitView-gripper {
- border-color: var(--highcontrast-splitview-handle-background-color-hover, var(--mod-splitview-handle-background-color-hover, var(--spectrum-splitview-handle-background-color-hover)));
- }
- .spectrum-SplitView-gripper::before {
+ &.is-draggable {
+ &:hover,
+ &.is-hovered {
background-color: var(--highcontrast-splitview-handle-background-color-hover, var(--mod-splitview-handle-background-color-hover, var(--spectrum-splitview-handle-background-color-hover)));
- }
- }
- &:active,
- &.is-active {
- background-color: var(--highcontrast-splitview-handle-background-color-down, var(--mod-splitview-handle-background-color-down, var(--spectrum-splitview-handle-background-color-down)));
+ .spectrum-SplitView-gripper {
+ border-color: var(--highcontrast-splitview-handle-background-color-hover, var(--mod-splitview-handle-background-color-hover, var(--spectrum-splitview-handle-background-color-hover)));
+ }
- .spectrum-SplitView-gripper {
- border-color: var(--highcontrast-splitview-handle-background-color-down, var(--mod-splitview-handle-background-color-down, var(--spectrum-splitview-handle-background-color-down)));
+ .spectrum-SplitView-gripper::before {
+ background-color: var(--highcontrast-splitview-handle-background-color-hover, var(--mod-splitview-handle-background-color-hover, var(--spectrum-splitview-handle-background-color-hover)));
+ }
}
- /* Center line of gripper */
- .spectrum-SplitView-gripper::before {
+ &:active,
+ &.is-active {
background-color: var(--highcontrast-splitview-handle-background-color-down, var(--mod-splitview-handle-background-color-down, var(--spectrum-splitview-handle-background-color-down)));
- }
- }
- &:focus {
- outline: none;
- }
+ .spectrum-SplitView-gripper {
+ border-color: var(--highcontrast-splitview-handle-background-color-down, var(--mod-splitview-handle-background-color-down, var(--spectrum-splitview-handle-background-color-down)));
+ }
- &:focus-visible {
- outline: none;
- background-color: var(--highcontrast-splitview-handle-background-color-focus, var(--mod-splitview-handle-background-color-focus, var(--spectrum-splitview-handle-background-color-focus)));
+ /* Center line of gripper */
+ .spectrum-SplitView-gripper::before {
+ background-color: var(--highcontrast-splitview-handle-background-color-down, var(--mod-splitview-handle-background-color-down, var(--spectrum-splitview-handle-background-color-down)));
+ }
+ }
- .spectrum-SplitView-gripper {
- border-color: var(--highcontrast-splitview-handle-background-color-focus, var(--mod-splitview-handle-background-color-focus, var(--spectrum-splitview-handle-background-color-focus)));
- box-shadow: 0 0 0 1px var(--highcontrast-splitview-handle-background-color-focus, var(--mod-splitview-handle-background-color-focus, var(--spectrum-splitview-handle-background-color-focus)));
+ &:focus {
+ outline: none;
}
- .spectrum-SplitView-gripper::before {
+ &:focus-visible {
+ outline: none;
background-color: var(--highcontrast-splitview-handle-background-color-focus, var(--mod-splitview-handle-background-color-focus, var(--spectrum-splitview-handle-background-color-focus)));
+
+ .spectrum-SplitView-gripper {
+ border-color: var(--highcontrast-splitview-handle-background-color-focus, var(--mod-splitview-handle-background-color-focus, var(--spectrum-splitview-handle-background-color-focus)));
+ box-shadow: 0 0 0 1px var(--highcontrast-splitview-handle-background-color-focus, var(--mod-splitview-handle-background-color-focus, var(--spectrum-splitview-handle-background-color-focus)));
+ }
+
+ .spectrum-SplitView-gripper::before {
+ background-color: var(--highcontrast-splitview-handle-background-color-focus, var(--mod-splitview-handle-background-color-focus, var(--spectrum-splitview-handle-background-color-focus)));
+ }
}
}
}
diff --git a/components/splitview/metadata/metadata.json b/components/splitview/metadata/metadata.json
index b8f8fa5031a..4902e8e2368 100644
--- a/components/splitview/metadata/metadata.json
+++ b/components/splitview/metadata/metadata.json
@@ -75,14 +75,17 @@
"--spectrum-body-color",
"--spectrum-border-width-200",
"--spectrum-border-width-400",
- "--spectrum-corner-radius-75",
"--spectrum-focus-indicator-color",
- "--spectrum-gray-100",
- "--spectrum-gray-300",
+ "--spectrum-gray-200",
"--spectrum-gray-400",
+ "--spectrum-gray-75",
"--spectrum-gray-800"
],
- "system-theme": [],
+ "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/package.json b/components/splitview/package.json
index 93a0a7e36c1..c5ae7537874 100644
--- a/components/splitview/package.json
+++ b/components/splitview/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/splitview",
- "version": "5.3.0",
+ "version": "6.0.0-s2-foundations.17",
"description": "The Spectrum CSS splitview component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/splitview/stories/template.js b/components/splitview/stories/template.js
index aacdd00a3e7..4fb08b911dd 100644
--- a/components/splitview/stories/template.js
+++ b/components/splitview/stories/template.js
@@ -3,6 +3,9 @@ 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
index fad97bb3695..9fd550418f2 100644
--- a/components/splitview/themes/express.css
+++ b/components/splitview/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/splitview/themes/spectrum-two.css b/components/splitview/themes/spectrum-two.css
new file mode 100644
index 00000000000..14ef6131e5a
--- /dev/null
+++ b/components/splitview/themes/spectrum-two.css
@@ -0,0 +1,20 @@
+/*!
+ * 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
index 3b48a570c21..209e46a4b3b 100644
--- a/components/splitview/themes/spectrum.css
+++ b/components/splitview/themes/spectrum.css
@@ -10,3 +10,15 @@
* 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 3dfc11abb4e..4ff1db326cd 100644
--- a/components/statuslight/CHANGELOG.md
+++ b/components/statuslight/CHANGELOG.md
@@ -1,5 +1,210 @@
# Change Log
+## 8.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 8.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 8.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 8.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 8.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 8.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 8.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 8.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 8.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 8.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 8.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 8.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 8.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 8.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 8.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 8.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 8.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 7.3.0
### Minor Changes
@@ -12,6 +217,12 @@
- [#3299](https://github.com/adobe/spectrum-css/pull/3299) [`d1a8522`](https://github.com/adobe/spectrum-css/commit/d1a8522b8bd0ba8f1ecf30bd8ed00af679e7e532) Thanks [@cdransf](https://github.com/cdransf)! - Adjust custom property ordering to resolve lint violations.
+## 7.2.3
+
+### Patch Changes
+
+- [#3299](https://github.com/adobe/spectrum-css/pull/3299) [`d1a8522`](https://github.com/adobe/spectrum-css/commit/d1a8522b8bd0ba8f1ecf30bd8ed00af679e7e532) Thanks [@cdransf](https://github.com/cdransf)! - Adjust custom property ordering to resolve lint violations.
+
## 7.2.2
### Patch Changes
diff --git a/components/statuslight/index.css b/components/statuslight/index.css
index ee936645cf1..e5022e1e98e 100644
--- a/components/statuslight/index.css
+++ b/components/statuslight/index.css
@@ -11,51 +11,19 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
-.spectrum-StatusLight {
- /* Static tokens */
- --spectrum-statuslight-corner-radius: 50%;
- --spectrum-statuslight-font-weight: 400;
- --spectrum-statuslight-border-width: var(--spectrum-border-width-100);
-
- /* Size */
+.spectrum-StatusLight,
+.spectrum-StatusLight--sizeM {
--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);
--spectrum-statuslight-font-size: var(--spectrum-font-size-100);
- /* Space */
--spectrum-statuslight-spacing-dot-to-label: var(--spectrum-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-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);
- --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--sizeS {
@@ -70,18 +38,6 @@
--spectrum-statuslight-spacing-bottom-to-label: var(--spectrum-component-bottom-to-text-75);
}
-.spectrum-StatusLight--sizeM {
- --spectrum-statuslight-height: var(--spectrum-component-height-100);
- --spectrum-statuslight-dot-size: var(--spectrum-status-light-dot-size-medium);
-
- --spectrum-statuslight-font-size: var(--spectrum-font-size-100);
-
- --spectrum-statuslight-spacing-dot-to-label: var(--spectrum-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);
-}
-
.spectrum-StatusLight--sizeL {
--spectrum-statuslight-height: var(--spectrum-component-height-200);
--spectrum-statuslight-dot-size: var(--spectrum-status-light-dot-size-large);
@@ -107,6 +63,36 @@
}
.spectrum-StatusLight {
+ --spectrum-statuslight-corner-radius: 50%;
+ --spectrum-statuslight-font-weight: 400;
+ --spectrum-statuslight-border-width: var(--spectrum-border-width-100);
+
+ --spectrum-statuslight-line-height: var(--spectrum-line-height-100);
+ --spectrum-statuslight-line-height-cjk: var(--spectrum-cjk-line-height-100);
+
+ --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);
+ --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);
+
display: flex;
flex-direction: row;
align-items: flex-start;
@@ -148,13 +134,10 @@
}
}
+/* Semantic Colors */
.spectrum-StatusLight--neutral {
font-style: italic;
-}
-/* Semantic Colors */
-
-.spectrum-StatusLight--neutral {
color: var(--highcontrast-statuslight-subdued-content-color-default, var(--mod-statuslight-subdued-content-color-default, var(--spectrum-statuslight-subdued-content-color-default)));
&::before {
@@ -183,7 +166,6 @@
}
/* Non-Semantic Colors */
-
.spectrum-StatusLight--gray::before {
background-color: var(--mod-statuslight-nonsemantic-gray-color, var(--spectrum-statuslight-nonsemantic-gray-color));
}
diff --git a/components/statuslight/package.json b/components/statuslight/package.json
index 1ddbb84bc8a..27170f96ede 100644
--- a/components/statuslight/package.json
+++ b/components/statuslight/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/statuslight",
- "version": "7.3.0",
+ "version": "8.0.0-s2-foundations.16",
"description": "The Spectrum CSS statuslight component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/statuslight/stories/statuslight.stories.js b/components/statuslight/stories/statuslight.stories.js
index fdd4f7224da..b5cc8aba9ce 100644
--- a/components/statuslight/stories/statuslight.stories.js
+++ b/components/statuslight/stories/statuslight.stories.js
@@ -65,6 +65,10 @@ export default {
isDisabled: false,
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=36797-954",
+ },
packageJson,
metadata,
},
diff --git a/components/statuslight/stories/template.js b/components/statuslight/stories/template.js
index 2faf35797c8..75da81e79a0 100644
--- a/components/statuslight/stories/template.js
+++ b/components/statuslight/stories/template.js
@@ -4,6 +4,9 @@ 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-StatusLight",
diff --git a/components/statuslight/themes/express.css b/components/statuslight/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/statuslight/themes/express.css
+++ b/components/statuslight/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/statuslight/themes/spectrum-two.css b/components/statuslight/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/statuslight/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/statuslight/themes/spectrum.css b/components/statuslight/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/statuslight/themes/spectrum.css
+++ b/components/statuslight/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/steplist/CHANGELOG.md b/components/steplist/CHANGELOG.md
index 1117b3ac23c..f62244b67d8 100644
--- a/components/steplist/CHANGELOG.md
+++ b/components/steplist/CHANGELOG.md
@@ -1,5 +1,248 @@
# Change Log
+## 6.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.13
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tooltip@7.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
@@ -18,6 +261,12 @@
- [#3302](https://github.com/adobe/spectrum-css/pull/3302) [`4988da3`](https://github.com/adobe/spectrum-css/commit/4988da329bc4d562dd068776d7b7f84393086274) Thanks [@cdransf](https://github.com/cdransf)! - Resolves stylelint violation by removing vertical-align declaration that is ignored due to preceding display: block declaration.
+## 5.1.4
+
+### Patch Changes
+
+- [#3302](https://github.com/adobe/spectrum-css/pull/3302) [`4988da3`](https://github.com/adobe/spectrum-css/commit/4988da329bc4d562dd068776d7b7f84393086274) Thanks [@cdransf](https://github.com/cdransf)! - Resolves stylelint violation by removing vertical-align declaration that is ignored due to preceding display: block declaration.
+
## 5.1.3
### Patch Changes
diff --git a/components/steplist/index.css b/components/steplist/index.css
index d8734bd6dfc..e4d55d614da 100644
--- a/components/steplist/index.css
+++ b/components/steplist/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Steplist {
/* The width of a step */
@@ -40,23 +40,12 @@
--spectrum-steplist-label-text-size: 12px;
--spectrum-steplist-current-label-text-color: var(--spectrum-gray-800);
-
--spectrum-steplist-current-marker-color: var(--spectrum-gray-800);
-
--spectrum-steplist-complete-label-text-color: var(--spectrum-gray-700);
-
- --spectrum-steplist-incomplete-label-color: var(--spectrum-gray-600);
-
--spectrum-steplist-complete-marker-background-color: var(--spectrum-gray-600);
-
- --spectrum-steplist-incomplete-marker-border-color: var(--spectrum-gray-300);
-
- --spectrum-steplist-incomplete-segment-border-block-end-color: var(--spectrum-gray-300);
-
--spectrum-steplist-complete-segment-border-block-end-color: var(--spectrum-gray-600);
-}
+ --spectrum-steplist-incomplete-label-color: var(--spectrum-gray-600);
-.spectrum-Steplist {
/* Contain child elements with positive z-index */
z-index: 0;
position: relative;
@@ -71,6 +60,7 @@
white-space: nowrap;
font-size: 0; /* To remove html whitespace between inline elements */
line-height: 16px; /* in case the container changes it */
+
}
.spectrum-Steplist--interactive {
@@ -190,6 +180,7 @@
inset-inline-start: 50%;
inset-block-end: var(--mod-steplist-label-labelOffset, var(--spectrum-steplist-label-labelOffset));
+
display: block;
inline-size: calc(var(--mod-steplist-step-width, var(--spectrum-steplist-step-width)) * 1.5);
diff --git a/components/steplist/metadata/metadata.json b/components/steplist/metadata/metadata.json
index 3f2c92091bf..3e4e5dc0bed 100644
--- a/components/steplist/metadata/metadata.json
+++ b/components/steplist/metadata/metadata.json
@@ -86,12 +86,15 @@
"--spectrum-steplist-topPadding"
],
"global": [
- "--spectrum-gray-300",
+ "--spectrum-gray-200",
"--spectrum-gray-600",
"--spectrum-gray-700",
"--spectrum-gray-800"
],
- "system-theme": [],
+ "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/package.json b/components/steplist/package.json
index 428b2e91ed0..096006c2981 100644
--- a/components/steplist/package.json
+++ b/components/steplist/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/steplist",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.16",
"description": "The Spectrum CSS steplist component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,19 +21,21 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14",
- "@spectrum-css/tooltip": ">=6"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0",
+ "@spectrum-css/tooltip": ">=7.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/tooltip": {
diff --git a/components/steplist/stories/template.js b/components/steplist/stories/template.js
index 7edfdf8199b..ea9a57ef420 100644
--- a/components/steplist/stories/template.js
+++ b/components/steplist/stories/template.js
@@ -6,6 +6,9 @@ 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
index fad97bb3695..9fd550418f2 100644
--- a/components/steplist/themes/express.css
+++ b/components/steplist/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/steplist/themes/spectrum-two.css b/components/steplist/themes/spectrum-two.css
new file mode 100644
index 00000000000..649e9fb4d3a
--- /dev/null
+++ b/components/steplist/themes/spectrum-two.css
@@ -0,0 +1,19 @@
+/*!
+ * 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
index 3b48a570c21..bfe1e5f6f8c 100644
--- a/components/steplist/themes/spectrum.css
+++ b/components/steplist/themes/spectrum.css
@@ -10,3 +10,14 @@
* 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 c07139f577c..07629b6bb8b 100644
--- a/components/stepper/CHANGELOG.md
+++ b/components/stepper/CHANGELOG.md
@@ -1,5 +1,313 @@
# Change Log
+## 7.0.0-s2-foundations.19
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.17
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.24
+ - @spectrum-css/textfield@8.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 7.0.0-s2-foundations.18
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.16
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.21
+ - @spectrum-css/textfield@8.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 7.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.15
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.20
+ - @spectrum-css/textfield@8.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 7.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5f693f2`](https://github.com/adobe/spectrum-css/commit/5f693f2b000ffe77f1293980bc6006fbc5fa76c0) Thanks [@pfulton](https://github.com/pfulton)! - Stepper bug fixes for S1 and Express variants.
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5f693f2`](https://github.com/adobe/spectrum-css/commit/5f693f2b000ffe77f1293980bc6006fbc5fa76c0) Thanks [@pfulton](https://github.com/pfulton)! - Realign structure with original style format
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5f693f2`](https://github.com/adobe/spectrum-css/commit/5f693f2b000ffe77f1293980bc6006fbc5fa76c0) Thanks [@pfulton](https://github.com/pfulton)! - Add separate variable for stepper button border width
+
+## 7.0.0-s2-foundations.15
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9ae725f`](https://github.com/adobe/spectrum-css/commit/9ae725f10ebbb78b62070c4c477cb41cfc1b1ed6) Thanks [@pfulton](https://github.com/pfulton)! - Combobox moved the quiet min-inline-size property to index.css from theme to pick up the t-shirt sizing for the calc.
+
+ Typography increases specificity for the t-shirt sizing.
+
+ Stepper fixes for the disabled + hovered states as well as regressions fixed for the quiet variant.
+
+- Updated dependencies [[`4e80ae6`](https://github.com/adobe/spectrum-css/commit/4e80ae67ddda329a5ed556b57426623c6f0f13f0)]:
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.19
+
+## 7.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.14
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.18
+ - @spectrum-css/textfield@8.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 7.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#3041](https://github.com/adobe/spectrum-css/pull/3041) [`7be40c3`](https://github.com/adobe/spectrum-css/commit/7be40c334748f3e1064c614af793117f06146475) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)! - --mod properties were moved out of `stepper/themes/spectrum-two.css` into `stepper/index.css` so --mods can be applied at the component level.
+
+## 7.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.12
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.13
+ - @spectrum-css/textfield@8.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.11
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.12
+ - @spectrum-css/textfield@8.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 7.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.10
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.10
+ - @spectrum-css/textfield@8.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 7.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`da47fa2`](https://github.com/adobe/spectrum-css/commit/da47fa2cb18373e74a6718775f2db90bb25868d4), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.9
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.9
+ - @spectrum-css/textfield@8.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 7.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.8
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.8
+ - @spectrum-css/textfield@8.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 7.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.7
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.7
+ - @spectrum-css/textfield@8.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 7.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.6
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.6
+ - @spectrum-css/textfield@8.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 7.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.5
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.5
+ - @spectrum-css/textfield@8.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 7.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.4
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.4
+ - @spectrum-css/textfield@8.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 7.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.3
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.3
+ - @spectrum-css/textfield@8.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 7.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.2
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.2
+ - @spectrum-css/textfield@8.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 7.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.1
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.1
+ - @spectrum-css/textfield@8.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 7.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/infieldbutton@6.0.0-s2-foundations.0
+ - @spectrum-css/actionbutton@7.0.0-s2-foundations.0
+ - @spectrum-css/textfield@8.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 6.3.0
### Minor Changes
@@ -20,6 +328,15 @@
- [#3303](https://github.com/adobe/spectrum-css/pull/3303) [`5fa753b`](https://github.com/adobe/spectrum-css/commit/5fa753b34944584576c8d91b8d51460ff0a2e4be) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violations by removing unused properties and adding comment description.
+- Updated dependencies [[`d05f25f`](https://github.com/adobe/spectrum-css/commit/d05f25f971f2e0123ad0747c53ad0250c7cee707)]:
+ - @spectrum-css/infieldbutton@5.1.4
+
+## 6.2.1
+
+### Patch Changes
+
+- [#3303](https://github.com/adobe/spectrum-css/pull/3303) [`5fa753b`](https://github.com/adobe/spectrum-css/commit/5fa753b34944584576c8d91b8d51460ff0a2e4be) Thanks [@cdransf](https://github.com/cdransf)! - Resolves lint violations by removing unused properties and adding comment description.
+
- Updated dependencies [[`d05f25f`](https://github.com/adobe/spectrum-css/commit/d05f25f971f2e0123ad0747c53ad0250c7cee707)]:
- @spectrum-css/infieldbutton@5.1.4
diff --git a/components/stepper/index.css b/components/stepper/index.css
index 23e913843d7..61af1301aec 100644
--- a/components/stepper/index.css
+++ b/components/stepper/index.css
@@ -11,249 +11,284 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
-.spectrum-Stepper {
- /* Set defaults to medium size */
- --spectrum-stepper-height: var(--spectrum-component-height-100);
- --spectrum-stepper-border-radius: var(--spectrum-corner-radius-100);
+/* --- 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;
- --spectrum-stepper-button-width: var(--spectrum-in-field-button-width-stacked-medium);
+ &.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;
+ }
- --spectrum-stepper-width: calc(var(--mod-stepper-height, var(--spectrum-stepper-height)) * var(--mod-stepper-min-width-multiplier, var(--spectrum-text-field-minimum-width-multiplier)) + var(--mod-stepper-button-width, var(--spectrum-stepper-button-width)) + (var(--mod-stepper-border-width, var(--spectrum-stepper-border-width)) * 2));
+ &.is-disabled {
+ --highcontrast-stepper-border-color: GrayText;
+ --highcontrast-stepper-buttons-border-width: var(--mod-stepper-border-width, var(--spectrum-stepper-border-width));
+ }
- /*** Focus Indicator ***/
- --spectrum-stepper-focus-indicator-width: var(--spectrum-focus-indicator-thickness);
- --spectrum-stepper-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
- --spectrum-stepper-focus-indicator-color: var(--spectrum-focus-indicator-color);
+ &:not(.is-disabled) {
+ &:hover {
+ --highcontrast-stepper-border-color: var(--highcontrast-stepper-border-color-hover);
+ }
- --spectrum-stepper-animation-duration: var(--spectrum-animation-duration-100);
+ &.is-focused,
+ &:focus {
+ --highcontrast-stepper-border-color: var(--highcontrast-stepper-border-color-focus);
- /*** MODS for sub components ***/
- --mod-infield-button-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-buttons-border-color, var(--spectrum-stepper-buttons-border-color)));
- --mod-infield-button-border-width: var(--mod-stepper-button-border-width, var(--spectrum-stepper-button-border-width));
- --mod-textfield-border-width: var(--mod-stepper-border-width, var(--spectrum-stepper-border-width));
+ &: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-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));
+
+ --spectrum-stepper-focus-indicator-width: var(--mod-stepper-focus-indicator-width, var(--spectrum-focus-indicator-thickness));
+ --spectrum-stepper-focus-indicator-gap: var(--mod-stepper-focus-indicator-gap, var(--spectrum-focus-indicator-gap));
+ --spectrum-stepper-focus-indicator-color: var(--highcontrast-stepper-focus-indicator-color, var(--mod-stepper-focus-indicator-color, var(--spectrum-focus-indicator-color)));
+
+ --spectrum-stepper-animation-duration: var(--mod-stepper-animation-duration, var(--spectrum-animation-duration-100));
+
+ &,
+ &.spectrum-Stepper--sizeM {
+ --spectrum-stepper-button-width: var(--mod-stepper-button-width, var(--spectrum-in-field-button-width-stacked-medium));
+ --spectrum-stepper-height: var(--mod-stepper-height, var(--spectrum-component-height-100));
+ }
&.spectrum-Stepper--sizeS {
- --spectrum-stepper-button-width: var(--spectrum-in-field-button-width-stacked-small);
- --spectrum-stepper-height: var(--spectrum-component-height-75);
+ --spectrum-stepper-button-width: var(--mod-stepper-button-width, var(--spectrum-in-field-button-width-stacked-small));
+ --spectrum-stepper-height: var(--mod-stepper-height, var(--spectrum-component-height-75));
}
&.spectrum-Stepper--sizeL {
- --spectrum-stepper-button-width: var(--spectrum-in-field-button-width-stacked-large);
- --spectrum-stepper-height: var(--spectrum-component-height-200);
+ --spectrum-stepper-button-width: var(--mod-stepper-button-width, var(--spectrum-in-field-button-width-stacked-large));
+ --spectrum-stepper-height: var(--mod-stepper-height, var(--spectrum-component-height-200));
}
&.spectrum-Stepper--sizeXL {
- --spectrum-stepper-button-width: var(--spectrum-in-field-button-width-stacked-extra-large);
- --spectrum-stepper-height: var(--spectrum-component-height-300);
- }
-
- /*** Quiet ***/
- &.spectrum-Stepper--quiet {
- --mod-infield-button-width-stacked: var(--mod-stepper-button-width-quiet, var(--spectrum-stepper-button-width));
- --mod-textfield-focus-indicator-color: transparent;
+ --spectrum-stepper-button-width: var(--mod-stepper-button-width, var(--spectrum-in-field-button-width-stacked-extra-large));
+ --spectrum-stepper-height: var(--mod-stepper-height, var(--spectrum-component-height-300));
}
&.is-disabled {
- --mod-infield-button-border-color-quiet-disabled: var(--spectrum-disabled-border-color);
+ --spectrum-stepper-buttons-border-width: var(--spectrum-stepper-button-border-width-disabled);
+ --spectrum-stepper-buttons-background-color: var(--spectrum-stepper-buttons-background-color-disabled);
}
- /*** Invalid ***/
&.is-invalid {
--mod-stepper-border-color: var(--mod-stepper-border-color-invalid, var(--spectrum-negative-border-color-default));
--mod-stepper-border-color-hover: var(--mod-stepper-border-color-hover-invalid, var(--spectrum-negative-border-color-hover));
--mod-stepper-border-color-focus: var(--mod-stepper-border-color-focus-invalid, var(--spectrum-negative-border-color-focus));
--mod-stepper-border-color-focus-hover: var(--mod-stepper-border-color-focus-hover-invalid, var(--spectrum-negative-border-color-focus-hover));
--mod-stepper-border-color-keyboard-focus: var(--mod-stepper-border-color-keyboard-focus-invalid, var(--spectrum-negative-border-color-key-focus));
- --mod-infield-button-border-color: var(--mod-stepper-border-color-invalid, var(--spectrum-stepper-border-color-invalid));
- --mod-textfield-icon-spacing-inline-start-invalid: 0;
+ }
+
+ &:not(.is-disabled):hover {
+ --mod-stepper-border-color: var(--highcontrast-stepper-border-color-hover, var(--mod-stepper-border-color-hover, var(--spectrum-stepper-border-color-hover)));
+ }
+
+ &:not(.is-disabled).is-focused,
+ &:not(.is-disabled):focus {
+ --mod-stepper-border-color: var(--highcontrast-stepper-border-color-focus, var(--mod-stepper-border-color-focus, var(--spectrum-stepper-border-color-focus)));
+ --mod-stepper-buttons-border-color: var(--highcontrast-stepper-border-color-focus, var(--mod-stepper-border-color-focus, var(--spectrum-stepper-border-color-focus)));
&:hover {
- --mod-infield-button-border-color: var(--mod-stepper-border-color-hover-invalid, var(--spectrum-negative-border-color-hover));
+ --mod-stepper-border-color: var(--highcontrast-stepper-border-color-focus-hover, var(--mod-stepper-border-color-focus-hover, var(--spectrum-stepper-border-color-focus-hover)));
+ --mod-stepper-buttons-border-color: var(--highcontrast-stepper-border-color-focus-hover, var(--mod-stepper-border-color-focus-hover, var(--spectrum-stepper-border-color-focus-hover)));
}
+ }
- &.is-focused,
- &:focus {
- --mod-infield-button-border-color: var(--mod-stepper-border-color-focus-invalid, var(--spectrum-stepper-border-color-focus-invalid));
+ &:not(.is-disabled).is-keyboardFocused {
+ --mod-stepper-border-color: var(--highcontrast-stepper-border-color-focus, var(--mod-stepper-border-color-focus, var(--spectrum-stepper-border-color-keyboard-focus)));
+ }
+
+ &.spectrum-Stepper--quiet {
+ --mod-stepper-buttons-background-color: transparent;
+ /* quiet hover */
+ &:not(.is-disabled) {
&:hover {
- --mod-infield-button-border-color: var(--mod-stepper-border-color-focus-hover-invalid, var(--spectrum-stepper-border-color-focus-hover-invalid));
+ --mod-stepper-buttons-background-color: transparent;
+ }
+
+ &.is-keyboardFocused {
+ /* quiet focus indicator only on bottom border */
+ --mod-stepper-focus-indicator-visibility: visible;
}
}
- &.is-keyboardFocused,
- &:focus-visible {
- --mod-infield-button-border-color: var(--mod-stepper-border-color-keyboard-focus-invalid, var(--spectrum-stepper-border-color-keyboard-focus-invalid));
+ &.is-invalid {
+ --mod-stepper-border-color: var(--mod-stepper-border-color-invalid, var(--spectrum-negative-border-color-default));
}
}
}
-.x {
- border-radius: var(--spectrum-stepper-button-border-radius-reset);
-}
-
+/* --- Component-level passthroughs for nested components --- */
+/* @passthrough start -- MODS for sub components */
.spectrum-Stepper {
- position: relative;
- display: inline-flex;
- flex-flow: row nowrap;
-
- inline-size: var(--mod-stepper-width, var(--spectrum-stepper-width));
- block-size: var(--mod-stepper-height, var(--spectrum-stepper-height));
- border-radius: var(--mod-stepper-border-radius, var(--spectrum-stepper-border-radius));
- border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color, var(--spectrum-stepper-border-color)));
-
- .spectrum-Stepper-input {
- border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color, var(--spectrum-stepper-border-color)));
- border-start-end-radius: 0;
- border-end-end-radius: 0;
- border-inline-end-width: 0;
- }
+ --mod-infield-button-border-color: var(--mod-stepper-buttons-border-color, var(--spectrum-stepper-buttons-border-color));
+ --mod-infield-button-border-color-quiet-disabled: var(--spectrum-disabled-border-color);
+ --mod-infield-button-border-width: var(--mod-stepper-button-border-width, var(--spectrum-stepper-button-border-width));
- /*** Hover ***/
- &:hover:not(.is-invalid) {
- --mod-infield-button-border-color: var(--highcontrast-stepper-border-color-hover, var(--mod-stepper-buttons-border-color-hover, var(--spectrum-stepper-buttons-border-color-hover)));
- }
+ --mod-textfield-border-width: var(--mod-stepper-border-width, var(--spectrum-stepper-border-width));
+ --mod-textfield-border-color: var(--spectrum-stepper-border-color);
- &:hover:not(.is-disabled) {
- .spectrum-Stepper-input,
- .spectrum-Stepper-buttons {
- border-color: var(--highcontrast-stepper-border-color-hover, var(--mod-stepper-border-color-hover, var(--spectrum-stepper-border-color-hover)));
- }
+ &:hover:not(.is-invalid,.is-disabled) {
+ --mod-infield-button-border-color: var(--mod-stepper-buttons-border-color-hover, var(--spectrum-stepper-buttons-border-color-hover));
}
- /*** Focused ***/
- &.is-focused,
- &:focus {
- --mod-infield-button-border-color: var(--highcontrast-stepper-border-color-focus, var(--mod-stepper-buttons-border-color-focus, var(--spectrum-stepper-buttons-border-color-focus)));
-
- &:not(.is-disabled) {
- .spectrum-Stepper-input {
- outline: none;
- }
+ &:not(.is-disabled) {
+ .is-focused,
+ &:focus {
+ --mod-infield-button-border-color: var(--highcontrast-stepper-border-color-focus, var(--mod-stepper-buttons-border-color-focus, var(--spectrum-stepper-buttons-border-color-focus)));
+ --mod-textfield-focus-indicator-width: 0;
- .spectrum-Stepper-input,
- .spectrum-Stepper-buttons {
- border-color: var(--highcontrast-stepper-border-color-focus, var(--mod-stepper-border-color-focus, var(--spectrum-stepper-border-color-focus)));
+ &:hover {
+ /* stylelint-disable-next-line spectrum-tools/no-unknown-custom-properties -- allows for --spectrum-stepper-buttons-border-color-focus-hover to be defined outside of current context */
+ --mod-infield-button-border-color: var(--mod-stepper-buttons-border-color-focus-hover, var(--spectrum-stepper-buttons-border-color-focus-hover));
+ --mod-textfield-focus-indicator-width: 0;
+ --mod-textfield-border-color: var(--highcontrast-stepper-border-color-focus-hover, var(--mod-stepper-border-color-focus-hover, var(--spectrum-stepper-border-color-focus-hover)));
}
}
- &:hover {
- /* stylelint-disable-next-line spectrum-tools/no-unknown-custom-properties -- allows for --spectrum-stepper-buttons-border-color-focus-hover to be defined outside of current context */
- --mod-infield-button-border-color: var(--highcontrast-stepper-border-color-focus-hover, var(--mod-stepper-buttons-border-color-focus-hover, var(--spectrum-stepper-buttons-border-color-focus-hover)));
+ &.is-keyboardFocused,
+ &:focus-visible {
+ --mod-infield-button-border-color: var(--highcontrast-stepper-border-color-keyboard-focus, var(--mod-stepper-buttons-border-color-keyboard-focus, var(--spectrum-stepper-buttons-border-color-keyboard-focus)));
+ --mod-textfield-focus-indicator-width: 0;
+ --mod-textfield-border-color: var(--highcontrast-stepper-border-color-keyboard-focus, var(--mod-stepper-border-color-keyboard-focus, var(--spectrum-stepper-border-color-keyboard-focus)));
- .spectrum-Stepper-input,
- .spectrum-Stepper-buttons {
- border-color: var(--highcontrast-stepper-border-color-focus-hover, var(--mod-stepper-border-color-focus-hover, var(--spectrum-stepper-border-color-focus-hover)));
- }
+ /* keyboard focus indicator is visible */
+ outline: var(--spectrum-stepper-focus-indicator-width) solid;
+ outline-color: var(--spectrum-stepper-focus-indicator-color);
+ outline-offset: var(--spectrum-stepper-focus-indicator-gap);
}
}
- /*** Keyboard Focused ***/
- &.is-keyboardFocused,
- &:focus-visible {
- --mod-infield-button-border-color: var(--highcontrast-stepper-border-color-keyboard-focus, var(--mod-stepper-buttons-border-color-keyboard-focus, var(--spectrum-stepper-buttons-border-color-keyboard-focus)));
+ &.is-invalid {
+ --mod-infield-button-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color-invalid, var(--spectrum-stepper-border-color-invalid)));
+ --mod-textfield-icon-spacing-inline-start-invalid: 0;
- &:not(.is-disabled) {
- /* keyboard focus indicator is visible */
- outline: var(--mod-stepper-focus-indicator-width, var(--spectrum-stepper-focus-indicator-width)) solid;
- outline-color: var(--highcontrast-stepper-focus-indicator-color, var(--mod-stepper-focus-indicator-color, var(--spectrum-stepper-focus-indicator-color)));
- outline-offset: var(--mod-stepper-focus-indicator-gap, var(--spectrum-stepper-focus-indicator-gap));
+ &:hover {
+ --mod-infield-button-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color-hover-invalid, var(--spectrum-negative-border-color-hover)));
+ }
- .spectrum-Stepper-input {
- outline: none;
- }
+ &.is-focused,
+ &:focus {
+ --mod-infield-button-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color-focus-invalid, var(--spectrum-stepper-border-color-focus-invalid)));
- .spectrum-Stepper-input,
- .spectrum-Stepper-buttons {
- border-color: var(--highcontrast-stepper-border-color-keyboard-focus, var(--mod-stepper-border-color-keyboard-focus, var(--spectrum-stepper-border-color-keyboard-focus)));
+ &:hover {
+ --mod-infield-button-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color-focus-hover-invalid, var(--spectrum-stepper-border-color-focus-hover-invalid)));
}
}
- }
-}
-
-/*** Quiet ***/
-.spectrum-Stepper.spectrum-Stepper--quiet {
- --mod-infield-button-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color, var(--spectrum-stepper-border-color)));
-
- /* quiet corners are not rounded */
- border-start-start-radius: 0;
- border-start-end-radius: 0;
- border-end-start-radius: 0;
- border-end-end-radius: 0;
-
- &.hide-stepper .spectrum-Stepper-input {
- border-inline-end-width: 0;
- border-end-end-radius: 0;
- }
-
- &::after {
- content: "";
- position: absolute;
- inset-block-end: calc(-1 * (var(--mod-stepper-focus-indicator-gap, var(--spectrum-stepper-focus-indicator-gap)) + var(--mod-stepper-focus-indicator-width, var(--spectrum-stepper-focus-indicator-width))));
- inset-inline-start: 0;
- inline-size: 100%;
- block-size: var(--mod-stepper-focus-indicator-width, var(--spectrum-stepper-focus-indicator-width));
- }
- .spectrum-Stepper-buttons {
- border: none;
+ &.is-keyboardFocused,
+ &:focus-visible {
+ --mod-infield-button-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color-keyboard-focus-invalid, var(--spectrum-stepper-border-color-keyboard-focus-invalid)));
+ }
}
- .spectrum-Stepper-button {
+ &.spectrum-Stepper--quiet {
+ --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);
--mod-infield-button-border-block-end-width: var(--mod-stepper-border-width, var(--spectrum-stepper-border-width));
--mod-infield-button-stacked-bottom-border-block-end-width: var(--mod-stepper-border-width, var(--spectrum-stepper-border-width));
--mod-infield-button-stacked-bottom-border-radius-end-end: 0;
--mod-infield-button-stacked-bottom-border-radius-end-start: 0;
--mod-infield-button-fill-justify-content: flex-end;
- padding: 0;
- }
+ --mod-infield-button-inner-edge-to-fill: var(--spectrum-stepper-button-edge-to-fill);
+ --mod-infield-button-edge-to-fill: var(--spectrum-stepper-button-edge-to-fill);
- .spectrum-Stepper-input,
- .spectrum-Stepper-buttons {
- background-color: transparent;
- }
+ --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)));
- /* quiet hover */
- &:not(.is-disabled):hover {
- --mod-infield-button-border-color: var(--highcontrast-stepper-border-color-hover, var(--mod-stepper-border-color-hover, var(--spectrum-stepper-border-color-hover)));
+ &:not(.is-disabled) {
+ &:hover {
+ --mod-textfield-border-color-hover: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color-hover, var(--spectrum-stepper-border-color-hover)));
+ --mod-infield-button-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color-hover, var(--spectrum-stepper-border-color-hover)));
+ }
- .spectrum-Stepper-buttons {
- background-color: transparent;
- }
- }
+ /* quiet focus */
+ &.is-focused,
+ &:focus {
+ --mod-infield-button-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color-focus, var(--spectrum-stepper-border-color-focus)));
- /* quiet focus */
- &.is-focused,
- &:focus {
- --mod-infield-button-border-color: var(--highcontrast-stepper-border-color-focus, var(--mod-stepper-border-color-focus, var(--spectrum-stepper-border-color-focus)));
+ /* stylelint-disable-next-line max-nesting-depth -- @todo reduce complexity of selectors */
+ &:hover {
+ --mod-infield-button-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color-focus-hover, var(--spectrum-stepper-border-color-focus-hover)));
+ }
+ }
- &:hover {
- --mod-infield-button-border-color: var(--highcontrast-stepper-border-color-focus-hover, var(--mod-stepper-border-color-focus-hover, var(--spectrum-stepper-border-color-focus-hover)));
+ &.is-keyboardFocused {
+ --mod-infield-button-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color-keyboard-focus, var(--spectrum-stepper-border-color-keyboard-focus)));
+
+ /* stylelint-disable-next-line max-nesting-depth -- @todo reduce complexity of selectors */
+ &:hover {
+ --mod-infield-button-border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color-hover, var(--spectrum-stepper-border-color-hover)));
+ }
+ }
}
}
+}
+/* @passthrough end */
+
+/* --- Component styles --- */
+.spectrum-Stepper {
+ --spectrum-stepper-width: var(--mod-stepper-width, calc(var(--spectrum-stepper-height) * var(--mod-stepper-min-width-multiplier, var(--spectrum-text-field-minimum-width-multiplier)) + var(--spectrum-stepper-button-width) + (var(--mod-stepper-border-width, var(--spectrum-stepper-border-width)) * 2)));
- /* quiet keyboard focused */
- &.is-keyboardFocused {
- --mod-infield-button-border-color: var(--highcontrast-stepper-border-color-keyboard-focus, var(--mod-stepper-border-color-keyboard-focus, var(--spectrum-stepper-border-color-keyboard-focus)));
+ position: relative;
+ display: inline-flex;
+ flex-flow: row nowrap;
- &:not(.is-disabled) {
- outline: none;
+ inline-size: var(--spectrum-stepper-width);
+ block-size: var(--spectrum-stepper-height);
- /* quiet focus indicator only on bottom border */
- &::after {
- background-color: var(--highcontrast-stepper-focus-indicator-color, var(--mod-stepper-focus-indicator-color, var(--spectrum-stepper-focus-indicator-color)));
- }
+ border-radius: var(--spectrum-stepper-border-radius);
- &:hover {
- --mod-infield-button-border-color: var(--highcontrast-stepper-border-color-hover, var(--mod-stepper-border-color-hover, var(--spectrum-stepper-border-color-hover)));
- }
- }
+ &::before {
+ content: "";
}
}
-.spectrum-Stepper::before {
- content: "";
+/* Nested textfield subcomponent */
+.spectrum-Stepper-input {
+ border-start-end-radius: 0;
+ border-end-end-radius: 0;
+ border-inline-end-width: 0;
}
/* container for stepUp and stepDown buttons */
@@ -263,55 +298,57 @@
justify-content: center;
box-sizing: border-box;
- block-size: var(--mod-stepper-height, var(--spectrum-stepper-height));
- inline-size: var(--mod-stepper-button-width, var(--spectrum-stepper-button-width));
+ block-size: var(--spectrum-stepper-height);
+ inline-size: var(--spectrum-stepper-button-width);
- border-color: var(--highcontrast-stepper-border-color, var(--mod-stepper-border-color, var(--spectrum-stepper-border-color)));
+ border-color: var(--spectrum-stepper-border-color);
border-style: var(--mod-stepper-buttons-border-style, var(--spectrum-stepper-buttons-border-style));
border-width: var(--highcontrast-stepper-buttons-border-width, var(--mod-stepper-buttons-border-width, var(--spectrum-stepper-buttons-border-width)));
border-inline-start-width: 0;
/* Have to add border radius here to avoid overlapping textfield border */
- border-start-end-radius: var(--mod-stepper-border-radius, var(--spectrum-stepper-border-radius));
- border-end-end-radius: var(--mod-stepper-border-radius, var(--spectrum-stepper-border-radius));
+ border-start-end-radius: var(--spectrum-stepper-border-radius);
+ border-end-end-radius: var(--spectrum-stepper-border-radius);
- background-color: var(--highcontrast-stepper-buttons-background-color, var(--mod-stepper-buttons-background-color, var(--spectrum-stepper-buttons-background-color)));
- transition: border-color var(--mod-stepper-animation-duration, var(--spectrum-stepper-animation-duration)) ease-in-out;
+ background-color: var(--mod-stepper-buttons-background-color, var(--spectrum-stepper-buttons-background-color));
+ transition: border-color var(--spectrum-stepper-animation-duration) ease-in-out;
}
-/* hide-stepper */
+/* stylelint-disable-next-line selector-class-pattern -- @todo update hide-stepper class to standard variant syntax */
.spectrum-Stepper.hide-stepper .spectrum-Stepper-input {
- border-start-end-radius: var(--mod-stepper-border-radius, var(--spectrum-stepper-border-radius));
- border-end-end-radius: var(--mod-stepper-border-radius, var(--spectrum-stepper-border-radius));
+ border-start-end-radius: var(--spectrum-stepper-border-radius);
+ border-end-end-radius: var(--spectrum-stepper-border-radius);
border-inline-end-width: var(--mod-stepper-border-width, var(--spectrum-stepper-border-width));
}
-@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-button-background-color-default: Canvas;
- --highcontrast-stepper-button-background-color-hover: Canvas;
- --highcontrast-stepper-button-background-color-focus: Canvas;
- --highcontrast-stepper-button-background-color-keyboard-focus: Canvas;
- --highcontrast-stepper-focus-indicator-color: Highlight;
+/* --- Quiet variant styles --- */
+.spectrum-Stepper--quiet {
+ /* quiet corners are not rounded */
+ border-start-start-radius: 0;
+ border-start-end-radius: 0;
+ border-end-start-radius: 0;
+ border-end-end-radius: 0;
- &.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;
- --highcontrast-infield-button-border-color: Highlight;
- }
+ /* stylelint-disable selector-class-pattern -- @todo update hide-stepper class to standard variant syntax */
+ &.hide-stepper .spectrum-Stepper-input {
+ border-inline-end-width: 0;
+ border-end-end-radius: 0;
+ }
+ /* stylelint-enable selector-class-pattern */
- &.is-disabled {
- --highcontrast-stepper-border-color: GrayText;
- --highcontrast-infield-button-border-color: GrayText;
- --highcontrast-stepper-buttons-border-width: var(--mod-stepper-border-width, var(--spectrum-stepper-border-width));
- }
+ &::after {
+ visibility: var(--mod-stepper-focus-indicator-visibility, hidden);
+ content: "";
+ position: absolute;
+ inset-block-end: calc(-1 * (var(--spectrum-stepper-focus-indicator-gap) + var(--spectrum-stepper-focus-indicator-width)));
+ inset-inline-start: 0;
+ inline-size: 100%;
+ block-size: var(--spectrum-stepper-focus-indicator-width);
+ background-color: var(--spectrum-stepper-focus-indicator-color);
+ }
+
+ /* quiet hover */
+ &.is-keyboardFocused:not(.is-disabled) {
+ outline: none;
}
}
diff --git a/components/stepper/metadata/metadata.json b/components/stepper/metadata/metadata.json
index 7d2ac4ad7cf..808772bdee3 100644
--- a/components/stepper/metadata/metadata.json
+++ b/components/stepper/metadata/metadata.json
@@ -2,16 +2,17 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-Stepper",
- ".spectrum-Stepper .spectrum-Stepper-input",
+ ".spectrum-Stepper--quiet",
+ ".spectrum-Stepper--quiet.hide-stepper .spectrum-Stepper-input",
+ ".spectrum-Stepper--quiet.is-keyboardFocused:not(.is-disabled)",
+ ".spectrum-Stepper--quiet:after",
+ ".spectrum-Stepper-button",
".spectrum-Stepper-buttons",
+ ".spectrum-Stepper-input",
".spectrum-Stepper.hide-stepper .spectrum-Stepper-input",
".spectrum-Stepper.is-disabled",
- ".spectrum-Stepper.is-focused",
- ".spectrum-Stepper.is-focused:hover",
- ".spectrum-Stepper.is-focused:hover .spectrum-Stepper-buttons",
- ".spectrum-Stepper.is-focused:hover .spectrum-Stepper-input",
- ".spectrum-Stepper.is-focused:not(.is-disabled) .spectrum-Stepper-buttons",
- ".spectrum-Stepper.is-focused:not(.is-disabled) .spectrum-Stepper-input",
+ ".spectrum-Stepper.is-focused:not(.is-disabled)",
+ ".spectrum-Stepper.is-focused:not(.is-disabled):hover",
".spectrum-Stepper.is-invalid",
".spectrum-Stepper.is-invalid.is-focused",
".spectrum-Stepper.is-invalid.is-focused:hover",
@@ -20,44 +21,28 @@
".spectrum-Stepper.is-invalid:focus-visible",
".spectrum-Stepper.is-invalid:focus:hover",
".spectrum-Stepper.is-invalid:hover",
- ".spectrum-Stepper.is-keyboardFocused",
".spectrum-Stepper.is-keyboardFocused:not(.is-disabled)",
- ".spectrum-Stepper.is-keyboardFocused:not(.is-disabled) .spectrum-Stepper-buttons",
- ".spectrum-Stepper.is-keyboardFocused:not(.is-disabled) .spectrum-Stepper-input",
".spectrum-Stepper.spectrum-Stepper--quiet",
- ".spectrum-Stepper.spectrum-Stepper--quiet .spectrum-Stepper-button",
- ".spectrum-Stepper.spectrum-Stepper--quiet .spectrum-Stepper-buttons",
- ".spectrum-Stepper.spectrum-Stepper--quiet .spectrum-Stepper-input",
- ".spectrum-Stepper.spectrum-Stepper--quiet.hide-stepper .spectrum-Stepper-input",
- ".spectrum-Stepper.spectrum-Stepper--quiet.is-focused",
- ".spectrum-Stepper.spectrum-Stepper--quiet.is-focused:hover",
- ".spectrum-Stepper.spectrum-Stepper--quiet.is-keyboardFocused",
+ ".spectrum-Stepper.spectrum-Stepper--quiet.is-focused:not(.is-disabled)",
+ ".spectrum-Stepper.spectrum-Stepper--quiet.is-focused:not(.is-disabled):hover",
+ ".spectrum-Stepper.spectrum-Stepper--quiet.is-invalid",
".spectrum-Stepper.spectrum-Stepper--quiet.is-keyboardFocused:not(.is-disabled)",
- ".spectrum-Stepper.spectrum-Stepper--quiet.is-keyboardFocused:not(.is-disabled):after",
".spectrum-Stepper.spectrum-Stepper--quiet.is-keyboardFocused:not(.is-disabled):hover",
- ".spectrum-Stepper.spectrum-Stepper--quiet:after",
- ".spectrum-Stepper.spectrum-Stepper--quiet:focus",
- ".spectrum-Stepper.spectrum-Stepper--quiet:focus:hover",
+ ".spectrum-Stepper.spectrum-Stepper--quiet:not(.is-disabled):focus",
+ ".spectrum-Stepper.spectrum-Stepper--quiet:not(.is-disabled):focus:hover",
".spectrum-Stepper.spectrum-Stepper--quiet:not(.is-disabled):hover",
- ".spectrum-Stepper.spectrum-Stepper--quiet:not(.is-disabled):hover .spectrum-Stepper-buttons",
".spectrum-Stepper.spectrum-Stepper--sizeL",
+ ".spectrum-Stepper.spectrum-Stepper--sizeM",
".spectrum-Stepper.spectrum-Stepper--sizeS",
".spectrum-Stepper.spectrum-Stepper--sizeXL",
".spectrum-Stepper:before",
- ".spectrum-Stepper:focus",
- ".spectrum-Stepper:focus-visible",
- ".spectrum-Stepper:focus-visible:not(.is-disabled)",
- ".spectrum-Stepper:focus-visible:not(.is-disabled) .spectrum-Stepper-buttons",
- ".spectrum-Stepper:focus-visible:not(.is-disabled) .spectrum-Stepper-input",
- ".spectrum-Stepper:focus:hover",
- ".spectrum-Stepper:focus:hover .spectrum-Stepper-buttons",
- ".spectrum-Stepper:focus:hover .spectrum-Stepper-input",
- ".spectrum-Stepper:focus:not(.is-disabled) .spectrum-Stepper-buttons",
- ".spectrum-Stepper:focus:not(.is-disabled) .spectrum-Stepper-input",
- ".spectrum-Stepper:hover:not(.is-disabled) .spectrum-Stepper-buttons",
- ".spectrum-Stepper:hover:not(.is-disabled) .spectrum-Stepper-input",
- ".spectrum-Stepper:hover:not(.is-invalid)",
- ".x"
+ ".spectrum-Stepper:hover:not(.is-invalid, .is-disabled)",
+ ".spectrum-Stepper:not(.is-disabled) .is-focused",
+ ".spectrum-Stepper:not(.is-disabled) .is-focused:hover",
+ ".spectrum-Stepper:not(.is-disabled):focus",
+ ".spectrum-Stepper:not(.is-disabled):focus-visible",
+ ".spectrum-Stepper:not(.is-disabled):focus:hover",
+ ".spectrum-Stepper:not(.is-disabled):hover"
],
"modifiers": [
"--mod-stepper-animation-duration",
@@ -86,6 +71,7 @@
"--mod-stepper-buttons-border-width",
"--mod-stepper-focus-indicator-color",
"--mod-stepper-focus-indicator-gap",
+ "--mod-stepper-focus-indicator-visibility",
"--mod-stepper-focus-indicator-width",
"--mod-stepper-height",
"--mod-stepper-min-width-multiplier",
@@ -94,6 +80,7 @@
"component": [
"--spectrum-stepper-animation-duration",
"--spectrum-stepper-border-color",
+ "--spectrum-stepper-border-color-default",
"--spectrum-stepper-border-color-focus",
"--spectrum-stepper-border-color-focus-hover",
"--spectrum-stepper-border-color-focus-hover-invalid",
@@ -104,12 +91,12 @@
"--spectrum-stepper-border-color-keyboard-focus-invalid",
"--spectrum-stepper-border-radius",
"--spectrum-stepper-border-width",
- "--spectrum-stepper-button-background-color-focus",
- "--spectrum-stepper-button-background-color-keyboard-focus",
- "--spectrum-stepper-button-border-radius-reset",
"--spectrum-stepper-button-border-width",
+ "--spectrum-stepper-button-border-width-disabled",
+ "--spectrum-stepper-button-edge-to-fill",
"--spectrum-stepper-button-width",
"--spectrum-stepper-buttons-background-color",
+ "--spectrum-stepper-buttons-background-color-disabled",
"--spectrum-stepper-buttons-border-color",
"--spectrum-stepper-buttons-border-color-focus",
"--spectrum-stepper-buttons-border-color-focus-hover",
@@ -126,26 +113,21 @@
"global": [
"--spectrum-animation-duration-100",
"--spectrum-border-width-100",
- "--spectrum-border-width-200",
"--spectrum-component-height-100",
"--spectrum-component-height-200",
"--spectrum-component-height-300",
"--spectrum-component-height-75",
"--spectrum-corner-radius-100",
- "--spectrum-disabled-background-color",
"--spectrum-disabled-border-color",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
- "--spectrum-gray-200",
- "--spectrum-gray-300",
- "--spectrum-gray-400",
+ "--spectrum-gray-25",
"--spectrum-gray-50",
"--spectrum-gray-500",
"--spectrum-gray-600",
"--spectrum-gray-800",
"--spectrum-gray-900",
- "--spectrum-in-field-button-fill-stacked-inner-border-rounding",
"--spectrum-in-field-button-width-stacked-extra-large",
"--spectrum-in-field-button-width-stacked-large",
"--spectrum-in-field-button-width-stacked-medium",
@@ -158,57 +140,60 @@
"--spectrum-text-field-minimum-width-multiplier"
],
"system-theme": [
- "--system-spectrum-stepper-border-color",
- "--system-spectrum-stepper-border-color-focus",
- "--system-spectrum-stepper-border-color-focus-hover",
- "--system-spectrum-stepper-border-color-focus-hover-invalid",
- "--system-spectrum-stepper-border-color-focus-invalid",
- "--system-spectrum-stepper-border-color-hover",
- "--system-spectrum-stepper-border-color-invalid",
- "--system-spectrum-stepper-border-color-keyboard-focus",
- "--system-spectrum-stepper-border-color-keyboard-focus-invalid",
- "--system-spectrum-stepper-border-width",
- "--system-spectrum-stepper-button-background-color-focus",
- "--system-spectrum-stepper-button-background-color-keyboard-focus",
- "--system-spectrum-stepper-button-border-radius-reset",
- "--system-spectrum-stepper-button-border-width",
- "--system-spectrum-stepper-buttons-background-color",
- "--system-spectrum-stepper-buttons-border-color",
- "--system-spectrum-stepper-buttons-border-color-focus",
- "--system-spectrum-stepper-buttons-border-color-hover",
- "--system-spectrum-stepper-buttons-border-color-keyboard-focus",
- "--system-spectrum-stepper-buttons-border-style",
- "--system-spectrum-stepper-buttons-border-width",
- "--system-spectrum-stepper-disabled-buttons-background-color",
- "--system-spectrum-stepper-disabled-buttons-border-width"
+ "--system-stepper-border-color-default",
+ "--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",
+ "--mod-infield-button-border-color-quiet",
"--mod-infield-button-border-color-quiet-disabled",
"--mod-infield-button-border-width",
+ "--mod-infield-button-edge-to-fill",
"--mod-infield-button-fill-justify-content",
+ "--mod-infield-button-inner-edge-to-fill",
"--mod-infield-button-stacked-bottom-border-block-end-width",
"--mod-infield-button-stacked-bottom-border-radius-end-end",
"--mod-infield-button-stacked-bottom-border-radius-end-start",
"--mod-infield-button-width-stacked",
+ "--mod-textfield-background-color",
+ "--mod-textfield-border-color",
+ "--mod-textfield-border-color-hover",
"--mod-textfield-border-width",
"--mod-textfield-focus-indicator-color",
+ "--mod-textfield-focus-indicator-width",
"--mod-textfield-icon-spacing-inline-start-invalid"
],
"high-contrast": [
"--highcontrast-infield-button-border-color",
+ "--highcontrast-infield-button-border-color-active",
"--highcontrast-stepper-border-color",
"--highcontrast-stepper-border-color-focus",
"--highcontrast-stepper-border-color-focus-hover",
"--highcontrast-stepper-border-color-hover",
"--highcontrast-stepper-border-color-keyboard-focus",
- "--highcontrast-stepper-button-background-color-default",
- "--highcontrast-stepper-button-background-color-focus",
- "--highcontrast-stepper-button-background-color-hover",
- "--highcontrast-stepper-button-background-color-keyboard-focus",
- "--highcontrast-stepper-buttons-background-color",
"--highcontrast-stepper-buttons-border-width",
- "--highcontrast-stepper-focus-indicator-color"
+ "--highcontrast-stepper-focus-indicator-color",
+ "--highcontrast-textfield-border-color"
]
}
diff --git a/components/stepper/metadata/mods.md b/components/stepper/metadata/mods.md
index bdec6a209ac..bc6ff05f347 100644
--- a/components/stepper/metadata/mods.md
+++ b/components/stepper/metadata/mods.md
@@ -26,6 +26,7 @@
| `--mod-stepper-buttons-border-width` |
| `--mod-stepper-focus-indicator-color` |
| `--mod-stepper-focus-indicator-gap` |
+| `--mod-stepper-focus-indicator-visibility` |
| `--mod-stepper-focus-indicator-width` |
| `--mod-stepper-height` |
| `--mod-stepper-min-width-multiplier` |
diff --git a/components/stepper/package.json b/components/stepper/package.json
index 9fda6f9abcc..b12474fd31c 100644
--- a/components/stepper/package.json
+++ b/components/stepper/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/stepper",
- "version": "6.3.0",
+ "version": "7.0.0-s2-foundations.19",
"description": "The Spectrum CSS stepper component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,21 +21,23 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/actionbutton": ">=6",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/infieldbutton": ">=5",
- "@spectrum-css/textfield": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/infieldbutton": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/textfield": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/infieldbutton": {
diff --git a/components/stepper/stories/stepper.stories.js b/components/stepper/stories/stepper.stories.js
index cbd0c044e19..d92d141cd80 100644
--- a/components/stepper/stories/stepper.stories.js
+++ b/components/stepper/stories/stepper.stories.js
@@ -42,6 +42,10 @@ export default {
hideStepper: false
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=67507-450",
+ },
packageJson,
metadata,
},
diff --git a/components/stepper/stories/template.js b/components/stepper/stories/template.js
index fb14155af87..fbb818b72f3 100644
--- a/components/stepper/stories/template.js
+++ b/components/stepper/stories/template.js
@@ -8,6 +8,9 @@ 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
index 6cc552c49f9..9968bbcc2ad 100644
--- a/components/stepper/themes/express.css
+++ b/components/stepper/themes/express.css
@@ -11,11 +11,18 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@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-buttons-border-style: solid;
--spectrum-stepper-buttons-border-width: var(--spectrum-border-width-200);
@@ -25,26 +32,21 @@
--spectrum-stepper-buttons-border-color-focus: transparent;
--spectrum-stepper-buttons-border-color-keyboard-focus: transparent;
- --spectrum-stepper-button-border-radius-reset: var(--spectrum-in-field-button-fill-stacked-inner-border-rounding);
--spectrum-stepper-button-border-width: 0;
- --spectrum-stepper-border-color: 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);
-
+ /** 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;
- --spectrum-stepper-button-background-color-focus: var(--spectrum-gray-400);
- --spectrum-stepper-button-background-color-keyboard-focus: var(--spectrum-gray-300);
+ /** Disabled **/
+ --spectrum-stepper-button-border-width-disabled: 0;
+ --spectrum-stepper-buttons-background-color-disabled: var(--spectrum-disabled-background-color);
+ }
- &.is-disabled {
- --spectrum-stepper-buttons-background-color: var(--spectrum-disabled-background-color);
- --spectrum-stepper-buttons-border-width: 0;
- }
+ .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
new file mode 100644
index 00000000000..2f5d63ea8d1
--- /dev/null
+++ b/components/stepper/themes/spectrum-two.css
@@ -0,0 +1,48 @@
+/*!
+ * 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-800);
+ --spectrum-stepper-border-color-keyboard-focus: var(--spectrum-gray-900);
+
+ --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-25);
+ --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-button-border-width-disabled: var(--spectrum-border-width-100);
+ --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
index 17bb6158b38..eff0c5977a5 100644
--- a/components/stepper/themes/spectrum.css
+++ b/components/stepper/themes/spectrum.css
@@ -11,33 +11,13 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
- .spectrum-Stepper {
- --spectrum-stepper-border-width: var(--spectrum-border-width-100);
-
- --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-50);
- --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-radius-reset: 0px;
- --spectrum-stepper-button-border-width: var(--spectrum-border-width-100);
+/* @combine .spectrum.spectrum--legacy */
- --spectrum-stepper-border-color: 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-900);
+@import "./spectrum-two.css";
- --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);
-
- --spectrum-stepper-button-background-color-focus: var(--spectrum-gray-300);
- --spectrum-stepper-button-background-color-keyboard-focus: var(--spectrum-gray-200);
+@container style(--system: legacy) {
+ .spectrum-Stepper {
+ --spectrum-stepper-buttons-background-color: var(--spectrum-gray-50);
+ --spectrum-stepper-buttons-background-color-disabled: var(--spectrum-gray-100);
}
}
diff --git a/components/swatch/CHANGELOG.md b/components/swatch/CHANGELOG.md
index 6505146564a..d5a6fd32995 100644
--- a/components/swatch/CHANGELOG.md
+++ b/components/swatch/CHANGELOG.md
@@ -1,5 +1,251 @@
# Change Log
+## 7.0.0-s2-foundations.18
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.16
+
+## 7.0.0-s2-foundations.17
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`aedc167`](https://github.com/adobe/spectrum-css/commit/aedc167f86d810f54dea1b2aacb191e718ac9598) Thanks [@pfulton](https://github.com/pfulton)! - Border color for Swatch on light/dark mode switched to use gray instead of black so it responds to theme.
+
+- Updated dependencies [[`aedc167`](https://github.com/adobe/spectrum-css/commit/aedc167f86d810f54dea1b2aacb191e718ac9598)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.27
+
+## 7.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.15
+
+## 7.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 7.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 7.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2954](https://github.com/adobe/spectrum-css/pull/2954) [`2d89227`](https://github.com/adobe/spectrum-css/commit/2d892277adbc1d8d5598bdf85130d3499fd31e13) Thanks [@marissahuysentruyt](https://github.com/marissahuysentruyt)! - Reimplements support for the `spectrum-Swatch--lightBorder` class for swatches specifically in a swatch group.
+
+### Patch Changes
+
+- Updated dependencies [[`58a89ea`](https://github.com/adobe/spectrum-css/commit/58a89ea464c387111511271a5f5afce044f11042)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.15
+
+## 7.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 7.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 7.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 7.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 7.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 7.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.6
+
+## 7.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 7.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 7.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 7.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 7.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 7.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.0
+
## 6.4.1
### Patch Changes
@@ -25,6 +271,17 @@
### Patch Changes
+- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
+ - @spectrum-css/tokens@14.5.0
+
+## 6.3.0
+
+### Minor Changes
+
+- [#3253](https://github.com/adobe/spectrum-css/pull/3253) [`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86) Thanks [@castastrophe](https://github.com/castastrophe)! - This update removes tokens defined locally that belonged in the global scope. To ensure no regressions, please upgrade your @spectrum-css/tokens package at the same time so you will pick up the component-level definitions now in the global tokens scope. References to `.spectrum--(light|dark|darkest|medium|large)` have been removed.
+
+### Patch Changes
+
- Updated dependencies [[`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86)]:
- @spectrum-css/tokens@14.5.0
diff --git a/components/swatch/index.css b/components/swatch/index.css
index 18c0f4b7cf2..14f706be43b 100644
--- a/components/swatch/index.css
+++ b/components/swatch/index.css
@@ -11,32 +11,34 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
-/* Swatch tokens */
-.spectrum-Swatch {
- /* Placeholder tokens */
- --spectrum-swatch-focus-indicator-border-radius: 8px;
- --spectrum-swatch-icon-border-color: rgb(0 0 0 / 51%);
+/* Windows high contrast mode */
+@media (forced-colors: active) {
+ .spectrum-Swatch {
+ --highcontrast-swatch-disabled-icon-color: GrayText;
+ --highcontrast-swatch-focus-indicator-color: ButtonText;
+ --highcontrast-swatch-background-color-selected: Background;
+ --highcontrast-swatch-border-color-selected: Highlight;
+ --highcontrast-swatch-border-color: ButtonText;
+ --highcontrast-swatch-fill-foreground-color: ButtonText;
+
+ .spectrum-Swatch-fill {
+ forced-color-adjust: none;
+ }
+ }
+
+ .spectrum-Swatch[disabled],
+ .spectrum-Swatch.is-disabled {
+ --highcontrast-swatch-border-color: GrayText;
+ }
+}
- /* Size */
+.spectrum-Swatch,
+.spectrum-Swatch--sizeS {
--spectrum-swatch-size: var(--spectrum-swatch-size-small);
- --spectrum-swatch-border-radius: var(--spectrum-corner-radius-100);
- --spectrum-swatch-border-thickness: var(--spectrum-border-width-100);
- --spectrum-swatch-border-thickness-selected: var(--spectrum-border-width-200);
--spectrum-swatch-disabled-icon-size: var(--spectrum-workflow-icon-size-75);
--spectrum-swatch-slash-thickness: var(--spectrum-swatch-slash-thickness-small);
- --spectrum-swatch-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
- --spectrum-swatch-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
-
- /* Color */
- --spectrum-swatch-border-color-selected: var(--spectrum-gray-900);
- --spectrum-swatch-inner-border-color-selected: var(--spectrum-gray-50);
- --spectrum-swatch-disabled-icon-border-color: var(--spectrum-swatch-disabled-icon-border-color);
- --spectrum-swatch-disabled-icon-color: var(--spectrum-white);
- --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);
}
.spectrum-Swatch--sizeXS {
@@ -45,12 +47,6 @@
--spectrum-swatch-slash-thickness: var(--spectrum-swatch-slash-thickness-extra-small);
}
-.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--sizeM {
--spectrum-swatch-size: var(--spectrum-swatch-size-medium);
--spectrum-swatch-disabled-icon-size: var(--spectrum-workflow-icon-size-100);
@@ -63,29 +59,19 @@
--spectrum-swatch-slash-thickness: var(--spectrum-swatch-slash-thickness-large);
}
-/* Windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-Swatch {
- --highcontrast-swatch-disabled-icon-color: GrayText;
- --highcontrast-swatch-focus-indicator-color: ButtonText;
- --highcontrast-swatch-background-color-selected: Background;
- --highcontrast-swatch-border-color-selected: Highlight;
- --highcontrast-swatch-border-color: ButtonText;
- --highcontrast-swatch-fill-foreground-color: ButtonText;
-
- .spectrum-Swatch-fill {
- forced-color-adjust: none;
- }
- }
-
- .spectrum-Swatch[disabled],
- .spectrum-Swatch.is-disabled {
- --highcontrast-swatch-border-color: GrayText;
- }
-}
-
-/* Swatch styles */
.spectrum-Swatch {
+ --spectrum-swatch-focus-indicator-border-radius: 8px;
+ --spectrum-swatch-icon-border-color: rgb(0 0 0 / 51%);
+ --spectrum-swatch-border-radius: var(--spectrum-corner-radius-100);
+ --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));
@@ -241,7 +227,6 @@
position: absolute;
inset: 0;
z-index: 0;
-
background: var(--spectrum-picked-color, transparent);
/* Swatch border */
@@ -255,7 +240,6 @@
.spectrum-Swatch-fill {
&::before {
box-shadow: none;
-
background: var(--spectrum-picked-color, transparent);
}
}
@@ -264,7 +248,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(--highcontrast-swatch-border-color-light, var(--mod-swatch-border-color-light, var(--spectrum-swatch-border-color-light)));
+ 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));
}
}
}
@@ -272,7 +256,6 @@
.spectrum-Swatch-mixedValueIcon {
display: none;
pointer-events: none;
-
color: var(--spectrum-picked-color, transparent);
}
diff --git a/components/swatch/metadata/metadata.json b/components/swatch/metadata/metadata.json
index 341ffaf99e4..4a966fe7404 100644
--- a/components/swatch/metadata/metadata.json
+++ b/components/swatch/metadata/metadata.json
@@ -73,12 +73,12 @@
"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-color",
"--spectrum-swatch-disabled-icon-color",
"--spectrum-swatch-disabled-icon-size",
"--spectrum-swatch-focus-indicator-border-radius",
@@ -86,6 +86,8 @@
"--spectrum-swatch-focus-indicator-gap",
"--spectrum-swatch-focus-indicator-thickness",
"--spectrum-swatch-icon-border-color",
+ "--spectrum-swatch-icon-border-color-opacity",
+ "--spectrum-swatch-icon-border-color-rgb",
"--spectrum-swatch-inner-border-color-selected",
"--spectrum-swatch-size",
"--spectrum-swatch-size-extra-small",
@@ -107,23 +109,26 @@
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
- "--spectrum-gray-50",
+ "--spectrum-gray-1000-rgb",
+ "--spectrum-gray-25",
"--spectrum-gray-800",
"--spectrum-gray-900",
"--spectrum-picked-color",
"--spectrum-red-900",
- "--spectrum-white",
"--spectrum-workflow-icon-size-100",
"--spectrum-workflow-icon-size-200",
"--spectrum-workflow-icon-size-50",
"--spectrum-workflow-icon-size-75"
],
- "system-theme": [],
+ "system-theme": [
+ "--system-swatch-border-color",
+ "--system-swatch-disabled-icon-color",
+ "--system-swatch-inner-border-color-selected"
+ ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-swatch-background-color-selected",
"--highcontrast-swatch-border-color",
- "--highcontrast-swatch-border-color-light",
"--highcontrast-swatch-border-color-selected",
"--highcontrast-swatch-disabled-icon-color",
"--highcontrast-swatch-fill-foreground-color",
diff --git a/components/swatch/package.json b/components/swatch/package.json
index 55d5844340c..6fd171e3ae7 100644
--- a/components/swatch/package.json
+++ b/components/swatch/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/swatch",
- "version": "6.4.1",
+ "version": "7.0.0-s2-foundations.18",
"description": "The Spectrum CSS Color swatch component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/opacitycheckerboard": ">=2",
- "@spectrum-css/tokens": ">=14.5.0"
+ "@spectrum-css/opacitycheckerboard": ">=3.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/opacitycheckerboard": "workspace:^",
diff --git a/components/swatch/stories/swatch.stories.js b/components/swatch/stories/swatch.stories.js
index 433e4261378..1d7cc28ab27 100644
--- a/components/swatch/stories/swatch.stories.js
+++ b/components/swatch/stories/swatch.stories.js
@@ -99,6 +99,10 @@ export default {
isMixedValue: false,
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=57008-1092",
+ },
packageJson,
metadata,
},
diff --git a/components/swatch/stories/template.js b/components/swatch/stories/template.js
index e838c38f1ee..e9470ff2564 100644
--- a/components/swatch/stories/template.js
+++ b/components/swatch/stories/template.js
@@ -9,6 +9,9 @@ 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",
diff --git a/components/swatch/themes/express.css b/components/swatch/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/swatch/themes/express.css
+++ b/components/swatch/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/swatch/themes/spectrum-two.css b/components/swatch/themes/spectrum-two.css
new file mode 100644
index 00000000000..e753d50ca03
--- /dev/null
+++ b/components/swatch/themes/spectrum-two.css
@@ -0,0 +1,21 @@
+/*!
+ * 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-disabled-icon-color: var(--spectrum-gray-25);
+ }
+}
diff --git a/components/swatch/themes/spectrum.css b/components/swatch/themes/spectrum.css
index 3b48a570c21..40660a06991 100644
--- a/components/swatch/themes/spectrum.css
+++ b/components/swatch/themes/spectrum.css
@@ -10,3 +10,14 @@
* 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-inner-border-color-selected: var(--spectrum-gray-50);
+ --spectrum-swatch-disabled-icon-color: var(--spectrum-gray-50);
+ }
+}
diff --git a/components/swatchgroup/CHANGELOG.md b/components/swatchgroup/CHANGELOG.md
index 5fbef6e8133..b28a344c087 100644
--- a/components/swatchgroup/CHANGELOG.md
+++ b/components/swatchgroup/CHANGELOG.md
@@ -1,5 +1,231 @@
# Change Log
+## 4.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/swatch@7.0.0-s2-foundations.18
+
+## 4.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.16
+
+## 4.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 4.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 4.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 4.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 4.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 4.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 4.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 4.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 4.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/swatch@7.0.0-s2-foundations.6
+
+## 4.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 4.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 4.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 4.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 4.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 4.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/swatch@7.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 3.2.0
### Minor Changes
diff --git a/components/swatchgroup/index.css b/components/swatchgroup/index.css
index 0c46df9a83e..46bfda46134 100644
--- a/components/swatchgroup/index.css
+++ b/components/swatchgroup/index.css
@@ -11,32 +11,28 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-SwatchGroup {
- --spectrum-swatchgroup-spacing-compact: var(--spectrum-spacing-50);
- --spectrum-swatchgroup-spacing-regular: var(--spectrum-spacing-75);
- --spectrum-swatchgroup-spacing-spacious: var(--spectrum-spacing-100);
-}
+ --spectrum-swatchgroup-spacing: var(--spectrum-spacing-75);
-.spectrum-SwatchGroup {
display: inline-flex;
flex-flow: row wrap;
align-items: flex-start;
justify-content: flex-start;
-}
-/* Regular (Default) */
-.spectrum-SwatchGroup {
- gap: var(--mod-swatchgroup-spacing-regular, var(--spectrum-swatchgroup-spacing-regular));
+ /* Regular (Default) */
+ gap: var(--mod-swatchgroup-spacing-regular, var(--spectrum-swatchgroup-spacing));
}
/* Compact */
.spectrum-SwatchGroup--compact {
- gap: var(--mod-swatchgroup-spacing-compact, var(--spectrum-swatchgroup-spacing-compact));
+ --mod-swatchgroup-spacing-regular: var(--mod-swatchgroup-spacing-compact);
+ --spectrum-swatchgroup-spacing: var(--spectrum-spacing-50);
}
/* Spacious */
.spectrum-SwatchGroup--spacious {
- gap: var(--mod-swatchgroup-spacing-spacious, var(--spectrum-swatchgroup-spacing-spacious));
+ --mod-swatchgroup-spacing-regular: var(--mod-swatchgroup-spacing-spacious);
+ --spectrum-swatchgroup-spacing: var(--spectrum-spacing-100);
}
diff --git a/components/swatchgroup/metadata/metadata.json b/components/swatchgroup/metadata/metadata.json
index b03c96ca873..74adf019d54 100644
--- a/components/swatchgroup/metadata/metadata.json
+++ b/components/swatchgroup/metadata/metadata.json
@@ -10,11 +10,7 @@
"--mod-swatchgroup-spacing-regular",
"--mod-swatchgroup-spacing-spacious"
],
- "component": [
- "--spectrum-swatchgroup-spacing-compact",
- "--spectrum-swatchgroup-spacing-regular",
- "--spectrum-swatchgroup-spacing-spacious"
- ],
+ "component": ["--spectrum-swatchgroup-spacing"],
"global": [
"--spectrum-spacing-100",
"--spectrum-spacing-50",
diff --git a/components/swatchgroup/package.json b/components/swatchgroup/package.json
index ee54f9d7809..ead8de9ad4b 100644
--- a/components/swatchgroup/package.json
+++ b/components/swatchgroup/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/swatchgroup",
- "version": "3.2.0",
+ "version": "4.0.0-s2-foundations.16",
"description": "The Spectrum CSS Color swatch group component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/swatch": ">=6",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/swatch": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/swatch": "workspace:^",
diff --git a/components/swatchgroup/stories/swatchgroup.stories.js b/components/swatchgroup/stories/swatchgroup.stories.js
index 1b33f6c0deb..05e126cfae7 100644
--- a/components/swatchgroup/stories/swatchgroup.stories.js
+++ b/components/swatchgroup/stories/swatchgroup.stories.js
@@ -112,6 +112,10 @@ export default {
...(Swatch.parameters?.actions?.handles ?? []),
],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=57008-1093",
+ },
packageJson,
metadata,
},
diff --git a/components/swatchgroup/stories/template.js b/components/swatchgroup/stories/template.js
index 01c059998bd..34117cb94b3 100644
--- a/components/swatchgroup/stories/template.js
+++ b/components/swatchgroup/stories/template.js
@@ -6,6 +6,9 @@ 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-SwatchGroup",
diff --git a/components/swatchgroup/themes/express.css b/components/swatchgroup/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/swatchgroup/themes/express.css
+++ b/components/swatchgroup/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/swatchgroup/themes/spectrum-two.css b/components/swatchgroup/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/swatchgroup/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/swatchgroup/themes/spectrum.css b/components/swatchgroup/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/swatchgroup/themes/spectrum.css
+++ b/components/swatchgroup/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/switch/CHANGELOG.md b/components/switch/CHANGELOG.md
index 0598a7e3edd..e6792c7a3f6 100644
--- a/components/switch/CHANGELOG.md
+++ b/components/switch/CHANGELOG.md
@@ -1,5 +1,216 @@
# Change Log
+## 6.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 6.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 6.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a477157`](https://github.com/adobe/spectrum-css/commit/a477157a27c6fe5bba3f42397438d21c0cff4ddb) Thanks [@pfulton](https://github.com/pfulton)! - fix(switch): migrate mods
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
diff --git a/components/switch/index.css b/components/switch/index.css
index 7913f290947..4e8482f86d7 100644
--- a/components/switch/index.css
+++ b/components/switch/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Switch {
--spectrum-switch-label-color-default: var(--spectrum-neutral-content-color-default);
@@ -20,19 +20,14 @@
--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: var(--spectrum-gray-300);
- --spectrum-switch-background-color-disabled: var(--spectrum-gray-300);
- --spectrum-switch-background-color-selected-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-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-color: var(--spectrum-focus-indicator-color);
-
- --spectrum-switch-handle-background-color: var(--spectrum-gray-75);
--spectrum-switch-handle-border-color-disabled: var(--spectrum-disabled-content-color);
}
@@ -58,17 +53,7 @@
--spectrum-switch-handle-border-color-selected-focus: var(--spectrum-accent-color-1000);
}
-.spectrum-Switch--sizeS {
- --spectrum-switch-min-height: var(--spectrum-component-height-75);
- --spectrum-switch-control-width: var(--spectrum-switch-control-width-small);
- --spectrum-switch-control-height: var(--spectrum-switch-control-height-small);
- --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-font-size: var(--spectrum-font-size-75);
-}
-
+.spectrum-Switch,
.spectrum-Switch--sizeM {
--spectrum-switch-min-height: var(--spectrum-component-height-100);
--spectrum-switch-control-width: var(--spectrum-switch-control-width-medium);
@@ -80,6 +65,17 @@
--spectrum-switch-font-size: var(--spectrum-font-size-100);
}
+.spectrum-Switch--sizeS {
+ --spectrum-switch-min-height: var(--spectrum-component-height-75);
+ --spectrum-switch-control-width: var(--spectrum-switch-control-width-small);
+ --spectrum-switch-control-height: var(--spectrum-switch-control-height-small);
+ --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-font-size: var(--spectrum-font-size-75);
+}
+
.spectrum-Switch--sizeL {
--spectrum-switch-min-height: var(--spectrum-component-height-200);
--spectrum-switch-control-width: var(--spectrum-switch-control-width-large);
@@ -272,7 +268,7 @@
&:disabled,
&[disabled] {
& + .spectrum-Switch-switch {
- background-color: var(--highcontrast-switch-background-color-disabled, var(--mod-switch-background-color-disabled, var(--spectrum-switch-background-color-disabled)));
+ background-color: var(--mod-switch-background-color-disabled, var(--spectrum-switch-background-color-disabled));
}
& + .spectrum-Switch-switch::before {
@@ -371,7 +367,7 @@
.spectrum-Switch-input:disabled,
.spectrum-Switch-input[disabled] {
& + .spectrum-Switch-switch {
- background-color: var(--highcontrast-switch-background-color-disabled, var(--mod-switch-background-color-disabled, var(--spectrum-switch-background-color-disabled)));
+ background-color: var(--mod-switch-background-color-disabled, var(--spectrum-switch-background-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)));
diff --git a/components/switch/metadata/metadata.json b/components/switch/metadata/metadata.json
index d97f21effae..00a47cdd798 100644
--- a/components/switch/metadata/metadata.json
+++ b/components/switch/metadata/metadata.json
@@ -182,10 +182,10 @@
"--spectrum-font-size-200",
"--spectrum-font-size-300",
"--spectrum-font-size-75",
- "--spectrum-gray-300",
+ "--spectrum-gray-200",
+ "--spectrum-gray-50",
"--spectrum-gray-600",
"--spectrum-gray-700",
- "--spectrum-gray-75",
"--spectrum-gray-800",
"--spectrum-gray-900",
"--spectrum-line-height-100",
@@ -203,19 +203,21 @@
"--spectrum-text-to-control-75"
],
"system-theme": [
- "--system-spectrum-switch-handle-border-color-default",
- "--system-spectrum-switch-handle-border-color-down",
- "--system-spectrum-switch-handle-border-color-focus",
- "--system-spectrum-switch-handle-border-color-hover",
- "--system-spectrum-switch-handle-border-color-selected-default",
- "--system-spectrum-switch-handle-border-color-selected-down",
- "--system-spectrum-switch-handle-border-color-selected-focus",
- "--system-spectrum-switch-handle-border-color-selected-hover"
+ "--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",
diff --git a/components/switch/package.json b/components/switch/package.json
index 05fb335f77b..68330795ec4 100644
--- a/components/switch/package.json
+++ b/components/switch/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/switch",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.17",
"description": "The Spectrum CSS switch component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/switch/stories/switch.stories.js b/components/switch/stories/switch.stories.js
index 561518c4c33..fb385afc12a 100644
--- a/components/switch/stories/switch.stories.js
+++ b/components/switch/stories/switch.stories.js
@@ -39,6 +39,10 @@ export default {
size: "m",
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=164-16761",
+ },
packageJson,
metadata,
},
diff --git a/components/switch/stories/template.js b/components/switch/stories/template.js
index 4f0877d5c86..5e67a3cc8b3 100644
--- a/components/switch/stories/template.js
+++ b/components/switch/stories/template.js
@@ -6,6 +6,9 @@ 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
index 6f4e39a2b7a..ac5198ba733 100644
--- a/components/switch/themes/express.css
+++ b/components/switch/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@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);
diff --git a/components/switch/themes/spectrum-two.css b/components/switch/themes/spectrum-two.css
new file mode 100644
index 00000000000..c2ed1a192a4
--- /dev/null
+++ b/components/switch/themes/spectrum-two.css
@@ -0,0 +1,30 @@
+/*!
+ * 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
index 755d004ae61..8b32e03d8f3 100644
--- a/components/switch/themes/spectrum.css
+++ b/components/switch/themes/spectrum.css
@@ -11,16 +11,14 @@
* governing permissions and limitations under the License.
*/
-@container (--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);
+/* @combine .spectrum.spectrum--legacy */
+
+@import "./spectrum-two.css";
- --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);
+@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 13133217549..e01513a13b9 100644
--- a/components/table/CHANGELOG.md
+++ b/components/table/CHANGELOG.md
@@ -1,5 +1,294 @@
# Change Log
+## 7.0.0-s2-foundations.18
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.18
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.20
+ - @spectrum-css/button@14.0.0-s2-foundations.19
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 7.0.0-s2-foundations.17
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.15
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.18
+ - @spectrum-css/button@14.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 7.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.14
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.17
+ - @spectrum-css/button@14.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 7.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.13
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.16
+ - @spectrum-css/button@14.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 7.0.0-s2-foundations.14
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`1037169`](https://github.com/adobe/spectrum-css/commit/103716919fa4e0d43c68e67e1fd3355651c02016) Thanks [@pfulton](https://github.com/pfulton)! - Move --highcontrast references out of themes; remove remaining --mods from the themes
+
+## 7.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#3040](https://github.com/adobe/spectrum-css/pull/3040) [`cf2e737`](https://github.com/adobe/spectrum-css/commit/cf2e73743b2c3d43d4c51fceeabfb99fda1ac4b5) Thanks [@aramos-adobe](https://github.com/aramos-adobe)! - Migrating --mod to index.css from infield button, logic button and table components
+
+## 7.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.12
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.12
+ - @spectrum-css/button@14.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.11
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.11
+ - @spectrum-css/button@14.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 7.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.10
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.10
+ - @spectrum-css/button@14.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 7.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.9
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.9
+ - @spectrum-css/button@14.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 7.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.8
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.8
+ - @spectrum-css/button@14.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 7.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.7
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.7
+ - @spectrum-css/button@14.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 7.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.6
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.6
+ - @spectrum-css/button@14.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 7.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.5
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.5
+ - @spectrum-css/button@14.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 7.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.4
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.4
+ - @spectrum-css/button@14.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 7.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.3
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.3
+ - @spectrum-css/button@14.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 7.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.2
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.2
+ - @spectrum-css/button@14.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 7.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.1
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.1
+ - @spectrum-css/button@14.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 7.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/checkbox@10.0.0-s2-foundations.0
+ - @spectrum-css/button@14.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.0
+
## 6.2.0
### Minor Changes
@@ -20,6 +309,12 @@
- [#3305](https://github.com/adobe/spectrum-css/pull/3305) [`092aac5`](https://github.com/adobe/spectrum-css/commit/092aac56953f4c02cd5227e3f61c6cb0b2b4e46a) Thanks [@cdransf](https://github.com/cdransf)! - Move mod declaration to satisfy lint rules. Rename table custom properties to align with lint rules.
+## 6.1.4
+
+### Patch Changes
+
+- [#3305](https://github.com/adobe/spectrum-css/pull/3305) [`092aac5`](https://github.com/adobe/spectrum-css/commit/092aac56953f4c02cd5227e3f61c6cb0b2b4e46a) Thanks [@cdransf](https://github.com/cdransf)! - Move mod declaration to satisfy lint rules. Rename table custom properties to align with lint rules.
+
## 6.1.3
### Patch Changes
diff --git a/components/table/index.css b/components/table/index.css
index 9f58a1b3265..830e1528ff4 100644
--- a/components/table/index.css
+++ b/components/table/index.css
@@ -11,71 +11,105 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
-.spectrum-Table {
- /* Size and Spacing */
- --spectrum-table-header-top-to-text: var(--spectrum-table-column-header-row-top-to-text-medium);
- --spectrum-table-header-bottom-to-text: var(--spectrum-table-column-header-row-bottom-to-text-medium);
+/********* HIGH CONTRAST *********/
+@media (forced-colors: active) {
+ .spectrum-Table {
+ --highcontrast-table-row-background-color: Canvas;
+ --highcontrast-table-row-text-color: CanvasText;
+ --highcontrast-table-divider-color: CanvasText;
+ --highcontrast-table-border-color: CanvasText;
+ --highcontrast-table-icon-color: CanvasText;
+ --highcontrast-table-icon-color-focus: Highlight;
- --spectrum-table-min-header-height: var(--spectrum-component-height-100);
- --spectrum-table-min-row-height: var(--spectrum-table-row-height-medium-regular);
- --spectrum-table-row-top-to-text: var(--spectrum-table-row-top-to-text-medium-regular);
- --spectrum-table-row-bottom-to-text: var(--spectrum-table-row-bottom-to-text-medium-regular);
+ --highcontrast-table-selected-row-background-color: Highlight;
+ --highcontrast-table-selected-row-text-color: HighlightText;
+
+ @supports (color: SelectedItem) {
+ --highcontrast-table-selected-row-background-color: SelectedItem;
+ --highcontrast-table-selected-row-text-color: SelectedItemText;
+ }
+
+ --highcontrast-table-selected-row-background-color-focus: Highlight;
+ --highcontrast-table-selected-row-text-color-focus: HighlightText;
+ --highcontrast-table-row-background-color-hover: Highlight;
+ --highcontrast-table-row-text-color-hover: HighlightText;
+
+ --highcontrast-table-section-header-text-color: Canvas;
+ --highcontrast-table-section-header-background-color: CanvasText;
+
+ --highcontrast-table-focus-indicator-color: Highlight;
+ --highcontrast-table-transition-duration: 0;
+ }
+ .spectrum-Table-cell {
+ /* Removes unstylable readability backplate. */
+ forced-color-adjust: none;
+ }
+
+ .spectrum-Table-row {
+ &:hover,
+ &:focus-visible,
+ &.is-focused {
+ .spectrum-Table-checkbox .spectrum-Checkbox-box::before {
+ outline: var(--highcontrast-table-row-text-color-hover) 1px solid;
+ }
+ }
+ }
+
+ .spectrum-Table-row.is-selected,
+ .spectrum-Table-row.is-drop-target,
+ .spectrum-Table-body.is-drop-target .spectrum-Table-row {
+ /* Ensure negative offset outline contrasts on top of SelectedItem background. */
+ --highcontrast-table-cell-focus-indicator-color: var(--highcontrast-table-selected-row-text-color);
+ --highcontrast-table-cell-focus-extra-offset: 1px;
+
+ .spectrum-Table-checkbox .spectrum-Checkbox-box::before {
+ outline: var(--highcontrast-table-selected-row-text-color) 1px solid;
+ }
+ }
+}
+
+.spectrum-Table {
--spectrum-table-cell-inline-space: var(--spectrum-table-edge-to-content);
--spectrum-table-border-radius: var(--spectrum-corner-radius-100);
--spectrum-table-border-width: var(--spectrum-table-border-divider-width);
--spectrum-table-outer-border-inline-width: var(--spectrum-table-border-divider-width);
- --spectrum-table-icon-to-text: var(--spectrum-text-to-visual-100);
-
--spectrum-table-default-vertical-align: top;
--spectrum-table-header-vertical-align: middle;
- /* Typography */
--spectrum-table-header-font-weight: var(--spectrum-bold-font-weight);
--spectrum-table-row-font-family: var(--spectrum-sans-font-family-stack);
--spectrum-table-row-font-weight: var(--spectrum-regular-font-weight);
--spectrum-table-row-font-style: var(--spectrum-default-font-style);
- --spectrum-table-row-font-size: var(--spectrum-font-size-100);
--spectrum-table-row-line-height: var(--spectrum-line-height-100);
- /* General Colors */
--spectrum-table-border-color: var(--spectrum-gray-300);
--spectrum-table-divider-color: var(--spectrum-gray-300);
-
--spectrum-table-header-background-color: var(--spectrum-transparent-white-100);
--spectrum-table-header-text-color: var(--spectrum-body-color);
-
--spectrum-table-row-background-color: var(--spectrum-gray-50);
--spectrum-table-row-text-color: var(--spectrum-neutral-content-color-default);
- /* ----- *
- @todo Refactor or remove these properties once the RGB stripped value is available. */
+ /* @todo Refactor or remove these properties once the RGB stripped value is available. */
--spectrum-table-selected-row-background-color: rgba(var(--spectrum-blue-900-rgb), var(--spectrum-table-selected-row-background-opacity));
--spectrum-table-selected-row-background-color-non-emphasized: rgba(var(--spectrum-gray-700-rgb), var(--spectrum-table-selected-row-background-opacity-non-emphasized));
--spectrum-table-row-background-color-hover: rgba(var(--spectrum-gray-900-rgb), var(--spectrum-table-row-hover-opacity));
-
--spectrum-table-row-active-color: rgba(var(--spectrum-gray-900-rgb), var(--spectrum-table-row-down-opacity));
--spectrum-table-selected-row-background-color-focus: rgba(var(--spectrum-blue-900-rgb), var(--spectrum-table-selected-row-background-opacity-hover));
--spectrum-table-selected-row-background-color-non-emphasized-focus: rgba(var(--spectrum-gray-700-rgb), var(--spectrum-table-selected-row-background-opacity-non-emphasized-hover));
- /* ----- */
-
--spectrum-table-icon-color-default: var(--spectrum-neutral-subdued-content-color-default);
--spectrum-table-icon-color-hover: var(--spectrum-neutral-subdued-content-color-hover);
--spectrum-table-icon-color-active: var(--spectrum-neutral-subdued-content-color-down);
- --spectrum-table-icon-color-focus: var(--spectrum-neutral-subdued-content-color-focus);
- --spectrum-table-icon-color-focus-hover: var(--spectrum-neutral-subdued-content-focus-hover);
+ --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-key-focus);
--spectrum-table-icon-color-key-focus: var(--spectrum-neutral-subdued-content-color-key-focus);
- /* Row Selection */
- --spectrum-table-header-checkbox-block-spacing: var(--spectrum-table-header-row-checkbox-to-top-medium);
- --spectrum-table-row-checkbox-block-spacing: var(--spectrum-table-row-checkbox-to-top-medium-regular);
-
--spectrum-table-focus-indicator-thickness: var(--spectrum-focus-indicator-thickness);
--spectrum-table-focus-indicator-color: var(--spectrum-focus-indicator-color);
@@ -88,30 +122,19 @@
--spectrum-table-summary-row-font-weight: var(--spectrum-bold-font-weight);
--spectrum-table-summary-row-background-color: var(--spectrum-gray-200);
- --spectrum-table-section-header-min-height: var(--spectrum-table-section-header-row-height-medium);
- --spectrum-table-section-header-block-start-spacing: var(--spectrum-component-top-to-text-100);
- --spectrum-table-section-header-block-end-spacing: var(--spectrum-component-bottom-to-text-100);
-
--spectrum-table-section-header-font-weight: var(--spectrum-bold-font-weight);
--spectrum-table-section-header-background-color: var(--spectrum-gray-200);
- /* Collapsible and Thumbnails */
+ /* Collapsible and thumbnails */
--spectrum-table-collapsible-tier-indent: var(--spectrum-spacing-300);
--spectrum-table-collapsible-disclosure-inline-spacing: 0px;
- --spectrum-table-disclosure-icon-size: var(--spectrum-component-height-100);
--spectrum-table-collapsible-icon-animation-duration: var(--spectrum-animation-duration-100);
- --spectrum-table-thumbnail-to-text: var(--spectrum-text-to-visual-100);
- --spectrum-table-thumbnail-block-spacing: var(--spectrum-table-thumbnail-to-top-minimum-medium-regular);
- --spectrum-table-thumbnail-size: var(--spectrum-thumbnail-size-300);
-
- /* Local custom properties used to assign row color to child cells, to help get around Firefox bug 921341
- and for modifying emphasized/non-emphasized background colors from the root element. */
--spectrum-table-cell-background-color: var(--highcontrast-table-row-background-color, var(--mod-table-row-background-color, var(--spectrum-table-row-background-color)));
--spectrum-table-selected-cell-background-color: var(--highcontrast-table-selected-row-background-color, var(--mod-table-selected-row-background-color-non-emphasized, var(--spectrum-table-selected-row-background-color-non-emphasized)));
--spectrum-table-selected-cell-background-color-focus: var(--highcontrast-table-selected-row-background-color-focus, var(--mod-table-selected-row-background-color-non-emphasized-focus, var(--spectrum-table-selected-row-background-color-non-emphasized-focus)));
- /* Passthrough for nested component(s) */
+ /* @passthrough */
--mod-thumbnail-size: var(--mod-table-thumbnail-size, var(--spectrum-table-thumbnail-size));
&:dir(rtl) {
@@ -119,7 +142,38 @@
}
}
-/********* T-SHIRT SIZES (Regular Density) *********/
+.spectrum-Table,
+.spectrum-Table--sizeM {
+ --spectrum-table-min-header-height: var(--spectrum-component-height-100);
+ --spectrum-table-header-top-to-text: var(--spectrum-table-column-header-row-top-to-text-medium);
+ --spectrum-table-header-bottom-to-text: var(--spectrum-table-column-header-row-bottom-to-text-medium);
+
+ --spectrum-table-min-row-height: var(--spectrum-table-row-height-medium-regular);
+ --spectrum-table-row-top-to-text: var(--spectrum-table-row-top-to-text-medium-regular);
+ --spectrum-table-row-bottom-to-text: var(--spectrum-table-row-bottom-to-text-medium-regular);
+
+ --spectrum-table-icon-to-text: var(--spectrum-text-to-visual-100);
+
+ /* Typography */
+ --spectrum-table-row-font-size: var(--spectrum-font-size-100);
+
+ /* Row Selection */
+ --spectrum-table-header-checkbox-block-spacing: var(--spectrum-table-header-row-checkbox-to-top-medium);
+ --spectrum-table-row-checkbox-block-spacing: var(--spectrum-table-row-checkbox-to-top-medium-regular);
+
+ /* Summary Row and Section Header Row */
+ --spectrum-table-section-header-min-height: var(--spectrum-table-section-header-row-height-medium);
+ --spectrum-table-section-header-block-start-spacing: var(--spectrum-component-top-to-text-100);
+ --spectrum-table-section-header-block-end-spacing: var(--spectrum-component-bottom-to-text-100);
+
+ /* Collapsible and Thumbnails */
+ --spectrum-table-disclosure-icon-size: var(--spectrum-component-height-100);
+
+ --spectrum-table-thumbnail-block-spacing: var(--spectrum-table-thumbnail-to-top-minimum-medium-regular);
+ --spectrum-table-thumbnail-to-text: var(--spectrum-text-to-visual-100);
+ --spectrum-table-thumbnail-size: var(--spectrum-thumbnail-size-300);
+}
+
.spectrum-Table--sizeS {
/* Size and Spacing */
--spectrum-table-min-header-height: var(--spectrum-component-height-100);
@@ -341,71 +395,12 @@
--mod-table-row-background-color: var(--mod-table-row-background-color--quiet, var(--spectrum-transparent-white-100));
}
-/********* HIGH CONTRAST *********/
-@media (forced-colors: active) {
- .spectrum-Table {
- --highcontrast-table-row-background-color: Canvas;
- --highcontrast-table-row-text-color: CanvasText;
- --highcontrast-table-divider-color: CanvasText;
- --highcontrast-table-border-color: CanvasText;
- --highcontrast-table-icon-color: CanvasText;
- --highcontrast-table-icon-color-focus: Highlight;
-
- --highcontrast-table-selected-row-background-color: Highlight;
- --highcontrast-table-selected-row-text-color: HighlightText;
- --highcontrast-table-selected-row-text-color-default: HighlightText;
-
- @supports (color: SelectedItem) {
- --highcontrast-table-selected-row-background-color: SelectedItem;
- --highcontrast-table-selected-row-text-color: SelectedItemText;
- --highcontrast-table-selected-row-text-color-default: SelectedItemText;
- }
-
- --highcontrast-table-selected-row-background-color-focus: Highlight;
- --highcontrast-table-selected-row-text-color-focus: HighlightText;
- --highcontrast-table-row-background-color-hover: Highlight;
- --highcontrast-table-row-text-color-hover: HighlightText;
-
- --highcontrast-table-section-header-text-color: Canvas;
- --highcontrast-table-section-header-background-color: CanvasText;
-
- --highcontrast-table-focus-indicator-color: Highlight;
- --highcontrast-table-transition-duration: 0;
- }
-
- .spectrum-Table-cell {
- /* Removes unstylable readability backplate. */
- forced-color-adjust: none;
- }
-
- .spectrum-Table-row {
- &:hover,
- &:focus-visible,
- &.is-focused {
- .spectrum-Table-checkbox .spectrum-Checkbox-box::before {
- outline: var(--highcontrast-table-row-text-color-hover) 1px solid;
- }
- }
- }
-
- .spectrum-Table-row.is-selected,
- .spectrum-Table-row.is-drop-target,
- .spectrum-Table-body.is-drop-target .spectrum-Table-row {
- /* Ensure negative offset outline contrasts on top of SelectedItem background. */
- --highcontrast-table-cell-focus-indicator-color: var(--highcontrast-table-selected-row-text-color);
- --highcontrast-table-cell-focus-extra-offset: 1px;
-
- .spectrum-Table-checkbox .spectrum-Checkbox-box::before {
- outline: var(--highcontrast-table-selected-row-text-color) 1px solid;
- }
- }
-}
-
/********* REGULAR / DEFAULT *********/
.spectrum-Table:not(.spectrum-Table-scroller),
.spectrum-Table-main {
border-collapse: separate;
border-spacing: 0;
+ display: table;
}
.spectrum-Table-sortedIcon {
@@ -508,6 +503,7 @@
position: relative;
border: none;
border-radius: var(--mod-table-border-radius, var(--spectrum-table-border-radius));
+ display: table-row-group;
&.is-drop-target {
/* Make sure negative offset outline is not covered by borders. */
@@ -526,6 +522,22 @@
/* Row divider lines */
.spectrum-Table-cell {
border-block-start: var(--mod-table-border-width, var(--spectrum-table-border-width)) solid var(--highcontrast-table-divider-color, var(--mod-table-divider-color, var(--spectrum-table-divider-color)));
+
+ /* Cells within table body */
+ box-sizing: border-box;
+ font-size: var(--mod-table-row-font-size, var(--spectrum-table-row-font-size));
+ font-weight: var(--mod-table-row-font-weight, var(--spectrum-table-row-font-weight));
+ line-height: var(--mod-table-row-line-height, var(--spectrum-table-row-line-height));
+ vertical-align: var(--mod-table-default-vertical-align, var(--spectrum-table-default-vertical-align));
+ color: var(--highcontrast-table-row-text-color, var(--mod-table-row-text-color, var(--spectrum-table-row-text-color)));
+ background-color: var(--spectrum-table-cell-background-color);
+
+ /* block-size functions as min-block-size when using display table-cell. */
+ block-size: var(--mod-table-min-row-height, var(--spectrum-table-min-row-height));
+
+ padding-block-start: calc(var(--mod-table-row-top-to-text, var(--spectrum-table-row-top-to-text)) - var(--mod-table-border-width, var(--spectrum-table-border-width)));
+ padding-block-end: var(--mod-table-row-bottom-to-text, var(--spectrum-table-row-bottom-to-text));
+ padding-inline: calc(var(--mod-table-edge-to-content, var(--spectrum-table-edge-to-content)) - var(--mod-table-outer-border-inline-width, var(--spectrum-table-outer-border-inline-width)));
}
/* Outside border */
@@ -549,6 +561,12 @@
/* Rounded corners */
.spectrum-Table-row {
+ /* Rows within table body */
+ position: relative;
+ transition: background-color var(--highcontrast-table-transition-duration, var(--mod-table-transition-duration, var(--spectrum-table-transition-duration))) ease-in-out;
+ cursor: var(--mod-table-cursor-row-default, pointer);
+ border-block-start: none;
+
&:first-child .spectrum-Table-cell:first-child {
border-start-start-radius: var(--mod-table-border-radius, var(--spectrum-table-border-radius));
}
@@ -564,51 +582,6 @@
&:last-child .spectrum-Table-cell:last-child {
border-end-end-radius: var(--mod-table-border-radius, var(--spectrum-table-border-radius));
}
-}
-
-/* Cells within table body */
-.spectrum-Table-cell {
- box-sizing: border-box;
- font-size: var(--mod-table-row-font-size, var(--spectrum-table-row-font-size));
- font-weight: var(--mod-table-row-font-weight, var(--spectrum-table-row-font-weight));
- line-height: var(--mod-table-row-line-height, var(--spectrum-table-row-line-height));
- vertical-align: var(--mod-table-default-vertical-align, var(--spectrum-table-default-vertical-align));
- color: var(--highcontrast-table-row-text-color, var(--mod-table-row-text-color, var(--spectrum-table-row-text-color)));
- background-color: var(--spectrum-table-cell-background-color);
-
- /* block-size functions as min-block-size when using display table-cell. */
- block-size: var(--mod-table-min-row-height, var(--spectrum-table-min-row-height));
-
- padding-block-start: calc(var(--mod-table-row-top-to-text, var(--spectrum-table-row-top-to-text)) - var(--mod-table-border-width, var(--spectrum-table-border-width)));
- padding-block-end: var(--mod-table-row-bottom-to-text, var(--spectrum-table-row-bottom-to-text));
- padding-inline: calc(var(--mod-table-edge-to-content, var(--spectrum-table-edge-to-content)) - var(--mod-table-outer-border-inline-width, var(--spectrum-table-outer-border-inline-width)));
-}
-
-/* Focus Indicator (Ring) */
-.spectrum-Table-cell,
-.spectrum-Table-headCell {
- position: relative;
-
- &:focus-visible,
- &.is-focused {
- outline-width: var(--mod-table-focus-indicator-thickness, var(--spectrum-table-focus-indicator-thickness));
- outline-style: solid;
- outline-color: var(--highcontrast-table-cell-focus-indicator-color, var(--highcontrast-table-focus-indicator-color, var(--mod-table-focus-indicator-color, var(--spectrum-table-focus-indicator-color))));
- outline-offset: calc((-1 * var(--mod-table-focus-indicator-thickness, var(--spectrum-table-focus-indicator-thickness))) - var(--highcontrast-table-cell-focus-extra-offset, 0px));
- }
-}
-
-/* Cells that display a column divider (vertical border). */
-.spectrum-Table-cell--divider {
- border-inline-end: var(--mod-table-border-width, var(--spectrum-table-border-width)) solid var(--highcontrast-table-divider-color, var(--mod-table-divider-color, var(--spectrum-table-divider-color)));
-}
-
-/* Rows within table body */
-.spectrum-Table-row {
- position: relative;
- transition: background-color var(--highcontrast-table-transition-duration, var(--mod-table-transition-duration, var(--spectrum-table-transition-duration))) ease-in-out;
- cursor: var(--mod-table-cursor-row-default, pointer);
- border-block-start: none;
&:first-child {
/* Ensure that 'outline' will match the border-radius, when used on rows. */
@@ -642,14 +615,14 @@
&.is-selected {
--highcontrast-table-row-text-color: var(--highcontrast-table-selected-row-text-color);
--highcontrast-table-icon-color: var(--highcontrast-table-selected-row-text-color);
- --spectrum-table-cell-background-color: var(--spectrum-table-selected-cell-background-color);
+ --spectrum-table-cell-background-color: var(--highcontrast-table-selected-row-background-color, var(--spectrum-table-selected-cell-background-color));
&:hover,
&:focus-visible,
&.is-focused {
--highcontrast-table-row-text-color: var(--highcontrast-table-selected-row-text-color-focus);
--highcontrast-table-icon-color: var(--highcontrast-table-selected-row-text-color-focus);
- --spectrum-table-cell-background-color: var(--spectrum-table-selected-cell-background-color-focus);
+ --spectrum-table-cell-background-color: var(--highcontrast-table-selected-row-background-color-focus, var(--spectrum-table-selected-cell-background-color-focus));
}
}
@@ -675,6 +648,26 @@
}
}
+/* Focus Indicator (Ring) */
+.spectrum-Table-cell,
+.spectrum-Table-headCell {
+ position: relative;
+ display: table-cell;
+
+ &:focus-visible,
+ &.is-focused {
+ outline-width: var(--mod-table-focus-indicator-thickness, var(--spectrum-table-focus-indicator-thickness));
+ outline-style: solid;
+ outline-color: var(--highcontrast-table-cell-focus-indicator-color, var(--highcontrast-table-focus-indicator-color, var(--mod-table-focus-indicator-color, var(--spectrum-table-focus-indicator-color))));
+ outline-offset: calc((-1 * var(--mod-table-focus-indicator-thickness, var(--spectrum-table-focus-indicator-thickness))) - var(--highcontrast-table-cell-focus-extra-offset, 0px));
+ }
+}
+
+/* Cells that display a column divider (vertical border). */
+.spectrum-Table-cell--divider {
+ border-inline-end: var(--mod-table-border-width, var(--spectrum-table-border-width)) solid var(--highcontrast-table-divider-color, var(--mod-table-divider-color, var(--spectrum-table-divider-color)));
+}
+
.spectrum-Table-row--summary {
--spectrum-table-cell-background-color: var(--highcontrast-table-row-background-color, var(--mod-table-summary-row-background-color, var(--spectrum-table-summary-row-background-color)));
@@ -723,7 +716,7 @@
inline-size: var(--spectrum-checkbox-control-size-small);
/* The calc subtraction is because the --spectrum-table-checkbox-to-text spacing value
- includes the inline start padding in the adjacent cell. */
+ includes the inline start padding in the adjacent cell. */
padding-inline-end: calc(var(--mod-table-checkbox-to-text, var(--spectrum-table-checkbox-to-text)) - var(--mod-table-edge-to-content, var(--spectrum-table-edge-to-content)));
/* Block spacing must be moved to calculated margin on the checkbox element. */
@@ -731,6 +724,7 @@
.spectrum-Table-checkbox {
--mod-checkbox-spacing: 0px;
+
min-block-size: initial;
}
@@ -747,33 +741,19 @@
/********* DIVS *********/
/* Make sure markup that uses divs instead of elements displays like a regular table. */
-.spectrum-Table:not(.spectrum-Table-scroller),
-.spectrum-Table-main {
- display: table;
-}
-
.spectrum-Table-head {
display: table-header-group;
}
-.spectrum-Table-body {
- display: table-row-group;
-}
-
.spectrum-Table-row,
.spectrum-Table-head [role="row"] {
display: table-row;
}
-.spectrum-Table-cell,
-.spectrum-Table-headCell {
- display: table-cell;
-}
-
/********* SCROLLABLE *********/
/* Wrapper that allows a scrollable body and sticky column header. */
.spectrum-Table-scroller {
- --spectrum-table-header-background-color: var(--mod-table-header-background-color-scrollable, var(--spectrum-background-layer-1-color, var(--spectrum-gray-100)));
+ --spectrum-table-header-background-color: var(--mod-table-header-background-color-scrollable, var(--spectrum-background-layer-1-color, var(--spectrum-gray-75)));
box-sizing: border-box;
display: inline-block;
@@ -784,15 +764,14 @@
border-block: var(--mod-table-border-width, var(--spectrum-table-border-width)) solid var(--highcontrast-table-border-color, var(--mod-table-border-color, var(--spectrum-table-border-color)));
border-inline: var(--mod-table-outer-border-inline-width, var(--spectrum-table-outer-border-inline-width)) solid var(--highcontrast-table-border-color, var(--mod-table-border-color, var(--spectrum-table-border-color)));
- &.spectrum-Table--quiet {
- --mod-table-header-background-color--quiet: var(--mod-table-header-background-color-scrollable, var(--spectrum-background-layer-1-color, var(--spectrum-gray-100)));
- border-block-start: none;
- }
-
/* Make sure shift-tab reverse keyboard navigation keeps the whole cell in focus.
--mod-table-current-header-height should be dynamically updated with JS to match the table header height. */
scroll-padding-top: var(--mod-table-current-header-height, calc((var(--mod-table-header-line-height, var(--spectrum-table-row-line-height)) * var(--mod-table-header-font-size, var(--spectrum-table-row-font-size))) + var(--mod-table-header-top-to-text, var(--spectrum-table-header-top-to-text)) + var(--mod-table-header-bottom-to-text, var(--spectrum-table-header-bottom-to-text)) + var(--mod-table-border-width, var(--spectrum-table-border-width))));
+ &.spectrum-Table--quiet {
+ border-block-start: none;
+ }
+
.spectrum-Table-head {
position: sticky;
inset-block-start: 0;
@@ -910,7 +889,7 @@
border: 0;
color: var(--spectrum-table-icon-color);
- transform: var(--spectrum-logical-rotation);
+ transform: var(--spectrum-logical-rotation,);
&[aria-expanded="true"] {
transform: var(--spectrum-logical-rotation,) rotate(90deg);
diff --git a/components/table/metadata/metadata.json b/components/table/metadata/metadata.json
index 4b33650d334..e319678fb13 100644
--- a/components/table/metadata/metadata.json
+++ b/components/table/metadata/metadata.json
@@ -9,6 +9,7 @@
".spectrum-Table--emphasized",
".spectrum-Table--quiet",
".spectrum-Table--sizeL",
+ ".spectrum-Table--sizeM",
".spectrum-Table--sizeS",
".spectrum-Table--sizeXL",
".spectrum-Table--spacious",
@@ -406,19 +407,19 @@
"--spectrum-font-size-75",
"--spectrum-gray-100",
"--spectrum-gray-200",
+ "--spectrum-gray-25",
"--spectrum-gray-300",
"--spectrum-gray-50",
"--spectrum-gray-700-rgb",
+ "--spectrum-gray-75",
"--spectrum-gray-900-rgb",
"--spectrum-line-height-100",
"--spectrum-logical-rotation",
"--spectrum-neutral-content-color-default",
"--spectrum-neutral-subdued-content-color-default",
"--spectrum-neutral-subdued-content-color-down",
- "--spectrum-neutral-subdued-content-color-focus",
"--spectrum-neutral-subdued-content-color-hover",
"--spectrum-neutral-subdued-content-color-key-focus",
- "--spectrum-neutral-subdued-content-focus-hover",
"--spectrum-regular-font-weight",
"--spectrum-sans-font-family-stack",
"--spectrum-spacing-300",
@@ -431,9 +432,21 @@
"--spectrum-thumbnail-size-500",
"--spectrum-thumbnail-size-700",
"--spectrum-thumbnail-size-800",
- "--spectrum-transparent-white-100"
+ "--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"
],
- "system-theme": [],
"passthroughs": ["--mod-checkbox-spacing", "--mod-thumbnail-size"],
"high-contrast": [
"--highcontrast-table-border-color",
@@ -452,7 +465,6 @@
"--highcontrast-table-selected-row-background-color",
"--highcontrast-table-selected-row-background-color-focus",
"--highcontrast-table-selected-row-text-color",
- "--highcontrast-table-selected-row-text-color-default",
"--highcontrast-table-selected-row-text-color-focus",
"--highcontrast-table-transition-duration"
]
diff --git a/components/table/package.json b/components/table/package.json
index 36ab920258b..1f72b2e5e99 100644
--- a/components/table/package.json
+++ b/components/table/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/table",
- "version": "6.2.0",
+ "version": "7.0.0-s2-foundations.18",
"description": "The Spectrum CSS table component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,21 +21,23 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/button": ">=13",
- "@spectrum-css/checkbox": ">=9",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/thumbnail": ">=6",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0",
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/thumbnail": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/button": {
diff --git a/components/table/stories/table.stories.js b/components/table/stories/table.stories.js
index 6612a875fde..dee3eaaed71 100644
--- a/components/table/stories/table.stories.js
+++ b/components/table/stories/table.stories.js
@@ -111,6 +111,10 @@ export default {
],
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=54024-574",
+ },
packageJson,
metadata,
},
diff --git a/components/table/stories/template.js b/components/table/stories/template.js
index 8487cca716d..662a6e3206b 100644
--- a/components/table/stories/template.js
+++ b/components/table/stories/template.js
@@ -9,6 +9,9 @@ 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
index fad97bb3695..9fd550418f2 100644
--- a/components/table/themes/express.css
+++ b/components/table/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/table/themes/spectrum-two.css b/components/table/themes/spectrum-two.css
new file mode 100644
index 00000000000..1c0a4684070
--- /dev/null
+++ b/components/table/themes/spectrum-two.css
@@ -0,0 +1,30 @@
+/*!
+ * 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
index 3b48a570c21..f0ac6a68db9 100644
--- a/components/table/themes/spectrum.css
+++ b/components/table/themes/spectrum.css
@@ -10,3 +10,25 @@
* 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-focus);
+ --spectrum-table-icon-color-focus-hover: var(--spectrum-neutral-subdued-content-focus-hover);
+ }
+
+ .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 12f83efcb40..b7385232c5d 100644
--- a/components/tabs/CHANGELOG.md
+++ b/components/tabs/CHANGELOG.md
@@ -1,5 +1,276 @@
# Change Log
+## 6.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/picker@9.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+ - @spectrum-css/menu@8.0.0-s2-foundations.17
+
+## 6.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+ - @spectrum-css/menu@8.0.0-s2-foundations.15
+
+## 6.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/menu@8.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.13
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/menu@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#3036](https://github.com/adobe/spectrum-css/pull/3036) [`96686a5`](https://github.com/adobe/spectrum-css/commit/96686a56e2532bc747985b40686783ddd9b98221) Thanks [@rise-erpelding](https://github.com/rise-erpelding)! - [CSS-890]: adjusts --mods to be applied inside of index.css
+
+### Patch Changes
+
+- Updated dependencies [[`96686a5`](https://github.com/adobe/spectrum-css/commit/96686a56e2532bc747985b40686783ddd9b98221)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.18
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/menu@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/menu@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/menu@8.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/menu@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/menu@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/menu@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/picker@9.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+ - @spectrum-css/menu@8.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/menu@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/menu@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/menu@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/menu@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/menu@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/picker@9.0.0-s2-foundations.0
+ - @spectrum-css/menu@8.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
diff --git a/components/tabs/index.css b/components/tabs/index.css
index e2f31ac8cfb..6727243f384 100644
--- a/components/tabs/index.css
+++ b/components/tabs/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Tabs {
/* Default is Medium sizing */
@@ -45,7 +45,6 @@
--spectrum-tabs-selection-indicator-color: var(--spectrum-neutral-subdued-content-color-down);
--spectrum-tabs-list-background-direction: top;
- --spectrum-tabs-divider-background-color: var(--spectrum-gray-300);
--spectrum-tabs-divider-size: var(--spectrum-border-width-200);
--spectrum-tabs-divider-border-radius: 1px;
diff --git a/components/tabs/metadata/metadata.json b/components/tabs/metadata/metadata.json
index 5ac97bf7431..544295ef045 100644
--- a/components/tabs/metadata/metadata.json
+++ b/components/tabs/metadata/metadata.json
@@ -135,24 +135,23 @@
"--spectrum-accent-content-color-key-focus",
"--spectrum-animation-duration-100",
"--spectrum-animation-ease-in-out",
- "--spectrum-bold-font-weight",
"--spectrum-border-width-200",
"--spectrum-corner-radius-100",
"--spectrum-default-font-style",
- "--spectrum-default-font-weight",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-thickness",
"--spectrum-font-size-100",
"--spectrum-font-size-200",
"--spectrum-font-size-300",
"--spectrum-font-size-75",
- "--spectrum-gray-300",
+ "--spectrum-gray-200",
"--spectrum-gray-500",
"--spectrum-line-height-100",
"--spectrum-neutral-subdued-content-color-default",
"--spectrum-neutral-subdued-content-color-down",
"--spectrum-neutral-subdued-content-color-hover",
"--spectrum-neutral-subdued-content-color-key-focus",
+ "--spectrum-regular-font-weight",
"--spectrum-sans-font-family-stack",
"--spectrum-tab-item-bottom-to-text-extra-large",
"--spectrum-tab-item-bottom-to-text-large",
@@ -207,7 +206,10 @@
"--spectrum-workflow-icon-size-50",
"--spectrum-workflow-icon-size-75"
],
- "system-theme": ["--system-spectrum-tabs-font-weight"],
+ "system-theme": [
+ "--system-tabs-divider-background-color",
+ "--system-tabs-font-weight"
+ ],
"passthroughs": [],
"high-contrast": [
"--highcontrast-tabs-color",
diff --git a/components/tabs/package.json b/components/tabs/package.json
index ac24c27f8ae..139b471f55c 100644
--- a/components/tabs/package.json
+++ b/components/tabs/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/tabs",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.17",
"description": "The Spectrum CSS tabs component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,20 +21,22 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/menu": ">=7",
- "@spectrum-css/picker": ">=8",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/picker": ">=9.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/icon": {
diff --git a/components/tabs/stories/tabs.stories.js b/components/tabs/stories/tabs.stories.js
index 38589d8e2ff..89e074daa95 100644
--- a/components/tabs/stories/tabs.stories.js
+++ b/components/tabs/stories/tabs.stories.js
@@ -113,6 +113,10 @@ export default {
actions: {
handles: [".spectrum-Tabs-item"],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=48979-4695",
+ },
packageJson,
metadata,
},
diff --git a/components/tabs/stories/template.js b/components/tabs/stories/template.js
index 387683f1ae9..716f45ea2e5 100644
--- a/components/tabs/stories/template.js
+++ b/components/tabs/stories/template.js
@@ -10,6 +10,9 @@ 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
index e958787153b..83b105f4ac8 100644
--- a/components/tabs/themes/express.css
+++ b/components/tabs/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@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
new file mode 100644
index 00000000000..71d71c3c719
--- /dev/null
+++ b/components/tabs/themes/spectrum-two.css
@@ -0,0 +1,19 @@
+/*!
+ * 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
index 4e49c9ae85d..9ebe5e09932 100644
--- a/components/tabs/themes/spectrum.css
+++ b/components/tabs/themes/spectrum.css
@@ -11,8 +11,13 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
+/* @combine .spectrum.spectrum--legacy */
+
+@import "./spectrum-two.css";
+
+@container style(--system: legacy) {
.spectrum-Tabs {
--spectrum-tabs-font-weight: var(--spectrum-default-font-weight);
+ --spectrum-tabs-divider-background-color: var(--spectrum-gray-300);
}
}
diff --git a/components/tag/CHANGELOG.md b/components/tag/CHANGELOG.md
index ba8eb6feb35..40b5dc4c016 100644
--- a/components/tag/CHANGELOG.md
+++ b/components/tag/CHANGELOG.md
@@ -1,5 +1,265 @@
# Change Log
+## 10.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.17
+ - @spectrum-css/avatar@8.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 10.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.16
+ - @spectrum-css/avatar@8.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 10.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.15
+ - @spectrum-css/avatar@8.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 10.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.14
+ - @spectrum-css/avatar@8.0.0-s2-foundations.13
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 10.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.12
+ - @spectrum-css/avatar@8.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 10.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.11
+ - @spectrum-css/avatar@8.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 10.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.10
+ - @spectrum-css/avatar@8.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 10.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.9
+ - @spectrum-css/avatar@8.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 10.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.8
+ - @spectrum-css/avatar@8.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 10.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.7
+ - @spectrum-css/avatar@8.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 10.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.6
+ - @spectrum-css/avatar@8.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 10.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.5
+ - @spectrum-css/avatar@8.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 10.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.4
+ - @spectrum-css/avatar@8.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 10.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.3
+ - @spectrum-css/avatar@8.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 10.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.2
+ - @spectrum-css/avatar@8.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 10.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.1
+ - @spectrum-css/avatar@8.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 10.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/clearbutton@7.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/avatar@8.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 9.2.0
### Minor Changes
@@ -19,6 +279,12 @@
- [#3307](https://github.com/adobe/spectrum-css/pull/3307) [`25ddd5e`](https://github.com/adobe/spectrum-css/commit/25ddd5e62a19a8040f6c08549e447e19c0788af3) Thanks [@cdransf](https://github.com/cdransf)! - Reorder rules and custom properties to resolve lint violations.
+## 9.1.4
+
+### Patch Changes
+
+- [#3307](https://github.com/adobe/spectrum-css/pull/3307) [`25ddd5e`](https://github.com/adobe/spectrum-css/commit/25ddd5e62a19a8040f6c08549e447e19c0788af3) Thanks [@cdransf](https://github.com/cdransf)! - Reorder rules and custom properties to resolve lint violations.
+
## 9.1.3
### Patch Changes
diff --git a/components/tag/index.css b/components/tag/index.css
index be56b3c6391..9385b432e60 100644
--- a/components/tag/index.css
+++ b/components/tag/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Tag {
/* TODO - replace placeholder disabled avatar opacity with correct token once avatar is migrated */
@@ -29,8 +29,6 @@
--spectrum-tag-label-line-height: var(--spectrum-line-height-100);
--spectrum-tag-label-font-weight: var(--spectrum-regular-font-weight);
- /* selected */
- --spectrum-tag-content-color-selected: var(--spectrum-gray-50);
--spectrum-tag-background-color-selected: var(--spectrum-neutral-background-color-selected-default);
--spectrum-tag-background-color-selected-hover: var(--spectrum-neutral-background-color-selected-hover);
--spectrum-tag-background-color-selected-active: var(--spectrum-neutral-background-color-selected-down);
@@ -76,33 +74,32 @@
/* disabled variant content */
--spectrum-tag-content-color-disabled: var(--spectrum-disabled-content-color);
+}
- /* ↧↧↧ Fallback defaults in case of no t-shirt size - set to Medium styles ↧↧↧ */
- /* icon spacing fallback if no t-shirt size */
- --spectrum-tag-icon-spacing-inline-end: var(--spectrum-text-to-visual-100);
+.spectrum-Tag,
+.spectrum-Tag--sizeM {
+ --spectrum-tag-height: var(--spectrum-component-height-100);
+ --spectrum-tag-font-size: var(--spectrum-font-size-100);
--spectrum-tag-icon-size: var(--spectrum-workflow-icon-size-100);
+
+ --spectrum-tag-clear-button-spacing-inline-start: var(--spectrum-text-to-visual-100);
+ --spectrum-tag-clear-button-spacing-block: var(--spectrum-tag-top-to-cross-icon-medium);
+
--spectrum-tag-icon-spacing-block-start: var(--spectrum-component-top-to-workflow-icon-100);
--spectrum-tag-icon-spacing-block-end: var(--spectrum-component-top-to-workflow-icon-100);
+ --spectrum-tag-icon-spacing-inline-end: var(--spectrum-text-to-visual-100);
- /* avatar spacing fallback if no t-shirt size */
- --spectrum-tag-avatar-spacing-block-start: var(--spectrum-tag-top-to-avatar-medium);
+ --spectrum-tag-avatar-spacing-block-start: var(--spectrum-tag-top-to-avatar-medium); /* 6px 9px */
--spectrum-tag-avatar-spacing-block-end: var(--spectrum-tag-top-to-avatar-medium);
--spectrum-tag-avatar-spacing-inline-end: var(--spectrum-text-to-visual-100);
- /* label spacing fallback if no t-shirt size */
--spectrum-tag-label-spacing-block: var(--spectrum-component-top-to-text-100);
- /* clear button inline spacing fallback if no t-shirt size */
- --spectrum-tag-clear-button-spacing-inline-start: var(--spectrum-text-to-visual-100);
-
- /* tag defaults if no t-shirt size */
- --spectrum-tag-height: var(--spectrum-component-height-100);
-
- /* text defaults if no t-shirt size */
- --spectrum-tag-font-size: var(--spectrum-font-size-100);
-
- /* clear button spacing if no t-shirt size */
- --spectrum-tag-clear-button-spacing-block: var(--spectrum-tag-top-to-cross-icon-medium);
+ /* tokens based on theme and t-shirt size */
+ --spectrum-tag-corner-radius: var(--spectrum-tag-size-medium-corner-radius);
+ --spectrum-tag-spacing-inline-start: var(--spectrum-tag-size-medium-spacing-inline-start);
+ --spectrum-tag-label-spacing-inline-end: var(--spectrum-tag-size-medium-label-spacing-inline-end);
+ --spectrum-tag-clear-button-spacing-inline-end: var(--spectrum-tag-size-medium-clear-button-spacing-inline-end);
}
/* t-shirt sizes */
@@ -131,31 +128,6 @@
--spectrum-tag-clear-button-spacing-inline-end: var(--spectrum-tag-size-small-clear-button-spacing-inline-end);
}
-.spectrum-Tag--sizeM {
- --spectrum-tag-height: var(--spectrum-component-height-100);
- --spectrum-tag-font-size: var(--spectrum-font-size-100);
- --spectrum-tag-icon-size: var(--spectrum-workflow-icon-size-100);
-
- --spectrum-tag-clear-button-spacing-inline-start: var(--spectrum-text-to-visual-100);
- --spectrum-tag-clear-button-spacing-block: var(--spectrum-tag-top-to-cross-icon-medium);
-
- --spectrum-tag-icon-spacing-block-start: var(--spectrum-component-top-to-workflow-icon-100);
- --spectrum-tag-icon-spacing-block-end: var(--spectrum-component-top-to-workflow-icon-100);
- --spectrum-tag-icon-spacing-inline-end: var(--spectrum-text-to-visual-100);
-
- --spectrum-tag-avatar-spacing-block-start: var(--spectrum-tag-top-to-avatar-medium); /* 6px 9px */
- --spectrum-tag-avatar-spacing-block-end: var(--spectrum-tag-top-to-avatar-medium);
- --spectrum-tag-avatar-spacing-inline-end: var(--spectrum-text-to-visual-100);
-
- --spectrum-tag-label-spacing-block: var(--spectrum-component-top-to-text-100);
-
- /* tokens based on theme and t-shirt size */
- --spectrum-tag-corner-radius: var(--spectrum-tag-size-medium-corner-radius);
- --spectrum-tag-spacing-inline-start: var(--spectrum-tag-size-medium-spacing-inline-start);
- --spectrum-tag-label-spacing-inline-end: var(--spectrum-tag-size-medium-label-spacing-inline-end);
- --spectrum-tag-clear-button-spacing-inline-end: var(--spectrum-tag-size-medium-clear-button-spacing-inline-end);
-}
-
.spectrum-Tag--sizeL {
--spectrum-tag-height: var(--spectrum-component-height-200);
--spectrum-tag-font-size: var(--spectrum-font-size-200);
diff --git a/components/tag/metadata/metadata.json b/components/tag/metadata/metadata.json
index 79e64cf042e..10a87e4aa2c 100644
--- a/components/tag/metadata/metadata.json
+++ b/components/tag/metadata/metadata.json
@@ -226,12 +226,6 @@
"--spectrum-component-height-100",
"--spectrum-component-height-200",
"--spectrum-component-height-75",
- "--spectrum-component-pill-edge-to-text-100",
- "--spectrum-component-pill-edge-to-text-200",
- "--spectrum-component-pill-edge-to-text-75",
- "--spectrum-component-pill-edge-to-visual-100",
- "--spectrum-component-pill-edge-to-visual-200",
- "--spectrum-component-pill-edge-to-visual-75",
"--spectrum-component-top-to-text-100",
"--spectrum-component-top-to-text-200",
"--spectrum-component-top-to-text-75",
@@ -240,7 +234,6 @@
"--spectrum-component-top-to-workflow-icon-75",
"--spectrum-corner-radius-100",
"--spectrum-disabled-background-color",
- "--spectrum-disabled-border-color",
"--spectrum-disabled-content-color",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
@@ -248,13 +241,10 @@
"--spectrum-font-size-100",
"--spectrum-font-size-200",
"--spectrum-font-size-75",
- "--spectrum-gray-200",
- "--spectrum-gray-300",
- "--spectrum-gray-400",
+ "--spectrum-gray-100",
+ "--spectrum-gray-25",
"--spectrum-gray-50",
- "--spectrum-gray-500",
"--spectrum-gray-700",
- "--spectrum-gray-75",
"--spectrum-gray-800",
"--spectrum-gray-900",
"--spectrum-line-height-100",
@@ -269,18 +259,10 @@
"--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",
- "--spectrum-neutral-background-color-key-focus",
"--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-neutral-subdued-background-color-default",
"--spectrum-neutral-subdued-background-color-down",
"--spectrum-neutral-subdued-background-color-hover",
@@ -299,36 +281,37 @@
"--spectrum-workflow-icon-size-75"
],
"system-theme": [
- "--system-spectrum-tag-background-color",
- "--system-spectrum-tag-background-color-active",
- "--system-spectrum-tag-background-color-disabled",
- "--system-spectrum-tag-background-color-focus",
- "--system-spectrum-tag-background-color-hover",
- "--system-spectrum-tag-border-color",
- "--system-spectrum-tag-border-color-active",
- "--system-spectrum-tag-border-color-disabled",
- "--system-spectrum-tag-border-color-focus",
- "--system-spectrum-tag-border-color-hover",
- "--system-spectrum-tag-border-color-selected",
- "--system-spectrum-tag-border-color-selected-active",
- "--system-spectrum-tag-border-color-selected-focus",
- "--system-spectrum-tag-border-color-selected-hover",
- "--system-spectrum-tag-content-color",
- "--system-spectrum-tag-content-color-active",
- "--system-spectrum-tag-content-color-focus",
- "--system-spectrum-tag-content-color-hover",
- "--system-spectrum-tag-size-large-clear-button-spacing-inline-end",
- "--system-spectrum-tag-size-large-corner-radius",
- "--system-spectrum-tag-size-large-label-spacing-inline-end",
- "--system-spectrum-tag-size-large-spacing-inline-start",
- "--system-spectrum-tag-size-medium-clear-button-spacing-inline-end",
- "--system-spectrum-tag-size-medium-corner-radius",
- "--system-spectrum-tag-size-medium-label-spacing-inline-end",
- "--system-spectrum-tag-size-medium-spacing-inline-start",
- "--system-spectrum-tag-size-small-clear-button-spacing-inline-end",
- "--system-spectrum-tag-size-small-corner-radius",
- "--system-spectrum-tag-size-small-label-spacing-inline-end",
- "--system-spectrum-tag-size-small-spacing-inline-start"
+ "--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",
diff --git a/components/tag/package.json b/components/tag/package.json
index ce75b5d77be..95e38fd6532 100644
--- a/components/tag/package.json
+++ b/components/tag/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/tag",
- "version": "9.2.0",
+ "version": "10.0.0-s2-foundations.16",
"description": "The Spectrum CSS tags component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,20 +21,22 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/avatar": ">=7",
- "@spectrum-css/clearbutton": ">=6",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/avatar": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/clearbutton": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/avatar": {
diff --git a/components/tag/stories/tag.stories.js b/components/tag/stories/tag.stories.js
index 9192961cbfb..9513c7719d7 100644
--- a/components/tag/stories/tag.stories.js
+++ b/components/tag/stories/tag.stories.js
@@ -94,6 +94,10 @@ export default {
actions: {
handles: [],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=715-2687",
+ },
packageJson,
metadata,
},
diff --git a/components/tag/stories/template.js b/components/tag/stories/template.js
index ee4b244dd43..90c72435bae 100644
--- a/components/tag/stories/template.js
+++ b/components/tag/stories/template.js
@@ -9,6 +9,9 @@ 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
index c3f2f0061c6..7c2c2e67303 100644
--- a/components/tag/themes/express.css
+++ b/components/tag/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-Tag {
/* border */
--spectrum-tag-background-color: transparent;
diff --git a/components/tag/themes/spectrum-two.css b/components/tag/themes/spectrum-two.css
new file mode 100644
index 00000000000..f9c51730f48
--- /dev/null
+++ b/components/tag/themes/spectrum-two.css
@@ -0,0 +1,56 @@
+/*!
+ * 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
index 27c05be7bdd..171968e1f50 100644
--- a/components/tag/themes/spectrum.css
+++ b/components/tag/themes/spectrum.css
@@ -11,50 +11,17 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
- .spectrum-Tag {
- /* border */
- --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);
+/* @combine .spectrum.spectrum--legacy */
- /* corner 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);
+@import "./spectrum-two.css";
- /* background */
+@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);
- /* 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);
-
- /* selected variant */
- --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);
+ --spectrum-tag-content-color-selected: var(--spectrum-gray-50);
}
}
diff --git a/components/taggroup/CHANGELOG.md b/components/taggroup/CHANGELOG.md
index d9369d0544e..306c1b8d395 100644
--- a/components/taggroup/CHANGELOG.md
+++ b/components/taggroup/CHANGELOG.md
@@ -1,5 +1,231 @@
# Change Log
+## 6.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/tag@10.0.0-s2-foundations.16
+
+## 6.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.15
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/tag@10.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tag@10.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 5.2.0
### Minor Changes
diff --git a/components/taggroup/index.css b/components/taggroup/index.css
index 22422bae7f5..c8ad1c1551e 100644
--- a/components/taggroup/index.css
+++ b/components/taggroup/index.css
@@ -11,14 +11,12 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-TagGroup {
--spectrum-tag-group-item-margin-block: var(--spectrum-spacing-75);
--spectrum-tag-group-item-margin-inline: var(--spectrum-spacing-75);
-}
-.spectrum-TagGroup {
display: inline-flex;
flex-wrap: wrap;
margin: 0;
diff --git a/components/taggroup/package.json b/components/taggroup/package.json
index f3cbe784c7a..f26db824553 100644
--- a/components/taggroup/package.json
+++ b/components/taggroup/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/taggroup",
- "version": "5.2.0",
+ "version": "6.0.0-s2-foundations.16",
"description": "The Spectrum CSS tag group component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tag": ">=9",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tag": ">=10.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tag": "workspace:^",
diff --git a/components/taggroup/stories/taggroup.stories.js b/components/taggroup/stories/taggroup.stories.js
index 9b78a490d95..fdd524ad053 100644
--- a/components/taggroup/stories/taggroup.stories.js
+++ b/components/taggroup/stories/taggroup.stories.js
@@ -55,6 +55,10 @@ export default {
...(TagStories.parameters.actions.handles ?? [])
],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=45924-645",
+ },
packageJson,
metadata,
},
diff --git a/components/taggroup/stories/template.js b/components/taggroup/stories/template.js
index 20035de5cda..da04d572a71 100644
--- a/components/taggroup/stories/template.js
+++ b/components/taggroup/stories/template.js
@@ -5,6 +5,9 @@ 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-TagGroup",
@@ -15,22 +18,24 @@ export const Template = ({
customStyles = {},
size = "m",
...args
-} = {}, context = {}) => html`
- ({ ...a, [c]: true }), {}),
- })}
- style=${styleMap(customStyles)}
- role="list"
- aria-label=${ifDefined(ariaLabel)}
- >
- ${items.map((i) => Tag({
- ...i,
- ...args,
- size,
- hasClearButton: isRemovable,
- customClasses: [`${rootClass}-item`],
- }, context))}
-
-`;
+} = {}, context = {}) => {
+ return html`
+ ({ ...a, [c]: true }), {}),
+ })}
+ style=${styleMap(customStyles)}
+ role="list"
+ aria-label=${ifDefined(ariaLabel)}
+ >
+ ${items.map((i) => Tag({
+ ...i,
+ ...args,
+ size,
+ hasClearButton: isRemovable,
+ customClasses: [`${rootClass}-item`],
+ }, context))}
+
+ `;
+};
diff --git a/components/taggroup/themes/express.css b/components/taggroup/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/taggroup/themes/express.css
+++ b/components/taggroup/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/taggroup/themes/spectrum-two.css b/components/taggroup/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/taggroup/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/taggroup/themes/spectrum.css b/components/taggroup/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/taggroup/themes/spectrum.css
+++ b/components/taggroup/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/textfield/CHANGELOG.md b/components/textfield/CHANGELOG.md
index 5eee38713d5..29fb3e2f303 100644
--- a/components/textfield/CHANGELOG.md
+++ b/components/textfield/CHANGELOG.md
@@ -1,5 +1,239 @@
# Change Log
+## 8.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/helptext@6.0.0-s2-foundations.16
+
+## 8.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.15
+
+## 8.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 8.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 8.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9294678`](https://github.com/adobe/spectrum-css/commit/929467879ebedb5601f54509d95f3dcd97681607) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-306]: Reintroduces previous changes in textfield that had been reverted, including adjusted line height, cleanup of legacy vendor prefixes and normalization (#2771), a fix for focus pseudo pointer events (#2761)
+
+## 8.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 8.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 8.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 8.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`da47fa2`](https://github.com/adobe/spectrum-css/commit/da47fa2cb18373e74a6718775f2db90bb25868d4) Thanks [@pfulton](https://github.com/pfulton)! - Fix line-height discrepency
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 8.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 8.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 8.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/helptext@6.0.0-s2-foundations.6
+
+## 8.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 8.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 8.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 8.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 8.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/helptext@6.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 8.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/helptext@6.0.0-s2-foundations.0
+
## 7.3.0
### Minor Changes
diff --git a/components/textfield/index.css b/components/textfield/index.css
index e3bb87dded1..01da44b91a6 100644
--- a/components/textfield/index.css
+++ b/components/textfield/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Textfield {
/* set input line-height to the height of the textfield - prevents the cutting off of diacritics in some languages */
@@ -23,11 +23,7 @@
--spectrum-textfield-min-width: var(--spectrum-text-field-minimum-width-multiplier);
--spectrum-textfield-corner-radius: var(--spectrum-corner-radius-100);
- /* default height */
- --spectrum-textfield-height: var(--spectrum-component-height-100);
-
/* default spacing */
- --spectrum-textfield-spacing-inline: var(--spectrum-component-edge-to-text-100);
--spectrum-textfield-spacing-inline-quiet: var(--spectrum-field-edge-to-text-quiet);
--spectrum-textfield-spacing-block-start: var(--spectrum-component-top-to-text-100);
--spectrum-textfield-spacing-block-end: var(--spectrum-component-bottom-to-text-100);
@@ -35,49 +31,30 @@
/* default label spacing */
--spectrum-textfield-label-spacing-block: var(--spectrum-field-label-to-component);
- --spectrum-textfield-label-spacing-block-quiet: var(--spectrum-field-label-to-component-quiet-medium);
- --spectrum-textfield-label-spacing-inline-side-label: var(--spectrum-spacing-100);
/* default help text spacing */
--spectrum-textfield-helptext-spacing-block: var(--spectrum-help-text-to-component);
- /* default icon size */
- --spectrum-textfield-icon-size-invalid: var(--spectrum-workflow-icon-size-100);
- --spectrum-textfield-icon-size-valid: var(--spectrum-checkmark-icon-size-100);
-
/* default icon spacing - invalid */
- --spectrum-textfield-icon-spacing-inline-start-invalid: var(--spectrum-field-text-to-alert-icon-medium);
- --spectrum-textfield-icon-spacing-inline-end-invalid: var(--spectrum-field-edge-to-alert-icon-medium);
--spectrum-textfield-icon-spacing-inline-end-quiet-invalid: var(--spectrum-field-edge-to-alert-icon-quiet);
- --spectrum-textfield-icon-spacing-block-invalid: var(--spectrum-field-top-to-alert-icon-medium);
/* default icon spacing - valid */
- --spectrum-textfield-icon-spacing-inline-start-valid: var(--spectrum-field-text-to-validation-icon-medium);
- --spectrum-textfield-icon-spacing-inline-end-valid: var(--spectrum-field-edge-to-validation-icon-medium);
--spectrum-textfield-icon-spacing-inline-end-quiet-valid: var(--spectrum-field-edge-to-validation-icon-quiet);
- --spectrum-textfield-icon-spacing-block-valid: var(--spectrum-field-top-to-validation-icon-medium);
/* font styles */
--spectrum-textfield-font-family: var(--spectrum-sans-font-family-stack);
--spectrum-textfield-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-textfield-placeholder-font-size: var(--spectrum-font-size-100);
/* character count */
--spectrum-textfield-character-count-font-family: var(--spectrum-sans-font-family-stack);
--spectrum-textfield-character-count-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-textfield-character-count-font-size: var(--spectrum-font-size-75);
--spectrum-textfield-character-count-spacing-inline: var(--spectrum-spacing-200);
- --spectrum-textfield-character-count-spacing-block: var(--spectrum-component-bottom-to-text-75);
--spectrum-textfield-character-count-spacing-inline-side: var(--spectrum-side-label-character-count-to-field);
- --spectrum-textfield-character-count-spacing-block-side: var(--spectrum-side-label-character-count-top-margin-medium);
/* focus indicator */
--spectrum-textfield-focus-indicator-width: var(--spectrum-focus-indicator-thickness);
--spectrum-textfield-focus-indicator-gap: var(--spectrum-focus-indicator-gap);
- /*** Colors ***/
- --spectrum-textfield-background-color: var(--spectrum-gray-50);
-
/* Text Colors */
--spectrum-textfield-text-color-default: var(--spectrum-neutral-content-color-default);
--spectrum-textfield-text-color-hover: var(--spectrum-neutral-content-color-hover);
@@ -113,6 +90,29 @@
/* Text Area / Multiline */
--spectrum-text-area-min-inline-size: var(--spectrum-text-area-minimum-width);
--spectrum-text-area-min-block-size: var(--spectrum-text-area-minimum-height);
+}
+
+.spectrum-Textfield,
+.spectrum-Textfield--sizeM {
+ --spectrum-textfield-height: var(--spectrum-component-height-100);
+ --spectrum-textfield-label-spacing-block-quiet: var(--spectrum-field-label-to-component-quiet-medium);
+ --spectrum-textfield-label-spacing-inline-side-label: var(--spectrum-spacing-200);
+ --spectrum-textfield-placeholder-font-size: var(--spectrum-font-size-100);
+ --spectrum-textfield-spacing-inline: var(--spectrum-component-edge-to-text-100);
+ --spectrum-textfield-icon-size-invalid: var(--spectrum-workflow-icon-size-100);
+ --spectrum-textfield-icon-size-valid: var(--spectrum-checkmark-icon-size-100);
+ --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-invalid: var(--spectrum-field-top-to-alert-icon-medium);
+ --spectrum-textfield-icon-spacing-block-valid: var(--spectrum-field-top-to-validation-icon-medium);
+ --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);
+ --spectrum-textfield-character-count-spacing-block: var(--spectrum-component-bottom-to-text-75);
+ --spectrum-textfield-character-count-spacing-block-quiet: var(--spectrum-character-count-to-field-quiet-medium);
+ --spectrum-textfield-character-count-spacing-block-side: var(--spectrum-side-label-character-count-top-margin-medium);
+
+ /* Text Area / Multiline size medium */
--spectrum-text-area-min-block-size-quiet: var(--spectrum-component-height-100);
}
@@ -140,29 +140,6 @@
--spectrum-text-area-min-block-size-quiet: var(--spectrum-component-height-75);
}
-.spectrum-Textfield--sizeM {
- --spectrum-textfield-height: var(--spectrum-component-height-100);
- --spectrum-textfield-label-spacing-block-quiet: var(--spectrum-field-label-to-component-quiet-medium);
- --spectrum-textfield-label-spacing-inline-side-label: var(--spectrum-spacing-200);
- --spectrum-textfield-placeholder-font-size: var(--spectrum-font-size-100);
- --spectrum-textfield-spacing-inline: var(--spectrum-component-edge-to-text-100);
- --spectrum-textfield-icon-size-invalid: var(--spectrum-workflow-icon-size-100);
- --spectrum-textfield-icon-size-valid: var(--spectrum-checkmark-icon-size-100);
- --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-invalid: var(--spectrum-field-top-to-alert-icon-medium);
- --spectrum-textfield-icon-spacing-block-valid: var(--spectrum-field-top-to-validation-icon-medium);
- --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);
- --spectrum-textfield-character-count-spacing-block: var(--spectrum-component-bottom-to-text-75);
- --spectrum-textfield-character-count-spacing-block-quiet: var(--spectrum-character-count-to-field-quiet-medium);
- --spectrum-textfield-character-count-spacing-block-side: var(--spectrum-side-label-character-count-top-margin-medium);
-
- /* Text Area / Multiline size medium */
- --spectrum-text-area-min-block-size-quiet: var(--spectrum-component-height-100);
-}
-
.spectrum-Textfield--sizeL {
--spectrum-textfield-height: var(--spectrum-component-height-200);
--spectrum-textfield-label-spacing-block-quiet: var(--spectrum-field-label-to-component-quiet-large);
@@ -285,7 +262,7 @@
inset-block-start: var(--mod-textfield-icon-spacing-block-valid, var(--spectrum-textfield-icon-spacing-block-valid));
inset-block-end: var(--mod-textfield-icon-spacing-block-valid, var(--spectrum-textfield-icon-spacing-block-valid));
inset-inline-end: var(--mod-textfield-icon-spacing-inline-end-valid, var(--spectrum-textfield-icon-spacing-inline-end-valid));
- color: var(--highcontrast-textfield-icon-color-valid, var(--mod-textfield-icon-color-valid, var(--spectrum-textfield-icon-color-valid)));
+ color: var(--mod-textfield-icon-color-valid, var(--spectrum-textfield-icon-color-valid));
}
/****** Validation Icon - Invalid ⚠️ ******/
@@ -295,7 +272,7 @@
inset-block-start: var(--mod-textfield-icon-spacing-block-invalid, var(--spectrum-textfield-icon-spacing-block-invalid));
inset-block-end: var(--mod-textfield-icon-spacing-block-invalid, var(--spectrum-textfield-icon-spacing-block-invalid));
inset-inline-end: var(--mod-textfield-icon-spacing-inline-end-invalid, var(--spectrum-textfield-icon-spacing-inline-end-invalid));
- color: var(--highcontrast-textfield-icon-color-invalid, var(--mod-textfield-icon-color-invalid, var(--spectrum-textfield-icon-color-invalid)));
+ color: var(--mod-textfield-icon-color-invalid, var(--spectrum-textfield-icon-color-invalid));
}
.spectrum-Textfield.is-disabled &,
@@ -380,7 +357,9 @@
vertical-align: top; /* used to align them correctly in forms. */
outline: none;
background-color: var(--mod-textfield-background-color, var(--spectrum-textfield-background-color));
- border: var(--mod-textfield-border-width, var(--spectrum-textfield-border-width)) solid var(--highcontrast-textfield-border-color, var(--mod-textfield-border-color, var(--spectrum-textfield-border-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)));
border-radius: var(--mod-textfield-corner-radius, var(--spectrum-textfield-corner-radius));
transition: border-color var(--mod-texfield-animation-duration, var(--spectrum-texfield-animation-duration)) ease-in-out;
@@ -451,20 +430,20 @@
.is-focused &,
&:focus {
border-color: var(--highcontrast-textfield-border-color-focus, var(--mod-textfield-border-color-focus, var(--spectrum-textfield-border-color-focus)));
- color: var(--highcontrast-textfield-text-color-focus, var(--mod-textfield-text-color-focus, var(--spectrum-textfield-text-color-focus)));
+ color: var(--mod-textfield-text-color-focus, var(--spectrum-textfield-text-color-focus));
&::placeholder {
- color: var(--highcontrast-textfield-text-color-focus, var(--mod-textfield-text-color-focus, var(--spectrum-textfield-text-color-focus)));
+ color: var(--mod-textfield-text-color-focus, var(--spectrum-textfield-text-color-focus));
}
/* focus hover */
&:hover {
- border-color: var(--highcontrast-textfield-border-color-focus-hover, var(--mod-textfield-border-color-focus-hover, var(--spectrum-textfield-border-color-focus-hover)));
- color: var(--highcontrast-textfield-text-color-focus-hover, var(--mod-textfield-text-color-focus-hover, var(--spectrum-textfield-text-color-focus-hover)));
+ border-color: var(--mod-textfield-border-color-focus-hover, var(--spectrum-textfield-border-color-focus-hover));
+ color: var(--mod-textfield-text-color-focus-hover, var(--spectrum-textfield-text-color-focus-hover));
}
&:hover::placeholder {
- color: var(--highcontrast-textfield-text-color-focus-hover, var(--mod-textfield-text-color-focus-hover, var(--spectrum-textfield-text-color-focus-hover)));
+ color: var(--mod-textfield-text-color-focus-hover, var(--spectrum-textfield-text-color-focus-hover));
}
}
@@ -510,7 +489,7 @@
/* focus hover */
&:hover {
- border-color: var(--highcontrast-textfield-border-color-invalid-focus-hover, var(--mod-textfield-border-color-invalid-focus-hover, var(--spectrum-textfield-border-color-invalid-focus-hover)));
+ border-color: var(--mod-textfield-border-color-invalid-focus-hover, var(--spectrum-textfield-border-color-invalid-focus-hover));
}
}
@@ -660,6 +639,7 @@
/********* WHCM *********/
@media (forced-colors: active) {
.spectrum-Textfield {
+ --highcontrast-textfield-border-color: CanvasText;
--highcontrast-textfield-border-color-hover: Highlight;
--highcontrast-textfield-border-color-focus: Highlight;
--highcontrast-textfield-border-color-keyboard-focus: CanvasText;
diff --git a/components/textfield/metadata/metadata.json b/components/textfield/metadata/metadata.json
index 375c277382e..4e4f7d73ed5 100644
--- a/components/textfield/metadata/metadata.json
+++ b/components/textfield/metadata/metadata.json
@@ -228,7 +228,6 @@
"global": [
"--spectrum-animation-duration-100",
"--spectrum-border-width-100",
- "--spectrum-border-width-200",
"--spectrum-character-count-to-field-quiet-extra-large",
"--spectrum-character-count-to-field-quiet-large",
"--spectrum-character-count-to-field-quiet-medium",
@@ -292,8 +291,7 @@
"--spectrum-font-size-200",
"--spectrum-font-size-300",
"--spectrum-font-size-75",
- "--spectrum-gray-400",
- "--spectrum-gray-50",
+ "--spectrum-gray-25",
"--spectrum-gray-500",
"--spectrum-gray-600",
"--spectrum-gray-800",
@@ -332,32 +330,27 @@
"--spectrum-workflow-icon-size-75"
],
"system-theme": [
- "--system-spectrum-textfield-border-color",
- "--system-spectrum-textfield-border-color-focus",
- "--system-spectrum-textfield-border-color-focus-hover",
- "--system-spectrum-textfield-border-color-hover",
- "--system-spectrum-textfield-border-color-keyboard-focus",
- "--system-spectrum-textfield-border-width"
+ "--system-textfield-background-color",
+ "--system-textfield-border-color",
+ "--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"
],
"passthroughs": [],
"high-contrast": [
"--highcontrast-textfield-border-color",
"--highcontrast-textfield-border-color-focus",
- "--highcontrast-textfield-border-color-focus-hover",
"--highcontrast-textfield-border-color-hover",
"--highcontrast-textfield-border-color-invalid-default",
"--highcontrast-textfield-border-color-invalid-focus",
- "--highcontrast-textfield-border-color-invalid-focus-hover",
"--highcontrast-textfield-border-color-invalid-hover",
"--highcontrast-textfield-border-color-invalid-keyboard-focus",
"--highcontrast-textfield-border-color-keyboard-focus",
"--highcontrast-textfield-focus-indicator-color",
- "--highcontrast-textfield-icon-color-invalid",
- "--highcontrast-textfield-icon-color-valid",
"--highcontrast-textfield-text-color-default",
"--highcontrast-textfield-text-color-disabled",
- "--highcontrast-textfield-text-color-focus",
- "--highcontrast-textfield-text-color-focus-hover",
"--highcontrast-textfield-text-color-hover",
"--highcontrast-textfield-text-color-invalid",
"--highcontrast-textfield-text-color-keyboard-focus",
diff --git a/components/textfield/package.json b/components/textfield/package.json
index 2f3c57a2f8d..7d80c74f723 100644
--- a/components/textfield/package.json
+++ b/components/textfield/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/textfield",
- "version": "7.3.0",
+ "version": "8.0.0-s2-foundations.17",
"description": "The Spectrum CSS textfield component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/helptext": ">=5",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/helptext": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/helptext": {
diff --git a/components/textfield/stories/template.js b/components/textfield/stories/template.js
index cdb23da0a80..5f20b0abb86 100644
--- a/components/textfield/stories/template.js
+++ b/components/textfield/stories/template.js
@@ -10,6 +10,9 @@ 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
@@ -148,6 +151,7 @@ export const Template = ({
${when(displayLabel, () => FieldLabel({
size,
label: labelText,
+ isDisabled,
}, context))}
${when(typeof characterCount !== "undefined", () => html`
${characterCount} `)}
diff --git a/components/textfield/stories/textarea.stories.js b/components/textfield/stories/textarea.stories.js
index 6ab8b75a637..090bcf4a4d9 100644
--- a/components/textfield/stories/textarea.stories.js
+++ b/components/textfield/stories/textarea.stories.js
@@ -23,6 +23,10 @@ export default {
parameters: {
packageJson,
metadata,
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=725-2579",
+ },
}
};
diff --git a/components/textfield/stories/textfield.stories.js b/components/textfield/stories/textfield.stories.js
index e86ce3a5d4f..2cab6a8058c 100644
--- a/components/textfield/stories/textfield.stories.js
+++ b/components/textfield/stories/textfield.stories.js
@@ -136,6 +136,10 @@ export default {
"focusout .spectrum-Textfield"
],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=717-2629",
+ },
packageJson,
metadata,
},
diff --git a/components/textfield/themes/express.css b/components/textfield/themes/express.css
index 5bb5ddc44da..31de0c5779a 100644
--- a/components/textfield/themes/express.css
+++ b/components/textfield/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@container style(--system: express) {
.spectrum-Textfield {
--spectrum-textfield-border-color: var(--spectrum-gray-400);
--spectrum-textfield-border-color-hover: var(--spectrum-gray-500);
diff --git a/tokens/dist/css/express/custom-large-vars.css b/components/textfield/themes/spectrum-two.css
similarity index 52%
rename from tokens/dist/css/express/custom-large-vars.css
rename to components/textfield/themes/spectrum-two.css
index e91e617d134..5083309c314 100644
--- a/tokens/dist/css/express/custom-large-vars.css
+++ b/components/textfield/themes/spectrum-two.css
@@ -11,13 +11,17 @@
* governing permissions and limitations under the License.
*/
-.spectrum--express.spectrum--large{
- --spectrum-colorwheel-path:"M 118 118 m -118 0 a 118 118 0 1 0 236 0 a 118 118 0 1 0 -236 0.2 M 118 118 m -92 0 a 92 92 0 1 0 184 0 a 92 92 0 1 0 -184 0";
- --spectrum-colorwheel-path-borders:"M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0";
+@container style(--system: spectrum) {
+ .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-900);
- --spectrum-dialog-confirm-border-radius:8px;
+ --spectrum-textfield-border-width: var(--spectrum-border-width-100);
- --spectrum-dial-border-radius:15px;
-
- --spectrum-assetcard-focus-ring-border-radius:12px;
+ /*** Colors ***/
+ --spectrum-textfield-background-color: var(--spectrum-gray-25);
+ }
}
diff --git a/components/textfield/themes/spectrum.css b/components/textfield/themes/spectrum.css
index a4854e02352..c224d267667 100644
--- a/components/textfield/themes/spectrum.css
+++ b/components/textfield/themes/spectrum.css
@@ -11,14 +11,12 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
- .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-900);
+/* @combine .spectrum.spectrum--legacy */
+
+@import "./spectrum-two.css";
- --spectrum-textfield-border-width: var(--spectrum-border-width-100);
+@container style(--system: legacy) {
+ .spectrum-Textfield {
+ --spectrum-textfield-background-color: var(--spectrum-gray-50);
}
}
diff --git a/components/thumbnail/CHANGELOG.md b/components/thumbnail/CHANGELOG.md
index ad2cf605bf7..bb6c24b9c18 100644
--- a/components/thumbnail/CHANGELOG.md
+++ b/components/thumbnail/CHANGELOG.md
@@ -1,5 +1,254 @@
# Change Log
+## 7.0.0-s2-foundations.18
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.16
+
+## 7.0.0-s2-foundations.17
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9c6561b`](https://github.com/adobe/spectrum-css/commit/9c6561b38624307da9bca7499452c3cb8ea2095e) Thanks [@pfulton](https://github.com/pfulton)! - Bring in the latest S2 foundations release including updated corner rounding approach, colors, and icon spacing. Remapped corner rounding values for the -75 token to a static 2px value for spectrum themes.
+
+### Patch Changes
+
+- Updated dependencies [[`9c6561b`](https://github.com/adobe/spectrum-css/commit/9c6561b38624307da9bca7499452c3cb8ea2095e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.25
+
+## 7.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f14c3be`](https://github.com/adobe/spectrum-css/commit/f14c3bee4ea3b3ad259ce2fa9c3f58fa49febf9d) Thanks [@pfulton](https://github.com/pfulton)! - ProgressBar/Meter
+
+ - Fix bug by reverting "background-color" for track fill back to "background".
+
+ Thumbnail
+
+ - Remove unused "vertical align" property.
+
+## 7.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.15
+
+## 7.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.14
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 7.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 7.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 7.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.10
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 7.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 7.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 7.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 7.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.6
+
+## 7.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 7.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 7.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 7.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 7.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 7.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/opacitycheckerboard@3.0.0-s2-foundations.0
+
## 6.3.0
### Minor Changes
diff --git a/components/thumbnail/index.css b/components/thumbnail/index.css
index ee8b55d11f0..62e44665518 100644
--- a/components/thumbnail/index.css
+++ b/components/thumbnail/index.css
@@ -11,89 +11,90 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
-.spectrum-Thumbnail {
- --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-500);
-
- --spectrum-thumbnail-border-radius: var(--spectrum-corner-radius-75);
- --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: 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);
+.spectrum-Thumbnail,
+.spectrum-Thumbnail--size500 {
+ --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-500);
}
.spectrum-Thumbnail--size50 {
- --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-50);
+ --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-50);
}
.spectrum-Thumbnail--size75 {
- --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-75);
+ --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-75);
}
.spectrum-Thumbnail--size100 {
- --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-100);
+ --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-100);
}
.spectrum-Thumbnail--size200 {
- --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-200);
+ --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-200);
}
.spectrum-Thumbnail--size300 {
- --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-300);
+ --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-300);
}
.spectrum-Thumbnail--size400 {
- --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-400);
-}
-
-.spectrum-Thumbnail--size500 {
- --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-500);
+ --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-400);
}
.spectrum-Thumbnail--size600 {
- --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-600);
+ --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-600);
}
.spectrum-Thumbnail--size700 {
- --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-700);
+ --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-700);
}
.spectrum-Thumbnail--size800 {
- --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-800);
+ --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-800);
}
.spectrum-Thumbnail--size900 {
- --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-900);
+ --spectrum-thumbnail-sized-size: var(--spectrum-thumbnail-size-900);
}
.spectrum-Thumbnail--size1000 {
- --spectrum-thumbnail-size: var(--spectrum-thumbnail-size-1000);
+ --spectrum-thumbnail-sized-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;
margin: 0;
padding: 0;
display: block;
- inline-size: var(--mod-thumbnail-size, var(--spectrum-thumbnail-size));
- block-size: var(--mod-thumbnail-size, var(--spectrum-thumbnail-size));
+ inline-size: var(--spectrum-thumbnail-size);
+ block-size: var(--spectrum-thumbnail-size);
- border-radius: var(--mod-thumbnail-border-radius, var(--spectrum-thumbnail-border-radius));
+ border-radius: var(--spectrum-thumbnail-border-radius-default);
+
+ overflow: hidden;
+ z-index: 0;
&::before {
content: "";
@@ -101,8 +102,8 @@
position: absolute;
inline-size: 100%;
block-size: 100%;
- 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-rgba)));
+ border-radius: var(--spectrum-thumbnail-border-radius-default);
+ box-shadow: inset 0 0 0 var(--spectrum-thumbnail-border-width) var(--spectrum-thumbnail-border-color);
}
&.is-disabled {
@@ -115,30 +116,27 @@
&::after {
content: "";
border-style: solid;
- 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));
+ border-width: var(--spectrum-thumbnail-focus-indicator-thickness);
+ border-color: var(--spectrum-thumbnail-focus-indicator-color);
+ border-radius: var(--spectrum-thumbnail-border-radius-default);
position: absolute;
- inset-inline-start: 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);
- inset-inline-end: 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);
- inset-block-end: 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);
- inset-block-start: 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);
+ 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);
}
.spectrum-Thumbnail-image-wrapper {
overflow: hidden;
- border-radius: var(--mod-thumbnail-border-radius, var(--spectrum-thumbnail-border-radius));
+ border-radius: var(--spectrum-thumbnail-border-radius-default);
}
}
-
- overflow: hidden;
- z-index: 0;
}
.spectrum-Thumbnail-layer {
border-style: solid;
- 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)));
+ border-width: var(--spectrum-thumbnail-layer-border-width-outer);
+ border-color: var(--spectrum-thumbnail-layer-border-color-outer);
box-sizing: border-box;
display: flex;
@@ -151,9 +149,9 @@
&.is-selected {
outline-style: solid;
- 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)));
+ 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));
}
}
@@ -162,11 +160,11 @@
align-items: center;
justify-content: center;
- 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);
+ 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);
outline-style: solid;
- 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)));
+ 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));
}
.spectrum-Thumbnail-image-wrapper {
@@ -179,8 +177,8 @@
.spectrum-Thumbnail-image {
position: relative;
- max-block-size: 100%;
max-inline-size: 100%;
+ max-block-size: 100%;
z-index: 1;
}
@@ -204,7 +202,7 @@
inline-size: 100%;
background-size: cover;
background-position: center center;
- border-radius: var(--mod-thumbnail-border-radius, var(--spectrum-thumbnail-border-radius));
+ border-radius: var(--spectrum-thumbnail-border-radius-default);
}
/* Windows High Contrast Mode */
diff --git a/components/thumbnail/metadata/metadata.json b/components/thumbnail/metadata/metadata.json
index 3aa25c510f5..067259ff6a1 100644
--- a/components/thumbnail/metadata/metadata.json
+++ b/components/thumbnail/metadata/metadata.json
@@ -45,10 +45,11 @@
"--mod-thumbnail-size"
],
"component": [
- "--spectrum-thumbnail-border-color-rgba",
+ "--spectrum-thumbnail-border-color",
"--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",
@@ -72,14 +73,14 @@
"--spectrum-thumbnail-size-700",
"--spectrum-thumbnail-size-75",
"--spectrum-thumbnail-size-800",
- "--spectrum-thumbnail-size-900"
+ "--spectrum-thumbnail-size-900",
+ "--spectrum-thumbnail-sized-size"
],
"global": [
"--spectrum-accent-color-800",
"--spectrum-border-width-100",
"--spectrum-border-width-200",
"--spectrum-border-width-400",
- "--spectrum-corner-radius-75",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-gap",
"--spectrum-focus-indicator-thickness",
@@ -87,7 +88,7 @@
"--spectrum-gray-800-rgb",
"--spectrum-white"
],
- "system-theme": [],
+ "system-theme": ["--system-thumbnail-border-radius"],
"passthroughs": [],
"high-contrast": [
"--highcontrast-thumbnail-border-color",
diff --git a/components/thumbnail/package.json b/components/thumbnail/package.json
index adaebfbe996..848796b6be3 100644
--- a/components/thumbnail/package.json
+++ b/components/thumbnail/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/thumbnail",
- "version": "6.3.0",
+ "version": "7.0.0-s2-foundations.18",
"description": "The Spectrum CSS thumbnail component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/opacitycheckerboard": ">=2",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/opacitycheckerboard": ">=3.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/opacitycheckerboard": "workspace:^",
diff --git a/components/thumbnail/stories/template.js b/components/thumbnail/stories/template.js
index 2b40d8e1015..aa476ea722b 100644
--- a/components/thumbnail/stories/template.js
+++ b/components/thumbnail/stories/template.js
@@ -7,6 +7,9 @@ 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 f68d07e1c4a..be057b1e0cf 100644
--- a/components/thumbnail/stories/thumbnail.stories.js
+++ b/components/thumbnail/stories/thumbnail.stories.js
@@ -88,6 +88,10 @@ export default {
actions: {
handles: [],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=29951-634",
+ },
packageJson,
metadata,
},
diff --git a/components/thumbnail/themes/express.css b/components/thumbnail/themes/express.css
index 3c392c9ea49..9fd550418f2 100644
--- a/components/thumbnail/themes/express.css
+++ b/components/thumbnail/themes/express.css
@@ -11,4 +11,6 @@
* 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
new file mode 100644
index 00000000000..4cd647afd85
--- /dev/null
+++ b/components/thumbnail/themes/spectrum-two.css
@@ -0,0 +1,18 @@
+/*!
+ * 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
index 3b48a570c21..b1abf324653 100644
--- a/components/thumbnail/themes/spectrum.css
+++ b/components/thumbnail/themes/spectrum.css
@@ -10,3 +10,13 @@
* 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 f132046b85a..d7a2f3a09a7 100644
--- a/components/toast/CHANGELOG.md
+++ b/components/toast/CHANGELOG.md
@@ -1,5 +1,265 @@
# Change Log
+## 11.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.17
+ - @spectrum-css/button@14.0.0-s2-foundations.19
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 11.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.16
+ - @spectrum-css/button@14.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 11.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.15
+ - @spectrum-css/button@14.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 11.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.14
+ - @spectrum-css/button@14.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 11.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.12
+ - @spectrum-css/button@14.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 11.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.11
+ - @spectrum-css/button@14.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 11.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.10
+ - @spectrum-css/button@14.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 11.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.9
+ - @spectrum-css/button@14.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 11.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.8
+ - @spectrum-css/button@14.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 11.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.7
+ - @spectrum-css/button@14.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 11.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.6
+ - @spectrum-css/button@14.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 11.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.5
+ - @spectrum-css/button@14.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 11.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.4
+ - @spectrum-css/button@14.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 11.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.3
+ - @spectrum-css/button@14.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 11.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.2
+ - @spectrum-css/button@14.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 11.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.1
+ - @spectrum-css/button@14.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 11.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/closebutton@6.0.0-s2-foundations.0
+ - @spectrum-css/button@14.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 10.3.0
### Minor Changes
diff --git a/components/toast/index.css b/components/toast/index.css
index 5c1a6c0f40c..8b3793de9af 100644
--- a/components/toast/index.css
+++ b/components/toast/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Toast {
/* Hardcoded variables */
@@ -50,14 +50,11 @@
--spectrum-toast-spacing-bottom-edge-to-text: var(--spectrum-toast-bottom-to-text);
/* Color */
-
--spectrum-toast-negative-background-color-default: var(--spectrum-negative-background-color-default);
--spectrum-toast-positive-background-color-default: var(--spectrum-positive-background-color-default);
--spectrum-toast-informative-background-color-default: var(--spectrum-informative-background-color-default);
--spectrum-toast-text-and-icon-color: var(--spectrum-white);
-
- --spectrum-toast-divider-color: var(--spectrum-transparent-white-300);
}
@media (forced-colors: active) {
@@ -86,35 +83,35 @@
-webkit-font-smoothing: antialiased;
- background-color: var(--highcontrast-toast-background-color-default, var(--mod-toast-background-color-default, var(--spectrum-toast-background-color-default)));
- color: var(--highcontrast-toast-background-color-default, var(--mod-toast-background-color-default, var(--spectrum-toast-background-color-default)));
+ background-color: var(--mod-toast-background-color-default, var(--spectrum-toast-background-color-default));
+ color: var(--mod-toast-background-color-default, var(--spectrum-toast-background-color-default));
overflow-wrap: anywhere;
}
.spectrum-Toast--negative {
- background-color: var(--highcontrast-toast-negative-background-color-default, var(--mod-toast-negative-background-color-default, var(--spectrum-toast-negative-background-color-default)));
- color: var(--highcontrast-toast-negative-background-color-default, var(--mod-toast-negative-background-color-default, var(--spectrum-toast-negative-background-color-default)));
+ background-color: var(--mod-toast-negative-background-color-default, var(--spectrum-toast-negative-background-color-default));
+ color: var(--mod-toast-negative-background-color-default, var(--spectrum-toast-negative-background-color-default));
.spectrum-Toast-closeButton:focus-visible:not(:active) {
- color: var(--highcontrast-toast-negative-background-color-default, var(--mod-toast-negative-background-color-default, var(--spectrum-toast-negative-background-color-default)));
+ color: var(--mod-toast-negative-background-color-default, var(--spectrum-toast-negative-background-color-default));
}
}
.spectrum-Toast--info {
- background-color: var(--highcontrast-toast-informative-background-color-default, var(--mod-toast-informative-background-color-default, var(--spectrum-toast-informative-background-color-default)));
- color: var(--highcontrast-toast-informative-background-color-default, var(--mod-toast-informative-background-color-default, var(--spectrum-toast-informative-background-color-default)));
+ background-color: var(--mod-toast-informative-background-color-default, var(--spectrum-toast-informative-background-color-default));
+ color: var(--mod-toast-informative-background-color-default, var(--spectrum-toast-informative-background-color-default));
.spectrum-Toast-closeButton:focus-visible:not(:active) {
- color: var(--highcontrast-toast-informative-background-color-default, var(--mod-toast-informative-background-color-default, var(--spectrum-toast-informative-background-color-default)));
+ color: var(--mod-toast-informative-background-color-default, var(--spectrum-toast-informative-background-color-default));
}
}
.spectrum-Toast--positive {
- background-color: var(--highcontrast-toast-positive-background-color-default, var(--mod-toast-positive-background-color-default, var(--spectrum-toast-positive-background-color-default)));
- color: var(--highcontrast-toast-positive-background-color-default, var(--mod-toast-positive-background-color-default, var(--spectrum-toast-positive-background-color-default)));
+ background-color: var(--mod-toast-positive-background-color-default, var(--spectrum-toast-positive-background-color-default));
+ color: var(--mod-toast-positive-background-color-default, var(--spectrum-toast-positive-background-color-default));
.spectrum-Toast-closeButton:focus-visible:not(:active) {
- color: var(--highcontrast-toast-positive-background-color-default, var(--mod-toast-positive-background-color-default, var(--spectrum-toast-positive-background-color-default)));
+ color: var(--mod-toast-positive-background-color-default, var(--spectrum-toast-positive-background-color-default));
}
}
@@ -126,7 +123,7 @@
margin-inline-end: var(--mod-toast-spacing-icon-to-text, var(--spectrum-toast-spacing-icon-to-text));
margin-inline-start: 0;
- color: var(--highcontrast-toast-text-and-icon-color, var(--mod-toast-text-and-icon-color, var(--spectrum-toast-text-and-icon-color)));
+ color: var(--mod-toast-text-and-icon-color, var(--spectrum-toast-text-and-icon-color));
}
.spectrum-Toast-content {
@@ -144,7 +141,7 @@
text-align: start;
- color: var(--highcontrast-toast-text-and-icon-color, var(--mod-toast-text-and-icon-color, var(--spectrum-toast-text-and-icon-color)));
+ color: var(--mod-toast-text-and-icon-color, var(--spectrum-toast-text-and-icon-color));
&:lang(ja),
&:lang(zh),
diff --git a/components/toast/metadata/metadata.json b/components/toast/metadata/metadata.json
index b186fd9d8ef..8721a98ef8a 100644
--- a/components/toast/metadata/metadata.json
+++ b/components/toast/metadata/metadata.json
@@ -90,24 +90,19 @@
"--spectrum-informative-background-color-default",
"--spectrum-line-height-100",
"--spectrum-negative-background-color-default",
- "--spectrum-neutral-background-color-default",
"--spectrum-neutral-subdued-background-color-default",
"--spectrum-positive-background-color-default",
"--spectrum-regular-font-weight",
"--spectrum-spacing-100",
"--spectrum-spacing-300",
"--spectrum-text-to-visual-100",
- "--spectrum-transparent-white-300",
+ "--spectrum-transparent-white-400",
"--spectrum-white"
],
- "system-theme": ["--system-spectrum-toast-background-color-default"],
+ "system-theme": [
+ "--system-toast-background-color-default",
+ "--system-toast-divider-color"
+ ],
"passthroughs": [],
- "high-contrast": [
- "--highcontrast-toast-background-color-default",
- "--highcontrast-toast-border-color",
- "--highcontrast-toast-informative-background-color-default",
- "--highcontrast-toast-negative-background-color-default",
- "--highcontrast-toast-positive-background-color-default",
- "--highcontrast-toast-text-and-icon-color"
- ]
+ "high-contrast": ["--highcontrast-toast-border-color"]
}
diff --git a/components/toast/package.json b/components/toast/package.json
index 1a5e93333e8..0f4308f01ba 100644
--- a/components/toast/package.json
+++ b/components/toast/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/toast",
- "version": "10.3.0",
+ "version": "11.0.0-s2-foundations.16",
"description": "The Spectrum CSS toast component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,20 +21,22 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/button": ">=13",
- "@spectrum-css/closebutton": ">=5",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0",
+ "@spectrum-css/closebutton": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/button": "workspace:^",
diff --git a/components/toast/stories/template.js b/components/toast/stories/template.js
index 6bf43215408..89d459dbf0a 100644
--- a/components/toast/stories/template.js
+++ b/components/toast/stories/template.js
@@ -9,6 +9,9 @@ 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/stories/toast.stories.js b/components/toast/stories/toast.stories.js
index 3359f4ad692..62989ee2d70 100644
--- a/components/toast/stories/toast.stories.js
+++ b/components/toast/stories/toast.stories.js
@@ -49,6 +49,10 @@ export default {
handles: ["click .spectrum-Toast button"],
},
packageJson,
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=2666-4482",
+ },
metadata,
},
};
diff --git a/components/toast/themes/express.css b/components/toast/themes/express.css
index ab3c76a48eb..2de113b03ed 100644
--- a/components/toast/themes/express.css
+++ b/components/toast/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@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
new file mode 100644
index 00000000000..1097d457299
--- /dev/null
+++ b/components/toast/themes/spectrum-two.css
@@ -0,0 +1,19 @@
+/*!
+ * 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
index e741ff3c6cc..a843b40a646 100644
--- a/components/toast/themes/spectrum.css
+++ b/components/toast/themes/spectrum.css
@@ -11,8 +11,12 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
+/* @combine .spectrum.spectrum--legacy */
+
+@import "./spectrum-two.css";
+
+@container style(--system: legacy) {
.spectrum-Toast {
- --spectrum-toast-background-color-default: var(--spectrum-neutral-subdued-background-color-default);
- }
+ --spectrum-toast-divider-color: var(--spectrum-transparent-white-300);
+ }
}
diff --git a/components/tooltip/CHANGELOG.md b/components/tooltip/CHANGELOG.md
index 7897fbb801c..e6a426ab14a 100644
--- a/components/tooltip/CHANGELOG.md
+++ b/components/tooltip/CHANGELOG.md
@@ -1,5 +1,231 @@
# Change Log
+## 7.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 7.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 7.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 7.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 7.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 7.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 7.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 7.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 7.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 7.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 7.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 7.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 7.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 7.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 7.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 7.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 6.2.0
### Minor Changes
diff --git a/components/tooltip/index.css b/components/tooltip/index.css
index 52cc8832746..3499ec9b60a 100644
--- a/components/tooltip/index.css
+++ b/components/tooltip/index.css
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
@import "@spectrum-css/commons/overlay.css";
.spectrum-Tooltip {
@@ -77,11 +77,11 @@
}
.spectrum-Tooltip-tip {
- forced-color-adjust: none;
--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;
}
}
diff --git a/components/tooltip/metadata/metadata.json b/components/tooltip/metadata/metadata.json
index 8f711735341..7f6d6d0b94d 100644
--- a/components/tooltip/metadata/metadata.json
+++ b/components/tooltip/metadata/metadata.json
@@ -384,7 +384,6 @@
"--spectrum-informative-background-color-default",
"--spectrum-line-height-100",
"--spectrum-negative-background-color-default",
- "--spectrum-neutral-background-color-default",
"--spectrum-neutral-subdued-background-color-default",
"--spectrum-positive-background-color-default",
"--spectrum-regular-font-weight",
@@ -392,7 +391,7 @@
"--spectrum-white",
"--spectrum-workflow-icon-size-50"
],
- "system-theme": ["--system-spectrum-tooltip-backgound-color-default-neutral"],
+ "system-theme": ["--system-tooltip-backgound-color-default-neutral"],
"passthroughs": [],
"high-contrast": [
"--highcontrast-tooltip-background-color-default",
diff --git a/components/tooltip/package.json b/components/tooltip/package.json
index 63ff8df81c3..e80104e97c2 100644
--- a/components/tooltip/package.json
+++ b/components/tooltip/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/tooltip",
- "version": "6.2.0",
+ "version": "7.0.0-s2-foundations.16",
"description": "The Spectrum CSS tooltip component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,18 +21,20 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/commons": "workspace:^",
diff --git a/components/tooltip/stories/template.js b/components/tooltip/stories/template.js
index 4098beb8b73..5c5c260f4d6 100644
--- a/components/tooltip/stories/template.js
+++ b/components/tooltip/stories/template.js
@@ -7,6 +7,9 @@ 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",
diff --git a/components/tooltip/stories/tooltip.stories.js b/components/tooltip/stories/tooltip.stories.js
index 7cff3e7e3d2..83554506e6b 100644
--- a/components/tooltip/stories/tooltip.stories.js
+++ b/components/tooltip/stories/tooltip.stories.js
@@ -90,6 +90,10 @@ export default {
label: "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=2591-4482",
+ },
packageJson,
metadata,
},
diff --git a/components/tooltip/themes/express.css b/components/tooltip/themes/express.css
index c49466f84fe..ec00162e91a 100644
--- a/components/tooltip/themes/express.css
+++ b/components/tooltip/themes/express.css
@@ -11,9 +11,11 @@
* governing permissions and limitations under the License.
*/
+/* @combine .spectrum.spectrum--express */
+
@import "./spectrum.css";
-@container (--system: express) {
+@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
new file mode 100644
index 00000000000..42b423e3448
--- /dev/null
+++ b/components/tooltip/themes/spectrum-two.css
@@ -0,0 +1,18 @@
+/*!
+ * 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
index e0a55504823..3d81bc564b5 100644
--- a/components/tooltip/themes/spectrum.css
+++ b/components/tooltip/themes/spectrum.css
@@ -11,8 +11,6 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {
- .spectrum-Tooltip {
- --spectrum-tooltip-backgound-color-default-neutral: var(--spectrum-neutral-subdued-background-color-default);
- }
-}
+/* @combine .spectrum.spectrum--legacy */
+
+@import "./spectrum-two.css";
diff --git a/components/tray/CHANGELOG.md b/components/tray/CHANGELOG.md
index 860a9ed8676..065c22cc26a 100644
--- a/components/tray/CHANGELOG.md
+++ b/components/tray/CHANGELOG.md
@@ -1,5 +1,299 @@
# Change Log
+## 4.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/divider@4.0.0-s2-foundations.16
+ - @spectrum-css/button@14.0.0-s2-foundations.19
+ - @spectrum-css/dialog@11.0.0-s2-foundations.16
+ - @spectrum-css/modal@6.0.0-s2-foundations.17
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 4.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.15
+ - @spectrum-css/button@14.0.0-s2-foundations.17
+ - @spectrum-css/dialog@11.0.0-s2-foundations.15
+ - @spectrum-css/modal@6.0.0-s2-foundations.16
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 4.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.14
+ - @spectrum-css/button@14.0.0-s2-foundations.16
+ - @spectrum-css/dialog@11.0.0-s2-foundations.14
+ - @spectrum-css/modal@6.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 4.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.13
+ - @spectrum-css/button@14.0.0-s2-foundations.15
+ - @spectrum-css/dialog@11.0.0-s2-foundations.13
+ - @spectrum-css/modal@6.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 4.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.12
+ - @spectrum-css/button@14.0.0-s2-foundations.12
+ - @spectrum-css/dialog@11.0.0-s2-foundations.12
+ - @spectrum-css/modal@6.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 4.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.11
+ - @spectrum-css/button@14.0.0-s2-foundations.11
+ - @spectrum-css/dialog@11.0.0-s2-foundations.11
+ - @spectrum-css/modal@6.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 4.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.10
+ - @spectrum-css/button@14.0.0-s2-foundations.10
+ - @spectrum-css/dialog@11.0.0-s2-foundations.10
+ - @spectrum-css/modal@6.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 4.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.9
+ - @spectrum-css/button@14.0.0-s2-foundations.9
+ - @spectrum-css/dialog@11.0.0-s2-foundations.9
+ - @spectrum-css/modal@6.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 4.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.8
+ - @spectrum-css/button@14.0.0-s2-foundations.8
+ - @spectrum-css/dialog@11.0.0-s2-foundations.8
+ - @spectrum-css/modal@6.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 4.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.7
+ - @spectrum-css/button@14.0.0-s2-foundations.7
+ - @spectrum-css/dialog@11.0.0-s2-foundations.7
+ - @spectrum-css/modal@6.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 4.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/divider@4.0.0-s2-foundations.6
+ - @spectrum-css/button@14.0.0-s2-foundations.6
+ - @spectrum-css/dialog@11.0.0-s2-foundations.6
+ - @spectrum-css/modal@6.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 4.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.5
+ - @spectrum-css/button@14.0.0-s2-foundations.5
+ - @spectrum-css/dialog@11.0.0-s2-foundations.5
+ - @spectrum-css/modal@6.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 4.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.4
+ - @spectrum-css/button@14.0.0-s2-foundations.4
+ - @spectrum-css/dialog@11.0.0-s2-foundations.4
+ - @spectrum-css/modal@6.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 4.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.3
+ - @spectrum-css/button@14.0.0-s2-foundations.3
+ - @spectrum-css/dialog@11.0.0-s2-foundations.3
+ - @spectrum-css/modal@6.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 4.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.2
+ - @spectrum-css/button@14.0.0-s2-foundations.2
+ - @spectrum-css/dialog@11.0.0-s2-foundations.2
+ - @spectrum-css/modal@6.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 4.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.1
+ - @spectrum-css/button@14.0.0-s2-foundations.1
+ - @spectrum-css/dialog@11.0.0-s2-foundations.1
+ - @spectrum-css/modal@6.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 4.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/divider@4.0.0-s2-foundations.0
+ - @spectrum-css/button@14.0.0-s2-foundations.0
+ - @spectrum-css/modal@6.0.0-s2-foundations.0
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/dialog@11.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+
## 3.2.0
### Minor Changes
diff --git a/components/tray/index.css b/components/tray/index.css
index 458189a0083..9029cc7b641 100644
--- a/components/tray/index.css
+++ b/components/tray/index.css
@@ -11,25 +11,7 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
-
-.spectrum-Tray {
- /* Placeholder tokens */
- --spectrum-tray-exit-animation-delay: 0ms;
- --spectrum-tray-entry-animation-delay: 160ms;
-
- /* Maximum width for landscape */
- --spectrum-tray-max-inline-size: 375px;
-
- /* https://spectrum.adobe.com/page/tray/#Maximum-height */
- --spectrum-tray-spacing-edge-to-tray-safe-zone: 64px;
-
- --spectrum-tray-entry-animation-duration: var(--spectrum-animation-duration-500);
- --spectrum-tray-exit-animation-duration: var(--spectrum-animation-duration-100);
-
- --spectrum-tray-corner-radius: var(--spectrum-corner-radius-100);
- --spectrum-tray-background-color: var(--spectrum-background-layer-2-color);
-}
+@import "./themes/spectrum-two.css";
.spectrum-Tray-wrapper {
inset-inline-start: 0;
@@ -43,14 +25,28 @@
}
.spectrum-Tray {
+ /* Maximum width for landscape */
+ --spectrum-tray-max-inline-size: var(--mod-tray-max-inline-size, 375px);
+
+ /* https://spectrum.adobe.com/page/tray/#Maximum-height */
+ --spectrum-tray-spacing-edge-to-tray-safe-zone: var(--mod-tray-spacing-edge-to-tray-safe-zone, 64px);
+
+ --spectrum-tray-entry-animation-delay: var(--mod-tray-entry-animation-delay, 160ms);
+ --spectrum-tray-entry-animation-duration: var(--mod-tray-entry-animation-duration, var(--spectrum-animation-duration-500));
+ --spectrum-tray-exit-animation-delay: var(--mod-tray-exit-animation-delay, 0ms);
+ --spectrum-tray-exit-animation-duration: var(--mod-tray-exit-animation-duration, var(--spectrum-animation-duration-100));
+
+ --spectrum-tray-corner-radius: var(--mod-tray-corner-radius, var(--spectrum-corner-radius-100));
+ --spectrum-tray-background-color: var(--highcontrast-tray-background-color, var(--mod-tray-background-color, var(--spectrum-background-layer-2-color)));
+
--mod-modal-max-width: 100%;
/* Default to full width when the viewport is in portrait orientation */
inline-size: 100%;
max-inline-size: 100%;
- max-block-size: calc(100vh - var(--mod-tray-spacing-edge-to-tray-safe-zone, var(--spectrum-tray-spacing-edge-to-tray-safe-zone)));
- margin-block-start: var(--mod-tray-spacing-edge-to-tray-safe-zone, var(--spectrum-tray-spacing-edge-to-tray-safe-zone));
+ max-block-size: calc(100vh - var(--spectrum-tray-spacing-edge-to-tray-safe-zone));
+ margin-block-start: var(--spectrum-tray-spacing-edge-to-tray-safe-zone);
padding-block-start: var(--mod-tray-top-to-content-area, var(--spectrum-tray-top-to-content-area));
padding-block-end: var(--mod-tray-bottom-to-content-area, var(--spectrum-tray-top-to-content-area));
box-sizing: border-box;
@@ -63,26 +59,27 @@
/* Exit animations */
transition:
- opacity var(--mod-tray-exit-animation-duration, var(--spectrum-tray-exit-animation-duration)) cubic-bezier(0.5, 0, 1, 1) var(--mod-tray-exit-animation-delay, var(--spectrum-tray-exit-animation-delay)),
- visibility var(--mod-tray-exit-animation-duration, var(--spectrum-tray-exit-animation-duration)) linear calc(var(--mod-tray-exit-animation-delay, var(--spectrum-tray-exit-animation-delay)) + var(--mod-tray-exit-animation-duration, var(--spectrum-tray-exit-animation-duration))),
- transform var(--mod-tray-exit-animation-duration, var(--spectrum-tray-exit-animation-duration)) cubic-bezier(0.5, 0, 1, 1) var(--mod-tray-exit-animation-delay, var(--spectrum-tray-exit-animation-delay));
+ opacity var(--spectrum-tray-exit-animation-duration) cubic-bezier(0.5, 0, 1, 1) var(--spectrum-tray-exit-animation-delay),
+ visibility var(--spectrum-tray-exit-animation-duration) linear calc(var(--spectrum-tray-exit-animation-delay) + var(--spectrum-tray-exit-animation-duration)),
+ transform var(--spectrum-tray-exit-animation-duration) cubic-bezier(0.5, 0, 1, 1) var(--spectrum-tray-exit-animation-delay);
- background-color: var(--highcontrast-tray-background-color, var(--mod-tray-background-color, var(--spectrum-tray-background-color)));
+ background-color: var(--spectrum-tray-background-color);
&.is-open {
+ transform: translateY(0);
+
/* Entry animations */
transition:
- transform var(--mod-tray-entry-animation-duration, var(--spectrum-tray-entry-animation-duration)) cubic-bezier(0, 0, 0.4, 1) var(--mod-tray-entry-animation-delay, var(--spectrum-tray-entry-animation-delay)),
- opacity var(--spectrum-tray-entry-animation-duration, var(--mod-tray-entry-animation-duration)) cubic-bezier(0, 0, 0.4, 1) var(--mod-tray-entry-animation-delay, var(--spectrum-tray-entry-animation-delay));
- transform: translateY(0);
+ transform var(--spectrum-tray-entry-animation-duration) cubic-bezier(0, 0, 0.4, 1) var(--spectrum-tray-entry-animation-delay),
+ opacity var(--spectrum-tray-entry-animation-duration) cubic-bezier(0, 0, 0.4, 1) var(--spectrum-tray-entry-animation-delay);
}
}
@media screen and (orientation: landscape) {
.spectrum-Tray {
- border-start-start-radius: var(--mod-tray-corner-radius, var(--spectrum-tray-corner-radius));
- border-start-end-radius: var(--mod-tray-corner-radius, var(--spectrum-tray-corner-radius));
- max-inline-size: var(--mod-tray-max-inline-size, var(--spectrum-tray-max-inline-size));
+ border-start-start-radius: var(--spectrum-tray-corner-radius);
+ border-start-end-radius: var(--spectrum-tray-corner-radius);
+ max-inline-size: var(--spectrum-tray-max-inline-size);
}
}
diff --git a/components/tray/package.json b/components/tray/package.json
index 2f18a40b63a..0974dc6694b 100644
--- a/components/tray/package.json
+++ b/components/tray/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/tray",
- "version": "3.2.0",
+ "version": "4.0.0-s2-foundations.16",
"description": "The Spectrum CSS tray component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,22 +21,24 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/button": ">=13",
- "@spectrum-css/dialog": ">=10",
- "@spectrum-css/divider": ">=3",
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/modal": ">=5",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0",
+ "@spectrum-css/dialog": ">=11.0.0-s2-foundations.0",
+ "@spectrum-css/divider": ">=4.0.0-s2-foundations.0",
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/modal": ">=6.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/dialog": {
diff --git a/components/tray/stories/template.js b/components/tray/stories/template.js
index 2c3bec83c38..2f1d0421c4c 100644
--- a/components/tray/stories/template.js
+++ b/components/tray/stories/template.js
@@ -5,6 +5,9 @@ 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-Tray",
diff --git a/components/tray/stories/tray.stories.js b/components/tray/stories/tray.stories.js
index deda4258f1d..b0cd60e40a1 100644
--- a/components/tray/stories/tray.stories.js
+++ b/components/tray/stories/tray.stories.js
@@ -67,5 +67,6 @@ WithForcedColors.parameters = {
chromatic: {
forcedColors: "active",
modes: disableDefaultModes,
+ viewport: "mobile2",
},
};
diff --git a/components/tray/themes/express.css b/components/tray/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/tray/themes/express.css
+++ b/components/tray/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/tray/themes/spectrum-two.css b/components/tray/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/tray/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/tray/themes/spectrum.css b/components/tray/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/tray/themes/spectrum.css
+++ b/components/tray/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/treeview/CHANGELOG.md b/components/treeview/CHANGELOG.md
index e5f057b1432..60b0c648fb3 100644
--- a/components/treeview/CHANGELOG.md
+++ b/components/treeview/CHANGELOG.md
@@ -1,5 +1,259 @@
# Change Log
+## 11.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.18
+ - @spectrum-css/icon@8.0.0-s2-foundations.18
+
+## 11.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+### Patch Changes
+
+- Updated dependencies [[`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.15
+ - @spectrum-css/icon@8.0.0-s2-foundations.17
+
+## 11.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.14
+ - @spectrum-css/icon@8.0.0-s2-foundations.16
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 11.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.13
+ - @spectrum-css/icon@8.0.0-s2-foundations.15
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 11.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#3036](https://github.com/adobe/spectrum-css/pull/3036) [`96686a5`](https://github.com/adobe/spectrum-css/commit/96686a56e2532bc747985b40686783ddd9b98221) Thanks [@rise-erpelding](https://github.com/rise-erpelding)! - [CSS-890]: adjusts --mods to be applied inside of index.css
+
+### Patch Changes
+
+- Updated dependencies [[`96686a5`](https://github.com/adobe/spectrum-css/commit/96686a56e2532bc747985b40686783ddd9b98221)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.18
+
+## 11.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.12
+ - @spectrum-css/icon@8.0.0-s2-foundations.13
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 11.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.11
+ - @spectrum-css/icon@8.0.0-s2-foundations.12
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 11.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.10
+ - @spectrum-css/icon@8.0.0-s2-foundations.11
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 11.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.9
+ - @spectrum-css/icon@8.0.0-s2-foundations.9
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 11.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.8
+ - @spectrum-css/icon@8.0.0-s2-foundations.8
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 11.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.7
+ - @spectrum-css/icon@8.0.0-s2-foundations.7
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 11.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.6
+ - @spectrum-css/icon@8.0.0-s2-foundations.6
+
+## 11.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.5
+ - @spectrum-css/icon@8.0.0-s2-foundations.5
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 11.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.4
+ - @spectrum-css/icon@8.0.0-s2-foundations.4
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 11.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.3
+ - @spectrum-css/icon@8.0.0-s2-foundations.3
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 11.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.2
+ - @spectrum-css/icon@8.0.0-s2-foundations.2
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 11.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.1
+ - @spectrum-css/icon@8.0.0-s2-foundations.1
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 11.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+ - @spectrum-css/icon@8.0.0-s2-foundations.0
+ - @spectrum-css/thumbnail@7.0.0-s2-foundations.0
+
## 10.4.0
### Minor Changes
diff --git a/components/treeview/index.css b/components/treeview/index.css
index 1e9b9b35cb1..2c55ebea3be 100644
--- a/components/treeview/index.css
+++ b/components/treeview/index.css
@@ -11,177 +11,174 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
-.spectrum-TreeView {
- --spectrum-treeview-line-height: var(--spectrum-line-height-200);
- --spectrum-treeview-margin-block: 1em;
- --spectrum-treeview-font-size: var(--spectrum-font-size-100);
+@media (forced-colors: active) {
+ .spectrum-TreeView {
+ --highcontrast-treeview-item-background-color-selected: Highlight;
+ --highcontrast-treeview-item-border-color-selected: Highlight;
+ --highcontrast-treeview-item-text-color-selected: HighlightText;
+ --highcontrast-treeview-item-icon-color-selected: HighlightText;
- --spectrum-treeview-item-min-block-size: var(--spectrum-component-height-100);
- --spectrum-treeview-item-indentation: var(--spectrum-treeview-item-indentation-medium);
+ --highcontrast-treeview-item-icon-color: LinkText;
+ --highcontrast-treeview-item-text-color: LinkText;
- --spectrum-treeview-item-padding-inline-start: var(--spectrum-component-height-100);
- --spectrum-treeview-item-padding-inline-end: var(--spectrum-component-edge-to-text-100);
+ --highcontrast-treeview-item-background-color-focus: Highlight;
+ --highcontrast-treeview-item-text-color-focus: HighlightText;
+ --highcontrast-treeview-item-border-color-focus: CanvasText;
+ --highcontrast-treeview-item-icon-color-focus: HighlightText;
- --spectrum-treeview-section-spacing: var(--spectrum-treeview-item-indentation-medium);
- --spectrum-treeview-heading-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-treeview-heading-bottom-to-text: var(--spectrum-component-edge-to-text-100);
- --spectrum-treeview-heading-color: var(--spectrum-heading-color);
+ --highcontrast-treeview-item-background-color-disabled: Canvas;
+ --highcontrast-treeview-item-text-color-disabled: GrayText;
+ --highcontrast-treeview-item-icon-color-disabled: GrayText;
- --spectrum-treeview-item-border-size: var(--spectrum-border-width-200);
- --spectrum-treeview-item-border-size-selected: 1px;
- --spectrum-treeview-item-border-radius: 0px;
+ --highcontrast-treeview-heading-color: CanvasText;
+ }
- --spectrum-treeview-item-border-color-selected: var(--spectrum-blue-800);
- --spectrum-treeview-item-border-color-focus: var(--spectrum-blue-700);
+ @supports (color: SelectedItem) {
+ .spectrum-TreeView {
+ --highcontrast-treeview-item-background-color-selected: SelectedItem;
+ --highcontrast-treeview-item-border-color-selected: SelectedItem;
+ --highcontrast-treeview-item-text-color-selected: SelectedItemText;
+ --highcontrast-treeview-item-icon-color-selected: SelectedItemText;
+ }
+ }
- --spectrum-treeview-item-background-color-hover: var(--spectrum-gray-200);
- --spectrum-treeview-item-background-color-focus: var(--spectrum-gray-200);
+ .spectrum-TreeView-itemLabel {
+ forced-color-adjust: none;
+ background: transparent;
+ }
- --spectrum-treeview-item-border-color-quiet-selected: transparent;
+ .spectrum-TreeView-itemLink::before {
+ forced-color-adjust: none;
+ }
+}
- --spectrum-treeview-item-icon-gap: var(--spectrum-text-to-visual-75);
- --spectrum-treeview-item-icon-color: var(--spectrum-gray-700);
- --spectrum-treeview-item-icon-color-hover: var(--spectrum-gray-900);
- --spectrum-treeview-item-icon-color-focus: var(--spectrum-gray-900);
- --spectrum-treeview-item-icon-color-selected: var(--spectrum-gray-900);
- --spectrum-treeview-item-icon-color-disabled: var(--spectrum-disabled-content-color);
+.spectrum-TreeView,
+.spectrum-TreeView--sizeM {
+ --spectrum-treeview-font-size: var(--mod-treeview-font-size, var(--spectrum-font-size-100));
- --spectrum-treeview-item-text-color: var(--spectrum-neutral-content-color-default);
- --spectrum-treeview-item-text-color-selected: var(--spectrum-gray-900);
- --spectrum-treeview-item-text-color-disabled: var(--spectrum-gray-500);
- --spectrum-treeview-item-text-color-focus: var(--spectrum-gray-900);
- --spectrum-treeview-item-text-color-hover: var(--spectrum-gray-900);
+ --spectrum-treeview-item-sized-min-block-size: var(--mod-treeview-item-min-block-size, var(--spectrum-component-height-100));
+ --spectrum-treeview-item-sized-indentation: var(--spectrum-treeview-item-indentation-medium);
+ --spectrum-treeview-heading-bottom-to-text: var(--mod-treeview-heading-bottom-to-text, var(--spectrum-component-edge-to-text-100));
- --spectrum-treeview-indicator-margin-inline-start: calc(-1 * var(--spectrum-component-height-100));
+ --spectrum-treeview-item-padding-inline-start: var(--mod-treeview-item-padding-inline-start, var(--spectrum-component-height-100));
+ --spectrum-treeview-item-padding-inline-end: var(--mod-treeview-item-padding-inline-end, var(--spectrum-component-edge-to-text-100));
+ --spectrum-treeview-indicator-margin-inline-start: var(--mod-treeview-indicator-margin-inline-start, calc(-1 * var(--spectrum-component-height-100)));
--spectrum-treeview-indicator-padding: var(--spectrum-disclosure-indicator-top-to-disclosure-icon-medium);
- --spectrum-treeview-item-min-block-size-thumbnail-offset: var(--spectrum-treeview-item-min-block-size-thumbnail-offset-medium, 0px);
-
- --spectrum-treeview-indicator-animation-duration: var(--spectrum-animation-duration-100);
-
- &:dir(rtl) {
- --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0);
- }
+ --spectrum-treeview-item-min-block-size-thumbnail-offset: var(--spectrum-treeview-item-min-block-size-thumbnail-offset-medium, 0);
}
.spectrum-TreeView--sizeS {
- --spectrum-treeview-font-size: var(--spectrum-font-size-75);
+ --spectrum-treeview-font-size: var(--mod-treeview-font-size, var(--spectrum-font-size-75));
- --spectrum-treeview-item-min-block-size: var(--spectrum-component-height-75);
- --spectrum-treeview-item-indentation: var(--spectrum-treeview-item-indentation-small);
- --spectrum-treeview-heading-bottom-to-text: var(--spectrum-component-edge-to-text-75);
+ --spectrum-treeview-item-sized-min-block-size: var(--mod-treeview-item-min-block-size, var(--spectrum-component-height-75));
+ --spectrum-treeview-item-sized-indentation: var(--spectrum-treeview-item-indentation-small);
+ --spectrum-treeview-heading-bottom-to-text: var(--mod-treeview-heading-bottom-to-text, var(--spectrum-component-edge-to-text-75));
- --spectrum-treeview-item-padding-inline-start: var(--spectrum-component-height-75);
- --spectrum-treeview-indicator-margin-inline-start: calc(-1 * var(--spectrum-component-height-75));
- --spectrum-treeview-item-padding-inline-end: var(--spectrum-component-edge-to-text-75);
+ --spectrum-treeview-item-padding-inline-start: var(--mod-treeview-item-padding-inline-start, var(--spectrum-component-height-75));
+ --spectrum-treeview-item-padding-inline-end: var(--mod-treeview-item-padding-inline-end, var(--spectrum-component-edge-to-text-75));
+ --spectrum-treeview-indicator-margin-inline-start: var(--mod-treeview-indicator-margin-inline-start, calc(-1 * var(--spectrum-component-height-75)));
--spectrum-treeview-indicator-padding: var(--spectrum-disclosure-indicator-top-to-disclosure-icon-small);
--spectrum-treeview-item-min-block-size-thumbnail-offset: 6px;
}
.spectrum-TreeView--sizeL {
- --spectrum-treeview-font-size: var(--spectrum-font-size-200);
+ --spectrum-treeview-font-size: var(--mod-treeview-font-size, var(--spectrum-font-size-200));
- --spectrum-treeview-item-indentation: var(--spectrum-treeview-item-indentation-large);
- --spectrum-treeview-item-min-block-size: var(--spectrum-component-height-200);
- --spectrum-treeview-heading-bottom-to-text: var(--spectrum-component-edge-to-text-200);
+ --spectrum-treeview-item-sized-indentation: var(--spectrum-treeview-item-indentation-large);
+ --spectrum-treeview-item-sized-min-block-size: var(--mod-treeview-item-min-block-size, var(--spectrum-component-height-200));
+ --spectrum-treeview-heading-bottom-to-text: var(--mod-treeview-heading-bottom-to-text, var(--spectrum-component-edge-to-text-200));
- --spectrum-treeview-item-padding-inline-start: var(--spectrum-component-height-200);
- --spectrum-treeview-indicator-margin-inline-start: calc(-1 * var(--spectrum-component-height-200));
- --spectrum-treeview-item-padding-inline-end: var(--spectrum-component-edge-to-text-200);
+ --spectrum-treeview-item-padding-inline-start: var(--mod-treeview-item-padding-inline-start, var(--spectrum-component-height-200));
+ --spectrum-treeview-item-padding-inline-end: var(--mod-treeview-item-padding-inline-end, var(--spectrum-component-edge-to-text-200));
+ --spectrum-treeview-indicator-margin-inline-start: var(--mod-treeview-indicator-margin-inline-start, calc(-1 * var(--spectrum-component-height-200)));
--spectrum-treeview-indicator-padding: var(--spectrum-disclosure-indicator-top-to-disclosure-icon-large);
- --spectrum-treeview-item-min-block-size-thumbnail-offset: 0px;
+ --spectrum-treeview-item-min-block-size-thumbnail-offset: 0;
}
.spectrum-TreeView--sizeXL {
- --spectrum-treeview-font-size: var(--spectrum-font-size-300);
+ --spectrum-treeview-font-size: var(--mod-treeview-font-size, var(--spectrum-font-size-300));
- --spectrum-treeview-item-indentation: var(--spectrum-treeview-item-indentation-extra-large);
- --spectrum-treeview-item-min-block-size: var(--spectrum-component-height-300);
- --spectrum-treeview-heading-bottom-to-text: var(--spectrum-component-edge-to-text-300);
+ --spectrum-treeview-item-sized-indentation: var(--spectrum-treeview-item-indentation-extra-large);
+ --spectrum-treeview-item-sized-min-block-size: var(--mod-treeview-item-min-block-size, var(--spectrum-component-height-300));
+ --spectrum-treeview-heading-bottom-to-text: var(--mod-treeview-heading-bottom-to-text, var(--spectrum-component-edge-to-text-300));
- --spectrum-treeview-item-padding-inline-start: var(--spectrum-component-height-300);
- --spectrum-treeview-indicator-margin-inline-start: calc(-1 * var(--spectrum-component-height-300));
- --spectrum-treeview-item-padding-inline-end: var(--spectrum-component-edge-to-text-300);
+ --spectrum-treeview-item-padding-inline-start: var(--mod-treeview-item-padding-inline-start, var(--spectrum-component-height-300));
+ --spectrum-treeview-item-padding-inline-end: var(--mod-treeview-item-padding-inline-end, var(--spectrum-component-edge-to-text-300));
+ --spectrum-treeview-indicator-margin-inline-start: var(--mod-treeview-indicator-margin-inline-start, calc(-1 * var(--spectrum-component-height-300)));
--spectrum-treeview-indicator-padding: var(--spectrum-disclosure-indicator-top-to-disclosure-icon-extra-large);
- --spectrum-treeview-item-min-block-size-thumbnail-offset: 0px;
+ --spectrum-treeview-item-min-block-size-thumbnail-offset: 0;
}
-.spectrum-TreeView--quiet {
- --mod-treeview-item-background-color-selected: var(--highcontrast-treeview-item-background-color-selected, var(--mod-treeview-item-background-color-quiet-selected, var(--spectrum-treeview-item-background-color-quiet-selected)));
- --mod-treeview-item-border-color-selected: var(--highcontrast-treeview-item-border-color-selected, var(--mod-treeview-item-border-color-selected-quiet, var(--spectrum-treeview-item-border-color-quiet-selected)));
-}
+.spectrum-TreeView {
+ --spectrum-treeview-item-indentation: var(--mod-treeview-item-indentation, var(--spectrum-treeview-item-sized-indentation));
+ --spectrum-treeview-section-spacing: var(--mod-treeview-section-spacing, var(--spectrum-treeview-item-indentation));
+ --spectrum-treeview-heading-color: var(--highcontrast-treeview-heading-color, var(--mod-treeview-heading-color, var(--spectrum-heading-color)));
-.spectrum-TreeView--thumbnail {
- --mod-treeview-item-min-block-size: var(--mod-treeview-item-min-block-size-thumbnail, calc(var(--spectrum-treeview-item-min-block-size) + var(--spectrum-treeview-item-min-block-size-thumbnail-offset)));
-}
+ --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--detached {
- --mod-treeview-item-border-radius: var(--mod-treeview-item-border-radius-detached, var(--spectrum-corner-radius-100));
-}
+ --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)));
-@media (forced-colors: active) {
- .spectrum-TreeView {
- --highcontrast-treeview-item-background-color-selected: Highlight;
- --highcontrast-treeview-item-border-color-selected: Highlight;
- --highcontrast-treeview-item-text-color-selected: HighlightText;
- --highcontrast-treeview-item-icon-color-selected: HighlightText;
+ --spectrum-treeview-item-border-color-quiet-selected: var(--highcontrast-treeview-item-border-color-selected, var(--mod-treeview-item-border-color-selected-quiet, transparent));
- --highcontrast-treeview-item-icon-color: LinkText;
- --highcontrast-treeview-item-text-color: LinkText;
+ --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)));
- --highcontrast-treeview-item-background-color-focus: Highlight;
- --highcontrast-treeview-item-text-color-focus: HighlightText;
- --highcontrast-treeview-item-border-color-focus: CanvasText;
- --highcontrast-treeview-item-icon-color-focus: HighlightText;
+ --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)));
- --highcontrast-treeview-item-background-color-disabled: Canvas;
- --highcontrast-treeview-item-text-color-disabled: GrayText;
- --highcontrast-treeview-item-icon-color-disabled: GrayText;
+ --spectrum-treeview-indicator-animation-duration: var(--mod-treeview-indicator-animation-duration, var(--spectrum-animation-duration-100));
- --highcontrast-treeview-heading-color: CanvasText;
- }
+ --spectrum-treeview-item-min-block-size: var(--mod-treeview-item-min-block-size, var(--spectrum-treeview-item-sized-min-block-size));
- @supports (color: SelectedItem) {
- .spectrum-TreeView {
- --highcontrast-treeview-item-background-color-selected: SelectedItem;
- --highcontrast-treeview-item-border-color-selected: SelectedItem;
- --highcontrast-treeview-item-text-color-selected: SelectedItemText;
- --highcontrast-treeview-item-icon-color-selected: SelectedItemText;
- }
+ &.spectrum-TreeView--quiet {
+ --mod-treeview-item-background-color-selected: var(--highcontrast-treeview-item-background-color-selected, var(--mod-treeview-item-background-color-quiet-selected, var(--spectrum-treeview-item-background-color-quiet-selected)));
+ --mod-treeview-item-border-color-selected: var(--spectrum-treeview-item-border-color-quiet-selected);
}
- .spectrum-TreeView-itemLabel {
- forced-color-adjust: none;
- background: transparent;
+ &.spectrum-TreeView--thumbnail {
+ --spectrum-treeview-item-min-block-size: var(--mod-treeview-item-min-block-size-thumbnail, calc(var(--spectrum-treeview-item-sized-min-block-size) + var(--spectrum-treeview-item-min-block-size-thumbnail-offset)));
}
- .spectrum-TreeView-itemLink::before {
- forced-color-adjust: none;
+ &.spectrum-TreeView--detached {
+ --mod-treeview-item-border-radius: var(--mod-treeview-item-border-radius-detached, var(--spectrum-corner-radius-100));
}
-}
-.spectrum-TreeView {
display: block;
position: relative;
padding: 0;
list-style: none;
outline: none;
user-select: none;
- line-height: var(--mod-treeview-line-height, var(--spectrum-treeview-line-height));
- margin-block: var(--mod-treeview-margin-block, var(--spectrum-treeview-margin-block));
- font-size: var(--mod-treeview-font-size, var(--spectrum-treeview-font-size));
+ line-height: var(--mod-treeview-line-height, var(--spectrum-line-height-200));
+ margin-block: var(--mod-treeview-margin-block, 1em);
+ font-size: var(--spectrum-treeview-font-size);
+
+ &:dir(rtl) {
+ --spectrum-logical-rotation: matrix(-1, 0, 0, 1, 0, 0);
+ }
/* Close (hide) nested treeviews by default. */
.spectrum-TreeView {
position: static;
block-size: 0;
display: none;
- padding-inline-start: var(--mod-treeview-item-indentation, var(--spectrum-treeview-item-indentation));
+ padding-inline-start: var(--spectrum-treeview-item-indentation);
margin-block: 0;
}
}
@@ -191,12 +188,12 @@
overflow: hidden;
&.is-open {
- > .spectrum-TreeView-itemLink > .spectrum-TreeView-itemIndicator {
+ & > .spectrum-TreeView-itemLink > .spectrum-TreeView-itemIndicator {
/* Rotate the chevron */
transform: var(--spectrum-logical-rotation,) rotate(90deg);
}
- > .spectrum-TreeView {
+ & > .spectrum-TreeView {
/* Open the treeview */
block-size: auto;
display: block;
@@ -205,52 +202,40 @@
&.is-selected,
&.is-drop-target {
- > .spectrum-TreeView-itemLink {
- color: var(--highcontrast-treeview-item-text-color-selected, var(--mod-treeview-item-text-color-selected, var(--spectrum-treeview-item-text-color-selected)));
+ & > .spectrum-TreeView-itemLink {
+ color: var(--spectrum-treeview-item-text-color-selected);
&::before {
background-color: var(--highcontrast-treeview-item-background-color-selected, var(--mod-treeview-item-background-color-selected, var(--spectrum-treeview-item-background-color-selected)));
}
- .spectrum-TreeView-itemIcon {
- color: var(--highcontrast-treeview-item-icon-color-selected, var(--mod-treeview-item-icon-color-selected, var(--spectrum-treeview-item-icon-color-selected)));
+ & .spectrum-TreeView-itemIcon {
+ color: var(--spectrum-treeview-item-icon-color-selected);
}
}
- > .spectrum-TreeView-itemLink:not(:focus-visible) {
- &::before {
- border-color: var(--highcontrast-treeview-item-border-color-selected, var(--mod-treeview-item-border-color-selected, var(--spectrum-treeview-item-border-color-selected)));
- }
+ & > .spectrum-TreeView-itemLink:not(:focus-visible)::before {
+ border-color: var(--spectrum-treeview-item-border-color-selected);
}
}
- &.is-selected {
- > .spectrum-TreeView-itemLink:not(:focus-visible) {
- &::before {
- border-width: var(--mod-treeview-item-border-size-selected, var(--spectrum-treeview-item-border-size-selected));
- }
- }
+ &.is-selected > .spectrum-TreeView-itemLink:not(:focus-visible)::before {
+ border-width: var(--spectrum-treeview-item-border-size-selected);
}
- &.is-drop-target {
- > .spectrum-TreeView-itemLink {
- &::before {
- border-width: var(--mod-treeview-item-border-size, var(--spectrum-treeview-item-border-size));
- }
- }
+ &.is-drop-target > .spectrum-TreeView-itemLink::before {
+ border-width: var(--spectrum-treeview-item-border-size);
}
- &.is-disabled {
- > .spectrum-TreeView-itemLink {
- color: var(--highcontrast-treeview-item-text-color-disabled, var(--mod-treeview-item-text-color-disabled, var(--spectrum-treeview-item-text-color-disabled)));
+ &.is-disabled > .spectrum-TreeView-itemLink {
+ color: var(--spectrum-treeview-item-text-color-disabled);
- &::before {
- background-color: var(--highcontrast-treeview-item-background-color-disabled, transparent);
- }
+ &::before {
+ background-color: var(--highcontrast-treeview-item-background-color-disabled, transparent);
+ }
- .spectrum-Icon {
- color: var(--highcontrast-treeview-item-icon-color-disabled, var(--mod-treeview-item-icon-color-disabled, var(--spectrum-treeview-item-icon-color-disabled)));
- }
+ & .spectrum-Icon {
+ color: var(--spectrum-treeview-item-icon-color-disabled);
}
}
}
@@ -267,10 +252,11 @@
flex-flow: row nowrap;
align-items: center;
- min-block-size: var(--mod-treeview-item-min-block-size, var(--spectrum-treeview-item-min-block-size));
- padding-inline: var(--mod-treeview-item-padding-inline-start, var(--spectrum-treeview-item-padding-inline-start)) var(--mod-treeview-item-padding-inline-end, var(--spectrum-treeview-item-padding-inline-end));
+ min-block-size: var(--spectrum-treeview-item-min-block-size);
+ padding-inline-start: var(--spectrum-treeview-item-padding-inline-start);
+ padding-inline-end: var(--spectrum-treeview-item-padding-inline-end);
- color: var(--highcontrast-treeview-item-text-color, var(--mod-treeview-item-text-color, var(--spectrum-treeview-item-text-color)));
+ color: var(--spectrum-treeview-item-text-color);
text-decoration: none;
outline: none;
@@ -286,39 +272,39 @@
box-sizing: border-box;
position: absolute;
inset-inline: 0;
- min-block-size: var(--mod-treeview-item-min-block-size, var(--spectrum-treeview-item-min-block-size));
+ min-block-size: var(--spectrum-treeview-item-min-block-size);
border-style: solid;
border-color: transparent;
- border-width: var(--mod-treeview-item-border-size, var(--spectrum-treeview-item-border-size)) 0;
- border-radius: var(--mod-treeview-item-border-radius, var(--spectrum-treeview-item-border-radius));
+ border-width: var(--spectrum-treeview-item-border-size) 0;
+ border-radius: var(--spectrum-treeview-item-border-radius);
background-color: transparent;
color: transparent;
}
&:focus-visible {
- color: var(--highcontrast-treeview-item-text-color-focus, var(--mod-treeview-item-text-color-focus, var(--spectrum-treeview-item-text-color-focus)));
+ color: var(--spectrum-treeview-item-text-color-focus);
&::before {
background-color: var(--highcontrast-treeview-item-background-color-focus, var(--mod-treeview-item-background-color-focus, var(--spectrum-treeview-item-background-color-focus)));
- border-width: var(--mod-treeview-item-border-size, var(--spectrum-treeview-item-border-size));
- border-color: var(--highcontrast-treeview-item-border-color-focus, var(--mod-treeview-item-border-color-focus, var(--spectrum-treeview-item-border-color-focus)));
+ border-width: var(--spectrum-treeview-item-border-size);
+ border-color: var(--spectrum-treeview-item-border-color-focus);
}
- .spectrum-TreeView-itemIcon {
- color: var(--highcontrast-treeview-item-icon-color-focus, var(--mod-treeview-item-icon-color-focus, var(--spectrum-treeview-item-icon-color-focus)));
+ & .spectrum-TreeView-itemIcon {
+ color: var(--spectrum-treeview-item-icon-color-focus);
}
}
&:hover {
- color: var(--highcontrast-treeview-item-text-color-focus, var(--mod-treeview-item-text-color-hover, var(--spectrum-treeview-item-text-color-hover)));
+ color: var(--spectrum-treeview-item-text-color-hover);
&::before {
background-color: var(--highcontrast-treeview-item-background-color-focus, var(--mod-treeview-item-background-color-hover, var(--spectrum-treeview-item-background-color-hover)));
}
- .spectrum-TreeView-itemIcon {
- color: var(--highcontrast-treeview-item-text-color-focus, var(--mod-treeview-item-icon-color-hover, var(--spectrum-treeview-item-icon-color-hover)));
+ & .spectrum-TreeView-itemIcon {
+ color: var(--spectrum-treeview-item-icon-color-hover);
}
}
}
@@ -327,8 +313,8 @@
position: relative;
vertical-align: top;
flex-shrink: 0;
- margin-inline-end: var(--mod-treeview-item-icon-gap, var(--spectrum-treeview-item-icon-gap));
- color: var(--highcontrast-treeview-item-icon-color, var(--mod-treeview-item-icon-color, var(--spectrum-treeview-item-icon-color)));
+ margin-inline-end: var(--spectrum-treeview-item-icon-gap);
+ color: var(--spectrum-treeview-item-icon-color);
}
.spectrum-TreeView-itemIndicator {
@@ -342,11 +328,11 @@
padding-inline: var(--mod-treeview-indicator-padding-inline, var(--spectrum-treeview-indicator-padding));
padding-block: var(--mod-treeview-indicator-padding-block, var(--spectrum-treeview-indicator-padding));
- margin-inline-start: var(--mod-treeview-indicator-margin-inline-start, var(--spectrum-treeview-indicator-margin-inline-start));
+ margin-inline-start: var(--spectrum-treeview-indicator-margin-inline-start);
- transition: transform ease var(--mod-treeview-indicator-animation-duration, var(--spectrum-treeview-indicator-animation-duration));
+ transition: transform ease var(--spectrum-treeview-indicator-animation-duration);
pointer-events: all;
- transform: var(--spectrum-logical-rotation);
+ transform: var(--spectrum-logical-rotation,);
}
/* Section headings */
@@ -357,60 +343,58 @@
}
.spectrum-TreeView-section:not(:first-child) {
- margin-block-start: var(--mod-treeview-section-spacing, var(--spectrum-treeview-section-spacing));
+ margin-block-start: var(--spectrum-treeview-section-spacing);
}
.spectrum-TreeView-heading {
- padding-block-end: var(--mod-treeview-heading-bottom-to-text, var(--spectrum-treeview-heading-bottom-to-text));
- font-weight: var(--mod-treeview-heading-font-weight, var(--spectrum-treeview-heading-font-weight));
- color: var(--highcontrast-treeview-heading-color, var(--mod-treeview-heading-color, var(--spectrum-treeview-heading-color)));
+ padding-block-end: var(--spectrum-treeview-heading-bottom-to-text);
+ font-weight: var(--mod-treeview-heading-font-weight, var(--spectrum-bold-font-weight));
+ color: var(--spectrum-treeview-heading-color);
}
/* Indentation levels used with Flat structure variant. */
.spectrum-TreeView-item--indent1 {
- padding-inline-start: var(--mod-treeview-item-indentation, var(--spectrum-treeview-item-indentation));
+ padding-inline-start: calc(1 * var(--spectrum-treeview-item-indentation));
}
.spectrum-TreeView-item--indent2 {
- padding-inline-start: calc(2 * var(--mod-treeview-item-indentation, var(--spectrum-treeview-item-indentation)));
+ padding-inline-start: calc(2 * var(--spectrum-treeview-item-indentation));
}
.spectrum-TreeView-item--indent3 {
- padding-inline-start: calc(3 * var(--mod-treeview-item-indentation, var(--spectrum-treeview-item-indentation)));
+ padding-inline-start: calc(3 * var(--spectrum-treeview-item-indentation));
}
.spectrum-TreeView-item--indent4 {
- padding-inline-start: calc(4 * var(--mod-treeview-item-indentation, var(--spectrum-treeview-item-indentation)));
+ padding-inline-start: calc(4 * var(--spectrum-treeview-item-indentation));
}
.spectrum-TreeView-item--indent5 {
- padding-inline-start: calc(5 * var(--mod-treeview-item-indentation, var(--spectrum-treeview-item-indentation)));
+ padding-inline-start: calc(5 * var(--spectrum-treeview-item-indentation));
}
.spectrum-TreeView-item--indent6 {
- padding-inline-start: calc(6 * var(--mod-treeview-item-indentation, var(--spectrum-treeview-item-indentation)));
+ padding-inline-start: calc(6 * var(--spectrum-treeview-item-indentation));
}
.spectrum-TreeView-item--indent7 {
- padding-inline-start: calc(7 * var(--mod-treeview-item-indentation, var(--spectrum-treeview-item-indentation)));
+ padding-inline-start: calc(7 * var(--spectrum-treeview-item-indentation));
}
.spectrum-TreeView-item--indent8 {
- padding-inline-start: calc(8 * var(--mod-treeview-item-indentation, var(--spectrum-treeview-item-indentation)));
+ padding-inline-start: calc(8 * var(--spectrum-treeview-item-indentation));
}
.spectrum-TreeView-item--indent9 {
- padding-inline-start: calc(9 * var(--mod-treeview-item-indentation, var(--spectrum-treeview-item-indentation)));
+ padding-inline-start: calc(9 * var(--spectrum-treeview-item-indentation));
}
.spectrum-TreeView-item--indent10 {
- padding-inline-start: calc(10 * var(--mod-treeview-item-indentation, var(--spectrum-treeview-item-indentation)));
+ padding-inline-start: calc(10 * var(--spectrum-treeview-item-indentation));
}
/* ***** VARIANTS ***** */
-.spectrum-TreeView--thumbnail {
- .spectrum-TreeView-itemThumbnail {
- flex-shrink: 0;
- margin-inline-end: var(--mod-treeview-item-icon-gap, var(--spectrum-treeview-item-icon-gap));
- }
+.spectrum-TreeView--thumbnail .spectrum-TreeView-itemThumbnail {
+ flex-shrink: 0;
+ margin-inline-end: var(--spectrum-treeview-item-icon-gap);
}
diff --git a/components/treeview/metadata/metadata.json b/components/treeview/metadata/metadata.json
index 9902324dd1c..0e5af238587 100644
--- a/components/treeview/metadata/metadata.json
+++ b/components/treeview/metadata/metadata.json
@@ -3,12 +3,10 @@
"selectors": [
".spectrum-TreeView",
".spectrum-TreeView .spectrum-TreeView",
- ".spectrum-TreeView--detached",
- ".spectrum-TreeView--quiet",
".spectrum-TreeView--sizeL",
+ ".spectrum-TreeView--sizeM",
".spectrum-TreeView--sizeS",
".spectrum-TreeView--sizeXL",
- ".spectrum-TreeView--thumbnail",
".spectrum-TreeView--thumbnail .spectrum-TreeView-itemThumbnail",
".spectrum-TreeView-heading",
".spectrum-TreeView-item",
@@ -48,6 +46,9 @@
".spectrum-TreeView-itemLink:hover:before",
".spectrum-TreeView-section > .spectrum-TreeView",
".spectrum-TreeView-section:not(:first-child)",
+ ".spectrum-TreeView.spectrum-TreeView--detached",
+ ".spectrum-TreeView.spectrum-TreeView--quiet",
+ ".spectrum-TreeView.spectrum-TreeView--thumbnail",
".spectrum-TreeView:dir(rtl)",
"[dir=\"rtl\"] .spectrum-TreeView"
],
@@ -95,7 +96,6 @@
"--spectrum-treeview-font-size",
"--spectrum-treeview-heading-bottom-to-text",
"--spectrum-treeview-heading-color",
- "--spectrum-treeview-heading-font-weight",
"--spectrum-treeview-indicator-animation-duration",
"--spectrum-treeview-indicator-margin-inline-start",
"--spectrum-treeview-indicator-padding",
@@ -125,13 +125,13 @@
"--spectrum-treeview-item-min-block-size-thumbnail-offset-medium",
"--spectrum-treeview-item-padding-inline-end",
"--spectrum-treeview-item-padding-inline-start",
+ "--spectrum-treeview-item-sized-indentation",
+ "--spectrum-treeview-item-sized-min-block-size",
"--spectrum-treeview-item-text-color",
"--spectrum-treeview-item-text-color-disabled",
"--spectrum-treeview-item-text-color-focus",
"--spectrum-treeview-item-text-color-hover",
"--spectrum-treeview-item-text-color-selected",
- "--spectrum-treeview-line-height",
- "--spectrum-treeview-margin-block",
"--spectrum-treeview-section-spacing"
],
"global": [
@@ -158,7 +158,7 @@
"--spectrum-font-size-200",
"--spectrum-font-size-300",
"--spectrum-font-size-75",
- "--spectrum-gray-200",
+ "--spectrum-gray-100",
"--spectrum-gray-500",
"--spectrum-gray-700",
"--spectrum-gray-900",
@@ -168,7 +168,10 @@
"--spectrum-neutral-content-color-default",
"--spectrum-text-to-visual-75"
],
- "system-theme": [],
+ "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/package.json b/components/treeview/package.json
index ce535fb0cc0..7a623a755c5 100644
--- a/components/treeview/package.json
+++ b/components/treeview/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/treeview",
- "version": "10.4.0",
+ "version": "11.0.0-s2-foundations.17",
"description": "The Spectrum CSS Tree view component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,19 +21,21 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/icon": ">=7",
- "@spectrum-css/thumbnail": ">=6",
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0",
+ "@spectrum-css/thumbnail": ">=7.0.0-s2-foundations.0",
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/thumbnail": {
diff --git a/components/treeview/stories/template.js b/components/treeview/stories/template.js
index 9f5c0a787a0..f6db7f9756c 100644
--- a/components/treeview/stories/template.js
+++ b/components/treeview/stories/template.js
@@ -9,6 +9,9 @@ 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",
diff --git a/components/treeview/stories/treeview.stories.js b/components/treeview/stories/treeview.stories.js
index f83b8385895..0d3a991ea10 100644
--- a/components/treeview/stories/treeview.stories.js
+++ b/components/treeview/stories/treeview.stories.js
@@ -37,6 +37,10 @@ export default {
actions: {
handles: ["click .spectrum-TreeView-itemLink"],
},
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=64762-1960",
+ },
packageJson,
metadata,
},
diff --git a/components/treeview/themes/express.css b/components/treeview/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/treeview/themes/express.css
+++ b/components/treeview/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/treeview/themes/spectrum-two.css b/components/treeview/themes/spectrum-two.css
new file mode 100644
index 00000000000..bcddefe7327
--- /dev/null
+++ b/components/treeview/themes/spectrum-two.css
@@ -0,0 +1,19 @@
+/*!
+ * 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
index 3b48a570c21..68ee94f3932 100644
--- a/components/treeview/themes/spectrum.css
+++ b/components/treeview/themes/spectrum.css
@@ -10,3 +10,14 @@
* 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/CHANGELOG.md b/components/typography/CHANGELOG.md
index 9c1f3d68b22..c4b438cb45d 100644
--- a/components/typography/CHANGELOG.md
+++ b/components/typography/CHANGELOG.md
@@ -1,5 +1,250 @@
# Change Log
+## 7.0.0-s2-foundations.18
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 7.0.0-s2-foundations.17
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 7.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 7.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4e80ae6`](https://github.com/adobe/spectrum-css/commit/4e80ae67ddda329a5ed556b57426623c6f0f13f0) Thanks [@pfulton](https://github.com/pfulton)! - ActionButton:
+
+ - Correct --spectrum-actionbutton-background-color-selected-disabled to be --spectrum-actionbutton-(background|border)-color-disabled-selected
+
+ Combobox:
+
+ - Move --spectrum-combobox-min-inline-size and --spectrum-combobox-button-width to the index.css
+
+ FieldGroup:
+
+ - Swap gap back to margin-inline-end on FieldGroup
+
+ Typography:
+
+ - Remap body size to xs if xxs provided
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9ae725f`](https://github.com/adobe/spectrum-css/commit/9ae725f10ebbb78b62070c4c477cb41cfc1b1ed6) Thanks [@pfulton](https://github.com/pfulton)! - Combobox moved the quiet min-inline-size property to index.css from theme to pick up the t-shirt sizing for the calc.
+
+ Typography increases specificity for the t-shirt sizing.
+
+ Stepper fixes for the disabled + hovered states as well as regressions fixed for the quiet variant.
+
+## 7.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 7.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 7.0.0-s2-foundations.12
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 7.0.0-s2-foundations.11
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 7.0.0-s2-foundations.10
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`494da11`](https://github.com/adobe/spectrum-css/commit/494da118554c2ecc425564e42d25424325efc331) Thanks [@pfulton](https://github.com/pfulton)! - ## Feature [@spectrum-css/icon]
+
+ Update source files to load the mappings from component-level to global tokens for size and transform values. This will allow for more consistent and predictable behavior when using the `size` and `transform` props on icons when switching between contexts for S1, S2, and Express.
+
+ ## Patch [@spectrum-css/typography]
+
+ Remove the sourcemap footer from compiled assets.
+
+## 7.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 7.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 7.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 7.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 7.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 7.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 7.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 7.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 7.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 7.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 6.2.0
### Minor Changes
diff --git a/components/typography/index.css b/components/typography/index.css
index a0f708e0387..70cdbcf910f 100644
--- a/components/typography/index.css
+++ b/components/typography/index.css
@@ -11,18 +11,10 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
/* Typography - Default */
-/* stylelint-disable selector-class-pattern -- @todo update this in a future breaking change to :root or .spectrum-Typography */
-.spectrum {
- --spectrum-font-family-ar: myriad-arabic, adobe-clean, "Source Sans Pro", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
- --spectrum-font-family-he: myriad-hebrew, adobe-clean, "Source Sans Pro", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
-
- --spectrum-font-family: var(--spectrum-sans-font-family-stack);
- --spectrum-font-style: var(--spectrum-default-font-style);
- --spectrum-font-size: var(--spectrum-font-size-100);
-
+.spectrum-Typography {
font-family: var(--spectrum-font-family);
font-style: var(--spectrum-font-style);
font-size: var(--spectrum-font-size);
@@ -34,23 +26,21 @@
&:lang(he) {
font-family: var(--spectrum-font-family-he);
}
-}
-/* stylelint-enable selector-class-pattern */
-
-/* Typography - Heading */
-
-/* Heading tokens */
-.spectrum-Heading {
- --spectrum-heading-sans-serif-font-family: var(--spectrum-sans-font-family-stack);
- --spectrum-heading-serif-font-family: var(--spectrum-serif-font-family-stack);
- --spectrum-heading-cjk-font-family: var(--spectrum-cjk-font-family-stack);
- --spectrum-heading-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing);
+ /* Add margin when inside a Typography component */
+ .spectrum-Heading {
+ --spectrum-heading-margin-start: calc(var(--mod-heading-font-size, var(--spectrum-heading-font-size)) * var(--spectrum-heading-margin-top-multiplier));
+ --spectrum-heading-margin-end: calc(var(--mod-heading-font-size, var(--spectrum-heading-font-size)) * var(--spectrum-heading-margin-bottom-multiplier));
+ }
- --spectrum-heading-font-color: var(--spectrum-heading-color);
+ .spectrum-Body {
+ --spectrum-body-margin-end: calc(var(--mod-body-font-size, var(--spectrum-body-font-size)) * var(--spectrum-body-margin-multiplier));
+ }
- --spectrum-heading-margin-start: calc(var(--mod-heading-font-size, var(--spectrum-heading-font-size)) * var(--spectrum-heading-margin-top-multiplier));
- --spectrum-heading-margin-end: calc(var(--mod-heading-font-size, var(--spectrum-heading-font-size)) * var(--spectrum-heading-margin-bottom-multiplier));
+ .spectrum-Detail {
+ --spectrum-detail-margin-start: calc(var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * var(--spectrum-detail-margin-top-multiplier));
+ --spectrum-detail-margin-end: calc(var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * var(--spectrum-detail-margin-bottom-multiplier));
+ }
}
/* Windows high contrast mode */
@@ -58,9 +48,27 @@
.spectrum-Heading {
--highcontrast-heading-font-color: Text;
}
+
+ .spectrum-Body {
+ --highcontrast-body-font-color: Text;
+ }
+
+ .spectrum-Detail {
+ --highcontrast-detail-font-color: Text;
+ }
+
+ .spectrum-Code {
+ --highcontrast-code-font-color: Text;
+ }
+}
+
+/* Heading */
+.spectrum-Heading,
+.spectrum-Heading--sizeM {
+ --spectrum-heading-font-size: var(--spectrum-heading-size-m);
+ --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-m);
}
-/* Heading t-shirt sizes */
.spectrum-Heading--sizeXXS {
--spectrum-heading-font-size: var(--spectrum-heading-size-xxs);
--spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxs);
@@ -76,11 +84,6 @@
--spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-s);
}
-.spectrum-Heading--sizeM {
- --spectrum-heading-font-size: var(--spectrum-heading-size-m);
- --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-m);
-}
-
.spectrum-Heading--sizeL {
--spectrum-heading-font-size: var(--spectrum-heading-size-l);
--spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-l);
@@ -101,16 +104,26 @@
--spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxxl);
}
-/* Heading styles */
.spectrum-Heading {
+ --spectrum-heading-sans-serif-font-family: var(--spectrum-sans-font-family-stack);
+ --spectrum-heading-serif-font-family: var(--spectrum-serif-font-family-stack);
+
+ --spectrum-heading-cjk-font-family: var(--spectrum-cjk-font-family-stack);
+ --spectrum-heading-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing);
+
+ --spectrum-heading-font-color: var(--spectrum-heading-color);
+
+ --spectrum-heading-margin-start: calc(var(--mod-heading-font-size, var(--spectrum-heading-font-size)) * var(--spectrum-heading-margin-top-multiplier));
+ --spectrum-heading-margin-end: calc(var(--mod-heading-font-size, var(--spectrum-heading-font-size)) * var(--spectrum-heading-margin-bottom-multiplier));
+
font-family: var(--mod-heading-sans-serif-font-family, var(--spectrum-heading-sans-serif-font-family));
font-style: var(--mod-heading-sans-serif-font-style, var(--spectrum-heading-sans-serif-font-style));
font-weight: var(--mod-heading-sans-serif-font-weight, var(--spectrum-heading-sans-serif-font-weight));
font-size: var(--mod-heading-font-size, var(--spectrum-heading-font-size));
color: var(--highcontrast-heading-font-color, var(--mod-heading-font-color, var(--spectrum-heading-font-color)));
line-height: var(--mod-heading-line-height, var(--spectrum-heading-line-height));
- margin-block-start: 0;
- margin-block-end: 0;
+ margin-block-start: var(--mod-heading-margin-start, var(--spectrum-heading-margin-start, 0));
+ margin-block-end: var(--mod-heading-margin-end, var(--spectrum-heading-margin-end, 0));
strong,
.spectrum-Heading-strong {
@@ -341,35 +354,12 @@
}
}
-/* Add margin when inside a Typography component */
-.spectrum-Typography .spectrum-Heading {
- margin-block-start: var(--mod-heading-margin-start, var(--spectrum-heading-margin-start));
- margin-block-end: var(--mod-heading-margin-end, var(--spectrum-heading-margin-end));
-}
-
/* Body */
-
-/* Body tokens */
-.spectrum-Body {
- --spectrum-body-sans-serif-font-family: var(--spectrum-sans-font-family-stack);
- --spectrum-body-serif-font-family: var(--spectrum-serif-font-family-stack);
- --spectrum-body-cjk-font-family: var(--spectrum-cjk-font-family-stack);
-
- --spectrum-body-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing);
-
- --spectrum-body-margin: calc(var(--mod-body-font-size, var(--spectrum-body-font-size)) * var(--spectrum-body-margin-multiplier));
-
- --spectrum-body-font-color: var(--spectrum-body-color);
-}
-
-/* Windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-Body {
- --highcontrast-body-font-color: Text;
- }
+.spectrum-Body,
+.spectrum-Body--sizeM {
+ --spectrum-body-font-size: var(--spectrum-body-size-m);
}
-/* Body t-shirt sizes */
.spectrum-Body--sizeXS {
--spectrum-body-font-size: var(--spectrum-body-size-xs);
}
@@ -378,10 +368,6 @@
--spectrum-body-font-size: var(--spectrum-body-size-s);
}
-.spectrum-Body--sizeM {
- --spectrum-body-font-size: var(--spectrum-body-size-m);
-}
-
.spectrum-Body--sizeL {
--spectrum-body-font-size: var(--spectrum-body-size-l);
}
@@ -398,17 +384,23 @@
--spectrum-body-font-size: var(--spectrum-body-size-xxxl);
}
-/* Body styles */
-
-/* Body - Default */
.spectrum-Body {
+ --spectrum-body-sans-serif-font-family: var(--spectrum-sans-font-family-stack);
+ --spectrum-body-serif-font-family: var(--spectrum-serif-font-family-stack);
+
+ --spectrum-body-cjk-font-family: var(--spectrum-cjk-font-family-stack);
+ --spectrum-body-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing);
+
+ --spectrum-body-font-color: var(--spectrum-body-color);
+
font-family: var(--mod-body-sans-serif-font-family, var(--spectrum-body-sans-serif-font-family));
font-style: var(--mod-body-sans-serif-font-style, var(--spectrum-body-sans-serif-font-style));
font-weight: var(--mod-body-sans-serif-font-weight, var(--spectrum-body-sans-serif-font-weight));
font-size: var(--mod-body-font-size, var(--spectrum-body-font-size));
color: var(--highcontrast-body-font-color, var(--mod-body-font-color, var(--spectrum-body-font-color)));
- margin-block-start: 0;
- margin-block-end: 0;
+
+ margin-block-start: var(--mod-body-margin-start, var(--mod-body-margin, 0));
+ margin-block-end: var(--mod-body-margin-end, var(--mod-body-margin, var(--spectrum-body-margin-end, 0)));
line-height: var(--mod-body-line-height, var(--spectrum-body-line-height));
@@ -463,6 +455,7 @@
}
}
+/* Body - Serif */
.spectrum-Body--serif {
font-family: var(--mod-body-serif-font-family, var(--spectrum-body-serif-font-family));
font-weight: var(--mod-body-serif-font-weight, var(--spectrum-body-serif-font-weight));
@@ -488,41 +481,16 @@
}
}
-/* Add margin when inside a Typography component */
-.spectrum-Typography .spectrum-Body {
- margin-block-end: var(--mod-body-margin, var(--spectrum-body-margin));
-}
-
/* Detail */
-
-/* Detail tokens */
-.spectrum-Detail {
- --spectrum-detail-sans-serif-font-family: var(--spectrum-sans-font-family-stack);
- --spectrum-detail-serif-font-family: var(--spectrum-serif-font-family-stack);
- --spectrum-detail-cjk-font-family: var(--spectrum-cjk-font-family-stack);
-
- --spectrum-detail-margin-start: calc(var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * var(--spectrum-detail-margin-top-multiplier));
- --spectrum-detail-margin-end: calc(var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * var(--spectrum-detail-margin-bottom-multiplier));
-
- --spectrum-detail-font-color: var(--spectrum-detail-color);
-}
-
-/* Windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-Detail {
- --highcontrast-detail-font-color: Text;
- }
+.spectrum-Detail,
+.spectrum-Detail--sizeM {
+ --spectrum-detail-font-size: var(--spectrum-detail-size-m);
}
-/* Detail t-shirt sizes */
.spectrum-Detail--sizeS {
--spectrum-detail-font-size: var(--spectrum-detail-size-s);
}
-.spectrum-Detail--sizeM {
- --spectrum-detail-font-size: var(--spectrum-detail-size-m);
-}
-
.spectrum-Detail--sizeL {
--spectrum-detail-font-size: var(--spectrum-detail-size-l);
}
@@ -531,14 +499,22 @@
--spectrum-detail-font-size: var(--spectrum-detail-size-xl);
}
-/* Detail styles */
.spectrum-Detail {
+ --spectrum-detail-sans-serif-font-family: var(--spectrum-sans-font-family-stack);
+ --spectrum-detail-serif-font-family: var(--spectrum-serif-font-family-stack);
+ --spectrum-detail-cjk-font-family: var(--spectrum-cjk-font-family-stack);
+
+ --spectrum-detail-margin-start: calc(var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * var(--spectrum-detail-margin-top-multiplier));
+ --spectrum-detail-margin-end: calc(var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * var(--spectrum-detail-margin-bottom-multiplier));
+
+ --spectrum-detail-font-color: var(--spectrum-detail-color);
+
font-family: var(--mod-detail-sans-serif-font-family, var(--spectrum-detail-sans-serif-font-family));
font-style: var(--mod-detail-sans-serif-font-style, var(--spectrum-detail-sans-serif-font-style));
font-weight: var(--mod-detail-sans-serif-font-weight, var(--spectrum-detail-sans-serif-font-weight));
font-size: var(--mod-detail-font-size, var(--spectrum-detail-font-size));
- margin-block-start: 0;
- margin-block-end: 0;
+ margin-block-start: var(--mod-detail-margin-start, var(--spectrum-detail-margin-start, 0));
+ margin-block-end: var(--mod-detail-margin-end, var(--spectrum-detail-margin-end, 0));
color: var(--highcontrast-detail-font-color, var(--mod-detail-font-color, var(--spectrum-detail-font-color)));
@@ -595,6 +571,7 @@
}
}
+/* Detail - Serif */
.spectrum-Detail--serif {
font-family: var(--mod-detail-serif-font-family, var(--spectrum-detail-serif-font-family));
font-style: var(--mod-detail-serif-font-style, var(--spectrum-detail-serif-font-style));
@@ -620,7 +597,7 @@
}
}
-/* Detail - Light */
+/* Detail - Light */
.spectrum-Detail--light {
font-style: var(--mod-detail-sans-serif-light-font-style, var(--spectrum-detail-sans-serif-light-font-style));
font-weight: var(--spectrum-detail-sans-serif-light-font-weight, var(--spectrum-detail-sans-serif-light-font-weight));
@@ -669,6 +646,7 @@
}
}
+/* Detail - Serif - Light */
.spectrum-Detail--serif.spectrum-Detail--light {
font-style: var(--mod-detail-serif-light-font-style, var(--spectrum-detail-serif-light-font-style));
font-weight: var(--mod-detail-serif-light-font-weight, var(--spectrum-detail-serif-light-font-weight));
@@ -693,29 +671,12 @@
}
}
-/* Add margin when inside a Typography component */
-.spectrum-Typography .spectrum-Detail {
- margin-block-start: var(--mod-detail-margin-start, var(--spectrum-detail-margin-start));
- margin-block-end: var(--mod-detail-margin-end, var(--spectrum-detail-margin-end));
-}
-
/* Code */
-
-/* Code tokens */
-.spectrum-Code {
- --spectrum-code-font-family: var(--spectrum-code-font-family-stack);
- --spectrum-code-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing);
- --spectrum-code-font-color: var(--spectrum-code-color);
-}
-
-/* Windows high contrast mode */
-@media (forced-colors: active) {
- .spectrum-Code {
- --highcontrast-code-font-color: Text;
- }
+.spectrum-Code,
+.spectrum-Code--sizeM {
+ --spectrum-code-font-size: var(--spectrum-code-size-m);
}
-/* Code t-shirt sizes */
.spectrum-Code--sizeXS {
--spectrum-code-font-size: var(--spectrum-code-size-xs);
}
@@ -724,10 +685,6 @@
--spectrum-code-font-size: var(--spectrum-code-size-s);
}
-.spectrum-Code--sizeM {
- --spectrum-code-font-size: var(--spectrum-code-size-m);
-}
-
.spectrum-Code--sizeL {
--spectrum-code-font-size: var(--spectrum-code-size-l);
}
@@ -736,14 +693,17 @@
--spectrum-code-font-size: var(--spectrum-code-size-xl);
}
-/* Code styles */
.spectrum-Code {
+ --spectrum-code-font-family: var(--spectrum-code-font-family-stack);
+ --spectrum-code-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing);
+ --spectrum-code-font-color: var(--spectrum-code-color);
+
font-family: var(--mod-code-font-family, var(--spectrum-code-font-family));
font-style: var(--mod-code-font-style, var(--spectrum-code-font-style));
font-weight: var(--mod-code-font-weight, var(--spectrum-code-font-weight));
font-size: var(--mod-code-font-size, var(--spectrum-code-font-size));
- margin-block-start: 0;
- margin-block-end: 0;
+ margin-block-start: var(--mod-code-margin-start, 0);
+ margin-block-end: var(--mod-code-margin-end, 0);
line-height: var(--mod-code-line-height, var(--spectrum-code-line-height));
diff --git a/components/typography/metadata/metadata.json b/components/typography/metadata/metadata.json
index 9235bb411b1..5d45be326da 100644
--- a/components/typography/metadata/metadata.json
+++ b/components/typography/metadata/metadata.json
@@ -291,11 +291,12 @@
".spectrum-Heading:lang(zh) em strong",
".spectrum-Heading:lang(zh) strong",
".spectrum-Heading:lang(zh) strong em",
+ ".spectrum-Typography",
".spectrum-Typography .spectrum-Body",
".spectrum-Typography .spectrum-Detail",
".spectrum-Typography .spectrum-Heading",
- ".spectrum:lang(ar)",
- ".spectrum:lang(he)"
+ ".spectrum-Typography:lang(ar)",
+ ".spectrum-Typography:lang(he)"
],
"modifiers": [
"--mod-body-cjk-emphasized-font-style",
@@ -313,6 +314,8 @@
"--mod-body-font-size",
"--mod-body-line-height",
"--mod-body-margin",
+ "--mod-body-margin-end",
+ "--mod-body-margin-start",
"--mod-body-sans-serif-emphasized-font-style",
"--mod-body-sans-serif-emphasized-font-weight",
"--mod-body-sans-serif-font-family",
@@ -350,6 +353,8 @@
"--mod-code-font-style",
"--mod-code-font-weight",
"--mod-code-line-height",
+ "--mod-code-margin-end",
+ "--mod-code-margin-start",
"--mod-code-strong-emphasized-font-style",
"--mod-code-strong-emphasized-font-weight",
"--mod-code-strong-font-style",
@@ -512,7 +517,7 @@
"--spectrum-body-font-color",
"--spectrum-body-font-size",
"--spectrum-body-line-height",
- "--spectrum-body-margin",
+ "--spectrum-body-margin-end",
"--spectrum-body-margin-multiplier",
"--spectrum-body-sans-serif-emphasized-font-style",
"--spectrum-body-sans-serif-emphasized-font-weight",
@@ -571,7 +576,6 @@
"--spectrum-code-strong-emphasized-font-weight",
"--spectrum-code-strong-font-style",
"--spectrum-code-strong-font-weight",
- "--spectrum-default-font-style",
"--spectrum-detail-cjk-emphasized-font-style",
"--spectrum-detail-cjk-emphasized-font-weight",
"--spectrum-detail-cjk-font-family",
@@ -641,7 +645,6 @@
"--spectrum-font-family-ar",
"--spectrum-font-family-he",
"--spectrum-font-size",
- "--spectrum-font-size-100",
"--spectrum-font-style",
"--spectrum-heading-cjk-emphasized-font-style",
"--spectrum-heading-cjk-emphasized-font-weight",
diff --git a/components/typography/metadata/mods.md b/components/typography/metadata/mods.md
index 25bd5b5f0e4..ba71cd43274 100644
--- a/components/typography/metadata/mods.md
+++ b/components/typography/metadata/mods.md
@@ -15,6 +15,8 @@
| `--mod-body-font-size` |
| `--mod-body-line-height` |
| `--mod-body-margin` |
+| `--mod-body-margin-end` |
+| `--mod-body-margin-start` |
| `--mod-body-sans-serif-emphasized-font-style` |
| `--mod-body-sans-serif-emphasized-font-weight` |
| `--mod-body-sans-serif-font-family` |
@@ -52,6 +54,8 @@
| `--mod-code-font-style` |
| `--mod-code-font-weight` |
| `--mod-code-line-height` |
+| `--mod-code-margin-end` |
+| `--mod-code-margin-start` |
| `--mod-code-strong-emphasized-font-style` |
| `--mod-code-strong-emphasized-font-weight` |
| `--mod-code-strong-font-style` |
diff --git a/components/typography/package.json b/components/typography/package.json
index 75fb05313c9..a4dc80f440c 100644
--- a/components/typography/package.json
+++ b/components/typography/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/typography",
- "version": "6.2.0",
+ "version": "7.0.0-s2-foundations.18",
"description": "The Spectrum CSS typography component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14.5.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/typography/stories/template.js b/components/typography/stories/template.js
index d246c7a24d4..dbf2b1d341b 100644
--- a/components/typography/stories/template.js
+++ b/components/typography/stories/template.js
@@ -7,6 +7,9 @@ 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 = (args = {}, context = {}) => {
let {
diff --git a/components/typography/stories/typography.stories.js b/components/typography/stories/typography.stories.js
index ae6c313705f..fd7c687b6af 100644
--- a/components/typography/stories/typography.stories.js
+++ b/components/typography/stories/typography.stories.js
@@ -77,6 +77,10 @@ export default {
semantics: "body",
},
parameters: {
+ design: {
+ type: "figma",
+ url: "https://www.figma.com/design/Mngz9H7WZLbrCvGQf3GnsY/S2-%2F-Desktop?node-id=1-3",
+ },
packageJson,
metadata,
},
diff --git a/components/typography/themes/express.css b/components/typography/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/typography/themes/express.css
+++ b/components/typography/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/typography/themes/spectrum-two.css b/components/typography/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/typography/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/typography/themes/spectrum.css b/components/typography/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/typography/themes/spectrum.css
+++ b/components/typography/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/underlay/CHANGELOG.md b/components/underlay/CHANGELOG.md
index 94a507a10f9..d43b155417d 100644
--- a/components/underlay/CHANGELOG.md
+++ b/components/underlay/CHANGELOG.md
@@ -1,5 +1,210 @@
# Change Log
+## 5.0.0-s2-foundations.16
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 5.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 5.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 5.0.0-s2-foundations.13
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 5.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 5.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 5.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 5.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 5.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 5.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 5.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 5.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 5.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 5.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 5.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 5.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 5.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 4.2.0
### Minor Changes
diff --git a/components/underlay/index.css b/components/underlay/index.css
index 48814e0d705..b0ff5345223 100644
--- a/components/underlay/index.css
+++ b/components/underlay/index.css
@@ -11,30 +11,29 @@
* governing permissions and limitations under the License.
*/
-@import "@spectrum-css/commons/overlay.css";
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Underlay {
- --spectrum-underlay-background-entry-animation-delay: var(--spectrum-animation-duration-0);
- --spectrum-underlay-background-exit-animation-ease: var(--spectrum-animation-ease-in);
- --spectrum-underlay-background-entry-animation-ease: var(--spectrum-animation-ease-out);
- --spectrum-underlay-background-exit-animation-duration: var(--spectrum-animation-duration-100);
- --spectrum-underlay-background-entry-animation-duration: var(--spectrum-animation-duration-600);
- --spectrum-underlay-background-exit-animation-duration: var(--spectrum-animation-duration-300);
- --spectrum-underlay-background-exit-animation-delay: var(--spectrum-animation-duration-200);
+ --spectrum-underlay-background-exit-animation-duration: var(--mod-underlay-background-exit-animation-duration, var(--spectrum-animation-duration-300));
+ --spectrum-underlay-background-exit-animation-ease: var(--mod-underlay-background-exit-animation-ease, var(--spectrum-animation-ease-in));
+ --spectrum-underlay-background-exit-animation-delay: var(--mod-underlay-background-exit-animation-delay, var(--spectrum-animation-duration-200));
+ --spectrum-underlay-background-entry-animation-duration: var(--mod-underlay-background-entry-animation-duration, var(--spectrum-animation-duration-600));
+ --spectrum-underlay-background-entry-animation-ease: var(--mod-underlay-background-entry-animation-ease, var(--spectrum-animation-ease-out));
+ /* @deprecated --mod-overlay-animation-duration-opened in favor of --mod-underlay-background-entry-animation-delay */
+ --spectrum-underlay-background-entry-animation-delay: var(--mod-underlay-background-entry-animation-delay, var(--mod-overlay-animation-duration-opened, var(--spectrum-animation-duration-0)));
/* TODO update to --spectrum-overlay-color token once an RGB stripped value is available */
- --spectrum-underlay-background-color: rgba(var(--spectrum-black-rgb), var(--spectrum-overlay-opacity));
-}
+ --spectrum-underlay-background-color: var(--mod-underlay-background-color, rgba(var(--spectrum-black-rgb), var(--spectrum-overlay-opacity)));
-.spectrum-Underlay {
- @extend %spectrum-overlay;
+ pointer-events: none;
+ visibility: hidden;
+ opacity: 0;
position: fixed;
inset-block: 0;
inset-inline: 0;
- background-color: var(--mod-underlay-background-color, var(--spectrum-underlay-background-color));
+ background-color: var(--spectrum-underlay-background-color);
/* Float above things by default */
z-index: 1;
@@ -43,13 +42,16 @@
/* Exit animations */
transition:
- opacity var(--mod-underlay-background-exit-animation-duration, var(--spectrum-underlay-background-exit-animation-duration)) var(--mod-underlay-background-exit-animation-ease, var(--spectrum-underlay-background-exit-animation-ease)) var(--mod-underlay-background-exit-animation-delay, var(--spectrum-underlay-background-exit-animation-delay)),
- visibility 0ms linear calc(var(--mod-underlay-background-exit-animation-delay, var(--spectrum-underlay-background-exit-animation-delay)) + var(--mod-underlay-background-exit-animation-duration, var(--spectrum-underlay-background-exit-animation-duration)));
-}
-
-.spectrum-Underlay.is-open {
- @extend %spectrum-overlay--open;
-
- /* Entry animations */
- transition: opacity var(--mod-underlay-background-entry-animation-duration, var(--spectrum-underlay-background-entry-animation-duration)) var(--mod-underlay-background-entry-animation-ease, var(--spectrum-underlay-background-entry-animation-ease)) var(--mod-underlay-background-entry-animation-delay, var(--spectrum-underlay-background-entry-animation-delay));
+ opacity var(--spectrum-underlay-background-exit-animation-duration) var(--spectrum-underlay-background-exit-animation-ease) var(--spectrum-underlay-background-exit-animation-delay),
+ visibility 0ms linear calc(var(--spectrum-underlay-background-exit-animation-delay) + var(--spectrum-underlay-background-exit-animation-duration));
+
+ &.is-open {
+ pointer-events: auto;
+ visibility: visible;
+ opacity: 1;
+
+ /* Entry animations */
+ transition: opacity var(--spectrum-underlay-background-entry-animation-duration) var(--spectrum-underlay-background-entry-animation-ease) var(--spectrum-underlay-background-entry-animation-delay);
+ transition-delay: var(--spectrum-underlay-background-entry-animation-delay);
+ }
}
diff --git a/components/underlay/metadata/metadata.json b/components/underlay/metadata/metadata.json
index d0931277542..6b35fb4f7f0 100644
--- a/components/underlay/metadata/metadata.json
+++ b/components/underlay/metadata/metadata.json
@@ -2,7 +2,6 @@
"sourceFile": "index.css",
"selectors": [".spectrum-Underlay", ".spectrum-Underlay.is-open"],
"modifiers": [
- "--mod-overlay-animation-duration",
"--mod-overlay-animation-duration-opened",
"--mod-underlay-background-color",
"--mod-underlay-background-entry-animation-delay",
@@ -23,7 +22,6 @@
],
"global": [
"--spectrum-animation-duration-0",
- "--spectrum-animation-duration-100",
"--spectrum-animation-duration-200",
"--spectrum-animation-duration-300",
"--spectrum-animation-duration-600",
diff --git a/components/underlay/metadata/mods.md b/components/underlay/metadata/mods.md
index e66baf3d554..deb3c029815 100644
--- a/components/underlay/metadata/mods.md
+++ b/components/underlay/metadata/mods.md
@@ -1,6 +1,5 @@
| Modifiable custom properties |
| ---------------------------------------------------- |
-| `--mod-overlay-animation-duration` |
| `--mod-overlay-animation-duration-opened` |
| `--mod-underlay-background-color` |
| `--mod-underlay-background-entry-animation-delay` |
diff --git a/components/underlay/package.json b/components/underlay/package.json
index a0b5c521bd2..c4069893c23 100644
--- a/components/underlay/package.json
+++ b/components/underlay/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/underlay",
- "version": "4.2.0",
+ "version": "5.0.0-s2-foundations.16",
"description": "The Spectrum CSS underlay component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/commons": "workspace:^"
diff --git a/components/underlay/stories/template.js b/components/underlay/stories/template.js
index b19acb1a625..837e51e9b1a 100644
--- a/components/underlay/stories/template.js
+++ b/components/underlay/stories/template.js
@@ -5,6 +5,9 @@ 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-Underlay",
diff --git a/components/underlay/themes/express.css b/components/underlay/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/underlay/themes/express.css
+++ b/components/underlay/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/underlay/themes/spectrum-two.css b/components/underlay/themes/spectrum-two.css
new file mode 100644
index 00000000000..3b48a570c21
--- /dev/null
+++ b/components/underlay/themes/spectrum-two.css
@@ -0,0 +1,12 @@
+/*!
+ * 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.
+ */
diff --git a/components/underlay/themes/spectrum.css b/components/underlay/themes/spectrum.css
index 3b48a570c21..3d81bc564b5 100644
--- a/components/underlay/themes/spectrum.css
+++ b/components/underlay/themes/spectrum.css
@@ -10,3 +10,7 @@
* 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/well/CHANGELOG.md b/components/well/CHANGELOG.md
index 547c293d0f0..940bade4045 100644
--- a/components/well/CHANGELOG.md
+++ b/components/well/CHANGELOG.md
@@ -1,5 +1,228 @@
# Change Log
+## 6.0.0-s2-foundations.17
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+### Patch Changes
+
+- Updated dependencies [[`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.29
+
+## 6.0.0-s2-foundations.16
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a434c9a`](https://github.com/adobe/spectrum-css/commit/a434c9aa96509427e0faaa0eef4ffc2a21fa9908) Thanks [@pfulton](https://github.com/pfulton)! - Align selectors with the specificity that exists in S1 today
+
+## 6.0.0-s2-foundations.15
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+### Patch Changes
+
+- Updated dependencies [[`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.22
+
+## 6.0.0-s2-foundations.14
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+### Patch Changes
+
+- Updated dependencies [[`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.21
+
+## 6.0.0-s2-foundations.13
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9df688a`](https://github.com/adobe/spectrum-css/commit/9df688a6a83be5f13bc4e0e732fed294af08bf3f) Thanks [@pfulton](https://github.com/pfulton)! - Replaces raw RGB value/direct token references with abstracted custom properties in theme/spectrum-two.css files
+
+ Asset card
+
+ - removes raw rgb value for box-shadow from `index.css`
+ - creates new `--spectrum-assetcard-selectionindicator-box-shadow-color`
+ in `themes/spectrum-two.css` with previous rgb value to use instead
+
+ Well
+
+ - removes `--spectrum-gray-800-rgb` for background-color from `index.css`
+ - creates new `--spectrum-well-background-color` in `themes/spectrum-two.css`
+ with previous `--spectrum-gray-800-rgb` property to use instead
+
+## 6.0.0-s2-foundations.12
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+### Patch Changes
+
+- Updated dependencies [[`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.13
+
+## 6.0.0-s2-foundations.11
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+### Patch Changes
+
+- Updated dependencies [[`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.12
+
+## 6.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+### Patch Changes
+
+- Updated dependencies [[`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.10
+
+## 6.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+- Updated dependencies [[`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d), [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09), [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.9
+
+## 6.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+### Patch Changes
+
+- Updated dependencies [[`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.8
+
+## 6.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+### Patch Changes
+
+- Updated dependencies [[`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.7
+
+## 6.0.0-s2-foundations.6
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+- Updated dependencies [[`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d), [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.6
+
+## 6.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+- Updated dependencies [[`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.5
+
+## 6.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+- Updated dependencies [[`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.4
+
+## 6.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+### Patch Changes
+
+- Updated dependencies [[`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.3
+
+## 6.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+### Patch Changes
+
+- Updated dependencies [[`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.2
+
+## 6.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+### Patch Changes
+
+- Updated dependencies [[`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.1
+
+## 6.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+### Patch Changes
+
+- Updated dependencies [[`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce)]:
+ - @spectrum-css/tokens@15.0.0-s2-foundations.0
+
## 5.3.0
### Minor Changes
diff --git a/components/well/index.css b/components/well/index.css
index c4f130e8690..26abcff0032 100644
--- a/components/well/index.css
+++ b/components/well/index.css
@@ -11,14 +11,13 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+@import "./themes/spectrum-two.css";
.spectrum-Well {
--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);
-.spectrum-Well {
text-align: start;
display: block;
min-inline-size: var(--mod-well-min-width, var(--spectrum-well-min-width));
@@ -27,7 +26,7 @@
border-width: var(--mod-well-border-width, var(--spectrum-well-border-width));
border-style: solid;
border-radius: var(--mod-well-border-radius, var(--spectrum-well-border-radius));
- background-color: var(--mod-well-background-color, rgba(var(--spectrum-gray-800-rgb), 0.02));
+ background-color: var(--mod-well-background-color, var(--spectrum-well-background-color));
border-color: var(--mod-well-border-color, var(--spectrum-well-border-color));
color: var(--mod-well-content-color, var(--spectrum-well-content-color));
}
diff --git a/components/well/metadata/metadata.json b/components/well/metadata/metadata.json
index 3d2c12b361f..7382222cb26 100644
--- a/components/well/metadata/metadata.json
+++ b/components/well/metadata/metadata.json
@@ -12,6 +12,7 @@
"--mod-well-padding"
],
"component": [
+ "--spectrum-well-background-color",
"--spectrum-well-border-color",
"--spectrum-well-border-radius",
"--spectrum-well-border-width",
@@ -23,9 +24,10 @@
"global": [
"--spectrum-body-color",
"--spectrum-border-width-100",
+ "--spectrum-gray-1000",
"--spectrum-gray-800-rgb"
],
- "system-theme": [],
+ "system-theme": ["--system-well-border-color"],
"passthroughs": [],
"high-contrast": []
}
diff --git a/components/well/package.json b/components/well/package.json
index b52195d4b18..9aa32794b2a 100644
--- a/components/well/package.json
+++ b/components/well/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/well",
- "version": "5.3.0",
+ "version": "6.0.0-s2-foundations.17",
"description": "The Spectrum CSS well component",
"license": "Apache-2.0",
"author": "Adobe",
@@ -21,17 +21,19 @@
"./index.css": "./dist/index.css",
"./metadata.json": "./metadata/metadata.json",
"./metadata/*": "./metadata/*",
- "./package.json": "./package.json"
+ "./package.json": "./package.json",
+ "./stories/*": "./stories/*"
},
"main": "dist/index.css",
"files": [
"dist/*",
"*.md",
"package.json",
+ "stories/*",
"metadata/*"
],
"peerDependencies": {
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
},
"devDependencies": {
"@spectrum-css/tokens": "workspace:^"
diff --git a/components/well/stories/template.js b/components/well/stories/template.js
index 033c5b014ff..c9645cfdcdb 100644
--- a/components/well/stories/template.js
+++ b/components/well/stories/template.js
@@ -5,6 +5,9 @@ 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",
@@ -13,16 +16,18 @@ export const Template = ({
id = getRandomId("well"),
testId,
content = [],
-}, context) => html`
- ({ ...a, [c]: true }), {}),
- })}
- style=${styleMap(customStyles)}
- id=${ifDefined(id)}
- data-testid=${ifDefined(testId)}
- >
- ${renderContent(content, { context })}
-
-`;
+} = {}, context = {}) => {
+ return html`
+ ({ ...a, [c]: true }), {}),
+ })}
+ style=${styleMap(customStyles)}
+ id=${ifDefined(id)}
+ data-testid=${ifDefined(testId)}
+ >
+ ${renderContent(content, { context })}
+
+ `;
+};
diff --git a/components/well/themes/express.css b/components/well/themes/express.css
index fad97bb3695..9fd550418f2 100644
--- a/components/well/themes/express.css
+++ b/components/well/themes/express.css
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
- @import "./spectrum.css";
+/* @combine .spectrum.spectrum--express */
+
+@import "./spectrum.css";
diff --git a/components/well/themes/spectrum-two.css b/components/well/themes/spectrum-two.css
new file mode 100644
index 00000000000..79a9f9a41f3
--- /dev/null
+++ b/components/well/themes/spectrum-two.css
@@ -0,0 +1,18 @@
+/*!
+ * 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), .05);
+ }
+}
diff --git a/components/well/themes/spectrum.css b/components/well/themes/spectrum.css
index 3b48a570c21..5cfe7120396 100644
--- a/components/well/themes/spectrum.css
+++ b/components/well/themes/spectrum.css
@@ -10,3 +10,13 @@
* 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/generator/CHANGELOG.md b/generator/CHANGELOG.md
index c9027a9beca..4ee8f942050 100644
--- a/generator/CHANGELOG.md
+++ b/generator/CHANGELOG.md
@@ -1,5 +1,55 @@
# Change Log
+## 5.0.0-s2-foundations.7
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`a4e0278`](https://github.com/adobe/spectrum-css/commit/a4e0278af07d97b668a73fabcbb18b37411ecb86) Thanks [@pfulton](https://github.com/pfulton)! - Update mdx template to include TaggedReleases and ComponentDetails
+
+## 5.0.0-s2-foundations.6
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+## 5.0.0-s2-foundations.5
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+## 5.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+## 5.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+## 5.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+## 5.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+## 5.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
## 4.1.0
### Minor Changes
diff --git a/generator/package.json b/generator/package.json
index 07c1ee3b2b7..fcd6c9976bf 100644
--- a/generator/package.json
+++ b/generator/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/generator",
- "version": "4.1.0",
+ "version": "5.0.0-s2-foundations.7",
"description": "A tool to quickly create standardized components",
"license": "Apache-2.0",
"author": "Adobe",
diff --git a/generator/templates/index.css.hbs b/generator/templates/index.css.hbs
index 6c3510c104a..cfb6f764d20 100644
--- a/generator/templates/index.css.hbs
+++ b/generator/templates/index.css.hbs
@@ -11,24 +11,18 @@
* governing permissions and limitations under the License.
*/
-@import "./themes/express.css";
+ @import "./themes/spectrum-two.css";
.spectrum-{{ pascalCase name }} {
- /* Variables defined here */
- /* --spectrum-{{ folderName }}-... */
+ // color: var(--highcontrast-{{ folderName }}-content-color-default, var(--mod-{{ folderName }}-content-color-default, var(--spectrum-{{ folderName }}-content-color-default)));
- &:lang(ja),
- &:lang(zh),
- &:lang(ko) {
- --spectrum-{{ folderName }}-line-height-cjk: var(--spectrum-cjk-line-height-100);
- }
+ &.spectrum-{{ pascalCase name }}--sizeS {}
+ &,
+ &.spectrum-{{ pascalCase name }}--sizeM {}
+ &.spectrum-{{ pascalCase name }}--sizeL {}
+ &.spectrum-{{ pascalCase name }}--sizeXL {}
}
-.spectrum-{{ pascalCase name }}--sizeS {}
-.spectrum-{{ pascalCase name }}--sizeM {}
-.spectrum-{{ pascalCase name }}--sizeL {}
-.spectrum-{{ pascalCase name }}--sizeXL {}
-
@media (forced-colors: active) {
.spectrum-{{ pascalCase name }} {
--highcontrast-{{ folderName }}-content-color-default: CanvasText;
@@ -36,8 +30,3 @@
forced-color-adjust: none;
}
}
-
-.spectrum-{{ pascalCase name }} {
- /* Properties defined here */
- color: var(--highcontrast-{{ folderName }}-content-color-default, var(--mod-{{ folderName }}-content-color-default, var(--spectrum-{{ folderName }}-content-color-default)));
-}
diff --git a/generator/templates/project.json.hbs b/generator/templates/project.json.hbs
index c51870d07b1..6f68b7e48f7 100644
--- a/generator/templates/project.json.hbs
+++ b/generator/templates/project.json.hbs
@@ -8,6 +8,7 @@
"compare": {},
"format": {},
"lint": {},
+ "report": {},
"test": {
"defaultConfiguration": "scope"
},
diff --git a/generator/templates/stories/template.js.hbs b/generator/templates/stories/template.js.hbs
index 394ccd11658..af1047abb64 100644
--- a/generator/templates/stories/template.js.hbs
+++ b/generator/templates/stories/template.js.hbs
@@ -7,6 +7,8 @@ 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/generator/templates/themes/express.css.hbs b/generator/templates/themes/express.css.hbs
index 914edf75de3..0312cb359b9 100644
--- a/generator/templates/themes/express.css.hbs
+++ b/generator/templates/themes/express.css.hbs
@@ -13,4 +13,4 @@
@import "./spectrum.css";
-@container (--system: express) {}
+@container style(--system: express) {}
diff --git a/tokens/dist/css/express/custom-medium-vars.css b/generator/templates/themes/spectrum-two.css.hbs
similarity index 57%
rename from tokens/dist/css/express/custom-medium-vars.css
rename to generator/templates/themes/spectrum-two.css.hbs
index 2fd3a95da3b..0760508568f 100644
--- a/tokens/dist/css/express/custom-medium-vars.css
+++ b/generator/templates/themes/spectrum-two.css.hbs
@@ -11,13 +11,12 @@
* governing permissions and limitations under the License.
*/
-.spectrum--express.spectrum--medium{
- --spectrum-colorwheel-path:"M 94 94 m -94 0 a 94 94 0 1 0 188 0 a 94 94 0 1 0 -188 0.2 M 94 94 m -74 0 a 74 74 0 1 0 148 0 a 74 74 0 1 0 -148 0";
- --spectrum-colorwheel-path-borders:"M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";
+/* @combine .spectrum.spectrum--legacy */
- --spectrum-dialog-confirm-border-radius:6px;
+@import "./spectrum-two.css";
- --spectrum-dial-border-radius:12px;
-
- --spectrum-assetcard-focus-ring-border-radius:10px;
+@container style(--system: legacy) {
+ .spectrum-DropZone {
+ --spectrum-drop-zone-border-color: var(--spectrum-gray-300);
+ }
}
diff --git a/generator/templates/themes/spectrum.css.hbs b/generator/templates/themes/spectrum.css.hbs
index b0d4a7b1ab8..212e75ce8f7 100644
--- a/generator/templates/themes/spectrum.css.hbs
+++ b/generator/templates/themes/spectrum.css.hbs
@@ -11,4 +11,6 @@
* governing permissions and limitations under the License.
*/
-@container (--system: spectrum) {}
+@import "./spectrum-two.css";
+
+@container style(--system: legacy) {}
diff --git a/nx.json b/nx.json
index 28b05ff46ee..6a47731bd56 100644
--- a/nx.json
+++ b/nx.json
@@ -34,7 +34,8 @@
"cache": true,
"dependsOn": [
"^build",
- "clean"
+ "clean",
+ { "projects": "tokens", "target": "build" }
],
"executor": "nx:run-commands",
"inputs": [
@@ -42,20 +43,18 @@
"tools",
"{workspaceRoot}/tasks/component-builder.js",
"!{projectRoot}/stories/*.js",
+ "{workspaceRoot}/tasks/component-builder.js",
{ "externalDependencies": ["postcss"] },
{ "env": "NODE_ENV" }
],
"options": {
"commands": [
- "node --no-warnings -e 'require(\"./tasks/component-builder.js\").default()'"
+ "cross-env NODE_OPTIONS=\"--no-warnings\" node -e 'require(\"./tasks/component-builder.js\").default()'"
]
},
"outputs": [
- "{projectRoot}/dist/*.{css,json}",
- "{projectRoot}/dist/themes/*.css",
- "{projectRoot}/dist/*.map",
- "{projectRoot}/dist/themes/*.css.map",
- "{projectRoot}/metadata/mods.md"
+ "{projectRoot}/dist/*.css",
+ "{projectRoot}/dist/themes/*.css"
]
},
"clean": {
@@ -120,7 +119,7 @@
],
"options": {
"commands": [
- "prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern {projectRoot}/*.css {projectRoot}/**/*.css && stylelint --fix --cache --allow-empty-input {projectRoot}/*.css {projectRoot}/**/*.css",
+ "stylelint --fix --cache --allow-empty-input {projectRoot}/*.css {projectRoot}/**/*.css",
"eslint --fix --cache --no-error-on-unmatched-pattern {projectRoot}/*.json {projectRoot}/stories/*.js",
"prettier --write --cache --log-level error --ignore-unknown --no-error-on-unmatched-pattern {projectRoot}/*.{md,mdx} {projectRoot}/**/*.{md,mdx}"
]
diff --git a/package.json b/package.json
index 5c893a851c1..44b94d31bfc 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
"build:preview": "nx build storybook",
"builder": "nx run-many --target build report --projects",
"changeset": "changeset",
- "ci": "cross-env NODE_ENV=production yarn build --skip-nx-cache",
+ "ci": "cross-env NODE_ENV=production yarn builder tag:component,ui-icons --skip-nx-cache",
"ci:storybook": "cross-env NODE_ENV=development nx run storybook:build:ci --skip-nx-cache",
"clean": "yarn cleaner tag:component",
"clean:docs": "rimraf dist",
@@ -63,10 +63,10 @@
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@nx/devkit": "^19.8.2",
- "@spectrum-css/cyclebutton": "^3.1.3",
- "@spectrum-css/quickaction": "^3.1.1",
- "@spectrum-css/searchwithin": "^5.1.3",
- "@spectrum-css/splitbutton": "^8.1.2",
+ "@spectrum-css/tokens-legacy": "npm:@spectrum-css/tokens@^14.6.0",
+ "@spectrum-tools/postcss-add-theming-layer": "workspace:^",
+ "@spectrum-tools/postcss-property-rollup": "workspace:^",
+ "@spectrum-tools/postcss-rgb-mapping": "workspace:^",
"at-rule-packer": "^0.4.2",
"autoprefixer": "^10.4.19",
"colors": "^1.4.0",
@@ -91,7 +91,6 @@
"open": "^10.1.0",
"pajv": "^1.2.0",
"postcss": "^8.4.49",
- "postcss-combininator": "workspace:^",
"postcss-extend": "^1.0.5",
"postcss-hover-media-feature": "^1.0.2",
"postcss-import": "^16.1.0",
@@ -100,10 +99,8 @@
"postcss-preset-env": "^9.5.13",
"postcss-pseudo-classes": "^0.4.0",
"postcss-reporter": "^7.1.0",
- "postcss-rgb-mapping": "workspace:^",
"postcss-selector-replace": "^1.0.2",
"postcss-sorting": "^9.1.0",
- "postcss-splitinator": "workspace:^",
"postcss-values-parser": "^6.0.2",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
diff --git a/plugins/postcss-splitinator/CHANGELOG.md b/plugins/postcss-add-theming-layer/CHANGELOG.md
similarity index 86%
rename from plugins/postcss-splitinator/CHANGELOG.md
rename to plugins/postcss-add-theming-layer/CHANGELOG.md
index fa9f3e2d31c..aab665df410 100644
--- a/plugins/postcss-splitinator/CHANGELOG.md
+++ b/plugins/postcss-add-theming-layer/CHANGELOG.md
@@ -1,5 +1,11 @@
# Change Log
+## 2.1.1-s2-foundations.0
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
## 2.1.0
### Minor Changes
diff --git a/plugins/postcss-add-theming-layer/README.md b/plugins/postcss-add-theming-layer/README.md
new file mode 100644
index 00000000000..cf496ca9ab5
--- /dev/null
+++ b/plugins/postcss-add-theming-layer/README.md
@@ -0,0 +1,115 @@
+# 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
new file mode 100644
index 00000000000..711a906a74d
--- /dev/null
+++ b/plugins/postcss-add-theming-layer/expected/basic.css
@@ -0,0 +1,41 @@
+.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
new file mode 100644
index 00000000000..50692d97093
--- /dev/null
+++ b/plugins/postcss-add-theming-layer/fixtures/basic.css
@@ -0,0 +1,49 @@
+@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
new file mode 100644
index 00000000000..53525838870
--- /dev/null
+++ b/plugins/postcss-add-theming-layer/index.js
@@ -0,0 +1,201 @@
+/*!
+ * 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.insertAfter(root.first, rules);
+ },
+});
+
+module.exports.postcss = true;
diff --git a/plugins/postcss-add-theming-layer/package.json b/plugins/postcss-add-theming-layer/package.json
new file mode 100644
index 00000000000..5dba516c2a3
--- /dev/null
+++ b/plugins/postcss-add-theming-layer/package.json
@@ -0,0 +1,35 @@
+{
+ "name": "@spectrum-tools/postcss-add-theming-layer",
+ "version": "0.0.0",
+ "description": "Leveraging style container queries to create an abstraction layer for supporting multiple theming systems",
+ "license": "Apache-2.0",
+ "author": "Adobe",
+ "contributors": [
+ "Cassondra Roberts "
+ ],
+ "main": "index.js",
+ "files": [
+ "package.json",
+ "index.js",
+ "*.md"
+ ],
+ "dependencies": {
+ "postcss-selector-parser": "^6.1.1",
+ "postcss-values-parser": "^6.0.2"
+ },
+ "peerDependencies": {
+ "postcss": ">=8"
+ },
+ "devDependencies": {
+ "ava": "^6.2.0",
+ "c8": "^10.1.2",
+ "postcss": "^8.4.49"
+ },
+ "keywords": [
+ "css",
+ "theming",
+ "custom properties",
+ "postcss",
+ "postcss-plugin"
+ ]
+}
diff --git a/plugins/postcss-splitinator/project.json b/plugins/postcss-add-theming-layer/project.json
similarity index 76%
rename from plugins/postcss-splitinator/project.json
rename to plugins/postcss-add-theming-layer/project.json
index 9dfb4ded7c9..7797edce0f8 100644
--- a/plugins/postcss-splitinator/project.json
+++ b/plugins/postcss-add-theming-layer/project.json
@@ -1,7 +1,7 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
- "name": "postcss-splitinator",
- "tags": ["tooling", "postcss", "plugin"],
+ "name": "postcss-add-theming-layer",
+ "tags": ["tooling", "postcss"],
"targets": {
"format": {
"defaultConfiguration": "plugins"
diff --git a/plugins/postcss-splitinator/test.js b/plugins/postcss-add-theming-layer/test.js
similarity index 89%
rename from plugins/postcss-splitinator/test.js
rename to plugins/postcss-add-theming-layer/test.js
index 2e2923f7b91..ed431c85f20 100644
--- a/plugins/postcss-splitinator/test.js
+++ b/plugins/postcss-add-theming-layer/test.js
@@ -20,14 +20,7 @@ function compare(
t,
fixtureFilePath,
expectedFilePath,
- options = {
- processIdentifier: (identifier) => {
- if (identifier === "express") {
- return "spectrum--express";
- }
- return identifier;
- },
- }
+ options = {}
) {
return postcss([plugin(options)])
.process(readFile(`./fixtures/${fixtureFilePath}`), {
diff --git a/plugins/postcss-add-theming-layer/utilities.js b/plugins/postcss-add-theming-layer/utilities.js
new file mode 100644
index 00000000000..0988f27ce38
--- /dev/null
+++ b/plugins/postcss-add-theming-layer/utilities.js
@@ -0,0 +1,244 @@
+/*!
+ * 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-combininator/README.md b/plugins/postcss-combininator/README.md
deleted file mode 100644
index 50c4b6d28c3..00000000000
--- a/plugins/postcss-combininator/README.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# postcss-combininator
-
-> Combines multiple blocks of custom properties
-
-## Installation
-
-```sh
-npm install postcss-combininator
-postcss -u postcss-combininator -o dist/index.css src/index.css
-```
-
-## Usage
-
-This plugin turns this:
-
-```css
-.spectrum {
- --spectrum-actionbutton-background-color: blue;
- --spectrum-actionbutton-border-color: transparent;
-}
-
-.spectrum--express {
- --spectrum-actionbutton-background-color: purple;
-}
-```
-
-Into this:
-
-```css
-.spectrum--express {
- --spectrum-actionbutton-border-color: transparent;
- --spectrum-actionbutton-background-color: purple;
-}
-```
-
-The resulting selector comes from the last rule, and all duplicate properties in the subsequent rules override the previous declarations.
diff --git a/plugins/postcss-combininator/index.js b/plugins/postcss-combininator/index.js
deleted file mode 100644
index 1a392d94637..00000000000
--- a/plugins/postcss-combininator/index.js
+++ /dev/null
@@ -1,51 +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
- */
-
-/** @type import('postcss').PluginCreator */
-module.exports = () => {
- return {
- postcssPlugin: "postcss-combininator",
- OnceExit(root) {
- const rules = [];
- const declarations = {};
-
- root.walkRules((rule) => {
- rules.push(rule);
- rule.walkDecls(/^--/, (decl) => {
- declarations[decl.prop] = decl;
- decl.remove();
- });
- });
-
- if (!rules.length) return;
-
- 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-combininator/package.json b/plugins/postcss-combininator/package.json
deleted file mode 100644
index a0560db6317..00000000000
--- a/plugins/postcss-combininator/package.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "private": true,
- "name": "postcss-combininator",
- "version": "2.0.1",
- "description": "Combines multiple blocks of custom properties",
- "license": "Apache-2.0",
- "author": "Adobe",
- "main": "index.js",
- "files": [
- "index.js"
- ],
- "scripts": {
- "coverage": "c8 yarn test",
- "prepublishOnly": "yarn test",
- "test": "ava"
- },
- "dependencies": {
- "postcss": "^8.4.49"
- },
- "peerDependencies": {
- "postcss": ">=8"
- },
- "devDependencies": {
- "ava": "^6.1.3",
- "c8": "^10.1.3",
- "postcss": "^8.4.49"
- },
- "keywords": [
- "css",
- "rgb",
- "plugin",
- "postcss"
- ]
-}
diff --git a/plugins/postcss-combininator/CHANGELOG.md b/plugins/postcss-property-rollup/CHANGELOG.md
similarity index 100%
rename from plugins/postcss-combininator/CHANGELOG.md
rename to plugins/postcss-property-rollup/CHANGELOG.md
diff --git a/plugins/postcss-property-rollup/README.md b/plugins/postcss-property-rollup/README.md
new file mode 100644
index 00000000000..20fe1c9f821
--- /dev/null
+++ b/plugins/postcss-property-rollup/README.md
@@ -0,0 +1,67 @@
+# 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.
diff --git a/plugins/postcss-combininator/expected/basic.css b/plugins/postcss-property-rollup/expected/basic.css
similarity index 100%
rename from plugins/postcss-combininator/expected/basic.css
rename to plugins/postcss-property-rollup/expected/basic.css
diff --git a/plugins/postcss-combininator/fixtures/basic.css b/plugins/postcss-property-rollup/fixtures/basic.css
similarity index 92%
rename from plugins/postcss-combininator/fixtures/basic.css
rename to plugins/postcss-property-rollup/fixtures/basic.css
index 44e0a115403..d7614ec6ee3 100644
--- a/plugins/postcss-combininator/fixtures/basic.css
+++ b/plugins/postcss-property-rollup/fixtures/basic.css
@@ -1,3 +1,4 @@
+/* @combine */
.spectrum {
--spectrum-actionbutton-background-color: blue;
--spectrum-actionbutton-border-color: transparent;
diff --git a/plugins/postcss-property-rollup/index.js b/plugins/postcss-property-rollup/index.js
new file mode 100644
index 00000000000..2d986684c94
--- /dev/null
+++ b/plugins/postcss-property-rollup/index.js
@@ -0,0 +1,98 @@
+/*!
+ * 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
new file mode 100644
index 00000000000..465ec28cb72
--- /dev/null
+++ b/plugins/postcss-property-rollup/package.json
@@ -0,0 +1,31 @@
+{
+ "name": "@spectrum-tools/postcss-property-rollup",
+ "version": "0.0.0",
+ "description": "Combines custom properties from multiple selectors into a single selector",
+ "license": "Apache-2.0",
+ "author": "Adobe",
+ "contributors": [
+ "Cassondra Roberts "
+ ],
+ "main": "index.js",
+ "files": [
+ "package.json",
+ "index.js",
+ "*.md"
+ ],
+ "peerDependencies": {
+ "postcss": ">=8"
+ },
+ "devDependencies": {
+ "ava": "^6.2.0",
+ "c8": "^10.1.2",
+ "postcss": "^8.4.49"
+ },
+ "keywords": [
+ "css",
+ "theming",
+ "custom properties",
+ "postcss",
+ "postcss-plugin"
+ ]
+}
diff --git a/plugins/postcss-combininator/project.json b/plugins/postcss-property-rollup/project.json
similarity index 76%
rename from plugins/postcss-combininator/project.json
rename to plugins/postcss-property-rollup/project.json
index f4846981224..681869f7a14 100644
--- a/plugins/postcss-combininator/project.json
+++ b/plugins/postcss-property-rollup/project.json
@@ -1,7 +1,7 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
- "name": "postcss-combininator",
- "tags": ["tooling", "postcss", "plugin"],
+ "name": "postcss-property-rollup",
+ "tags": ["tooling", "postcss"],
"targets": {
"format": {
"defaultConfiguration": "plugins"
diff --git a/plugins/postcss-combininator/test.js b/plugins/postcss-property-rollup/test.js
similarity index 100%
rename from plugins/postcss-combininator/test.js
rename to plugins/postcss-property-rollup/test.js
diff --git a/plugins/postcss-rgb-mapping/CHANGELOG.md b/plugins/postcss-rgb-mapping/CHANGELOG.md
index 88dd518e315..6ca1f209e5f 100644
--- a/plugins/postcss-rgb-mapping/CHANGELOG.md
+++ b/plugins/postcss-rgb-mapping/CHANGELOG.md
@@ -1,5 +1,11 @@
# postcss-rgb-mapping
+## 3.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6582314`](https://github.com/adobe/spectrum-css/commit/65823145e139caa56f5e73e8a36e73aff37672de) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to the rgb mapping plugin brought back rgb alias's to tokens output
+
## 2.1.0
### Minor Changes
diff --git a/plugins/postcss-rgb-mapping/README.md b/plugins/postcss-rgb-mapping/README.md
index 4111ac0efe7..198d3adecb4 100644
--- a/plugins/postcss-rgb-mapping/README.md
+++ b/plugins/postcss-rgb-mapping/README.md
@@ -5,7 +5,7 @@
## Installation
```sh
-yarn add -D postcss-rgb-mapping
+yarn add -D @spectrum-tools/postcss-rgb-mapping
postcss -u postcss-rgb-mapping -o dist/index.css src/index.css
```
diff --git a/plugins/postcss-rgb-mapping/index.js b/plugins/postcss-rgb-mapping/index.js
index d38378a3059..155a1c68cfe 100644
--- a/plugins/postcss-rgb-mapping/index.js
+++ b/plugins/postcss-rgb-mapping/index.js
@@ -11,7 +11,7 @@
* governing permissions and limitations under the License.
*/
-const valueParser = require("postcss-value-parser");
+const valuesParser = require("postcss-values-parser");
/** @typedef {object} Options */
@@ -35,9 +35,10 @@ function rgbMappingFunction ({
const isProcessed = prop.endsWith("rgb") || prop.endsWith("opacity");
/* Parse the value for it's parts */
- const parsedValue = valueParser(value) || [];
+ const parsedValue = valuesParser.parse(value) || [];
+
/* Determine if the value has an rgb or rgba value */
- const hasRGBValue = parsedValue.nodes.length ? parsedValue.nodes.some((node) => node.type === "function" && (["rgb", "rgba"].some(func => node.value === func))) : false;
+ const hasRGBValue = parsedValue.nodes.length ? parsedValue.nodes.some((node) => node.type === "func" && (["rgb", "rgba"].some(func => node.name === func))) : false;
/*
* If the property is not a custom prop, or
@@ -48,10 +49,17 @@ function rgbMappingFunction ({
*/
if (!isCustomProp || isProcessed || !hasRGBValue || parsedValue.nodes.length === 0) return;
- const rgba = parsedValue.nodes.find((node) => node.type === "function" && (["rgb", "rgba"].some(func => node.value === func)));
+ const rgba = parsedValue.nodes.find((node) => node.type === "func" && (["rgb", "rgba"].some(func => node.name === func)));
const [r,g,b,a] = rgba.nodes.reduce((acc, node) => {
- if (node.type === "word" && node.value) acc.push(node.value);
+ if (node.type === "numeric" && node.value) {
+ if (node?.unit && node.unit === "%") {
+ acc.push((node.value / 100).toFixed(2));
+ }
+ else {
+ acc.push(node.value);
+ }
+ }
return acc;
}, []);
diff --git a/plugins/postcss-rgb-mapping/package.json b/plugins/postcss-rgb-mapping/package.json
index 92578955e6c..e282e7d49a4 100644
--- a/plugins/postcss-rgb-mapping/package.json
+++ b/plugins/postcss-rgb-mapping/package.json
@@ -1,30 +1,27 @@
{
"private": true,
- "name": "postcss-rgb-mapping",
- "version": "2.1.0",
+ "name": "@spectrum-tools/postcss-rgb-mapping",
+ "version": "3.0.0-s2-foundations.0",
"description": "Remaps rgb(a) values to an rgb postfixed variable",
"license": "Apache-2.0",
"author": "Adobe",
"contributors": [
- "Cassondra Roberts (https://allons-y.llc)"
+ "Cassondra Roberts "
],
"main": "index.js",
"files": [
- "index.js"
+ "package.json",
+ "index.js",
+ "*.md"
],
- "scripts": {
- "coverage": "c8 yarn test",
- "prepublishOnly": "yarn test",
- "test": "ava"
- },
"dependencies": {
- "postcss-value-parser": "^4.2.0"
+ "postcss-values-parser": "^6.0.2"
},
"peerDependencies": {
"postcss": ">=8"
},
"devDependencies": {
- "ava": "^6.1.3",
+ "ava": "^6.2.0",
"c8": "^10.1.3",
"postcss": "^8.4.49"
},
diff --git a/plugins/postcss-splitinator/README.md b/plugins/postcss-splitinator/README.md
deleted file mode 100644
index 99adb64bb4d..00000000000
--- a/plugins/postcss-splitinator/README.md
+++ /dev/null
@@ -1,109 +0,0 @@
-# postcss-splitinator
-
-> Splits custom properties organized by classes into named tokens
-
-## Installation
-
-Add the dependency to your project:
-
-```sh
-npm install postcss-splitinator
-```
-
-or
-
-```sh
-yarn add -DW postcss-splitinator
-```
-
-Use the plugin in your PostCSS configuration:
-
-```js
-module.exports = {
- plugins: [
- require("postcss-splitinator")({
- // options
- }),
- ],
-};
-```
-
-or as part of your CLI command:
-
-```sh
-postcss -u postcss-splitinator -o dist/index.css src/index.css
-```
-
-## Options
-
-### `options.getName = function(selector, prop)`
-
-Customize the creation of variable names. By default, as SUIT naming convention is assumed and variable names are created accordingly.
-
-### `options.processIdentifier = function(identifierValue, identifierName)`
-
-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.
-
-### `options.noFlatVariables = false`
-
-Whether to avoid including flat variables in the output.
-
-### `options.noSelectors = false`
-
-Whether to avoid including selectors that use the flat variables in the output.
-
-### `options.referencesOnly = false`
-
-This option will only output those variables that are referencing the newly created system variabes and not the system variables themselves. This can be used as a bridge between an old and new implementation for the component.
-
-## Usage
-
-This plugin turns this:
-
-```css
-@container (--system: spectrum) {
- .component {
- --background-color: blue;
- }
- .component.is-selected {
- --background-color: darkblue;
- }
- .component .icon {
- --color: gray;
- }
-}
-
-@container (--system: express) {
- .component {
- --background-color: purple;
- }
- .component.is-selected {
- --background-color: darkpurple;
- }
- .component .icon {
- --color: white;
- }
-}
-```
-
-Into this:
-
-```css
-.spectrum {
- --system-component-background-color: blue;
- --system-component-selected-background-color: darkblue;
-}
-
-.spectrum--express {
- --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);
-}
-```
diff --git a/plugins/postcss-splitinator/expected/basic.css b/plugins/postcss-splitinator/expected/basic.css
deleted file mode 100644
index e3e1349f65f..00000000000
--- a/plugins/postcss-splitinator/expected/basic.css
+++ /dev/null
@@ -1,23 +0,0 @@
-.spectrum {
- --system-component-background-color: blue;
- --system-component-selected-background-color: darkblue;
- --system-component-icon-color: gray
-}
-
-.spectrum--express {
- --system-component-background-color: purple;
- --system-component-selected-background-color: darkpurple;
- --system-component-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)
-}
diff --git a/plugins/postcss-splitinator/fixtures/basic.css b/plugins/postcss-splitinator/fixtures/basic.css
deleted file mode 100644
index 3ad6289a5ee..00000000000
--- a/plugins/postcss-splitinator/fixtures/basic.css
+++ /dev/null
@@ -1,23 +0,0 @@
-@container (--system: spectrum) {
- .component {
- --background-color: blue;
- }
- .component.is-selected {
- --background-color: darkblue;
- }
- .component .icon {
- --color: gray;
- }
-}
-
-@container (--system: express) {
- .component {
- --background-color: purple;
- }
- .component.is-selected {
- --background-color: darkpurple;
- }
- .component .icon {
- --color: white;
- }
-}
diff --git a/plugins/postcss-splitinator/fixtures/where.css b/plugins/postcss-splitinator/fixtures/where.css
deleted file mode 100644
index 2c00ff4098b..00000000000
--- a/plugins/postcss-splitinator/fixtures/where.css
+++ /dev/null
@@ -1,23 +0,0 @@
-@container (--system: spectrum) {
- :where(.component) {
- --background-color: blue;
- }
- :where(.component.is-selected) {
- --background-color: darkblue;
- }
- :where(.component .icon) {
- --color: gray;
- }
-}
-
-@container (--system: express) {
- :where(.component) {
- --background-color: purple;
- }
- :where(.component.is-selected) {
- --background-color: darkpurple;
- }
- :where(.component .icon) {
- --color: white;
- }
-}
diff --git a/plugins/postcss-splitinator/index.js b/plugins/postcss-splitinator/index.js
deleted file mode 100644
index d51caf0b557..00000000000
--- a/plugins/postcss-splitinator/index.js
+++ /dev/null
@@ -1,148 +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 {boolean} [noFlatVariables=false]
- * @property {boolean} [noSelectors=false]
- * @property {(identifierValue: string, identifierName: string) => string} [processIdentifier]
- * @property {(selector: string, prop: string) => string} [getName]
-*/
-
-/** @type import('postcss').PluginCreator */
-module.exports = ({
- noFlatVariables = false,
- noSelectors = false,
- referencesOnly = false,
- processIdentifier,
- getName = (selector, prop) => {
- selector = selector.replace(/^:where\((.*?)\)$/, "$1");
-
- // This regex is designed to pull spectrum-ActionButton out of a selector
- let baseSelectorMatch = selector.match(/^\.([a-z]+-[A-Z][^-. ]+)/);
- if (baseSelectorMatch) {
- const [, baseSelector] = baseSelectorMatch;
- const baseSelectorRegExp = new RegExp(baseSelector, "gi");
- prop = prop.replace(baseSelectorRegExp, "");
- selector = baseSelector + selector.replace(baseSelectorRegExp, "");
- }
-
- selector = selector.replace(/is-/g, "");
-
- let selectorParts = selector.replace(/\s+/g, "").replace(/,/g, "").split(".");
-
- return (
- "--" +
- (`system-${selectorParts.join("-")}-${prop.substr(2)}`)
- .replace(/-+/g, "-")
- .toLowerCase()
- );
- },
-}) => ({
- postcssPlugin: "postcss-splitinator",
- OnceExit(root, { Rule, Declaration }) {
- const selectorMap = {};
-
- root.walkAtRules(/container/, (container) => {
- const [, identifierName, identifierValue] = container.params.match(
- /\(\s*--(.*?)\s*[:=]\s*(.*?)\s*\)/
- );
-
- const rule = new Rule({
- selector: `.${
- typeof processIdentifier === "function"
- ? processIdentifier(identifierValue, identifierName)
- : identifierValue
- }`,
- source: container.source,
- });
-
- if (!noFlatVariables) {
- container.parent.insertAfter(container, rule);
- }
-
- container.walkDecls(/^--/, (decl) => {
- // Process rules that match multiple selectors separately to avoid weird var names and edge cases
- // note: this doesn't support :where() and is likely brittle!
- const selectors = decl.parent.selector.split(/\s*,\s*/);
- selectors.forEach((selector) => {
- const variableName = getName(selector, decl.prop);
- const newDecl = decl.clone({
- prop: variableName,
- });
- newDecl.raws.before = "\n ";
-
- if (!noFlatVariables) {
- rule.append(newDecl);
- }
-
- const selectorNode = (selectorMap[selector] =
- selectorMap[selector] || {});
-
- // Check for fallbacks
- // todo: use valueparser instead of a regex
- const fallbackMatch = decl.value.match(
- /var\(\s*(.*?)\s*,\s*var\(\s*(.*?)\s*\)\)/
- );
- if (fallbackMatch) {
- const [, override, fallback] = fallbackMatch;
-
- // The final declaration should have the override present
- selectorNode[
- decl.prop
- ] = `var(${override}, var(${variableName}))`;
-
- // The system-level declaration should only have the fallback
- newDecl.value = `var(${fallback})`;
- } else {
- selectorNode[decl.prop] = `var(${variableName})`;
- }
- });
- });
-
- container.remove();
- });
-
- if (noSelectors) return;
-
- if (referencesOnly) {
- // Empty out the root so we only have the references to --system- variables
- // Keep the copyright notice at the top
- // Find the copyright comment
- let comment = root.first;
- while (comment?.type !== "comment") {
- comment = comment.next();
- // Check the comment for the word "Copyright"
- if (comment?.text.match(/Copyright/)) break;
- }
-
- root.removeAll();
- if (comment) root.append(comment);
- }
-
- 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);
- }
-
- root.append(rule);
- }
- },
-});
-
-module.exports.postcss = true;
diff --git a/plugins/postcss-splitinator/package.json b/plugins/postcss-splitinator/package.json
deleted file mode 100644
index 86ec659b472..00000000000
--- a/plugins/postcss-splitinator/package.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "private": true,
- "name": "postcss-splitinator",
- "version": "2.1.0",
- "description": "Turn container queryies into the var hack",
- "license": "Apache-2.0",
- "author": "Adobe",
- "main": "index.js",
- "files": [
- "index.js"
- ],
- "scripts": {
- "coverage": "c8 yarn test",
- "prepublishOnly": "yarn test",
- "test": "ava"
- },
- "dependencies": {
- "postcss": "^8.4.49"
- },
- "peerDependencies": {
- "postcss": ">=8.0.0"
- },
- "devDependencies": {
- "ava": "^6.1.3",
- "c8": "^10.1.3",
- "postcss": "^8.4.49"
- },
- "keywords": [
- "css",
- "rgb",
- "plugin",
- "postcss"
- ],
- "publishConfig": {
- "access": "public"
- }
-}
diff --git a/plugins/stylelint-no-missing-var/CHANGELOG.md b/plugins/stylelint-no-missing-var/CHANGELOG.md
index 488fd55b0e5..bd31b1d758b 100644
--- a/plugins/stylelint-no-missing-var/CHANGELOG.md
+++ b/plugins/stylelint-no-missing-var/CHANGELOG.md
@@ -1,5 +1,11 @@
# Change Log
+## 2.0.2-s2-foundations.0
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`683871c`](https://github.com/adobe/spectrum-css/commit/683871c8cec3de3585c3d29fc63bd8bbf71e245a) Thanks [@pfulton](https://github.com/pfulton)! - Dependency updates to align with versions used in the parent repository.
+
## 2.0.1
### Patch Changes
diff --git a/plugins/stylelint-no-missing-var/package.json b/plugins/stylelint-no-missing-var/package.json
index ec862445d85..b849a2214b9 100644
--- a/plugins/stylelint-no-missing-var/package.json
+++ b/plugins/stylelint-no-missing-var/package.json
@@ -1,14 +1,22 @@
{
"name": "@spectrum-tools/stylelint-no-missing-var",
- "version": "2.0.1",
+ "version": "2.0.2-s2-foundations.0",
"description": "Check for custom properties without a var function around them",
"license": "Apache-2.0",
"author": "Adobe",
+ "contributors": [
+ "Cassondra Roberts "
+ ],
"type": "module",
"main": "index.js",
"scripts": {
"test": "ava"
},
+ "files": [
+ "package.json",
+ "index.js",
+ "*.md"
+ ],
"dependencies": {
"colors": "^1.4.0"
},
@@ -16,7 +24,7 @@
"stylelint": ">=16.0.0"
},
"devDependencies": {
- "ava": "^6.1.3",
+ "ava": "^6.2.0",
"c8": "^10.1.3",
"stylelint": "^16.9.0"
},
diff --git a/plugins/stylelint-no-unknown-custom-properties/CHANGELOG.md b/plugins/stylelint-no-unknown-custom-properties/CHANGELOG.md
index 540536682d2..5e1c7cbb3d2 100644
--- a/plugins/stylelint-no-unknown-custom-properties/CHANGELOG.md
+++ b/plugins/stylelint-no-unknown-custom-properties/CHANGELOG.md
@@ -1,5 +1,11 @@
# Change Log
+## 2.0.2-s2-foundations.0
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`683871c`](https://github.com/adobe/spectrum-css/commit/683871c8cec3de3585c3d29fc63bd8bbf71e245a) Thanks [@pfulton](https://github.com/pfulton)! - Dependency updates to align with versions used in the parent repository.
+
## 2.0.1
### Patch Changes
diff --git a/plugins/stylelint-no-unknown-custom-properties/index.js b/plugins/stylelint-no-unknown-custom-properties/index.js
index 6afd483867b..443af61c20e 100644
--- a/plugins/stylelint-no-unknown-custom-properties/index.js
+++ b/plugins/stylelint-no-unknown-custom-properties/index.js
@@ -12,7 +12,7 @@
import { existsSync, readFileSync } from "fs";
import { createRequire } from "module";
-import { join, sep } from "path";
+import { extname, join, sep } from "path";
const require = createRequire(import.meta.url);
import stylelint from "stylelint";
@@ -94,10 +94,25 @@ const ruleFunction = (enabled, options = {}) => {
const content = readFileSync(req, "utf8");
if (!content) return;
- // Fetch all defined custom properties
- parse(content).walkDecls(/^--/, ({ prop }) => {
- sharedDefinitions.add(prop);
- });
+ // If the file is a CSS file, parse it for custom properties
+ if (extname(req) === ".css") {
+ // Fetch all defined custom properties
+ parse(content).walkDecls(/^--/, ({ prop }) => {
+ sharedDefinitions.add(prop);
+ });
+ }
+ else if (extname(req) === ".json") {
+ const data = JSON.parse(content);
+ Object.keys(data).forEach((key) => {
+ if (typeof key !== "string") return;
+ if (!key.startsWith("--")) {
+ sharedDefinitions.add(`--spectrum-${key.replace(".", "-")}`);
+ }
+ else {
+ sharedDefinitions.add(key);
+ }
+ });
+ }
}
// Check dependencies for custom properties
@@ -115,8 +130,7 @@ const ruleFunction = (enabled, options = {}) => {
if (allDependencies.size === 0) return;
- // @todo this is a hard-coded assumption that we only care about spectrum-css dependencies
- for (const dep of [...allDependencies].filter(dep => dep.startsWith("@spectrum-css"))) {
+ for (const dep of [...allDependencies]) {
try {
fetchResolutions(dep);
}
diff --git a/plugins/stylelint-no-unknown-custom-properties/package.json b/plugins/stylelint-no-unknown-custom-properties/package.json
index 5ebc1d380d1..7420f9aa7d6 100644
--- a/plugins/stylelint-no-unknown-custom-properties/package.json
+++ b/plugins/stylelint-no-unknown-custom-properties/package.json
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@spectrum-tools/stylelint-no-unknown-custom-properties",
- "version": "2.0.1",
+ "version": "2.0.2-s2-foundations.0",
"description": "Report on any unknown custom property definitions",
"license": "Apache-2.0",
"author": "Adobe",
@@ -28,7 +28,7 @@
"stylelint": ">=16.0.0"
},
"devDependencies": {
- "ava": "^6.1.3",
+ "ava": "^6.2.0",
"c8": "^10.1.3",
"stylelint": "^16.9.0"
},
diff --git a/plugins/stylelint-no-unused-custom-properties/CHANGELOG.md b/plugins/stylelint-no-unused-custom-properties/CHANGELOG.md
index 19edc45626e..69bdd698284 100644
--- a/plugins/stylelint-no-unused-custom-properties/CHANGELOG.md
+++ b/plugins/stylelint-no-unused-custom-properties/CHANGELOG.md
@@ -1,5 +1,17 @@
# Change Log
+## 2.0.2-s2-foundations.0
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`683871c`](https://github.com/adobe/spectrum-css/commit/683871c8cec3de3585c3d29fc63bd8bbf71e245a) Thanks [@pfulton](https://github.com/pfulton)! - Dependency updates to align with versions used in the parent repository.
+
+## 2.0.2
+
+### Patch Changes
+
+- [#3300](https://github.com/adobe/spectrum-css/pull/3300) [`89797d0`](https://github.com/adobe/spectrum-css/commit/89797d0324bcbf2195a28840ce87ed6959da24a5) Thanks [@castastrophe](https://github.com/castastrophe)! - Minor logic clean-up for more efficient escapes when checking for warnings.
+
## 2.0.2
### Patch Changes
diff --git a/plugins/stylelint-no-unused-custom-properties/index.js b/plugins/stylelint-no-unused-custom-properties/index.js
index 1f35155005e..4b5490cd850 100644
--- a/plugins/stylelint-no-unused-custom-properties/index.js
+++ b/plugins/stylelint-no-unused-custom-properties/index.js
@@ -139,14 +139,18 @@ const ruleFunction = (enabled, { ignoreList = [] } = {}, context = {}) => {
// If this comment is a start indicator, capture the declarations after it until the end indicator
while (nextLine) {
- if (nextLine.type === "decl" && nextLine.prop.startsWith("--")) {
- allowedPassthroughs.add(nextLine.prop);
+ switch(nextLine.type) {
+ case "rule":
+ nextLine = nextLine.nodes[0];
+ break;
+ case "decl":
+ if (nextLine.prop.startsWith("--")) {
+ allowedPassthroughs.add(nextLine.prop);
+ }
+ // eslint-disable-next-line no-fallthrough -- intentional fallthrough
+ default:
+ nextLine = nextLine.next();
}
- else if (nextLine.type === "comment" && /^\s*@passthroughs?\s*(\s+end)?$/.test(nextLine.text)) {
- break;
- }
-
- nextLine = nextLine.next();
}
});
diff --git a/plugins/stylelint-no-unused-custom-properties/package.json b/plugins/stylelint-no-unused-custom-properties/package.json
index 4054061926e..42786cf2915 100644
--- a/plugins/stylelint-no-unused-custom-properties/package.json
+++ b/plugins/stylelint-no-unused-custom-properties/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-tools/stylelint-no-unused-custom-properties",
- "version": "2.0.2",
+ "version": "2.0.2-s2-foundations.0",
"description": "Report on any unused custom property definitions",
"license": "Apache-2.0",
"author": "Adobe",
@@ -19,13 +19,14 @@
},
"dependencies": {
"colors": "^1.4.0",
+ "postcss": "^8.4.49",
"postcss-values-parser": "^6.0.2"
},
"peerDependencies": {
"stylelint": ">=16.0.0"
},
"devDependencies": {
- "ava": "^6.1.3",
+ "ava": "^6.2.0",
"c8": "^10.1.3",
"stylelint": "^16.9.0"
},
diff --git a/plugins/stylelint-theme-alignment/package.json b/plugins/stylelint-theme-alignment/package.json
index 1b285fd12c9..dab297b1d40 100644
--- a/plugins/stylelint-theme-alignment/package.json
+++ b/plugins/stylelint-theme-alignment/package.json
@@ -20,7 +20,7 @@
"postcss-values-parser": "^6.0.2"
},
"peerDependencies": {
- "stylelint": ">=16.0.0"
+ "stylelint": ">=16"
},
"devDependencies": {
"stylelint": "^16.9.0"
diff --git a/postcss.config.js b/postcss.config.js
index 96e986f352b..5ef13c70f34 100644
--- a/postcss.config.js
+++ b/postcss.config.js
@@ -11,22 +11,19 @@
* governing permissions and limitations under the License.
*/
-const { join, sep, basename } = require("path");
+const { join } = require("path");
module.exports = ({
file,
- to,
- splitinatorOptions = {
- noSelectors: false,
- noFlatVariables: false,
- // @todo strip out all but the references to --system- variables
- // NOT --system- definitions, only references
- referencesOnly: false,
- },
+ skipMapping = false,
+ referencesOnly = false,
+ preserveVariables = true,
+ stripLocalSelectors = false,
resolveImports = true,
shouldCombine = false,
lint = true,
verbose = true,
+ minify = false,
additionalPlugins = {},
env = process.env.NODE_ENV ?? "development",
...options
@@ -37,25 +34,12 @@ module.exports = ({
options.map = isProduction ? false : { inline: false };
}
- const rootPath = __dirname;
- const outputFilepath = to ?? file;
- const relativePath = outputFilepath?.replace(rootPath, "");
-
- const outputFilename = outputFilepath ? basename(outputFilepath, ".css") : undefined;
- const pathParts = relativePath?.split(sep) ?? [];
-
- if (["themes", "spectrum", "express"].some(foldername => pathParts.includes(foldername)) || outputFilename === "index-theme") {
- splitinatorOptions.noSelectors = true;
- }
-
- if (outputFilename === "express" || pathParts.includes("express")) shouldCombine = true;
-
- if (outputFilename === "index-base") {
- splitinatorOptions.noFlatVariables = true;
- }
-
- if (pathParts.includes("bridge")) {
- splitinatorOptions.referencesOnly = true;
+ // If this is the legacy tokens file, update the .spectrum class to .spectrum--legacy
+ if (typeof file === "string" && file.includes("@spectrum-css/tokens-legacy")) {
+ additionalPlugins["postcss-selector-replace"] = {
+ before: [".spectrum"],
+ after: [".spectrum.spectrum--legacy"],
+ };
}
return {
@@ -68,21 +52,27 @@ module.exports = ({
/* --------------------------------------------------- */
/* ------------------- SASS-LIKE UTILITIES ----------- */
"postcss-extend": {},
- "postcss-hover-media-feature": {},
"postcss-pseudo-classes": !isProduction ? {
restrictTo: ["focus-visible", "focus-within", "hover", "active", "disabled"],
allCombinations: true,
preserveBeforeAfter: false,
prefix: "is-"
} : false,
+ "postcss-hover-media-feature": {},
+ "@spectrum-tools/postcss-rgb-mapping": {
+ colorFunctionalNotation: false,
+ },
/* --------------------------------------------------- */
/* ------------------- VARIABLE PARSING -------------- */
- "postcss-splitinator": {
- processIdentifier: (identifier) =>
- identifier === "express" ? "spectrum--express" : identifier,
- ...splitinatorOptions,
+ "@spectrum-tools/postcss-add-theming-layer": {
+ selectorPrefix: "spectrum",
+ skipMapping,
+ preserveVariables,
+ referencesOnly,
+ stripLocalSelectors,
+ debug: verbose,
},
- "postcss-combininator": shouldCombine ? {
+ "@spectrum-tools/postcss-property-rollup": shouldCombine ? {
newSelector: ".spectrum",
} : false,
...additionalPlugins,
@@ -125,12 +115,10 @@ module.exports = ({
colormin: false,
reduceIdents: false,
discardUnused: false,
- discardComments: {
- removeAll: true
- },
+ discardComments: { removeAll: true },
// @todo yarn add -DW css-declaration-sorter
cssDeclarationSorter: false, // @todo { order: "smacss" }
- normalizeWhitespace: isProduction,
+ normalizeWhitespace: minify
},
],
},
diff --git a/stylelint.config.js b/stylelint.config.js
index b5106f152f6..1da687ccd4f 100644
--- a/stylelint.config.js
+++ b/stylelint.config.js
@@ -12,7 +12,7 @@ module.exports = {
"@spectrum-tools/stylelint-no-unused-custom-properties",
"@spectrum-tools/stylelint-no-unknown-custom-properties",
"@spectrum-tools/theme-alignment",
- "stylelint-high-performance-animation",
+ // "stylelint-high-performance-animation",
],
rules: {
/** --------------------------------------------------------------
@@ -54,7 +54,11 @@ module.exports = {
except: ["first-nested"],
ignore: ["after-comment", "stylelint-commands"],
// don't require a newline before a passthrough flag
- ignoreComments: [/^@?passthroughs?/],
+ ignoreComments: [
+ /^\s*@passthroughs?/,
+ /^\s*@deprecated?/,
+ /^\s*@todo?/
+ ],
},
],
"custom-property-pattern": [/^(spectrum|mod|highcontrast|system|_)/, {}],
@@ -63,8 +67,7 @@ module.exports = {
true,
{
ignoreProperties: {
- color: ["CanvasText"],
- "forced-color-adjust": ["preserve-parent-color"],
+ "/.+/": ["CanvasText", "preserve-parent-color"],
},
},
],
@@ -137,22 +140,22 @@ module.exports = {
},
],
/** Performance */
- "plugin/no-low-performance-animation-properties": [
- true,
- { severity: "warning" },
- ],
+ // "plugin/no-low-performance-animation-properties": [
+ // true,
+ // { severity: "warning" },
+ // ],
/** --------------------------------------------------------------
* Local/custom plugins
* -------------------------------------------------------------- */
"spectrum-tools/no-missing-var": true,
+ "spectrum-tools/theme-alignment": null,
"spectrum-tools/no-unknown-custom-properties": [
true,
{
/** @note this is a list of custom properties that are allowed to be unknown */
ignoreList: [
/^--mod-/,
- /^--highcontrast-/,
/^--system-/,
/^--spectrum-picked-color$/,
],
@@ -165,7 +168,9 @@ module.exports = {
"spectrum-tools/no-unused-custom-properties": [
true,
{
- ignoreList: [/^--mod-/],
+ ignoreList: [
+ /^--mod-/,
+ ],
disableFix: true,
severity: "warning",
},
@@ -176,28 +181,40 @@ module.exports = {
* -------------------------------------------------------------- */
overrides: [
{
- files: [".storybook/assets/*.css"],
+ files: [".storybook/assets/*.css", "iframe.html*.css"],
rules: {
"custom-property-pattern": null,
"color-function-notation": null,
+ "selector-class-pattern": [
+ "^(spectrum|is-|u-|sb-)[A-Za-z0-9-]*", {
+ resolveNestedSelectors: true
+ }
+ ],
"spectrum-tools/no-unused-custom-properties": null,
"spectrum-tools/no-unknown-custom-properties": null,
+ "font-family-no-missing-generic-family-keyword": null,
},
},
{
- /* Validate that the legacy themes don't introduce any new selectors or custom properties */
- files: ["components/*/themes/spectrum.css", "components/*/themes/express.css", "tokens/**/*.css"],
+ files: ["tokens*/**/*.css(?inline)?"],
rules: {
+ "selector-class-pattern": [
+ "^(spectrum)[A-Za-z0-9-]*", {
+ resolveNestedSelectors: true
+ }
+ ],
+ "custom-property-pattern": [/^(spectrum|color|scale|system)/, {}],
+ "number-max-precision": null,
"spectrum-tools/no-unused-custom-properties": null,
"spectrum-tools/no-unknown-custom-properties": null,
}
},
{
/* Validate that the legacy themes don't introduce any new selectors or custom properties */
- files: ["components/*/themes/express.css", "!components/*/themes/spectrum.css"],
+ files: ["components/*/themes/spectrum.css", "components/*/themes/express.css", "!components/*/themes/spectrum-two.css"],
rules: {
"spectrum-tools/theme-alignment": [true, {
- baseFilename: "spectrum.css",
+ baseFilename: "spectrum-two",
}],
},
},
diff --git a/tasks/component-builder.js b/tasks/component-builder.js
index d3fca06ecca..6e914efdefb 100644
--- a/tasks/component-builder.js
+++ b/tasks/component-builder.js
@@ -26,12 +26,11 @@ require("colors");
const {
dirs,
relativePrint,
- bytesToSize,
+ writeAndReport,
getPackageFromPath,
cleanFolder,
validateComponentName,
fetchContent,
- copy,
} = require("./utilities.js");
/**
@@ -67,6 +66,7 @@ async function processCSS(
from: input,
to: output,
verbose: false,
+ shouldCombine: true,
...postCSSOptions,
};
@@ -107,36 +107,12 @@ async function processCSS(
}
const promises = [
- fsp
- .writeFile(output, formatted)
- .then(() => {
- const stats = fs.statSync(output);
- return `${"✓".green} ${relativePrint(output, { cwd }).padEnd(20, " ").yellow} ${bytesToSize(stats.size).gray}`;
- })
- .catch((err) => {
- if (!err) return;
- console.log(
- `${"✗".red} ${relativePrint(output, { cwd }).yellow} not written`,
- );
- return Promise.reject(err);
- }),
+ writeAndReport(formatted, output, { cwd }),
];
if (result.map) {
promises.push(
- fsp
- .writeFile(`${output}.map`, result.map.toString().trimStart())
- .then(() => {
- const stats = fs.statSync(output);
- return `${"✓".green} ${relativePrint(`${output}.map`, { cwd }).padEnd(20, " ").yellow} ${bytesToSize(stats.size).gray}`;
- })
- .catch((err) => {
- if (!err) return;
- console.log(
- `${"✗".red} ${relativePrint(`${output}.map`, { cwd }).yellow} not written`,
- );
- return Promise.reject(err);
- }),
+ writeAndReport(result.map.toString().trimStart(), `${output}.map`, { cwd }),
);
}
@@ -177,10 +153,6 @@ async function build({ cwd = process.cwd(), clean = false, componentName } = {})
referencesOnly: false,
preserveVariables: true,
stripLocalSelectors: false,
- }).then(async (reports) => {
- // Copy index.css to index-vars.css for backwards compat, log as deprecated
- return copy(indexOutputPath, path.join(cwd, "dist/index-vars.css"), { cwd })
- .then(r => [r, ...reports]);
}),
processCSS(
content,
@@ -189,9 +161,10 @@ async function build({ cwd = process.cwd(), clean = false, componentName } = {})
{
cwd,
clean,
- splitinatorOptions: {
- noFlatVariables: true,
- },
+ skipMapping: true,
+ referencesOnly: false,
+ preserveVariables: false,
+ stripLocalSelectors: false,
},
),
]);
@@ -235,8 +208,6 @@ async function buildThemes({ cwd = process.cwd(), clean = false } = {}) {
// Only output the new selectors with the system mappings
stripLocalSelectors: true,
theme,
- map: false,
- env: "production",
},
);
});
@@ -250,9 +221,10 @@ async function buildThemes({ cwd = process.cwd(), clean = false } = {}) {
{
cwd,
clean,
- splitinatorOptions: {
- noSelectors: true,
- },
+ skipMapping: false,
+ stripLocalSelectors: false,
+ referencesOnly: true,
+ shouldCombine: false,
map: false,
},
),
diff --git a/tasks/component-reporter.js b/tasks/component-reporter.js
index 48bdf9bc582..97c186c45e4 100644
--- a/tasks/component-reporter.js
+++ b/tasks/component-reporter.js
@@ -172,7 +172,7 @@ async function main({
const content = await fsp.readFile(sourceCSS, "utf-8");
const processed = await processCSS(content, sourceCSS, undefined, {
cwd,
- skipMapping: true,
+ skipMapping: false,
referencesOnly: false,
preserveVariables: true,
stripLocalSelectors: false,
diff --git a/tasks/utilities.js b/tasks/utilities.js
index 5868c8b2e01..e301cdda295 100644
--- a/tasks/utilities.js
+++ b/tasks/utilities.js
@@ -84,9 +84,14 @@ function getAllComponentNames() {
// Get a list of all the component names in the components directory that have a package.json file
// and a list of all the deprecated components in the storybook directory
// then combine and deduplicate the lists to get a full list of all components
+ let deprecated = [];
+ if (fs.existsSync(path.join(dirs.storybook, "deprecated"))) {
+ deprecated = fs.readdirSync(path.join(dirs.storybook, "deprecated"));
+ }
+
return [...new Set([
...fs.readdirSync(dirs.components).filter((file) => fs.existsSync(path.join(dirs.components, file, "package.json"))),
- ...fs.readdirSync(path.join(dirs.storybook, "deprecated")),
+ ...deprecated,
])];
}
@@ -183,7 +188,11 @@ async function cleanFolder({ cwd = process.cwd() } = {}) {
*/
async function fetchContent(
globs = [],
- { cwd, shouldCombine = false, ...fastGlobOptions } = {},
+ {
+ cwd,
+ shouldCombine = false,
+ ...fastGlobOptions
+ } = {},
) {
const files = await fg(globs, {
onlyFiles: true,
@@ -203,8 +212,12 @@ async function fetchContent(
// Combine the content into 1 file; @todo do this in future using CSS imports
if (shouldCombine) {
let content = "";
- fileData.forEach((dataset) => {
- if (dataset.content) content += "\n\n" + dataset.content;
+ fileData.forEach((dataset, idx) => {
+ if (dataset.content) {
+ if (idx > 0) content += "\n\n";
+ content += `/* Sourced from ${relativePrint(dataset.input, { cwd })} */\n`;
+ content += dataset.content;
+ }
});
return Promise.resolve([
@@ -244,14 +257,35 @@ async function copy(from, to, { cwd, isDeprecated = true } = {}) {
});
}
+ // Check if the input is a file or a directory
+ const stats = fs.statSync(from);
+ if (stats.isDirectory()) {
+ console.log(`Copying directory ${from} to ${to}`);
+ return fsp
+ .cp(from, to, { recursive: true, force: true })
+ .then(async () => {
+ // Determine the number of files and the size of the copied files
+ const stats = await fg(path.join(cwd, "components") + "/**/*", { onlyFiles: true, stats: true });
+ return `${"✓".green} ${relativePrint(from, { cwd }).yellow} -> ${relativePrint(to, { cwd }).padEnd(20, " ").yellow} ${`copied ${stats.length >= 0 ? stats.length : "0"} files (${bytesToSize(stats.reduce((acc, details) => acc + details.stats.size, 0))})`.gray}`;
+ })
+ .catch((err) => {
+ if (!err) return;
+ console.log(
+ `${"✗".red} ${relativePrint(from, { cwd }).yellow} could not be copied to ${relativePrint(to, { cwd }).yellow}`,
+ );
+ return Promise.reject(err);
+ });
+ }
+
const content = await fsp.readFile(from, { encoding: "utf-8" });
if (!content) return;
+
/** @todo add support for injecting a deprecation notice as a comment after the copyright */
return fsp
.writeFile(to, content, { encoding: "utf-8" })
.then(
() =>
- `${"✓".green} ${relativePrint(to, { cwd }).padEnd(20, " ").yellow} ${isDeprecated ? "-- deprecated --".gray : ""}`,
+ `${"✓".green} ${relativePrint(from, { cwd }).yellow} -> ${relativePrint(to, { cwd }).padEnd(20, " ").yellow} ${(isDeprecated ? "-- deprecated --" : `copied ${stats.size ? `(${bytesToSize(stats.size)})` : ""}`).gray}`,
)
.catch((err) => {
if (!err) return;
diff --git a/tokens/CHANGELOG.md b/tokens/CHANGELOG.md
index 325fce160f0..cbc914a1149 100644
--- a/tokens/CHANGELOG.md
+++ b/tokens/CHANGELOG.md
@@ -1,5 +1,254 @@
# Change Log
+## 15.0.0-s2-foundations.31
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`79f2ae5`](https://github.com/adobe/spectrum-css/commit/79f2ae585464b2eca63232b37017bd1f96a7d970) Thanks [@pfulton](https://github.com/pfulton)! - Bug fix to retain border color values in S1 for combobox [SWC-582]
+
+## 15.0.0-s2-foundations.30
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`da9a90a`](https://github.com/adobe/spectrum-css/commit/da9a90adb1b46abc7f3078d2b7cfcf84f7a41026) Thanks [@pfulton](https://github.com/pfulton)! - Update background and border color for picker in Spectrum 2 theme [SWC-575]
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`513256c`](https://github.com/adobe/spectrum-css/commit/513256c7c7587ac6a3741a819a41ab321d1cd965) Thanks [@pfulton](https://github.com/pfulton)! - Update border and background color values for Combobox states [SWC-582]
+
+## 15.0.0-s2-foundations.29
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`f6ad55e`](https://github.com/adobe/spectrum-css/commit/f6ad55eea019f2d6c583a71b6652995a1c7c7a55) Thanks [@pfulton](https://github.com/pfulton)! - feat: s2 foundations non-gray-800 colors update
+
+ | Property name | Context | Old value | Updated value |
+ | --------------------------- | ------- | ------------------ | ------------------ |
+ | `--spectrum-blue-800` | dark | rgb(69, 110, 254) | rgb(64, 105, 253) |
+ | `--spectrum-red-800` | dark | rgb(230, 54, 35) | rgb(223, 52, 34) |
+ | `--spectrum-orange-800` | dark | rgb(205, 86, 0) | rgb(199, 82, 0) |
+ | `--spectrum-yellow-800` | dark | rgb(169, 110, 0) | rgb(164, 106, 0) |
+ | `--spectrum-chartreuse-800` | dark | rgb(109, 131, 0) | rgb(106, 127, 0) |
+ | `--spectrum-celery-800` | dark | rgb(69, 138, 19) | rgb(66, 134, 18) |
+ | `--spectrum-green-800` | dark | rgb(6, 140, 82) | rgb(6, 136, 80) |
+ | `--spectrum-seafoam-800` | dark | rgb(8, 138, 116) | rgb(8, 134, 112) |
+ | `--spectrum-cyan-800` | dark | rgb(15, 128, 194) | rgb(13, 125, 186) |
+ | `--spectrum-indigo-800` | dark | rgb(119, 97, 252) | rgb(116, 91, 252) |
+ | `--spectrum-purple-800` | dark | rgb(161, 84, 229) | rgb(157, 78, 228) |
+ | `--spectrum-fuchsia-800` | dark | rgb(192, 64, 212) | rgb(186, 60, 206) |
+ | `--spectrum-magenta-800` | dark | rgb(231, 41, 105) | rgb(224, 38, 101) |
+ | `--spectrum-pink-800` | dark | rgb(220, 47, 156) | rgb(213, 45, 151) |
+ | `--spectrum-turqoise-800` | dark | rgb(9, 135, 147) | rgb(9, 131, 142) |
+ | `--spectrum-brown-800` | dark | rgb(148, 118, 73) | rgb(143, 114, 69) |
+ | `--spectrum-silver-800` | dark | rgb(123, 123, 123) | rgb(118, 118, 118) |
+ | `--spectrum-cinnamon-800` | dark | rgb(179, 103, 64) | rgb(176, 98, 59) |
+
+## 15.0.0-s2-foundations.28
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`794904f`](https://github.com/adobe/spectrum-css/commit/794904fbbd8d9b817cf5917c457c5290a217ea91) Thanks [@pfulton](https://github.com/pfulton)! - Add a stylelint ignore for typography case
+
+## 15.0.0-s2-foundations.27
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`aedc167`](https://github.com/adobe/spectrum-css/commit/aedc167f86d810f54dea1b2aacb191e718ac9598) Thanks [@pfulton](https://github.com/pfulton)! - Border color for Swatch on light/dark mode switched to use gray instead of black so it responds to theme.
+
+## 15.0.0-s2-foundations.26
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57e187f`](https://github.com/adobe/spectrum-css/commit/57e187f5a52e9782e8573defc825cef0399b99e4) Thanks [@pfulton](https://github.com/pfulton)! - Minor bug fixes for datepicker and radio; tokens released for alignment
+
+## 15.0.0-s2-foundations.25
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`9c6561b`](https://github.com/adobe/spectrum-css/commit/9c6561b38624307da9bca7499452c3cb8ea2095e) Thanks [@pfulton](https://github.com/pfulton)! - Bring in the latest S2 foundations release including updated corner rounding approach, colors, and icon spacing. Remapped corner rounding values for the -75 token to a static 2px value for spectrum themes.
+
+## 15.0.0-s2-foundations.24
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`70b8890`](https://github.com/adobe/spectrum-css/commit/70b889026174fa552cb8f2e7f205b923bf0b6e55) Thanks [@pfulton](https://github.com/pfulton)! - Updated tokens build with latest from recent bug fixes to components
+
+## 15.0.0-s2-foundations.23
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`1da2494`](https://github.com/adobe/spectrum-css/commit/1da249479a0014287a6124dc0f900ee99ab6b946) Thanks [@pfulton](https://github.com/pfulton)! - added contextual-help-content-spacing custom property definition
+
+## 15.0.0-s2-foundations.22
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`57709c0`](https://github.com/adobe/spectrum-css/commit/57709c09f7cfddb67125fa96691ae869ff8840ca) Thanks [@pfulton](https://github.com/pfulton)! - Pull in the corner radii updates for S2
+
+## 15.0.0-s2-foundations.21
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`11a0032`](https://github.com/adobe/spectrum-css/commit/11a00323addbf28b9430d27d9cbc5f30bc851b65) Thanks [@pfulton](https://github.com/pfulton)! - Bug fixes to S1 & Express theming across all components
+
+## 15.0.0-s2-foundations.20
+
+### Patch Changes
+
+- [#3049](https://github.com/adobe/spectrum-css/pull/3049) [`db528ce`](https://github.com/adobe/spectrum-css/commit/db528ce0a6f7d817e6124604014faf9f4accfc1e) Thanks [@TarunAdobe](https://github.com/TarunAdobe)! - updated content color for button primary variant and fixes swc-342
+
+## 15.0.0-s2-foundations.19
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6582314`](https://github.com/adobe/spectrum-css/commit/65823145e139caa56f5e73e8a36e73aff37672de) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to the rgb mapping plugin brought back rgb alias's to tokens output
+
+## 15.0.0-s2-foundations.18
+
+### Patch Changes
+
+- [#3036](https://github.com/adobe/spectrum-css/pull/3036) [`96686a5`](https://github.com/adobe/spectrum-css/commit/96686a56e2532bc747985b40686783ddd9b98221) Thanks [@rise-erpelding](https://github.com/rise-erpelding)! - define undefined rgb tokens
+
+## 15.0.0-s2-foundations.17
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`1a36744`](https://github.com/adobe/spectrum-css/commit/1a367440d81e87e241c19a6c3e691faa7c0669aa) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-248]: Selected, static black actionbutton content color should be white, not black (updates tokens)
+
+## 15.0.0-s2-foundations.16
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`fa60db9`](https://github.com/adobe/spectrum-css/commit/fa60db9159edb6b111e4e6c30b05c828224b81e4) Thanks [@pfulton](https://github.com/pfulton)! - Adds `--spectrum-gray-800-rgb` custom token for use in well component. The custom token values reflect the stripped RGB values for light and dark modes of `--spectrum-gray-800` values for S2.
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`1d1cbfc`](https://github.com/adobe/spectrum-css/commit/1d1cbfcc80f8a78784edf9778c0f366be6b0efe6) Thanks [@pfulton](https://github.com/pfulton)! - Adds `--spectrum-blue-800-rgb` for light and `--spectrum-blue-900-rgb` for dark with s2 values to custom tokens to define stripped rgb token used in dropzone dragged background.
+
+## 15.0.0-s2-foundations.15
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`58a89ea`](https://github.com/adobe/spectrum-css/commit/58a89ea464c387111511271a5f5afce044f11042) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-237] accordion item border height set to 0 for non-first-child elements
+
+## 15.0.0-s2-foundations.14
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-238] t-shirt-based calc moved out of theme into base css
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`975b4fb`](https://github.com/adobe/spectrum-css/commit/975b4fb631d7203e772c2e879fbec610f933286f) Thanks [@pfulton](https://github.com/pfulton)! - [SWC-235] meter properties moved out of theme and into index.css
+
+## 15.0.0-s2-foundations.13
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5546ec6`](https://github.com/adobe/spectrum-css/commit/5546ec6a508eb249ede78031db22ddf5972e5c05) Thanks [@pfulton](https://github.com/pfulton)! - - Accordion: Flatten sizing variables in theme layer
+ - ActionButton: Fix typo in variable name "\*-defaul-selectedt"
+ - Move out rtl logical transform from theme to index.css for: calendar, pagination, treeview
+
+## 15.0.0-s2-foundations.12
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b0862e1`](https://github.com/adobe/spectrum-css/commit/b0862e1a5b95c19443fd919c6baf4b4ea9ba79c1) Thanks [@pfulton](https://github.com/pfulton)! - Updated build to set cssnano to discardUnused: false
+
+## 15.0.0-s2-foundations.11
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4265d20`](https://github.com/adobe/spectrum-css/commit/4265d208b6eb2db923e558fca100b4532b964e45) Thanks [@pfulton](https://github.com/pfulton)! - Fix unsupported variables created in components/actionbutton/themes/spectrum.css
+
+## 15.0.0-s2-foundations.10
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0844aad`](https://github.com/adobe/spectrum-css/commit/0844aadba2fefb844a66370ff6e9b4704f6c1543) Thanks [@pfulton](https://github.com/pfulton)! - Fixes to index.css imports to ensure appropriate system mappings get loaded
+
+## 15.0.0-s2-foundations.9
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`84c8721`](https://github.com/adobe/spectrum-css/commit/84c87212ccb37c887225eaff28e84d9f8e608e09) Thanks [@pfulton](https://github.com/pfulton)! - Push out the latest release to the components
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`0a0dace`](https://github.com/adobe/spectrum-css/commit/0a0dacec163234bc73961ef17826cdc33765d9df) Thanks [@pfulton](https://github.com/pfulton)! - Across the board version update to latest build system state
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`681ba47`](https://github.com/adobe/spectrum-css/commit/681ba478c1259d0bbb183670f3188538ec3bee1d) Thanks [@pfulton](https://github.com/pfulton)! - Doing a widespread release on all packages to ensure the latest compiled CSS is published.
+
+## 15.0.0-s2-foundations.8
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`2633985`](https://github.com/adobe/spectrum-css/commit/2633985775ef5a8fad929e275e55e99b75b10959) Thanks [@pfulton](https://github.com/pfulton)! - Update system property tooling (splitinator) to leverage the selector parser
+
+## 15.0.0-s2-foundations.7
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`24a51cc`](https://github.com/adobe/spectrum-css/commit/24a51cc3b682a06a5133c4f5bf72c11a2337ee22) Thanks [@pfulton](https://github.com/pfulton)! - Revert themes asset naming to simplify code review; bug fixes in custom property loading from theme assets
+
+## 15.0.0-s2-foundations.6
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`130e137`](https://github.com/adobe/spectrum-css/commit/130e1372b223641efe0a3a23c83ff1d01a70bf1d) Thanks [@pfulton](https://github.com/pfulton)! - This update pre-resolves the bundler assets to make them easier to serve as a single entry point.
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`4d88749`](https://github.com/adobe/spectrum-css/commit/4d887492f98f1f505535680bfb0baa06d24460a0) Thanks [@pfulton](https://github.com/pfulton)! - Inject missing tokens into theme files and adjust logic in the splitinator tool to replace nested variable references to the new system mappings
+
+## 15.0.0-s2-foundations.5
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`de1d39f`](https://github.com/adobe/spectrum-css/commit/de1d39fdedc297032735acf97d0f87b6f2e45f50) Thanks [@pfulton](https://github.com/pfulton)! - Fix to how the system mapped custom property names are generated; adding support for pseudo functions, combinators, and complex selectors
+
+## 15.0.0-s2-foundations.4
+
+### Patch Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`485128c`](https://github.com/adobe/spectrum-css/commit/485128ca7947acb064f31e4118044a3f7e3f88b5) Thanks [@pfulton](https://github.com/pfulton)! - Corrects a faulty regex that was negatively affecting compilation of custom properties
+
+## 15.0.0-s2-foundations.3
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`6b12d37`](https://github.com/adobe/spectrum-css/commit/6b12d375c12b36f387b331fff42b24bc7c3845df) Thanks [@pfulton](https://github.com/pfulton)! - fixes a compilation issue in the tokens dist artifacts
+
+## 15.0.0-s2-foundations.2
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`b00388b`](https://github.com/adobe/spectrum-css/commit/b00388b3ab026989f261f7bcdd77699521f45d58) Thanks [@pfulton](https://github.com/pfulton)! - Preserves `themes` folder in `dist` artifacts for easier downstream consumption
+
+## 15.0.0-s2-foundations.1
+
+### Minor Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`39bbd6c`](https://github.com/adobe/spectrum-css/commit/39bbd6cbb7eac7c71515ef2417554cb115eba00e) Thanks [@pfulton](https://github.com/pfulton)! - Fixes an issue where vars.css was not being populated with the correct values
+
+## 15.0.0-s2-foundations.0
+
+### Major Changes
+
+- [#2786](https://github.com/adobe/spectrum-css/pull/2786) [`5e9953d`](https://github.com/adobe/spectrum-css/commit/5e9953d96806a5d1e769a343cd538e4af81916ce) Thanks [@pfulton](https://github.com/pfulton)! - S2 colors + grays foundation
+
+## 14.6.0
+
+### Minor Changes
+
+- [#3266](https://github.com/adobe/spectrum-css/pull/3266) [`4b818e1`](https://github.com/adobe/spectrum-css/commit/4b818e1062202e404de1350938ce2a19146aa0b0) Thanks [@5t3ph](https://github.com/5t3ph)! - For Coach indicator, marks "light" and "dark" variants for deprecation going into S2, and adds "static white" per direction from design.
+
+## 14.5.0
+
+### Minor Changes
+
+- [#3253](https://github.com/adobe/spectrum-css/pull/3253) [`47f23a7`](https://github.com/adobe/spectrum-css/commit/47f23a762a5c84ffe3c82e7e1b0c4c9d5dc60f86) Thanks [@castastrophe](https://github.com/castastrophe)! - Add component-level token overrides from card, contextualhelp, swatch, and typography to ensure valid theme toggling.
+
+ Light/dark/darkest custom overrides added: `--spectrum-card-selected-background-color-rgb`, `--spectrum-swatch-border-color`, `--spectrum-swatch-border-color-light`
+ Medium/large custom overrides added: `--spectrum-contextual-help-content-spacing`
+ Global custom overrides added: `--spectrum-font-family-ar`, `--spectrum-font-family-he`, `--spectrum-font-family`, `--spectrum-font-style`, `--spectrum-font-size`
+
## 14.6.0
### Minor Changes
diff --git a/tokens/README.md b/tokens/README.md
index 1fea9503458..9bb1c73be0b 100644
--- a/tokens/README.md
+++ b/tokens/README.md
@@ -4,24 +4,112 @@
This package uses StyleDictionary to build Spectrum core tokens for CSS.
-## Output
+## Glossary
-The output is concatenated into a single `dist/index.css` for use in Spectrum CSS. This entire file should be imported, and the relevant classes should be toggled to swap out core tokens.
+- **Core tokens**: The base set of design data that define the system. These are the key-value pairs that are used to build the design system and are sourced from the design team via @adobe/spectrum-tokens. You can find the relevant versioning information in the `package.json` file.
+- **Custom properties**: These are CSS variables generated from the core tokens using the StyleDictionary build process. These are used in the CSS base styles to apply the design system to the components in a way that can respond to changes in color, scale, or context.
+- **Context**: This terms refers to the design language an application wants to use. Contexts previously supported were Spectrum and Express. The current system supports only Spectrum but has committed to offering backward compatibility through at least December 2024.
+- **Color**: This term refers to the color mode. The current system supports light and dark only. The lightest and darkest color modes were deprecated in the final version for **14.x**.
+- **Scale**: This term refers to the scale of the design system. The current system supports medium and large scales. The large scale is used for mobile applications and the medium scale is used for desktop applications.
+- **System variables**: These are randomly generated variable names (prefixed with `--system`) that are used to map the component-level class styles to the core tokens from the desired context. These are generated by the `postcss-add-theming-layer` plugin as part of the build and should not be relied upon for naming consistency across releases. **Do not attempt to overwrite or extend these variables in your application.**
-On the `` element, start with `.spectrum`, add in `.spectrum--light`, then `.spectrum--medium`. To switch to Express, add `.spectrum--express`.
+## Backwards compatibility for Spectrum 1 and Express
+
+Though the token data in this package focus on only the current context (Spectrum 2), our team is committed to offering backwards compatibility for Spectrum 1 and Express through at least December of 2024.
+
+To this end, we have included the component-level mappings for:
+
+- Spectrum 1: `dist/css/components/spectrum`
+- Express: `dist/css/components/express`
+- Spectrum 2: `dist/css/components/spectrum-two`
+
+Consumers should load only the mappings for the components they are using in their application. This will ensure that the component-level mappings are aligned with the base CSS for each component. Spectrum 1 and Express component mappings should be loaded with the `global-vars.css` and appropriate color and scale assets from the last version of the tokens package: **v14.x**. Loading the Spectrum 1 or Express component-level mappings with the Spectrum 2 global variables will result in incorrect values being applied to the components and will break the desired design for the component.
+
+## Usage
+
+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`.
+
+For additional guidance on which assets to load, see the architecture section below.
+
+## Architecture
+
+All compiled assets are shipped from the `dist` folder. Most of the assets are available in the `dist/css` folder. The `dist/css/components` folder contains the component-level mappings for Spectrum 1, Express, and Spectrum 2. These assets should be loaded with the appropriate global variables and color and scale assets from the last version of the tokens package: **v14.x**.
+
+### Global core tokens
+
+- `global-vars.css`: Shared global, unchanging tokens.
+- `light-vars.css`: Tokens specific to the light color.
+- `dark-vars.css`: Tokens specific to the dark color.
+- `medium-vars.css`: Tokens specific to the medium (desktop) scale.
+- `large-vars.css`: Tokens specific to the large (mobile) scale.
+- `index.css`: The above files rolled up into 1 css file for convenience; best for use in a vanilla HTML application.
+
+### Components
+
+Assets in this folder must be loaded together in order for the randomly generated system variables to line up.
+
+#### `bridge`
+
+- `index.css`: everything in the folder rolled up into 1 file.
+- `.css`: mappings from local component classes (i.e. `.spectrum-ActionBar.spectrum-ActionBar--quiet`) to system variables.
+
+These assets must be loaded with one of the matching `.css` files for the desired context, i.e., `dist/css/components/express/.css` or `dist/css/components/spectrum/.css`
+
+#### `spectrum-two`
+
+- `index.css`: Everything in the folder rolled up into 1 file
+- `.css`:
+ - All properties in these assets are attached to a specific root-level class: `.spectrum`.
+ - System variables are mapped to global token variables or custom values (i.e. `transparent` or `10px`, values not present in the token system).
+
+These assets must be loaded with the global token definitions found in this package at the following paths: - `dist/css/global-vars.css` - `dist/css/*-vars.css`: load only those assets relevant to the application context
+
+#### `express`
+
+Same contents as the `spectrum-two` folder but instead of `.spectrum`, properties are attached to `.spectrum--express`.
+
+**Note**: Do not load these assets with the `dist/css/global-vars.css` or `dist/css/*-vars.css` files. Instead, load global token definitions from the last version of the tokens package: **v14.x**: i.e.,
+
+- **@spectrum-css/tokens@v14.x**: `dist/css/global-vars.css`
+- **@spectrum-css/tokens@v14.x**: `dist/css/*-vars.css`
+
+When loading express styles, the following assets must be loaded last or be altered to use higher specificity:
+
+- **@spectrum-css/tokens@v14.x**: `dist/css/express/global-vars.css`
+- **@spectrum-css/tokens@v14.x**: `dist/css/express/*-vars.css`
+
+#### `spectrum`
+
+Same contents as the `spectrum-two` folder but instead of `.spectrum`, properties are attached to `.spectrum--legacy`.
+
+**Note**: Do not load these assets with the `dist/css/global-vars.css` or `dist/css/*-vars.css` files. Instead, load global token definitions from the last version of the tokens package: **v14.x**: i.e.,
+
+- **@spectrum-css/tokens@v14.x**: `dist/css/global-vars.css`
+- **@spectrum-css/tokens@v14.x**: `dist/css/*-vars.css`
+
+When loading legacy spectrum styles, the following assets must be loaded last or be altered to use higher specificity:
+
+- **@spectrum-css/tokens@v14.x**: `dist/css/spectrum/global-vars.css`
+- **@spectrum-css/tokens@v14.x**: `dist/css/spectrum/*-vars.css`
## Overrides and additions
-Overrides and additions to core tokens can be added to `custom.css`.
+Overrides and additions to core tokens can be added to `custom/*-vars.css`.
+
+Ensure that you add new values to the appropriate color, or scale file:
+
+- `global-vars.css` - Shared global, unchanging tokens
+- `light-vars.css` - Tokens specific to the light color
+- `dark-vars.css` - Tokens specific to the dark color
+- `medium-vars.css` - Tokens specific to the medium (desktop) scale
+- `large-vars.css` - Tokens specific to the large (mobile) scale
+
+Values added here will be copied over and concatenated with the custom properties being generated from the core tokens by StyleDictionary.
+
+## Breaking changes from v14 to v15
-Ensure that you correctly scope any added tokens:
+There are no additional contextual folders (i.e., `dist/css/spectrum/`) because this package supports no other theming systems outside of the component token mappings. All global tokens are found in the `dist/css` folder.
-- `.spectrum` - Global, unchanging tokens or tokens specific to the Spectrum flavor
-- `.spectrum--express` - Tokens specific to the Express flavor
-- `.spectrum--lightest` - Tokens specific to the light color stop (soon to be deprecated)
-- `.spectrum--light` - Tokens specific to the light color stop
-- `.spectrum--dark` - Tokens specific to the dark color stop
-- `.spectrum--darkest` - Tokens specific to the darkest color stop
-- `.spectrum--medium` - Tokens specific to the medium (desktop) scale
-- `.spectrum--large` - Tokens specific to the large (mobile) scale
-- `.spectrum--express.spectrum--*` - Tokens specific to the Express flavor for any of the above color stops and scales
+For more notes on how the token data has changed, see the [@adobe/spectrum-tokens](https://github.com/adobe/spectrum-tokens/releases) release documentation.
diff --git a/tokens/custom-express/custom-dark-vars.css b/tokens/custom-express/custom-dark-vars.css
deleted file mode 100644
index 25accff5f6f..00000000000
--- a/tokens/custom-express/custom-dark-vars.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.
- */
-
-/* This file contains overrides and additions to core tokens */
-
-.spectrum--express.spectrum--dark {
- /* Drop Zone background color rgb */
- --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-900-rgb); /* var(--spectrum-accent-color-900);*/
- --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05);
-
- --spectrum-assetcard-border-color-selected: var(--spectrum-indigo-700);
- --spectrum-assetcard-border-color-selected-hover: var(--spectrum-indigo-700);
- --spectrum-assetcard-border-color-selected-down: var(--spectrum-indigo-800);
- --spectrum-assetcard-selectionindicator-background-color-ordered: var(--spectrum-indigo-700);
-}
diff --git a/tokens/custom-express/custom-darkest-vars.css b/tokens/custom-express/custom-darkest-vars.css
deleted file mode 100644
index 36ef601d70a..00000000000
--- a/tokens/custom-express/custom-darkest-vars.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.
- */
-
-/* This file contains overrides and additions to core tokens */
-
-.spectrum--express.spectrum--darkest {
- /* Drop Zone background color rgb */
- --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-900-rgb); /* var(--spectrum-accent-color-900);*/
- --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05);
-
- --spectrum-assetcard-border-color-selected: var(--spectrum-indigo-700);
- --spectrum-assetcard-border-color-selected-hover: var(--spectrum-indigo-700);
- --spectrum-assetcard-border-color-selected-down: var(--spectrum-indigo-800);
- --spectrum-assetcard-selectionindicator-background-color-ordered: var(--spectrum-indigo-700);
-}
diff --git a/tokens/custom-express/custom-large-vars.css b/tokens/custom-express/custom-large-vars.css
deleted file mode 100644
index 7eb1e1b90c8..00000000000
--- a/tokens/custom-express/custom-large-vars.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.
- */
-
-/* This file contains overrides and additions to core tokens */
-
-.spectrum--express.spectrum--large {
- --spectrum-colorwheel-path: "M 118 118 m -118 0 a 118 118 0 1 0 236 0 a 118 118 0 1 0 -236 0.2 M 118 118 m -92 0 a 92 92 0 1 0 184 0 a 92 92 0 1 0 -184 0";
- --spectrum-colorwheel-path-borders: "M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0";
-
- --spectrum-dialog-confirm-border-radius: 8px;
-
- --spectrum-dial-border-radius: 15px;
-
- --spectrum-assetcard-focus-ring-border-radius: 12px;
-}
diff --git a/tokens/custom-express/custom-light-vars.css b/tokens/custom-express/custom-light-vars.css
deleted file mode 100644
index b82ab862f49..00000000000
--- a/tokens/custom-express/custom-light-vars.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.
- */
-
-/* This file contains overrides and additions to core tokens */
-
-.spectrum--express.spectrum--light,
-.spectrum--express.spectrum--lightest {
- /* Drop Zone background color rgb */
- --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-800-rgb); /* var(--spectrum-accent-color-800);*/
- --spectrum-well-border-color: rgba(var(--spectrum-black-rgb), 0.05);
-
- --spectrum-assetcard-border-color-selected: var(--spectrum-indigo-900);
- --spectrum-assetcard-border-color-selected-hover: var(--spectrum-indigo-900);
- --spectrum-assetcard-border-color-selected-down: var(--spectrum-indigo-1000);
- --spectrum-assetcard-selectionindicator-background-color-ordered: var(--spectrum-indigo-900);
-}
diff --git a/tokens/custom-spectrum/custom-darkest-vars.css b/tokens/custom-spectrum/custom-darkest-vars.css
deleted file mode 100644
index 54278af3c68..00000000000
--- a/tokens/custom-spectrum/custom-darkest-vars.css
+++ /dev/null
@@ -1,74 +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.
- */
-
-/* This file contains overrides and additions to core tokens */
-
-.spectrum--darkest {
- --spectrum-menu-item-background-color-default: rgba(255, 255, 255, 0); /* --spectrum-gray-900 */
- --spectrum-menu-item-background-color-hover: var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-down: var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-key-focus: var(--spectrum-transparent-white-200);
-
- /* Drop Zone background color rgb */
- --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-900-rgb); /* var(--spectrum-accent-color-900);*/
-
- /* Drop Indicator color rgb */
- --spectrum-dropindicator-color: var(--spectrum-blue-700);
-
- --spectrum-calendar-day-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.2);
- --spectrum-calendar-day-background-color-hover: rgba(var(--spectrum-white-rgb), 0.08);
- --spectrum-calendar-day-today-background-color-selected-hover: rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-calendar-day-background-color-selected-hover: rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-calendar-day-background-color-down: rgba(var(--spectrum-white-rgb), 0.15);
- --spectrum-calendar-day-background-color-cap-selected: rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-calendar-day-background-color-key-focus: rgba(var(--spectrum-white-rgb), 0.08);
- --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-700);
-
- --spectrum-card-selected-background-color-rgb: var(--spectrum-blue-600-rgb);
-
- --spectrum-badge-label-icon-color-primary: var(--spectrum-black);
-
- --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-700);
- --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900);
- --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-50);
-
- --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05);
-
- --spectrum-steplist-current-marker-color-key-focus: var(--spectrum-blue-700);
-
- --spectrum-treeview-item-background-color-quiet-selected: rgba(var(--spectrum-gray-900-rgb), 0.08);
- --spectrum-treeview-item-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.2);
-
- --spectrum-logic-button-and-background-color: var(--spectrum-blue-800);
- --spectrum-logic-button-and-border-color: var(--spectrum-blue-800);
- --spectrum-logic-button-and-background-color-hover: var(--spectrum-blue-1000);
- --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1000);
-
- --spectrum-logic-button-or-background-color: var(--spectrum-magenta-700);
- --spectrum-logic-button-or-border-color: var(--spectrum-magenta-700);
- --spectrum-logic-button-or-background-color-hover: var(--spectrum-magenta-900);
- --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-900);
-
- --spectrum-assetcard-border-color-selected: var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-900);
- --spectrum-assetcard-selectionindicator-background-color-ordered: var(--spectrum-blue-800);
- --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-700);
-
- --spectrum-assetlist-item-background-color-selected-hover: rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-assetlist-item-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.2);
- --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-700);
-
- --spectrum-swatch-border-color: rgba(255, 255, 255, 51%);
- --spectrum-swatch-border-color-light: rgba(255, 255, 255, 20%);
-}
diff --git a/tokens/custom-spectrum/custom-dark-vars.css b/tokens/custom/dark-vars.css
similarity index 80%
rename from tokens/custom-spectrum/custom-dark-vars.css
rename to tokens/custom/dark-vars.css
index 295917dab13..72dd46113a0 100644
--- a/tokens/custom-spectrum/custom-dark-vars.css
+++ b/tokens/custom/dark-vars.css
@@ -14,16 +14,21 @@
/* This file contains overrides and additions to core tokens */
.spectrum--dark {
- --spectrum-menu-item-background-color-default: rgba(255, 255, 255, 0); /* --spectrum-gray-900 */
- --spectrum-menu-item-background-color-hover: var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-down: var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-key-focus: var(--spectrum-transparent-white-200);
+ /* stylelint-disable-next-line custom-property-pattern -- context identification */
+ --color-scheme: dark;
- /* Drop Zone background color rgb */
- --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-900-rgb); /* var(--spectrum-accent-color-900);*/
+ /** COMPONENT-SPECIFIC OVERRIDES **/
+ --spectrum-assetcard-border-color-selected: var(--spectrum-blue-800);
+ --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-800);
+ --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-900);
+ --spectrum-assetcard-selectionindicator-background-color-ordered: var(--spectrum-blue-800);
+ --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-700);
- /* Drop Indicator color rgb */
- --spectrum-dropindicator-color: var(--spectrum-blue-700);
+ --spectrum-assetlist-item-background-color-selected-hover: rgba(var(--spectrum-blue-800-rgb), 0.25);
+ --spectrum-assetlist-item-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.15);
+ --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-700);
+
+ --spectrum-badge-label-icon-color-primary: var(--spectrum-black);
--spectrum-calendar-day-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.15);
--spectrum-calendar-day-background-color-hover: rgba(var(--spectrum-white-rgb), 0.07);
@@ -36,18 +41,11 @@
--spectrum-card-selected-background-color-rgb: var(--spectrum-blue-500-rgb);
- --spectrum-badge-label-icon-color-primary: var(--spectrum-black);
-
--spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-700);
- --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900);
- --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-50);
-
- --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05);
- --spectrum-steplist-current-marker-color-key-focus: var(--spectrum-blue-700);
+ --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-900-rgb); /* var(--spectrum-accent-color-900); */
- --spectrum-treeview-item-background-color-quiet-selected: rgba(var(--spectrum-gray-900-rgb), 0.07);
- --spectrum-treeview-item-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.15);
+ --spectrum-dropindicator-color: var(--spectrum-blue-700);
--spectrum-logic-button-and-background-color: var(--spectrum-blue-800);
--spectrum-logic-button-and-border-color: var(--spectrum-blue-800);
@@ -59,16 +57,12 @@
--spectrum-logic-button-or-background-color-hover: var(--spectrum-magenta-900);
--spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-900);
- --spectrum-assetcard-border-color-selected: var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-900);
- --spectrum-assetcard-selectionindicator-background-color-ordered: var(--spectrum-blue-800);
- --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-700);
+ --spectrum-steplist-current-marker-color-key-focus: var(--spectrum-blue-700);
- --spectrum-assetlist-item-background-color-selected-hover: rgba(var(--spectrum-blue-800-rgb), 0.25);
- --spectrum-assetlist-item-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.15);
- --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-700);
+ --spectrum-swatch-border-color: rgb(255 255 255 / 51%);
+ --spectrum-swatch-border-color-light: rgb(255 255 255 / 20%);
+
+ --spectrum-treeview-item-background-color-quiet-selected: rgba(var(--spectrum-gray-900-rgb), 0.07);
+ --spectrum-treeview-item-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.15);
- --spectrum-swatch-border-color: rgba(255, 255, 255, 51%);
- --spectrum-swatch-border-color-light: rgba(255, 255, 255, 20%);
}
diff --git a/tokens/custom-spectrum/custom-vars.css b/tokens/custom/global-vars.css
similarity index 82%
rename from tokens/custom-spectrum/custom-vars.css
rename to tokens/custom/global-vars.css
index 70a2db63f6d..2e1313e6215 100644
--- a/tokens/custom-spectrum/custom-vars.css
+++ b/tokens/custom/global-vars.css
@@ -14,7 +14,7 @@
/* This file contains overrides and additions to core tokens */
.spectrum {
--system: spectrum;
- --spectrum-animation-linear: cubic-bezier(0, 0, 1, 1);
+
--spectrum-animation-duration-0: 0ms;
--spectrum-animation-duration-100: 130ms;
--spectrum-animation-duration-200: 160ms;
@@ -29,11 +29,15 @@
--spectrum-animation-duration-2000: 1000ms;
--spectrum-animation-duration-4000: 2000ms;
--spectrum-animation-duration-6000: 3000ms;
+
+ --spectrum-animation-linear: cubic-bezier(0, 0, 1, 1);
+
--spectrum-animation-ease-in-out: cubic-bezier(0.45, 0, 0.4, 1);
--spectrum-animation-ease-in: cubic-bezier(0.5, 0, 1, 1);
--spectrum-animation-ease-out: cubic-bezier(0, 0, 0.4, 1);
--spectrum-animation-ease-linear: cubic-bezier(0, 0, 1, 1);
+ /* stylelint-disable value-keyword-case -- typography names should use their appropriate cases */
--spectrum-sans-font-family-stack: adobe-clean, var(--spectrum-sans-serif-font-family), "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
--spectrum-sans-serif-font: var(--spectrum-sans-font-family-stack);
@@ -42,8 +46,9 @@
--spectrum-code-font-family-stack: "Source Code Pro", Monaco, monospace;
- --spectrum-font-family-ar: myriad-arabic, adobe-clean, "Source Sans Pro", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
- --spectrum-font-family-he: myriad-hebrew, adobe-clean, "Source Sans Pro", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
+ --spectrum-font-family-ar: myriad-arabic, adobe-clean, "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
+ --spectrum-font-family-he: myriad-hebrew, adobe-clean, "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
+ /* stylelint-enable value-keyword-case */
--spectrum-font-family: var(--spectrum-sans-font-family-stack);
--spectrum-font-style: var(--spectrum-default-font-style);
@@ -52,9 +57,7 @@
--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);
-
- --spectrum-coach-indicator-ring-static-white-color: var(--spectrum-white);
+ /* 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);
}
diff --git a/tokens/custom-spectrum/custom-large-vars.css b/tokens/custom/large-vars.css
similarity index 96%
rename from tokens/custom-spectrum/custom-large-vars.css
rename to tokens/custom/large-vars.css
index d27039667c7..08b3d68561f 100644
--- a/tokens/custom-spectrum/custom-large-vars.css
+++ b/tokens/custom/large-vars.css
@@ -14,33 +14,22 @@
/* This file contains overrides and additions to core tokens */
.spectrum--large {
- --spectrum-slider-tick-mark-height: 13px;
- --spectrum-slider-ramp-track-height: 20px;
-
- --spectrum-colorwheel-path: "M 119 119 m -119 0 a 119 119 0 1 0 238 0 a 119 119 0 1 0 -238 0.2 M 119 119 m -91 0 a 91 91 0 1 0 182 0 a 91 91 0 1 0 -182 0";
- --spectrum-colorwheel-path-borders: "M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0";
- --spectrum-colorwheel-colorarea-container-size: 182px;
+ /* stylelint-disable-next-line custom-property-pattern -- context identification */
+ --scale: large;
- --spectrum-colorloupe-checkerboard-fill: url(#checkerboard-secondary);
-
- --spectrum-contextual-help-content-spacing: var(--spectrum-spacing-200);
-
- --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 34px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 42px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 47px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 54px;
-
- --spectrum-menu-item-checkmark-height-small: 12px;
- --spectrum-menu-item-checkmark-height-medium: 14px;
- --spectrum-menu-item-checkmark-height-large: 16px;
- --spectrum-menu-item-checkmark-height-extra-large: 16px;
+ --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-200);
+ --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-200);
+ --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-200);
+ --spectrum-alert-banner-text-to-button-vertical: var(--spectrum-spacing-200);
- --spectrum-menu-item-checkmark-width-small: 12px;
- --spectrum-menu-item-checkmark-width-medium: 14px;
- --spectrum-menu-item-checkmark-width-large: 16px;
- --spectrum-menu-item-checkmark-width-extra-large: 16px;
+ --spectrum-alert-dialog-padding: var(--spectrum-spacing-400);
+ --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-600);
- --spectrum-rating-icon-spacing: var(--spectrum-spacing-100);
+ --spectrum-assetcard-focus-ring-border-radius: 9px;
+ --spectrum-assetcard-selectionindicator-margin: 15px;
+ --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xxs);
+ --spectrum-assetcard-header-content-font-size: var(--spectrum-heading-size-xxs);
+ --spectrum-assetcard-content-font-size: var(--spectrum-body-size-xs);
--spectrum-button-top-to-text-small: 6px;
--spectrum-button-bottom-to-text-small: 5px;
@@ -51,14 +40,6 @@
--spectrum-button-top-to-text-extra-large: 16px;
--spectrum-button-bottom-to-text-extra-large: 17px;
- --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-200);
- --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-200);
- --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-200);
- --spectrum-alert-banner-text-to-button-vertical: var(--spectrum-spacing-200);
-
- --spectrum-alert-dialog-padding: var(--spectrum-spacing-400);
- --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-600);
-
--spectrum-coach-indicator-gap: 8px;
--spectrum-coach-indicator-ring-diameter: 20px;
--spectrum-coach-indicator-quiet-ring-diameter: 10px;
@@ -68,28 +49,14 @@
--spectrum-coachmark-menu-display: none;
--spectrum-coachmark-menu-mobile-display: inline-flex;
- --spectrum-well-padding: 20px;
- --spectrum-well-margin-top: 5px;
- --spectrum-well-min-width: 300px;
- --spectrum-well-border-radius: 5px;
- /* XXL and XXS icon sizes are not within the design spec and are planned to be deprecated in Spectrum 2. */
- --spectrum-workflow-icon-size-xxl: 40px;
- --spectrum-workflow-icon-size-xxs: 15px;
+ --spectrum-colorwheel-path: "M 119 119 m -119 0 a 119 119 0 1 0 238 0 a 119 119 0 1 0 -238 0.2 M 119 119 m -91 0 a 91 91 0 1 0 182 0 a 91 91 0 1 0 -182 0";
+ --spectrum-colorwheel-path-borders: "M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0";
+ --spectrum-colorwheel-colorarea-container-size: 182px;
- --spectrum-treeview-item-indentation-medium: 20px;
- --spectrum-treeview-item-indentation-small: 15px;
- --spectrum-treeview-item-indentation-large: 25px;
- --spectrum-treeview-item-indentation-extra-large: 30px;
- --spectrum-treeview-indicator-inset-block-start: 6px;
- --spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 2px;
+ --spectrum-colorloupe-checkerboard-fill: url("#checkerboard-secondary");
- --spectrum-dialog-confirm-entry-animation-distance: 25px;
- --spectrum-dialog-confirm-hero-height: 160px;
- --spectrum-dialog-confirm-border-radius: 5px;
- --spectrum-dialog-confirm-title-text-size: 19px;
- --spectrum-dialog-confirm-description-text-size: 15px;
- --spectrum-dialog-confirm-padding-grid: 24px;
+ --spectrum-contextual-help-content-spacing: var(--spectrum-spacing-200);
--spectrum-datepicker-initial-width: 160px;
--spectrum-datepicker-generic-padding: 15px;
@@ -101,9 +68,6 @@
--spectrum-datepicker-invalid-icon-to-button-quiet: 9px;
--spectrum-datepicker-input-datetime-width: 30px;
- --spectrum-pagination-textfield-width: 60px;
- --spectrum-pagination-item-inline-spacing: 6px;
-
--spectrum-dial-border-radius: 20px;
--spectrum-dial-handle-position: 10px;
--spectrum-dial-handle-block-margin: 20px;
@@ -112,14 +76,54 @@
--spectrum-dial-label-gap-y: 6px;
--spectrum-dial-label-container-top-to-text: 5px;
- --spectrum-assetcard-focus-ring-border-radius: 9px;
- --spectrum-assetcard-selectionindicator-margin: 15px;
- --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xxs);
- --spectrum-assetcard-header-content-font-size: var(--spectrum-heading-size-xxs);
- --spectrum-assetcard-content-font-size: var(--spectrum-body-size-xs);
+ --spectrum-dialog-confirm-entry-animation-distance: 25px;
+ --spectrum-dialog-confirm-hero-height: 160px;
+ --spectrum-dialog-confirm-border-radius: 5px;
+ --spectrum-dialog-confirm-title-text-size: 19px;
+ --spectrum-dialog-confirm-description-text-size: 15px;
+ --spectrum-dialog-confirm-padding-grid: 24px;
+
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 34px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 42px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 47px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 54px;
+
+ --spectrum-menu-item-checkmark-height-small: 12px;
+ --spectrum-menu-item-checkmark-height-medium: 14px;
+ --spectrum-menu-item-checkmark-height-large: 16px;
+ --spectrum-menu-item-checkmark-height-extra-large: 16px;
+
+ --spectrum-menu-item-checkmark-width-small: 12px;
+ --spectrum-menu-item-checkmark-width-medium: 14px;
+ --spectrum-menu-item-checkmark-width-large: 16px;
+ --spectrum-menu-item-checkmark-width-extra-large: 16px;
+
+ --spectrum-pagination-textfield-width: 60px;
+ --spectrum-pagination-item-inline-spacing: 6px;
+
+ --spectrum-rating-icon-spacing: var(--spectrum-spacing-100);
+
+ --spectrum-slider-tick-mark-height: 13px;
+ --spectrum-slider-ramp-track-height: 20px;
+
+ --spectrum-treeview-item-indentation-medium: 20px;
+ --spectrum-treeview-item-indentation-small: 15px;
+ --spectrum-treeview-item-indentation-large: 25px;
+ --spectrum-treeview-item-indentation-extra-large: 30px;
+ --spectrum-treeview-indicator-inset-block-start: 6px;
+ --spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 2px;
--spectrum-tooltip-animation-distance: 5px;
--spectrum-ui-icon-medium-display: none;
--spectrum-ui-icon-large-display: block;
+
+ --spectrum-well-border-radius: 5px;
+ --spectrum-well-margin-top: 5px;
+ --spectrum-well-min-width: 300px;
+ --spectrum-well-padding: 20px;
+
+ /* XXL and XXS icon sizes are not within the design spec and are planned to be deprecated in Spectrum 2. */
+ --spectrum-workflow-icon-size-xxl: 40px;
+ --spectrum-workflow-icon-size-xxs: 15px;
}
diff --git a/tokens/custom-spectrum/custom-light-vars.css b/tokens/custom/light-vars.css
similarity index 80%
rename from tokens/custom-spectrum/custom-light-vars.css
rename to tokens/custom/light-vars.css
index a6e8be58d05..b70b909c167 100644
--- a/tokens/custom-spectrum/custom-light-vars.css
+++ b/tokens/custom/light-vars.css
@@ -12,19 +12,21 @@
*/
/* This file contains overrides and additions to core tokens */
+.spectrum--light {
+ /* stylelint-disable-next-line custom-property-pattern -- context identification */
+ --color-scheme: light;
-.spectrum--light,
-.spectrum--lightest {
- --spectrum-menu-item-background-color-default: rgba(0, 0, 0, 0); /* --spectrum-gray-900 */
- --spectrum-menu-item-background-color-hover: var(--spectrum-transparent-black-200);
- --spectrum-menu-item-background-color-down: var(--spectrum-transparent-black-200);
- --spectrum-menu-item-background-color-key-focus: var(--spectrum-transparent-black-200);
+ --spectrum-assetcard-border-color-selected: var(--spectrum-blue-900);
+ --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-900);
+ --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-1000);
+ --spectrum-assetcard-selectionindicator-background-color-ordered: var(--spectrum-blue-900);
+ --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-800);
- /* Drop Zone background color rgb */
- --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-800-rgb); /* var(--spectrum-accent-color-800);*/
+ --spectrum-assetlist-item-background-color-selected-hover: rgba(var(--spectrum-blue-900-rgb), 0.2);
+ --spectrum-assetlist-item-background-color-selected: rgba(var(--spectrum-blue-900-rgb), 0.1);
+ --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-800);
- /* Drop Indicator color rgb */
- --spectrum-dropindicator-color: var(--spectrum-blue-800);
+ --spectrum-badge-label-icon-color-primary: var(--spectrum-white);
--spectrum-calendar-day-background-color-selected: rgba(var(--spectrum-blue-900-rgb), 0.1);
--spectrum-calendar-day-background-color-hover: rgba(var(--spectrum-black-rgb), 0.06);
@@ -37,18 +39,11 @@
--spectrum-card-selected-background-color-rgb: var(--spectrum-blue-900-rgb);
- --spectrum-badge-label-icon-color-primary: var(--spectrum-white);
-
--spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-800);
- --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900);
- --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-50);
-
- --spectrum-well-border-color: var(--spectrum-black);
- --spectrum-steplist-current-marker-color-key-focus: var(--spectrum-blue-800);
+ --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-800-rgb); /* var(--spectrum-accent-color-800); */
- --spectrum-treeview-item-background-color-quiet-selected: rgba(var(--spectrum-gray-900-rgb), 0.06);
- --spectrum-treeview-item-background-color-selected: rgba(var(--spectrum-blue-900-rgb), 0.1);
+ --spectrum-dropindicator-color: var(--spectrum-blue-800);
--spectrum-logic-button-and-background-color: var(--spectrum-blue-900);
--spectrum-logic-button-and-border-color: var(--spectrum-blue-900);
@@ -60,16 +55,11 @@
--spectrum-logic-button-or-background-color-hover: var(--spectrum-magenta-1100);
--spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-1100);
- --spectrum-assetcard-border-color-selected: var(--spectrum-blue-900);
- --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-900);
- --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-1000);
- --spectrum-assetcard-selectionindicator-background-color-ordered: var(--spectrum-blue-900);
- --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-800);
+ --spectrum-steplist-current-marker-color-key-focus: var(--spectrum-blue-800);
- --spectrum-assetlist-item-background-color-selected-hover: rgba(var(--spectrum-blue-900-rgb), 0.2);
- --spectrum-assetlist-item-background-color-selected: rgba(var(--spectrum-blue-900-rgb), 0.1);
- --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-800);
+ --spectrum-swatch-border-color: rgb(0 0 0 / 51%);
+ --spectrum-swatch-border-color-light: rgb(0 0 0 / 20%);
- --spectrum-swatch-border-color: rgba(0, 0, 0, 51%);
- --spectrum-swatch-border-color-light: rgba(0, 0, 0, 20%);
+ --spectrum-treeview-item-background-color-quiet-selected: rgba(var(--spectrum-gray-900-rgb), 0.06);
+ --spectrum-treeview-item-background-color-selected: rgba(var(--spectrum-blue-900-rgb), 0.1);
}
diff --git a/tokens/custom-spectrum/custom-medium-vars.css b/tokens/custom/medium-vars.css
similarity index 97%
rename from tokens/custom-spectrum/custom-medium-vars.css
rename to tokens/custom/medium-vars.css
index 7adc56b286c..bb928719a96 100644
--- a/tokens/custom-spectrum/custom-medium-vars.css
+++ b/tokens/custom/medium-vars.css
@@ -14,50 +14,31 @@
/* This file contains overrides and additions to core tokens */
.spectrum--medium {
- --spectrum-slider-tick-mark-height: 10px;
- --spectrum-slider-ramp-track-height: 16px;
-
- --spectrum-colorwheel-path: "M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0";
- --spectrum-colorwheel-path-borders: "M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";
- --spectrum-colorwheel-colorarea-container-size: 144px;
-
- --spectrum-colorloupe-checkerboard-fill: url(#checkerboard-primary);
-
- --spectrum-contextual-help-content-spacing: var(--spectrum-spacing-100);
+ /* stylelint-disable-next-line custom-property-pattern -- context identification */
+ --scale: medium;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 28px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 32px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 38px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 45px;
-
- --spectrum-menu-item-checkmark-height-small: 10px;
- --spectrum-menu-item-checkmark-height-medium: 10px;
- --spectrum-menu-item-checkmark-height-large: 12px;
- --spectrum-menu-item-checkmark-height-extra-large: 14px;
+ --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-100);
+ --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-100);
+ --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-100);
+ --spectrum-alert-banner-text-to-button-vertical: var(--spectrum-spacing-100);
- --spectrum-menu-item-checkmark-width-small: 10px;
- --spectrum-menu-item-checkmark-width-medium: 10px;
- --spectrum-menu-item-checkmark-width-large: 12px;
- --spectrum-menu-item-checkmark-width-extra-large: 14px;
+ --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-700);
+ --spectrum-alert-dialog-padding: var(--spectrum-spacing-500);
- --spectrum-rating-icon-spacing: var(--spectrum-spacing-75);
+ --spectrum-assetcard-content-font-size: var(--spectrum-body-size-s);
+ --spectrum-assetcard-focus-ring-border-radius: 8px;
+ --spectrum-assetcard-header-content-font-size: var(--spectrum-heading-size-xs);
+ --spectrum-assetcard-selectionindicator-margin: 12px;
+ --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xs);
- --spectrum-button-top-to-text-small: 5px;
--spectrum-button-bottom-to-text-small: 4px;
- --spectrum-button-top-to-text-medium: 7px;
--spectrum-button-bottom-to-text-medium: 8px;
- --spectrum-button-top-to-text-large: 10px;
--spectrum-button-bottom-to-text-large: 10px;
- --spectrum-button-top-to-text-extra-large: 13px;
--spectrum-button-bottom-to-text-extra-large: 13px;
-
- --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-100);
- --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-100);
- --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-100);
- --spectrum-alert-banner-text-to-button-vertical: var(--spectrum-spacing-100);
-
- --spectrum-alert-dialog-padding: var(--spectrum-spacing-500);
- --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-700);
+ --spectrum-button-top-to-text-small: 5px;
+ --spectrum-button-top-to-text-medium: 7px;
+ --spectrum-button-top-to-text-large: 10px;
+ --spectrum-button-top-to-text-extra-large: 13px;
--spectrum-coach-indicator-gap: 6px;
--spectrum-coach-indicator-ring-diameter: var(--spectrum-spacing-300);
@@ -67,58 +48,79 @@
--spectrum-coachmark-buttongroup-mobile-display: none;
--spectrum-coachmark-menu-display: inline-flex;
--spectrum-coachmark-menu-mobile-display: none;
- --spectrum-well-padding: var(--spectrum-spacing-300);
- --spectrum-well-margin-top: var(--spectrum-spacing-75);
- --spectrum-well-min-width: 240px;
- --spectrum-well-border-radius: var(--spectrum-spacing-75);
- /* XXL and XXS icon sizes are not within the design spec and are planned to be deprecated in Spectrum 2. */
- --spectrum-workflow-icon-size-xxl: 32px;
- --spectrum-workflow-icon-size-xxs: 12px;
+ --spectrum-colorloupe-checkerboard-fill: url("#checkerboard-primary");
- --spectrum-treeview-item-indentation-medium: var(--spectrum-spacing-300);
- --spectrum-treeview-item-indentation-small: var(--spectrum-spacing-200);
- --spectrum-treeview-item-indentation-large: 20px;
- --spectrum-treeview-item-indentation-extra-large: var(--spectrum-spacing-400);
- --spectrum-treeview-indicator-inset-block-start: 5px;
- --spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 0px;
+ --spectrum-colorwheel-colorarea-container-size: 144px;
+ --spectrum-colorwheel-path: "M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0";
+ --spectrum-colorwheel-path-borders: "M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";
- --spectrum-dialog-confirm-entry-animation-distance: 20px;
- --spectrum-dialog-confirm-hero-height: 128px;
- --spectrum-dialog-confirm-border-radius: 4px;
- --spectrum-dialog-confirm-title-text-size: 18px;
- --spectrum-dialog-confirm-description-text-size: 14px;
- --spectrum-dialog-confirm-padding-grid: 40px;
+ --spectrum-contextual-help-content-spacing: var(--spectrum-spacing-100);
- --spectrum-datepicker-initial-width: 128px;
- --spectrum-datepicker-generic-padding: var(--spectrum-spacing-200);
--spectrum-datepicker-dash-line-height: 24px;
- --spectrum-datepicker-width-quiet-first: 72px;
- --spectrum-datepicker-width-quiet-second: 16px;
--spectrum-datepicker-datetime-width-first: 36px;
+ --spectrum-datepicker-generic-padding: var(--spectrum-spacing-200);
+ --spectrum-datepicker-initial-width: 128px;
+ --spectrum-datepicker-input-datetime-width: var(--spectrum-spacing-400);
--spectrum-datepicker-invalid-icon-to-button: 8px;
--spectrum-datepicker-invalid-icon-to-button-quiet: 7px;
- --spectrum-datepicker-input-datetime-width: var(--spectrum-spacing-400);
-
- --spectrum-pagination-textfield-width: var(--spectrum-spacing-700);
- --spectrum-pagination-item-inline-spacing: 5px;
+ --spectrum-datepicker-width-quiet-first: 72px;
+ --spectrum-datepicker-width-quiet-second: 16px;
--spectrum-dial-border-radius: 16px;
- --spectrum-dial-handle-position: 8px;
+ --spectrum-dial-controls-margin: 8px;
--spectrum-dial-handle-block-margin: 16px;
--spectrum-dial-handle-inline-margin: 16px;
- --spectrum-dial-controls-margin: 8px;
- --spectrum-dial-label-gap-y: 5px;
+ --spectrum-dial-handle-position: 8px;
--spectrum-dial-label-container-top-to-text: 4px;
+ --spectrum-dial-label-gap-y: 5px;
- --spectrum-assetcard-focus-ring-border-radius: 8px;
- --spectrum-assetcard-selectionindicator-margin: 12px;
- --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xs);
- --spectrum-assetcard-header-content-font-size: var(--spectrum-heading-size-xs);
- --spectrum-assetcard-content-font-size: var(--spectrum-body-size-s);
+ --spectrum-dialog-confirm-border-radius: 4px;
+ --spectrum-dialog-confirm-description-text-size: 14px;
+ --spectrum-dialog-confirm-entry-animation-distance: 20px;
+ --spectrum-dialog-confirm-hero-height: 128px;
+ --spectrum-dialog-confirm-padding-grid: 40px;
+ --spectrum-dialog-confirm-title-text-size: 18px;
+
+ --spectrum-menu-item-checkmark-height-small: 10px;
+ --spectrum-menu-item-checkmark-height-medium: 10px;
+ --spectrum-menu-item-checkmark-height-large: 12px;
+ --spectrum-menu-item-checkmark-height-extra-large: 14px;
+ --spectrum-menu-item-checkmark-width-small: 10px;
+ --spectrum-menu-item-checkmark-width-medium: 10px;
+ --spectrum-menu-item-checkmark-width-large: 12px;
+ --spectrum-menu-item-checkmark-width-extra-large: 14px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 28px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 32px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 38px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 45px;
+
+ --spectrum-pagination-item-inline-spacing: 5px;
+ --spectrum-pagination-textfield-width: var(--spectrum-spacing-700);
+
+ --spectrum-rating-icon-spacing: var(--spectrum-spacing-75);
+
+ --spectrum-slider-ramp-track-height: 16px;
+ --spectrum-slider-tick-mark-height: 10px;
+
+ --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);
+ --spectrum-treeview-item-indentation-large: 20px;
+ --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);
--spectrum-ui-icon-medium-display: block;
--spectrum-ui-icon-large-display: none;
+
+ --spectrum-well-border-radius: var(--spectrum-spacing-75);
+ --spectrum-well-margin-top: var(--spectrum-spacing-75);
+ --spectrum-well-min-width: 240px;
+ --spectrum-well-padding: var(--spectrum-spacing-300);
+
+ /* XXL and XXS icon sizes are not within the design spec and are planned to be deprecated in Spectrum 2. */
+ --spectrum-workflow-icon-size-xxl: 32px;
+ --spectrum-workflow-icon-size-xxs: 12px;
}
diff --git a/tokens/dist/css/dark-vars.css b/tokens/dist/css/dark-vars.css
index 4ae60835874..71f2a7e43ed 100644
--- a/tokens/dist/css/dark-vars.css
+++ b/tokens/dist/css/dark-vars.css
@@ -12,58 +12,49 @@
*/
.spectrum--dark{
- --spectrum-overlay-opacity:0.5;
- --spectrum-drop-shadow-color-rgb:0, 0, 0;
- --spectrum-drop-shadow-color-opacity:0.5;
- --spectrum-drop-shadow-color:rgba(var(--spectrum-drop-shadow-color-rgb), var(--spectrum-drop-shadow-color-opacity));
- --spectrum-background-base-color:var(--spectrum-gray-50);
- --spectrum-background-layer-1-color:var(--spectrum-gray-75);
- --spectrum-background-layer-2-color:var(--spectrum-gray-100);
- --spectrum-neutral-background-color-default:var(--spectrum-gray-400);
- --spectrum-neutral-background-color-hover:var(--spectrum-gray-300);
- --spectrum-neutral-background-color-down:var(--spectrum-gray-200);
- --spectrum-neutral-background-color-key-focus:var(--spectrum-gray-300);
- --spectrum-neutral-subdued-background-color-default:var(--spectrum-gray-400);
- --spectrum-neutral-subdued-background-color-hover:var(--spectrum-gray-300);
- --spectrum-neutral-subdued-background-color-down:var(--spectrum-gray-200);
- --spectrum-neutral-subdued-background-color-key-focus:var(--spectrum-gray-300);
- --spectrum-accent-background-color-default:var(--spectrum-accent-color-500);
- --spectrum-accent-background-color-hover:var(--spectrum-accent-color-400);
- --spectrum-accent-background-color-down:var(--spectrum-accent-color-300);
- --spectrum-accent-background-color-key-focus:var(--spectrum-accent-color-400);
- --spectrum-informative-background-color-default:var(--spectrum-informative-color-500);
- --spectrum-informative-background-color-hover:var(--spectrum-informative-color-400);
- --spectrum-informative-background-color-down:var(--spectrum-informative-color-300);
- --spectrum-informative-background-color-key-focus:var(--spectrum-informative-color-400);
- --spectrum-negative-background-color-default:var(--spectrum-negative-color-500);
- --spectrum-negative-background-color-hover:var(--spectrum-negative-color-400);
- --spectrum-negative-background-color-down:var(--spectrum-negative-color-300);
- --spectrum-negative-background-color-key-focus:var(--spectrum-negative-color-400);
- --spectrum-positive-background-color-default:var(--spectrum-positive-color-500);
- --spectrum-positive-background-color-hover:var(--spectrum-positive-color-400);
- --spectrum-positive-background-color-down:var(--spectrum-positive-color-300);
- --spectrum-positive-background-color-key-focus:var(--spectrum-positive-color-400);
- --spectrum-notice-background-color-default:var(--spectrum-notice-color-800);
- --spectrum-gray-background-color-default:var(--spectrum-gray-700);
- --spectrum-red-background-color-default:var(--spectrum-red-700);
- --spectrum-orange-background-color-default:var(--spectrum-orange-800);
- --spectrum-yellow-background-color-default:var(--spectrum-yellow-1000);
- --spectrum-chartreuse-background-color-default:var(--spectrum-chartreuse-900);
- --spectrum-celery-background-color-default:var(--spectrum-celery-800);
- --spectrum-green-background-color-default:var(--spectrum-green-700);
- --spectrum-seafoam-background-color-default:var(--spectrum-seafoam-700);
- --spectrum-cyan-background-color-default:var(--spectrum-cyan-700);
- --spectrum-blue-background-color-default:var(--spectrum-blue-700);
- --spectrum-indigo-background-color-default:var(--spectrum-indigo-700);
- --spectrum-purple-background-color-default:var(--spectrum-purple-700);
- --spectrum-fuchsia-background-color-default:var(--spectrum-fuchsia-700);
- --spectrum-magenta-background-color-default:var(--spectrum-magenta-700);
+ --spectrum-overlay-opacity:0.6;
+ --spectrum-background-layer-2-color:var(--spectrum-gray-75);
+ --spectrum-neutral-subdued-background-color-default:var(--spectrum-gray-500);
+ --spectrum-neutral-subdued-background-color-hover:var(--spectrum-gray-400);
+ --spectrum-neutral-subdued-background-color-down:var(--spectrum-gray-400);
+ --spectrum-neutral-subdued-background-color-key-focus:var(--spectrum-gray-400);
+ --spectrum-accent-background-color-default:var(--spectrum-accent-color-800);
+ --spectrum-accent-background-color-hover:var(--spectrum-accent-color-700);
+ --spectrum-accent-background-color-down:var(--spectrum-accent-color-700);
+ --spectrum-accent-background-color-key-focus:var(--spectrum-accent-color-700);
+ --spectrum-informative-background-color-default:var(--spectrum-informative-color-800);
+ --spectrum-informative-background-color-hover:var(--spectrum-informative-color-700);
+ --spectrum-informative-background-color-down:var(--spectrum-informative-color-700);
+ --spectrum-informative-background-color-key-focus:var(--spectrum-informative-color-700);
+ --spectrum-negative-background-color-default:var(--spectrum-negative-color-800);
+ --spectrum-negative-background-color-hover:var(--spectrum-negative-color-700);
+ --spectrum-negative-background-color-down:var(--spectrum-negative-color-700);
+ --spectrum-negative-background-color-key-focus:var(--spectrum-negative-color-700);
+ --spectrum-positive-background-color-default:var(--spectrum-positive-color-800);
+ --spectrum-positive-background-color-hover:var(--spectrum-positive-color-700);
+ --spectrum-positive-background-color-down:var(--spectrum-positive-color-700);
+ --spectrum-positive-background-color-key-focus:var(--spectrum-positive-color-700);
+ --spectrum-notice-background-color-default:var(--spectrum-notice-color-900);
+ --spectrum-gray-background-color-default:var(--spectrum-gray-500);
+ --spectrum-red-background-color-default:var(--spectrum-red-800);
+ --spectrum-orange-background-color-default:var(--spectrum-orange-900);
+ --spectrum-yellow-background-color-default:var(--spectrum-yellow-1100);
+ --spectrum-chartreuse-background-color-default:var(--spectrum-chartreuse-1000);
+ --spectrum-celery-background-color-default:var(--spectrum-celery-900);
+ --spectrum-green-background-color-default:var(--spectrum-green-800);
+ --spectrum-seafoam-background-color-default:var(--spectrum-seafoam-800);
+ --spectrum-cyan-background-color-default:var(--spectrum-cyan-800);
+ --spectrum-blue-background-color-default:var(--spectrum-blue-800);
+ --spectrum-indigo-background-color-default:var(--spectrum-indigo-800);
+ --spectrum-purple-background-color-default:var(--spectrum-purple-800);
+ --spectrum-fuchsia-background-color-default:var(--spectrum-fuchsia-800);
+ --spectrum-magenta-background-color-default:var(--spectrum-magenta-800);
--spectrum-neutral-visual-color:var(--spectrum-gray-600);
--spectrum-accent-visual-color:var(--spectrum-accent-color-900);
--spectrum-informative-visual-color:var(--spectrum-informative-color-900);
- --spectrum-negative-visual-color:var(--spectrum-negative-color-700);
+ --spectrum-negative-visual-color:var(--spectrum-negative-color-900);
--spectrum-notice-visual-color:var(--spectrum-notice-color-900);
- --spectrum-positive-visual-color:var(--spectrum-positive-color-800);
+ --spectrum-positive-visual-color:var(--spectrum-positive-color-900);
--spectrum-gray-visual-color:var(--spectrum-gray-600);
--spectrum-red-visual-color:var(--spectrum-red-700);
--spectrum-orange-visual-color:var(--spectrum-orange-900);
@@ -78,395 +69,787 @@
--spectrum-purple-visual-color:var(--spectrum-purple-900);
--spectrum-fuchsia-visual-color:var(--spectrum-fuchsia-900);
--spectrum-magenta-visual-color:var(--spectrum-magenta-900);
+ --spectrum-background-elevated-color:var(--spectrum-gray-75);
+ --spectrum-background-pasteboard-color:var(--spectrum-gray-25);
+ --spectrum-brown-visual-color:var(--spectrum-brown-900);
+ --spectrum-cinnamon-visual-color:var(--spectrum-cinnamon-900);
+ --spectrum-pink-visual-color:var(--spectrum-pink-900);
+ --spectrum-silver-visual-color:var(--spectrum-silver-900);
+ --spectrum-turquoise-visual-color:var(--spectrum-turquoise-900);
+ --spectrum-brown-background-color-default:var(--spectrum-brown-800);
+ --spectrum-cinnamon-background-color-default:var(--spectrum-cinnamon-800);
+ --spectrum-pink-background-color-default:var(--spectrum-pink-800);
+ --spectrum-silver-background-color-default:var(--spectrum-silver-800);
+ --spectrum-turquoise-background-color-default:var(--spectrum-turquoise-800);
+ --spectrum-drop-shadow-color-100-rgb:0, 0, 0;
+ --spectrum-drop-shadow-color-100-opacity:0.36;
+ --spectrum-drop-shadow-color-100:rgba(var(--spectrum-drop-shadow-color-100-rgb), var(--spectrum-drop-shadow-color-100-opacity));
+ --spectrum-drop-shadow-color-200-rgb:0, 0, 0;
+ --spectrum-drop-shadow-color-200-opacity:0.48;
+ --spectrum-drop-shadow-color-200:rgba(var(--spectrum-drop-shadow-color-200-rgb), var(--spectrum-drop-shadow-color-200-opacity));
+ --spectrum-drop-shadow-color-300-rgb:0, 0, 0;
+ --spectrum-drop-shadow-color-300-opacity:0.6;
+ --spectrum-drop-shadow-color-300:rgba(var(--spectrum-drop-shadow-color-300-rgb), var(--spectrum-drop-shadow-color-300-opacity));
+ --spectrum-neutral-subtle-background-color-default:var(--spectrum-gray-300);
+ --spectrum-gray-subtle-background-color-default:var(--spectrum-gray-300);
+ --spectrum-blue-subtle-background-color-default:var(--spectrum-blue-300);
+ --spectrum-green-subtle-background-color-default:var(--spectrum-green-300);
+ --spectrum-orange-subtle-background-color-default:var(--spectrum-orange-300);
+ --spectrum-red-subtle-background-color-default:var(--spectrum-red-300);
+ --spectrum-brown-subtle-background-color-default:var(--spectrum-brown-300);
+ --spectrum-cinnamon-subtle-background-color-default:var(--spectrum-cinnamon-300);
+ --spectrum-celery-subtle-background-color-default:var(--spectrum-celery-300);
+ --spectrum-chartreuse-subtle-background-color-default:var(--spectrum-chartreuse-300);
+ --spectrum-cyan-subtle-background-color-default:var(--spectrum-cyan-300);
+ --spectrum-fuchsia-subtle-background-color-default:var(--spectrum-fuchsia-300);
+ --spectrum-indigo-subtle-background-color-default:var(--spectrum-indigo-300);
+ --spectrum-magenta-subtle-background-color-default:var(--spectrum-magenta-300);
+ --spectrum-pink-subtle-background-color-default:var(--spectrum-pink-300);
+ --spectrum-purple-subtle-background-color-default:var(--spectrum-purple-300);
+ --spectrum-seafoam-subtle-background-color-default:var(--spectrum-seafoam-300);
+ --spectrum-silver-subtle-background-color-default:var(--spectrum-silver-300);
+ --spectrum-turquoise-subtle-background-color-default:var(--spectrum-turquoise-300);
+ --spectrum-yellow-subtle-background-color-default:var(--spectrum-yellow-300);
--spectrum-opacity-checkerboard-square-dark:var(--spectrum-gray-800);
- --spectrum-gray-50-rgb:29, 29, 29;
+ --spectrum-white-rgb:255, 255, 255;
+ --spectrum-white:rgba(var(--spectrum-white-rgb));
+ --spectrum-transparent-white-25-rgb:255, 255, 255;
+ --spectrum-transparent-white-25-opacity:0;
+ --spectrum-transparent-white-25:rgba(var(--spectrum-transparent-white-25-rgb), var(--spectrum-transparent-white-25-opacity));
+ --spectrum-transparent-white-50-rgb:255, 255, 255;
+ --spectrum-transparent-white-50-opacity:0.04;
+ --spectrum-transparent-white-50:rgba(var(--spectrum-transparent-white-50-rgb), var(--spectrum-transparent-white-50-opacity));
+ --spectrum-transparent-white-75-rgb:255, 255, 255;
+ --spectrum-transparent-white-75-opacity:0.07;
+ --spectrum-transparent-white-75:rgba(var(--spectrum-transparent-white-75-rgb), var(--spectrum-transparent-white-75-opacity));
+ --spectrum-transparent-white-100-rgb:255, 255, 255;
+ --spectrum-transparent-white-100-opacity:0.11;
+ --spectrum-transparent-white-100:rgba(var(--spectrum-transparent-white-100-rgb), var(--spectrum-transparent-white-100-opacity));
+ --spectrum-transparent-white-200-rgb:255, 255, 255;
+ --spectrum-transparent-white-200-opacity:0.14;
+ --spectrum-transparent-white-200:rgba(var(--spectrum-transparent-white-200-rgb), var(--spectrum-transparent-white-200-opacity));
+ --spectrum-transparent-white-300-rgb:255, 255, 255;
+ --spectrum-transparent-white-300-opacity:0.17;
+ --spectrum-transparent-white-300:rgba(var(--spectrum-transparent-white-300-rgb), var(--spectrum-transparent-white-300-opacity));
+ --spectrum-transparent-white-400-rgb:255, 255, 255;
+ --spectrum-transparent-white-400-opacity:0.21;
+ --spectrum-transparent-white-400:rgba(var(--spectrum-transparent-white-400-rgb), var(--spectrum-transparent-white-400-opacity));
+ --spectrum-transparent-white-500-rgb:255, 255, 255;
+ --spectrum-transparent-white-500-opacity:0.39;
+ --spectrum-transparent-white-500:rgba(var(--spectrum-transparent-white-500-rgb), var(--spectrum-transparent-white-500-opacity));
+ --spectrum-transparent-white-600-rgb:255, 255, 255;
+ --spectrum-transparent-white-600-opacity:0.51;
+ --spectrum-transparent-white-600:rgba(var(--spectrum-transparent-white-600-rgb), var(--spectrum-transparent-white-600-opacity));
+ --spectrum-transparent-white-700-rgb:255, 255, 255;
+ --spectrum-transparent-white-700-opacity:0.66;
+ --spectrum-transparent-white-700:rgba(var(--spectrum-transparent-white-700-rgb), var(--spectrum-transparent-white-700-opacity));
+ --spectrum-transparent-white-800-rgb:255, 255, 255;
+ --spectrum-transparent-white-800-opacity:0.85;
+ --spectrum-transparent-white-800:rgba(var(--spectrum-transparent-white-800-rgb), var(--spectrum-transparent-white-800-opacity));
+ --spectrum-transparent-white-900-rgb:255, 255, 255;
+ --spectrum-transparent-white-900-opacity:0.94;
+ --spectrum-transparent-white-900:rgba(var(--spectrum-transparent-white-900-rgb), var(--spectrum-transparent-white-900-opacity));
+ --spectrum-transparent-white-1000-rgb:255, 255, 255;
+ --spectrum-transparent-white-1000:rgba(var(--spectrum-transparent-white-1000-rgb));
+ --spectrum-transparent-black-25-rgb:0, 0, 0;
+ --spectrum-transparent-black-25-opacity:0;
+ --spectrum-transparent-black-25:rgba(var(--spectrum-transparent-black-25-rgb), var(--spectrum-transparent-black-25-opacity));
+ --spectrum-transparent-black-50-rgb:0, 0, 0;
+ --spectrum-transparent-black-50-opacity:0.03;
+ --spectrum-transparent-black-50:rgba(var(--spectrum-transparent-black-50-rgb), var(--spectrum-transparent-black-50-opacity));
+ --spectrum-transparent-black-75-rgb:0, 0, 0;
+ --spectrum-transparent-black-75-opacity:0.05;
+ --spectrum-transparent-black-75:rgba(var(--spectrum-transparent-black-75-rgb), var(--spectrum-transparent-black-75-opacity));
+ --spectrum-transparent-black-100-rgb:0, 0, 0;
+ --spectrum-transparent-black-100-opacity:0.09;
+ --spectrum-transparent-black-100:rgba(var(--spectrum-transparent-black-100-rgb), var(--spectrum-transparent-black-100-opacity));
+ --spectrum-transparent-black-200-rgb:0, 0, 0;
+ --spectrum-transparent-black-200-opacity:0.12;
+ --spectrum-transparent-black-200:rgba(var(--spectrum-transparent-black-200-rgb), var(--spectrum-transparent-black-200-opacity));
+ --spectrum-transparent-black-300-rgb:0, 0, 0;
+ --spectrum-transparent-black-300-opacity:0.15;
+ --spectrum-transparent-black-300:rgba(var(--spectrum-transparent-black-300-rgb), var(--spectrum-transparent-black-300-opacity));
+ --spectrum-transparent-black-400-rgb:0, 0, 0;
+ --spectrum-transparent-black-400-opacity:0.22;
+ --spectrum-transparent-black-400:rgba(var(--spectrum-transparent-black-400-rgb), var(--spectrum-transparent-black-400-opacity));
+ --spectrum-transparent-black-500-rgb:0, 0, 0;
+ --spectrum-transparent-black-500-opacity:0.44;
+ --spectrum-transparent-black-500:rgba(var(--spectrum-transparent-black-500-rgb), var(--spectrum-transparent-black-500-opacity));
+ --spectrum-transparent-black-600-rgb:0, 0, 0;
+ --spectrum-transparent-black-600-opacity:0.56;
+ --spectrum-transparent-black-600:rgba(var(--spectrum-transparent-black-600-rgb), var(--spectrum-transparent-black-600-opacity));
+ --spectrum-transparent-black-700-rgb:0, 0, 0;
+ --spectrum-transparent-black-700-opacity:0.69;
+ --spectrum-transparent-black-700:rgba(var(--spectrum-transparent-black-700-rgb), var(--spectrum-transparent-black-700-opacity));
+ --spectrum-transparent-black-800-rgb:0, 0, 0;
+ --spectrum-transparent-black-800-opacity:0.84;
+ --spectrum-transparent-black-800:rgba(var(--spectrum-transparent-black-800-rgb), var(--spectrum-transparent-black-800-opacity));
+ --spectrum-transparent-black-900-rgb:0, 0, 0;
+ --spectrum-transparent-black-900-opacity:0.93;
+ --spectrum-transparent-black-900:rgba(var(--spectrum-transparent-black-900-rgb), var(--spectrum-transparent-black-900-opacity));
+ --spectrum-gray-25-rgb:17, 17, 17;
+ --spectrum-gray-25:rgba(var(--spectrum-gray-25-rgb));
+ --spectrum-gray-50-rgb:27, 27, 27;
--spectrum-gray-50:rgba(var(--spectrum-gray-50-rgb));
- --spectrum-gray-75-rgb:38, 38, 38;
+ --spectrum-gray-75-rgb:34, 34, 34;
--spectrum-gray-75:rgba(var(--spectrum-gray-75-rgb));
- --spectrum-gray-100-rgb:50, 50, 50;
+ --spectrum-gray-100-rgb:44, 44, 44;
--spectrum-gray-100:rgba(var(--spectrum-gray-100-rgb));
- --spectrum-gray-200-rgb:63, 63, 63;
+ --spectrum-gray-200-rgb:50, 50, 50;
--spectrum-gray-200:rgba(var(--spectrum-gray-200-rgb));
- --spectrum-gray-300-rgb:84, 84, 84;
+ --spectrum-gray-300-rgb:57, 57, 57;
--spectrum-gray-300:rgba(var(--spectrum-gray-300-rgb));
- --spectrum-gray-400-rgb:112, 112, 112;
+ --spectrum-gray-400-rgb:68, 68, 68;
--spectrum-gray-400:rgba(var(--spectrum-gray-400-rgb));
- --spectrum-gray-500-rgb:144, 144, 144;
+ --spectrum-gray-500-rgb:109, 109, 109;
--spectrum-gray-500:rgba(var(--spectrum-gray-500-rgb));
- --spectrum-gray-600-rgb:178, 178, 178;
+ --spectrum-gray-600-rgb:138, 138, 138;
--spectrum-gray-600:rgba(var(--spectrum-gray-600-rgb));
- --spectrum-gray-700-rgb:209, 209, 209;
+ --spectrum-gray-700-rgb:175, 175, 175;
--spectrum-gray-700:rgba(var(--spectrum-gray-700-rgb));
- --spectrum-gray-800-rgb:235, 235, 235;
+ --spectrum-gray-800-rgb:219, 219, 219;
--spectrum-gray-800:rgba(var(--spectrum-gray-800-rgb));
- --spectrum-gray-900-rgb:255, 255, 255;
+ --spectrum-gray-900-rgb:242, 242, 242;
--spectrum-gray-900:rgba(var(--spectrum-gray-900-rgb));
- --spectrum-blue-100-rgb:0, 56, 119;
+ --spectrum-gray-1000-rgb:255, 255, 255;
+ --spectrum-gray-1000:rgba(var(--spectrum-gray-1000-rgb));
+ --spectrum-blue-100-rgb:14, 23, 63;
--spectrum-blue-100:rgba(var(--spectrum-blue-100-rgb));
- --spectrum-blue-200-rgb:0, 65, 138;
+ --spectrum-blue-200-rgb:15, 28, 82;
--spectrum-blue-200:rgba(var(--spectrum-blue-200-rgb));
- --spectrum-blue-300-rgb:0, 77, 163;
+ --spectrum-blue-300-rgb:12, 33, 117;
--spectrum-blue-300:rgba(var(--spectrum-blue-300-rgb));
- --spectrum-blue-400-rgb:0, 89, 194;
+ --spectrum-blue-400-rgb:18, 45, 154;
--spectrum-blue-400:rgba(var(--spectrum-blue-400-rgb));
- --spectrum-blue-500-rgb:3, 103, 224;
+ --spectrum-blue-500-rgb:26, 58, 195;
--spectrum-blue-500:rgba(var(--spectrum-blue-500-rgb));
- --spectrum-blue-600-rgb:19, 121, 243;
+ --spectrum-blue-600-rgb:37, 73, 229;
--spectrum-blue-600:rgba(var(--spectrum-blue-600-rgb));
- --spectrum-blue-700-rgb:52, 143, 244;
+ --spectrum-blue-700-rgb:52, 91, 248;
--spectrum-blue-700:rgba(var(--spectrum-blue-700-rgb));
- --spectrum-blue-800-rgb:84, 163, 246;
+ --spectrum-blue-800-rgb:64, 105, 253;
--spectrum-blue-800:rgba(var(--spectrum-blue-800-rgb));
- --spectrum-blue-900-rgb:114, 183, 249;
+ --spectrum-blue-900-rgb:86, 129, 255;
--spectrum-blue-900:rgba(var(--spectrum-blue-900-rgb));
- --spectrum-blue-1000-rgb:143, 202, 252;
+ --spectrum-blue-1000-rgb:105, 149, 254;
--spectrum-blue-1000:rgba(var(--spectrum-blue-1000-rgb));
- --spectrum-blue-1100-rgb:174, 219, 254;
+ --spectrum-blue-1100-rgb:124, 169, 252;
--spectrum-blue-1100:rgba(var(--spectrum-blue-1100-rgb));
- --spectrum-blue-1200-rgb:204, 233, 255;
+ --spectrum-blue-1200-rgb:152, 192, 252;
--spectrum-blue-1200:rgba(var(--spectrum-blue-1200-rgb));
- --spectrum-blue-1300-rgb:232, 246, 255;
+ --spectrum-blue-1300-rgb:181, 213, 253;
--spectrum-blue-1300:rgba(var(--spectrum-blue-1300-rgb));
- --spectrum-blue-1400-rgb:255, 255, 255;
+ --spectrum-blue-1400-rgb:213, 231, 254;
--spectrum-blue-1400:rgba(var(--spectrum-blue-1400-rgb));
- --spectrum-red-100-rgb:123, 0, 0;
+ --spectrum-blue-1500-rgb:238, 245, 255;
+ --spectrum-blue-1500:rgba(var(--spectrum-blue-1500-rgb));
+ --spectrum-blue-1600-rgb:255, 255, 255;
+ --spectrum-blue-1600:rgba(var(--spectrum-blue-1600-rgb));
+ --spectrum-red-100-rgb:54, 10, 3;
--spectrum-red-100:rgba(var(--spectrum-red-100-rgb));
- --spectrum-red-200-rgb:141, 0, 0;
+ --spectrum-red-200-rgb:68, 13, 5;
--spectrum-red-200:rgba(var(--spectrum-red-200-rgb));
- --spectrum-red-300-rgb:165, 0, 0;
+ --spectrum-red-300-rgb:87, 17, 7;
--spectrum-red-300:rgba(var(--spectrum-red-300-rgb));
- --spectrum-red-400-rgb:190, 4, 3;
+ --spectrum-red-400-rgb:115, 24, 11;
--spectrum-red-400:rgba(var(--spectrum-red-400-rgb));
- --spectrum-red-500-rgb:215, 25, 19;
+ --spectrum-red-500-rgb:147, 31, 17;
--spectrum-red-500:rgba(var(--spectrum-red-500-rgb));
- --spectrum-red-600-rgb:234, 56, 41;
+ --spectrum-red-600-rgb:177, 38, 23;
--spectrum-red-600:rgba(var(--spectrum-red-600-rgb));
- --spectrum-red-700-rgb:246, 88, 67;
+ --spectrum-red-700-rgb:205, 46, 29;
--spectrum-red-700:rgba(var(--spectrum-red-700-rgb));
- --spectrum-red-800-rgb:255, 117, 94;
+ --spectrum-red-800-rgb:223, 52, 34;
--spectrum-red-800:rgba(var(--spectrum-red-800-rgb));
- --spectrum-red-900-rgb:255, 149, 129;
+ --spectrum-red-900-rgb:252, 67, 46;
--spectrum-red-900:rgba(var(--spectrum-red-900-rgb));
- --spectrum-red-1000-rgb:255, 176, 161;
+ --spectrum-red-1000-rgb:255, 103, 86;
--spectrum-red-1000:rgba(var(--spectrum-red-1000-rgb));
- --spectrum-red-1100-rgb:255, 201, 189;
+ --spectrum-red-1100-rgb:255, 134, 120;
--spectrum-red-1100:rgba(var(--spectrum-red-1100-rgb));
- --spectrum-red-1200-rgb:255, 222, 216;
+ --spectrum-red-1200-rgb:255, 167, 157;
--spectrum-red-1200:rgba(var(--spectrum-red-1200-rgb));
- --spectrum-red-1300-rgb:255, 241, 238;
+ --spectrum-red-1300-rgb:255, 196, 189;
--spectrum-red-1300:rgba(var(--spectrum-red-1300-rgb));
- --spectrum-red-1400-rgb:255, 255, 255;
+ --spectrum-red-1400-rgb:255, 222, 219;
--spectrum-red-1400:rgba(var(--spectrum-red-1400-rgb));
- --spectrum-orange-100-rgb:102, 37, 0;
+ --spectrum-red-1500-rgb:255, 242, 240;
+ --spectrum-red-1500:rgba(var(--spectrum-red-1500-rgb));
+ --spectrum-red-1600-rgb:255, 255, 255;
+ --spectrum-red-1600:rgba(var(--spectrum-red-1600-rgb));
+ --spectrum-orange-100-rgb:49, 16, 0;
--spectrum-orange-100:rgba(var(--spectrum-orange-100-rgb));
- --spectrum-orange-200-rgb:117, 45, 0;
+ --spectrum-orange-200-rgb:61, 21, 0;
--spectrum-orange-200:rgba(var(--spectrum-orange-200-rgb));
- --spectrum-orange-300-rgb:137, 55, 0;
+ --spectrum-orange-300-rgb:80, 27, 0;
--spectrum-orange-300:rgba(var(--spectrum-orange-300-rgb));
- --spectrum-orange-400-rgb:158, 66, 0;
+ --spectrum-orange-400-rgb:106, 36, 0;
--spectrum-orange-400:rgba(var(--spectrum-orange-400-rgb));
- --spectrum-orange-500-rgb:180, 78, 0;
+ --spectrum-orange-500-rgb:135, 47, 0;
--spectrum-orange-500:rgba(var(--spectrum-orange-500-rgb));
- --spectrum-orange-600-rgb:202, 93, 0;
+ --spectrum-orange-600-rgb:162, 59, 0;
--spectrum-orange-600:rgba(var(--spectrum-orange-600-rgb));
- --spectrum-orange-700-rgb:225, 109, 0;
+ --spectrum-orange-700-rgb:185, 73, 0;
--spectrum-orange-700:rgba(var(--spectrum-orange-700-rgb));
- --spectrum-orange-800-rgb:244, 129, 12;
+ --spectrum-orange-800-rgb:199, 82, 0;
--spectrum-orange-800:rgba(var(--spectrum-orange-800-rgb));
- --spectrum-orange-900-rgb:254, 154, 46;
+ --spectrum-orange-900-rgb:224, 100, 0;
--spectrum-orange-900:rgba(var(--spectrum-orange-900-rgb));
- --spectrum-orange-1000-rgb:255, 181, 88;
+ --spectrum-orange-1000-rgb:243, 117, 0;
--spectrum-orange-1000:rgba(var(--spectrum-orange-1000-rgb));
- --spectrum-orange-1100-rgb:253, 206, 136;
+ --spectrum-orange-1100-rgb:255, 137, 0;
--spectrum-orange-1100:rgba(var(--spectrum-orange-1100-rgb));
- --spectrum-orange-1200-rgb:255, 225, 179;
+ --spectrum-orange-1200-rgb:255, 173, 45;
--spectrum-orange-1200:rgba(var(--spectrum-orange-1200-rgb));
- --spectrum-orange-1300-rgb:255, 242, 221;
+ --spectrum-orange-1300-rgb:255, 201, 116;
--spectrum-orange-1300:rgba(var(--spectrum-orange-1300-rgb));
- --spectrum-orange-1400-rgb:255, 253, 249;
+ --spectrum-orange-1400-rgb:255, 225, 178;
--spectrum-orange-1400:rgba(var(--spectrum-orange-1400-rgb));
- --spectrum-yellow-100-rgb:76, 54, 0;
+ --spectrum-orange-1500-rgb:255, 243, 225;
+ --spectrum-orange-1500:rgba(var(--spectrum-orange-1500-rgb));
+ --spectrum-orange-1600-rgb:255, 255, 255;
+ --spectrum-orange-1600:rgba(var(--spectrum-orange-1600-rgb));
+ --spectrum-yellow-100-rgb:37, 23, 0;
--spectrum-yellow-100:rgba(var(--spectrum-yellow-100-rgb));
- --spectrum-yellow-200-rgb:88, 64, 0;
+ --spectrum-yellow-200-rgb:47, 29, 0;
--spectrum-yellow-200:rgba(var(--spectrum-yellow-200-rgb));
- --spectrum-yellow-300-rgb:103, 76, 0;
+ --spectrum-yellow-300-rgb:61, 39, 0;
--spectrum-yellow-300:rgba(var(--spectrum-yellow-300-rgb));
- --spectrum-yellow-400-rgb:119, 89, 0;
+ --spectrum-yellow-400-rgb:83, 52, 0;
--spectrum-yellow-400:rgba(var(--spectrum-yellow-400-rgb));
- --spectrum-yellow-500-rgb:136, 104, 0;
+ --spectrum-yellow-500-rgb:107, 67, 0;
--spectrum-yellow-500:rgba(var(--spectrum-yellow-500-rgb));
- --spectrum-yellow-600-rgb:155, 120, 0;
+ --spectrum-yellow-600-rgb:130, 82, 0;
--spectrum-yellow-600:rgba(var(--spectrum-yellow-600-rgb));
- --spectrum-yellow-700-rgb:174, 137, 0;
+ --spectrum-yellow-700-rgb:151, 97, 0;
--spectrum-yellow-700:rgba(var(--spectrum-yellow-700-rgb));
- --spectrum-yellow-800-rgb:192, 156, 0;
+ --spectrum-yellow-800-rgb:164, 106, 0;
--spectrum-yellow-800:rgba(var(--spectrum-yellow-800-rgb));
- --spectrum-yellow-900-rgb:211, 174, 0;
+ --spectrum-yellow-900-rgb:186, 124, 0;
--spectrum-yellow-900:rgba(var(--spectrum-yellow-900-rgb));
- --spectrum-yellow-1000-rgb:228, 194, 0;
+ --spectrum-yellow-1000-rgb:203, 141, 0;
--spectrum-yellow-1000:rgba(var(--spectrum-yellow-1000-rgb));
- --spectrum-yellow-1100-rgb:244, 213, 0;
+ --spectrum-yellow-1100-rgb:218, 159, 0;
--spectrum-yellow-1100:rgba(var(--spectrum-yellow-1100-rgb));
- --spectrum-yellow-1200-rgb:249, 232, 92;
+ --spectrum-yellow-1200-rgb:235, 183, 0;
--spectrum-yellow-1200:rgba(var(--spectrum-yellow-1200-rgb));
- --spectrum-yellow-1300-rgb:252, 246, 187;
+ --spectrum-yellow-1300-rgb:249, 206, 0;
--spectrum-yellow-1300:rgba(var(--spectrum-yellow-1300-rgb));
- --spectrum-yellow-1400-rgb:255, 255, 255;
+ --spectrum-yellow-1400-rgb:255, 230, 86;
--spectrum-yellow-1400:rgba(var(--spectrum-yellow-1400-rgb));
- --spectrum-chartreuse-100-rgb:48, 64, 0;
+ --spectrum-yellow-1500-rgb:255, 246, 195;
+ --spectrum-yellow-1500:rgba(var(--spectrum-yellow-1500-rgb));
+ --spectrum-yellow-1600-rgb:255, 255, 255;
+ --spectrum-yellow-1600:rgba(var(--spectrum-yellow-1600-rgb));
+ --spectrum-chartreuse-100-rgb:23, 28, 0;
--spectrum-chartreuse-100:rgba(var(--spectrum-chartreuse-100-rgb));
- --spectrum-chartreuse-200-rgb:55, 74, 0;
+ --spectrum-chartreuse-200-rgb:30, 36, 0;
--spectrum-chartreuse-200:rgba(var(--spectrum-chartreuse-200-rgb));
- --spectrum-chartreuse-300-rgb:65, 87, 0;
+ --spectrum-chartreuse-300-rgb:39, 47, 0;
--spectrum-chartreuse-300:rgba(var(--spectrum-chartreuse-300-rgb));
- --spectrum-chartreuse-400-rgb:76, 102, 0;
+ --spectrum-chartreuse-400-rgb:53, 63, 0;
--spectrum-chartreuse-400:rgba(var(--spectrum-chartreuse-400-rgb));
- --spectrum-chartreuse-500-rgb:89, 118, 0;
+ --spectrum-chartreuse-500-rgb:68, 82, 0;
--spectrum-chartreuse-500:rgba(var(--spectrum-chartreuse-500-rgb));
- --spectrum-chartreuse-600-rgb:102, 136, 0;
+ --spectrum-chartreuse-600-rgb:83, 100, 0;
--spectrum-chartreuse-600:rgba(var(--spectrum-chartreuse-600-rgb));
- --spectrum-chartreuse-700-rgb:117, 154, 0;
+ --spectrum-chartreuse-700-rgb:97, 116, 0;
--spectrum-chartreuse-700:rgba(var(--spectrum-chartreuse-700-rgb));
- --spectrum-chartreuse-800-rgb:132, 173, 1;
+ --spectrum-chartreuse-800-rgb:106, 127, 0;
--spectrum-chartreuse-800:rgba(var(--spectrum-chartreuse-800-rgb));
- --spectrum-chartreuse-900-rgb:148, 192, 8;
+ --spectrum-chartreuse-900-rgb:122, 147, 0;
--spectrum-chartreuse-900:rgba(var(--spectrum-chartreuse-900-rgb));
- --spectrum-chartreuse-1000-rgb:166, 211, 18;
+ --spectrum-chartreuse-1000-rgb:136, 164, 0;
--spectrum-chartreuse-1000:rgba(var(--spectrum-chartreuse-1000-rgb));
- --spectrum-chartreuse-1100-rgb:184, 229, 37;
+ --spectrum-chartreuse-1100-rgb:151, 181, 0;
--spectrum-chartreuse-1100:rgba(var(--spectrum-chartreuse-1100-rgb));
- --spectrum-chartreuse-1200-rgb:205, 245, 71;
+ --spectrum-chartreuse-1200-rgb:169, 203, 0;
--spectrum-chartreuse-1200:rgba(var(--spectrum-chartreuse-1200-rgb));
- --spectrum-chartreuse-1300-rgb:231, 254, 154;
+ --spectrum-chartreuse-1300-rgb:187, 225, 0;
--spectrum-chartreuse-1300:rgba(var(--spectrum-chartreuse-1300-rgb));
- --spectrum-chartreuse-1400-rgb:255, 255, 255;
+ --spectrum-chartreuse-1400-rgb:219, 240, 117;
--spectrum-chartreuse-1400:rgba(var(--spectrum-chartreuse-1400-rgb));
- --spectrum-celery-100-rgb:0, 69, 10;
+ --spectrum-chartreuse-1500-rgb:242, 249, 206;
+ --spectrum-chartreuse-1500:rgba(var(--spectrum-chartreuse-1500-rgb));
+ --spectrum-chartreuse-1600-rgb:255, 255, 255;
+ --spectrum-chartreuse-1600:rgba(var(--spectrum-chartreuse-1600-rgb));
+ --spectrum-celery-100-rgb:11, 31, 0;
--spectrum-celery-100:rgba(var(--spectrum-celery-100-rgb));
- --spectrum-celery-200-rgb:0, 80, 12;
+ --spectrum-celery-200-rgb:15, 38, 0;
--spectrum-celery-200:rgba(var(--spectrum-celery-200-rgb));
- --spectrum-celery-300-rgb:0, 94, 14;
+ --spectrum-celery-300-rgb:21, 51, 1;
--spectrum-celery-300:rgba(var(--spectrum-celery-300-rgb));
- --spectrum-celery-400-rgb:0, 109, 15;
+ --spectrum-celery-400-rgb:31, 67, 4;
--spectrum-celery-400:rgba(var(--spectrum-celery-400-rgb));
- --spectrum-celery-500-rgb:0, 127, 15;
+ --spectrum-celery-500-rgb:41, 86, 8;
--spectrum-celery-500:rgba(var(--spectrum-celery-500-rgb));
- --spectrum-celery-600-rgb:0, 145, 18;
+ --spectrum-celery-600-rgb:50, 105, 11;
--spectrum-celery-600:rgba(var(--spectrum-celery-600-rgb));
- --spectrum-celery-700-rgb:4, 165, 30;
+ --spectrum-celery-700-rgb:60, 122, 15;
--spectrum-celery-700:rgba(var(--spectrum-celery-700-rgb));
- --spectrum-celery-800-rgb:34, 184, 51;
+ --spectrum-celery-800-rgb:66, 134, 18;
--spectrum-celery-800:rgba(var(--spectrum-celery-800-rgb));
- --spectrum-celery-900-rgb:68, 202, 73;
+ --spectrum-celery-900-rgb:78, 154, 23;
--spectrum-celery-900:rgba(var(--spectrum-celery-900-rgb));
- --spectrum-celery-1000-rgb:105, 220, 99;
+ --spectrum-celery-1000-rgb:88, 172, 28;
--spectrum-celery-1000:rgba(var(--spectrum-celery-1000-rgb));
- --spectrum-celery-1100-rgb:142, 235, 127;
+ --spectrum-celery-1100-rgb:100, 190, 35;
--spectrum-celery-1100:rgba(var(--spectrum-celery-1100-rgb));
- --spectrum-celery-1200-rgb:180, 247, 162;
+ --spectrum-celery-1200-rgb:116, 213, 46;
--spectrum-celery-1200:rgba(var(--spectrum-celery-1200-rgb));
- --spectrum-celery-1300-rgb:221, 253, 211;
+ --spectrum-celery-1300-rgb:136, 234, 65;
--spectrum-celery-1300:rgba(var(--spectrum-celery-1300-rgb));
- --spectrum-celery-1400-rgb:255, 255, 255;
+ --spectrum-celery-1400-rgb:170, 251, 112;
--spectrum-celery-1400:rgba(var(--spectrum-celery-1400-rgb));
- --spectrum-green-100-rgb:4, 67, 41;
+ --spectrum-celery-1500-rgb:222, 255, 198;
+ --spectrum-celery-1500:rgba(var(--spectrum-celery-1500-rgb));
+ --spectrum-celery-1600-rgb:255, 255, 255;
+ --spectrum-celery-1600:rgba(var(--spectrum-celery-1600-rgb));
+ --spectrum-green-100-rgb:0, 30, 23;
--spectrum-green-100:rgba(var(--spectrum-green-100-rgb));
- --spectrum-green-200-rgb:0, 78, 47;
+ --spectrum-green-200-rgb:0, 38, 29;
--spectrum-green-200:rgba(var(--spectrum-green-200-rgb));
- --spectrum-green-300-rgb:0, 92, 56;
+ --spectrum-green-300-rgb:0, 51, 38;
--spectrum-green-300:rgba(var(--spectrum-green-300-rgb));
- --spectrum-green-400-rgb:0, 108, 67;
+ --spectrum-green-400-rgb:0, 68, 48;
--spectrum-green-400:rgba(var(--spectrum-green-400-rgb));
- --spectrum-green-500-rgb:0, 125, 78;
+ --spectrum-green-500-rgb:2, 87, 58;
--spectrum-green-500:rgba(var(--spectrum-green-500-rgb));
- --spectrum-green-600-rgb:0, 143, 93;
+ --spectrum-green-600-rgb:3, 106, 67;
--spectrum-green-600:rgba(var(--spectrum-green-600-rgb));
- --spectrum-green-700-rgb:18, 162, 108;
+ --spectrum-green-700-rgb:4, 124, 75;
--spectrum-green-700:rgba(var(--spectrum-green-700-rgb));
- --spectrum-green-800-rgb:43, 180, 125;
+ --spectrum-green-800-rgb:6, 136, 80;
--spectrum-green-800:rgba(var(--spectrum-green-800-rgb));
- --spectrum-green-900-rgb:67, 199, 143;
+ --spectrum-green-900-rgb:9, 157, 89;
--spectrum-green-900:rgba(var(--spectrum-green-900-rgb));
- --spectrum-green-1000-rgb:94, 217, 162;
+ --spectrum-green-1000-rgb:14, 175, 98;
--spectrum-green-1000:rgba(var(--spectrum-green-1000-rgb));
- --spectrum-green-1100-rgb:129, 233, 184;
+ --spectrum-green-1100-rgb:24, 193, 110;
--spectrum-green-1100:rgba(var(--spectrum-green-1100-rgb));
- --spectrum-green-1200-rgb:177, 244, 209;
+ --spectrum-green-1200-rgb:57, 215, 134;
--spectrum-green-1200:rgba(var(--spectrum-green-1200-rgb));
- --spectrum-green-1300-rgb:223, 250, 234;
+ --spectrum-green-1300-rgb:126, 231, 172;
--spectrum-green-1300:rgba(var(--spectrum-green-1300-rgb));
- --spectrum-green-1400-rgb:254, 255, 252;
+ --spectrum-green-1400-rgb:189, 241, 208;
--spectrum-green-1400:rgba(var(--spectrum-green-1400-rgb));
- --spectrum-seafoam-100-rgb:18, 65, 63;
+ --spectrum-green-1500-rgb:229, 250, 236;
+ --spectrum-green-1500:rgba(var(--spectrum-green-1500-rgb));
+ --spectrum-green-1600-rgb:255, 255, 255;
+ --spectrum-green-1600:rgba(var(--spectrum-green-1600-rgb));
+ --spectrum-seafoam-100-rgb:0, 30, 27;
--spectrum-seafoam-100:rgba(var(--spectrum-seafoam-100-rgb));
- --spectrum-seafoam-200-rgb:14, 76, 73;
+ --spectrum-seafoam-200-rgb:0, 39, 35;
--spectrum-seafoam-200:rgba(var(--spectrum-seafoam-200-rgb));
- --spectrum-seafoam-300-rgb:4, 90, 87;
+ --spectrum-seafoam-300-rgb:0, 50, 44;
--spectrum-seafoam-300:rgba(var(--spectrum-seafoam-300-rgb));
- --spectrum-seafoam-400-rgb:0, 105, 101;
+ --spectrum-seafoam-400-rgb:0, 67, 59;
--spectrum-seafoam-400:rgba(var(--spectrum-seafoam-400-rgb));
- --spectrum-seafoam-500-rgb:0, 122, 117;
+ --spectrum-seafoam-500-rgb:2, 86, 75;
--spectrum-seafoam-500:rgba(var(--spectrum-seafoam-500-rgb));
- --spectrum-seafoam-600-rgb:0, 140, 135;
+ --spectrum-seafoam-600-rgb:4, 105, 89;
--spectrum-seafoam-600:rgba(var(--spectrum-seafoam-600-rgb));
- --spectrum-seafoam-700-rgb:0, 158, 152;
+ --spectrum-seafoam-700-rgb:6, 122, 103;
--spectrum-seafoam-700:rgba(var(--spectrum-seafoam-700-rgb));
- --spectrum-seafoam-800-rgb:3, 178, 171;
+ --spectrum-seafoam-800-rgb:8, 134, 112;
--spectrum-seafoam-800:rgba(var(--spectrum-seafoam-800-rgb));
- --spectrum-seafoam-900-rgb:54, 197, 189;
+ --spectrum-seafoam-900-rgb:10, 154, 128;
--spectrum-seafoam-900:rgba(var(--spectrum-seafoam-900-rgb));
- --spectrum-seafoam-1000-rgb:93, 214, 207;
+ --spectrum-seafoam-1000-rgb:12, 173, 142;
--spectrum-seafoam-1000:rgba(var(--spectrum-seafoam-1000-rgb));
- --spectrum-seafoam-1100-rgb:132, 230, 223;
+ --spectrum-seafoam-1100-rgb:14, 190, 156;
--spectrum-seafoam-1100:rgba(var(--spectrum-seafoam-1100-rgb));
- --spectrum-seafoam-1200-rgb:176, 242, 236;
+ --spectrum-seafoam-1200-rgb:29, 214, 176;
--spectrum-seafoam-1200:rgba(var(--spectrum-seafoam-1200-rgb));
- --spectrum-seafoam-1300-rgb:223, 249, 246;
+ --spectrum-seafoam-1300-rgb:122, 229, 203;
--spectrum-seafoam-1300:rgba(var(--spectrum-seafoam-1300-rgb));
- --spectrum-seafoam-1400-rgb:254, 255, 254;
+ --spectrum-seafoam-1400-rgb:186, 241, 222;
--spectrum-seafoam-1400:rgba(var(--spectrum-seafoam-1400-rgb));
- --spectrum-cyan-100-rgb:0, 61, 98;
+ --spectrum-seafoam-1500-rgb:229, 249, 243;
+ --spectrum-seafoam-1500:rgba(var(--spectrum-seafoam-1500-rgb));
+ --spectrum-seafoam-1600-rgb:255, 255, 255;
+ --spectrum-seafoam-1600:rgba(var(--spectrum-seafoam-1600-rgb));
+ --spectrum-cyan-100-rgb:0, 29, 39;
--spectrum-cyan-100:rgba(var(--spectrum-cyan-100-rgb));
- --spectrum-cyan-200-rgb:0, 71, 111;
+ --spectrum-cyan-200-rgb:0, 36, 49;
--spectrum-cyan-200:rgba(var(--spectrum-cyan-200-rgb));
- --spectrum-cyan-300-rgb:0, 85, 127;
+ --spectrum-cyan-300-rgb:0, 48, 65;
--spectrum-cyan-300:rgba(var(--spectrum-cyan-300-rgb));
- --spectrum-cyan-400-rgb:0, 100, 145;
+ --spectrum-cyan-400-rgb:0, 64, 88;
--spectrum-cyan-400:rgba(var(--spectrum-cyan-400-rgb));
- --spectrum-cyan-500-rgb:0, 116, 162;
+ --spectrum-cyan-500-rgb:0, 82, 113;
--spectrum-cyan-500:rgba(var(--spectrum-cyan-500-rgb));
- --spectrum-cyan-600-rgb:0, 134, 180;
+ --spectrum-cyan-600-rgb:3, 99, 140;
--spectrum-cyan-600:rgba(var(--spectrum-cyan-600-rgb));
- --spectrum-cyan-700-rgb:0, 153, 198;
+ --spectrum-cyan-700-rgb:8, 115, 168;
--spectrum-cyan-700:rgba(var(--spectrum-cyan-700-rgb));
- --spectrum-cyan-800-rgb:14, 173, 215;
+ --spectrum-cyan-800-rgb:13, 125, 186;
--spectrum-cyan-800:rgba(var(--spectrum-cyan-800-rgb));
- --spectrum-cyan-900-rgb:44, 193, 230;
+ --spectrum-cyan-900-rgb:24, 142, 220;
--spectrum-cyan-900:rgba(var(--spectrum-cyan-900-rgb));
- --spectrum-cyan-1000-rgb:84, 211, 241;
+ --spectrum-cyan-1000-rgb:38, 159, 244;
--spectrum-cyan-1000:rgba(var(--spectrum-cyan-1000-rgb));
- --spectrum-cyan-1100-rgb:127, 228, 249;
+ --spectrum-cyan-1100-rgb:63, 177, 255;
--spectrum-cyan-1100:rgba(var(--spectrum-cyan-1100-rgb));
- --spectrum-cyan-1200-rgb:167, 241, 255;
+ --spectrum-cyan-1200-rgb:107, 199, 255;
--spectrum-cyan-1200:rgba(var(--spectrum-cyan-1200-rgb));
- --spectrum-cyan-1300-rgb:215, 250, 255;
+ --spectrum-cyan-1300-rgb:152, 219, 255;
--spectrum-cyan-1300:rgba(var(--spectrum-cyan-1300-rgb));
- --spectrum-cyan-1400-rgb:255, 255, 255;
+ --spectrum-cyan-1400-rgb:195, 236, 252;
--spectrum-cyan-1400:rgba(var(--spectrum-cyan-1400-rgb));
- --spectrum-indigo-100-rgb:40, 44, 140;
+ --spectrum-cyan-1500-rgb:230, 248, 253;
+ --spectrum-cyan-1500:rgba(var(--spectrum-cyan-1500-rgb));
+ --spectrum-cyan-1600-rgb:255, 255, 255;
+ --spectrum-cyan-1600:rgba(var(--spectrum-cyan-1600-rgb));
+ --spectrum-indigo-100-rgb:30, 0, 93;
--spectrum-indigo-100:rgba(var(--spectrum-indigo-100-rgb));
- --spectrum-indigo-200-rgb:47, 52, 163;
+ --spectrum-indigo-200-rgb:35, 0, 110;
--spectrum-indigo-200:rgba(var(--spectrum-indigo-200-rgb));
- --spectrum-indigo-300-rgb:57, 63, 187;
+ --spectrum-indigo-300-rgb:47, 0, 140;
--spectrum-indigo-300:rgba(var(--spectrum-indigo-300-rgb));
- --spectrum-indigo-400-rgb:70, 75, 211;
+ --spectrum-indigo-400-rgb:62, 12, 174;
--spectrum-indigo-400:rgba(var(--spectrum-indigo-400-rgb));
- --spectrum-indigo-500-rgb:85, 91, 231;
+ --spectrum-indigo-500-rgb:79, 30, 209;
--spectrum-indigo-500:rgba(var(--spectrum-indigo-500-rgb));
- --spectrum-indigo-600-rgb:104, 109, 244;
+ --spectrum-indigo-600-rgb:95, 52, 235;
--spectrum-indigo-600:rgba(var(--spectrum-indigo-600-rgb));
- --spectrum-indigo-700-rgb:124, 129, 251;
+ --spectrum-indigo-700-rgb:109, 75, 248;
--spectrum-indigo-700:rgba(var(--spectrum-indigo-700-rgb));
- --spectrum-indigo-800-rgb:145, 149, 255;
+ --spectrum-indigo-800-rgb:116, 91, 252;
--spectrum-indigo-800:rgba(var(--spectrum-indigo-800-rgb));
- --spectrum-indigo-900-rgb:167, 170, 255;
+ --spectrum-indigo-900-rgb:128, 119, 254;
--spectrum-indigo-900:rgba(var(--spectrum-indigo-900-rgb));
- --spectrum-indigo-1000-rgb:188, 190, 255;
+ --spectrum-indigo-1000-rgb:139, 141, 254;
--spectrum-indigo-1000:rgba(var(--spectrum-indigo-1000-rgb));
- --spectrum-indigo-1100-rgb:208, 210, 255;
+ --spectrum-indigo-1100-rgb:153, 161, 255;
--spectrum-indigo-1100:rgba(var(--spectrum-indigo-1100-rgb));
- --spectrum-indigo-1200-rgb:226, 228, 255;
+ --spectrum-indigo-1200-rgb:176, 186, 255;
--spectrum-indigo-1200:rgba(var(--spectrum-indigo-1200-rgb));
- --spectrum-indigo-1300-rgb:243, 243, 254;
+ --spectrum-indigo-1300-rgb:199, 208, 255;
--spectrum-indigo-1300:rgba(var(--spectrum-indigo-1300-rgb));
- --spectrum-indigo-1400-rgb:255, 255, 255;
+ --spectrum-indigo-1400-rgb:223, 228, 255;
--spectrum-indigo-1400:rgba(var(--spectrum-indigo-1400-rgb));
- --spectrum-purple-100-rgb:76, 13, 157;
+ --spectrum-indigo-1500-rgb:243, 244, 255;
+ --spectrum-indigo-1500:rgba(var(--spectrum-indigo-1500-rgb));
+ --spectrum-indigo-1600-rgb:255, 255, 255;
+ --spectrum-indigo-1600:rgba(var(--spectrum-indigo-1600-rgb));
+ --spectrum-purple-100-rgb:41, 0, 79;
--spectrum-purple-100:rgba(var(--spectrum-purple-100-rgb));
- --spectrum-purple-200-rgb:89, 17, 177;
+ --spectrum-purple-200-rgb:50, 0, 96;
--spectrum-purple-200:rgba(var(--spectrum-purple-200-rgb));
- --spectrum-purple-300-rgb:105, 28, 200;
+ --spectrum-purple-300-rgb:64, 0, 122;
--spectrum-purple-300:rgba(var(--spectrum-purple-300-rgb));
- --spectrum-purple-400-rgb:122, 45, 218;
+ --spectrum-purple-400-rgb:83, 0, 159;
--spectrum-purple-400:rgba(var(--spectrum-purple-400-rgb));
- --spectrum-purple-500-rgb:140, 65, 233;
+ --spectrum-purple-500-rgb:107, 6, 195;
--spectrum-purple-500:rgba(var(--spectrum-purple-500-rgb));
- --spectrum-purple-600-rgb:157, 87, 243;
+ --spectrum-purple-600-rgb:130, 34, 215;
--spectrum-purple-600:rgba(var(--spectrum-purple-600-rgb));
- --spectrum-purple-700-rgb:172, 111, 249;
+ --spectrum-purple-700-rgb:148, 62, 224;
--spectrum-purple-700:rgba(var(--spectrum-purple-700-rgb));
- --spectrum-purple-800-rgb:187, 135, 251;
+ --spectrum-purple-800-rgb:157, 78, 228;
--spectrum-purple-800:rgba(var(--spectrum-purple-800-rgb));
- --spectrum-purple-900-rgb:202, 159, 252;
+ --spectrum-purple-900-rgb:173, 105, 233;
--spectrum-purple-900:rgba(var(--spectrum-purple-900-rgb));
- --spectrum-purple-1000-rgb:215, 182, 254;
+ --spectrum-purple-1000-rgb:186, 127, 237;
--spectrum-purple-1000:rgba(var(--spectrum-purple-1000-rgb));
- --spectrum-purple-1100-rgb:228, 204, 254;
+ --spectrum-purple-1100-rgb:197, 149, 240;
--spectrum-purple-1100:rgba(var(--spectrum-purple-1100-rgb));
- --spectrum-purple-1200-rgb:239, 223, 255;
+ --spectrum-purple-1200-rgb:212, 176, 244;
--spectrum-purple-1200:rgba(var(--spectrum-purple-1200-rgb));
- --spectrum-purple-1300-rgb:249, 240, 255;
+ --spectrum-purple-1300-rgb:225, 201, 247;
--spectrum-purple-1300:rgba(var(--spectrum-purple-1300-rgb));
- --spectrum-purple-1400-rgb:255, 253, 255;
+ --spectrum-purple-1400-rgb:238, 224, 250;
--spectrum-purple-1400:rgba(var(--spectrum-purple-1400-rgb));
- --spectrum-fuchsia-100-rgb:107, 3, 106;
+ --spectrum-purple-1500-rgb:248, 243, 253;
+ --spectrum-purple-1500:rgba(var(--spectrum-purple-1500-rgb));
+ --spectrum-purple-1600-rgb:255, 255, 255;
+ --spectrum-purple-1600:rgba(var(--spectrum-purple-1600-rgb));
+ --spectrum-fuchsia-100-rgb:50, 0, 61;
--spectrum-fuchsia-100:rgba(var(--spectrum-fuchsia-100-rgb));
- --spectrum-fuchsia-200-rgb:123, 0, 123;
+ --spectrum-fuchsia-200-rgb:61, 0, 74;
--spectrum-fuchsia-200:rgba(var(--spectrum-fuchsia-200-rgb));
- --spectrum-fuchsia-300-rgb:144, 0, 145;
+ --spectrum-fuchsia-300-rgb:79, 0, 95;
--spectrum-fuchsia-300:rgba(var(--spectrum-fuchsia-300-rgb));
- --spectrum-fuchsia-400-rgb:165, 13, 166;
+ --spectrum-fuchsia-400-rgb:102, 9, 120;
--spectrum-fuchsia-400:rgba(var(--spectrum-fuchsia-400-rgb));
- --spectrum-fuchsia-500-rgb:185, 37, 185;
+ --spectrum-fuchsia-500-rgb:127, 23, 146;
--spectrum-fuchsia-500:rgba(var(--spectrum-fuchsia-500-rgb));
- --spectrum-fuchsia-600-rgb:205, 57, 206;
+ --spectrum-fuchsia-600-rgb:151, 38, 170;
--spectrum-fuchsia-600:rgba(var(--spectrum-fuchsia-600-rgb));
- --spectrum-fuchsia-700-rgb:223, 81, 224;
+ --spectrum-fuchsia-700-rgb:173, 51, 192;
--spectrum-fuchsia-700:rgba(var(--spectrum-fuchsia-700-rgb));
- --spectrum-fuchsia-800-rgb:235, 110, 236;
+ --spectrum-fuchsia-800-rgb:186, 60, 206;
--spectrum-fuchsia-800:rgba(var(--spectrum-fuchsia-800-rgb));
- --spectrum-fuchsia-900-rgb:244, 140, 242;
+ --spectrum-fuchsia-900-rgb:213, 73, 235;
--spectrum-fuchsia-900:rgba(var(--spectrum-fuchsia-900-rgb));
- --spectrum-fuchsia-1000-rgb:250, 168, 245;
+ --spectrum-fuchsia-1000-rgb:232, 91, 253;
--spectrum-fuchsia-1000:rgba(var(--spectrum-fuchsia-1000-rgb));
- --spectrum-fuchsia-1100-rgb:254, 194, 248;
+ --spectrum-fuchsia-1100-rgb:240, 122, 255;
--spectrum-fuchsia-1100:rgba(var(--spectrum-fuchsia-1100-rgb));
- --spectrum-fuchsia-1200-rgb:255, 219, 250;
+ --spectrum-fuchsia-1200-rgb:245, 159, 255;
--spectrum-fuchsia-1200:rgba(var(--spectrum-fuchsia-1200-rgb));
- --spectrum-fuchsia-1300-rgb:255, 239, 252;
+ --spectrum-fuchsia-1300-rgb:248, 191, 255;
--spectrum-fuchsia-1300:rgba(var(--spectrum-fuchsia-1300-rgb));
- --spectrum-fuchsia-1400-rgb:255, 253, 255;
+ --spectrum-fuchsia-1400-rgb:251, 219, 255;
--spectrum-fuchsia-1400:rgba(var(--spectrum-fuchsia-1400-rgb));
- --spectrum-magenta-100-rgb:118, 0, 58;
+ --spectrum-fuchsia-1500-rgb:253, 241, 255;
+ --spectrum-fuchsia-1500:rgba(var(--spectrum-fuchsia-1500-rgb));
+ --spectrum-fuchsia-1600-rgb:255, 255, 255;
+ --spectrum-fuchsia-1600:rgba(var(--spectrum-fuchsia-1600-rgb));
+ --spectrum-magenta-100-rgb:59, 0, 22;
--spectrum-magenta-100:rgba(var(--spectrum-magenta-100-rgb));
- --spectrum-magenta-200-rgb:137, 0, 66;
+ --spectrum-magenta-200-rgb:74, 0, 27;
--spectrum-magenta-200:rgba(var(--spectrum-magenta-200-rgb));
- --spectrum-magenta-300-rgb:160, 0, 77;
+ --spectrum-magenta-300-rgb:93, 0, 34;
--spectrum-magenta-300:rgba(var(--spectrum-magenta-300-rgb));
- --spectrum-magenta-400-rgb:182, 18, 90;
+ --spectrum-magenta-400-rgb:123, 0, 45;
--spectrum-magenta-400:rgba(var(--spectrum-magenta-400-rgb));
- --spectrum-magenta-500-rgb:203, 38, 109;
+ --spectrum-magenta-500-rgb:152, 7, 60;
--spectrum-magenta-500:rgba(var(--spectrum-magenta-500-rgb));
- --spectrum-magenta-600-rgb:222, 61, 130;
+ --spectrum-magenta-600-rgb:181, 19, 76;
--spectrum-magenta-600:rgba(var(--spectrum-magenta-600-rgb));
- --spectrum-magenta-700-rgb:237, 87, 149;
+ --spectrum-magenta-700-rgb:207, 31, 92;
--spectrum-magenta-700:rgba(var(--spectrum-magenta-700-rgb));
- --spectrum-magenta-800-rgb:249, 114, 167;
+ --spectrum-magenta-800-rgb:224, 38, 101;
--spectrum-magenta-800:rgba(var(--spectrum-magenta-800-rgb));
- --spectrum-magenta-900-rgb:255, 143, 185;
+ --spectrum-magenta-900-rgb:255, 51, 119;
--spectrum-magenta-900:rgba(var(--spectrum-magenta-900-rgb));
- --spectrum-magenta-1000-rgb:255, 172, 202;
+ --spectrum-magenta-1000-rgb:255, 96, 149;
--spectrum-magenta-1000:rgba(var(--spectrum-magenta-1000-rgb));
- --spectrum-magenta-1100-rgb:255, 198, 218;
+ --spectrum-magenta-1100-rgb:255, 128, 171;
--spectrum-magenta-1100:rgba(var(--spectrum-magenta-1100-rgb));
- --spectrum-magenta-1200-rgb:255, 221, 233;
+ --spectrum-magenta-1200-rgb:255, 163, 194;
--spectrum-magenta-1200:rgba(var(--spectrum-magenta-1200-rgb));
- --spectrum-magenta-1300-rgb:255, 240, 245;
+ --spectrum-magenta-1300-rgb:255, 193, 214;
--spectrum-magenta-1300:rgba(var(--spectrum-magenta-1300-rgb));
- --spectrum-magenta-1400-rgb:255, 252, 253;
+ --spectrum-magenta-1400-rgb:255, 220, 232;
--spectrum-magenta-1400:rgba(var(--spectrum-magenta-1400-rgb));
+ --spectrum-magenta-1500-rgb:255, 241, 246;
+ --spectrum-magenta-1500:rgba(var(--spectrum-magenta-1500-rgb));
+ --spectrum-magenta-1600-rgb:255, 255, 255;
+ --spectrum-magenta-1600:rgba(var(--spectrum-magenta-1600-rgb));
+ --spectrum-pink-100-rgb:58, 0, 37;
+ --spectrum-pink-100:rgba(var(--spectrum-pink-100-rgb));
+ --spectrum-pink-200-rgb:71, 0, 44;
+ --spectrum-pink-200:rgba(var(--spectrum-pink-200-rgb));
+ --spectrum-pink-300-rgb:90, 0, 57;
+ --spectrum-pink-300:rgba(var(--spectrum-pink-300-rgb));
+ --spectrum-pink-400-rgb:115, 7, 75;
+ --spectrum-pink-400:rgba(var(--spectrum-pink-400-rgb));
+ --spectrum-pink-500-rgb:143, 18, 97;
+ --spectrum-pink-500:rgba(var(--spectrum-pink-500-rgb));
+ --spectrum-pink-600-rgb:171, 29, 119;
+ --spectrum-pink-600:rgba(var(--spectrum-pink-600-rgb));
+ --spectrum-pink-700-rgb:196, 39, 138;
+ --spectrum-pink-700:rgba(var(--spectrum-pink-700-rgb));
+ --spectrum-pink-800-rgb:213, 45, 151;
+ --spectrum-pink-800:rgba(var(--spectrum-pink-800-rgb));
+ --spectrum-pink-900-rgb:236, 67, 175;
+ --spectrum-pink-900:rgba(var(--spectrum-pink-900-rgb));
+ --spectrum-pink-1000-rgb:251, 90, 196;
+ --spectrum-pink-1000:rgba(var(--spectrum-pink-1000-rgb));
+ --spectrum-pink-1100-rgb:255, 122, 210;
+ --spectrum-pink-1100:rgba(var(--spectrum-pink-1100-rgb));
+ --spectrum-pink-1200-rgb:255, 159, 223;
+ --spectrum-pink-1200:rgba(var(--spectrum-pink-1200-rgb));
+ --spectrum-pink-1300-rgb:255, 191, 234;
+ --spectrum-pink-1300:rgba(var(--spectrum-pink-1300-rgb));
+ --spectrum-pink-1400-rgb:255, 219, 243;
+ --spectrum-pink-1400:rgba(var(--spectrum-pink-1400-rgb));
+ --spectrum-pink-1500-rgb:255, 241, 250;
+ --spectrum-pink-1500:rgba(var(--spectrum-pink-1500-rgb));
+ --spectrum-pink-1600-rgb:255, 255, 255;
+ --spectrum-pink-1600:rgba(var(--spectrum-pink-1600-rgb));
+ --spectrum-turquoise-100-rgb:0, 30, 33;
+ --spectrum-turquoise-100:rgba(var(--spectrum-turquoise-100-rgb));
+ --spectrum-turquoise-200-rgb:0, 37, 41;
+ --spectrum-turquoise-200:rgba(var(--spectrum-turquoise-200-rgb));
+ --spectrum-turquoise-300-rgb:0, 49, 54;
+ --spectrum-turquoise-300:rgba(var(--spectrum-turquoise-300-rgb));
+ --spectrum-turquoise-400-rgb:0, 66, 72;
+ --spectrum-turquoise-400:rgba(var(--spectrum-turquoise-400-rgb));
+ --spectrum-turquoise-500-rgb:3, 84, 92;
+ --spectrum-turquoise-500:rgba(var(--spectrum-turquoise-500-rgb));
+ --spectrum-turquoise-600-rgb:5, 103, 112;
+ --spectrum-turquoise-600:rgba(var(--spectrum-turquoise-600-rgb));
+ --spectrum-turquoise-700-rgb:7, 120, 131;
+ --spectrum-turquoise-700:rgba(var(--spectrum-turquoise-700-rgb));
+ --spectrum-turquoise-800-rgb:9, 131, 142;
+ --spectrum-turquoise-800:rgba(var(--spectrum-turquoise-800-rgb));
+ --spectrum-turquoise-900-rgb:11, 151, 164;
+ --spectrum-turquoise-900:rgba(var(--spectrum-turquoise-900-rgb));
+ --spectrum-turquoise-1000-rgb:13, 168, 182;
+ --spectrum-turquoise-1000:rgba(var(--spectrum-turquoise-1000-rgb));
+ --spectrum-turquoise-1100-rgb:16, 186, 202;
+ --spectrum-turquoise-1100:rgba(var(--spectrum-turquoise-1100-rgb));
+ --spectrum-turquoise-1200-rgb:64, 208, 220;
+ --spectrum-turquoise-1200:rgba(var(--spectrum-turquoise-1200-rgb));
+ --spectrum-turquoise-1300-rgb:128, 225, 231;
+ --spectrum-turquoise-1300:rgba(var(--spectrum-turquoise-1300-rgb));
+ --spectrum-turquoise-1400-rgb:183, 240, 240;
+ --spectrum-turquoise-1400:rgba(var(--spectrum-turquoise-1400-rgb));
+ --spectrum-turquoise-1500-rgb:228, 249, 249;
+ --spectrum-turquoise-1500:rgba(var(--spectrum-turquoise-1500-rgb));
+ --spectrum-turquoise-1600-rgb:255, 255, 255;
+ --spectrum-turquoise-1600:rgba(var(--spectrum-turquoise-1600-rgb));
+ --spectrum-brown-100-rgb:35, 24, 8;
+ --spectrum-brown-100:rgba(var(--spectrum-brown-100-rgb));
+ --spectrum-brown-200-rgb:44, 31, 11;
+ --spectrum-brown-200:rgba(var(--spectrum-brown-200-rgb));
+ --spectrum-brown-300-rgb:58, 40, 14;
+ --spectrum-brown-300:rgba(var(--spectrum-brown-300-rgb));
+ --spectrum-brown-400-rgb:78, 55, 19;
+ --spectrum-brown-400:rgba(var(--spectrum-brown-400-rgb));
+ --spectrum-brown-500-rgb:98, 71, 30;
+ --spectrum-brown-500:rgba(var(--spectrum-brown-500-rgb));
+ --spectrum-brown-600-rgb:115, 88, 47;
+ --spectrum-brown-600:rgba(var(--spectrum-brown-600-rgb));
+ --spectrum-brown-700-rgb:132, 104, 61;
+ --spectrum-brown-700:rgba(var(--spectrum-brown-700-rgb));
+ --spectrum-brown-800-rgb:143, 114, 69;
+ --spectrum-brown-800:rgba(var(--spectrum-brown-800-rgb));
+ --spectrum-brown-900-rgb:163, 132, 84;
+ --spectrum-brown-900:rgba(var(--spectrum-brown-900-rgb));
+ --spectrum-brown-1000-rgb:181, 147, 98;
+ --spectrum-brown-1000:rgba(var(--spectrum-brown-1000-rgb));
+ --spectrum-brown-1100-rgb:199, 163, 112;
+ --spectrum-brown-1100:rgba(var(--spectrum-brown-1100-rgb));
+ --spectrum-brown-1200-rgb:222, 185, 130;
+ --spectrum-brown-1200:rgba(var(--spectrum-brown-1200-rgb));
+ --spectrum-brown-1300-rgb:232, 207, 169;
+ --spectrum-brown-1300:rgba(var(--spectrum-brown-1300-rgb));
+ --spectrum-brown-1400-rgb:242, 227, 206;
+ --spectrum-brown-1400:rgba(var(--spectrum-brown-1400-rgb));
+ --spectrum-brown-1500-rgb:250, 244, 236;
+ --spectrum-brown-1500:rgba(var(--spectrum-brown-1500-rgb));
+ --spectrum-brown-1600-rgb:255, 255, 255;
+ --spectrum-brown-1600:rgba(var(--spectrum-brown-1600-rgb));
+ --spectrum-silver-100-rgb:26, 26, 26;
+ --spectrum-silver-100:rgba(var(--spectrum-silver-100-rgb));
+ --spectrum-silver-200-rgb:33, 33, 33;
+ --spectrum-silver-200:rgba(var(--spectrum-silver-200-rgb));
+ --spectrum-silver-300-rgb:44, 44, 44;
+ --spectrum-silver-300:rgba(var(--spectrum-silver-300-rgb));
+ --spectrum-silver-400-rgb:59, 59, 59;
+ --spectrum-silver-400:rgba(var(--spectrum-silver-400-rgb));
+ --spectrum-silver-500-rgb:76, 76, 76;
+ --spectrum-silver-500:rgba(var(--spectrum-silver-500-rgb));
+ --spectrum-silver-600-rgb:92, 92, 92;
+ --spectrum-silver-600:rgba(var(--spectrum-silver-600-rgb));
+ --spectrum-silver-700-rgb:108, 108, 108;
+ --spectrum-silver-700:rgba(var(--spectrum-silver-700-rgb));
+ --spectrum-silver-800-rgb:118, 118, 118;
+ --spectrum-silver-800:rgba(var(--spectrum-silver-800-rgb));
+ --spectrum-silver-900-rgb:137, 137, 137;
+ --spectrum-silver-900:rgba(var(--spectrum-silver-900-rgb));
+ --spectrum-silver-1000-rgb:152, 152, 152;
+ --spectrum-silver-1000:rgba(var(--spectrum-silver-1000-rgb));
+ --spectrum-silver-1100-rgb:169, 169, 169;
+ --spectrum-silver-1100:rgba(var(--spectrum-silver-1100-rgb));
+ --spectrum-silver-1200-rgb:190, 190, 190;
+ --spectrum-silver-1200:rgba(var(--spectrum-silver-1200-rgb));
+ --spectrum-silver-1300-rgb:211, 211, 211;
+ --spectrum-silver-1300:rgba(var(--spectrum-silver-1300-rgb));
+ --spectrum-silver-1400-rgb:229, 229, 229;
+ --spectrum-silver-1400:rgba(var(--spectrum-silver-1400-rgb));
+ --spectrum-silver-1500-rgb:244, 244, 244;
+ --spectrum-silver-1500:rgba(var(--spectrum-silver-1500-rgb));
+ --spectrum-silver-1600-rgb:255, 255, 255;
+ --spectrum-silver-1600:rgba(var(--spectrum-silver-1600-rgb));
+ --spectrum-cinnamon-100-rgb:48, 17, 4;
+ --spectrum-cinnamon-100:rgba(var(--spectrum-cinnamon-100-rgb));
+ --spectrum-cinnamon-200-rgb:59, 21, 5;
+ --spectrum-cinnamon-200:rgba(var(--spectrum-cinnamon-200-rgb));
+ --spectrum-cinnamon-300-rgb:79, 28, 7;
+ --spectrum-cinnamon-300:rgba(var(--spectrum-cinnamon-300-rgb));
+ --spectrum-cinnamon-400-rgb:100, 41, 15;
+ --spectrum-cinnamon-400:rgba(var(--spectrum-cinnamon-400-rgb));
+ --spectrum-cinnamon-500-rgb:122, 57, 28;
+ --spectrum-cinnamon-500:rgba(var(--spectrum-cinnamon-500-rgb));
+ --spectrum-cinnamon-600-rgb:143, 74, 40;
+ --spectrum-cinnamon-600:rgba(var(--spectrum-cinnamon-600-rgb));
+ --spectrum-cinnamon-700-rgb:163, 88, 52;
+ --spectrum-cinnamon-700:rgba(var(--spectrum-cinnamon-700-rgb));
+ --spectrum-cinnamon-800-rgb:176, 98, 59;
+ --spectrum-cinnamon-800:rgba(var(--spectrum-cinnamon-800-rgb));
+ --spectrum-cinnamon-900-rgb:192, 119, 80;
+ --spectrum-cinnamon-900:rgba(var(--spectrum-cinnamon-900-rgb));
+ --spectrum-cinnamon-1000-rgb:206, 136, 99;
+ --spectrum-cinnamon-1000:rgba(var(--spectrum-cinnamon-1000-rgb));
+ --spectrum-cinnamon-1100-rgb:220, 154, 118;
+ --spectrum-cinnamon-1100:rgba(var(--spectrum-cinnamon-1100-rgb));
+ --spectrum-cinnamon-1200-rgb:232, 179, 149;
+ --spectrum-cinnamon-1200:rgba(var(--spectrum-cinnamon-1200-rgb));
+ --spectrum-cinnamon-1300-rgb:239, 203, 183;
+ --spectrum-cinnamon-1300:rgba(var(--spectrum-cinnamon-1300-rgb));
+ --spectrum-cinnamon-1400-rgb:246, 225, 214;
+ --spectrum-cinnamon-1400:rgba(var(--spectrum-cinnamon-1400-rgb));
+ --spectrum-cinnamon-1500-rgb:252, 244, 239;
+ --spectrum-cinnamon-1500:rgba(var(--spectrum-cinnamon-1500-rgb));
+ --spectrum-cinnamon-1600-rgb:255, 255, 255;
+ --spectrum-cinnamon-1600:rgba(var(--spectrum-cinnamon-1600-rgb));
--spectrum-icon-color-blue-primary-default:var(--spectrum-blue-800);
--spectrum-icon-color-green-primary-default:var(--spectrum-green-800);
--spectrum-icon-color-red-primary-default:var(--spectrum-red-700);
--spectrum-icon-color-yellow-primary-default:var(--spectrum-yellow-1000);
+ --spectrum-negative-subdued-background-color-default:var(--spectrum-negative-subtle-background-color-default);
+ --spectrum-accent-subtle-background-color-default:var(--spectrum-accent-color-300);
+ --spectrum-informative-subtle-background-color-default:var(--spectrum-informative-color-300);
+ --spectrum-positive-subtle-background-color-default:var(--spectrum-positive-color-300);
+ --spectrum-notice-subtle-background-color-default:var(--spectrum-notice-color-300);
+ --spectrum-negative-subtle-background-color-default:var(--spectrum-negative-color-300);
+ --color-scheme:dark;
+ --spectrum-assetcard-border-color-selected:var(--spectrum-blue-800);
+ --spectrum-assetcard-border-color-selected-hover:var(--spectrum-blue-800);
+ --spectrum-assetcard-border-color-selected-down:var(--spectrum-blue-900);
+ --spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-blue-800);
+ --spectrum-assestcard-focus-indicator-color:var(--spectrum-blue-700);
+
+ --spectrum-assetlist-item-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.25);
+ --spectrum-assetlist-item-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.15);
+ --spectrum-assetlist-border-color-key-focus:var(--spectrum-blue-700);
+
+ --spectrum-badge-label-icon-color-primary:var(--spectrum-black);
+
+ --spectrum-calendar-day-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.15);
+ --spectrum-calendar-day-background-color-hover:rgba(var(--spectrum-white-rgb), 0.07);
+ --spectrum-calendar-day-today-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.25);
+ --spectrum-calendar-day-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.25);
+ --spectrum-calendar-day-background-color-down:var(--spectrum-transparent-white-200);
+ --spectrum-calendar-day-background-color-cap-selected:rgba(var(--spectrum-blue-800-rgb), 0.25);
+ --spectrum-calendar-day-background-color-key-focus:rgba(var(--spectrum-white-rgb), 0.07);
+ --spectrum-calendar-day-border-color-key-focus:var(--spectrum-blue-700);
+
+ --spectrum-card-selected-background-color-rgb:var(--spectrum-blue-500-rgb);
+
+ --spectrum-coach-indicator-ring-default-color:var(--spectrum-blue-700);
+
+ --spectrum-drop-zone-background-color-rgb:var(--spectrum-blue-900-rgb);
+
+ --spectrum-dropindicator-color:var(--spectrum-blue-700);
+
+ --spectrum-logic-button-and-background-color:var(--spectrum-blue-800);
+ --spectrum-logic-button-and-border-color:var(--spectrum-blue-800);
+ --spectrum-logic-button-and-background-color-hover:var(--spectrum-blue-1000);
+ --spectrum-logic-button-and-border-color-hover:var(--spectrum-blue-1000);
+
+ --spectrum-logic-button-or-background-color:var(--spectrum-magenta-700);
+ --spectrum-logic-button-or-border-color:var(--spectrum-magenta-700);
+ --spectrum-logic-button-or-background-color-hover:var(--spectrum-magenta-900);
+ --spectrum-logic-button-or-border-color-hover:var(--spectrum-magenta-900);
+
+ --spectrum-steplist-current-marker-color-key-focus:var(--spectrum-blue-700);
+
+ --spectrum-swatch-border-color-rgb:255, 255, 255;
+
+ --spectrum-swatch-border-color-opacity:0.51;
+
+ --spectrum-swatch-border-color:rgba(var(--spectrum-swatch-border-color-rgb), var(--spectrum-swatch-border-color-opacity));
+ --spectrum-swatch-border-color-light-rgb:255, 255, 255;
+ --spectrum-swatch-border-color-light-opacity:0.20;
+ --spectrum-swatch-border-color-light:rgba(var(--spectrum-swatch-border-color-light-rgb), var(--spectrum-swatch-border-color-light-opacity));
+
+ --spectrum-treeview-item-background-color-quiet-selected:rgba(var(--spectrum-gray-900-rgb), 0.07);
+ --spectrum-treeview-item-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.15);
}
diff --git a/tokens/dist/css/darkest-vars.css b/tokens/dist/css/darkest-vars.css
deleted file mode 100644
index 084a3fc8753..00000000000
--- a/tokens/dist/css/darkest-vars.css
+++ /dev/null
@@ -1,472 +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.
- */
-
-.spectrum--darkest{
- --spectrum-overlay-opacity:0.6;
- --spectrum-drop-shadow-color-rgb:0, 0, 0;
- --spectrum-drop-shadow-color-opacity:0.8;
- --spectrum-drop-shadow-color:rgba(var(--spectrum-drop-shadow-color-rgb), var(--spectrum-drop-shadow-color-opacity));
- --spectrum-background-base-color:var(--spectrum-gray-50);
- --spectrum-background-layer-1-color:var(--spectrum-gray-75);
- --spectrum-background-layer-2-color:var(--spectrum-gray-100);
- --spectrum-neutral-background-color-default:var(--spectrum-gray-400);
- --spectrum-neutral-background-color-hover:var(--spectrum-gray-300);
- --spectrum-neutral-background-color-down:var(--spectrum-gray-200);
- --spectrum-neutral-background-color-key-focus:var(--spectrum-gray-300);
- --spectrum-neutral-subdued-background-color-default:var(--spectrum-gray-400);
- --spectrum-neutral-subdued-background-color-hover:var(--spectrum-gray-300);
- --spectrum-neutral-subdued-background-color-down:var(--spectrum-gray-200);
- --spectrum-neutral-subdued-background-color-key-focus:var(--spectrum-gray-300);
- --spectrum-accent-background-color-default:var(--spectrum-accent-color-600);
- --spectrum-accent-background-color-hover:var(--spectrum-accent-color-500);
- --spectrum-accent-background-color-down:var(--spectrum-accent-color-400);
- --spectrum-accent-background-color-key-focus:var(--spectrum-accent-color-500);
- --spectrum-informative-background-color-default:var(--spectrum-informative-color-600);
- --spectrum-informative-background-color-hover:var(--spectrum-informative-color-500);
- --spectrum-informative-background-color-down:var(--spectrum-informative-color-400);
- --spectrum-informative-background-color-key-focus:var(--spectrum-informative-color-500);
- --spectrum-negative-background-color-default:var(--spectrum-negative-color-600);
- --spectrum-negative-background-color-hover:var(--spectrum-negative-color-500);
- --spectrum-negative-background-color-down:var(--spectrum-negative-color-400);
- --spectrum-negative-background-color-key-focus:var(--spectrum-negative-color-500);
- --spectrum-positive-background-color-default:var(--spectrum-positive-color-600);
- --spectrum-positive-background-color-hover:var(--spectrum-positive-color-500);
- --spectrum-positive-background-color-down:var(--spectrum-positive-color-400);
- --spectrum-positive-background-color-key-focus:var(--spectrum-positive-color-500);
- --spectrum-notice-background-color-default:var(--spectrum-notice-color-800);
- --spectrum-gray-background-color-default:var(--spectrum-gray-700);
- --spectrum-red-background-color-default:var(--spectrum-red-700);
- --spectrum-orange-background-color-default:var(--spectrum-orange-800);
- --spectrum-yellow-background-color-default:var(--spectrum-yellow-1000);
- --spectrum-chartreuse-background-color-default:var(--spectrum-chartreuse-900);
- --spectrum-celery-background-color-default:var(--spectrum-celery-800);
- --spectrum-green-background-color-default:var(--spectrum-green-700);
- --spectrum-seafoam-background-color-default:var(--spectrum-seafoam-700);
- --spectrum-cyan-background-color-default:var(--spectrum-cyan-700);
- --spectrum-blue-background-color-default:var(--spectrum-blue-700);
- --spectrum-indigo-background-color-default:var(--spectrum-indigo-700);
- --spectrum-purple-background-color-default:var(--spectrum-purple-700);
- --spectrum-fuchsia-background-color-default:var(--spectrum-fuchsia-700);
- --spectrum-magenta-background-color-default:var(--spectrum-magenta-700);
- --spectrum-neutral-visual-color:var(--spectrum-gray-600);
- --spectrum-accent-visual-color:var(--spectrum-accent-color-900);
- --spectrum-informative-visual-color:var(--spectrum-informative-color-900);
- --spectrum-negative-visual-color:var(--spectrum-negative-color-700);
- --spectrum-notice-visual-color:var(--spectrum-notice-color-900);
- --spectrum-positive-visual-color:var(--spectrum-positive-color-800);
- --spectrum-gray-visual-color:var(--spectrum-gray-600);
- --spectrum-red-visual-color:var(--spectrum-red-700);
- --spectrum-orange-visual-color:var(--spectrum-orange-900);
- --spectrum-yellow-visual-color:var(--spectrum-yellow-1100);
- --spectrum-chartreuse-visual-color:var(--spectrum-chartreuse-900);
- --spectrum-celery-visual-color:var(--spectrum-celery-800);
- --spectrum-green-visual-color:var(--spectrum-green-800);
- --spectrum-seafoam-visual-color:var(--spectrum-seafoam-800);
- --spectrum-cyan-visual-color:var(--spectrum-cyan-900);
- --spectrum-blue-visual-color:var(--spectrum-blue-900);
- --spectrum-indigo-visual-color:var(--spectrum-indigo-900);
- --spectrum-purple-visual-color:var(--spectrum-purple-900);
- --spectrum-fuchsia-visual-color:var(--spectrum-fuchsia-900);
- --spectrum-magenta-visual-color:var(--spectrum-magenta-900);
- --spectrum-opacity-checkerboard-square-dark:var(--spectrum-gray-800);
- --spectrum-gray-50-rgb:0, 0, 0;
- --spectrum-gray-50:rgba(var(--spectrum-gray-50-rgb));
- --spectrum-gray-75-rgb:14, 14, 14;
- --spectrum-gray-75:rgba(var(--spectrum-gray-75-rgb));
- --spectrum-gray-100-rgb:29, 29, 29;
- --spectrum-gray-100:rgba(var(--spectrum-gray-100-rgb));
- --spectrum-gray-200-rgb:48, 48, 48;
- --spectrum-gray-200:rgba(var(--spectrum-gray-200-rgb));
- --spectrum-gray-300-rgb:75, 75, 75;
- --spectrum-gray-300:rgba(var(--spectrum-gray-300-rgb));
- --spectrum-gray-400-rgb:106, 106, 106;
- --spectrum-gray-400:rgba(var(--spectrum-gray-400-rgb));
- --spectrum-gray-500-rgb:141, 141, 141;
- --spectrum-gray-500:rgba(var(--spectrum-gray-500-rgb));
- --spectrum-gray-600-rgb:176, 176, 176;
- --spectrum-gray-600:rgba(var(--spectrum-gray-600-rgb));
- --spectrum-gray-700-rgb:208, 208, 208;
- --spectrum-gray-700:rgba(var(--spectrum-gray-700-rgb));
- --spectrum-gray-800-rgb:235, 235, 235;
- --spectrum-gray-800:rgba(var(--spectrum-gray-800-rgb));
- --spectrum-gray-900-rgb:255, 255, 255;
- --spectrum-gray-900:rgba(var(--spectrum-gray-900-rgb));
- --spectrum-blue-100-rgb:0, 38, 81;
- --spectrum-blue-100:rgba(var(--spectrum-blue-100-rgb));
- --spectrum-blue-200-rgb:0, 50, 106;
- --spectrum-blue-200:rgba(var(--spectrum-blue-200-rgb));
- --spectrum-blue-300-rgb:0, 64, 135;
- --spectrum-blue-300:rgba(var(--spectrum-blue-300-rgb));
- --spectrum-blue-400-rgb:0, 78, 166;
- --spectrum-blue-400:rgba(var(--spectrum-blue-400-rgb));
- --spectrum-blue-500-rgb:0, 92, 200;
- --spectrum-blue-500:rgba(var(--spectrum-blue-500-rgb));
- --spectrum-blue-600-rgb:6, 108, 231;
- --spectrum-blue-600:rgba(var(--spectrum-blue-600-rgb));
- --spectrum-blue-700-rgb:29, 128, 245;
- --spectrum-blue-700:rgba(var(--spectrum-blue-700-rgb));
- --spectrum-blue-800-rgb:64, 150, 243;
- --spectrum-blue-800:rgba(var(--spectrum-blue-800-rgb));
- --spectrum-blue-900-rgb:94, 170, 247;
- --spectrum-blue-900:rgba(var(--spectrum-blue-900-rgb));
- --spectrum-blue-1000-rgb:124, 189, 250;
- --spectrum-blue-1000:rgba(var(--spectrum-blue-1000-rgb));
- --spectrum-blue-1100-rgb:152, 206, 253;
- --spectrum-blue-1100:rgba(var(--spectrum-blue-1100-rgb));
- --spectrum-blue-1200-rgb:179, 222, 254;
- --spectrum-blue-1200:rgba(var(--spectrum-blue-1200-rgb));
- --spectrum-blue-1300-rgb:206, 234, 255;
- --spectrum-blue-1300:rgba(var(--spectrum-blue-1300-rgb));
- --spectrum-blue-1400-rgb:227, 243, 255;
- --spectrum-blue-1400:rgba(var(--spectrum-blue-1400-rgb));
- --spectrum-red-100-rgb:87, 0, 0;
- --spectrum-red-100:rgba(var(--spectrum-red-100-rgb));
- --spectrum-red-200-rgb:110, 0, 0;
- --spectrum-red-200:rgba(var(--spectrum-red-200-rgb));
- --spectrum-red-300-rgb:138, 0, 0;
- --spectrum-red-300:rgba(var(--spectrum-red-300-rgb));
- --spectrum-red-400-rgb:167, 0, 0;
- --spectrum-red-400:rgba(var(--spectrum-red-400-rgb));
- --spectrum-red-500-rgb:196, 7, 6;
- --spectrum-red-500:rgba(var(--spectrum-red-500-rgb));
- --spectrum-red-600-rgb:221, 33, 24;
- --spectrum-red-600:rgba(var(--spectrum-red-600-rgb));
- --spectrum-red-700-rgb:238, 67, 49;
- --spectrum-red-700:rgba(var(--spectrum-red-700-rgb));
- --spectrum-red-800-rgb:249, 99, 76;
- --spectrum-red-800:rgba(var(--spectrum-red-800-rgb));
- --spectrum-red-900-rgb:255, 129, 107;
- --spectrum-red-900:rgba(var(--spectrum-red-900-rgb));
- --spectrum-red-1000-rgb:255, 158, 140;
- --spectrum-red-1000:rgba(var(--spectrum-red-1000-rgb));
- --spectrum-red-1100-rgb:255, 183, 169;
- --spectrum-red-1100:rgba(var(--spectrum-red-1100-rgb));
- --spectrum-red-1200-rgb:255, 205, 195;
- --spectrum-red-1200:rgba(var(--spectrum-red-1200-rgb));
- --spectrum-red-1300-rgb:255, 223, 217;
- --spectrum-red-1300:rgba(var(--spectrum-red-1300-rgb));
- --spectrum-red-1400-rgb:255, 237, 234;
- --spectrum-red-1400:rgba(var(--spectrum-red-1400-rgb));
- --spectrum-orange-100-rgb:72, 24, 1;
- --spectrum-orange-100:rgba(var(--spectrum-orange-100-rgb));
- --spectrum-orange-200-rgb:92, 32, 0;
- --spectrum-orange-200:rgba(var(--spectrum-orange-200-rgb));
- --spectrum-orange-300-rgb:115, 43, 0;
- --spectrum-orange-300:rgba(var(--spectrum-orange-300-rgb));
- --spectrum-orange-400-rgb:138, 55, 0;
- --spectrum-orange-400:rgba(var(--spectrum-orange-400-rgb));
- --spectrum-orange-500-rgb:162, 68, 0;
- --spectrum-orange-500:rgba(var(--spectrum-orange-500-rgb));
- --spectrum-orange-600-rgb:186, 82, 0;
- --spectrum-orange-600:rgba(var(--spectrum-orange-600-rgb));
- --spectrum-orange-700-rgb:210, 98, 0;
- --spectrum-orange-700:rgba(var(--spectrum-orange-700-rgb));
- --spectrum-orange-800-rgb:232, 116, 0;
- --spectrum-orange-800:rgba(var(--spectrum-orange-800-rgb));
- --spectrum-orange-900-rgb:249, 137, 23;
- --spectrum-orange-900:rgba(var(--spectrum-orange-900-rgb));
- --spectrum-orange-1000-rgb:255, 162, 59;
- --spectrum-orange-1000:rgba(var(--spectrum-orange-1000-rgb));
- --spectrum-orange-1100-rgb:255, 188, 102;
- --spectrum-orange-1100:rgba(var(--spectrum-orange-1100-rgb));
- --spectrum-orange-1200-rgb:253, 210, 145;
- --spectrum-orange-1200:rgba(var(--spectrum-orange-1200-rgb));
- --spectrum-orange-1300-rgb:255, 226, 181;
- --spectrum-orange-1300:rgba(var(--spectrum-orange-1300-rgb));
- --spectrum-orange-1400-rgb:255, 239, 213;
- --spectrum-orange-1400:rgba(var(--spectrum-orange-1400-rgb));
- --spectrum-yellow-100-rgb:53, 36, 0;
- --spectrum-yellow-100:rgba(var(--spectrum-yellow-100-rgb));
- --spectrum-yellow-200-rgb:68, 47, 0;
- --spectrum-yellow-200:rgba(var(--spectrum-yellow-200-rgb));
- --spectrum-yellow-300-rgb:86, 62, 0;
- --spectrum-yellow-300:rgba(var(--spectrum-yellow-300-rgb));
- --spectrum-yellow-400-rgb:103, 77, 0;
- --spectrum-yellow-400:rgba(var(--spectrum-yellow-400-rgb));
- --spectrum-yellow-500-rgb:122, 92, 0;
- --spectrum-yellow-500:rgba(var(--spectrum-yellow-500-rgb));
- --spectrum-yellow-600-rgb:141, 108, 0;
- --spectrum-yellow-600:rgba(var(--spectrum-yellow-600-rgb));
- --spectrum-yellow-700-rgb:161, 126, 0;
- --spectrum-yellow-700:rgba(var(--spectrum-yellow-700-rgb));
- --spectrum-yellow-800-rgb:180, 144, 0;
- --spectrum-yellow-800:rgba(var(--spectrum-yellow-800-rgb));
- --spectrum-yellow-900-rgb:199, 162, 0;
- --spectrum-yellow-900:rgba(var(--spectrum-yellow-900-rgb));
- --spectrum-yellow-1000-rgb:216, 181, 0;
- --spectrum-yellow-1000:rgba(var(--spectrum-yellow-1000-rgb));
- --spectrum-yellow-1100-rgb:233, 199, 0;
- --spectrum-yellow-1100:rgba(var(--spectrum-yellow-1100-rgb));
- --spectrum-yellow-1200-rgb:247, 216, 4;
- --spectrum-yellow-1200:rgba(var(--spectrum-yellow-1200-rgb));
- --spectrum-yellow-1300-rgb:249, 233, 97;
- --spectrum-yellow-1300:rgba(var(--spectrum-yellow-1300-rgb));
- --spectrum-yellow-1400-rgb:252, 243, 170;
- --spectrum-yellow-1400:rgba(var(--spectrum-yellow-1400-rgb));
- --spectrum-chartreuse-100-rgb:32, 43, 0;
- --spectrum-chartreuse-100:rgba(var(--spectrum-chartreuse-100-rgb));
- --spectrum-chartreuse-200-rgb:42, 56, 0;
- --spectrum-chartreuse-200:rgba(var(--spectrum-chartreuse-200-rgb));
- --spectrum-chartreuse-300-rgb:54, 72, 0;
- --spectrum-chartreuse-300:rgba(var(--spectrum-chartreuse-300-rgb));
- --spectrum-chartreuse-400-rgb:66, 88, 0;
- --spectrum-chartreuse-400:rgba(var(--spectrum-chartreuse-400-rgb));
- --spectrum-chartreuse-500-rgb:79, 105, 0;
- --spectrum-chartreuse-500:rgba(var(--spectrum-chartreuse-500-rgb));
- --spectrum-chartreuse-600-rgb:93, 123, 0;
- --spectrum-chartreuse-600:rgba(var(--spectrum-chartreuse-600-rgb));
- --spectrum-chartreuse-700-rgb:107, 142, 0;
- --spectrum-chartreuse-700:rgba(var(--spectrum-chartreuse-700-rgb));
- --spectrum-chartreuse-800-rgb:122, 161, 0;
- --spectrum-chartreuse-800:rgba(var(--spectrum-chartreuse-800-rgb));
- --spectrum-chartreuse-900-rgb:138, 180, 3;
- --spectrum-chartreuse-900:rgba(var(--spectrum-chartreuse-900-rgb));
- --spectrum-chartreuse-1000-rgb:154, 198, 11;
- --spectrum-chartreuse-1000:rgba(var(--spectrum-chartreuse-1000-rgb));
- --spectrum-chartreuse-1100-rgb:170, 216, 22;
- --spectrum-chartreuse-1100:rgba(var(--spectrum-chartreuse-1100-rgb));
- --spectrum-chartreuse-1200-rgb:187, 232, 41;
- --spectrum-chartreuse-1200:rgba(var(--spectrum-chartreuse-1200-rgb));
- --spectrum-chartreuse-1300-rgb:205, 246, 72;
- --spectrum-chartreuse-1300:rgba(var(--spectrum-chartreuse-1300-rgb));
- --spectrum-chartreuse-1400-rgb:225, 253, 132;
- --spectrum-chartreuse-1400:rgba(var(--spectrum-chartreuse-1400-rgb));
- --spectrum-celery-100-rgb:0, 47, 7;
- --spectrum-celery-100:rgba(var(--spectrum-celery-100-rgb));
- --spectrum-celery-200-rgb:0, 61, 9;
- --spectrum-celery-200:rgba(var(--spectrum-celery-200-rgb));
- --spectrum-celery-300-rgb:0, 77, 12;
- --spectrum-celery-300:rgba(var(--spectrum-celery-300-rgb));
- --spectrum-celery-400-rgb:0, 95, 15;
- --spectrum-celery-400:rgba(var(--spectrum-celery-400-rgb));
- --spectrum-celery-500-rgb:0, 113, 15;
- --spectrum-celery-500:rgba(var(--spectrum-celery-500-rgb));
- --spectrum-celery-600-rgb:0, 132, 15;
- --spectrum-celery-600:rgba(var(--spectrum-celery-600-rgb));
- --spectrum-celery-700-rgb:0, 151, 20;
- --spectrum-celery-700:rgba(var(--spectrum-celery-700-rgb));
- --spectrum-celery-800-rgb:13, 171, 37;
- --spectrum-celery-800:rgba(var(--spectrum-celery-800-rgb));
- --spectrum-celery-900-rgb:45, 191, 58;
- --spectrum-celery-900:rgba(var(--spectrum-celery-900-rgb));
- --spectrum-celery-1000-rgb:80, 208, 82;
- --spectrum-celery-1000:rgba(var(--spectrum-celery-1000-rgb));
- --spectrum-celery-1100-rgb:115, 224, 107;
- --spectrum-celery-1100:rgba(var(--spectrum-celery-1100-rgb));
- --spectrum-celery-1200-rgb:147, 237, 131;
- --spectrum-celery-1200:rgba(var(--spectrum-celery-1200-rgb));
- --spectrum-celery-1300-rgb:180, 247, 162;
- --spectrum-celery-1300:rgba(var(--spectrum-celery-1300-rgb));
- --spectrum-celery-1400-rgb:213, 252, 202;
- --spectrum-celery-1400:rgba(var(--spectrum-celery-1400-rgb));
- --spectrum-green-100-rgb:10, 44, 28;
- --spectrum-green-100:rgba(var(--spectrum-green-100-rgb));
- --spectrum-green-200-rgb:7, 59, 36;
- --spectrum-green-200:rgba(var(--spectrum-green-200-rgb));
- --spectrum-green-300-rgb:0, 76, 46;
- --spectrum-green-300:rgba(var(--spectrum-green-300-rgb));
- --spectrum-green-400-rgb:0, 93, 57;
- --spectrum-green-400:rgba(var(--spectrum-green-400-rgb));
- --spectrum-green-500-rgb:0, 111, 69;
- --spectrum-green-500:rgba(var(--spectrum-green-500-rgb));
- --spectrum-green-600-rgb:0, 130, 82;
- --spectrum-green-600:rgba(var(--spectrum-green-600-rgb));
- --spectrum-green-700-rgb:0, 149, 98;
- --spectrum-green-700:rgba(var(--spectrum-green-700-rgb));
- --spectrum-green-800-rgb:28, 168, 114;
- --spectrum-green-800:rgba(var(--spectrum-green-800-rgb));
- --spectrum-green-900-rgb:52, 187, 132;
- --spectrum-green-900:rgba(var(--spectrum-green-900-rgb));
- --spectrum-green-1000-rgb:75, 205, 149;
- --spectrum-green-1000:rgba(var(--spectrum-green-1000-rgb));
- --spectrum-green-1100-rgb:103, 222, 168;
- --spectrum-green-1100:rgba(var(--spectrum-green-1100-rgb));
- --spectrum-green-1200-rgb:137, 236, 188;
- --spectrum-green-1200:rgba(var(--spectrum-green-1200-rgb));
- --spectrum-green-1300-rgb:177, 244, 209;
- --spectrum-green-1300:rgba(var(--spectrum-green-1300-rgb));
- --spectrum-green-1400-rgb:214, 249, 228;
- --spectrum-green-1400:rgba(var(--spectrum-green-1400-rgb));
- --spectrum-seafoam-100-rgb:18, 43, 42;
- --spectrum-seafoam-100:rgba(var(--spectrum-seafoam-100-rgb));
- --spectrum-seafoam-200-rgb:19, 57, 55;
- --spectrum-seafoam-200:rgba(var(--spectrum-seafoam-200-rgb));
- --spectrum-seafoam-300-rgb:16, 73, 70;
- --spectrum-seafoam-300:rgba(var(--spectrum-seafoam-300-rgb));
- --spectrum-seafoam-400-rgb:3, 91, 88;
- --spectrum-seafoam-400:rgba(var(--spectrum-seafoam-400-rgb));
- --spectrum-seafoam-500-rgb:0, 108, 104;
- --spectrum-seafoam-500:rgba(var(--spectrum-seafoam-500-rgb));
- --spectrum-seafoam-600-rgb:0, 127, 121;
- --spectrum-seafoam-600:rgba(var(--spectrum-seafoam-600-rgb));
- --spectrum-seafoam-700-rgb:0, 146, 140;
- --spectrum-seafoam-700:rgba(var(--spectrum-seafoam-700-rgb));
- --spectrum-seafoam-800-rgb:0, 165, 159;
- --spectrum-seafoam-800:rgba(var(--spectrum-seafoam-800-rgb));
- --spectrum-seafoam-900-rgb:26, 185, 178;
- --spectrum-seafoam-900:rgba(var(--spectrum-seafoam-900-rgb));
- --spectrum-seafoam-1000-rgb:66, 202, 195;
- --spectrum-seafoam-1000:rgba(var(--spectrum-seafoam-1000-rgb));
- --spectrum-seafoam-1100-rgb:102, 218, 211;
- --spectrum-seafoam-1100:rgba(var(--spectrum-seafoam-1100-rgb));
- --spectrum-seafoam-1200-rgb:139, 232, 225;
- --spectrum-seafoam-1200:rgba(var(--spectrum-seafoam-1200-rgb));
- --spectrum-seafoam-1300-rgb:179, 242, 237;
- --spectrum-seafoam-1300:rgba(var(--spectrum-seafoam-1300-rgb));
- --spectrum-seafoam-1400-rgb:215, 248, 244;
- --spectrum-seafoam-1400:rgba(var(--spectrum-seafoam-1400-rgb));
- --spectrum-cyan-100-rgb:0, 41, 68;
- --spectrum-cyan-100:rgba(var(--spectrum-cyan-100-rgb));
- --spectrum-cyan-200-rgb:0, 54, 88;
- --spectrum-cyan-200:rgba(var(--spectrum-cyan-200-rgb));
- --spectrum-cyan-300-rgb:0, 69, 108;
- --spectrum-cyan-300:rgba(var(--spectrum-cyan-300-rgb));
- --spectrum-cyan-400-rgb:0, 86, 128;
- --spectrum-cyan-400:rgba(var(--spectrum-cyan-400-rgb));
- --spectrum-cyan-500-rgb:0, 103, 147;
- --spectrum-cyan-500:rgba(var(--spectrum-cyan-500-rgb));
- --spectrum-cyan-600-rgb:0, 121, 167;
- --spectrum-cyan-600:rgba(var(--spectrum-cyan-600-rgb));
- --spectrum-cyan-700-rgb:0, 140, 186;
- --spectrum-cyan-700:rgba(var(--spectrum-cyan-700-rgb));
- --spectrum-cyan-800-rgb:4, 160, 205;
- --spectrum-cyan-800:rgba(var(--spectrum-cyan-800-rgb));
- --spectrum-cyan-900-rgb:23, 180, 221;
- --spectrum-cyan-900:rgba(var(--spectrum-cyan-900-rgb));
- --spectrum-cyan-1000-rgb:57, 199, 234;
- --spectrum-cyan-1000:rgba(var(--spectrum-cyan-1000-rgb));
- --spectrum-cyan-1100-rgb:96, 216, 243;
- --spectrum-cyan-1100:rgba(var(--spectrum-cyan-1100-rgb));
- --spectrum-cyan-1200-rgb:134, 230, 250;
- --spectrum-cyan-1200:rgba(var(--spectrum-cyan-1200-rgb));
- --spectrum-cyan-1300-rgb:170, 242, 255;
- --spectrum-cyan-1300:rgba(var(--spectrum-cyan-1300-rgb));
- --spectrum-cyan-1400-rgb:206, 249, 255;
- --spectrum-cyan-1400:rgba(var(--spectrum-cyan-1400-rgb));
- --spectrum-indigo-100-rgb:26, 29, 97;
- --spectrum-indigo-100:rgba(var(--spectrum-indigo-100-rgb));
- --spectrum-indigo-200-rgb:35, 39, 125;
- --spectrum-indigo-200:rgba(var(--spectrum-indigo-200-rgb));
- --spectrum-indigo-300-rgb:46, 50, 158;
- --spectrum-indigo-300:rgba(var(--spectrum-indigo-300-rgb));
- --spectrum-indigo-400-rgb:58, 63, 189;
- --spectrum-indigo-400:rgba(var(--spectrum-indigo-400-rgb));
- --spectrum-indigo-500-rgb:73, 78, 216;
- --spectrum-indigo-500:rgba(var(--spectrum-indigo-500-rgb));
- --spectrum-indigo-600-rgb:90, 96, 235;
- --spectrum-indigo-600:rgba(var(--spectrum-indigo-600-rgb));
- --spectrum-indigo-700-rgb:110, 115, 246;
- --spectrum-indigo-700:rgba(var(--spectrum-indigo-700-rgb));
- --spectrum-indigo-800-rgb:132, 136, 253;
- --spectrum-indigo-800:rgba(var(--spectrum-indigo-800-rgb));
- --spectrum-indigo-900-rgb:153, 157, 255;
- --spectrum-indigo-900:rgba(var(--spectrum-indigo-900-rgb));
- --spectrum-indigo-1000-rgb:174, 177, 255;
- --spectrum-indigo-1000:rgba(var(--spectrum-indigo-1000-rgb));
- --spectrum-indigo-1100-rgb:194, 196, 255;
- --spectrum-indigo-1100:rgba(var(--spectrum-indigo-1100-rgb));
- --spectrum-indigo-1200-rgb:212, 213, 255;
- --spectrum-indigo-1200:rgba(var(--spectrum-indigo-1200-rgb));
- --spectrum-indigo-1300-rgb:227, 228, 255;
- --spectrum-indigo-1300:rgba(var(--spectrum-indigo-1300-rgb));
- --spectrum-indigo-1400-rgb:240, 240, 255;
- --spectrum-indigo-1400:rgba(var(--spectrum-indigo-1400-rgb));
- --spectrum-purple-100-rgb:50, 16, 104;
- --spectrum-purple-100:rgba(var(--spectrum-purple-100-rgb));
- --spectrum-purple-200-rgb:67, 13, 140;
- --spectrum-purple-200:rgba(var(--spectrum-purple-200-rgb));
- --spectrum-purple-300-rgb:86, 16, 173;
- --spectrum-purple-300:rgba(var(--spectrum-purple-300-rgb));
- --spectrum-purple-400-rgb:106, 29, 200;
- --spectrum-purple-400:rgba(var(--spectrum-purple-400-rgb));
- --spectrum-purple-500-rgb:126, 49, 222;
- --spectrum-purple-500:rgba(var(--spectrum-purple-500-rgb));
- --spectrum-purple-600-rgb:145, 70, 236;
- --spectrum-purple-600:rgba(var(--spectrum-purple-600-rgb));
- --spectrum-purple-700-rgb:162, 94, 246;
- --spectrum-purple-700:rgba(var(--spectrum-purple-700-rgb));
- --spectrum-purple-800-rgb:178, 119, 250;
- --spectrum-purple-800:rgba(var(--spectrum-purple-800-rgb));
- --spectrum-purple-900-rgb:192, 143, 252;
- --spectrum-purple-900:rgba(var(--spectrum-purple-900-rgb));
- --spectrum-purple-1000-rgb:206, 166, 253;
- --spectrum-purple-1000:rgba(var(--spectrum-purple-1000-rgb));
- --spectrum-purple-1100-rgb:219, 188, 254;
- --spectrum-purple-1100:rgba(var(--spectrum-purple-1100-rgb));
- --spectrum-purple-1200-rgb:230, 207, 255;
- --spectrum-purple-1200:rgba(var(--spectrum-purple-1200-rgb));
- --spectrum-purple-1300-rgb:240, 224, 255;
- --spectrum-purple-1300:rgba(var(--spectrum-purple-1300-rgb));
- --spectrum-purple-1400-rgb:248, 237, 255;
- --spectrum-purple-1400:rgba(var(--spectrum-purple-1400-rgb));
- --spectrum-fuchsia-100-rgb:70, 14, 68;
- --spectrum-fuchsia-100:rgba(var(--spectrum-fuchsia-100-rgb));
- --spectrum-fuchsia-200-rgb:93, 9, 92;
- --spectrum-fuchsia-200:rgba(var(--spectrum-fuchsia-200-rgb));
- --spectrum-fuchsia-300-rgb:120, 0, 120;
- --spectrum-fuchsia-300:rgba(var(--spectrum-fuchsia-300-rgb));
- --spectrum-fuchsia-400-rgb:146, 0, 147;
- --spectrum-fuchsia-400:rgba(var(--spectrum-fuchsia-400-rgb));
- --spectrum-fuchsia-500-rgb:169, 19, 170;
- --spectrum-fuchsia-500:rgba(var(--spectrum-fuchsia-500-rgb));
- --spectrum-fuchsia-600-rgb:191, 43, 191;
- --spectrum-fuchsia-600:rgba(var(--spectrum-fuchsia-600-rgb));
- --spectrum-fuchsia-700-rgb:211, 65, 213;
- --spectrum-fuchsia-700:rgba(var(--spectrum-fuchsia-700-rgb));
- --spectrum-fuchsia-800-rgb:228, 91, 229;
- --spectrum-fuchsia-800:rgba(var(--spectrum-fuchsia-800-rgb));
- --spectrum-fuchsia-900-rgb:239, 120, 238;
- --spectrum-fuchsia-900:rgba(var(--spectrum-fuchsia-900-rgb));
- --spectrum-fuchsia-1000-rgb:246, 149, 243;
- --spectrum-fuchsia-1000:rgba(var(--spectrum-fuchsia-1000-rgb));
- --spectrum-fuchsia-1100-rgb:251, 175, 246;
- --spectrum-fuchsia-1100:rgba(var(--spectrum-fuchsia-1100-rgb));
- --spectrum-fuchsia-1200-rgb:254, 199, 248;
- --spectrum-fuchsia-1200:rgba(var(--spectrum-fuchsia-1200-rgb));
- --spectrum-fuchsia-1300-rgb:255, 220, 250;
- --spectrum-fuchsia-1300:rgba(var(--spectrum-fuchsia-1300-rgb));
- --spectrum-fuchsia-1400-rgb:255, 235, 252;
- --spectrum-fuchsia-1400:rgba(var(--spectrum-fuchsia-1400-rgb));
- --spectrum-magenta-100-rgb:83, 3, 41;
- --spectrum-magenta-100:rgba(var(--spectrum-magenta-100-rgb));
- --spectrum-magenta-200-rgb:106, 0, 52;
- --spectrum-magenta-200:rgba(var(--spectrum-magenta-200-rgb));
- --spectrum-magenta-300-rgb:133, 0, 65;
- --spectrum-magenta-300:rgba(var(--spectrum-magenta-300-rgb));
- --spectrum-magenta-400-rgb:161, 0, 78;
- --spectrum-magenta-400:rgba(var(--spectrum-magenta-400-rgb));
- --spectrum-magenta-500-rgb:186, 22, 93;
- --spectrum-magenta-500:rgba(var(--spectrum-magenta-500-rgb));
- --spectrum-magenta-600-rgb:209, 43, 114;
- --spectrum-magenta-600:rgba(var(--spectrum-magenta-600-rgb));
- --spectrum-magenta-700-rgb:227, 69, 137;
- --spectrum-magenta-700:rgba(var(--spectrum-magenta-700-rgb));
- --spectrum-magenta-800-rgb:241, 97, 156;
- --spectrum-magenta-800:rgba(var(--spectrum-magenta-800-rgb));
- --spectrum-magenta-900-rgb:252, 124, 173;
- --spectrum-magenta-900:rgba(var(--spectrum-magenta-900-rgb));
- --spectrum-magenta-1000-rgb:255, 152, 191;
- --spectrum-magenta-1000:rgba(var(--spectrum-magenta-1000-rgb));
- --spectrum-magenta-1100-rgb:255, 179, 207;
- --spectrum-magenta-1100:rgba(var(--spectrum-magenta-1100-rgb));
- --spectrum-magenta-1200-rgb:255, 202, 221;
- --spectrum-magenta-1200:rgba(var(--spectrum-magenta-1200-rgb));
- --spectrum-magenta-1300-rgb:255, 221, 233;
- --spectrum-magenta-1300:rgba(var(--spectrum-magenta-1300-rgb));
- --spectrum-magenta-1400-rgb:255, 236, 243;
- --spectrum-magenta-1400:rgba(var(--spectrum-magenta-1400-rgb));
- --spectrum-icon-color-blue-primary-default:var(--spectrum-blue-800);
- --spectrum-icon-color-green-primary-default:var(--spectrum-green-800);
- --spectrum-icon-color-red-primary-default:var(--spectrum-red-700);
- --spectrum-icon-color-yellow-primary-default:var(--spectrum-yellow-1000);
-}
diff --git a/tokens/dist/css/express/dark-vars.css b/tokens/dist/css/express/dark-vars.css
deleted file mode 100644
index bc153b58cf7..00000000000
--- a/tokens/dist/css/express/dark-vars.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.
- */
-
-.spectrum--express.spectrum--dark{
- --spectrum-drop-zone-background-color-rgb:var(--spectrum-indigo-900-rgb);
- --spectrum-well-border-color:rgba(var(--spectrum-white-rgb), 0.05);
-
- --spectrum-assetcard-border-color-selected:var(--spectrum-indigo-700);
- --spectrum-assetcard-border-color-selected-hover:var(--spectrum-indigo-700);
- --spectrum-assetcard-border-color-selected-down:var(--spectrum-indigo-800);
- --spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-indigo-700);
-}
diff --git a/tokens/dist/css/express/darkest-vars.css b/tokens/dist/css/express/darkest-vars.css
deleted file mode 100644
index 51b3a61df06..00000000000
--- a/tokens/dist/css/express/darkest-vars.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.
- */
-
-.spectrum--express.spectrum--darkest{
- --spectrum-drop-zone-background-color-rgb:var(--spectrum-indigo-900-rgb);
- --spectrum-well-border-color:rgba(var(--spectrum-white-rgb), 0.05);
-
- --spectrum-assetcard-border-color-selected:var(--spectrum-indigo-700);
- --spectrum-assetcard-border-color-selected-hover:var(--spectrum-indigo-700);
- --spectrum-assetcard-border-color-selected-down:var(--spectrum-indigo-800);
- --spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-indigo-700);
-}
diff --git a/tokens/dist/css/express/global-vars.css b/tokens/dist/css/express/global-vars.css
deleted file mode 100644
index 3e21dad6395..00000000000
--- a/tokens/dist/css/express/global-vars.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.
- */
-
-.spectrum--express{
- --spectrum-neutral-background-color-selected-default:var(--spectrum-gray-800);
- --spectrum-neutral-background-color-selected-hover:var(--spectrum-gray-900);
- --spectrum-neutral-background-color-selected-down:var(--spectrum-gray-900);
- --spectrum-neutral-background-color-selected-key-focus:var(--spectrum-gray-900);
- --spectrum-slider-track-thickness:4px;
- --spectrum-slider-handle-gap:0px;
- --spectrum-picker-border-width:0;
- --spectrum-in-field-button-fill-stacked-inner-border-rounding:1px;
- --spectrum-in-field-button-edge-to-fill:4px;
- --spectrum-in-field-button-stacked-inner-edge-to-fill:1px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium:5px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large:7px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large:8px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small:1px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium:1px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large:3px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large:4px;
- --spectrum-border-width-100:2px;
- --spectrum-accent-color-100:var(--spectrum-indigo-100);
- --spectrum-accent-color-200:var(--spectrum-indigo-200);
- --spectrum-accent-color-300:var(--spectrum-indigo-300);
- --spectrum-accent-color-400:var(--spectrum-indigo-400);
- --spectrum-accent-color-500:var(--spectrum-indigo-500);
- --spectrum-accent-color-600:var(--spectrum-indigo-600);
- --spectrum-accent-color-700:var(--spectrum-indigo-700);
- --spectrum-accent-color-800:var(--spectrum-indigo-800);
- --spectrum-accent-color-900:var(--spectrum-indigo-900);
- --spectrum-accent-color-1000:var(--spectrum-indigo-1000);
- --spectrum-accent-color-1100:var(--spectrum-indigo-1100);
- --spectrum-accent-color-1200:var(--spectrum-indigo-1200);
- --spectrum-accent-color-1300:var(--spectrum-indigo-1300);
- --spectrum-accent-color-1400:var(--spectrum-indigo-1400);
- --spectrum-heading-sans-serif-font-weight:var(--spectrum-black-font-weight);
- --spectrum-heading-serif-font-weight:var(--spectrum-black-font-weight);
- --spectrum-heading-cjk-font-weight:var(--spectrum-black-font-weight);
- --spectrum-heading-sans-serif-emphasized-font-weight:var(--spectrum-black-font-weight);
- --spectrum-heading-serif-emphasized-font-weight:var(--spectrum-black-font-weight);
- --system:express;
-}
diff --git a/tokens/dist/css/express/index.css b/tokens/dist/css/express/index.css
deleted file mode 100644
index 6ce93008ee5..00000000000
--- a/tokens/dist/css/express/index.css
+++ /dev/null
@@ -1,195 +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.
- */
-
-.spectrum--express.spectrum--dark,.spectrum--express.spectrum--darkest{
- --spectrum-drop-zone-background-color-rgb:var(--spectrum-indigo-900-rgb);
- --spectrum-well-border-color:rgba(var(--spectrum-white-rgb), 0.05);
-
- --spectrum-assetcard-border-color-selected:var(--spectrum-indigo-700);
- --spectrum-assetcard-border-color-selected-hover:var(--spectrum-indigo-700);
- --spectrum-assetcard-border-color-selected-down:var(--spectrum-indigo-800);
- --spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-indigo-700);
-}
-
-.spectrum--express{
- --spectrum-neutral-background-color-selected-default:var(--spectrum-gray-800);
- --spectrum-neutral-background-color-selected-hover:var(--spectrum-gray-900);
- --spectrum-neutral-background-color-selected-down:var(--spectrum-gray-900);
- --spectrum-neutral-background-color-selected-key-focus:var(--spectrum-gray-900);
- --spectrum-slider-track-thickness:4px;
- --spectrum-slider-handle-gap:0px;
- --spectrum-picker-border-width:0;
- --spectrum-in-field-button-fill-stacked-inner-border-rounding:1px;
- --spectrum-in-field-button-edge-to-fill:4px;
- --spectrum-in-field-button-stacked-inner-edge-to-fill:1px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium:5px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large:7px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large:8px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small:1px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium:1px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large:3px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large:4px;
- --spectrum-border-width-100:2px;
- --spectrum-accent-color-100:var(--spectrum-indigo-100);
- --spectrum-accent-color-200:var(--spectrum-indigo-200);
- --spectrum-accent-color-300:var(--spectrum-indigo-300);
- --spectrum-accent-color-400:var(--spectrum-indigo-400);
- --spectrum-accent-color-500:var(--spectrum-indigo-500);
- --spectrum-accent-color-600:var(--spectrum-indigo-600);
- --spectrum-accent-color-700:var(--spectrum-indigo-700);
- --spectrum-accent-color-800:var(--spectrum-indigo-800);
- --spectrum-accent-color-900:var(--spectrum-indigo-900);
- --spectrum-accent-color-1000:var(--spectrum-indigo-1000);
- --spectrum-accent-color-1100:var(--spectrum-indigo-1100);
- --spectrum-accent-color-1200:var(--spectrum-indigo-1200);
- --spectrum-accent-color-1300:var(--spectrum-indigo-1300);
- --spectrum-accent-color-1400:var(--spectrum-indigo-1400);
- --spectrum-heading-sans-serif-font-weight:var(--spectrum-black-font-weight);
- --spectrum-heading-serif-font-weight:var(--spectrum-black-font-weight);
- --spectrum-heading-cjk-font-weight:var(--spectrum-black-font-weight);
- --spectrum-heading-sans-serif-emphasized-font-weight:var(--spectrum-black-font-weight);
- --spectrum-heading-serif-emphasized-font-weight:var(--spectrum-black-font-weight);
- --system:express;
-}
-
-.spectrum--express.spectrum--large{
- --spectrum-checkbox-control-size-small:18px;
- --spectrum-checkbox-control-size-medium:20px;
- --spectrum-checkbox-control-size-large:22px;
- --spectrum-checkbox-control-size-extra-large:26px;
- --spectrum-checkbox-top-to-control-small:6px;
- --spectrum-checkbox-top-to-control-medium:10px;
- --spectrum-checkbox-top-to-control-large:14px;
- --spectrum-checkbox-top-to-control-extra-large:17px;
- --spectrum-switch-control-width-small:32px;
- --spectrum-switch-control-width-medium:36px;
- --spectrum-switch-control-width-large:41px;
- --spectrum-switch-control-width-extra-large:46px;
- --spectrum-switch-control-height-small:18px;
- --spectrum-switch-control-height-medium:20px;
- --spectrum-switch-control-height-large:22px;
- --spectrum-switch-control-height-extra-large:26px;
- --spectrum-switch-top-to-control-small:6px;
- --spectrum-switch-top-to-control-medium:10px;
- --spectrum-switch-top-to-control-large:14px;
- --spectrum-switch-top-to-control-extra-large:17px;
- --spectrum-radio-button-control-size-small:18px;
- --spectrum-radio-button-control-size-medium:20px;
- --spectrum-radio-button-control-size-large:22px;
- --spectrum-radio-button-control-size-extra-large:26px;
- --spectrum-radio-button-top-to-control-small:6px;
- --spectrum-radio-button-top-to-control-medium:10px;
- --spectrum-radio-button-top-to-control-large:14px;
- --spectrum-radio-button-top-to-control-extra-large:17px;
- --spectrum-slider-control-height-small:22px;
- --spectrum-slider-control-height-medium:24px;
- --spectrum-slider-control-height-large:28px;
- --spectrum-slider-control-height-extra-large:30px;
- --spectrum-slider-handle-size-small:22px;
- --spectrum-slider-handle-size-medium:24px;
- --spectrum-slider-handle-size-large:28px;
- --spectrum-slider-handle-size-extra-large:30px;
- --spectrum-slider-handle-border-width-down-small:var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-medium:var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-large:var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-extra-large:var(--spectrum-border-width-200);
- --spectrum-slider-bottom-to-handle-small:4px;
- --spectrum-slider-bottom-to-handle-medium:8px;
- --spectrum-slider-bottom-to-handle-large:12px;
- --spectrum-slider-bottom-to-handle-extra-large:15px;
- --spectrum-corner-radius-75:4px;
- --spectrum-corner-radius-100:8px;
- --spectrum-corner-radius-200:16px;
- --spectrum-drop-shadow-x:0px;
- --spectrum-drop-shadow-y:4px;
- --spectrum-drop-shadow-blur:16px;
- --spectrum-colorwheel-path:"M 118 118 m -118 0 a 118 118 0 1 0 236 0 a 118 118 0 1 0 -236 0.2 M 118 118 m -92 0 a 92 92 0 1 0 184 0 a 92 92 0 1 0 -184 0";
- --spectrum-colorwheel-path-borders:"M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0";
-
- --spectrum-dialog-confirm-border-radius:8px;
-
- --spectrum-dial-border-radius:15px;
-
- --spectrum-assetcard-focus-ring-border-radius:12px;
-}
-
-.spectrum--express.spectrum--light,.spectrum--express.spectrum--lightest{
- --spectrum-drop-zone-background-color-rgb:var(--spectrum-indigo-800-rgb);
- --spectrum-well-border-color:rgba(var(--spectrum-black-rgb), 0.05);
-
- --spectrum-assetcard-border-color-selected:var(--spectrum-indigo-900);
- --spectrum-assetcard-border-color-selected-hover:var(--spectrum-indigo-900);
- --spectrum-assetcard-border-color-selected-down:var(--spectrum-indigo-1000);
- --spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-indigo-900);
-}
-
-.spectrum--express.spectrum--medium{
- --spectrum-checkbox-control-size-small:14px;
- --spectrum-checkbox-control-size-medium:16px;
- --spectrum-checkbox-control-size-large:18px;
- --spectrum-checkbox-control-size-extra-large:20px;
- --spectrum-checkbox-top-to-control-small:5px;
- --spectrum-checkbox-top-to-control-medium:8px;
- --spectrum-checkbox-top-to-control-large:11px;
- --spectrum-checkbox-top-to-control-extra-large:14px;
- --spectrum-switch-control-width-small:25px;
- --spectrum-switch-control-width-medium:28px;
- --spectrum-switch-control-width-large:32px;
- --spectrum-switch-control-width-extra-large:35px;
- --spectrum-switch-control-height-small:14px;
- --spectrum-switch-control-height-medium:16px;
- --spectrum-switch-control-height-large:18px;
- --spectrum-switch-control-height-extra-large:20px;
- --spectrum-switch-top-to-control-small:5px;
- --spectrum-switch-top-to-control-medium:8px;
- --spectrum-switch-top-to-control-large:11px;
- --spectrum-switch-top-to-control-extra-large:14px;
- --spectrum-radio-button-control-size-small:14px;
- --spectrum-radio-button-control-size-medium:16px;
- --spectrum-radio-button-control-size-large:18px;
- --spectrum-radio-button-control-size-extra-large:20px;
- --spectrum-radio-button-top-to-control-small:5px;
- --spectrum-radio-button-top-to-control-medium:8px;
- --spectrum-radio-button-top-to-control-large:11px;
- --spectrum-radio-button-top-to-control-extra-large:14px;
- --spectrum-slider-control-height-small:18px;
- --spectrum-slider-control-height-medium:20px;
- --spectrum-slider-control-height-large:22px;
- --spectrum-slider-control-height-extra-large:24px;
- --spectrum-slider-handle-size-small:18px;
- --spectrum-slider-handle-size-medium:20px;
- --spectrum-slider-handle-size-large:22px;
- --spectrum-slider-handle-size-extra-large:24px;
- --spectrum-slider-handle-border-width-down-small:var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-medium:var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-large:var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-extra-large:var(--spectrum-border-width-200);
- --spectrum-slider-bottom-to-handle-small:3px;
- --spectrum-slider-bottom-to-handle-medium:6px;
- --spectrum-slider-bottom-to-handle-large:9px;
- --spectrum-slider-bottom-to-handle-extra-large:12px;
- --spectrum-corner-radius-75:3px;
- --spectrum-corner-radius-100:6px;
- --spectrum-corner-radius-200:12px;
- --spectrum-drop-shadow-x:0px;
- --spectrum-drop-shadow-y:4px;
- --spectrum-drop-shadow-blur:16px;
- --spectrum-colorwheel-path:"M 94 94 m -94 0 a 94 94 0 1 0 188 0 a 94 94 0 1 0 -188 0.2 M 94 94 m -74 0 a 74 74 0 1 0 148 0 a 74 74 0 1 0 -148 0";
- --spectrum-colorwheel-path-borders:"M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";
-
- --spectrum-dialog-confirm-border-radius:6px;
-
- --spectrum-dial-border-radius:12px;
-
- --spectrum-assetcard-focus-ring-border-radius:10px;
-}
diff --git a/tokens/dist/css/express/large-vars.css b/tokens/dist/css/express/large-vars.css
deleted file mode 100644
index 308dae90052..00000000000
--- a/tokens/dist/css/express/large-vars.css
+++ /dev/null
@@ -1,73 +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.
- */
-
-.spectrum--express.spectrum--large{
- --spectrum-checkbox-control-size-small:18px;
- --spectrum-checkbox-control-size-medium:20px;
- --spectrum-checkbox-control-size-large:22px;
- --spectrum-checkbox-control-size-extra-large:26px;
- --spectrum-checkbox-top-to-control-small:6px;
- --spectrum-checkbox-top-to-control-medium:10px;
- --spectrum-checkbox-top-to-control-large:14px;
- --spectrum-checkbox-top-to-control-extra-large:17px;
- --spectrum-switch-control-width-small:32px;
- --spectrum-switch-control-width-medium:36px;
- --spectrum-switch-control-width-large:41px;
- --spectrum-switch-control-width-extra-large:46px;
- --spectrum-switch-control-height-small:18px;
- --spectrum-switch-control-height-medium:20px;
- --spectrum-switch-control-height-large:22px;
- --spectrum-switch-control-height-extra-large:26px;
- --spectrum-switch-top-to-control-small:6px;
- --spectrum-switch-top-to-control-medium:10px;
- --spectrum-switch-top-to-control-large:14px;
- --spectrum-switch-top-to-control-extra-large:17px;
- --spectrum-radio-button-control-size-small:18px;
- --spectrum-radio-button-control-size-medium:20px;
- --spectrum-radio-button-control-size-large:22px;
- --spectrum-radio-button-control-size-extra-large:26px;
- --spectrum-radio-button-top-to-control-small:6px;
- --spectrum-radio-button-top-to-control-medium:10px;
- --spectrum-radio-button-top-to-control-large:14px;
- --spectrum-radio-button-top-to-control-extra-large:17px;
- --spectrum-slider-control-height-small:22px;
- --spectrum-slider-control-height-medium:24px;
- --spectrum-slider-control-height-large:28px;
- --spectrum-slider-control-height-extra-large:30px;
- --spectrum-slider-handle-size-small:22px;
- --spectrum-slider-handle-size-medium:24px;
- --spectrum-slider-handle-size-large:28px;
- --spectrum-slider-handle-size-extra-large:30px;
- --spectrum-slider-handle-border-width-down-small:var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-medium:var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-large:var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-extra-large:var(--spectrum-border-width-200);
- --spectrum-slider-bottom-to-handle-small:4px;
- --spectrum-slider-bottom-to-handle-medium:8px;
- --spectrum-slider-bottom-to-handle-large:12px;
- --spectrum-slider-bottom-to-handle-extra-large:15px;
- --spectrum-corner-radius-75:4px;
- --spectrum-corner-radius-100:8px;
- --spectrum-corner-radius-200:16px;
- --spectrum-drop-shadow-x:0px;
- --spectrum-drop-shadow-y:4px;
- --spectrum-drop-shadow-blur:16px;
- --spectrum-colorwheel-path:"M 118 118 m -118 0 a 118 118 0 1 0 236 0 a 118 118 0 1 0 -236 0.2 M 118 118 m -92 0 a 92 92 0 1 0 184 0 a 92 92 0 1 0 -184 0";
- --spectrum-colorwheel-path-borders:"M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0";
-
- --spectrum-dialog-confirm-border-radius:8px;
-
- --spectrum-dial-border-radius:15px;
-
- --spectrum-assetcard-focus-ring-border-radius:12px;
-}
diff --git a/tokens/dist/css/express/light-vars.css b/tokens/dist/css/express/light-vars.css
deleted file mode 100644
index a3463408cde..00000000000
--- a/tokens/dist/css/express/light-vars.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.
- */
-
-.spectrum--express.spectrum--light,.spectrum--express.spectrum--lightest{
- --spectrum-drop-zone-background-color-rgb:var(--spectrum-indigo-800-rgb);
- --spectrum-well-border-color:rgba(var(--spectrum-black-rgb), 0.05);
-
- --spectrum-assetcard-border-color-selected:var(--spectrum-indigo-900);
- --spectrum-assetcard-border-color-selected-hover:var(--spectrum-indigo-900);
- --spectrum-assetcard-border-color-selected-down:var(--spectrum-indigo-1000);
- --spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-indigo-900);
-}
diff --git a/tokens/dist/css/express/medium-vars.css b/tokens/dist/css/express/medium-vars.css
deleted file mode 100644
index 519c280781b..00000000000
--- a/tokens/dist/css/express/medium-vars.css
+++ /dev/null
@@ -1,73 +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.
- */
-
-.spectrum--express.spectrum--medium{
- --spectrum-checkbox-control-size-small:14px;
- --spectrum-checkbox-control-size-medium:16px;
- --spectrum-checkbox-control-size-large:18px;
- --spectrum-checkbox-control-size-extra-large:20px;
- --spectrum-checkbox-top-to-control-small:5px;
- --spectrum-checkbox-top-to-control-medium:8px;
- --spectrum-checkbox-top-to-control-large:11px;
- --spectrum-checkbox-top-to-control-extra-large:14px;
- --spectrum-switch-control-width-small:25px;
- --spectrum-switch-control-width-medium:28px;
- --spectrum-switch-control-width-large:32px;
- --spectrum-switch-control-width-extra-large:35px;
- --spectrum-switch-control-height-small:14px;
- --spectrum-switch-control-height-medium:16px;
- --spectrum-switch-control-height-large:18px;
- --spectrum-switch-control-height-extra-large:20px;
- --spectrum-switch-top-to-control-small:5px;
- --spectrum-switch-top-to-control-medium:8px;
- --spectrum-switch-top-to-control-large:11px;
- --spectrum-switch-top-to-control-extra-large:14px;
- --spectrum-radio-button-control-size-small:14px;
- --spectrum-radio-button-control-size-medium:16px;
- --spectrum-radio-button-control-size-large:18px;
- --spectrum-radio-button-control-size-extra-large:20px;
- --spectrum-radio-button-top-to-control-small:5px;
- --spectrum-radio-button-top-to-control-medium:8px;
- --spectrum-radio-button-top-to-control-large:11px;
- --spectrum-radio-button-top-to-control-extra-large:14px;
- --spectrum-slider-control-height-small:18px;
- --spectrum-slider-control-height-medium:20px;
- --spectrum-slider-control-height-large:22px;
- --spectrum-slider-control-height-extra-large:24px;
- --spectrum-slider-handle-size-small:18px;
- --spectrum-slider-handle-size-medium:20px;
- --spectrum-slider-handle-size-large:22px;
- --spectrum-slider-handle-size-extra-large:24px;
- --spectrum-slider-handle-border-width-down-small:var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-medium:var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-large:var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-extra-large:var(--spectrum-border-width-200);
- --spectrum-slider-bottom-to-handle-small:3px;
- --spectrum-slider-bottom-to-handle-medium:6px;
- --spectrum-slider-bottom-to-handle-large:9px;
- --spectrum-slider-bottom-to-handle-extra-large:12px;
- --spectrum-corner-radius-75:3px;
- --spectrum-corner-radius-100:6px;
- --spectrum-corner-radius-200:12px;
- --spectrum-drop-shadow-x:0px;
- --spectrum-drop-shadow-y:4px;
- --spectrum-drop-shadow-blur:16px;
- --spectrum-colorwheel-path:"M 94 94 m -94 0 a 94 94 0 1 0 188 0 a 94 94 0 1 0 -188 0.2 M 94 94 m -74 0 a 74 74 0 1 0 148 0 a 74 74 0 1 0 -148 0";
- --spectrum-colorwheel-path-borders:"M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";
-
- --spectrum-dialog-confirm-border-radius:6px;
-
- --spectrum-dial-border-radius:12px;
-
- --spectrum-assetcard-focus-ring-border-radius:10px;
-}
diff --git a/tokens/dist/css/global-vars.css b/tokens/dist/css/global-vars.css
index 5a2d087885e..299b7641fe1 100644
--- a/tokens/dist/css/global-vars.css
+++ b/tokens/dist/css/global-vars.css
@@ -16,12 +16,23 @@
--spectrum-static-white-focus-indicator-color:var(--spectrum-white);
--spectrum-static-black-focus-indicator-color:var(--spectrum-black);
--spectrum-overlay-color:var(--spectrum-black);
+ --spectrum-drop-shadow-color:var(--spectrum-drop-shadow-color-100);
--spectrum-opacity-disabled:0.3;
+ --spectrum-background-base-color:var(--spectrum-gray-25);
+ --spectrum-background-layer-1-color:var(--spectrum-gray-50);
+ --spectrum-neutral-background-color-default:var(--spectrum-gray-800);
+ --spectrum-neutral-background-color-hover:var(--spectrum-gray-900);
+ --spectrum-neutral-background-color-down:var(--spectrum-gray-900);
+ --spectrum-neutral-background-color-key-focus:var(--spectrum-gray-900);
+ --spectrum-neutral-background-color-selected-default:var(--spectrum-gray-800);
+ --spectrum-neutral-background-color-selected-hover:var(--spectrum-gray-900);
+ --spectrum-neutral-background-color-selected-down:var(--spectrum-gray-900);
+ --spectrum-neutral-background-color-selected-key-focus:var(--spectrum-gray-900);
--spectrum-neutral-subdued-content-color-selected:var(--spectrum-neutral-subdued-content-color-down);
--spectrum-accent-content-color-selected:var(--spectrum-accent-content-color-down);
- --spectrum-disabled-background-color:var(--spectrum-gray-200);
- --spectrum-disabled-static-white-background-color:var(--spectrum-transparent-white-200);
- --spectrum-disabled-static-black-background-color:var(--spectrum-transparent-black-200);
+ --spectrum-disabled-background-color:var(--spectrum-gray-100);
+ --spectrum-disabled-static-white-background-color:var(--spectrum-transparent-white-100);
+ --spectrum-disabled-static-black-background-color:var(--spectrum-transparent-black-100);
--spectrum-background-opacity-default:0;
--spectrum-background-opacity-hover:0.1;
--spectrum-background-opacity-down:0.1;
@@ -34,19 +45,19 @@
--spectrum-neutral-content-color-key-focus:var(--spectrum-gray-900);
--spectrum-neutral-subdued-content-color-default:var(--spectrum-gray-700);
--spectrum-neutral-subdued-content-color-hover:var(--spectrum-gray-800);
- --spectrum-neutral-subdued-content-color-down:var(--spectrum-gray-900);
+ --spectrum-neutral-subdued-content-color-down:var(--spectrum-gray-800);
--spectrum-neutral-subdued-content-color-key-focus:var(--spectrum-gray-800);
--spectrum-accent-content-color-default:var(--spectrum-accent-color-900);
--spectrum-accent-content-color-hover:var(--spectrum-accent-color-1000);
- --spectrum-accent-content-color-down:var(--spectrum-accent-color-1100);
+ --spectrum-accent-content-color-down:var(--spectrum-accent-color-1000);
--spectrum-accent-content-color-key-focus:var(--spectrum-accent-color-1000);
--spectrum-negative-content-color-default:var(--spectrum-negative-color-900);
--spectrum-negative-content-color-hover:var(--spectrum-negative-color-1000);
- --spectrum-negative-content-color-down:var(--spectrum-negative-color-1100);
+ --spectrum-negative-content-color-down:var(--spectrum-negative-color-1000);
--spectrum-negative-content-color-key-focus:var(--spectrum-negative-color-1000);
--spectrum-disabled-content-color:var(--spectrum-gray-400);
- --spectrum-disabled-static-white-content-color:var(--spectrum-transparent-white-500);
- --spectrum-disabled-static-black-content-color:var(--spectrum-transparent-black-500);
+ --spectrum-disabled-static-white-content-color:var(--spectrum-transparent-white-400);
+ --spectrum-disabled-static-black-content-color:var(--spectrum-transparent-black-400);
--spectrum-disabled-border-color:var(--spectrum-gray-300);
--spectrum-disabled-static-white-border-color:var(--spectrum-transparent-white-300);
--spectrum-disabled-static-black-border-color:var(--spectrum-transparent-black-300);
@@ -56,6 +67,18 @@
--spectrum-negative-border-color-focus-hover:var(--spectrum-negative-border-color-down);
--spectrum-negative-border-color-focus:var(--spectrum-negative-color-1000);
--spectrum-negative-border-color-key-focus:var(--spectrum-negative-color-1000);
+ --spectrum-title-color:var(--spectrum-gray-900);
+ --spectrum-drop-shadow-emphasized-default-color:var(--spectrum-drop-shadow-color-100);
+ --spectrum-drop-shadow-emphasized-hover-color:var(--spectrum-drop-shadow-color-200);
+ --spectrum-drop-shadow-elevated-color:var(--spectrum-drop-shadow-color-200);
+ --spectrum-drop-shadow-dragged-color:var(--spectrum-drop-shadow-color-300);
+ --spectrum-static-black-text-color:var(--spectrum-black);
+ --spectrum-static-white-text-color:var(--spectrum-white);
+ --spectrum-track-color:var(--spectrum-gray-300);
+ --spectrum-static-black-track-color:var(--spectrum-transparent-black-300);
+ --spectrum-static-white-track-color:var(--spectrum-transparent-white-300);
+ --spectrum-static-black-track-indicator-color:var(--spectrum-transparent-black-900);
+ --spectrum-static-white-track-indicator-color:var(--spectrum-transparent-white-900);
--spectrum-swatch-border-color:var(--spectrum-gray-900);
--spectrum-swatch-border-opacity:0.51;
--spectrum-swatch-disabled-icon-border-color:var(--spectrum-black);
@@ -94,62 +117,10 @@
--spectrum-table-row-down-opacity:0.1;
--spectrum-table-selected-row-background-opacity-hover:0.15;
--spectrum-table-selected-row-background-opacity-non-emphasized-hover:0.15;
- --spectrum-white-rgb:255, 255, 255;
- --spectrum-white:rgba(var(--spectrum-white-rgb));
- --spectrum-transparent-white-100-rgb:255, 255, 255;
- --spectrum-transparent-white-100-opacity:0;
- --spectrum-transparent-white-100:rgba(var(--spectrum-transparent-white-100-rgb), var(--spectrum-transparent-white-100-opacity));
- --spectrum-transparent-white-200-rgb:255, 255, 255;
- --spectrum-transparent-white-200-opacity:0.1;
- --spectrum-transparent-white-200:rgba(var(--spectrum-transparent-white-200-rgb), var(--spectrum-transparent-white-200-opacity));
- --spectrum-transparent-white-300-rgb:255, 255, 255;
- --spectrum-transparent-white-300-opacity:0.25;
- --spectrum-transparent-white-300:rgba(var(--spectrum-transparent-white-300-rgb), var(--spectrum-transparent-white-300-opacity));
- --spectrum-transparent-white-400-rgb:255, 255, 255;
- --spectrum-transparent-white-400-opacity:0.4;
- --spectrum-transparent-white-400:rgba(var(--spectrum-transparent-white-400-rgb), var(--spectrum-transparent-white-400-opacity));
- --spectrum-transparent-white-500-rgb:255, 255, 255;
- --spectrum-transparent-white-500-opacity:0.55;
- --spectrum-transparent-white-500:rgba(var(--spectrum-transparent-white-500-rgb), var(--spectrum-transparent-white-500-opacity));
- --spectrum-transparent-white-600-rgb:255, 255, 255;
- --spectrum-transparent-white-600-opacity:0.7;
- --spectrum-transparent-white-600:rgba(var(--spectrum-transparent-white-600-rgb), var(--spectrum-transparent-white-600-opacity));
- --spectrum-transparent-white-700-rgb:255, 255, 255;
- --spectrum-transparent-white-700-opacity:0.8;
- --spectrum-transparent-white-700:rgba(var(--spectrum-transparent-white-700-rgb), var(--spectrum-transparent-white-700-opacity));
- --spectrum-transparent-white-800-rgb:255, 255, 255;
- --spectrum-transparent-white-800-opacity:0.9;
- --spectrum-transparent-white-800:rgba(var(--spectrum-transparent-white-800-rgb), var(--spectrum-transparent-white-800-opacity));
- --spectrum-transparent-white-900-rgb:255, 255, 255;
- --spectrum-transparent-white-900:rgba(var(--spectrum-transparent-white-900-rgb));
--spectrum-black-rgb:0, 0, 0;
--spectrum-black:rgba(var(--spectrum-black-rgb));
- --spectrum-transparent-black-100-rgb:0, 0, 0;
- --spectrum-transparent-black-100-opacity:0;
- --spectrum-transparent-black-100:rgba(var(--spectrum-transparent-black-100-rgb), var(--spectrum-transparent-black-100-opacity));
- --spectrum-transparent-black-200-rgb:0, 0, 0;
- --spectrum-transparent-black-200-opacity:0.1;
- --spectrum-transparent-black-200:rgba(var(--spectrum-transparent-black-200-rgb), var(--spectrum-transparent-black-200-opacity));
- --spectrum-transparent-black-300-rgb:0, 0, 0;
- --spectrum-transparent-black-300-opacity:0.25;
- --spectrum-transparent-black-300:rgba(var(--spectrum-transparent-black-300-rgb), var(--spectrum-transparent-black-300-opacity));
- --spectrum-transparent-black-400-rgb:0, 0, 0;
- --spectrum-transparent-black-400-opacity:0.4;
- --spectrum-transparent-black-400:rgba(var(--spectrum-transparent-black-400-rgb), var(--spectrum-transparent-black-400-opacity));
- --spectrum-transparent-black-500-rgb:0, 0, 0;
- --spectrum-transparent-black-500-opacity:0.55;
- --spectrum-transparent-black-500:rgba(var(--spectrum-transparent-black-500-rgb), var(--spectrum-transparent-black-500-opacity));
- --spectrum-transparent-black-600-rgb:0, 0, 0;
- --spectrum-transparent-black-600-opacity:0.7;
- --spectrum-transparent-black-600:rgba(var(--spectrum-transparent-black-600-rgb), var(--spectrum-transparent-black-600-opacity));
- --spectrum-transparent-black-700-rgb:0, 0, 0;
- --spectrum-transparent-black-700-opacity:0.8;
- --spectrum-transparent-black-700:rgba(var(--spectrum-transparent-black-700-rgb), var(--spectrum-transparent-black-700-opacity));
- --spectrum-transparent-black-800-rgb:0, 0, 0;
- --spectrum-transparent-black-800-opacity:0.9;
- --spectrum-transparent-black-800:rgba(var(--spectrum-transparent-black-800-rgb), var(--spectrum-transparent-black-800-opacity));
- --spectrum-transparent-black-900-rgb:0, 0, 0;
- --spectrum-transparent-black-900:rgba(var(--spectrum-transparent-black-900-rgb));
+ --spectrum-transparent-black-1000-rgb:0, 0, 0;
+ --spectrum-transparent-black-1000:rgba(var(--spectrum-transparent-black-1000-rgb));
--spectrum-icon-color-inverse:var(--spectrum-gray-50);
--spectrum-icon-color-primary-default:var(--spectrum-neutral-content-color-default);
--spectrum-asterisk-icon-size-75:8px;
@@ -179,7 +150,10 @@
--spectrum-popover-tip-height:8px;
--spectrum-menu-item-label-to-description:1px;
--spectrum-menu-item-section-divider-height:8px;
+ --spectrum-slider-track-thickness:2px;
+ --spectrum-slider-handle-gap:4px;
--spectrum-picker-minimum-width-multiplier:2;
+ --spectrum-picker-border-width:var(--spectrum-border-width-100);
--spectrum-picker-end-edge-to-disclousure-icon-quiet:var(--spectrum-picker-end-edge-to-disclosure-icon-quiet);
--spectrum-picker-end-edge-to-disclosure-icon-quiet:0px;
--spectrum-text-field-minimum-width-multiplier:1.5;
@@ -199,10 +173,10 @@
--spectrum-alert-banner-to-top-text:var(--spectrum-alert-banner-top-to-text);
--spectrum-alert-banner-to-bottom-text:var(--spectrum-alert-banner-bottom-to-text);
--spectrum-color-area-border-width:var(--spectrum-border-width-100);
- --spectrum-color-area-border-rounding:var(--spectrum-corner-radius-100);
+ --spectrum-color-area-border-rounding:var(--spectrum-corner-radius-medium-size-small);
--spectrum-color-wheel-color-area-margin:12px;
--spectrum-color-slider-border-width:1px;
- --spectrum-color-slider-border-rounding:4px;
+ --spectrum-color-slider-border-rounding:var(--spectrum-corner-radius-medium-size-small);
--spectrum-floating-action-button-drop-shadow-blur:12px;
--spectrum-floating-action-button-drop-shadow-y:4px;
--spectrum-illustrated-message-maximum-width:380px;
@@ -263,11 +237,48 @@
--spectrum-in-field-button-width-stacked-medium:28px;
--spectrum-in-field-button-width-stacked-large:36px;
--spectrum-in-field-button-width-stacked-extra-large:44px;
+ --spectrum-in-field-button-fill-stacked-inner-border-rounding:0px;
+ --spectrum-in-field-button-edge-to-fill:0px;
+ --spectrum-in-field-button-stacked-inner-edge-to-fill:0px;
--spectrum-in-field-button-edge-to-disclosure-icon-stacked-small:7px;
--spectrum-in-field-button-edge-to-disclosure-icon-stacked-medium:9px;
--spectrum-in-field-button-edge-to-disclosure-icon-stacked-large:13px;
--spectrum-in-field-button-edge-to-disclosure-icon-stacked-extra-large:16px;
--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small:3px;
+ --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium:3px;
+ --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large:4px;
+ --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large:5px;
+ --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small);
+ --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium);
+ --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large);
+ --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large);
+ --spectrum-corner-radius-0:0px;
+ --spectrum-corner-radius-75:4px;
+ --spectrum-corner-radius-100:8px;
+ --spectrum-corner-radius-200:10px;
+ --spectrum-corner-radius-300:6px;
+ --spectrum-corner-radius-400:7px;
+ --spectrum-corner-radius-500:8px;
+ --spectrum-corner-radius-600:9px;
+ --spectrum-corner-radius-700:10px;
+ --spectrum-corner-radius-800:16px;
+ --spectrum-corner-radius-1000:0.5;
+ --spectrum-corner-radius-none:var(--spectrum-corner-radius-0);
+ --spectrum-corner-radius-small-default:var(--spectrum-corner-radius-100);
+ --spectrum-corner-radius-medium-default:var(--spectrum-corner-radius-500);
+ --spectrum-corner-radius-large-default:var(--spectrum-corner-radius-700);
+ --spectrum-corner-radius-extra-large-default:var(--spectrum-corner-radius-800);
+ --spectrum-corner-radius-full:var(--spectrum-corner-radius-1000);
+ --spectrum-corner-radius-small-size-small:var(--spectrum-corner-radius-75);
+ --spectrum-corner-radius-small-size-medium:var(--spectrum-corner-radius-100);
+ --spectrum-corner-radius-small-size-large:var(--spectrum-corner-radius-200);
+ --spectrum-corner-radius-small-size-extra-large:var(--spectrum-corner-radius-300);
+ --spectrum-corner-radius-medium-size-extra-small:var(--spectrum-corner-radius-300);
+ --spectrum-corner-radius-medium-size-small:var(--spectrum-corner-radius-400);
+ --spectrum-corner-radius-medium-size-medium:var(--spectrum-corner-radius-500);
+ --spectrum-corner-radius-medium-size-large:var(--spectrum-corner-radius-600);
+ --spectrum-corner-radius-medium-size-extra-large:var(--spectrum-corner-radius-700);
+ --spectrum-drop-shadow-x:0px;
--spectrum-android-elevation:2dp;
--spectrum-spacing-50:2px;
--spectrum-spacing-75:4px;
@@ -283,6 +294,7 @@
--spectrum-spacing-1000:96px;
--spectrum-focus-indicator-thickness:2px;
--spectrum-focus-indicator-gap:2px;
+ --spectrum-border-width-100:1px;
--spectrum-border-width-200:2px;
--spectrum-border-width-400:4px;
--spectrum-field-edge-to-text-quiet:0px;
@@ -292,6 +304,22 @@
--spectrum-field-edge-to-validation-icon-quiet:0px;
--spectrum-text-underline-thickness:1px;
--spectrum-text-underline-gap:1px;
+ --spectrum-accent-color-100:var(--spectrum-blue-100);
+ --spectrum-accent-color-200:var(--spectrum-blue-200);
+ --spectrum-accent-color-300:var(--spectrum-blue-300);
+ --spectrum-accent-color-400:var(--spectrum-blue-400);
+ --spectrum-accent-color-500:var(--spectrum-blue-500);
+ --spectrum-accent-color-600:var(--spectrum-blue-600);
+ --spectrum-accent-color-700:var(--spectrum-blue-700);
+ --spectrum-accent-color-800:var(--spectrum-blue-800);
+ --spectrum-accent-color-900:var(--spectrum-blue-900);
+ --spectrum-accent-color-1000:var(--spectrum-blue-1000);
+ --spectrum-accent-color-1100:var(--spectrum-blue-1100);
+ --spectrum-accent-color-1200:var(--spectrum-blue-1200);
+ --spectrum-accent-color-1300:var(--spectrum-blue-1300);
+ --spectrum-accent-color-1400:var(--spectrum-blue-1400);
+ --spectrum-accent-color-1500:var(--spectrum-blue-1500);
+ --spectrum-accent-color-1600:var(--spectrum-blue-1600);
--spectrum-informative-color-100:var(--spectrum-blue-100);
--spectrum-informative-color-200:var(--spectrum-blue-200);
--spectrum-informative-color-300:var(--spectrum-blue-300);
@@ -306,6 +334,8 @@
--spectrum-informative-color-1200:var(--spectrum-blue-1200);
--spectrum-informative-color-1300:var(--spectrum-blue-1300);
--spectrum-informative-color-1400:var(--spectrum-blue-1400);
+ --spectrum-informative-color-1500:var(--spectrum-blue-1500);
+ --spectrum-informative-color-1600:var(--spectrum-blue-1600);
--spectrum-negative-color-100:var(--spectrum-red-100);
--spectrum-negative-color-200:var(--spectrum-red-200);
--spectrum-negative-color-300:var(--spectrum-red-300);
@@ -320,6 +350,8 @@
--spectrum-negative-color-1200:var(--spectrum-red-1200);
--spectrum-negative-color-1300:var(--spectrum-red-1300);
--spectrum-negative-color-1400:var(--spectrum-red-1400);
+ --spectrum-negative-color-1500:var(--spectrum-red-1500);
+ --spectrum-negative-color-1600:var(--spectrum-red-1600);
--spectrum-notice-color-100:var(--spectrum-orange-100);
--spectrum-notice-color-200:var(--spectrum-orange-200);
--spectrum-notice-color-300:var(--spectrum-orange-300);
@@ -334,6 +366,8 @@
--spectrum-notice-color-1200:var(--spectrum-orange-1200);
--spectrum-notice-color-1300:var(--spectrum-orange-1300);
--spectrum-notice-color-1400:var(--spectrum-orange-1400);
+ --spectrum-notice-color-1500:var(--spectrum-orange-1500);
+ --spectrum-notice-color-1600:var(--spectrum-orange-1600);
--spectrum-positive-color-100:var(--spectrum-green-100);
--spectrum-positive-color-200:var(--spectrum-green-200);
--spectrum-positive-color-300:var(--spectrum-green-300);
@@ -348,6 +382,11 @@
--spectrum-positive-color-1200:var(--spectrum-green-1200);
--spectrum-positive-color-1300:var(--spectrum-green-1300);
--spectrum-positive-color-1400:var(--spectrum-green-1400);
+ --spectrum-positive-color-1500:var(--spectrum-green-1500);
+ --spectrum-positive-color-1600:var(--spectrum-green-1600);
+ --spectrum-negative-subdued-background-color-hover:var(--spectrum-negative-color-300);
+ --spectrum-negative-subdued-background-color-down:var(--spectrum-negative-color-300);
+ --spectrum-negative-subdued-background-color-key-focus:var(--spectrum-negative-color-300);
--spectrum-default-font-family:var(--spectrum-sans-serif-font-family);
--spectrum-sans-serif-font-family:Adobe Clean;
--spectrum-serif-font-family:Adobe Clean Serif;
@@ -374,8 +413,11 @@
--spectrum-heading-serif-light-font-style:var(--spectrum-default-font-style);
--spectrum-heading-cjk-light-font-weight:var(--spectrum-light-font-weight);
--spectrum-heading-cjk-light-font-style:var(--spectrum-default-font-style);
+ --spectrum-heading-sans-serif-font-weight:var(--spectrum-bold-font-weight);
--spectrum-heading-sans-serif-font-style:var(--spectrum-default-font-style);
+ --spectrum-heading-serif-font-weight:var(--spectrum-bold-font-weight);
--spectrum-heading-serif-font-style:var(--spectrum-default-font-style);
+ --spectrum-heading-cjk-font-weight:var(--spectrum-extra-bold-font-weight);
--spectrum-heading-cjk-font-style:var(--spectrum-default-font-style);
--spectrum-heading-sans-serif-heavy-font-weight:var(--spectrum-black-font-weight);
--spectrum-heading-sans-serif-heavy-font-style:var(--spectrum-default-font-style);
@@ -407,7 +449,9 @@
--spectrum-heading-serif-light-emphasized-font-style:var(--spectrum-italic-font-style);
--spectrum-heading-cjk-light-emphasized-font-weight:var(--spectrum-regular-font-weight);
--spectrum-heading-cjk-light-emphasized-font-style:var(--spectrum-default-font-style);
+ --spectrum-heading-sans-serif-emphasized-font-weight:var(--spectrum-bold-font-weight);
--spectrum-heading-sans-serif-emphasized-font-style:var(--spectrum-italic-font-style);
+ --spectrum-heading-serif-emphasized-font-weight:var(--spectrum-bold-font-weight);
--spectrum-heading-serif-emphasized-font-style:var(--spectrum-italic-font-style);
--spectrum-heading-cjk-emphasized-font-weight:var(--spectrum-black-font-weight);
--spectrum-heading-cjk-emphasized-font-style:var(--spectrum-default-font-style);
@@ -583,4 +627,48 @@
--spectrum-code-line-height:var(--spectrum-line-height-200);
--spectrum-code-cjk-line-height:var(--spectrum-cjk-line-height-200);
--spectrum-code-color:var(--spectrum-gray-800);
+ --system:spectrum;
+
+ --spectrum-animation-duration-0:0ms;
+ --spectrum-animation-duration-100:130ms;
+ --spectrum-animation-duration-200:160ms;
+ --spectrum-animation-duration-300:190ms;
+ --spectrum-animation-duration-400:220ms;
+ --spectrum-animation-duration-500:250ms;
+ --spectrum-animation-duration-600:300ms;
+ --spectrum-animation-duration-700:350ms;
+ --spectrum-animation-duration-800:400ms;
+ --spectrum-animation-duration-900:450ms;
+ --spectrum-animation-duration-1000:500ms;
+ --spectrum-animation-duration-2000:1000ms;
+ --spectrum-animation-duration-4000:2000ms;
+ --spectrum-animation-duration-6000:3000ms;
+
+ --spectrum-animation-linear:cubic-bezier(0, 0, 1, 1);
+
+ --spectrum-animation-ease-in-out:cubic-bezier(0.45, 0, 0.4, 1);
+ --spectrum-animation-ease-in:cubic-bezier(0.5, 0, 1, 1);
+ --spectrum-animation-ease-out:cubic-bezier(0, 0, 0.4, 1);
+ --spectrum-animation-ease-linear:cubic-bezier(0, 0, 1, 1);
+ --spectrum-sans-font-family-stack:adobe-clean, var(--spectrum-sans-serif-font-family), "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
+ --spectrum-sans-serif-font:var(--spectrum-sans-font-family-stack);
+
+ --spectrum-serif-font-family-stack:adobe-clean-serif, var(--spectrum-serif-font-family), "Source Serif Pro", Georgia, serif;
+ --spectrum-serif-font:var(--spectrum-serif-font-family-stack);
+
+ --spectrum-code-font-family-stack:"Source Code Pro", Monaco, monospace;
+
+ --spectrum-font-family-ar:myriad-arabic, adobe-clean, "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
+ --spectrum-font-family-he:myriad-hebrew, adobe-clean, "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
+
+ --spectrum-font-family:var(--spectrum-sans-font-family-stack);
+ --spectrum-font-style:var(--spectrum-default-font-style);
+ --spectrum-font-size:var(--spectrum-font-size-100);
+
+ --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);
+ --spectrum-docs-static-white-background-color-rgb:15, 121, 125;
+ --spectrum-docs-static-white-background-color:rgba(var(--spectrum-docs-static-white-background-color-rgb));
+ --spectrum-docs-static-black-background-color-rgb:181, 209, 211;
+ --spectrum-docs-static-black-background-color:rgba(var(--spectrum-docs-static-black-background-color-rgb));
}
diff --git a/tokens/dist/css/large-vars.css b/tokens/dist/css/large-vars.css
index 232dcfb2877..e9c815743fe 100644
--- a/tokens/dist/css/large-vars.css
+++ b/tokens/dist/css/large-vars.css
@@ -12,11 +12,11 @@
*/
.spectrum--large{
- --spectrum-workflow-icon-size-50:18px;
- --spectrum-workflow-icon-size-75:20px;
- --spectrum-workflow-icon-size-100:22px;
- --spectrum-workflow-icon-size-200:24px;
- --spectrum-workflow-icon-size-300:28px;
+ --spectrum-workflow-icon-size-50:16px;
+ --spectrum-workflow-icon-size-75:18px;
+ --spectrum-workflow-icon-size-100:24px;
+ --spectrum-workflow-icon-size-200:28px;
+ --spectrum-workflow-icon-size-300:30px;
--spectrum-arrow-icon-size-75:12px;
--spectrum-arrow-icon-size-100:14px;
--spectrum-arrow-icon-size-200:16px;
@@ -62,6 +62,34 @@
--spectrum-dash-icon-size-400:18px;
--spectrum-dash-icon-size-500:20px;
--spectrum-dash-icon-size-600:22px;
+ --spectrum-checkbox-control-size-small:16px;
+ --spectrum-checkbox-control-size-medium:18px;
+ --spectrum-checkbox-control-size-large:20px;
+ --spectrum-checkbox-control-size-extra-large:22px;
+ --spectrum-checkbox-top-to-control-small:7px;
+ --spectrum-checkbox-top-to-control-medium:11px;
+ --spectrum-checkbox-top-to-control-large:15px;
+ --spectrum-checkbox-top-to-control-extra-large:19px;
+ --spectrum-switch-control-width-small:32px;
+ --spectrum-switch-control-width-medium:36px;
+ --spectrum-switch-control-width-large:41px;
+ --spectrum-switch-control-width-extra-large:46px;
+ --spectrum-switch-control-height-small:16px;
+ --spectrum-switch-control-height-medium:18px;
+ --spectrum-switch-control-height-large:20px;
+ --spectrum-switch-control-height-extra-large:22px;
+ --spectrum-switch-top-to-control-small:7px;
+ --spectrum-switch-top-to-control-medium:11px;
+ --spectrum-switch-top-to-control-large:15px;
+ --spectrum-switch-top-to-control-extra-large:19px;
+ --spectrum-radio-button-control-size-small:16px;
+ --spectrum-radio-button-control-size-medium:18px;
+ --spectrum-radio-button-control-size-large:20px;
+ --spectrum-radio-button-control-size-extra-large:22px;
+ --spectrum-radio-button-top-to-control-small:7px;
+ --spectrum-radio-button-top-to-control-medium:11px;
+ --spectrum-radio-button-top-to-control-large:15px;
+ --spectrum-radio-button-top-to-control-extra-large:19px;
--spectrum-field-label-text-to-asterisk-small:5px;
--spectrum-field-label-text-to-asterisk-medium:5px;
--spectrum-field-label-text-to-asterisk-large:6px;
@@ -137,6 +165,22 @@
--spectrum-menu-item-top-to-selected-icon-medium:13px;
--spectrum-menu-item-top-to-selected-icon-large:17px;
--spectrum-menu-item-top-to-selected-icon-extra-large:22px;
+ --spectrum-slider-control-height-small:18px;
+ --spectrum-slider-control-height-medium:20px;
+ --spectrum-slider-control-height-large:22px;
+ --spectrum-slider-control-height-extra-large:26px;
+ --spectrum-slider-handle-size-small:18px;
+ --spectrum-slider-handle-size-medium:20px;
+ --spectrum-slider-handle-size-large:22px;
+ --spectrum-slider-handle-size-extra-large:26px;
+ --spectrum-slider-handle-border-width-down-small:7px;
+ --spectrum-slider-handle-border-width-down-medium:8px;
+ --spectrum-slider-handle-border-width-down-large:9px;
+ --spectrum-slider-handle-border-width-down-extra-large:11px;
+ --spectrum-slider-bottom-to-handle-small:6px;
+ --spectrum-slider-bottom-to-handle-medium:10px;
+ --spectrum-slider-bottom-to-handle-large:14px;
+ --spectrum-slider-bottom-to-handle-extra-large:17px;
--spectrum-slider-control-to-field-label-small:6px;
--spectrum-slider-control-to-field-label-medium:10px;
--spectrum-slider-control-to-field-label-large:14px;
@@ -365,11 +409,14 @@
--spectrum-side-navigation-bottom-to-text:10px;
--spectrum-tray-top-to-content-area:5px;
--spectrum-accordion-top-to-text-spacious-small:12px;
- --spectrum-text-to-visual-50:8px;
- --spectrum-text-to-visual-75:9px;
- --spectrum-text-to-visual-100:10px;
- --spectrum-text-to-visual-200:11px;
- --spectrum-text-to-visual-300:13px;
+ --spectrum-drop-shadow-y:2px;
+ --spectrum-drop-shadow-blur:6px;
+ --spectrum-text-to-visual-50:7px;
+ --spectrum-text-to-visual-75:7px;
+ --spectrum-text-to-visual-100:8px;
+ --spectrum-text-to-visual-200:9px;
+ --spectrum-text-to-visual-300:10px;
+ --spectrum-text-to-visual-400:11px;
--spectrum-text-to-control-75:11px;
--spectrum-text-to-control-100:13px;
--spectrum-text-to-control-200:14px;
@@ -381,38 +428,38 @@
--spectrum-component-height-300:60px;
--spectrum-component-height-400:70px;
--spectrum-component-height-500:80px;
- --spectrum-component-pill-edge-to-visual-75:13px;
+ --spectrum-component-pill-edge-to-visual-75:15px;
--spectrum-component-pill-edge-to-visual-100:17px;
- --spectrum-component-pill-edge-to-visual-200:22px;
- --spectrum-component-pill-edge-to-visual-300:27px;
- --spectrum-component-pill-edge-to-visual-only-75:5px;
- --spectrum-component-pill-edge-to-visual-only-100:9px;
- --spectrum-component-pill-edge-to-visual-only-200:13px;
- --spectrum-component-pill-edge-to-visual-only-300:16px;
- --spectrum-component-pill-edge-to-text-75:15px;
+ --spectrum-component-pill-edge-to-visual-200:21px;
+ --spectrum-component-pill-edge-to-visual-300:28px;
+ --spectrum-component-pill-edge-to-visual-only-75:6px;
+ --spectrum-component-pill-edge-to-visual-only-100:8px;
+ --spectrum-component-pill-edge-to-visual-only-200:11px;
+ --spectrum-component-pill-edge-to-visual-only-300:15px;
+ --spectrum-component-pill-edge-to-text-75:17px;
--spectrum-component-pill-edge-to-text-100:20px;
- --spectrum-component-pill-edge-to-text-200:25px;
+ --spectrum-component-pill-edge-to-text-200:24px;
--spectrum-component-pill-edge-to-text-300:30px;
- --spectrum-component-edge-to-visual-50:7px;
- --spectrum-component-edge-to-visual-75:9px;
+ --spectrum-component-edge-to-visual-50:9px;
+ --spectrum-component-edge-to-visual-75:11px;
--spectrum-component-edge-to-visual-100:12px;
- --spectrum-component-edge-to-visual-200:16px;
- --spectrum-component-edge-to-visual-300:19px;
- --spectrum-component-edge-to-visual-only-50:4px;
- --spectrum-component-edge-to-visual-only-75:5px;
- --spectrum-component-edge-to-visual-only-100:9px;
- --spectrum-component-edge-to-visual-only-200:13px;
- --spectrum-component-edge-to-visual-only-300:16px;
- --spectrum-component-edge-to-text-50:10px;
- --spectrum-component-edge-to-text-75:11px;
+ --spectrum-component-edge-to-visual-200:15px;
+ --spectrum-component-edge-to-visual-300:20px;
+ --spectrum-component-edge-to-visual-only-50:5px;
+ --spectrum-component-edge-to-visual-only-75:6px;
+ --spectrum-component-edge-to-visual-only-100:8px;
+ --spectrum-component-edge-to-visual-only-200:11px;
+ --spectrum-component-edge-to-visual-only-300:15px;
+ --spectrum-component-edge-to-text-50:11px;
+ --spectrum-component-edge-to-text-75:13px;
--spectrum-component-edge-to-text-100:15px;
- --spectrum-component-edge-to-text-200:19px;
+ --spectrum-component-edge-to-text-200:18px;
--spectrum-component-edge-to-text-300:22px;
- --spectrum-component-top-to-workflow-icon-50:4px;
- --spectrum-component-top-to-workflow-icon-75:5px;
- --spectrum-component-top-to-workflow-icon-100:9px;
- --spectrum-component-top-to-workflow-icon-200:13px;
- --spectrum-component-top-to-workflow-icon-300:16px;
+ --spectrum-component-top-to-workflow-icon-50:5px;
+ --spectrum-component-top-to-workflow-icon-75:6px;
+ --spectrum-component-top-to-workflow-icon-100:8px;
+ --spectrum-component-top-to-workflow-icon-200:11px;
+ --spectrum-component-top-to-workflow-icon-300:15px;
--spectrum-component-top-to-text-50:4px;
--spectrum-component-top-to-text-75:5px;
--spectrum-component-top-to-text-100:8px;
@@ -501,4 +548,113 @@
--spectrum-font-size-1100:55px;
--spectrum-font-size-1200:62px;
--spectrum-font-size-1300:70px;
+ --scale:large;
+
+ --spectrum-alert-banner-close-button-spacing:var(--spectrum-spacing-200);
+ --spectrum-alert-banner-edge-to-divider:var(--spectrum-spacing-200);
+ --spectrum-alert-banner-edge-to-button:var(--spectrum-spacing-200);
+ --spectrum-alert-banner-text-to-button-vertical:var(--spectrum-spacing-200);
+
+ --spectrum-alert-dialog-padding:var(--spectrum-spacing-400);
+ --spectrum-alert-dialog-description-to-buttons:var(--spectrum-spacing-600);
+
+ --spectrum-assetcard-focus-ring-border-radius:9px;
+ --spectrum-assetcard-selectionindicator-margin:15px;
+ --spectrum-assetcard-title-font-size:var(--spectrum-heading-size-xxs);
+ --spectrum-assetcard-header-content-font-size:var(--spectrum-heading-size-xxs);
+ --spectrum-assetcard-content-font-size:var(--spectrum-body-size-xs);
+
+ --spectrum-button-top-to-text-small:6px;
+ --spectrum-button-bottom-to-text-small:5px;
+ --spectrum-button-top-to-text-medium:9px;
+ --spectrum-button-bottom-to-text-medium:10px;
+ --spectrum-button-top-to-text-large:12px;
+ --spectrum-button-bottom-to-text-large:13px;
+ --spectrum-button-top-to-text-extra-large:16px;
+ --spectrum-button-bottom-to-text-extra-large:17px;
+
+ --spectrum-coach-indicator-gap:8px;
+ --spectrum-coach-indicator-ring-diameter:20px;
+ --spectrum-coach-indicator-quiet-ring-diameter:10px;
+
+ --spectrum-coachmark-buttongroup-display:none;
+ --spectrum-coachmark-buttongroup-mobile-display:flex;
+ --spectrum-coachmark-menu-display:none;
+ --spectrum-coachmark-menu-mobile-display:inline-flex;
+
+
+ --spectrum-colorwheel-path:"M 119 119 m -119 0 a 119 119 0 1 0 238 0 a 119 119 0 1 0 -238 0.2 M 119 119 m -91 0 a 91 91 0 1 0 182 0 a 91 91 0 1 0 -182 0";
+ --spectrum-colorwheel-path-borders:"M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0";
+ --spectrum-colorwheel-colorarea-container-size:182px;
+
+ --spectrum-colorloupe-checkerboard-fill:url(#checkerboard-secondary);
+
+ --spectrum-contextual-help-content-spacing:var(--spectrum-spacing-200);
+
+ --spectrum-datepicker-initial-width:160px;
+ --spectrum-datepicker-generic-padding:15px;
+ --spectrum-datepicker-dash-line-height:30px;
+ --spectrum-datepicker-width-quiet-first:90px;
+ --spectrum-datepicker-width-quiet-second:20px;
+ --spectrum-datepicker-datetime-width-first:45px;
+ --spectrum-datepicker-invalid-icon-to-button:10px;
+ --spectrum-datepicker-invalid-icon-to-button-quiet:9px;
+ --spectrum-datepicker-input-datetime-width:30px;
+
+ --spectrum-dial-border-radius:20px;
+ --spectrum-dial-handle-position:10px;
+ --spectrum-dial-handle-block-margin:20px;
+ --spectrum-dial-handle-inline-margin:20px;
+ --spectrum-dial-controls-margin:10px;
+ --spectrum-dial-label-gap-y:6px;
+ --spectrum-dial-label-container-top-to-text:5px;
+
+ --spectrum-dialog-confirm-entry-animation-distance:25px;
+ --spectrum-dialog-confirm-hero-height:160px;
+ --spectrum-dialog-confirm-border-radius:5px;
+ --spectrum-dialog-confirm-title-text-size:19px;
+ --spectrum-dialog-confirm-description-text-size:15px;
+ --spectrum-dialog-confirm-padding-grid:24px;
+
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-small:34px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-medium:42px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-large:47px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large:54px;
+
+ --spectrum-menu-item-checkmark-height-small:12px;
+ --spectrum-menu-item-checkmark-height-medium:14px;
+ --spectrum-menu-item-checkmark-height-large:16px;
+ --spectrum-menu-item-checkmark-height-extra-large:16px;
+
+ --spectrum-menu-item-checkmark-width-small:12px;
+ --spectrum-menu-item-checkmark-width-medium:14px;
+ --spectrum-menu-item-checkmark-width-large:16px;
+ --spectrum-menu-item-checkmark-width-extra-large:16px;
+
+ --spectrum-pagination-textfield-width:60px;
+ --spectrum-pagination-item-inline-spacing:6px;
+
+ --spectrum-rating-icon-spacing:var(--spectrum-spacing-100);
+
+ --spectrum-slider-tick-mark-height:13px;
+ --spectrum-slider-ramp-track-height:20px;
+
+ --spectrum-treeview-item-indentation-medium:20px;
+ --spectrum-treeview-item-indentation-small:15px;
+ --spectrum-treeview-item-indentation-large:25px;
+ --spectrum-treeview-item-indentation-extra-large:30px;
+ --spectrum-treeview-indicator-inset-block-start:6px;
+ --spectrum-treeview-item-min-block-size-thumbnail-offset-medium:2px;
+
+ --spectrum-tooltip-animation-distance:5px;
+
+ --spectrum-ui-icon-medium-display:none;
+ --spectrum-ui-icon-large-display:block;
+
+ --spectrum-well-border-radius:5px;
+ --spectrum-well-margin-top:5px;
+ --spectrum-well-min-width:300px;
+ --spectrum-well-padding:20px;
+ --spectrum-workflow-icon-size-xxl:40px;
+ --spectrum-workflow-icon-size-xxs:15px;
}
diff --git a/tokens/dist/css/light-vars.css b/tokens/dist/css/light-vars.css
index 5411d477c5f..d6c5deb5ba2 100644
--- a/tokens/dist/css/light-vars.css
+++ b/tokens/dist/css/light-vars.css
@@ -11,37 +11,28 @@
* governing permissions and limitations under the License.
*/
-.spectrum--light,.spectrum--lightest{
+.spectrum--light{
--spectrum-overlay-opacity:0.4;
- --spectrum-drop-shadow-color-rgb:0, 0, 0;
- --spectrum-drop-shadow-color-opacity:0.15;
- --spectrum-drop-shadow-color:rgba(var(--spectrum-drop-shadow-color-rgb), var(--spectrum-drop-shadow-color-opacity));
- --spectrum-background-base-color:var(--spectrum-gray-200);
- --spectrum-background-layer-1-color:var(--spectrum-gray-100);
- --spectrum-background-layer-2-color:var(--spectrum-gray-50);
- --spectrum-neutral-background-color-default:var(--spectrum-gray-800);
- --spectrum-neutral-background-color-hover:var(--spectrum-gray-900);
- --spectrum-neutral-background-color-down:var(--spectrum-gray-900);
- --spectrum-neutral-background-color-key-focus:var(--spectrum-gray-900);
- --spectrum-neutral-subdued-background-color-default:var(--spectrum-gray-600);
- --spectrum-neutral-subdued-background-color-hover:var(--spectrum-gray-700);
+ --spectrum-background-layer-2-color:var(--spectrum-gray-25);
+ --spectrum-neutral-subdued-background-color-default:var(--spectrum-gray-700);
+ --spectrum-neutral-subdued-background-color-hover:var(--spectrum-gray-800);
--spectrum-neutral-subdued-background-color-down:var(--spectrum-gray-800);
- --spectrum-neutral-subdued-background-color-key-focus:var(--spectrum-gray-700);
+ --spectrum-neutral-subdued-background-color-key-focus:var(--spectrum-gray-800);
--spectrum-accent-background-color-default:var(--spectrum-accent-color-900);
--spectrum-accent-background-color-hover:var(--spectrum-accent-color-1000);
- --spectrum-accent-background-color-down:var(--spectrum-accent-color-1100);
+ --spectrum-accent-background-color-down:var(--spectrum-accent-color-1000);
--spectrum-accent-background-color-key-focus:var(--spectrum-accent-color-1000);
--spectrum-informative-background-color-default:var(--spectrum-informative-color-900);
--spectrum-informative-background-color-hover:var(--spectrum-informative-color-1000);
- --spectrum-informative-background-color-down:var(--spectrum-informative-color-1100);
+ --spectrum-informative-background-color-down:var(--spectrum-informative-color-1000);
--spectrum-informative-background-color-key-focus:var(--spectrum-informative-color-1000);
--spectrum-negative-background-color-default:var(--spectrum-negative-color-900);
--spectrum-negative-background-color-hover:var(--spectrum-negative-color-1000);
- --spectrum-negative-background-color-down:var(--spectrum-negative-color-1100);
+ --spectrum-negative-background-color-down:var(--spectrum-negative-color-1000);
--spectrum-negative-background-color-key-focus:var(--spectrum-negative-color-1000);
--spectrum-positive-background-color-default:var(--spectrum-positive-color-900);
--spectrum-positive-background-color-hover:var(--spectrum-positive-color-1000);
- --spectrum-positive-background-color-down:var(--spectrum-positive-color-1100);
+ --spectrum-positive-background-color-down:var(--spectrum-positive-color-1000);
--spectrum-positive-background-color-key-focus:var(--spectrum-positive-color-1000);
--spectrum-notice-background-color-default:var(--spectrum-notice-color-600);
--spectrum-gray-background-color-default:var(--spectrum-gray-700);
@@ -62,8 +53,8 @@
--spectrum-accent-visual-color:var(--spectrum-accent-color-800);
--spectrum-informative-visual-color:var(--spectrum-informative-color-800);
--spectrum-negative-visual-color:var(--spectrum-negative-color-800);
- --spectrum-notice-visual-color:var(--spectrum-notice-color-700);
- --spectrum-positive-visual-color:var(--spectrum-positive-color-700);
+ --spectrum-notice-visual-color:var(--spectrum-notice-color-800);
+ --spectrum-positive-visual-color:var(--spectrum-positive-color-800);
--spectrum-gray-visual-color:var(--spectrum-gray-500);
--spectrum-red-visual-color:var(--spectrum-red-800);
--spectrum-orange-visual-color:var(--spectrum-orange-700);
@@ -78,395 +69,788 @@
--spectrum-purple-visual-color:var(--spectrum-purple-800);
--spectrum-fuchsia-visual-color:var(--spectrum-fuchsia-800);
--spectrum-magenta-visual-color:var(--spectrum-magenta-800);
+ --spectrum-background-elevated-color:var(--spectrum-gray-25);
+ --spectrum-background-pasteboard-color:var(--spectrum-gray-100);
+ --spectrum-brown-visual-color:var(--spectrum-brown-800);
+ --spectrum-cinnamon-visual-color:var(--spectrum-cinnamon-800);
+ --spectrum-pink-visual-color:var(--spectrum-pink-800);
+ --spectrum-silver-visual-color:var(--spectrum-silver-800);
+ --spectrum-turquoise-visual-color:var(--spectrum-turquoise-800);
+ --spectrum-brown-background-color-default:var(--spectrum-brown-900);
+ --spectrum-cinnamon-background-color-default:var(--spectrum-cinnamon-900);
+ --spectrum-pink-background-color-default:var(--spectrum-pink-900);
+ --spectrum-silver-background-color-default:var(--spectrum-silver-900);
+ --spectrum-turquoise-background-color-default:var(--spectrum-turquoise-900);
+ --spectrum-drop-shadow-color-100-rgb:0, 0, 0;
+ --spectrum-drop-shadow-color-100-opacity:0.12;
+ --spectrum-drop-shadow-color-100:rgba(var(--spectrum-drop-shadow-color-100-rgb), var(--spectrum-drop-shadow-color-100-opacity));
+ --spectrum-drop-shadow-color-200-rgb:0, 0, 0;
+ --spectrum-drop-shadow-color-200-opacity:0.16;
+ --spectrum-drop-shadow-color-200:rgba(var(--spectrum-drop-shadow-color-200-rgb), var(--spectrum-drop-shadow-color-200-opacity));
+ --spectrum-drop-shadow-color-300-rgb:0, 0, 0;
+ --spectrum-drop-shadow-color-300-opacity:0.2;
+ --spectrum-drop-shadow-color-300:rgba(var(--spectrum-drop-shadow-color-300-rgb), var(--spectrum-drop-shadow-color-300-opacity));
+ --spectrum-neutral-subtle-background-color-default:var(--spectrum-gray-100);
+ --spectrum-gray-subtle-background-color-default:var(--spectrum-gray-100);
+ --spectrum-blue-subtle-background-color-default:var(--spectrum-blue-200);
+ --spectrum-green-subtle-background-color-default:var(--spectrum-green-200);
+ --spectrum-orange-subtle-background-color-default:var(--spectrum-orange-200);
+ --spectrum-red-subtle-background-color-default:var(--spectrum-red-200);
+ --spectrum-brown-subtle-background-color-default:var(--spectrum-brown-200);
+ --spectrum-cinnamon-subtle-background-color-default:var(--spectrum-cinnamon-200);
+ --spectrum-celery-subtle-background-color-default:var(--spectrum-celery-200);
+ --spectrum-chartreuse-subtle-background-color-default:var(--spectrum-chartreuse-200);
+ --spectrum-cyan-subtle-background-color-default:var(--spectrum-cyan-200);
+ --spectrum-fuchsia-subtle-background-color-default:var(--spectrum-fuchsia-200);
+ --spectrum-indigo-subtle-background-color-default:var(--spectrum-indigo-200);
+ --spectrum-magenta-subtle-background-color-default:var(--spectrum-magenta-200);
+ --spectrum-pink-subtle-background-color-default:var(--spectrum-pink-200);
+ --spectrum-purple-subtle-background-color-default:var(--spectrum-purple-200);
+ --spectrum-seafoam-subtle-background-color-default:var(--spectrum-seafoam-200);
+ --spectrum-silver-subtle-background-color-default:var(--spectrum-silver-200);
+ --spectrum-turquoise-subtle-background-color-default:var(--spectrum-turquoise-200);
+ --spectrum-yellow-subtle-background-color-default:var(--spectrum-yellow-200);
--spectrum-opacity-checkerboard-square-dark:var(--spectrum-gray-200);
- --spectrum-gray-50-rgb:255, 255, 255;
+ --spectrum-white-rgb:255, 255, 255;
+ --spectrum-white:rgba(var(--spectrum-white-rgb));
+ --spectrum-transparent-white-25-rgb:255, 255, 255;
+ --spectrum-transparent-white-25-opacity:0;
+ --spectrum-transparent-white-25:rgba(var(--spectrum-transparent-white-25-rgb), var(--spectrum-transparent-white-25-opacity));
+ --spectrum-transparent-white-50-rgb:255, 255, 255;
+ --spectrum-transparent-white-50-opacity:0.04;
+ --spectrum-transparent-white-50:rgba(var(--spectrum-transparent-white-50-rgb), var(--spectrum-transparent-white-50-opacity));
+ --spectrum-transparent-white-75-rgb:255, 255, 255;
+ --spectrum-transparent-white-75-opacity:0.07;
+ --spectrum-transparent-white-75:rgba(var(--spectrum-transparent-white-75-rgb), var(--spectrum-transparent-white-75-opacity));
+ --spectrum-transparent-white-100-rgb:255, 255, 255;
+ --spectrum-transparent-white-100-opacity:0.11;
+ --spectrum-transparent-white-100:rgba(var(--spectrum-transparent-white-100-rgb), var(--spectrum-transparent-white-100-opacity));
+ --spectrum-transparent-white-200-rgb:255, 255, 255;
+ --spectrum-transparent-white-200-opacity:0.14;
+ --spectrum-transparent-white-200:rgba(var(--spectrum-transparent-white-200-rgb), var(--spectrum-transparent-white-200-opacity));
+ --spectrum-transparent-white-300-rgb:255, 255, 255;
+ --spectrum-transparent-white-300-opacity:0.17;
+ --spectrum-transparent-white-300:rgba(var(--spectrum-transparent-white-300-rgb), var(--spectrum-transparent-white-300-opacity));
+ --spectrum-transparent-white-400-rgb:255, 255, 255;
+ --spectrum-transparent-white-400-opacity:0.21;
+ --spectrum-transparent-white-400:rgba(var(--spectrum-transparent-white-400-rgb), var(--spectrum-transparent-white-400-opacity));
+ --spectrum-transparent-white-500-rgb:255, 255, 255;
+ --spectrum-transparent-white-500-opacity:0.39;
+ --spectrum-transparent-white-500:rgba(var(--spectrum-transparent-white-500-rgb), var(--spectrum-transparent-white-500-opacity));
+ --spectrum-transparent-white-600-rgb:255, 255, 255;
+ --spectrum-transparent-white-600-opacity:0.51;
+ --spectrum-transparent-white-600:rgba(var(--spectrum-transparent-white-600-rgb), var(--spectrum-transparent-white-600-opacity));
+ --spectrum-transparent-white-700-rgb:255, 255, 255;
+ --spectrum-transparent-white-700-opacity:0.66;
+ --spectrum-transparent-white-700:rgba(var(--spectrum-transparent-white-700-rgb), var(--spectrum-transparent-white-700-opacity));
+ --spectrum-transparent-white-800-rgb:255, 255, 255;
+ --spectrum-transparent-white-800-opacity:0.85;
+ --spectrum-transparent-white-800:rgba(var(--spectrum-transparent-white-800-rgb), var(--spectrum-transparent-white-800-opacity));
+ --spectrum-transparent-white-900-rgb:255, 255, 255;
+ --spectrum-transparent-white-900-opacity:0.94;
+ --spectrum-transparent-white-900:rgba(var(--spectrum-transparent-white-900-rgb), var(--spectrum-transparent-white-900-opacity));
+ --spectrum-transparent-white-1000-rgb:255, 255, 255;
+ --spectrum-transparent-white-1000:rgba(var(--spectrum-transparent-white-1000-rgb));
+ --spectrum-transparent-black-25-rgb:0, 0, 0;
+ --spectrum-transparent-black-25-opacity:0;
+ --spectrum-transparent-black-25:rgba(var(--spectrum-transparent-black-25-rgb), var(--spectrum-transparent-black-25-opacity));
+ --spectrum-transparent-black-50-rgb:0, 0, 0;
+ --spectrum-transparent-black-50-opacity:0.03;
+ --spectrum-transparent-black-50:rgba(var(--spectrum-transparent-black-50-rgb), var(--spectrum-transparent-black-50-opacity));
+ --spectrum-transparent-black-75-rgb:0, 0, 0;
+ --spectrum-transparent-black-75-opacity:0.05;
+ --spectrum-transparent-black-75:rgba(var(--spectrum-transparent-black-75-rgb), var(--spectrum-transparent-black-75-opacity));
+ --spectrum-transparent-black-100-rgb:0, 0, 0;
+ --spectrum-transparent-black-100-opacity:0.09;
+ --spectrum-transparent-black-100:rgba(var(--spectrum-transparent-black-100-rgb), var(--spectrum-transparent-black-100-opacity));
+ --spectrum-transparent-black-200-rgb:0, 0, 0;
+ --spectrum-transparent-black-200-opacity:0.12;
+ --spectrum-transparent-black-200:rgba(var(--spectrum-transparent-black-200-rgb), var(--spectrum-transparent-black-200-opacity));
+ --spectrum-transparent-black-300-rgb:0, 0, 0;
+ --spectrum-transparent-black-300-opacity:0.15;
+ --spectrum-transparent-black-300:rgba(var(--spectrum-transparent-black-300-rgb), var(--spectrum-transparent-black-300-opacity));
+ --spectrum-transparent-black-400-rgb:0, 0, 0;
+ --spectrum-transparent-black-400-opacity:0.22;
+ --spectrum-transparent-black-400:rgba(var(--spectrum-transparent-black-400-rgb), var(--spectrum-transparent-black-400-opacity));
+ --spectrum-transparent-black-500-rgb:0, 0, 0;
+ --spectrum-transparent-black-500-opacity:0.44;
+ --spectrum-transparent-black-500:rgba(var(--spectrum-transparent-black-500-rgb), var(--spectrum-transparent-black-500-opacity));
+ --spectrum-transparent-black-600-rgb:0, 0, 0;
+ --spectrum-transparent-black-600-opacity:0.56;
+ --spectrum-transparent-black-600:rgba(var(--spectrum-transparent-black-600-rgb), var(--spectrum-transparent-black-600-opacity));
+ --spectrum-transparent-black-700-rgb:0, 0, 0;
+ --spectrum-transparent-black-700-opacity:0.69;
+ --spectrum-transparent-black-700:rgba(var(--spectrum-transparent-black-700-rgb), var(--spectrum-transparent-black-700-opacity));
+ --spectrum-transparent-black-800-rgb:0, 0, 0;
+ --spectrum-transparent-black-800-opacity:0.84;
+ --spectrum-transparent-black-800:rgba(var(--spectrum-transparent-black-800-rgb), var(--spectrum-transparent-black-800-opacity));
+ --spectrum-transparent-black-900-rgb:0, 0, 0;
+ --spectrum-transparent-black-900-opacity:0.93;
+ --spectrum-transparent-black-900:rgba(var(--spectrum-transparent-black-900-rgb), var(--spectrum-transparent-black-900-opacity));
+ --spectrum-gray-25-rgb:255, 255, 255;
+ --spectrum-gray-25:rgba(var(--spectrum-gray-25-rgb));
+ --spectrum-gray-50-rgb:248, 248, 248;
--spectrum-gray-50:rgba(var(--spectrum-gray-50-rgb));
- --spectrum-gray-75-rgb:253, 253, 253;
+ --spectrum-gray-75-rgb:243, 243, 243;
--spectrum-gray-75:rgba(var(--spectrum-gray-75-rgb));
- --spectrum-gray-100-rgb:248, 248, 248;
+ --spectrum-gray-100-rgb:233, 233, 233;
--spectrum-gray-100:rgba(var(--spectrum-gray-100-rgb));
- --spectrum-gray-200-rgb:230, 230, 230;
+ --spectrum-gray-200-rgb:225, 225, 225;
--spectrum-gray-200:rgba(var(--spectrum-gray-200-rgb));
- --spectrum-gray-300-rgb:213, 213, 213;
+ --spectrum-gray-300-rgb:218, 218, 218;
--spectrum-gray-300:rgba(var(--spectrum-gray-300-rgb));
- --spectrum-gray-400-rgb:177, 177, 177;
+ --spectrum-gray-400-rgb:198, 198, 198;
--spectrum-gray-400:rgba(var(--spectrum-gray-400-rgb));
- --spectrum-gray-500-rgb:144, 144, 144;
+ --spectrum-gray-500-rgb:143, 143, 143;
--spectrum-gray-500:rgba(var(--spectrum-gray-500-rgb));
- --spectrum-gray-600-rgb:109, 109, 109;
+ --spectrum-gray-600-rgb:113, 113, 113;
--spectrum-gray-600:rgba(var(--spectrum-gray-600-rgb));
- --spectrum-gray-700-rgb:70, 70, 70;
+ --spectrum-gray-700-rgb:80, 80, 80;
--spectrum-gray-700:rgba(var(--spectrum-gray-700-rgb));
- --spectrum-gray-800-rgb:34, 34, 34;
+ --spectrum-gray-800-rgb:41, 41, 41;
--spectrum-gray-800:rgba(var(--spectrum-gray-800-rgb));
- --spectrum-gray-900-rgb:0, 0, 0;
+ --spectrum-gray-900-rgb:19, 19, 19;
--spectrum-gray-900:rgba(var(--spectrum-gray-900-rgb));
- --spectrum-blue-100-rgb:224, 242, 255;
+ --spectrum-gray-1000-rgb:0, 0, 0;
+ --spectrum-gray-1000:rgba(var(--spectrum-gray-1000-rgb));
+ --spectrum-blue-100-rgb:245, 249, 255;
--spectrum-blue-100:rgba(var(--spectrum-blue-100-rgb));
- --spectrum-blue-200-rgb:202, 232, 255;
+ --spectrum-blue-200-rgb:229, 240, 254;
--spectrum-blue-200:rgba(var(--spectrum-blue-200-rgb));
- --spectrum-blue-300-rgb:181, 222, 255;
+ --spectrum-blue-300-rgb:203, 226, 254;
--spectrum-blue-300:rgba(var(--spectrum-blue-300-rgb));
- --spectrum-blue-400-rgb:150, 206, 253;
+ --spectrum-blue-400-rgb:172, 207, 253;
--spectrum-blue-400:rgba(var(--spectrum-blue-400-rgb));
- --spectrum-blue-500-rgb:120, 187, 250;
+ --spectrum-blue-500-rgb:142, 185, 252;
--spectrum-blue-500:rgba(var(--spectrum-blue-500-rgb));
- --spectrum-blue-600-rgb:89, 167, 246;
+ --spectrum-blue-600-rgb:114, 158, 253;
--spectrum-blue-600:rgba(var(--spectrum-blue-600-rgb));
- --spectrum-blue-700-rgb:56, 146, 243;
+ --spectrum-blue-700-rgb:93, 137, 255;
--spectrum-blue-700:rgba(var(--spectrum-blue-700-rgb));
- --spectrum-blue-800-rgb:20, 122, 243;
+ --spectrum-blue-800-rgb:75, 117, 255;
--spectrum-blue-800:rgba(var(--spectrum-blue-800-rgb));
- --spectrum-blue-900-rgb:2, 101, 220;
+ --spectrum-blue-900-rgb:59, 99, 251;
--spectrum-blue-900:rgba(var(--spectrum-blue-900-rgb));
- --spectrum-blue-1000-rgb:0, 84, 182;
+ --spectrum-blue-1000-rgb:39, 77, 234;
--spectrum-blue-1000:rgba(var(--spectrum-blue-1000-rgb));
- --spectrum-blue-1100-rgb:0, 68, 145;
+ --spectrum-blue-1100-rgb:29, 62, 207;
--spectrum-blue-1100:rgba(var(--spectrum-blue-1100-rgb));
- --spectrum-blue-1200-rgb:0, 53, 113;
+ --spectrum-blue-1200-rgb:21, 50, 173;
--spectrum-blue-1200:rgba(var(--spectrum-blue-1200-rgb));
- --spectrum-blue-1300-rgb:0, 39, 84;
+ --spectrum-blue-1300-rgb:16, 40, 140;
--spectrum-blue-1300:rgba(var(--spectrum-blue-1300-rgb));
- --spectrum-blue-1400-rgb:0, 28, 60;
+ --spectrum-blue-1400-rgb:12, 31, 105;
--spectrum-blue-1400:rgba(var(--spectrum-blue-1400-rgb));
- --spectrum-red-100-rgb:255, 235, 231;
+ --spectrum-blue-1500-rgb:14, 24, 67;
+ --spectrum-blue-1500:rgba(var(--spectrum-blue-1500-rgb));
+ --spectrum-blue-1600-rgb:7, 11, 30;
+ --spectrum-blue-1600:rgba(var(--spectrum-blue-1600-rgb));
+ --spectrum-red-100-rgb:255, 246, 245;
--spectrum-red-100:rgba(var(--spectrum-red-100-rgb));
- --spectrum-red-200-rgb:255, 221, 214;
+ --spectrum-red-200-rgb:255, 235, 232;
--spectrum-red-200:rgba(var(--spectrum-red-200-rgb));
- --spectrum-red-300-rgb:255, 205, 195;
+ --spectrum-red-300-rgb:255, 214, 209;
--spectrum-red-300:rgba(var(--spectrum-red-300-rgb));
- --spectrum-red-400-rgb:255, 183, 169;
+ --spectrum-red-400-rgb:255, 188, 180;
--spectrum-red-400:rgba(var(--spectrum-red-400-rgb));
- --spectrum-red-500-rgb:255, 155, 136;
+ --spectrum-red-500-rgb:255, 157, 145;
--spectrum-red-500:rgba(var(--spectrum-red-500-rgb));
- --spectrum-red-600-rgb:255, 124, 101;
+ --spectrum-red-600-rgb:255, 118, 101;
--spectrum-red-600:rgba(var(--spectrum-red-600-rgb));
- --spectrum-red-700-rgb:247, 92, 70;
+ --spectrum-red-700-rgb:255, 81, 61;
--spectrum-red-700:rgba(var(--spectrum-red-700-rgb));
- --spectrum-red-800-rgb:234, 56, 41;
+ --spectrum-red-800-rgb:240, 56, 35;
--spectrum-red-800:rgba(var(--spectrum-red-800-rgb));
- --spectrum-red-900-rgb:211, 21, 16;
+ --spectrum-red-900-rgb:215, 50, 32;
--spectrum-red-900:rgba(var(--spectrum-red-900-rgb));
- --spectrum-red-1000-rgb:180, 0, 0;
+ --spectrum-red-1000-rgb:183, 40, 24;
--spectrum-red-1000:rgba(var(--spectrum-red-1000-rgb));
- --spectrum-red-1100-rgb:147, 0, 0;
+ --spectrum-red-1100-rgb:156, 33, 19;
--spectrum-red-1100:rgba(var(--spectrum-red-1100-rgb));
- --spectrum-red-1200-rgb:116, 0, 0;
+ --spectrum-red-1200-rgb:129, 27, 14;
--spectrum-red-1200:rgba(var(--spectrum-red-1200-rgb));
- --spectrum-red-1300-rgb:89, 0, 0;
+ --spectrum-red-1300-rgb:104, 21, 10;
--spectrum-red-1300:rgba(var(--spectrum-red-1300-rgb));
- --spectrum-red-1400-rgb:67, 0, 0;
+ --spectrum-red-1400-rgb:80, 16, 6;
--spectrum-red-1400:rgba(var(--spectrum-red-1400-rgb));
- --spectrum-orange-100-rgb:255, 236, 204;
+ --spectrum-red-1500-rgb:59, 11, 4;
+ --spectrum-red-1500:rgba(var(--spectrum-red-1500-rgb));
+ --spectrum-red-1600-rgb:29, 5, 2;
+ --spectrum-red-1600:rgba(var(--spectrum-red-1600-rgb));
+ --spectrum-orange-100-rgb:255, 246, 231;
--spectrum-orange-100:rgba(var(--spectrum-orange-100-rgb));
- --spectrum-orange-200-rgb:255, 223, 173;
+ --spectrum-orange-200-rgb:255, 236, 207;
--spectrum-orange-200:rgba(var(--spectrum-orange-200-rgb));
- --spectrum-orange-300-rgb:253, 210, 145;
+ --spectrum-orange-300-rgb:255, 218, 158;
--spectrum-orange-300:rgba(var(--spectrum-orange-300-rgb));
- --spectrum-orange-400-rgb:255, 187, 99;
+ --spectrum-orange-400-rgb:255, 193, 94;
--spectrum-orange-400:rgba(var(--spectrum-orange-400-rgb));
- --spectrum-orange-500-rgb:255, 160, 55;
+ --spectrum-orange-500-rgb:255, 162, 19;
--spectrum-orange-500:rgba(var(--spectrum-orange-500-rgb));
- --spectrum-orange-600-rgb:246, 133, 17;
+ --spectrum-orange-600-rgb:252, 125, 0;
--spectrum-orange-600:rgba(var(--spectrum-orange-600-rgb));
- --spectrum-orange-700-rgb:228, 111, 0;
+ --spectrum-orange-700-rgb:232, 106, 0;
--spectrum-orange-700:rgba(var(--spectrum-orange-700-rgb));
- --spectrum-orange-800-rgb:203, 93, 0;
+ --spectrum-orange-800-rgb:212, 91, 0;
--spectrum-orange-800:rgba(var(--spectrum-orange-800-rgb));
- --spectrum-orange-900-rgb:177, 76, 0;
+ --spectrum-orange-900-rgb:194, 78, 0;
--spectrum-orange-900:rgba(var(--spectrum-orange-900-rgb));
- --spectrum-orange-1000-rgb:149, 61, 0;
+ --spectrum-orange-1000-rgb:167, 62, 0;
--spectrum-orange-1000:rgba(var(--spectrum-orange-1000-rgb));
- --spectrum-orange-1100-rgb:122, 47, 0;
+ --spectrum-orange-1100-rgb:144, 51, 0;
--spectrum-orange-1100:rgba(var(--spectrum-orange-1100-rgb));
- --spectrum-orange-1200-rgb:97, 35, 0;
+ --spectrum-orange-1200-rgb:118, 41, 0;
--spectrum-orange-1200:rgba(var(--spectrum-orange-1200-rgb));
- --spectrum-orange-1300-rgb:73, 25, 1;
+ --spectrum-orange-1300-rgb:95, 32, 0;
--spectrum-orange-1300:rgba(var(--spectrum-orange-1300-rgb));
- --spectrum-orange-1400-rgb:53, 18, 1;
+ --spectrum-orange-1400-rgb:73, 24, 0;
--spectrum-orange-1400:rgba(var(--spectrum-orange-1400-rgb));
- --spectrum-yellow-100-rgb:251, 241, 152;
+ --spectrum-orange-1500-rgb:52, 18, 0;
+ --spectrum-orange-1500:rgba(var(--spectrum-orange-1500-rgb));
+ --spectrum-orange-1600-rgb:25, 8, 0;
+ --spectrum-orange-1600:rgba(var(--spectrum-orange-1600-rgb));
+ --spectrum-yellow-100-rgb:255, 248, 204;
--spectrum-yellow-100:rgba(var(--spectrum-yellow-100-rgb));
- --spectrum-yellow-200-rgb:248, 231, 80;
+ --spectrum-yellow-200-rgb:255, 241, 151;
--spectrum-yellow-200:rgba(var(--spectrum-yellow-200-rgb));
- --spectrum-yellow-300-rgb:248, 217, 4;
+ --spectrum-yellow-300-rgb:255, 222, 44;
--spectrum-yellow-300:rgba(var(--spectrum-yellow-300-rgb));
- --spectrum-yellow-400-rgb:232, 198, 0;
+ --spectrum-yellow-400-rgb:245, 199, 0;
--spectrum-yellow-400:rgba(var(--spectrum-yellow-400-rgb));
- --spectrum-yellow-500-rgb:215, 179, 0;
+ --spectrum-yellow-500-rgb:230, 175, 0;
--spectrum-yellow-500:rgba(var(--spectrum-yellow-500-rgb));
- --spectrum-yellow-600-rgb:196, 159, 0;
+ --spectrum-yellow-600-rgb:210, 149, 0;
--spectrum-yellow-600:rgba(var(--spectrum-yellow-600-rgb));
- --spectrum-yellow-700-rgb:176, 140, 0;
+ --spectrum-yellow-700-rgb:193, 131, 0;
--spectrum-yellow-700:rgba(var(--spectrum-yellow-700-rgb));
- --spectrum-yellow-800-rgb:155, 120, 0;
+ --spectrum-yellow-800-rgb:175, 116, 0;
--spectrum-yellow-800:rgba(var(--spectrum-yellow-800-rgb));
- --spectrum-yellow-900-rgb:133, 102, 0;
+ --spectrum-yellow-900-rgb:158, 102, 0;
--spectrum-yellow-900:rgba(var(--spectrum-yellow-900-rgb));
- --spectrum-yellow-1000-rgb:112, 83, 0;
+ --spectrum-yellow-1000-rgb:134, 85, 0;
--spectrum-yellow-1000:rgba(var(--spectrum-yellow-1000-rgb));
- --spectrum-yellow-1100-rgb:91, 67, 0;
+ --spectrum-yellow-1100-rgb:114, 72, 0;
--spectrum-yellow-1100:rgba(var(--spectrum-yellow-1100-rgb));
- --spectrum-yellow-1200-rgb:72, 51, 0;
+ --spectrum-yellow-1200-rgb:93, 59, 0;
--spectrum-yellow-1200:rgba(var(--spectrum-yellow-1200-rgb));
- --spectrum-yellow-1300-rgb:54, 37, 0;
+ --spectrum-yellow-1300-rgb:75, 47, 0;
--spectrum-yellow-1300:rgba(var(--spectrum-yellow-1300-rgb));
- --spectrum-yellow-1400-rgb:40, 26, 0;
+ --spectrum-yellow-1400-rgb:56, 35, 0;
--spectrum-yellow-1400:rgba(var(--spectrum-yellow-1400-rgb));
- --spectrum-chartreuse-100-rgb:219, 252, 110;
+ --spectrum-yellow-1500-rgb:40, 25, 0;
+ --spectrum-yellow-1500:rgba(var(--spectrum-yellow-1500-rgb));
+ --spectrum-yellow-1600-rgb:18, 11, 0;
+ --spectrum-yellow-1600:rgba(var(--spectrum-yellow-1600-rgb));
+ --spectrum-chartreuse-100-rgb:246, 251, 222;
--spectrum-chartreuse-100:rgba(var(--spectrum-chartreuse-100-rgb));
- --spectrum-chartreuse-200-rgb:203, 244, 67;
+ --spectrum-chartreuse-200-rgb:234, 246, 173;
--spectrum-chartreuse-200:rgba(var(--spectrum-chartreuse-200-rgb));
- --spectrum-chartreuse-300-rgb:188, 233, 42;
+ --spectrum-chartreuse-300-rgb:208, 236, 70;
--spectrum-chartreuse-300:rgba(var(--spectrum-chartreuse-300-rgb));
- --spectrum-chartreuse-400-rgb:170, 216, 22;
+ --spectrum-chartreuse-400-rgb:182, 219, 0;
--spectrum-chartreuse-400:rgba(var(--spectrum-chartreuse-400-rgb));
- --spectrum-chartreuse-500-rgb:152, 197, 10;
+ --spectrum-chartreuse-500-rgb:163, 196, 0;
--spectrum-chartreuse-500:rgba(var(--spectrum-chartreuse-500-rgb));
- --spectrum-chartreuse-600-rgb:135, 177, 3;
+ --spectrum-chartreuse-600-rgb:143, 172, 0;
--spectrum-chartreuse-600:rgba(var(--spectrum-chartreuse-600-rgb));
- --spectrum-chartreuse-700-rgb:118, 156, 0;
+ --spectrum-chartreuse-700-rgb:128, 153, 0;
--spectrum-chartreuse-700:rgba(var(--spectrum-chartreuse-700-rgb));
- --spectrum-chartreuse-800-rgb:103, 136, 0;
+ --spectrum-chartreuse-800-rgb:114, 137, 0;
--spectrum-chartreuse-800:rgba(var(--spectrum-chartreuse-800-rgb));
- --spectrum-chartreuse-900-rgb:87, 116, 0;
+ --spectrum-chartreuse-900-rgb:102, 122, 0;
--spectrum-chartreuse-900:rgba(var(--spectrum-chartreuse-900-rgb));
- --spectrum-chartreuse-1000-rgb:72, 96, 0;
+ --spectrum-chartreuse-1000-rgb:86, 103, 0;
--spectrum-chartreuse-1000:rgba(var(--spectrum-chartreuse-1000-rgb));
- --spectrum-chartreuse-1100-rgb:58, 77, 0;
+ --spectrum-chartreuse-1100-rgb:73, 87, 0;
--spectrum-chartreuse-1100:rgba(var(--spectrum-chartreuse-1100-rgb));
- --spectrum-chartreuse-1200-rgb:44, 59, 0;
+ --spectrum-chartreuse-1200-rgb:60, 71, 0;
--spectrum-chartreuse-1200:rgba(var(--spectrum-chartreuse-1200-rgb));
- --spectrum-chartreuse-1300-rgb:33, 44, 0;
+ --spectrum-chartreuse-1300-rgb:47, 57, 0;
--spectrum-chartreuse-1300:rgba(var(--spectrum-chartreuse-1300-rgb));
- --spectrum-chartreuse-1400-rgb:24, 31, 0;
+ --spectrum-chartreuse-1400-rgb:35, 43, 0;
--spectrum-chartreuse-1400:rgba(var(--spectrum-chartreuse-1400-rgb));
- --spectrum-celery-100-rgb:205, 252, 191;
+ --spectrum-chartreuse-1500-rgb:25, 30, 0;
+ --spectrum-chartreuse-1500:rgba(var(--spectrum-chartreuse-1500-rgb));
+ --spectrum-chartreuse-1600-rgb:11, 14, 0;
+ --spectrum-chartreuse-1600:rgba(var(--spectrum-chartreuse-1600-rgb));
+ --spectrum-celery-100-rgb:235, 255, 220;
--spectrum-celery-100:rgba(var(--spectrum-celery-100-rgb));
- --spectrum-celery-200-rgb:174, 246, 157;
+ --spectrum-celery-200-rgb:197, 255, 156;
--spectrum-celery-200:rgba(var(--spectrum-celery-200-rgb));
- --spectrum-celery-300-rgb:150, 238, 133;
+ --spectrum-celery-300-rgb:157, 247, 92;
--spectrum-celery-300:rgba(var(--spectrum-celery-300-rgb));
- --spectrum-celery-400-rgb:114, 224, 106;
+ --spectrum-celery-400-rgb:129, 228, 58;
--spectrum-celery-400:rgba(var(--spectrum-celery-400-rgb));
- --spectrum-celery-500-rgb:78, 207, 80;
+ --spectrum-celery-500-rgb:110, 206, 42;
--spectrum-celery-500:rgba(var(--spectrum-celery-500-rgb));
- --spectrum-celery-600-rgb:39, 187, 54;
+ --spectrum-celery-600-rgb:93, 180, 31;
--spectrum-celery-600:rgba(var(--spectrum-celery-600-rgb));
- --spectrum-celery-700-rgb:7, 167, 33;
+ --spectrum-celery-700-rgb:82, 161, 25;
--spectrum-celery-700:rgba(var(--spectrum-celery-700-rgb));
- --spectrum-celery-800-rgb:0, 145, 18;
+ --spectrum-celery-800-rgb:72, 144, 20;
--spectrum-celery-800:rgba(var(--spectrum-celery-800-rgb));
- --spectrum-celery-900-rgb:0, 124, 15;
+ --spectrum-celery-900-rgb:64, 129, 17;
--spectrum-celery-900:rgba(var(--spectrum-celery-900-rgb));
- --spectrum-celery-1000-rgb:0, 103, 15;
+ --spectrum-celery-1000-rgb:52, 109, 12;
--spectrum-celery-1000:rgba(var(--spectrum-celery-1000-rgb));
- --spectrum-celery-1100-rgb:0, 83, 13;
+ --spectrum-celery-1100-rgb:44, 92, 9;
--spectrum-celery-1100:rgba(var(--spectrum-celery-1100-rgb));
- --spectrum-celery-1200-rgb:0, 64, 10;
+ --spectrum-celery-1200-rgb:35, 75, 6;
--spectrum-celery-1200:rgba(var(--spectrum-celery-1200-rgb));
- --spectrum-celery-1300-rgb:0, 48, 7;
+ --spectrum-celery-1300-rgb:27, 60, 3;
--spectrum-celery-1300:rgba(var(--spectrum-celery-1300-rgb));
- --spectrum-celery-1400-rgb:0, 34, 5;
+ --spectrum-celery-1400-rgb:19, 46, 0;
--spectrum-celery-1400:rgba(var(--spectrum-celery-1400-rgb));
- --spectrum-green-100-rgb:206, 248, 224;
+ --spectrum-celery-1500-rgb:12, 33, 0;
+ --spectrum-celery-1500:rgba(var(--spectrum-celery-1500-rgb));
+ --spectrum-celery-1600-rgb:4, 15, 0;
+ --spectrum-celery-1600:rgba(var(--spectrum-celery-1600-rgb));
+ --spectrum-green-100-rgb:237, 252, 241;
--spectrum-green-100:rgba(var(--spectrum-green-100-rgb));
- --spectrum-green-200-rgb:173, 244, 206;
+ --spectrum-green-200-rgb:215, 247, 225;
--spectrum-green-200:rgba(var(--spectrum-green-200-rgb));
- --spectrum-green-300-rgb:137, 236, 188;
+ --spectrum-green-300-rgb:173, 238, 197;
--spectrum-green-300:rgba(var(--spectrum-green-300-rgb));
- --spectrum-green-400-rgb:103, 222, 168;
+ --spectrum-green-400-rgb:107, 227, 162;
--spectrum-green-400:rgba(var(--spectrum-green-400-rgb));
- --spectrum-green-500-rgb:73, 204, 147;
+ --spectrum-green-500-rgb:43, 209, 125;
--spectrum-green-500:rgba(var(--spectrum-green-500-rgb));
- --spectrum-green-600-rgb:47, 184, 128;
+ --spectrum-green-600-rgb:18, 184, 103;
--spectrum-green-600:rgba(var(--spectrum-green-600-rgb));
- --spectrum-green-700-rgb:21, 164, 110;
+ --spectrum-green-700-rgb:11, 164, 93;
--spectrum-green-700:rgba(var(--spectrum-green-700-rgb));
- --spectrum-green-800-rgb:0, 143, 93;
+ --spectrum-green-800-rgb:7, 147, 85;
--spectrum-green-800:rgba(var(--spectrum-green-800-rgb));
- --spectrum-green-900-rgb:0, 122, 77;
+ --spectrum-green-900-rgb:5, 131, 78;
--spectrum-green-900:rgba(var(--spectrum-green-900-rgb));
- --spectrum-green-1000-rgb:0, 101, 62;
+ --spectrum-green-1000-rgb:3, 110, 69;
--spectrum-green-1000:rgba(var(--spectrum-green-1000-rgb));
- --spectrum-green-1100-rgb:0, 81, 50;
+ --spectrum-green-1100-rgb:2, 93, 60;
--spectrum-green-1100:rgba(var(--spectrum-green-1100-rgb));
- --spectrum-green-1200-rgb:5, 63, 39;
+ --spectrum-green-1200-rgb:1, 76, 52;
--spectrum-green-1200:rgba(var(--spectrum-green-1200-rgb));
- --spectrum-green-1300-rgb:10, 46, 29;
+ --spectrum-green-1300-rgb:0, 61, 44;
--spectrum-green-1300:rgba(var(--spectrum-green-1300-rgb));
- --spectrum-green-1400-rgb:10, 32, 21;
+ --spectrum-green-1400-rgb:0, 46, 34;
--spectrum-green-1400:rgba(var(--spectrum-green-1400-rgb));
- --spectrum-seafoam-100-rgb:206, 247, 243;
+ --spectrum-green-1500-rgb:0, 33, 25;
+ --spectrum-green-1500:rgba(var(--spectrum-green-1500-rgb));
+ --spectrum-green-1600-rgb:0, 15, 12;
+ --spectrum-green-1600:rgba(var(--spectrum-green-1600-rgb));
+ --spectrum-seafoam-100-rgb:235, 251, 246;
--spectrum-seafoam-100:rgba(var(--spectrum-seafoam-100-rgb));
- --spectrum-seafoam-200-rgb:170, 241, 234;
+ --spectrum-seafoam-200-rgb:211, 246, 234;
--spectrum-seafoam-200:rgba(var(--spectrum-seafoam-200-rgb));
- --spectrum-seafoam-300-rgb:140, 233, 226;
+ --spectrum-seafoam-300-rgb:169, 237, 216;
--spectrum-seafoam-300:rgba(var(--spectrum-seafoam-300-rgb));
- --spectrum-seafoam-400-rgb:101, 218, 210;
+ --spectrum-seafoam-400-rgb:92, 225, 194;
--spectrum-seafoam-400:rgba(var(--spectrum-seafoam-400-rgb));
- --spectrum-seafoam-500-rgb:63, 201, 193;
+ --spectrum-seafoam-500-rgb:16, 207, 169;
--spectrum-seafoam-500:rgba(var(--spectrum-seafoam-500-rgb));
- --spectrum-seafoam-600-rgb:15, 181, 174;
+ --spectrum-seafoam-600-rgb:13, 181, 149;
--spectrum-seafoam-600:rgba(var(--spectrum-seafoam-600-rgb));
- --spectrum-seafoam-700-rgb:0, 161, 154;
+ --spectrum-seafoam-700-rgb:11, 162, 134;
--spectrum-seafoam-700:rgba(var(--spectrum-seafoam-700-rgb));
- --spectrum-seafoam-800-rgb:0, 140, 135;
+ --spectrum-seafoam-800-rgb:9, 144, 120;
--spectrum-seafoam-800:rgba(var(--spectrum-seafoam-800-rgb));
- --spectrum-seafoam-900-rgb:0, 119, 114;
+ --spectrum-seafoam-900-rgb:7, 129, 109;
--spectrum-seafoam-900:rgba(var(--spectrum-seafoam-900-rgb));
- --spectrum-seafoam-1000-rgb:0, 99, 95;
+ --spectrum-seafoam-1000-rgb:5, 108, 92;
--spectrum-seafoam-1000:rgba(var(--spectrum-seafoam-1000-rgb));
- --spectrum-seafoam-1100-rgb:12, 79, 76;
+ --spectrum-seafoam-1100-rgb:3, 92, 80;
--spectrum-seafoam-1100:rgba(var(--spectrum-seafoam-1100-rgb));
- --spectrum-seafoam-1200-rgb:18, 60, 58;
+ --spectrum-seafoam-1200-rgb:1, 75, 67;
--spectrum-seafoam-1200:rgba(var(--spectrum-seafoam-1200-rgb));
- --spectrum-seafoam-1300-rgb:18, 44, 43;
+ --spectrum-seafoam-1300-rgb:0, 60, 54;
--spectrum-seafoam-1300:rgba(var(--spectrum-seafoam-1300-rgb));
- --spectrum-seafoam-1400-rgb:15, 31, 30;
+ --spectrum-seafoam-1400-rgb:0, 46, 40;
--spectrum-seafoam-1400:rgba(var(--spectrum-seafoam-1400-rgb));
- --spectrum-cyan-100-rgb:197, 248, 255;
+ --spectrum-seafoam-1500-rgb:0, 33, 29;
+ --spectrum-seafoam-1500:rgba(var(--spectrum-seafoam-1500-rgb));
+ --spectrum-seafoam-1600-rgb:0, 15, 14;
+ --spectrum-seafoam-1600:rgba(var(--spectrum-seafoam-1600-rgb));
+ --spectrum-cyan-100-rgb:238, 250, 254;
--spectrum-cyan-100:rgba(var(--spectrum-cyan-100-rgb));
- --spectrum-cyan-200-rgb:164, 240, 255;
+ --spectrum-cyan-200-rgb:217, 244, 253;
--spectrum-cyan-200:rgba(var(--spectrum-cyan-200-rgb));
- --spectrum-cyan-300-rgb:136, 231, 250;
+ --spectrum-cyan-300-rgb:183, 231, 252;
--spectrum-cyan-300:rgba(var(--spectrum-cyan-300-rgb));
- --spectrum-cyan-400-rgb:96, 216, 243;
+ --spectrum-cyan-400-rgb:138, 213, 255;
--spectrum-cyan-400:rgba(var(--spectrum-cyan-400-rgb));
- --spectrum-cyan-500-rgb:51, 197, 232;
+ --spectrum-cyan-500-rgb:92, 192, 255;
--spectrum-cyan-500:rgba(var(--spectrum-cyan-500-rgb));
- --spectrum-cyan-600-rgb:18, 176, 218;
+ --spectrum-cyan-600-rgb:48, 167, 254;
--spectrum-cyan-600:rgba(var(--spectrum-cyan-600-rgb));
- --spectrum-cyan-700-rgb:1, 156, 200;
+ --spectrum-cyan-700-rgb:29, 149, 231;
--spectrum-cyan-700:rgba(var(--spectrum-cyan-700-rgb));
- --spectrum-cyan-800-rgb:0, 134, 180;
+ --spectrum-cyan-800-rgb:18, 134, 205;
--spectrum-cyan-800:rgba(var(--spectrum-cyan-800-rgb));
- --spectrum-cyan-900-rgb:0, 113, 159;
+ --spectrum-cyan-900-rgb:11, 120, 179;
--spectrum-cyan-900:rgba(var(--spectrum-cyan-900-rgb));
- --spectrum-cyan-1000-rgb:0, 93, 137;
+ --spectrum-cyan-1000-rgb:4, 102, 145;
--spectrum-cyan-1000:rgba(var(--spectrum-cyan-1000-rgb));
- --spectrum-cyan-1100-rgb:0, 74, 115;
+ --spectrum-cyan-1100-rgb:0, 87, 121;
--spectrum-cyan-1100:rgba(var(--spectrum-cyan-1100-rgb));
- --spectrum-cyan-1200-rgb:0, 57, 93;
+ --spectrum-cyan-1200-rgb:0, 71, 98;
--spectrum-cyan-1200:rgba(var(--spectrum-cyan-1200-rgb));
- --spectrum-cyan-1300-rgb:0, 42, 70;
+ --spectrum-cyan-1300-rgb:0, 57, 78;
--spectrum-cyan-1300:rgba(var(--spectrum-cyan-1300-rgb));
- --spectrum-cyan-1400-rgb:0, 30, 51;
+ --spectrum-cyan-1400-rgb:0, 43, 59;
--spectrum-cyan-1400:rgba(var(--spectrum-cyan-1400-rgb));
- --spectrum-indigo-100-rgb:237, 238, 255;
+ --spectrum-cyan-1500-rgb:0, 31, 43;
+ --spectrum-cyan-1500:rgba(var(--spectrum-cyan-1500-rgb));
+ --spectrum-cyan-1600-rgb:0, 14, 20;
+ --spectrum-cyan-1600:rgba(var(--spectrum-cyan-1600-rgb));
+ --spectrum-indigo-100-rgb:247, 248, 255;
--spectrum-indigo-100:rgba(var(--spectrum-indigo-100-rgb));
- --spectrum-indigo-200-rgb:224, 226, 255;
+ --spectrum-indigo-200-rgb:235, 238, 255;
--spectrum-indigo-200:rgba(var(--spectrum-indigo-200-rgb));
- --spectrum-indigo-300-rgb:211, 213, 255;
+ --spectrum-indigo-300-rgb:216, 222, 255;
--spectrum-indigo-300:rgba(var(--spectrum-indigo-300-rgb));
- --spectrum-indigo-400-rgb:193, 196, 255;
+ --spectrum-indigo-400-rgb:192, 201, 255;
--spectrum-indigo-400:rgba(var(--spectrum-indigo-400-rgb));
- --spectrum-indigo-500-rgb:172, 175, 255;
+ --spectrum-indigo-500-rgb:167, 178, 255;
--spectrum-indigo-500:rgba(var(--spectrum-indigo-500-rgb));
- --spectrum-indigo-600-rgb:149, 153, 255;
+ --spectrum-indigo-600-rgb:145, 151, 254;
--spectrum-indigo-600:rgba(var(--spectrum-indigo-600-rgb));
- --spectrum-indigo-700-rgb:126, 132, 252;
+ --spectrum-indigo-700-rgb:132, 128, 254;
--spectrum-indigo-700:rgba(var(--spectrum-indigo-700-rgb));
- --spectrum-indigo-800-rgb:104, 109, 244;
+ --spectrum-indigo-800-rgb:122, 106, 253;
--spectrum-indigo-800:rgba(var(--spectrum-indigo-800-rgb));
- --spectrum-indigo-900-rgb:82, 88, 228;
+ --spectrum-indigo-900-rgb:113, 85, 250;
--spectrum-indigo-900:rgba(var(--spectrum-indigo-900-rgb));
- --spectrum-indigo-1000-rgb:64, 70, 202;
+ --spectrum-indigo-1000-rgb:99, 56, 238;
--spectrum-indigo-1000:rgba(var(--spectrum-indigo-1000-rgb));
- --spectrum-indigo-1100-rgb:50, 54, 168;
+ --spectrum-indigo-1100-rgb:84, 36, 219;
--spectrum-indigo-1100:rgba(var(--spectrum-indigo-1100-rgb));
- --spectrum-indigo-1200-rgb:38, 41, 134;
+ --spectrum-indigo-1200-rgb:69, 19, 191;
--spectrum-indigo-1200:rgba(var(--spectrum-indigo-1200-rgb));
- --spectrum-indigo-1300-rgb:27, 30, 100;
+ --spectrum-indigo-1300-rgb:55, 6, 160;
--spectrum-indigo-1300:rgba(var(--spectrum-indigo-1300-rgb));
- --spectrum-indigo-1400-rgb:20, 22, 72;
+ --spectrum-indigo-1400-rgb:42, 0, 129;
--spectrum-indigo-1400:rgba(var(--spectrum-indigo-1400-rgb));
- --spectrum-purple-100-rgb:246, 235, 255;
+ --spectrum-indigo-1500-rgb:31, 0, 98;
+ --spectrum-indigo-1500:rgba(var(--spectrum-indigo-1500-rgb));
+ --spectrum-indigo-1600-rgb:17, 0, 54;
+ --spectrum-indigo-1600:rgba(var(--spectrum-indigo-1600-rgb));
+ --spectrum-purple-100-rgb:251, 247, 254;
--spectrum-purple-100:rgba(var(--spectrum-purple-100-rgb));
- --spectrum-purple-200-rgb:238, 221, 255;
+ --spectrum-purple-200-rgb:244, 235, 252;
--spectrum-purple-200:rgba(var(--spectrum-purple-200-rgb));
- --spectrum-purple-300-rgb:230, 208, 255;
+ --spectrum-purple-300-rgb:235, 218, 249;
--spectrum-purple-300:rgba(var(--spectrum-purple-300-rgb));
- --spectrum-purple-400-rgb:219, 187, 254;
+ --spectrum-purple-400-rgb:221, 193, 246;
--spectrum-purple-400:rgba(var(--spectrum-purple-400-rgb));
- --spectrum-purple-500-rgb:204, 164, 253;
+ --spectrum-purple-500-rgb:208, 167, 243;
--spectrum-purple-500:rgba(var(--spectrum-purple-500-rgb));
- --spectrum-purple-600-rgb:189, 139, 252;
+ --spectrum-purple-600-rgb:191, 138, 238;
--spectrum-purple-600:rgba(var(--spectrum-purple-600-rgb));
- --spectrum-purple-700-rgb:174, 114, 249;
+ --spectrum-purple-700-rgb:178, 114, 235;
--spectrum-purple-700:rgba(var(--spectrum-purple-700-rgb));
- --spectrum-purple-800-rgb:157, 87, 244;
+ --spectrum-purple-800-rgb:166, 92, 231;
--spectrum-purple-800:rgba(var(--spectrum-purple-800-rgb));
- --spectrum-purple-900-rgb:137, 61, 231;
+ --spectrum-purple-900-rgb:154, 71, 226;
--spectrum-purple-900:rgba(var(--spectrum-purple-900-rgb));
- --spectrum-purple-1000-rgb:115, 38, 211;
+ --spectrum-purple-1000-rgb:134, 40, 217;
--spectrum-purple-1000:rgba(var(--spectrum-purple-1000-rgb));
- --spectrum-purple-1100-rgb:93, 19, 183;
+ --spectrum-purple-1100-rgb:115, 13, 204;
--spectrum-purple-1100:rgba(var(--spectrum-purple-1100-rgb));
- --spectrum-purple-1200-rgb:71, 12, 148;
+ --spectrum-purple-1200-rgb:93, 0, 177;
--spectrum-purple-1200:rgba(var(--spectrum-purple-1200-rgb));
- --spectrum-purple-1300-rgb:51, 16, 106;
+ --spectrum-purple-1300-rgb:75, 0, 144;
--spectrum-purple-1300:rgba(var(--spectrum-purple-1300-rgb));
- --spectrum-purple-1400-rgb:35, 15, 73;
+ --spectrum-purple-1400-rgb:59, 0, 111;
--spectrum-purple-1400:rgba(var(--spectrum-purple-1400-rgb));
- --spectrum-fuchsia-100-rgb:255, 233, 252;
+ --spectrum-purple-1500-rgb:44, 0, 84;
+ --spectrum-purple-1500:rgba(var(--spectrum-purple-1500-rgb));
+ --spectrum-purple-1600-rgb:23, 0, 45;
+ --spectrum-purple-1600:rgba(var(--spectrum-purple-1600-rgb));
+ --spectrum-fuchsia-100-rgb:254, 246, 255;
--spectrum-fuchsia-100:rgba(var(--spectrum-fuchsia-100-rgb));
- --spectrum-fuchsia-200-rgb:255, 218, 250;
+ --spectrum-fuchsia-200-rgb:253, 233, 255;
--spectrum-fuchsia-200:rgba(var(--spectrum-fuchsia-200-rgb));
- --spectrum-fuchsia-300-rgb:254, 199, 248;
+ --spectrum-fuchsia-300-rgb:250, 211, 255;
--spectrum-fuchsia-300:rgba(var(--spectrum-fuchsia-300-rgb));
- --spectrum-fuchsia-400-rgb:251, 174, 246;
+ --spectrum-fuchsia-400-rgb:247, 181, 255;
--spectrum-fuchsia-400:rgba(var(--spectrum-fuchsia-400-rgb));
- --spectrum-fuchsia-500-rgb:245, 146, 243;
+ --spectrum-fuchsia-500-rgb:243, 147, 255;
--spectrum-fuchsia-500:rgba(var(--spectrum-fuchsia-500-rgb));
- --spectrum-fuchsia-600-rgb:237, 116, 237;
+ --spectrum-fuchsia-600-rgb:236, 105, 255;
--spectrum-fuchsia-600:rgba(var(--spectrum-fuchsia-600-rgb));
- --spectrum-fuchsia-700-rgb:224, 85, 226;
+ --spectrum-fuchsia-700-rgb:223, 77, 245;
--spectrum-fuchsia-700:rgba(var(--spectrum-fuchsia-700-rgb));
- --spectrum-fuchsia-800-rgb:205, 58, 206;
+ --spectrum-fuchsia-800-rgb:200, 68, 220;
--spectrum-fuchsia-800:rgba(var(--spectrum-fuchsia-800-rgb));
- --spectrum-fuchsia-900-rgb:182, 34, 183;
+ --spectrum-fuchsia-900-rgb:181, 57, 200;
--spectrum-fuchsia-900:rgba(var(--spectrum-fuchsia-900-rgb));
- --spectrum-fuchsia-1000-rgb:157, 3, 158;
+ --spectrum-fuchsia-1000-rgb:156, 40, 175;
--spectrum-fuchsia-1000:rgba(var(--spectrum-fuchsia-1000-rgb));
- --spectrum-fuchsia-1100-rgb:128, 0, 129;
+ --spectrum-fuchsia-1100-rgb:135, 27, 154;
--spectrum-fuchsia-1100:rgba(var(--spectrum-fuchsia-1100-rgb));
- --spectrum-fuchsia-1200-rgb:100, 6, 100;
+ --spectrum-fuchsia-1200-rgb:113, 15, 131;
--spectrum-fuchsia-1200:rgba(var(--spectrum-fuchsia-1200-rgb));
- --spectrum-fuchsia-1300-rgb:71, 14, 70;
+ --spectrum-fuchsia-1300-rgb:92, 4, 109;
--spectrum-fuchsia-1300:rgba(var(--spectrum-fuchsia-1300-rgb));
- --spectrum-fuchsia-1400-rgb:50, 13, 49;
+ --spectrum-fuchsia-1400-rgb:72, 0, 88;
--spectrum-fuchsia-1400:rgba(var(--spectrum-fuchsia-1400-rgb));
- --spectrum-magenta-100-rgb:255, 234, 241;
+ --spectrum-fuchsia-1500-rgb:54, 0, 66;
+ --spectrum-fuchsia-1500:rgba(var(--spectrum-fuchsia-1500-rgb));
+ --spectrum-fuchsia-1600-rgb:29, 0, 35;
+ --spectrum-fuchsia-1600:rgba(var(--spectrum-fuchsia-1600-rgb));
+ --spectrum-magenta-100-rgb:255, 245, 248;
--spectrum-magenta-100:rgba(var(--spectrum-magenta-100-rgb));
- --spectrum-magenta-200-rgb:255, 220, 232;
+ --spectrum-magenta-200-rgb:255, 232, 240;
--spectrum-magenta-200:rgba(var(--spectrum-magenta-200-rgb));
- --spectrum-magenta-300-rgb:255, 202, 221;
+ --spectrum-magenta-300-rgb:255, 213, 227;
--spectrum-magenta-300:rgba(var(--spectrum-magenta-300-rgb));
- --spectrum-magenta-400-rgb:255, 178, 206;
+ --spectrum-magenta-400-rgb:255, 185, 208;
--spectrum-magenta-400:rgba(var(--spectrum-magenta-400-rgb));
- --spectrum-magenta-500-rgb:255, 149, 189;
+ --spectrum-magenta-500-rgb:255, 152, 187;
--spectrum-magenta-500:rgba(var(--spectrum-magenta-500-rgb));
- --spectrum-magenta-600-rgb:250, 119, 170;
+ --spectrum-magenta-600-rgb:255, 112, 159;
--spectrum-magenta-600:rgba(var(--spectrum-magenta-600-rgb));
- --spectrum-magenta-700-rgb:239, 90, 152;
+ --spectrum-magenta-700-rgb:255, 72, 133;
--spectrum-magenta-700:rgba(var(--spectrum-magenta-700-rgb));
- --spectrum-magenta-800-rgb:222, 61, 130;
+ --spectrum-magenta-800-rgb:240, 45, 110;
--spectrum-magenta-800:rgba(var(--spectrum-magenta-800-rgb));
- --spectrum-magenta-900-rgb:200, 34, 105;
+ --spectrum-magenta-900-rgb:217, 35, 97;
--spectrum-magenta-900:rgba(var(--spectrum-magenta-900-rgb));
- --spectrum-magenta-1000-rgb:173, 9, 85;
+ --spectrum-magenta-1000-rgb:186, 22, 80;
--spectrum-magenta-1000:rgba(var(--spectrum-magenta-1000-rgb));
- --spectrum-magenta-1100-rgb:142, 0, 69;
+ --spectrum-magenta-1100-rgb:163, 5, 62;
--spectrum-magenta-1100:rgba(var(--spectrum-magenta-1100-rgb));
- --spectrum-magenta-1200-rgb:112, 0, 55;
+ --spectrum-magenta-1200-rgb:136, 0, 51;
--spectrum-magenta-1200:rgba(var(--spectrum-magenta-1200-rgb));
- --spectrum-magenta-1300-rgb:84, 3, 42;
+ --spectrum-magenta-1300-rgb:111, 0, 40;
--spectrum-magenta-1300:rgba(var(--spectrum-magenta-1300-rgb));
- --spectrum-magenta-1400-rgb:60, 6, 29;
+ --spectrum-magenta-1400-rgb:86, 0, 30;
--spectrum-magenta-1400:rgba(var(--spectrum-magenta-1400-rgb));
+ --spectrum-magenta-1500-rgb:64, 0, 22;
+ --spectrum-magenta-1500:rgba(var(--spectrum-magenta-1500-rgb));
+ --spectrum-magenta-1600-rgb:35, 0, 12;
+ --spectrum-magenta-1600:rgba(var(--spectrum-magenta-1600-rgb));
+ --spectrum-pink-100-rgb:255, 246, 252;
+ --spectrum-pink-100:rgba(var(--spectrum-pink-100-rgb));
+ --spectrum-pink-200-rgb:255, 232, 247;
+ --spectrum-pink-200:rgba(var(--spectrum-pink-200-rgb));
+ --spectrum-pink-300-rgb:255, 211, 240;
+ --spectrum-pink-300:rgba(var(--spectrum-pink-300-rgb));
+ --spectrum-pink-400-rgb:255, 181, 230;
+ --spectrum-pink-400:rgba(var(--spectrum-pink-400-rgb));
+ --spectrum-pink-500-rgb:255, 148, 219;
+ --spectrum-pink-500:rgba(var(--spectrum-pink-500-rgb));
+ --spectrum-pink-600-rgb:255, 103, 204;
+ --spectrum-pink-600:rgba(var(--spectrum-pink-600-rgb));
+ --spectrum-pink-700-rgb:242, 76, 184;
+ --spectrum-pink-700:rgba(var(--spectrum-pink-700-rgb));
+ --spectrum-pink-800-rgb:228, 52, 163;
+ --spectrum-pink-800:rgba(var(--spectrum-pink-800-rgb));
+ --spectrum-pink-900-rgb:206, 42, 146;
+ --spectrum-pink-900:rgba(var(--spectrum-pink-900-rgb));
+ --spectrum-pink-1000-rgb:176, 31, 123;
+ --spectrum-pink-1000:rgba(var(--spectrum-pink-1000-rgb));
+ --spectrum-pink-1100-rgb:152, 22, 104;
+ --spectrum-pink-1100:rgba(var(--spectrum-pink-1100-rgb));
+ --spectrum-pink-1200-rgb:128, 12, 85;
+ --spectrum-pink-1200:rgba(var(--spectrum-pink-1200-rgb));
+ --spectrum-pink-1300-rgb:105, 3, 68;
+ --spectrum-pink-1300:rgba(var(--spectrum-pink-1300-rgb));
+ --spectrum-pink-1400-rgb:83, 0, 53;
+ --spectrum-pink-1400:rgba(var(--spectrum-pink-1400-rgb));
+ --spectrum-pink-1500-rgb:62, 0, 39;
+ --spectrum-pink-1500:rgba(var(--spectrum-pink-1500-rgb));
+ --spectrum-pink-1600-rgb:33, 0, 21;
+ --spectrum-pink-1600:rgba(var(--spectrum-pink-1600-rgb));
+ --spectrum-turquoise-100-rgb:238, 251, 251;
+ --spectrum-turquoise-100:rgba(var(--spectrum-turquoise-100-rgb));
+ --spectrum-turquoise-200-rgb:209, 245, 245;
+ --spectrum-turquoise-200:rgba(var(--spectrum-turquoise-200-rgb));
+ --spectrum-turquoise-300-rgb:169, 236, 237;
+ --spectrum-turquoise-300:rgba(var(--spectrum-turquoise-300-rgb));
+ --spectrum-turquoise-400-rgb:111, 221, 228;
+ --spectrum-turquoise-400:rgba(var(--spectrum-turquoise-400-rgb));
+ --spectrum-turquoise-500-rgb:39, 202, 216;
+ --spectrum-turquoise-500:rgba(var(--spectrum-turquoise-500-rgb));
+ --spectrum-turquoise-600-rgb:15, 177, 192;
+ --spectrum-turquoise-600:rgba(var(--spectrum-turquoise-600-rgb));
+ --spectrum-turquoise-700-rgb:12, 158, 171;
+ --spectrum-turquoise-700:rgba(var(--spectrum-turquoise-700-rgb));
+ --spectrum-turquoise-800-rgb:10, 141, 153;
+ --spectrum-turquoise-800:rgba(var(--spectrum-turquoise-800-rgb));
+ --spectrum-turquoise-900-rgb:8, 126, 137;
+ --spectrum-turquoise-900:rgba(var(--spectrum-turquoise-900-rgb));
+ --spectrum-turquoise-1000-rgb:5, 107, 116;
+ --spectrum-turquoise-1000:rgba(var(--spectrum-turquoise-1000-rgb));
+ --spectrum-turquoise-1100-rgb:3, 90, 98;
+ --spectrum-turquoise-1100:rgba(var(--spectrum-turquoise-1100-rgb));
+ --spectrum-turquoise-1200-rgb:1, 74, 81;
+ --spectrum-turquoise-1200:rgba(var(--spectrum-turquoise-1200-rgb));
+ --spectrum-turquoise-1300-rgb:0, 59, 65;
+ --spectrum-turquoise-1300:rgba(var(--spectrum-turquoise-1300-rgb));
+ --spectrum-turquoise-1400-rgb:0, 44, 49;
+ --spectrum-turquoise-1400:rgba(var(--spectrum-turquoise-1400-rgb));
+ --spectrum-turquoise-1500-rgb:0, 32, 35;
+ --spectrum-turquoise-1500:rgba(var(--spectrum-turquoise-1500-rgb));
+ --spectrum-turquoise-1600-rgb:0, 15, 17;
+ --spectrum-turquoise-1600:rgba(var(--spectrum-turquoise-1600-rgb));
+ --spectrum-brown-100-rgb:252, 247, 242;
+ --spectrum-brown-100:rgba(var(--spectrum-brown-100-rgb));
+ --spectrum-brown-200-rgb:247, 238, 225;
+ --spectrum-brown-200:rgba(var(--spectrum-brown-200-rgb));
+ --spectrum-brown-300-rgb:239, 221, 195;
+ --spectrum-brown-300:rgba(var(--spectrum-brown-300-rgb));
+ --spectrum-brown-400-rgb:229, 200, 157;
+ --spectrum-brown-400:rgba(var(--spectrum-brown-400-rgb));
+ --spectrum-brown-500-rgb:214, 177, 123;
+ --spectrum-brown-500:rgba(var(--spectrum-brown-500-rgb));
+ --spectrum-brown-600-rgb:190, 155, 104;
+ --spectrum-brown-600:rgba(var(--spectrum-brown-600-rgb));
+ --spectrum-brown-700-rgb:171, 138, 90;
+ --spectrum-brown-700:rgba(var(--spectrum-brown-700-rgb));
+ --spectrum-brown-800-rgb:154, 123, 77;
+ --spectrum-brown-800:rgba(var(--spectrum-brown-800-rgb));
+ --spectrum-brown-900-rgb:139, 109, 66;
+ --spectrum-brown-900:rgba(var(--spectrum-brown-900-rgb));
+ --spectrum-brown-1000-rgb:119, 91, 50;
+ --spectrum-brown-1000:rgba(var(--spectrum-brown-1000-rgb));
+ --spectrum-brown-1100-rgb:103, 76, 35;
+ --spectrum-brown-1100:rgba(var(--spectrum-brown-1100-rgb));
+ --spectrum-brown-1200-rgb:88, 61, 21;
+ --spectrum-brown-1200:rgba(var(--spectrum-brown-1200-rgb));
+ --spectrum-brown-1300-rgb:70, 49, 17;
+ --spectrum-brown-1300:rgba(var(--spectrum-brown-1300-rgb));
+ --spectrum-brown-1400-rgb:52, 37, 13;
+ --spectrum-brown-1400:rgba(var(--spectrum-brown-1400-rgb));
+ --spectrum-brown-1500-rgb:38, 26, 9;
+ --spectrum-brown-1500:rgba(var(--spectrum-brown-1500-rgb));
+ --spectrum-brown-1600-rgb:16, 12, 4;
+ --spectrum-brown-1600:rgba(var(--spectrum-brown-1600-rgb));
+ --spectrum-silver-100-rgb:247, 247, 247;
+ --spectrum-silver-100:rgba(var(--spectrum-silver-100-rgb));
+ --spectrum-silver-200-rgb:239, 239, 239;
+ --spectrum-silver-200:rgba(var(--spectrum-silver-200-rgb));
+ --spectrum-silver-300-rgb:223, 223, 223;
+ --spectrum-silver-300:rgba(var(--spectrum-silver-300-rgb));
+ --spectrum-silver-400-rgb:204, 204, 204;
+ --spectrum-silver-400:rgba(var(--spectrum-silver-400-rgb));
+ --spectrum-silver-500-rgb:183, 183, 183;
+ --spectrum-silver-500:rgba(var(--spectrum-silver-500-rgb));
+ --spectrum-silver-600-rgb:160, 160, 160;
+ --spectrum-silver-600:rgba(var(--spectrum-silver-600-rgb));
+ --spectrum-silver-700-rgb:143, 143, 143;
+ --spectrum-silver-700:rgba(var(--spectrum-silver-700-rgb));
+ --spectrum-silver-800-rgb:128, 128, 128;
+ --spectrum-silver-800:rgba(var(--spectrum-silver-800-rgb));
+ --spectrum-silver-900-rgb:114, 114, 114;
+ --spectrum-silver-900:rgba(var(--spectrum-silver-900-rgb));
+ --spectrum-silver-1000-rgb:96, 96, 96;
+ --spectrum-silver-1000:rgba(var(--spectrum-silver-1000-rgb));
+ --spectrum-silver-1100-rgb:81, 81, 81;
+ --spectrum-silver-1100:rgba(var(--spectrum-silver-1100-rgb));
+ --spectrum-silver-1200-rgb:66, 66, 66;
+ --spectrum-silver-1200:rgba(var(--spectrum-silver-1200-rgb));
+ --spectrum-silver-1300-rgb:52, 52, 52;
+ --spectrum-silver-1300:rgba(var(--spectrum-silver-1300-rgb));
+ --spectrum-silver-1400-rgb:39, 39, 39;
+ --spectrum-silver-1400:rgba(var(--spectrum-silver-1400-rgb));
+ --spectrum-silver-1500-rgb:28, 28, 28;
+ --spectrum-silver-1500:rgba(var(--spectrum-silver-1500-rgb));
+ --spectrum-silver-1600-rgb:12, 12, 12;
+ --spectrum-silver-1600:rgba(var(--spectrum-silver-1600-rgb));
+ --spectrum-cinnamon-100-rgb:253, 247, 243;
+ --spectrum-cinnamon-100:rgba(var(--spectrum-cinnamon-100-rgb));
+ --spectrum-cinnamon-200-rgb:249, 236, 229;
+ --spectrum-cinnamon-200:rgba(var(--spectrum-cinnamon-200-rgb));
+ --spectrum-cinnamon-300-rgb:244, 218, 203;
+ --spectrum-cinnamon-300:rgba(var(--spectrum-cinnamon-300-rgb));
+ --spectrum-cinnamon-400-rgb:237, 196, 172;
+ --spectrum-cinnamon-400:rgba(var(--spectrum-cinnamon-400-rgb));
+ --spectrum-cinnamon-500-rgb:229, 170, 136;
+ --spectrum-cinnamon-500:rgba(var(--spectrum-cinnamon-500-rgb));
+ --spectrum-cinnamon-600-rgb:212, 145, 108;
+ --spectrum-cinnamon-600:rgba(var(--spectrum-cinnamon-600-rgb));
+ --spectrum-cinnamon-700-rgb:198, 126, 88;
+ --spectrum-cinnamon-700:rgba(var(--spectrum-cinnamon-700-rgb));
+ --spectrum-cinnamon-800-rgb:184, 109, 70;
+ --spectrum-cinnamon-800:rgba(var(--spectrum-cinnamon-800-rgb));
+ --spectrum-cinnamon-900-rgb:170, 94, 56;
+ --spectrum-cinnamon-900:rgba(var(--spectrum-cinnamon-900-rgb));
+ --spectrum-cinnamon-1000-rgb:147, 77, 43;
+ --spectrum-cinnamon-1000:rgba(var(--spectrum-cinnamon-1000-rgb));
+ --spectrum-cinnamon-1100-rgb:128, 62, 32;
+ --spectrum-cinnamon-1100:rgba(var(--spectrum-cinnamon-1100-rgb));
+ --spectrum-cinnamon-1200-rgb:110, 48, 21;
+ --spectrum-cinnamon-1200:rgba(var(--spectrum-cinnamon-1200-rgb));
+ --spectrum-cinnamon-1300-rgb:92, 35, 11;
+ --spectrum-cinnamon-1300:rgba(var(--spectrum-cinnamon-1300-rgb));
+ --spectrum-cinnamon-1400-rgb:72, 25, 6;
+ --spectrum-cinnamon-1400:rgba(var(--spectrum-cinnamon-1400-rgb));
+ --spectrum-cinnamon-1500-rgb:52, 18, 4;
+ --spectrum-cinnamon-1500:rgba(var(--spectrum-cinnamon-1500-rgb));
+ --spectrum-cinnamon-1600-rgb:24, 8, 2;
+ --spectrum-cinnamon-1600:rgba(var(--spectrum-cinnamon-1600-rgb));
--spectrum-icon-color-blue-primary-default:var(--spectrum-blue-900);
--spectrum-icon-color-green-primary-default:var(--spectrum-green-900);
--spectrum-icon-color-red-primary-default:var(--spectrum-red-900);
--spectrum-icon-color-yellow-primary-default:var(--spectrum-yellow-400);
+ --spectrum-negative-subdued-background-color-default:var(--spectrum-negative-subtle-background-color-default);
+ --spectrum-accent-subtle-background-color-default:var(--spectrum-accent-color-200);
+ --spectrum-informative-subtle-background-color-default:var(--spectrum-informative-color-200);
+ --spectrum-positive-subtle-background-color-default:var(--spectrum-positive-color-200);
+ --spectrum-notice-subtle-background-color-default:var(--spectrum-notice-color-200);
+ --spectrum-negative-subtle-background-color-default:var(--spectrum-negative-color-200);
+ --color-scheme:light;
+
+ --spectrum-assetcard-border-color-selected:var(--spectrum-blue-900);
+ --spectrum-assetcard-border-color-selected-hover:var(--spectrum-blue-900);
+ --spectrum-assetcard-border-color-selected-down:var(--spectrum-blue-1000);
+ --spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-blue-900);
+ --spectrum-assestcard-focus-indicator-color:var(--spectrum-blue-800);
+
+ --spectrum-assetlist-item-background-color-selected-hover:rgba(var(--spectrum-blue-900-rgb), 0.2);
+ --spectrum-assetlist-item-background-color-selected:rgba(var(--spectrum-blue-900-rgb), 0.1);
+ --spectrum-assetlist-border-color-key-focus:var(--spectrum-blue-800);
+
+ --spectrum-badge-label-icon-color-primary:var(--spectrum-white);
+
+ --spectrum-calendar-day-background-color-selected:rgba(var(--spectrum-blue-900-rgb), 0.1);
+ --spectrum-calendar-day-background-color-hover:rgba(var(--spectrum-black-rgb), 0.06);
+ --spectrum-calendar-day-today-background-color-selected-hover:rgba(var(--spectrum-blue-900-rgb), 0.2);
+ --spectrum-calendar-day-background-color-selected-hover:rgba(var(--spectrum-blue-900-rgb), 0.2);
+ --spectrum-calendar-day-background-color-down:var(--spectrum-transparent-black-200);
+ --spectrum-calendar-day-background-color-cap-selected:rgba(var(--spectrum-blue-900-rgb), 0.2);
+ --spectrum-calendar-day-background-color-key-focus:rgba(var(--spectrum-black-rgb), 0.06);
+ --spectrum-calendar-day-border-color-key-focus:var(--spectrum-blue-800);
+
+ --spectrum-card-selected-background-color-rgb:var(--spectrum-blue-900-rgb);
+
+ --spectrum-coach-indicator-ring-default-color:var(--spectrum-blue-800);
+
+ --spectrum-drop-zone-background-color-rgb:var(--spectrum-blue-800-rgb);
+
+ --spectrum-dropindicator-color:var(--spectrum-blue-800);
+
+ --spectrum-logic-button-and-background-color:var(--spectrum-blue-900);
+ --spectrum-logic-button-and-border-color:var(--spectrum-blue-900);
+ --spectrum-logic-button-and-background-color-hover:var(--spectrum-blue-1100);
+ --spectrum-logic-button-and-border-color-hover:var(--spectrum-blue-1100);
+
+ --spectrum-logic-button-or-background-color:var(--spectrum-magenta-900);
+ --spectrum-logic-button-or-border-color:var(--spectrum-magenta-900);
+ --spectrum-logic-button-or-background-color-hover:var(--spectrum-magenta-1100);
+ --spectrum-logic-button-or-border-color-hover:var(--spectrum-magenta-1100);
+
+ --spectrum-steplist-current-marker-color-key-focus:var(--spectrum-blue-800);
+
+ --spectrum-swatch-border-color-rgb:0, 0, 0;
+
+ --spectrum-swatch-border-color-opacity:0.51;
+
+ --spectrum-swatch-border-color:rgba(var(--spectrum-swatch-border-color-rgb), var(--spectrum-swatch-border-color-opacity));
+ --spectrum-swatch-border-color-light-rgb:0, 0, 0;
+ --spectrum-swatch-border-color-light-opacity:0.20;
+ --spectrum-swatch-border-color-light:rgba(var(--spectrum-swatch-border-color-light-rgb), var(--spectrum-swatch-border-color-light-opacity));
+
+ --spectrum-treeview-item-background-color-quiet-selected:rgba(var(--spectrum-gray-900-rgb), 0.06);
+ --spectrum-treeview-item-background-color-selected:rgba(var(--spectrum-blue-900-rgb), 0.1);
}
diff --git a/tokens/dist/css/medium-vars.css b/tokens/dist/css/medium-vars.css
index 9756afa3545..51ac1c9f637 100644
--- a/tokens/dist/css/medium-vars.css
+++ b/tokens/dist/css/medium-vars.css
@@ -14,9 +14,9 @@
.spectrum--medium{
--spectrum-workflow-icon-size-50:14px;
--spectrum-workflow-icon-size-75:16px;
- --spectrum-workflow-icon-size-100:18px;
- --spectrum-workflow-icon-size-200:20px;
- --spectrum-workflow-icon-size-300:22px;
+ --spectrum-workflow-icon-size-100:20px;
+ --spectrum-workflow-icon-size-200:22px;
+ --spectrum-workflow-icon-size-300:26px;
--spectrum-arrow-icon-size-75:10px;
--spectrum-arrow-icon-size-100:10px;
--spectrum-arrow-icon-size-200:12px;
@@ -62,6 +62,34 @@
--spectrum-dash-icon-size-400:14px;
--spectrum-dash-icon-size-500:16px;
--spectrum-dash-icon-size-600:18px;
+ --spectrum-checkbox-control-size-small:12px;
+ --spectrum-checkbox-control-size-medium:14px;
+ --spectrum-checkbox-control-size-large:16px;
+ --spectrum-checkbox-control-size-extra-large:18px;
+ --spectrum-checkbox-top-to-control-small:6px;
+ --spectrum-checkbox-top-to-control-medium:9px;
+ --spectrum-checkbox-top-to-control-large:12px;
+ --spectrum-checkbox-top-to-control-extra-large:15px;
+ --spectrum-switch-control-width-small:23px;
+ --spectrum-switch-control-width-medium:26px;
+ --spectrum-switch-control-width-large:29px;
+ --spectrum-switch-control-width-extra-large:33px;
+ --spectrum-switch-control-height-small:12px;
+ --spectrum-switch-control-height-medium:14px;
+ --spectrum-switch-control-height-large:16px;
+ --spectrum-switch-control-height-extra-large:18px;
+ --spectrum-switch-top-to-control-small:6px;
+ --spectrum-switch-top-to-control-medium:9px;
+ --spectrum-switch-top-to-control-large:12px;
+ --spectrum-switch-top-to-control-extra-large:15px;
+ --spectrum-radio-button-control-size-small:12px;
+ --spectrum-radio-button-control-size-medium:14px;
+ --spectrum-radio-button-control-size-large:16px;
+ --spectrum-radio-button-control-size-extra-large:18px;
+ --spectrum-radio-button-top-to-control-small:6px;
+ --spectrum-radio-button-top-to-control-medium:9px;
+ --spectrum-radio-button-top-to-control-large:12px;
+ --spectrum-radio-button-top-to-control-extra-large:15px;
--spectrum-field-label-text-to-asterisk-small:4px;
--spectrum-field-label-text-to-asterisk-medium:4px;
--spectrum-field-label-text-to-asterisk-large:5px;
@@ -137,6 +165,22 @@
--spectrum-menu-item-top-to-selected-icon-medium:11px;
--spectrum-menu-item-top-to-selected-icon-large:14px;
--spectrum-menu-item-top-to-selected-icon-extra-large:17px;
+ --spectrum-slider-control-height-small:14px;
+ --spectrum-slider-control-height-medium:16px;
+ --spectrum-slider-control-height-large:18px;
+ --spectrum-slider-control-height-extra-large:20px;
+ --spectrum-slider-handle-size-small:14px;
+ --spectrum-slider-handle-size-medium:16px;
+ --spectrum-slider-handle-size-large:18px;
+ --spectrum-slider-handle-size-extra-large:20px;
+ --spectrum-slider-handle-border-width-down-small:5px;
+ --spectrum-slider-handle-border-width-down-medium:6px;
+ --spectrum-slider-handle-border-width-down-large:7px;
+ --spectrum-slider-handle-border-width-down-extra-large:8px;
+ --spectrum-slider-bottom-to-handle-small:5px;
+ --spectrum-slider-bottom-to-handle-medium:8px;
+ --spectrum-slider-bottom-to-handle-large:11px;
+ --spectrum-slider-bottom-to-handle-extra-large:14px;
--spectrum-slider-control-to-field-label-small:5px;
--spectrum-slider-control-to-field-label-medium:8px;
--spectrum-slider-control-to-field-label-large:11px;
@@ -365,11 +409,14 @@
--spectrum-side-navigation-bottom-to-text:8px;
--spectrum-tray-top-to-content-area:4px;
--spectrum-accordion-top-to-text-spacious-small:9px;
- --spectrum-text-to-visual-50:6px;
- --spectrum-text-to-visual-75:7px;
- --spectrum-text-to-visual-100:8px;
- --spectrum-text-to-visual-200:9px;
- --spectrum-text-to-visual-300:10px;
+ --spectrum-drop-shadow-y:1px;
+ --spectrum-drop-shadow-blur:4px;
+ --spectrum-text-to-visual-50:5px;
+ --spectrum-text-to-visual-75:5px;
+ --spectrum-text-to-visual-100:6px;
+ --spectrum-text-to-visual-200:7px;
+ --spectrum-text-to-visual-300:8px;
+ --spectrum-text-to-visual-400:9px;
--spectrum-text-to-control-75:9px;
--spectrum-text-to-control-100:10px;
--spectrum-text-to-control-200:11px;
@@ -381,38 +428,38 @@
--spectrum-component-height-300:48px;
--spectrum-component-height-400:56px;
--spectrum-component-height-500:64px;
- --spectrum-component-pill-edge-to-visual-75:10px;
+ --spectrum-component-pill-edge-to-visual-75:11px;
--spectrum-component-pill-edge-to-visual-100:14px;
--spectrum-component-pill-edge-to-visual-200:18px;
- --spectrum-component-pill-edge-to-visual-300:21px;
+ --spectrum-component-pill-edge-to-visual-300:20px;
--spectrum-component-pill-edge-to-visual-only-75:4px;
- --spectrum-component-pill-edge-to-visual-only-100:7px;
- --spectrum-component-pill-edge-to-visual-only-200:10px;
- --spectrum-component-pill-edge-to-visual-only-300:13px;
- --spectrum-component-pill-edge-to-text-75:12px;
+ --spectrum-component-pill-edge-to-visual-only-100:6px;
+ --spectrum-component-pill-edge-to-visual-only-200:9px;
+ --spectrum-component-pill-edge-to-visual-only-300:11px;
+ --spectrum-component-pill-edge-to-text-75:13px;
--spectrum-component-pill-edge-to-text-100:16px;
--spectrum-component-pill-edge-to-text-200:20px;
- --spectrum-component-pill-edge-to-text-300:24px;
- --spectrum-component-edge-to-visual-50:6px;
- --spectrum-component-edge-to-visual-75:7px;
+ --spectrum-component-pill-edge-to-text-300:23px;
+ --spectrum-component-edge-to-visual-50:7px;
+ --spectrum-component-edge-to-visual-75:8px;
--spectrum-component-edge-to-visual-100:10px;
--spectrum-component-edge-to-visual-200:13px;
- --spectrum-component-edge-to-visual-300:15px;
+ --spectrum-component-edge-to-visual-300:14px;
--spectrum-component-edge-to-visual-only-50:3px;
--spectrum-component-edge-to-visual-only-75:4px;
- --spectrum-component-edge-to-visual-only-100:7px;
- --spectrum-component-edge-to-visual-only-200:10px;
- --spectrum-component-edge-to-visual-only-300:13px;
+ --spectrum-component-edge-to-visual-only-100:6px;
+ --spectrum-component-edge-to-visual-only-200:9px;
+ --spectrum-component-edge-to-visual-only-300:11px;
--spectrum-component-edge-to-text-50:8px;
- --spectrum-component-edge-to-text-75:9px;
+ --spectrum-component-edge-to-text-75:10px;
--spectrum-component-edge-to-text-100:12px;
--spectrum-component-edge-to-text-200:15px;
- --spectrum-component-edge-to-text-300:18px;
+ --spectrum-component-edge-to-text-300:17px;
--spectrum-component-top-to-workflow-icon-50:3px;
--spectrum-component-top-to-workflow-icon-75:4px;
- --spectrum-component-top-to-workflow-icon-100:7px;
- --spectrum-component-top-to-workflow-icon-200:10px;
- --spectrum-component-top-to-workflow-icon-300:13px;
+ --spectrum-component-top-to-workflow-icon-100:6px;
+ --spectrum-component-top-to-workflow-icon-200:9px;
+ --spectrum-component-top-to-workflow-icon-300:11px;
--spectrum-component-top-to-text-50:3px;
--spectrum-component-top-to-text-75:4px;
--spectrum-component-top-to-text-100:6px;
@@ -501,4 +548,110 @@
--spectrum-font-size-1100:45px;
--spectrum-font-size-1200:50px;
--spectrum-font-size-1300:60px;
+ --scale:medium;
+
+ --spectrum-alert-banner-close-button-spacing:var(--spectrum-spacing-100);
+ --spectrum-alert-banner-edge-to-button:var(--spectrum-spacing-100);
+ --spectrum-alert-banner-edge-to-divider:var(--spectrum-spacing-100);
+ --spectrum-alert-banner-text-to-button-vertical:var(--spectrum-spacing-100);
+
+ --spectrum-alert-dialog-description-to-buttons:var(--spectrum-spacing-700);
+ --spectrum-alert-dialog-padding:var(--spectrum-spacing-500);
+
+ --spectrum-assetcard-content-font-size:var(--spectrum-body-size-s);
+ --spectrum-assetcard-focus-ring-border-radius:8px;
+ --spectrum-assetcard-header-content-font-size:var(--spectrum-heading-size-xs);
+ --spectrum-assetcard-selectionindicator-margin:12px;
+ --spectrum-assetcard-title-font-size:var(--spectrum-heading-size-xs);
+
+ --spectrum-button-bottom-to-text-small:4px;
+ --spectrum-button-bottom-to-text-medium:8px;
+ --spectrum-button-bottom-to-text-large:10px;
+ --spectrum-button-bottom-to-text-extra-large:13px;
+ --spectrum-button-top-to-text-small:5px;
+ --spectrum-button-top-to-text-medium:7px;
+ --spectrum-button-top-to-text-large:10px;
+ --spectrum-button-top-to-text-extra-large:13px;
+
+ --spectrum-coach-indicator-gap:6px;
+ --spectrum-coach-indicator-ring-diameter:var(--spectrum-spacing-300);
+ --spectrum-coach-indicator-quiet-ring-diameter:var(--spectrum-spacing-100);
+
+ --spectrum-coachmark-buttongroup-display:flex;
+ --spectrum-coachmark-buttongroup-mobile-display:none;
+ --spectrum-coachmark-menu-display:inline-flex;
+ --spectrum-coachmark-menu-mobile-display:none;
+
+ --spectrum-colorloupe-checkerboard-fill:url(#checkerboard-primary);
+
+ --spectrum-colorwheel-colorarea-container-size:144px;
+ --spectrum-colorwheel-path:"M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0";
+ --spectrum-colorwheel-path-borders:"M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";
+
+ --spectrum-contextual-help-content-spacing:var(--spectrum-spacing-100);
+
+ --spectrum-datepicker-dash-line-height:24px;
+ --spectrum-datepicker-datetime-width-first:36px;
+ --spectrum-datepicker-generic-padding:var(--spectrum-spacing-200);
+ --spectrum-datepicker-initial-width:128px;
+ --spectrum-datepicker-input-datetime-width:var(--spectrum-spacing-400);
+ --spectrum-datepicker-invalid-icon-to-button:8px;
+ --spectrum-datepicker-invalid-icon-to-button-quiet:7px;
+ --spectrum-datepicker-width-quiet-first:72px;
+ --spectrum-datepicker-width-quiet-second:16px;
+
+ --spectrum-dial-border-radius:16px;
+ --spectrum-dial-controls-margin:8px;
+ --spectrum-dial-handle-block-margin:16px;
+ --spectrum-dial-handle-inline-margin:16px;
+ --spectrum-dial-handle-position:8px;
+ --spectrum-dial-label-container-top-to-text:4px;
+ --spectrum-dial-label-gap-y:5px;
+
+ --spectrum-dialog-confirm-border-radius:4px;
+ --spectrum-dialog-confirm-description-text-size:14px;
+ --spectrum-dialog-confirm-entry-animation-distance:20px;
+ --spectrum-dialog-confirm-hero-height:128px;
+ --spectrum-dialog-confirm-padding-grid:40px;
+ --spectrum-dialog-confirm-title-text-size:18px;
+
+ --spectrum-menu-item-checkmark-height-small:10px;
+ --spectrum-menu-item-checkmark-height-medium:10px;
+ --spectrum-menu-item-checkmark-height-large:12px;
+ --spectrum-menu-item-checkmark-height-extra-large:14px;
+ --spectrum-menu-item-checkmark-width-small:10px;
+ --spectrum-menu-item-checkmark-width-medium:10px;
+ --spectrum-menu-item-checkmark-width-large:12px;
+ --spectrum-menu-item-checkmark-width-extra-large:14px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-small:28px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-medium:32px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-large:38px;
+ --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large:45px;
+
+ --spectrum-pagination-item-inline-spacing:5px;
+ --spectrum-pagination-textfield-width:var(--spectrum-spacing-700);
+
+ --spectrum-rating-icon-spacing:var(--spectrum-spacing-75);
+
+ --spectrum-slider-ramp-track-height:16px;
+ --spectrum-slider-tick-mark-height:10px;
+
+ --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);
+ --spectrum-treeview-item-indentation-large:20px;
+ --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);
+
+ --spectrum-ui-icon-medium-display:block;
+ --spectrum-ui-icon-large-display:none;
+
+ --spectrum-well-border-radius:var(--spectrum-spacing-75);
+ --spectrum-well-margin-top:var(--spectrum-spacing-75);
+ --spectrum-well-min-width:240px;
+ --spectrum-well-padding:var(--spectrum-spacing-300);
+ --spectrum-workflow-icon-size-xxl:32px;
+ --spectrum-workflow-icon-size-xxs:12px;
}
diff --git a/tokens/dist/css/spectrum/custom-large-vars.css b/tokens/dist/css/spectrum/custom-large-vars.css
deleted file mode 100644
index 3a22a849de0..00000000000
--- a/tokens/dist/css/spectrum/custom-large-vars.css
+++ /dev/null
@@ -1,121 +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.
- */
-
-.spectrum--large{
- --spectrum-slider-tick-mark-height:13px;
- --spectrum-slider-ramp-track-height:20px;
-
- --spectrum-colorwheel-path:"M 119 119 m -119 0 a 119 119 0 1 0 238 0 a 119 119 0 1 0 -238 0.2 M 119 119 m -91 0 a 91 91 0 1 0 182 0 a 91 91 0 1 0 -182 0";
- --spectrum-colorwheel-path-borders:"M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0";
- --spectrum-colorwheel-colorarea-container-size:182px;
-
- --spectrum-colorloupe-checkerboard-fill:url(#checkerboard-secondary);
-
- --spectrum-contextual-help-content-spacing:var(--spectrum-spacing-200);
-
- --spectrum-menu-item-selectable-edge-to-text-not-selected-small:34px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-medium:42px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-large:47px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large:54px;
-
- --spectrum-menu-item-checkmark-height-small:12px;
- --spectrum-menu-item-checkmark-height-medium:14px;
- --spectrum-menu-item-checkmark-height-large:16px;
- --spectrum-menu-item-checkmark-height-extra-large:16px;
-
- --spectrum-menu-item-checkmark-width-small:12px;
- --spectrum-menu-item-checkmark-width-medium:14px;
- --spectrum-menu-item-checkmark-width-large:16px;
- --spectrum-menu-item-checkmark-width-extra-large:16px;
-
- --spectrum-rating-icon-spacing:var(--spectrum-spacing-100);
-
- --spectrum-button-top-to-text-small:6px;
- --spectrum-button-bottom-to-text-small:5px;
- --spectrum-button-top-to-text-medium:9px;
- --spectrum-button-bottom-to-text-medium:10px;
- --spectrum-button-top-to-text-large:12px;
- --spectrum-button-bottom-to-text-large:13px;
- --spectrum-button-top-to-text-extra-large:16px;
- --spectrum-button-bottom-to-text-extra-large:17px;
-
- --spectrum-alert-banner-close-button-spacing:var(--spectrum-spacing-200);
- --spectrum-alert-banner-edge-to-divider:var(--spectrum-spacing-200);
- --spectrum-alert-banner-edge-to-button:var(--spectrum-spacing-200);
- --spectrum-alert-banner-text-to-button-vertical:var(--spectrum-spacing-200);
-
- --spectrum-alert-dialog-padding:var(--spectrum-spacing-400);
- --spectrum-alert-dialog-description-to-buttons:var(--spectrum-spacing-600);
-
- --spectrum-coach-indicator-gap:8px;
- --spectrum-coach-indicator-ring-diameter:20px;
- --spectrum-coach-indicator-quiet-ring-diameter:10px;
-
- --spectrum-coachmark-buttongroup-display:none;
- --spectrum-coachmark-buttongroup-mobile-display:flex;
- --spectrum-coachmark-menu-display:none;
- --spectrum-coachmark-menu-mobile-display:inline-flex;
-
- --spectrum-well-padding:20px;
- --spectrum-well-margin-top:5px;
- --spectrum-well-min-width:300px;
- --spectrum-well-border-radius:5px;
- --spectrum-workflow-icon-size-xxl:40px;
- --spectrum-workflow-icon-size-xxs:15px;
-
- --spectrum-treeview-item-indentation-medium:20px;
- --spectrum-treeview-item-indentation-small:15px;
- --spectrum-treeview-item-indentation-large:25px;
- --spectrum-treeview-item-indentation-extra-large:30px;
- --spectrum-treeview-indicator-inset-block-start:6px;
- --spectrum-treeview-item-min-block-size-thumbnail-offset-medium:2px;
-
- --spectrum-dialog-confirm-entry-animation-distance:25px;
- --spectrum-dialog-confirm-hero-height:160px;
- --spectrum-dialog-confirm-border-radius:5px;
- --spectrum-dialog-confirm-title-text-size:19px;
- --spectrum-dialog-confirm-description-text-size:15px;
- --spectrum-dialog-confirm-padding-grid:24px;
-
- --spectrum-datepicker-initial-width:160px;
- --spectrum-datepicker-generic-padding:15px;
- --spectrum-datepicker-dash-line-height:30px;
- --spectrum-datepicker-width-quiet-first:90px;
- --spectrum-datepicker-width-quiet-second:20px;
- --spectrum-datepicker-datetime-width-first:45px;
- --spectrum-datepicker-invalid-icon-to-button:10px;
- --spectrum-datepicker-invalid-icon-to-button-quiet:9px;
- --spectrum-datepicker-input-datetime-width:30px;
-
- --spectrum-pagination-textfield-width:60px;
- --spectrum-pagination-item-inline-spacing:6px;
-
- --spectrum-dial-border-radius:20px;
- --spectrum-dial-handle-position:10px;
- --spectrum-dial-handle-block-margin:20px;
- --spectrum-dial-handle-inline-margin:20px;
- --spectrum-dial-controls-margin:10px;
- --spectrum-dial-label-gap-y:6px;
- --spectrum-dial-label-container-top-to-text:5px;
-
- --spectrum-assetcard-focus-ring-border-radius:9px;
- --spectrum-assetcard-selectionindicator-margin:15px;
- --spectrum-assetcard-title-font-size:var(--spectrum-heading-size-xxs);
- --spectrum-assetcard-header-content-font-size:var(--spectrum-heading-size-xxs);
- --spectrum-assetcard-content-font-size:var(--spectrum-body-size-xs);
-
- --spectrum-tooltip-animation-distance:5px;
-
- --spectrum-ui-icon-medium-display:none;
- --spectrum-ui-icon-large-display:block;
-}
diff --git a/tokens/dist/css/spectrum/custom-medium-vars.css b/tokens/dist/css/spectrum/custom-medium-vars.css
deleted file mode 100644
index 4e22b9302e5..00000000000
--- a/tokens/dist/css/spectrum/custom-medium-vars.css
+++ /dev/null
@@ -1,120 +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.
- */
-
-.spectrum--medium{
- --spectrum-slider-tick-mark-height:10px;
- --spectrum-slider-ramp-track-height:16px;
-
- --spectrum-colorwheel-path:"M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0";
- --spectrum-colorwheel-path-borders:"M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";
- --spectrum-colorwheel-colorarea-container-size:144px;
-
- --spectrum-colorloupe-checkerboard-fill:url(#checkerboard-primary);
-
- --spectrum-contextual-help-content-spacing:var(--spectrum-spacing-100);
-
- --spectrum-menu-item-selectable-edge-to-text-not-selected-small:28px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-medium:32px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-large:38px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large:45px;
-
- --spectrum-menu-item-checkmark-height-small:10px;
- --spectrum-menu-item-checkmark-height-medium:10px;
- --spectrum-menu-item-checkmark-height-large:12px;
- --spectrum-menu-item-checkmark-height-extra-large:14px;
-
- --spectrum-menu-item-checkmark-width-small:10px;
- --spectrum-menu-item-checkmark-width-medium:10px;
- --spectrum-menu-item-checkmark-width-large:12px;
- --spectrum-menu-item-checkmark-width-extra-large:14px;
-
- --spectrum-rating-icon-spacing:var(--spectrum-spacing-75);
-
- --spectrum-button-top-to-text-small:5px;
- --spectrum-button-bottom-to-text-small:4px;
- --spectrum-button-top-to-text-medium:7px;
- --spectrum-button-bottom-to-text-medium:8px;
- --spectrum-button-top-to-text-large:10px;
- --spectrum-button-bottom-to-text-large:10px;
- --spectrum-button-top-to-text-extra-large:13px;
- --spectrum-button-bottom-to-text-extra-large:13px;
-
- --spectrum-alert-banner-close-button-spacing:var(--spectrum-spacing-100);
- --spectrum-alert-banner-edge-to-divider:var(--spectrum-spacing-100);
- --spectrum-alert-banner-edge-to-button:var(--spectrum-spacing-100);
- --spectrum-alert-banner-text-to-button-vertical:var(--spectrum-spacing-100);
-
- --spectrum-alert-dialog-padding:var(--spectrum-spacing-500);
- --spectrum-alert-dialog-description-to-buttons:var(--spectrum-spacing-700);
-
- --spectrum-coach-indicator-gap:6px;
- --spectrum-coach-indicator-ring-diameter:var(--spectrum-spacing-300);
- --spectrum-coach-indicator-quiet-ring-diameter:var(--spectrum-spacing-100);
-
- --spectrum-coachmark-buttongroup-display:flex;
- --spectrum-coachmark-buttongroup-mobile-display:none;
- --spectrum-coachmark-menu-display:inline-flex;
- --spectrum-coachmark-menu-mobile-display:none;
- --spectrum-well-padding:var(--spectrum-spacing-300);
- --spectrum-well-margin-top:var(--spectrum-spacing-75);
- --spectrum-well-min-width:240px;
- --spectrum-well-border-radius:var(--spectrum-spacing-75);
- --spectrum-workflow-icon-size-xxl:32px;
- --spectrum-workflow-icon-size-xxs:12px;
-
- --spectrum-treeview-item-indentation-medium:var(--spectrum-spacing-300);
- --spectrum-treeview-item-indentation-small:var(--spectrum-spacing-200);
- --spectrum-treeview-item-indentation-large:20px;
- --spectrum-treeview-item-indentation-extra-large:var(--spectrum-spacing-400);
- --spectrum-treeview-indicator-inset-block-start:5px;
- --spectrum-treeview-item-min-block-size-thumbnail-offset-medium:0px;
-
- --spectrum-dialog-confirm-entry-animation-distance:20px;
- --spectrum-dialog-confirm-hero-height:128px;
- --spectrum-dialog-confirm-border-radius:4px;
- --spectrum-dialog-confirm-title-text-size:18px;
- --spectrum-dialog-confirm-description-text-size:14px;
- --spectrum-dialog-confirm-padding-grid:40px;
-
- --spectrum-datepicker-initial-width:128px;
- --spectrum-datepicker-generic-padding:var(--spectrum-spacing-200);
- --spectrum-datepicker-dash-line-height:24px;
- --spectrum-datepicker-width-quiet-first:72px;
- --spectrum-datepicker-width-quiet-second:16px;
- --spectrum-datepicker-datetime-width-first:36px;
- --spectrum-datepicker-invalid-icon-to-button:8px;
- --spectrum-datepicker-invalid-icon-to-button-quiet:7px;
- --spectrum-datepicker-input-datetime-width:var(--spectrum-spacing-400);
-
- --spectrum-pagination-textfield-width:var(--spectrum-spacing-700);
- --spectrum-pagination-item-inline-spacing:5px;
-
- --spectrum-dial-border-radius:16px;
- --spectrum-dial-handle-position:8px;
- --spectrum-dial-handle-block-margin:16px;
- --spectrum-dial-handle-inline-margin:16px;
- --spectrum-dial-controls-margin:8px;
- --spectrum-dial-label-gap-y:5px;
- --spectrum-dial-label-container-top-to-text:4px;
-
- --spectrum-assetcard-focus-ring-border-radius:8px;
- --spectrum-assetcard-selectionindicator-margin:12px;
- --spectrum-assetcard-title-font-size:var(--spectrum-heading-size-xs);
- --spectrum-assetcard-header-content-font-size:var(--spectrum-heading-size-xs);
- --spectrum-assetcard-content-font-size:var(--spectrum-body-size-s);
-
- --spectrum-tooltip-animation-distance:var(--spectrum-spacing-75);
-
- --spectrum-ui-icon-medium-display:block;
- --spectrum-ui-icon-large-display:none;
-}
diff --git a/tokens/dist/css/spectrum/custom-vars.css b/tokens/dist/css/spectrum/custom-vars.css
deleted file mode 100644
index 6481b08241c..00000000000
--- a/tokens/dist/css/spectrum/custom-vars.css
+++ /dev/null
@@ -1,59 +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.
- */
-
-.spectrum{
- --system:spectrum;
- --spectrum-animation-linear:cubic-bezier(0, 0, 1, 1);
- --spectrum-animation-duration-0:0ms;
- --spectrum-animation-duration-100:130ms;
- --spectrum-animation-duration-200:160ms;
- --spectrum-animation-duration-300:190ms;
- --spectrum-animation-duration-400:220ms;
- --spectrum-animation-duration-500:250ms;
- --spectrum-animation-duration-600:300ms;
- --spectrum-animation-duration-700:350ms;
- --spectrum-animation-duration-800:400ms;
- --spectrum-animation-duration-900:450ms;
- --spectrum-animation-duration-1000:500ms;
- --spectrum-animation-duration-2000:1000ms;
- --spectrum-animation-duration-4000:2000ms;
- --spectrum-animation-duration-6000:3000ms;
- --spectrum-animation-ease-in-out:cubic-bezier(0.45, 0, 0.4, 1);
- --spectrum-animation-ease-in:cubic-bezier(0.5, 0, 1, 1);
- --spectrum-animation-ease-out:cubic-bezier(0, 0, 0.4, 1);
- --spectrum-animation-ease-linear:cubic-bezier(0, 0, 1, 1);
-
- --spectrum-sans-font-family-stack:adobe-clean, var(--spectrum-sans-serif-font-family), "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
- --spectrum-sans-serif-font:var(--spectrum-sans-font-family-stack);
-
- --spectrum-serif-font-family-stack:adobe-clean-serif, var(--spectrum-serif-font-family), "Source Serif Pro", Georgia, serif;
- --spectrum-serif-font:var(--spectrum-serif-font-family-stack);
-
- --spectrum-code-font-family-stack:"Source Code Pro", Monaco, monospace;
-
- --spectrum-font-family-ar:myriad-arabic, adobe-clean, "Source Sans Pro", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
- --spectrum-font-family-he:myriad-hebrew, adobe-clean, "Source Sans Pro", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
-
- --spectrum-font-family:var(--spectrum-sans-font-family-stack);
- --spectrum-font-style:var(--spectrum-default-font-style);
- --spectrum-font-size:var(--spectrum-font-size-100);
-
- --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);
- --spectrum-docs-static-white-background-color-rgb:15, 121, 125;
- --spectrum-docs-static-white-background-color:rgba(var(--spectrum-docs-static-white-background-color-rgb));
- --spectrum-docs-static-black-background-color-rgb:181, 209, 211;
- --spectrum-docs-static-black-background-color:rgba(var(--spectrum-docs-static-black-background-color-rgb));
-
- --spectrum-coach-indicator-ring-static-white-color:var(--spectrum-white);
-}
diff --git a/tokens/dist/css/spectrum/dark-vars.css b/tokens/dist/css/spectrum/dark-vars.css
deleted file mode 100644
index c93a8ad02c3..00000000000
--- a/tokens/dist/css/spectrum/dark-vars.css
+++ /dev/null
@@ -1,76 +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.
- */
-
-.spectrum--dark{
- --spectrum-menu-item-background-color-default-rgb:255, 255, 255;
- --spectrum-menu-item-background-color-default-opacity:0;
- --spectrum-menu-item-background-color-default:rgba(var(--spectrum-menu-item-background-color-default-rgb), var(--spectrum-menu-item-background-color-default-opacity));
- --spectrum-menu-item-background-color-hover:var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-down:var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-key-focus:var(--spectrum-transparent-white-200);
- --spectrum-drop-zone-background-color-rgb:var(--spectrum-blue-900-rgb);
- --spectrum-dropindicator-color:var(--spectrum-blue-700);
-
- --spectrum-calendar-day-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.15);
- --spectrum-calendar-day-background-color-hover:rgba(var(--spectrum-white-rgb), 0.07);
- --spectrum-calendar-day-today-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.25);
- --spectrum-calendar-day-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.25);
- --spectrum-calendar-day-background-color-down:var(--spectrum-transparent-white-200);
- --spectrum-calendar-day-background-color-cap-selected:rgba(var(--spectrum-blue-800-rgb), 0.25);
- --spectrum-calendar-day-background-color-key-focus:rgba(var(--spectrum-white-rgb), 0.07);
- --spectrum-calendar-day-border-color-key-focus:var(--spectrum-blue-700);
-
- --spectrum-card-selected-background-color-rgb:var(--spectrum-blue-500-rgb);
-
- --spectrum-badge-label-icon-color-primary:var(--spectrum-black);
-
- --spectrum-coach-indicator-ring-default-color:var(--spectrum-blue-700);
- --spectrum-coach-indicator-ring-dark-color:var(--spectrum-gray-900);
- --spectrum-coach-indicator-ring-light-color:var(--spectrum-gray-50);
-
- --spectrum-well-border-color:rgba(var(--spectrum-white-rgb), 0.05);
-
- --spectrum-steplist-current-marker-color-key-focus:var(--spectrum-blue-700);
-
- --spectrum-treeview-item-background-color-quiet-selected:rgba(var(--spectrum-gray-900-rgb), 0.07);
- --spectrum-treeview-item-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.15);
-
- --spectrum-logic-button-and-background-color:var(--spectrum-blue-800);
- --spectrum-logic-button-and-border-color:var(--spectrum-blue-800);
- --spectrum-logic-button-and-background-color-hover:var(--spectrum-blue-1000);
- --spectrum-logic-button-and-border-color-hover:var(--spectrum-blue-1000);
-
- --spectrum-logic-button-or-background-color:var(--spectrum-magenta-700);
- --spectrum-logic-button-or-border-color:var(--spectrum-magenta-700);
- --spectrum-logic-button-or-background-color-hover:var(--spectrum-magenta-900);
- --spectrum-logic-button-or-border-color-hover:var(--spectrum-magenta-900);
-
- --spectrum-assetcard-border-color-selected:var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-hover:var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-down:var(--spectrum-blue-900);
- --spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-blue-800);
- --spectrum-assestcard-focus-indicator-color:var(--spectrum-blue-700);
-
- --spectrum-assetlist-item-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.25);
- --spectrum-assetlist-item-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.15);
- --spectrum-assetlist-border-color-key-focus:var(--spectrum-blue-700);
-
- --spectrum-swatch-border-color-rgb:255, 255, 255;
-
- --spectrum-swatch-border-color-opacity:0.51;
-
- --spectrum-swatch-border-color:rgba(var(--spectrum-swatch-border-color-rgb), var(--spectrum-swatch-border-color-opacity));
- --spectrum-swatch-border-color-light-rgb:255, 255, 255;
- --spectrum-swatch-border-color-light-opacity:0.2;
- --spectrum-swatch-border-color-light:rgba(var(--spectrum-swatch-border-color-light-rgb), var(--spectrum-swatch-border-color-light-opacity));
-}
diff --git a/tokens/dist/css/spectrum/darkest-vars.css b/tokens/dist/css/spectrum/darkest-vars.css
deleted file mode 100644
index 810c81900d0..00000000000
--- a/tokens/dist/css/spectrum/darkest-vars.css
+++ /dev/null
@@ -1,76 +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.
- */
-
-.spectrum--darkest{
- --spectrum-menu-item-background-color-default-rgb:255, 255, 255;
- --spectrum-menu-item-background-color-default-opacity:0;
- --spectrum-menu-item-background-color-default:rgba(var(--spectrum-menu-item-background-color-default-rgb), var(--spectrum-menu-item-background-color-default-opacity));
- --spectrum-menu-item-background-color-hover:var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-down:var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-key-focus:var(--spectrum-transparent-white-200);
- --spectrum-drop-zone-background-color-rgb:var(--spectrum-blue-900-rgb);
- --spectrum-dropindicator-color:var(--spectrum-blue-700);
-
- --spectrum-calendar-day-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.2);
- --spectrum-calendar-day-background-color-hover:rgba(var(--spectrum-white-rgb), 0.08);
- --spectrum-calendar-day-today-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-calendar-day-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-calendar-day-background-color-down:rgba(var(--spectrum-white-rgb), 0.15);
- --spectrum-calendar-day-background-color-cap-selected:rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-calendar-day-background-color-key-focus:rgba(var(--spectrum-white-rgb), 0.08);
- --spectrum-calendar-day-border-color-key-focus:var(--spectrum-blue-700);
-
- --spectrum-card-selected-background-color-rgb:var(--spectrum-blue-600-rgb);
-
- --spectrum-badge-label-icon-color-primary:var(--spectrum-black);
-
- --spectrum-coach-indicator-ring-default-color:var(--spectrum-blue-700);
- --spectrum-coach-indicator-ring-dark-color:var(--spectrum-gray-900);
- --spectrum-coach-indicator-ring-light-color:var(--spectrum-gray-50);
-
- --spectrum-well-border-color:rgba(var(--spectrum-white-rgb), 0.05);
-
- --spectrum-steplist-current-marker-color-key-focus:var(--spectrum-blue-700);
-
- --spectrum-treeview-item-background-color-quiet-selected:rgba(var(--spectrum-gray-900-rgb), 0.08);
- --spectrum-treeview-item-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.2);
-
- --spectrum-logic-button-and-background-color:var(--spectrum-blue-800);
- --spectrum-logic-button-and-border-color:var(--spectrum-blue-800);
- --spectrum-logic-button-and-background-color-hover:var(--spectrum-blue-1000);
- --spectrum-logic-button-and-border-color-hover:var(--spectrum-blue-1000);
-
- --spectrum-logic-button-or-background-color:var(--spectrum-magenta-700);
- --spectrum-logic-button-or-border-color:var(--spectrum-magenta-700);
- --spectrum-logic-button-or-background-color-hover:var(--spectrum-magenta-900);
- --spectrum-logic-button-or-border-color-hover:var(--spectrum-magenta-900);
-
- --spectrum-assetcard-border-color-selected:var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-hover:var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-down:var(--spectrum-blue-900);
- --spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-blue-800);
- --spectrum-assestcard-focus-indicator-color:var(--spectrum-blue-700);
-
- --spectrum-assetlist-item-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-assetlist-item-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.2);
- --spectrum-assetlist-border-color-key-focus:var(--spectrum-blue-700);
-
- --spectrum-swatch-border-color-rgb:255, 255, 255;
-
- --spectrum-swatch-border-color-opacity:0.51;
-
- --spectrum-swatch-border-color:rgba(var(--spectrum-swatch-border-color-rgb), var(--spectrum-swatch-border-color-opacity));
- --spectrum-swatch-border-color-light-rgb:255, 255, 255;
- --spectrum-swatch-border-color-light-opacity:0.2;
- --spectrum-swatch-border-color-light:rgba(var(--spectrum-swatch-border-color-light-rgb), var(--spectrum-swatch-border-color-light-opacity));
-}
diff --git a/tokens/dist/css/spectrum/global-vars.css b/tokens/dist/css/spectrum/global-vars.css
deleted file mode 100644
index d5e7de474ed..00000000000
--- a/tokens/dist/css/spectrum/global-vars.css
+++ /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.
- */
-
-.spectrum{
- --spectrum-neutral-background-color-selected-default:var(--spectrum-gray-700);
- --spectrum-neutral-background-color-selected-hover:var(--spectrum-gray-800);
- --spectrum-neutral-background-color-selected-down:var(--spectrum-gray-900);
- --spectrum-neutral-background-color-selected-key-focus:var(--spectrum-gray-800);
- --spectrum-slider-track-thickness:2px;
- --spectrum-slider-handle-gap:4px;
- --spectrum-picker-border-width:var(--spectrum-border-width-100);
- --spectrum-in-field-button-fill-stacked-inner-border-rounding:0px;
- --spectrum-in-field-button-edge-to-fill:0px;
- --spectrum-in-field-button-stacked-inner-edge-to-fill:0px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium:3px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large:4px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large:5px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small);
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium);
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large);
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large);
- --spectrum-corner-radius-75:2px;
- --spectrum-drop-shadow-x:0px;
- --spectrum-border-width-100:1px;
- --spectrum-accent-color-100:var(--spectrum-blue-100);
- --spectrum-accent-color-200:var(--spectrum-blue-200);
- --spectrum-accent-color-300:var(--spectrum-blue-300);
- --spectrum-accent-color-400:var(--spectrum-blue-400);
- --spectrum-accent-color-500:var(--spectrum-blue-500);
- --spectrum-accent-color-600:var(--spectrum-blue-600);
- --spectrum-accent-color-700:var(--spectrum-blue-700);
- --spectrum-accent-color-800:var(--spectrum-blue-800);
- --spectrum-accent-color-900:var(--spectrum-blue-900);
- --spectrum-accent-color-1000:var(--spectrum-blue-1000);
- --spectrum-accent-color-1100:var(--spectrum-blue-1100);
- --spectrum-accent-color-1200:var(--spectrum-blue-1200);
- --spectrum-accent-color-1300:var(--spectrum-blue-1300);
- --spectrum-accent-color-1400:var(--spectrum-blue-1400);
- --spectrum-heading-sans-serif-font-weight:var(--spectrum-bold-font-weight);
- --spectrum-heading-serif-font-weight:var(--spectrum-bold-font-weight);
- --spectrum-heading-cjk-font-weight:var(--spectrum-extra-bold-font-weight);
- --spectrum-heading-sans-serif-emphasized-font-weight:var(--spectrum-bold-font-weight);
- --spectrum-heading-serif-emphasized-font-weight:var(--spectrum-bold-font-weight);
- --system:spectrum;
- --spectrum-animation-linear:cubic-bezier(0, 0, 1, 1);
- --spectrum-animation-duration-0:0ms;
- --spectrum-animation-duration-100:130ms;
- --spectrum-animation-duration-200:160ms;
- --spectrum-animation-duration-300:190ms;
- --spectrum-animation-duration-400:220ms;
- --spectrum-animation-duration-500:250ms;
- --spectrum-animation-duration-600:300ms;
- --spectrum-animation-duration-700:350ms;
- --spectrum-animation-duration-800:400ms;
- --spectrum-animation-duration-900:450ms;
- --spectrum-animation-duration-1000:500ms;
- --spectrum-animation-duration-2000:1000ms;
- --spectrum-animation-duration-4000:2000ms;
- --spectrum-animation-duration-6000:3000ms;
- --spectrum-animation-ease-in-out:cubic-bezier(0.45, 0, 0.4, 1);
- --spectrum-animation-ease-in:cubic-bezier(0.5, 0, 1, 1);
- --spectrum-animation-ease-out:cubic-bezier(0, 0, 0.4, 1);
- --spectrum-animation-ease-linear:cubic-bezier(0, 0, 1, 1);
-
- --spectrum-sans-font-family-stack:adobe-clean, var(--spectrum-sans-serif-font-family), "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
- --spectrum-sans-serif-font:var(--spectrum-sans-font-family-stack);
-
- --spectrum-serif-font-family-stack:adobe-clean-serif, var(--spectrum-serif-font-family), "Source Serif Pro", Georgia, serif;
- --spectrum-serif-font:var(--spectrum-serif-font-family-stack);
-
- --spectrum-code-font-family-stack:"Source Code Pro", Monaco, monospace;
-
- --spectrum-font-family-ar:myriad-arabic, adobe-clean, "Source Sans Pro", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
- --spectrum-font-family-he:myriad-hebrew, adobe-clean, "Source Sans Pro", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
-
- --spectrum-font-family:var(--spectrum-sans-font-family-stack);
- --spectrum-font-style:var(--spectrum-default-font-style);
- --spectrum-font-size:var(--spectrum-font-size-100);
-
- --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);
- --spectrum-docs-static-white-background-color-rgb:15, 121, 125;
- --spectrum-docs-static-white-background-color:rgba(var(--spectrum-docs-static-white-background-color-rgb));
- --spectrum-docs-static-black-background-color-rgb:181, 209, 211;
- --spectrum-docs-static-black-background-color:rgba(var(--spectrum-docs-static-black-background-color-rgb));
-
- --spectrum-coach-indicator-ring-static-white-color:var(--spectrum-white);
-}
diff --git a/tokens/dist/css/spectrum/index.css b/tokens/dist/css/spectrum/index.css
deleted file mode 100644
index 491fd946d45..00000000000
--- a/tokens/dist/css/spectrum/index.css
+++ /dev/null
@@ -1,603 +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.
- */
-
-.spectrum--dark{
- --spectrum-menu-item-background-color-default-rgb:255, 255, 255;
- --spectrum-menu-item-background-color-default-opacity:0;
- --spectrum-menu-item-background-color-default:rgba(var(--spectrum-menu-item-background-color-default-rgb), var(--spectrum-menu-item-background-color-default-opacity));
- --spectrum-menu-item-background-color-hover:var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-down:var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-key-focus:var(--spectrum-transparent-white-200);
- --spectrum-drop-zone-background-color-rgb:var(--spectrum-blue-900-rgb);
- --spectrum-dropindicator-color:var(--spectrum-blue-700);
-
- --spectrum-calendar-day-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.15);
- --spectrum-calendar-day-background-color-hover:rgba(var(--spectrum-white-rgb), 0.07);
- --spectrum-calendar-day-today-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.25);
- --spectrum-calendar-day-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.25);
- --spectrum-calendar-day-background-color-down:var(--spectrum-transparent-white-200);
- --spectrum-calendar-day-background-color-cap-selected:rgba(var(--spectrum-blue-800-rgb), 0.25);
- --spectrum-calendar-day-background-color-key-focus:rgba(var(--spectrum-white-rgb), 0.07);
- --spectrum-calendar-day-border-color-key-focus:var(--spectrum-blue-700);
-
- --spectrum-card-selected-background-color-rgb:var(--spectrum-blue-500-rgb);
-
- --spectrum-badge-label-icon-color-primary:var(--spectrum-black);
-
- --spectrum-coach-indicator-ring-default-color:var(--spectrum-blue-700);
- --spectrum-coach-indicator-ring-dark-color:var(--spectrum-gray-900);
- --spectrum-coach-indicator-ring-light-color:var(--spectrum-gray-50);
-
- --spectrum-well-border-color:rgba(var(--spectrum-white-rgb), 0.05);
-
- --spectrum-steplist-current-marker-color-key-focus:var(--spectrum-blue-700);
-
- --spectrum-treeview-item-background-color-quiet-selected:rgba(var(--spectrum-gray-900-rgb), 0.07);
- --spectrum-treeview-item-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.15);
-
- --spectrum-logic-button-and-background-color:var(--spectrum-blue-800);
- --spectrum-logic-button-and-border-color:var(--spectrum-blue-800);
- --spectrum-logic-button-and-background-color-hover:var(--spectrum-blue-1000);
- --spectrum-logic-button-and-border-color-hover:var(--spectrum-blue-1000);
-
- --spectrum-logic-button-or-background-color:var(--spectrum-magenta-700);
- --spectrum-logic-button-or-border-color:var(--spectrum-magenta-700);
- --spectrum-logic-button-or-background-color-hover:var(--spectrum-magenta-900);
- --spectrum-logic-button-or-border-color-hover:var(--spectrum-magenta-900);
-
- --spectrum-assetcard-border-color-selected:var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-hover:var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-down:var(--spectrum-blue-900);
- --spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-blue-800);
- --spectrum-assestcard-focus-indicator-color:var(--spectrum-blue-700);
-
- --spectrum-assetlist-item-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.25);
- --spectrum-assetlist-item-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.15);
- --spectrum-assetlist-border-color-key-focus:var(--spectrum-blue-700);
-
- --spectrum-swatch-border-color-rgb:255, 255, 255;
-
- --spectrum-swatch-border-color-opacity:0.51;
-
- --spectrum-swatch-border-color:rgba(var(--spectrum-swatch-border-color-rgb), var(--spectrum-swatch-border-color-opacity));
- --spectrum-swatch-border-color-light-rgb:255, 255, 255;
- --spectrum-swatch-border-color-light-opacity:0.2;
- --spectrum-swatch-border-color-light:rgba(var(--spectrum-swatch-border-color-light-rgb), var(--spectrum-swatch-border-color-light-opacity));
-}
-
-.spectrum--darkest{
- --spectrum-menu-item-background-color-default-rgb:255, 255, 255;
- --spectrum-menu-item-background-color-default-opacity:0;
- --spectrum-menu-item-background-color-default:rgba(var(--spectrum-menu-item-background-color-default-rgb), var(--spectrum-menu-item-background-color-default-opacity));
- --spectrum-menu-item-background-color-hover:var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-down:var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-key-focus:var(--spectrum-transparent-white-200);
- --spectrum-drop-zone-background-color-rgb:var(--spectrum-blue-900-rgb);
- --spectrum-dropindicator-color:var(--spectrum-blue-700);
-
- --spectrum-calendar-day-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.2);
- --spectrum-calendar-day-background-color-hover:rgba(var(--spectrum-white-rgb), 0.08);
- --spectrum-calendar-day-today-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-calendar-day-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-calendar-day-background-color-down:rgba(var(--spectrum-white-rgb), 0.15);
- --spectrum-calendar-day-background-color-cap-selected:rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-calendar-day-background-color-key-focus:rgba(var(--spectrum-white-rgb), 0.08);
- --spectrum-calendar-day-border-color-key-focus:var(--spectrum-blue-700);
-
- --spectrum-card-selected-background-color-rgb:var(--spectrum-blue-600-rgb);
-
- --spectrum-badge-label-icon-color-primary:var(--spectrum-black);
-
- --spectrum-coach-indicator-ring-default-color:var(--spectrum-blue-700);
- --spectrum-coach-indicator-ring-dark-color:var(--spectrum-gray-900);
- --spectrum-coach-indicator-ring-light-color:var(--spectrum-gray-50);
-
- --spectrum-well-border-color:rgba(var(--spectrum-white-rgb), 0.05);
-
- --spectrum-steplist-current-marker-color-key-focus:var(--spectrum-blue-700);
-
- --spectrum-treeview-item-background-color-quiet-selected:rgba(var(--spectrum-gray-900-rgb), 0.08);
- --spectrum-treeview-item-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.2);
-
- --spectrum-logic-button-and-background-color:var(--spectrum-blue-800);
- --spectrum-logic-button-and-border-color:var(--spectrum-blue-800);
- --spectrum-logic-button-and-background-color-hover:var(--spectrum-blue-1000);
- --spectrum-logic-button-and-border-color-hover:var(--spectrum-blue-1000);
-
- --spectrum-logic-button-or-background-color:var(--spectrum-magenta-700);
- --spectrum-logic-button-or-border-color:var(--spectrum-magenta-700);
- --spectrum-logic-button-or-background-color-hover:var(--spectrum-magenta-900);
- --spectrum-logic-button-or-border-color-hover:var(--spectrum-magenta-900);
-
- --spectrum-assetcard-border-color-selected:var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-hover:var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-down:var(--spectrum-blue-900);
- --spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-blue-800);
- --spectrum-assestcard-focus-indicator-color:var(--spectrum-blue-700);
-
- --spectrum-assetlist-item-background-color-selected-hover:rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-assetlist-item-background-color-selected:rgba(var(--spectrum-blue-800-rgb), 0.2);
- --spectrum-assetlist-border-color-key-focus:var(--spectrum-blue-700);
-
- --spectrum-swatch-border-color-rgb:255, 255, 255;
-
- --spectrum-swatch-border-color-opacity:0.51;
-
- --spectrum-swatch-border-color:rgba(var(--spectrum-swatch-border-color-rgb), var(--spectrum-swatch-border-color-opacity));
- --spectrum-swatch-border-color-light-rgb:255, 255, 255;
- --spectrum-swatch-border-color-light-opacity:0.2;
- --spectrum-swatch-border-color-light:rgba(var(--spectrum-swatch-border-color-light-rgb), var(--spectrum-swatch-border-color-light-opacity));
-}
-
-.spectrum{
- --spectrum-neutral-background-color-selected-default:var(--spectrum-gray-700);
- --spectrum-neutral-background-color-selected-hover:var(--spectrum-gray-800);
- --spectrum-neutral-background-color-selected-down:var(--spectrum-gray-900);
- --spectrum-neutral-background-color-selected-key-focus:var(--spectrum-gray-800);
- --spectrum-slider-track-thickness:2px;
- --spectrum-slider-handle-gap:4px;
- --spectrum-picker-border-width:var(--spectrum-border-width-100);
- --spectrum-in-field-button-fill-stacked-inner-border-rounding:0px;
- --spectrum-in-field-button-edge-to-fill:0px;
- --spectrum-in-field-button-stacked-inner-edge-to-fill:0px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium:3px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large:4px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large:5px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small);
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium);
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large);
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large:var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large);
- --spectrum-corner-radius-75:2px;
- --spectrum-drop-shadow-x:0px;
- --spectrum-border-width-100:1px;
- --spectrum-accent-color-100:var(--spectrum-blue-100);
- --spectrum-accent-color-200:var(--spectrum-blue-200);
- --spectrum-accent-color-300:var(--spectrum-blue-300);
- --spectrum-accent-color-400:var(--spectrum-blue-400);
- --spectrum-accent-color-500:var(--spectrum-blue-500);
- --spectrum-accent-color-600:var(--spectrum-blue-600);
- --spectrum-accent-color-700:var(--spectrum-blue-700);
- --spectrum-accent-color-800:var(--spectrum-blue-800);
- --spectrum-accent-color-900:var(--spectrum-blue-900);
- --spectrum-accent-color-1000:var(--spectrum-blue-1000);
- --spectrum-accent-color-1100:var(--spectrum-blue-1100);
- --spectrum-accent-color-1200:var(--spectrum-blue-1200);
- --spectrum-accent-color-1300:var(--spectrum-blue-1300);
- --spectrum-accent-color-1400:var(--spectrum-blue-1400);
- --spectrum-heading-sans-serif-font-weight:var(--spectrum-bold-font-weight);
- --spectrum-heading-serif-font-weight:var(--spectrum-bold-font-weight);
- --spectrum-heading-cjk-font-weight:var(--spectrum-extra-bold-font-weight);
- --spectrum-heading-sans-serif-emphasized-font-weight:var(--spectrum-bold-font-weight);
- --spectrum-heading-serif-emphasized-font-weight:var(--spectrum-bold-font-weight);
- --system:spectrum;
- --spectrum-animation-linear:cubic-bezier(0, 0, 1, 1);
- --spectrum-animation-duration-0:0ms;
- --spectrum-animation-duration-100:130ms;
- --spectrum-animation-duration-200:160ms;
- --spectrum-animation-duration-300:190ms;
- --spectrum-animation-duration-400:220ms;
- --spectrum-animation-duration-500:250ms;
- --spectrum-animation-duration-600:300ms;
- --spectrum-animation-duration-700:350ms;
- --spectrum-animation-duration-800:400ms;
- --spectrum-animation-duration-900:450ms;
- --spectrum-animation-duration-1000:500ms;
- --spectrum-animation-duration-2000:1000ms;
- --spectrum-animation-duration-4000:2000ms;
- --spectrum-animation-duration-6000:3000ms;
- --spectrum-animation-ease-in-out:cubic-bezier(0.45, 0, 0.4, 1);
- --spectrum-animation-ease-in:cubic-bezier(0.5, 0, 1, 1);
- --spectrum-animation-ease-out:cubic-bezier(0, 0, 0.4, 1);
- --spectrum-animation-ease-linear:cubic-bezier(0, 0, 1, 1);
-
- --spectrum-sans-font-family-stack:adobe-clean, var(--spectrum-sans-serif-font-family), "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
- --spectrum-sans-serif-font:var(--spectrum-sans-font-family-stack);
-
- --spectrum-serif-font-family-stack:adobe-clean-serif, var(--spectrum-serif-font-family), "Source Serif Pro", Georgia, serif;
- --spectrum-serif-font:var(--spectrum-serif-font-family-stack);
-
- --spectrum-code-font-family-stack:"Source Code Pro", Monaco, monospace;
-
- --spectrum-font-family-ar:myriad-arabic, adobe-clean, "Source Sans Pro", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
- --spectrum-font-family-he:myriad-hebrew, adobe-clean, "Source Sans Pro", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
-
- --spectrum-font-family:var(--spectrum-sans-font-family-stack);
- --spectrum-font-style:var(--spectrum-default-font-style);
- --spectrum-font-size:var(--spectrum-font-size-100);
-
- --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);
- --spectrum-docs-static-white-background-color-rgb:15, 121, 125;
- --spectrum-docs-static-white-background-color:rgba(var(--spectrum-docs-static-white-background-color-rgb));
- --spectrum-docs-static-black-background-color-rgb:181, 209, 211;
- --spectrum-docs-static-black-background-color:rgba(var(--spectrum-docs-static-black-background-color-rgb));
-
- --spectrum-coach-indicator-ring-static-white-color:var(--spectrum-white);
-}
-
-.spectrum--large{
- --spectrum-checkbox-control-size-small:16px;
- --spectrum-checkbox-control-size-medium:18px;
- --spectrum-checkbox-control-size-large:20px;
- --spectrum-checkbox-control-size-extra-large:22px;
- --spectrum-checkbox-top-to-control-small:7px;
- --spectrum-checkbox-top-to-control-medium:11px;
- --spectrum-checkbox-top-to-control-large:15px;
- --spectrum-checkbox-top-to-control-extra-large:19px;
- --spectrum-switch-control-width-small:32px;
- --spectrum-switch-control-width-medium:36px;
- --spectrum-switch-control-width-large:41px;
- --spectrum-switch-control-width-extra-large:46px;
- --spectrum-switch-control-height-small:16px;
- --spectrum-switch-control-height-medium:18px;
- --spectrum-switch-control-height-large:20px;
- --spectrum-switch-control-height-extra-large:22px;
- --spectrum-switch-top-to-control-small:7px;
- --spectrum-switch-top-to-control-medium:11px;
- --spectrum-switch-top-to-control-large:15px;
- --spectrum-switch-top-to-control-extra-large:19px;
- --spectrum-radio-button-control-size-small:16px;
- --spectrum-radio-button-control-size-medium:18px;
- --spectrum-radio-button-control-size-large:20px;
- --spectrum-radio-button-control-size-extra-large:22px;
- --spectrum-radio-button-top-to-control-small:7px;
- --spectrum-radio-button-top-to-control-medium:11px;
- --spectrum-radio-button-top-to-control-large:15px;
- --spectrum-radio-button-top-to-control-extra-large:19px;
- --spectrum-slider-control-height-small:18px;
- --spectrum-slider-control-height-medium:20px;
- --spectrum-slider-control-height-large:22px;
- --spectrum-slider-control-height-extra-large:26px;
- --spectrum-slider-handle-size-small:18px;
- --spectrum-slider-handle-size-medium:20px;
- --spectrum-slider-handle-size-large:22px;
- --spectrum-slider-handle-size-extra-large:26px;
- --spectrum-slider-handle-border-width-down-small:7px;
- --spectrum-slider-handle-border-width-down-medium:8px;
- --spectrum-slider-handle-border-width-down-large:9px;
- --spectrum-slider-handle-border-width-down-extra-large:11px;
- --spectrum-slider-bottom-to-handle-small:6px;
- --spectrum-slider-bottom-to-handle-medium:10px;
- --spectrum-slider-bottom-to-handle-large:14px;
- --spectrum-slider-bottom-to-handle-extra-large:17px;
- --spectrum-corner-radius-100:5px;
- --spectrum-corner-radius-200:10px;
- --spectrum-drop-shadow-y:2px;
- --spectrum-drop-shadow-blur:6px;
- --spectrum-slider-tick-mark-height:13px;
- --spectrum-slider-ramp-track-height:20px;
-
- --spectrum-colorwheel-path:"M 119 119 m -119 0 a 119 119 0 1 0 238 0 a 119 119 0 1 0 -238 0.2 M 119 119 m -91 0 a 91 91 0 1 0 182 0 a 91 91 0 1 0 -182 0";
- --spectrum-colorwheel-path-borders:"M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0";
- --spectrum-colorwheel-colorarea-container-size:182px;
-
- --spectrum-colorloupe-checkerboard-fill:url(#checkerboard-secondary);
-
- --spectrum-contextual-help-content-spacing:var(--spectrum-spacing-200);
-
- --spectrum-menu-item-selectable-edge-to-text-not-selected-small:34px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-medium:42px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-large:47px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large:54px;
-
- --spectrum-menu-item-checkmark-height-small:12px;
- --spectrum-menu-item-checkmark-height-medium:14px;
- --spectrum-menu-item-checkmark-height-large:16px;
- --spectrum-menu-item-checkmark-height-extra-large:16px;
-
- --spectrum-menu-item-checkmark-width-small:12px;
- --spectrum-menu-item-checkmark-width-medium:14px;
- --spectrum-menu-item-checkmark-width-large:16px;
- --spectrum-menu-item-checkmark-width-extra-large:16px;
-
- --spectrum-rating-icon-spacing:var(--spectrum-spacing-100);
-
- --spectrum-button-top-to-text-small:6px;
- --spectrum-button-bottom-to-text-small:5px;
- --spectrum-button-top-to-text-medium:9px;
- --spectrum-button-bottom-to-text-medium:10px;
- --spectrum-button-top-to-text-large:12px;
- --spectrum-button-bottom-to-text-large:13px;
- --spectrum-button-top-to-text-extra-large:16px;
- --spectrum-button-bottom-to-text-extra-large:17px;
-
- --spectrum-alert-banner-close-button-spacing:var(--spectrum-spacing-200);
- --spectrum-alert-banner-edge-to-divider:var(--spectrum-spacing-200);
- --spectrum-alert-banner-edge-to-button:var(--spectrum-spacing-200);
- --spectrum-alert-banner-text-to-button-vertical:var(--spectrum-spacing-200);
-
- --spectrum-alert-dialog-padding:var(--spectrum-spacing-400);
- --spectrum-alert-dialog-description-to-buttons:var(--spectrum-spacing-600);
-
- --spectrum-coach-indicator-gap:8px;
- --spectrum-coach-indicator-ring-diameter:20px;
- --spectrum-coach-indicator-quiet-ring-diameter:10px;
-
- --spectrum-coachmark-buttongroup-display:none;
- --spectrum-coachmark-buttongroup-mobile-display:flex;
- --spectrum-coachmark-menu-display:none;
- --spectrum-coachmark-menu-mobile-display:inline-flex;
-
- --spectrum-well-padding:20px;
- --spectrum-well-margin-top:5px;
- --spectrum-well-min-width:300px;
- --spectrum-well-border-radius:5px;
- --spectrum-workflow-icon-size-xxl:40px;
- --spectrum-workflow-icon-size-xxs:15px;
-
- --spectrum-treeview-item-indentation-medium:20px;
- --spectrum-treeview-item-indentation-small:15px;
- --spectrum-treeview-item-indentation-large:25px;
- --spectrum-treeview-item-indentation-extra-large:30px;
- --spectrum-treeview-indicator-inset-block-start:6px;
- --spectrum-treeview-item-min-block-size-thumbnail-offset-medium:2px;
-
- --spectrum-dialog-confirm-entry-animation-distance:25px;
- --spectrum-dialog-confirm-hero-height:160px;
- --spectrum-dialog-confirm-border-radius:5px;
- --spectrum-dialog-confirm-title-text-size:19px;
- --spectrum-dialog-confirm-description-text-size:15px;
- --spectrum-dialog-confirm-padding-grid:24px;
-
- --spectrum-datepicker-initial-width:160px;
- --spectrum-datepicker-generic-padding:15px;
- --spectrum-datepicker-dash-line-height:30px;
- --spectrum-datepicker-width-quiet-first:90px;
- --spectrum-datepicker-width-quiet-second:20px;
- --spectrum-datepicker-datetime-width-first:45px;
- --spectrum-datepicker-invalid-icon-to-button:10px;
- --spectrum-datepicker-invalid-icon-to-button-quiet:9px;
- --spectrum-datepicker-input-datetime-width:30px;
-
- --spectrum-pagination-textfield-width:60px;
- --spectrum-pagination-item-inline-spacing:6px;
-
- --spectrum-dial-border-radius:20px;
- --spectrum-dial-handle-position:10px;
- --spectrum-dial-handle-block-margin:20px;
- --spectrum-dial-handle-inline-margin:20px;
- --spectrum-dial-controls-margin:10px;
- --spectrum-dial-label-gap-y:6px;
- --spectrum-dial-label-container-top-to-text:5px;
-
- --spectrum-assetcard-focus-ring-border-radius:9px;
- --spectrum-assetcard-selectionindicator-margin:15px;
- --spectrum-assetcard-title-font-size:var(--spectrum-heading-size-xxs);
- --spectrum-assetcard-header-content-font-size:var(--spectrum-heading-size-xxs);
- --spectrum-assetcard-content-font-size:var(--spectrum-body-size-xs);
-
- --spectrum-tooltip-animation-distance:5px;
-
- --spectrum-ui-icon-medium-display:none;
- --spectrum-ui-icon-large-display:block;
-}
-
-.spectrum--light,.spectrum--lightest{
- --spectrum-menu-item-background-color-default-rgb:0, 0, 0;
- --spectrum-menu-item-background-color-default-opacity:0;
- --spectrum-menu-item-background-color-default:rgba(var(--spectrum-menu-item-background-color-default-rgb), var(--spectrum-menu-item-background-color-default-opacity));
- --spectrum-menu-item-background-color-hover:var(--spectrum-transparent-black-200);
- --spectrum-menu-item-background-color-down:var(--spectrum-transparent-black-200);
- --spectrum-menu-item-background-color-key-focus:var(--spectrum-transparent-black-200);
- --spectrum-drop-zone-background-color-rgb:var(--spectrum-blue-800-rgb);
- --spectrum-dropindicator-color:var(--spectrum-blue-800);
-
- --spectrum-calendar-day-background-color-selected:rgba(var(--spectrum-blue-900-rgb), 0.1);
- --spectrum-calendar-day-background-color-hover:rgba(var(--spectrum-black-rgb), 0.06);
- --spectrum-calendar-day-today-background-color-selected-hover:rgba(var(--spectrum-blue-900-rgb), 0.2);
- --spectrum-calendar-day-background-color-selected-hover:rgba(var(--spectrum-blue-900-rgb), 0.2);
- --spectrum-calendar-day-background-color-down:var(--spectrum-transparent-black-200);
- --spectrum-calendar-day-background-color-cap-selected:rgba(var(--spectrum-blue-900-rgb), 0.2);
- --spectrum-calendar-day-background-color-key-focus:rgba(var(--spectrum-black-rgb), 0.06);
- --spectrum-calendar-day-border-color-key-focus:var(--spectrum-blue-800);
-
- --spectrum-card-selected-background-color-rgb:var(--spectrum-blue-900-rgb);
-
- --spectrum-badge-label-icon-color-primary:var(--spectrum-white);
-
- --spectrum-coach-indicator-ring-default-color:var(--spectrum-blue-800);
- --spectrum-coach-indicator-ring-dark-color:var(--spectrum-gray-900);
- --spectrum-coach-indicator-ring-light-color:var(--spectrum-gray-50);
-
- --spectrum-well-border-color:var(--spectrum-black);
-
- --spectrum-steplist-current-marker-color-key-focus:var(--spectrum-blue-800);
-
- --spectrum-treeview-item-background-color-quiet-selected:rgba(var(--spectrum-gray-900-rgb), 0.06);
- --spectrum-treeview-item-background-color-selected:rgba(var(--spectrum-blue-900-rgb), 0.1);
-
- --spectrum-logic-button-and-background-color:var(--spectrum-blue-900);
- --spectrum-logic-button-and-border-color:var(--spectrum-blue-900);
- --spectrum-logic-button-and-background-color-hover:var(--spectrum-blue-1100);
- --spectrum-logic-button-and-border-color-hover:var(--spectrum-blue-1100);
-
- --spectrum-logic-button-or-background-color:var(--spectrum-magenta-900);
- --spectrum-logic-button-or-border-color:var(--spectrum-magenta-900);
- --spectrum-logic-button-or-background-color-hover:var(--spectrum-magenta-1100);
- --spectrum-logic-button-or-border-color-hover:var(--spectrum-magenta-1100);
-
- --spectrum-assetcard-border-color-selected:var(--spectrum-blue-900);
- --spectrum-assetcard-border-color-selected-hover:var(--spectrum-blue-900);
- --spectrum-assetcard-border-color-selected-down:var(--spectrum-blue-1000);
- --spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-blue-900);
- --spectrum-assestcard-focus-indicator-color:var(--spectrum-blue-800);
-
- --spectrum-assetlist-item-background-color-selected-hover:rgba(var(--spectrum-blue-900-rgb), 0.2);
- --spectrum-assetlist-item-background-color-selected:rgba(var(--spectrum-blue-900-rgb), 0.1);
- --spectrum-assetlist-border-color-key-focus:var(--spectrum-blue-800);
-
- --spectrum-swatch-border-color-rgb:0, 0, 0;
-
- --spectrum-swatch-border-color-opacity:0.51;
-
- --spectrum-swatch-border-color:rgba(var(--spectrum-swatch-border-color-rgb), var(--spectrum-swatch-border-color-opacity));
- --spectrum-swatch-border-color-light-rgb:0, 0, 0;
- --spectrum-swatch-border-color-light-opacity:0.2;
- --spectrum-swatch-border-color-light:rgba(var(--spectrum-swatch-border-color-light-rgb), var(--spectrum-swatch-border-color-light-opacity));
-}
-
-.spectrum--medium{
- --spectrum-checkbox-control-size-small:12px;
- --spectrum-checkbox-control-size-medium:14px;
- --spectrum-checkbox-control-size-large:16px;
- --spectrum-checkbox-control-size-extra-large:18px;
- --spectrum-checkbox-top-to-control-small:6px;
- --spectrum-checkbox-top-to-control-medium:9px;
- --spectrum-checkbox-top-to-control-large:12px;
- --spectrum-checkbox-top-to-control-extra-large:15px;
- --spectrum-switch-control-width-small:23px;
- --spectrum-switch-control-width-medium:26px;
- --spectrum-switch-control-width-large:29px;
- --spectrum-switch-control-width-extra-large:33px;
- --spectrum-switch-control-height-small:12px;
- --spectrum-switch-control-height-medium:14px;
- --spectrum-switch-control-height-large:16px;
- --spectrum-switch-control-height-extra-large:18px;
- --spectrum-switch-top-to-control-small:6px;
- --spectrum-switch-top-to-control-medium:9px;
- --spectrum-switch-top-to-control-large:12px;
- --spectrum-switch-top-to-control-extra-large:15px;
- --spectrum-radio-button-control-size-small:12px;
- --spectrum-radio-button-control-size-medium:14px;
- --spectrum-radio-button-control-size-large:16px;
- --spectrum-radio-button-control-size-extra-large:18px;
- --spectrum-radio-button-top-to-control-small:6px;
- --spectrum-radio-button-top-to-control-medium:9px;
- --spectrum-radio-button-top-to-control-large:12px;
- --spectrum-radio-button-top-to-control-extra-large:15px;
- --spectrum-slider-control-height-small:14px;
- --spectrum-slider-control-height-medium:16px;
- --spectrum-slider-control-height-large:18px;
- --spectrum-slider-control-height-extra-large:20px;
- --spectrum-slider-handle-size-small:14px;
- --spectrum-slider-handle-size-medium:16px;
- --spectrum-slider-handle-size-large:18px;
- --spectrum-slider-handle-size-extra-large:20px;
- --spectrum-slider-handle-border-width-down-small:5px;
- --spectrum-slider-handle-border-width-down-medium:6px;
- --spectrum-slider-handle-border-width-down-large:7px;
- --spectrum-slider-handle-border-width-down-extra-large:8px;
- --spectrum-slider-bottom-to-handle-small:5px;
- --spectrum-slider-bottom-to-handle-medium:8px;
- --spectrum-slider-bottom-to-handle-large:11px;
- --spectrum-slider-bottom-to-handle-extra-large:14px;
- --spectrum-corner-radius-100:4px;
- --spectrum-corner-radius-200:8px;
- --spectrum-drop-shadow-y:1px;
- --spectrum-drop-shadow-blur:4px;
- --spectrum-slider-tick-mark-height:10px;
- --spectrum-slider-ramp-track-height:16px;
-
- --spectrum-colorwheel-path:"M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0";
- --spectrum-colorwheel-path-borders:"M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";
- --spectrum-colorwheel-colorarea-container-size:144px;
-
- --spectrum-colorloupe-checkerboard-fill:url(#checkerboard-primary);
-
- --spectrum-contextual-help-content-spacing:var(--spectrum-spacing-100);
-
- --spectrum-menu-item-selectable-edge-to-text-not-selected-small:28px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-medium:32px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-large:38px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large:45px;
-
- --spectrum-menu-item-checkmark-height-small:10px;
- --spectrum-menu-item-checkmark-height-medium:10px;
- --spectrum-menu-item-checkmark-height-large:12px;
- --spectrum-menu-item-checkmark-height-extra-large:14px;
-
- --spectrum-menu-item-checkmark-width-small:10px;
- --spectrum-menu-item-checkmark-width-medium:10px;
- --spectrum-menu-item-checkmark-width-large:12px;
- --spectrum-menu-item-checkmark-width-extra-large:14px;
-
- --spectrum-rating-icon-spacing:var(--spectrum-spacing-75);
-
- --spectrum-button-top-to-text-small:5px;
- --spectrum-button-bottom-to-text-small:4px;
- --spectrum-button-top-to-text-medium:7px;
- --spectrum-button-bottom-to-text-medium:8px;
- --spectrum-button-top-to-text-large:10px;
- --spectrum-button-bottom-to-text-large:10px;
- --spectrum-button-top-to-text-extra-large:13px;
- --spectrum-button-bottom-to-text-extra-large:13px;
-
- --spectrum-alert-banner-close-button-spacing:var(--spectrum-spacing-100);
- --spectrum-alert-banner-edge-to-divider:var(--spectrum-spacing-100);
- --spectrum-alert-banner-edge-to-button:var(--spectrum-spacing-100);
- --spectrum-alert-banner-text-to-button-vertical:var(--spectrum-spacing-100);
-
- --spectrum-alert-dialog-padding:var(--spectrum-spacing-500);
- --spectrum-alert-dialog-description-to-buttons:var(--spectrum-spacing-700);
-
- --spectrum-coach-indicator-gap:6px;
- --spectrum-coach-indicator-ring-diameter:var(--spectrum-spacing-300);
- --spectrum-coach-indicator-quiet-ring-diameter:var(--spectrum-spacing-100);
-
- --spectrum-coachmark-buttongroup-display:flex;
- --spectrum-coachmark-buttongroup-mobile-display:none;
- --spectrum-coachmark-menu-display:inline-flex;
- --spectrum-coachmark-menu-mobile-display:none;
- --spectrum-well-padding:var(--spectrum-spacing-300);
- --spectrum-well-margin-top:var(--spectrum-spacing-75);
- --spectrum-well-min-width:240px;
- --spectrum-well-border-radius:var(--spectrum-spacing-75);
- --spectrum-workflow-icon-size-xxl:32px;
- --spectrum-workflow-icon-size-xxs:12px;
-
- --spectrum-treeview-item-indentation-medium:var(--spectrum-spacing-300);
- --spectrum-treeview-item-indentation-small:var(--spectrum-spacing-200);
- --spectrum-treeview-item-indentation-large:20px;
- --spectrum-treeview-item-indentation-extra-large:var(--spectrum-spacing-400);
- --spectrum-treeview-indicator-inset-block-start:5px;
- --spectrum-treeview-item-min-block-size-thumbnail-offset-medium:0px;
-
- --spectrum-dialog-confirm-entry-animation-distance:20px;
- --spectrum-dialog-confirm-hero-height:128px;
- --spectrum-dialog-confirm-border-radius:4px;
- --spectrum-dialog-confirm-title-text-size:18px;
- --spectrum-dialog-confirm-description-text-size:14px;
- --spectrum-dialog-confirm-padding-grid:40px;
-
- --spectrum-datepicker-initial-width:128px;
- --spectrum-datepicker-generic-padding:var(--spectrum-spacing-200);
- --spectrum-datepicker-dash-line-height:24px;
- --spectrum-datepicker-width-quiet-first:72px;
- --spectrum-datepicker-width-quiet-second:16px;
- --spectrum-datepicker-datetime-width-first:36px;
- --spectrum-datepicker-invalid-icon-to-button:8px;
- --spectrum-datepicker-invalid-icon-to-button-quiet:7px;
- --spectrum-datepicker-input-datetime-width:var(--spectrum-spacing-400);
-
- --spectrum-pagination-textfield-width:var(--spectrum-spacing-700);
- --spectrum-pagination-item-inline-spacing:5px;
-
- --spectrum-dial-border-radius:16px;
- --spectrum-dial-handle-position:8px;
- --spectrum-dial-handle-block-margin:16px;
- --spectrum-dial-handle-inline-margin:16px;
- --spectrum-dial-controls-margin:8px;
- --spectrum-dial-label-gap-y:5px;
- --spectrum-dial-label-container-top-to-text:4px;
-
- --spectrum-assetcard-focus-ring-border-radius:8px;
- --spectrum-assetcard-selectionindicator-margin:12px;
- --spectrum-assetcard-title-font-size:var(--spectrum-heading-size-xs);
- --spectrum-assetcard-header-content-font-size:var(--spectrum-heading-size-xs);
- --spectrum-assetcard-content-font-size:var(--spectrum-body-size-s);
-
- --spectrum-tooltip-animation-distance:var(--spectrum-spacing-75);
-
- --spectrum-ui-icon-medium-display:block;
- --spectrum-ui-icon-large-display:none;
-}
diff --git a/tokens/dist/css/spectrum/large-vars.css b/tokens/dist/css/spectrum/large-vars.css
deleted file mode 100644
index 8938d608258..00000000000
--- a/tokens/dist/css/spectrum/large-vars.css
+++ /dev/null
@@ -1,169 +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.
- */
-
-.spectrum--large{
- --spectrum-checkbox-control-size-small:16px;
- --spectrum-checkbox-control-size-medium:18px;
- --spectrum-checkbox-control-size-large:20px;
- --spectrum-checkbox-control-size-extra-large:22px;
- --spectrum-checkbox-top-to-control-small:7px;
- --spectrum-checkbox-top-to-control-medium:11px;
- --spectrum-checkbox-top-to-control-large:15px;
- --spectrum-checkbox-top-to-control-extra-large:19px;
- --spectrum-switch-control-width-small:32px;
- --spectrum-switch-control-width-medium:36px;
- --spectrum-switch-control-width-large:41px;
- --spectrum-switch-control-width-extra-large:46px;
- --spectrum-switch-control-height-small:16px;
- --spectrum-switch-control-height-medium:18px;
- --spectrum-switch-control-height-large:20px;
- --spectrum-switch-control-height-extra-large:22px;
- --spectrum-switch-top-to-control-small:7px;
- --spectrum-switch-top-to-control-medium:11px;
- --spectrum-switch-top-to-control-large:15px;
- --spectrum-switch-top-to-control-extra-large:19px;
- --spectrum-radio-button-control-size-small:16px;
- --spectrum-radio-button-control-size-medium:18px;
- --spectrum-radio-button-control-size-large:20px;
- --spectrum-radio-button-control-size-extra-large:22px;
- --spectrum-radio-button-top-to-control-small:7px;
- --spectrum-radio-button-top-to-control-medium:11px;
- --spectrum-radio-button-top-to-control-large:15px;
- --spectrum-radio-button-top-to-control-extra-large:19px;
- --spectrum-slider-control-height-small:18px;
- --spectrum-slider-control-height-medium:20px;
- --spectrum-slider-control-height-large:22px;
- --spectrum-slider-control-height-extra-large:26px;
- --spectrum-slider-handle-size-small:18px;
- --spectrum-slider-handle-size-medium:20px;
- --spectrum-slider-handle-size-large:22px;
- --spectrum-slider-handle-size-extra-large:26px;
- --spectrum-slider-handle-border-width-down-small:7px;
- --spectrum-slider-handle-border-width-down-medium:8px;
- --spectrum-slider-handle-border-width-down-large:9px;
- --spectrum-slider-handle-border-width-down-extra-large:11px;
- --spectrum-slider-bottom-to-handle-small:6px;
- --spectrum-slider-bottom-to-handle-medium:10px;
- --spectrum-slider-bottom-to-handle-large:14px;
- --spectrum-slider-bottom-to-handle-extra-large:17px;
- --spectrum-corner-radius-100:5px;
- --spectrum-corner-radius-200:10px;
- --spectrum-drop-shadow-y:2px;
- --spectrum-drop-shadow-blur:6px;
- --spectrum-slider-tick-mark-height:13px;
- --spectrum-slider-ramp-track-height:20px;
-
- --spectrum-colorwheel-path:"M 119 119 m -119 0 a 119 119 0 1 0 238 0 a 119 119 0 1 0 -238 0.2 M 119 119 m -91 0 a 91 91 0 1 0 182 0 a 91 91 0 1 0 -182 0";
- --spectrum-colorwheel-path-borders:"M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0";
- --spectrum-colorwheel-colorarea-container-size:182px;
-
- --spectrum-colorloupe-checkerboard-fill:url(#checkerboard-secondary);
-
- --spectrum-contextual-help-content-spacing:var(--spectrum-spacing-200);
-
- --spectrum-menu-item-selectable-edge-to-text-not-selected-small:34px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-medium:42px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-large:47px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large:54px;
-
- --spectrum-menu-item-checkmark-height-small:12px;
- --spectrum-menu-item-checkmark-height-medium:14px;
- --spectrum-menu-item-checkmark-height-large:16px;
- --spectrum-menu-item-checkmark-height-extra-large:16px;
-
- --spectrum-menu-item-checkmark-width-small:12px;
- --spectrum-menu-item-checkmark-width-medium:14px;
- --spectrum-menu-item-checkmark-width-large:16px;
- --spectrum-menu-item-checkmark-width-extra-large:16px;
-
- --spectrum-rating-icon-spacing:var(--spectrum-spacing-100);
-
- --spectrum-button-top-to-text-small:6px;
- --spectrum-button-bottom-to-text-small:5px;
- --spectrum-button-top-to-text-medium:9px;
- --spectrum-button-bottom-to-text-medium:10px;
- --spectrum-button-top-to-text-large:12px;
- --spectrum-button-bottom-to-text-large:13px;
- --spectrum-button-top-to-text-extra-large:16px;
- --spectrum-button-bottom-to-text-extra-large:17px;
-
- --spectrum-alert-banner-close-button-spacing:var(--spectrum-spacing-200);
- --spectrum-alert-banner-edge-to-divider:var(--spectrum-spacing-200);
- --spectrum-alert-banner-edge-to-button:var(--spectrum-spacing-200);
- --spectrum-alert-banner-text-to-button-vertical:var(--spectrum-spacing-200);
-
- --spectrum-alert-dialog-padding:var(--spectrum-spacing-400);
- --spectrum-alert-dialog-description-to-buttons:var(--spectrum-spacing-600);
-
- --spectrum-coach-indicator-gap:8px;
- --spectrum-coach-indicator-ring-diameter:20px;
- --spectrum-coach-indicator-quiet-ring-diameter:10px;
-
- --spectrum-coachmark-buttongroup-display:none;
- --spectrum-coachmark-buttongroup-mobile-display:flex;
- --spectrum-coachmark-menu-display:none;
- --spectrum-coachmark-menu-mobile-display:inline-flex;
-
- --spectrum-well-padding:20px;
- --spectrum-well-margin-top:5px;
- --spectrum-well-min-width:300px;
- --spectrum-well-border-radius:5px;
- --spectrum-workflow-icon-size-xxl:40px;
- --spectrum-workflow-icon-size-xxs:15px;
-
- --spectrum-treeview-item-indentation-medium:20px;
- --spectrum-treeview-item-indentation-small:15px;
- --spectrum-treeview-item-indentation-large:25px;
- --spectrum-treeview-item-indentation-extra-large:30px;
- --spectrum-treeview-indicator-inset-block-start:6px;
- --spectrum-treeview-item-min-block-size-thumbnail-offset-medium:2px;
-
- --spectrum-dialog-confirm-entry-animation-distance:25px;
- --spectrum-dialog-confirm-hero-height:160px;
- --spectrum-dialog-confirm-border-radius:5px;
- --spectrum-dialog-confirm-title-text-size:19px;
- --spectrum-dialog-confirm-description-text-size:15px;
- --spectrum-dialog-confirm-padding-grid:24px;
-
- --spectrum-datepicker-initial-width:160px;
- --spectrum-datepicker-generic-padding:15px;
- --spectrum-datepicker-dash-line-height:30px;
- --spectrum-datepicker-width-quiet-first:90px;
- --spectrum-datepicker-width-quiet-second:20px;
- --spectrum-datepicker-datetime-width-first:45px;
- --spectrum-datepicker-invalid-icon-to-button:10px;
- --spectrum-datepicker-invalid-icon-to-button-quiet:9px;
- --spectrum-datepicker-input-datetime-width:30px;
-
- --spectrum-pagination-textfield-width:60px;
- --spectrum-pagination-item-inline-spacing:6px;
-
- --spectrum-dial-border-radius:20px;
- --spectrum-dial-handle-position:10px;
- --spectrum-dial-handle-block-margin:20px;
- --spectrum-dial-handle-inline-margin:20px;
- --spectrum-dial-controls-margin:10px;
- --spectrum-dial-label-gap-y:6px;
- --spectrum-dial-label-container-top-to-text:5px;
-
- --spectrum-assetcard-focus-ring-border-radius:9px;
- --spectrum-assetcard-selectionindicator-margin:15px;
- --spectrum-assetcard-title-font-size:var(--spectrum-heading-size-xxs);
- --spectrum-assetcard-header-content-font-size:var(--spectrum-heading-size-xxs);
- --spectrum-assetcard-content-font-size:var(--spectrum-body-size-xs);
-
- --spectrum-tooltip-animation-distance:5px;
-
- --spectrum-ui-icon-medium-display:none;
- --spectrum-ui-icon-large-display:block;
-}
diff --git a/tokens/dist/css/spectrum/light-vars.css b/tokens/dist/css/spectrum/light-vars.css
deleted file mode 100644
index 26da0b8bd9a..00000000000
--- a/tokens/dist/css/spectrum/light-vars.css
+++ /dev/null
@@ -1,76 +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.
- */
-
-.spectrum--light,.spectrum--lightest{
- --spectrum-menu-item-background-color-default-rgb:0, 0, 0;
- --spectrum-menu-item-background-color-default-opacity:0;
- --spectrum-menu-item-background-color-default:rgba(var(--spectrum-menu-item-background-color-default-rgb), var(--spectrum-menu-item-background-color-default-opacity));
- --spectrum-menu-item-background-color-hover:var(--spectrum-transparent-black-200);
- --spectrum-menu-item-background-color-down:var(--spectrum-transparent-black-200);
- --spectrum-menu-item-background-color-key-focus:var(--spectrum-transparent-black-200);
- --spectrum-drop-zone-background-color-rgb:var(--spectrum-blue-800-rgb);
- --spectrum-dropindicator-color:var(--spectrum-blue-800);
-
- --spectrum-calendar-day-background-color-selected:rgba(var(--spectrum-blue-900-rgb), 0.1);
- --spectrum-calendar-day-background-color-hover:rgba(var(--spectrum-black-rgb), 0.06);
- --spectrum-calendar-day-today-background-color-selected-hover:rgba(var(--spectrum-blue-900-rgb), 0.2);
- --spectrum-calendar-day-background-color-selected-hover:rgba(var(--spectrum-blue-900-rgb), 0.2);
- --spectrum-calendar-day-background-color-down:var(--spectrum-transparent-black-200);
- --spectrum-calendar-day-background-color-cap-selected:rgba(var(--spectrum-blue-900-rgb), 0.2);
- --spectrum-calendar-day-background-color-key-focus:rgba(var(--spectrum-black-rgb), 0.06);
- --spectrum-calendar-day-border-color-key-focus:var(--spectrum-blue-800);
-
- --spectrum-card-selected-background-color-rgb:var(--spectrum-blue-900-rgb);
-
- --spectrum-badge-label-icon-color-primary:var(--spectrum-white);
-
- --spectrum-coach-indicator-ring-default-color:var(--spectrum-blue-800);
- --spectrum-coach-indicator-ring-dark-color:var(--spectrum-gray-900);
- --spectrum-coach-indicator-ring-light-color:var(--spectrum-gray-50);
-
- --spectrum-well-border-color:var(--spectrum-black);
-
- --spectrum-steplist-current-marker-color-key-focus:var(--spectrum-blue-800);
-
- --spectrum-treeview-item-background-color-quiet-selected:rgba(var(--spectrum-gray-900-rgb), 0.06);
- --spectrum-treeview-item-background-color-selected:rgba(var(--spectrum-blue-900-rgb), 0.1);
-
- --spectrum-logic-button-and-background-color:var(--spectrum-blue-900);
- --spectrum-logic-button-and-border-color:var(--spectrum-blue-900);
- --spectrum-logic-button-and-background-color-hover:var(--spectrum-blue-1100);
- --spectrum-logic-button-and-border-color-hover:var(--spectrum-blue-1100);
-
- --spectrum-logic-button-or-background-color:var(--spectrum-magenta-900);
- --spectrum-logic-button-or-border-color:var(--spectrum-magenta-900);
- --spectrum-logic-button-or-background-color-hover:var(--spectrum-magenta-1100);
- --spectrum-logic-button-or-border-color-hover:var(--spectrum-magenta-1100);
-
- --spectrum-assetcard-border-color-selected:var(--spectrum-blue-900);
- --spectrum-assetcard-border-color-selected-hover:var(--spectrum-blue-900);
- --spectrum-assetcard-border-color-selected-down:var(--spectrum-blue-1000);
- --spectrum-assetcard-selectionindicator-background-color-ordered:var(--spectrum-blue-900);
- --spectrum-assestcard-focus-indicator-color:var(--spectrum-blue-800);
-
- --spectrum-assetlist-item-background-color-selected-hover:rgba(var(--spectrum-blue-900-rgb), 0.2);
- --spectrum-assetlist-item-background-color-selected:rgba(var(--spectrum-blue-900-rgb), 0.1);
- --spectrum-assetlist-border-color-key-focus:var(--spectrum-blue-800);
-
- --spectrum-swatch-border-color-rgb:0, 0, 0;
-
- --spectrum-swatch-border-color-opacity:0.51;
-
- --spectrum-swatch-border-color:rgba(var(--spectrum-swatch-border-color-rgb), var(--spectrum-swatch-border-color-opacity));
- --spectrum-swatch-border-color-light-rgb:0, 0, 0;
- --spectrum-swatch-border-color-light-opacity:0.2;
- --spectrum-swatch-border-color-light:rgba(var(--spectrum-swatch-border-color-light-rgb), var(--spectrum-swatch-border-color-light-opacity));
-}
diff --git a/tokens/dist/css/spectrum/medium-vars.css b/tokens/dist/css/spectrum/medium-vars.css
deleted file mode 100644
index 4f5e99009c8..00000000000
--- a/tokens/dist/css/spectrum/medium-vars.css
+++ /dev/null
@@ -1,168 +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.
- */
-
-.spectrum--medium{
- --spectrum-checkbox-control-size-small:12px;
- --spectrum-checkbox-control-size-medium:14px;
- --spectrum-checkbox-control-size-large:16px;
- --spectrum-checkbox-control-size-extra-large:18px;
- --spectrum-checkbox-top-to-control-small:6px;
- --spectrum-checkbox-top-to-control-medium:9px;
- --spectrum-checkbox-top-to-control-large:12px;
- --spectrum-checkbox-top-to-control-extra-large:15px;
- --spectrum-switch-control-width-small:23px;
- --spectrum-switch-control-width-medium:26px;
- --spectrum-switch-control-width-large:29px;
- --spectrum-switch-control-width-extra-large:33px;
- --spectrum-switch-control-height-small:12px;
- --spectrum-switch-control-height-medium:14px;
- --spectrum-switch-control-height-large:16px;
- --spectrum-switch-control-height-extra-large:18px;
- --spectrum-switch-top-to-control-small:6px;
- --spectrum-switch-top-to-control-medium:9px;
- --spectrum-switch-top-to-control-large:12px;
- --spectrum-switch-top-to-control-extra-large:15px;
- --spectrum-radio-button-control-size-small:12px;
- --spectrum-radio-button-control-size-medium:14px;
- --spectrum-radio-button-control-size-large:16px;
- --spectrum-radio-button-control-size-extra-large:18px;
- --spectrum-radio-button-top-to-control-small:6px;
- --spectrum-radio-button-top-to-control-medium:9px;
- --spectrum-radio-button-top-to-control-large:12px;
- --spectrum-radio-button-top-to-control-extra-large:15px;
- --spectrum-slider-control-height-small:14px;
- --spectrum-slider-control-height-medium:16px;
- --spectrum-slider-control-height-large:18px;
- --spectrum-slider-control-height-extra-large:20px;
- --spectrum-slider-handle-size-small:14px;
- --spectrum-slider-handle-size-medium:16px;
- --spectrum-slider-handle-size-large:18px;
- --spectrum-slider-handle-size-extra-large:20px;
- --spectrum-slider-handle-border-width-down-small:5px;
- --spectrum-slider-handle-border-width-down-medium:6px;
- --spectrum-slider-handle-border-width-down-large:7px;
- --spectrum-slider-handle-border-width-down-extra-large:8px;
- --spectrum-slider-bottom-to-handle-small:5px;
- --spectrum-slider-bottom-to-handle-medium:8px;
- --spectrum-slider-bottom-to-handle-large:11px;
- --spectrum-slider-bottom-to-handle-extra-large:14px;
- --spectrum-corner-radius-100:4px;
- --spectrum-corner-radius-200:8px;
- --spectrum-drop-shadow-y:1px;
- --spectrum-drop-shadow-blur:4px;
- --spectrum-slider-tick-mark-height:10px;
- --spectrum-slider-ramp-track-height:16px;
-
- --spectrum-colorwheel-path:"M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0";
- --spectrum-colorwheel-path-borders:"M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";
- --spectrum-colorwheel-colorarea-container-size:144px;
-
- --spectrum-colorloupe-checkerboard-fill:url(#checkerboard-primary);
-
- --spectrum-contextual-help-content-spacing:var(--spectrum-spacing-100);
-
- --spectrum-menu-item-selectable-edge-to-text-not-selected-small:28px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-medium:32px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-large:38px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large:45px;
-
- --spectrum-menu-item-checkmark-height-small:10px;
- --spectrum-menu-item-checkmark-height-medium:10px;
- --spectrum-menu-item-checkmark-height-large:12px;
- --spectrum-menu-item-checkmark-height-extra-large:14px;
-
- --spectrum-menu-item-checkmark-width-small:10px;
- --spectrum-menu-item-checkmark-width-medium:10px;
- --spectrum-menu-item-checkmark-width-large:12px;
- --spectrum-menu-item-checkmark-width-extra-large:14px;
-
- --spectrum-rating-icon-spacing:var(--spectrum-spacing-75);
-
- --spectrum-button-top-to-text-small:5px;
- --spectrum-button-bottom-to-text-small:4px;
- --spectrum-button-top-to-text-medium:7px;
- --spectrum-button-bottom-to-text-medium:8px;
- --spectrum-button-top-to-text-large:10px;
- --spectrum-button-bottom-to-text-large:10px;
- --spectrum-button-top-to-text-extra-large:13px;
- --spectrum-button-bottom-to-text-extra-large:13px;
-
- --spectrum-alert-banner-close-button-spacing:var(--spectrum-spacing-100);
- --spectrum-alert-banner-edge-to-divider:var(--spectrum-spacing-100);
- --spectrum-alert-banner-edge-to-button:var(--spectrum-spacing-100);
- --spectrum-alert-banner-text-to-button-vertical:var(--spectrum-spacing-100);
-
- --spectrum-alert-dialog-padding:var(--spectrum-spacing-500);
- --spectrum-alert-dialog-description-to-buttons:var(--spectrum-spacing-700);
-
- --spectrum-coach-indicator-gap:6px;
- --spectrum-coach-indicator-ring-diameter:var(--spectrum-spacing-300);
- --spectrum-coach-indicator-quiet-ring-diameter:var(--spectrum-spacing-100);
-
- --spectrum-coachmark-buttongroup-display:flex;
- --spectrum-coachmark-buttongroup-mobile-display:none;
- --spectrum-coachmark-menu-display:inline-flex;
- --spectrum-coachmark-menu-mobile-display:none;
- --spectrum-well-padding:var(--spectrum-spacing-300);
- --spectrum-well-margin-top:var(--spectrum-spacing-75);
- --spectrum-well-min-width:240px;
- --spectrum-well-border-radius:var(--spectrum-spacing-75);
- --spectrum-workflow-icon-size-xxl:32px;
- --spectrum-workflow-icon-size-xxs:12px;
-
- --spectrum-treeview-item-indentation-medium:var(--spectrum-spacing-300);
- --spectrum-treeview-item-indentation-small:var(--spectrum-spacing-200);
- --spectrum-treeview-item-indentation-large:20px;
- --spectrum-treeview-item-indentation-extra-large:var(--spectrum-spacing-400);
- --spectrum-treeview-indicator-inset-block-start:5px;
- --spectrum-treeview-item-min-block-size-thumbnail-offset-medium:0px;
-
- --spectrum-dialog-confirm-entry-animation-distance:20px;
- --spectrum-dialog-confirm-hero-height:128px;
- --spectrum-dialog-confirm-border-radius:4px;
- --spectrum-dialog-confirm-title-text-size:18px;
- --spectrum-dialog-confirm-description-text-size:14px;
- --spectrum-dialog-confirm-padding-grid:40px;
-
- --spectrum-datepicker-initial-width:128px;
- --spectrum-datepicker-generic-padding:var(--spectrum-spacing-200);
- --spectrum-datepicker-dash-line-height:24px;
- --spectrum-datepicker-width-quiet-first:72px;
- --spectrum-datepicker-width-quiet-second:16px;
- --spectrum-datepicker-datetime-width-first:36px;
- --spectrum-datepicker-invalid-icon-to-button:8px;
- --spectrum-datepicker-invalid-icon-to-button-quiet:7px;
- --spectrum-datepicker-input-datetime-width:var(--spectrum-spacing-400);
-
- --spectrum-pagination-textfield-width:var(--spectrum-spacing-700);
- --spectrum-pagination-item-inline-spacing:5px;
-
- --spectrum-dial-border-radius:16px;
- --spectrum-dial-handle-position:8px;
- --spectrum-dial-handle-block-margin:16px;
- --spectrum-dial-handle-inline-margin:16px;
- --spectrum-dial-controls-margin:8px;
- --spectrum-dial-label-gap-y:5px;
- --spectrum-dial-label-container-top-to-text:4px;
-
- --spectrum-assetcard-focus-ring-border-radius:8px;
- --spectrum-assetcard-selectionindicator-margin:12px;
- --spectrum-assetcard-title-font-size:var(--spectrum-heading-size-xs);
- --spectrum-assetcard-header-content-font-size:var(--spectrum-heading-size-xs);
- --spectrum-assetcard-content-font-size:var(--spectrum-body-size-s);
-
- --spectrum-tooltip-animation-distance:var(--spectrum-spacing-75);
-
- --spectrum-ui-icon-medium-display:block;
- --spectrum-ui-icon-large-display:none;
-}
diff --git a/tokens/dist/index.css b/tokens/dist/index.css
deleted file mode 100644
index cb07bad1335..00000000000
--- a/tokens/dist/index.css
+++ /dev/null
@@ -1,3712 +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.
- */
-
-.spectrum--dark {
- --spectrum-overlay-opacity: 0.5;
- --spectrum-drop-shadow-color-rgb: 0, 0, 0;
- --spectrum-drop-shadow-color-opacity: 0.5;
- --spectrum-drop-shadow-color: rgba(var(--spectrum-drop-shadow-color-rgb), var(--spectrum-drop-shadow-color-opacity));
- --spectrum-background-base-color: var(--spectrum-gray-50);
- --spectrum-background-layer-1-color: var(--spectrum-gray-75);
- --spectrum-background-layer-2-color: var(--spectrum-gray-100);
- --spectrum-neutral-background-color-default: var(--spectrum-gray-400);
- --spectrum-neutral-background-color-hover: var(--spectrum-gray-300);
- --spectrum-neutral-background-color-down: var(--spectrum-gray-200);
- --spectrum-neutral-background-color-key-focus: var(--spectrum-gray-300);
- --spectrum-neutral-subdued-background-color-default: var(--spectrum-gray-400);
- --spectrum-neutral-subdued-background-color-hover: var(--spectrum-gray-300);
- --spectrum-neutral-subdued-background-color-down: var(--spectrum-gray-200);
- --spectrum-neutral-subdued-background-color-key-focus: var(--spectrum-gray-300);
- --spectrum-accent-background-color-default: var(--spectrum-accent-color-500);
- --spectrum-accent-background-color-hover: var(--spectrum-accent-color-400);
- --spectrum-accent-background-color-down: var(--spectrum-accent-color-300);
- --spectrum-accent-background-color-key-focus: var(--spectrum-accent-color-400);
- --spectrum-informative-background-color-default: var(--spectrum-informative-color-500);
- --spectrum-informative-background-color-hover: var(--spectrum-informative-color-400);
- --spectrum-informative-background-color-down: var(--spectrum-informative-color-300);
- --spectrum-informative-background-color-key-focus: var(--spectrum-informative-color-400);
- --spectrum-negative-background-color-default: var(--spectrum-negative-color-500);
- --spectrum-negative-background-color-hover: var(--spectrum-negative-color-400);
- --spectrum-negative-background-color-down: var(--spectrum-negative-color-300);
- --spectrum-negative-background-color-key-focus: var(--spectrum-negative-color-400);
- --spectrum-positive-background-color-default: var(--spectrum-positive-color-500);
- --spectrum-positive-background-color-hover: var(--spectrum-positive-color-400);
- --spectrum-positive-background-color-down: var(--spectrum-positive-color-300);
- --spectrum-positive-background-color-key-focus: var(--spectrum-positive-color-400);
- --spectrum-notice-background-color-default: var(--spectrum-notice-color-800);
- --spectrum-gray-background-color-default: var(--spectrum-gray-700);
- --spectrum-red-background-color-default: var(--spectrum-red-700);
- --spectrum-orange-background-color-default: var(--spectrum-orange-800);
- --spectrum-yellow-background-color-default: var(--spectrum-yellow-1000);
- --spectrum-chartreuse-background-color-default: var(--spectrum-chartreuse-900);
- --spectrum-celery-background-color-default: var(--spectrum-celery-800);
- --spectrum-green-background-color-default: var(--spectrum-green-700);
- --spectrum-seafoam-background-color-default: var(--spectrum-seafoam-700);
- --spectrum-cyan-background-color-default: var(--spectrum-cyan-700);
- --spectrum-blue-background-color-default: var(--spectrum-blue-700);
- --spectrum-indigo-background-color-default: var(--spectrum-indigo-700);
- --spectrum-purple-background-color-default: var(--spectrum-purple-700);
- --spectrum-fuchsia-background-color-default: var(--spectrum-fuchsia-700);
- --spectrum-magenta-background-color-default: var(--spectrum-magenta-700);
- --spectrum-neutral-visual-color: var(--spectrum-gray-600);
- --spectrum-accent-visual-color: var(--spectrum-accent-color-900);
- --spectrum-informative-visual-color: var(--spectrum-informative-color-900);
- --spectrum-negative-visual-color: var(--spectrum-negative-color-700);
- --spectrum-notice-visual-color: var(--spectrum-notice-color-900);
- --spectrum-positive-visual-color: var(--spectrum-positive-color-800);
- --spectrum-gray-visual-color: var(--spectrum-gray-600);
- --spectrum-red-visual-color: var(--spectrum-red-700);
- --spectrum-orange-visual-color: var(--spectrum-orange-900);
- --spectrum-yellow-visual-color: var(--spectrum-yellow-1100);
- --spectrum-chartreuse-visual-color: var(--spectrum-chartreuse-900);
- --spectrum-celery-visual-color: var(--spectrum-celery-800);
- --spectrum-green-visual-color: var(--spectrum-green-800);
- --spectrum-seafoam-visual-color: var(--spectrum-seafoam-800);
- --spectrum-cyan-visual-color: var(--spectrum-cyan-900);
- --spectrum-blue-visual-color: var(--spectrum-blue-900);
- --spectrum-indigo-visual-color: var(--spectrum-indigo-900);
- --spectrum-purple-visual-color: var(--spectrum-purple-900);
- --spectrum-fuchsia-visual-color: var(--spectrum-fuchsia-900);
- --spectrum-magenta-visual-color: var(--spectrum-magenta-900);
- --spectrum-opacity-checkerboard-square-dark: var(--spectrum-gray-800);
- --spectrum-gray-50-rgb: 29, 29, 29;
- --spectrum-gray-50: rgba(var(--spectrum-gray-50-rgb));
- --spectrum-gray-75-rgb: 38, 38, 38;
- --spectrum-gray-75: rgba(var(--spectrum-gray-75-rgb));
- --spectrum-gray-100-rgb: 50, 50, 50;
- --spectrum-gray-100: rgba(var(--spectrum-gray-100-rgb));
- --spectrum-gray-200-rgb: 63, 63, 63;
- --spectrum-gray-200: rgba(var(--spectrum-gray-200-rgb));
- --spectrum-gray-300-rgb: 84, 84, 84;
- --spectrum-gray-300: rgba(var(--spectrum-gray-300-rgb));
- --spectrum-gray-400-rgb: 112, 112, 112;
- --spectrum-gray-400: rgba(var(--spectrum-gray-400-rgb));
- --spectrum-gray-500-rgb: 144, 144, 144;
- --spectrum-gray-500: rgba(var(--spectrum-gray-500-rgb));
- --spectrum-gray-600-rgb: 178, 178, 178;
- --spectrum-gray-600: rgba(var(--spectrum-gray-600-rgb));
- --spectrum-gray-700-rgb: 209, 209, 209;
- --spectrum-gray-700: rgba(var(--spectrum-gray-700-rgb));
- --spectrum-gray-800-rgb: 235, 235, 235;
- --spectrum-gray-800: rgba(var(--spectrum-gray-800-rgb));
- --spectrum-gray-900-rgb: 255, 255, 255;
- --spectrum-gray-900: rgba(var(--spectrum-gray-900-rgb));
- --spectrum-blue-100-rgb: 0, 56, 119;
- --spectrum-blue-100: rgba(var(--spectrum-blue-100-rgb));
- --spectrum-blue-200-rgb: 0, 65, 138;
- --spectrum-blue-200: rgba(var(--spectrum-blue-200-rgb));
- --spectrum-blue-300-rgb: 0, 77, 163;
- --spectrum-blue-300: rgba(var(--spectrum-blue-300-rgb));
- --spectrum-blue-400-rgb: 0, 89, 194;
- --spectrum-blue-400: rgba(var(--spectrum-blue-400-rgb));
- --spectrum-blue-500-rgb: 3, 103, 224;
- --spectrum-blue-500: rgba(var(--spectrum-blue-500-rgb));
- --spectrum-blue-600-rgb: 19, 121, 243;
- --spectrum-blue-600: rgba(var(--spectrum-blue-600-rgb));
- --spectrum-blue-700-rgb: 52, 143, 244;
- --spectrum-blue-700: rgba(var(--spectrum-blue-700-rgb));
- --spectrum-blue-800-rgb: 84, 163, 246;
- --spectrum-blue-800: rgba(var(--spectrum-blue-800-rgb));
- --spectrum-blue-900-rgb: 114, 183, 249;
- --spectrum-blue-900: rgba(var(--spectrum-blue-900-rgb));
- --spectrum-blue-1000-rgb: 143, 202, 252;
- --spectrum-blue-1000: rgba(var(--spectrum-blue-1000-rgb));
- --spectrum-blue-1100-rgb: 174, 219, 254;
- --spectrum-blue-1100: rgba(var(--spectrum-blue-1100-rgb));
- --spectrum-blue-1200-rgb: 204, 233, 255;
- --spectrum-blue-1200: rgba(var(--spectrum-blue-1200-rgb));
- --spectrum-blue-1300-rgb: 232, 246, 255;
- --spectrum-blue-1300: rgba(var(--spectrum-blue-1300-rgb));
- --spectrum-blue-1400-rgb: 255, 255, 255;
- --spectrum-blue-1400: rgba(var(--spectrum-blue-1400-rgb));
- --spectrum-red-100-rgb: 123, 0, 0;
- --spectrum-red-100: rgba(var(--spectrum-red-100-rgb));
- --spectrum-red-200-rgb: 141, 0, 0;
- --spectrum-red-200: rgba(var(--spectrum-red-200-rgb));
- --spectrum-red-300-rgb: 165, 0, 0;
- --spectrum-red-300: rgba(var(--spectrum-red-300-rgb));
- --spectrum-red-400-rgb: 190, 4, 3;
- --spectrum-red-400: rgba(var(--spectrum-red-400-rgb));
- --spectrum-red-500-rgb: 215, 25, 19;
- --spectrum-red-500: rgba(var(--spectrum-red-500-rgb));
- --spectrum-red-600-rgb: 234, 56, 41;
- --spectrum-red-600: rgba(var(--spectrum-red-600-rgb));
- --spectrum-red-700-rgb: 246, 88, 67;
- --spectrum-red-700: rgba(var(--spectrum-red-700-rgb));
- --spectrum-red-800-rgb: 255, 117, 94;
- --spectrum-red-800: rgba(var(--spectrum-red-800-rgb));
- --spectrum-red-900-rgb: 255, 149, 129;
- --spectrum-red-900: rgba(var(--spectrum-red-900-rgb));
- --spectrum-red-1000-rgb: 255, 176, 161;
- --spectrum-red-1000: rgba(var(--spectrum-red-1000-rgb));
- --spectrum-red-1100-rgb: 255, 201, 189;
- --spectrum-red-1100: rgba(var(--spectrum-red-1100-rgb));
- --spectrum-red-1200-rgb: 255, 222, 216;
- --spectrum-red-1200: rgba(var(--spectrum-red-1200-rgb));
- --spectrum-red-1300-rgb: 255, 241, 238;
- --spectrum-red-1300: rgba(var(--spectrum-red-1300-rgb));
- --spectrum-red-1400-rgb: 255, 255, 255;
- --spectrum-red-1400: rgba(var(--spectrum-red-1400-rgb));
- --spectrum-orange-100-rgb: 102, 37, 0;
- --spectrum-orange-100: rgba(var(--spectrum-orange-100-rgb));
- --spectrum-orange-200-rgb: 117, 45, 0;
- --spectrum-orange-200: rgba(var(--spectrum-orange-200-rgb));
- --spectrum-orange-300-rgb: 137, 55, 0;
- --spectrum-orange-300: rgba(var(--spectrum-orange-300-rgb));
- --spectrum-orange-400-rgb: 158, 66, 0;
- --spectrum-orange-400: rgba(var(--spectrum-orange-400-rgb));
- --spectrum-orange-500-rgb: 180, 78, 0;
- --spectrum-orange-500: rgba(var(--spectrum-orange-500-rgb));
- --spectrum-orange-600-rgb: 202, 93, 0;
- --spectrum-orange-600: rgba(var(--spectrum-orange-600-rgb));
- --spectrum-orange-700-rgb: 225, 109, 0;
- --spectrum-orange-700: rgba(var(--spectrum-orange-700-rgb));
- --spectrum-orange-800-rgb: 244, 129, 12;
- --spectrum-orange-800: rgba(var(--spectrum-orange-800-rgb));
- --spectrum-orange-900-rgb: 254, 154, 46;
- --spectrum-orange-900: rgba(var(--spectrum-orange-900-rgb));
- --spectrum-orange-1000-rgb: 255, 181, 88;
- --spectrum-orange-1000: rgba(var(--spectrum-orange-1000-rgb));
- --spectrum-orange-1100-rgb: 253, 206, 136;
- --spectrum-orange-1100: rgba(var(--spectrum-orange-1100-rgb));
- --spectrum-orange-1200-rgb: 255, 225, 179;
- --spectrum-orange-1200: rgba(var(--spectrum-orange-1200-rgb));
- --spectrum-orange-1300-rgb: 255, 242, 221;
- --spectrum-orange-1300: rgba(var(--spectrum-orange-1300-rgb));
- --spectrum-orange-1400-rgb: 255, 253, 249;
- --spectrum-orange-1400: rgba(var(--spectrum-orange-1400-rgb));
- --spectrum-yellow-100-rgb: 76, 54, 0;
- --spectrum-yellow-100: rgba(var(--spectrum-yellow-100-rgb));
- --spectrum-yellow-200-rgb: 88, 64, 0;
- --spectrum-yellow-200: rgba(var(--spectrum-yellow-200-rgb));
- --spectrum-yellow-300-rgb: 103, 76, 0;
- --spectrum-yellow-300: rgba(var(--spectrum-yellow-300-rgb));
- --spectrum-yellow-400-rgb: 119, 89, 0;
- --spectrum-yellow-400: rgba(var(--spectrum-yellow-400-rgb));
- --spectrum-yellow-500-rgb: 136, 104, 0;
- --spectrum-yellow-500: rgba(var(--spectrum-yellow-500-rgb));
- --spectrum-yellow-600-rgb: 155, 120, 0;
- --spectrum-yellow-600: rgba(var(--spectrum-yellow-600-rgb));
- --spectrum-yellow-700-rgb: 174, 137, 0;
- --spectrum-yellow-700: rgba(var(--spectrum-yellow-700-rgb));
- --spectrum-yellow-800-rgb: 192, 156, 0;
- --spectrum-yellow-800: rgba(var(--spectrum-yellow-800-rgb));
- --spectrum-yellow-900-rgb: 211, 174, 0;
- --spectrum-yellow-900: rgba(var(--spectrum-yellow-900-rgb));
- --spectrum-yellow-1000-rgb: 228, 194, 0;
- --spectrum-yellow-1000: rgba(var(--spectrum-yellow-1000-rgb));
- --spectrum-yellow-1100-rgb: 244, 213, 0;
- --spectrum-yellow-1100: rgba(var(--spectrum-yellow-1100-rgb));
- --spectrum-yellow-1200-rgb: 249, 232, 92;
- --spectrum-yellow-1200: rgba(var(--spectrum-yellow-1200-rgb));
- --spectrum-yellow-1300-rgb: 252, 246, 187;
- --spectrum-yellow-1300: rgba(var(--spectrum-yellow-1300-rgb));
- --spectrum-yellow-1400-rgb: 255, 255, 255;
- --spectrum-yellow-1400: rgba(var(--spectrum-yellow-1400-rgb));
- --spectrum-chartreuse-100-rgb: 48, 64, 0;
- --spectrum-chartreuse-100: rgba(var(--spectrum-chartreuse-100-rgb));
- --spectrum-chartreuse-200-rgb: 55, 74, 0;
- --spectrum-chartreuse-200: rgba(var(--spectrum-chartreuse-200-rgb));
- --spectrum-chartreuse-300-rgb: 65, 87, 0;
- --spectrum-chartreuse-300: rgba(var(--spectrum-chartreuse-300-rgb));
- --spectrum-chartreuse-400-rgb: 76, 102, 0;
- --spectrum-chartreuse-400: rgba(var(--spectrum-chartreuse-400-rgb));
- --spectrum-chartreuse-500-rgb: 89, 118, 0;
- --spectrum-chartreuse-500: rgba(var(--spectrum-chartreuse-500-rgb));
- --spectrum-chartreuse-600-rgb: 102, 136, 0;
- --spectrum-chartreuse-600: rgba(var(--spectrum-chartreuse-600-rgb));
- --spectrum-chartreuse-700-rgb: 117, 154, 0;
- --spectrum-chartreuse-700: rgba(var(--spectrum-chartreuse-700-rgb));
- --spectrum-chartreuse-800-rgb: 132, 173, 1;
- --spectrum-chartreuse-800: rgba(var(--spectrum-chartreuse-800-rgb));
- --spectrum-chartreuse-900-rgb: 148, 192, 8;
- --spectrum-chartreuse-900: rgba(var(--spectrum-chartreuse-900-rgb));
- --spectrum-chartreuse-1000-rgb: 166, 211, 18;
- --spectrum-chartreuse-1000: rgba(var(--spectrum-chartreuse-1000-rgb));
- --spectrum-chartreuse-1100-rgb: 184, 229, 37;
- --spectrum-chartreuse-1100: rgba(var(--spectrum-chartreuse-1100-rgb));
- --spectrum-chartreuse-1200-rgb: 205, 245, 71;
- --spectrum-chartreuse-1200: rgba(var(--spectrum-chartreuse-1200-rgb));
- --spectrum-chartreuse-1300-rgb: 231, 254, 154;
- --spectrum-chartreuse-1300: rgba(var(--spectrum-chartreuse-1300-rgb));
- --spectrum-chartreuse-1400-rgb: 255, 255, 255;
- --spectrum-chartreuse-1400: rgba(var(--spectrum-chartreuse-1400-rgb));
- --spectrum-celery-100-rgb: 0, 69, 10;
- --spectrum-celery-100: rgba(var(--spectrum-celery-100-rgb));
- --spectrum-celery-200-rgb: 0, 80, 12;
- --spectrum-celery-200: rgba(var(--spectrum-celery-200-rgb));
- --spectrum-celery-300-rgb: 0, 94, 14;
- --spectrum-celery-300: rgba(var(--spectrum-celery-300-rgb));
- --spectrum-celery-400-rgb: 0, 109, 15;
- --spectrum-celery-400: rgba(var(--spectrum-celery-400-rgb));
- --spectrum-celery-500-rgb: 0, 127, 15;
- --spectrum-celery-500: rgba(var(--spectrum-celery-500-rgb));
- --spectrum-celery-600-rgb: 0, 145, 18;
- --spectrum-celery-600: rgba(var(--spectrum-celery-600-rgb));
- --spectrum-celery-700-rgb: 4, 165, 30;
- --spectrum-celery-700: rgba(var(--spectrum-celery-700-rgb));
- --spectrum-celery-800-rgb: 34, 184, 51;
- --spectrum-celery-800: rgba(var(--spectrum-celery-800-rgb));
- --spectrum-celery-900-rgb: 68, 202, 73;
- --spectrum-celery-900: rgba(var(--spectrum-celery-900-rgb));
- --spectrum-celery-1000-rgb: 105, 220, 99;
- --spectrum-celery-1000: rgba(var(--spectrum-celery-1000-rgb));
- --spectrum-celery-1100-rgb: 142, 235, 127;
- --spectrum-celery-1100: rgba(var(--spectrum-celery-1100-rgb));
- --spectrum-celery-1200-rgb: 180, 247, 162;
- --spectrum-celery-1200: rgba(var(--spectrum-celery-1200-rgb));
- --spectrum-celery-1300-rgb: 221, 253, 211;
- --spectrum-celery-1300: rgba(var(--spectrum-celery-1300-rgb));
- --spectrum-celery-1400-rgb: 255, 255, 255;
- --spectrum-celery-1400: rgba(var(--spectrum-celery-1400-rgb));
- --spectrum-green-100-rgb: 4, 67, 41;
- --spectrum-green-100: rgba(var(--spectrum-green-100-rgb));
- --spectrum-green-200-rgb: 0, 78, 47;
- --spectrum-green-200: rgba(var(--spectrum-green-200-rgb));
- --spectrum-green-300-rgb: 0, 92, 56;
- --spectrum-green-300: rgba(var(--spectrum-green-300-rgb));
- --spectrum-green-400-rgb: 0, 108, 67;
- --spectrum-green-400: rgba(var(--spectrum-green-400-rgb));
- --spectrum-green-500-rgb: 0, 125, 78;
- --spectrum-green-500: rgba(var(--spectrum-green-500-rgb));
- --spectrum-green-600-rgb: 0, 143, 93;
- --spectrum-green-600: rgba(var(--spectrum-green-600-rgb));
- --spectrum-green-700-rgb: 18, 162, 108;
- --spectrum-green-700: rgba(var(--spectrum-green-700-rgb));
- --spectrum-green-800-rgb: 43, 180, 125;
- --spectrum-green-800: rgba(var(--spectrum-green-800-rgb));
- --spectrum-green-900-rgb: 67, 199, 143;
- --spectrum-green-900: rgba(var(--spectrum-green-900-rgb));
- --spectrum-green-1000-rgb: 94, 217, 162;
- --spectrum-green-1000: rgba(var(--spectrum-green-1000-rgb));
- --spectrum-green-1100-rgb: 129, 233, 184;
- --spectrum-green-1100: rgba(var(--spectrum-green-1100-rgb));
- --spectrum-green-1200-rgb: 177, 244, 209;
- --spectrum-green-1200: rgba(var(--spectrum-green-1200-rgb));
- --spectrum-green-1300-rgb: 223, 250, 234;
- --spectrum-green-1300: rgba(var(--spectrum-green-1300-rgb));
- --spectrum-green-1400-rgb: 254, 255, 252;
- --spectrum-green-1400: rgba(var(--spectrum-green-1400-rgb));
- --spectrum-seafoam-100-rgb: 18, 65, 63;
- --spectrum-seafoam-100: rgba(var(--spectrum-seafoam-100-rgb));
- --spectrum-seafoam-200-rgb: 14, 76, 73;
- --spectrum-seafoam-200: rgba(var(--spectrum-seafoam-200-rgb));
- --spectrum-seafoam-300-rgb: 4, 90, 87;
- --spectrum-seafoam-300: rgba(var(--spectrum-seafoam-300-rgb));
- --spectrum-seafoam-400-rgb: 0, 105, 101;
- --spectrum-seafoam-400: rgba(var(--spectrum-seafoam-400-rgb));
- --spectrum-seafoam-500-rgb: 0, 122, 117;
- --spectrum-seafoam-500: rgba(var(--spectrum-seafoam-500-rgb));
- --spectrum-seafoam-600-rgb: 0, 140, 135;
- --spectrum-seafoam-600: rgba(var(--spectrum-seafoam-600-rgb));
- --spectrum-seafoam-700-rgb: 0, 158, 152;
- --spectrum-seafoam-700: rgba(var(--spectrum-seafoam-700-rgb));
- --spectrum-seafoam-800-rgb: 3, 178, 171;
- --spectrum-seafoam-800: rgba(var(--spectrum-seafoam-800-rgb));
- --spectrum-seafoam-900-rgb: 54, 197, 189;
- --spectrum-seafoam-900: rgba(var(--spectrum-seafoam-900-rgb));
- --spectrum-seafoam-1000-rgb: 93, 214, 207;
- --spectrum-seafoam-1000: rgba(var(--spectrum-seafoam-1000-rgb));
- --spectrum-seafoam-1100-rgb: 132, 230, 223;
- --spectrum-seafoam-1100: rgba(var(--spectrum-seafoam-1100-rgb));
- --spectrum-seafoam-1200-rgb: 176, 242, 236;
- --spectrum-seafoam-1200: rgba(var(--spectrum-seafoam-1200-rgb));
- --spectrum-seafoam-1300-rgb: 223, 249, 246;
- --spectrum-seafoam-1300: rgba(var(--spectrum-seafoam-1300-rgb));
- --spectrum-seafoam-1400-rgb: 254, 255, 254;
- --spectrum-seafoam-1400: rgba(var(--spectrum-seafoam-1400-rgb));
- --spectrum-cyan-100-rgb: 0, 61, 98;
- --spectrum-cyan-100: rgba(var(--spectrum-cyan-100-rgb));
- --spectrum-cyan-200-rgb: 0, 71, 111;
- --spectrum-cyan-200: rgba(var(--spectrum-cyan-200-rgb));
- --spectrum-cyan-300-rgb: 0, 85, 127;
- --spectrum-cyan-300: rgba(var(--spectrum-cyan-300-rgb));
- --spectrum-cyan-400-rgb: 0, 100, 145;
- --spectrum-cyan-400: rgba(var(--spectrum-cyan-400-rgb));
- --spectrum-cyan-500-rgb: 0, 116, 162;
- --spectrum-cyan-500: rgba(var(--spectrum-cyan-500-rgb));
- --spectrum-cyan-600-rgb: 0, 134, 180;
- --spectrum-cyan-600: rgba(var(--spectrum-cyan-600-rgb));
- --spectrum-cyan-700-rgb: 0, 153, 198;
- --spectrum-cyan-700: rgba(var(--spectrum-cyan-700-rgb));
- --spectrum-cyan-800-rgb: 14, 173, 215;
- --spectrum-cyan-800: rgba(var(--spectrum-cyan-800-rgb));
- --spectrum-cyan-900-rgb: 44, 193, 230;
- --spectrum-cyan-900: rgba(var(--spectrum-cyan-900-rgb));
- --spectrum-cyan-1000-rgb: 84, 211, 241;
- --spectrum-cyan-1000: rgba(var(--spectrum-cyan-1000-rgb));
- --spectrum-cyan-1100-rgb: 127, 228, 249;
- --spectrum-cyan-1100: rgba(var(--spectrum-cyan-1100-rgb));
- --spectrum-cyan-1200-rgb: 167, 241, 255;
- --spectrum-cyan-1200: rgba(var(--spectrum-cyan-1200-rgb));
- --spectrum-cyan-1300-rgb: 215, 250, 255;
- --spectrum-cyan-1300: rgba(var(--spectrum-cyan-1300-rgb));
- --spectrum-cyan-1400-rgb: 255, 255, 255;
- --spectrum-cyan-1400: rgba(var(--spectrum-cyan-1400-rgb));
- --spectrum-indigo-100-rgb: 40, 44, 140;
- --spectrum-indigo-100: rgba(var(--spectrum-indigo-100-rgb));
- --spectrum-indigo-200-rgb: 47, 52, 163;
- --spectrum-indigo-200: rgba(var(--spectrum-indigo-200-rgb));
- --spectrum-indigo-300-rgb: 57, 63, 187;
- --spectrum-indigo-300: rgba(var(--spectrum-indigo-300-rgb));
- --spectrum-indigo-400-rgb: 70, 75, 211;
- --spectrum-indigo-400: rgba(var(--spectrum-indigo-400-rgb));
- --spectrum-indigo-500-rgb: 85, 91, 231;
- --spectrum-indigo-500: rgba(var(--spectrum-indigo-500-rgb));
- --spectrum-indigo-600-rgb: 104, 109, 244;
- --spectrum-indigo-600: rgba(var(--spectrum-indigo-600-rgb));
- --spectrum-indigo-700-rgb: 124, 129, 251;
- --spectrum-indigo-700: rgba(var(--spectrum-indigo-700-rgb));
- --spectrum-indigo-800-rgb: 145, 149, 255;
- --spectrum-indigo-800: rgba(var(--spectrum-indigo-800-rgb));
- --spectrum-indigo-900-rgb: 167, 170, 255;
- --spectrum-indigo-900: rgba(var(--spectrum-indigo-900-rgb));
- --spectrum-indigo-1000-rgb: 188, 190, 255;
- --spectrum-indigo-1000: rgba(var(--spectrum-indigo-1000-rgb));
- --spectrum-indigo-1100-rgb: 208, 210, 255;
- --spectrum-indigo-1100: rgba(var(--spectrum-indigo-1100-rgb));
- --spectrum-indigo-1200-rgb: 226, 228, 255;
- --spectrum-indigo-1200: rgba(var(--spectrum-indigo-1200-rgb));
- --spectrum-indigo-1300-rgb: 243, 243, 254;
- --spectrum-indigo-1300: rgba(var(--spectrum-indigo-1300-rgb));
- --spectrum-indigo-1400-rgb: 255, 255, 255;
- --spectrum-indigo-1400: rgba(var(--spectrum-indigo-1400-rgb));
- --spectrum-purple-100-rgb: 76, 13, 157;
- --spectrum-purple-100: rgba(var(--spectrum-purple-100-rgb));
- --spectrum-purple-200-rgb: 89, 17, 177;
- --spectrum-purple-200: rgba(var(--spectrum-purple-200-rgb));
- --spectrum-purple-300-rgb: 105, 28, 200;
- --spectrum-purple-300: rgba(var(--spectrum-purple-300-rgb));
- --spectrum-purple-400-rgb: 122, 45, 218;
- --spectrum-purple-400: rgba(var(--spectrum-purple-400-rgb));
- --spectrum-purple-500-rgb: 140, 65, 233;
- --spectrum-purple-500: rgba(var(--spectrum-purple-500-rgb));
- --spectrum-purple-600-rgb: 157, 87, 243;
- --spectrum-purple-600: rgba(var(--spectrum-purple-600-rgb));
- --spectrum-purple-700-rgb: 172, 111, 249;
- --spectrum-purple-700: rgba(var(--spectrum-purple-700-rgb));
- --spectrum-purple-800-rgb: 187, 135, 251;
- --spectrum-purple-800: rgba(var(--spectrum-purple-800-rgb));
- --spectrum-purple-900-rgb: 202, 159, 252;
- --spectrum-purple-900: rgba(var(--spectrum-purple-900-rgb));
- --spectrum-purple-1000-rgb: 215, 182, 254;
- --spectrum-purple-1000: rgba(var(--spectrum-purple-1000-rgb));
- --spectrum-purple-1100-rgb: 228, 204, 254;
- --spectrum-purple-1100: rgba(var(--spectrum-purple-1100-rgb));
- --spectrum-purple-1200-rgb: 239, 223, 255;
- --spectrum-purple-1200: rgba(var(--spectrum-purple-1200-rgb));
- --spectrum-purple-1300-rgb: 249, 240, 255;
- --spectrum-purple-1300: rgba(var(--spectrum-purple-1300-rgb));
- --spectrum-purple-1400-rgb: 255, 253, 255;
- --spectrum-purple-1400: rgba(var(--spectrum-purple-1400-rgb));
- --spectrum-fuchsia-100-rgb: 107, 3, 106;
- --spectrum-fuchsia-100: rgba(var(--spectrum-fuchsia-100-rgb));
- --spectrum-fuchsia-200-rgb: 123, 0, 123;
- --spectrum-fuchsia-200: rgba(var(--spectrum-fuchsia-200-rgb));
- --spectrum-fuchsia-300-rgb: 144, 0, 145;
- --spectrum-fuchsia-300: rgba(var(--spectrum-fuchsia-300-rgb));
- --spectrum-fuchsia-400-rgb: 165, 13, 166;
- --spectrum-fuchsia-400: rgba(var(--spectrum-fuchsia-400-rgb));
- --spectrum-fuchsia-500-rgb: 185, 37, 185;
- --spectrum-fuchsia-500: rgba(var(--spectrum-fuchsia-500-rgb));
- --spectrum-fuchsia-600-rgb: 205, 57, 206;
- --spectrum-fuchsia-600: rgba(var(--spectrum-fuchsia-600-rgb));
- --spectrum-fuchsia-700-rgb: 223, 81, 224;
- --spectrum-fuchsia-700: rgba(var(--spectrum-fuchsia-700-rgb));
- --spectrum-fuchsia-800-rgb: 235, 110, 236;
- --spectrum-fuchsia-800: rgba(var(--spectrum-fuchsia-800-rgb));
- --spectrum-fuchsia-900-rgb: 244, 140, 242;
- --spectrum-fuchsia-900: rgba(var(--spectrum-fuchsia-900-rgb));
- --spectrum-fuchsia-1000-rgb: 250, 168, 245;
- --spectrum-fuchsia-1000: rgba(var(--spectrum-fuchsia-1000-rgb));
- --spectrum-fuchsia-1100-rgb: 254, 194, 248;
- --spectrum-fuchsia-1100: rgba(var(--spectrum-fuchsia-1100-rgb));
- --spectrum-fuchsia-1200-rgb: 255, 219, 250;
- --spectrum-fuchsia-1200: rgba(var(--spectrum-fuchsia-1200-rgb));
- --spectrum-fuchsia-1300-rgb: 255, 239, 252;
- --spectrum-fuchsia-1300: rgba(var(--spectrum-fuchsia-1300-rgb));
- --spectrum-fuchsia-1400-rgb: 255, 253, 255;
- --spectrum-fuchsia-1400: rgba(var(--spectrum-fuchsia-1400-rgb));
- --spectrum-magenta-100-rgb: 118, 0, 58;
- --spectrum-magenta-100: rgba(var(--spectrum-magenta-100-rgb));
- --spectrum-magenta-200-rgb: 137, 0, 66;
- --spectrum-magenta-200: rgba(var(--spectrum-magenta-200-rgb));
- --spectrum-magenta-300-rgb: 160, 0, 77;
- --spectrum-magenta-300: rgba(var(--spectrum-magenta-300-rgb));
- --spectrum-magenta-400-rgb: 182, 18, 90;
- --spectrum-magenta-400: rgba(var(--spectrum-magenta-400-rgb));
- --spectrum-magenta-500-rgb: 203, 38, 109;
- --spectrum-magenta-500: rgba(var(--spectrum-magenta-500-rgb));
- --spectrum-magenta-600-rgb: 222, 61, 130;
- --spectrum-magenta-600: rgba(var(--spectrum-magenta-600-rgb));
- --spectrum-magenta-700-rgb: 237, 87, 149;
- --spectrum-magenta-700: rgba(var(--spectrum-magenta-700-rgb));
- --spectrum-magenta-800-rgb: 249, 114, 167;
- --spectrum-magenta-800: rgba(var(--spectrum-magenta-800-rgb));
- --spectrum-magenta-900-rgb: 255, 143, 185;
- --spectrum-magenta-900: rgba(var(--spectrum-magenta-900-rgb));
- --spectrum-magenta-1000-rgb: 255, 172, 202;
- --spectrum-magenta-1000: rgba(var(--spectrum-magenta-1000-rgb));
- --spectrum-magenta-1100-rgb: 255, 198, 218;
- --spectrum-magenta-1100: rgba(var(--spectrum-magenta-1100-rgb));
- --spectrum-magenta-1200-rgb: 255, 221, 233;
- --spectrum-magenta-1200: rgba(var(--spectrum-magenta-1200-rgb));
- --spectrum-magenta-1300-rgb: 255, 240, 245;
- --spectrum-magenta-1300: rgba(var(--spectrum-magenta-1300-rgb));
- --spectrum-magenta-1400-rgb: 255, 252, 253;
- --spectrum-magenta-1400: rgba(var(--spectrum-magenta-1400-rgb));
- --spectrum-icon-color-blue-primary-default: var(--spectrum-blue-800);
- --spectrum-icon-color-green-primary-default: var(--spectrum-green-800);
- --spectrum-icon-color-red-primary-default: var(--spectrum-red-700);
- --spectrum-icon-color-yellow-primary-default: var(--spectrum-yellow-1000);
-}
-.spectrum--darkest {
- --spectrum-overlay-opacity: 0.6;
- --spectrum-drop-shadow-color-rgb: 0, 0, 0;
- --spectrum-drop-shadow-color-opacity: 0.8;
- --spectrum-drop-shadow-color: rgba(var(--spectrum-drop-shadow-color-rgb), var(--spectrum-drop-shadow-color-opacity));
- --spectrum-background-base-color: var(--spectrum-gray-50);
- --spectrum-background-layer-1-color: var(--spectrum-gray-75);
- --spectrum-background-layer-2-color: var(--spectrum-gray-100);
- --spectrum-neutral-background-color-default: var(--spectrum-gray-400);
- --spectrum-neutral-background-color-hover: var(--spectrum-gray-300);
- --spectrum-neutral-background-color-down: var(--spectrum-gray-200);
- --spectrum-neutral-background-color-key-focus: var(--spectrum-gray-300);
- --spectrum-neutral-subdued-background-color-default: var(--spectrum-gray-400);
- --spectrum-neutral-subdued-background-color-hover: var(--spectrum-gray-300);
- --spectrum-neutral-subdued-background-color-down: var(--spectrum-gray-200);
- --spectrum-neutral-subdued-background-color-key-focus: var(--spectrum-gray-300);
- --spectrum-accent-background-color-default: var(--spectrum-accent-color-600);
- --spectrum-accent-background-color-hover: var(--spectrum-accent-color-500);
- --spectrum-accent-background-color-down: var(--spectrum-accent-color-400);
- --spectrum-accent-background-color-key-focus: var(--spectrum-accent-color-500);
- --spectrum-informative-background-color-default: var(--spectrum-informative-color-600);
- --spectrum-informative-background-color-hover: var(--spectrum-informative-color-500);
- --spectrum-informative-background-color-down: var(--spectrum-informative-color-400);
- --spectrum-informative-background-color-key-focus: var(--spectrum-informative-color-500);
- --spectrum-negative-background-color-default: var(--spectrum-negative-color-600);
- --spectrum-negative-background-color-hover: var(--spectrum-negative-color-500);
- --spectrum-negative-background-color-down: var(--spectrum-negative-color-400);
- --spectrum-negative-background-color-key-focus: var(--spectrum-negative-color-500);
- --spectrum-positive-background-color-default: var(--spectrum-positive-color-600);
- --spectrum-positive-background-color-hover: var(--spectrum-positive-color-500);
- --spectrum-positive-background-color-down: var(--spectrum-positive-color-400);
- --spectrum-positive-background-color-key-focus: var(--spectrum-positive-color-500);
- --spectrum-notice-background-color-default: var(--spectrum-notice-color-800);
- --spectrum-gray-background-color-default: var(--spectrum-gray-700);
- --spectrum-red-background-color-default: var(--spectrum-red-700);
- --spectrum-orange-background-color-default: var(--spectrum-orange-800);
- --spectrum-yellow-background-color-default: var(--spectrum-yellow-1000);
- --spectrum-chartreuse-background-color-default: var(--spectrum-chartreuse-900);
- --spectrum-celery-background-color-default: var(--spectrum-celery-800);
- --spectrum-green-background-color-default: var(--spectrum-green-700);
- --spectrum-seafoam-background-color-default: var(--spectrum-seafoam-700);
- --spectrum-cyan-background-color-default: var(--spectrum-cyan-700);
- --spectrum-blue-background-color-default: var(--spectrum-blue-700);
- --spectrum-indigo-background-color-default: var(--spectrum-indigo-700);
- --spectrum-purple-background-color-default: var(--spectrum-purple-700);
- --spectrum-fuchsia-background-color-default: var(--spectrum-fuchsia-700);
- --spectrum-magenta-background-color-default: var(--spectrum-magenta-700);
- --spectrum-neutral-visual-color: var(--spectrum-gray-600);
- --spectrum-accent-visual-color: var(--spectrum-accent-color-900);
- --spectrum-informative-visual-color: var(--spectrum-informative-color-900);
- --spectrum-negative-visual-color: var(--spectrum-negative-color-700);
- --spectrum-notice-visual-color: var(--spectrum-notice-color-900);
- --spectrum-positive-visual-color: var(--spectrum-positive-color-800);
- --spectrum-gray-visual-color: var(--spectrum-gray-600);
- --spectrum-red-visual-color: var(--spectrum-red-700);
- --spectrum-orange-visual-color: var(--spectrum-orange-900);
- --spectrum-yellow-visual-color: var(--spectrum-yellow-1100);
- --spectrum-chartreuse-visual-color: var(--spectrum-chartreuse-900);
- --spectrum-celery-visual-color: var(--spectrum-celery-800);
- --spectrum-green-visual-color: var(--spectrum-green-800);
- --spectrum-seafoam-visual-color: var(--spectrum-seafoam-800);
- --spectrum-cyan-visual-color: var(--spectrum-cyan-900);
- --spectrum-blue-visual-color: var(--spectrum-blue-900);
- --spectrum-indigo-visual-color: var(--spectrum-indigo-900);
- --spectrum-purple-visual-color: var(--spectrum-purple-900);
- --spectrum-fuchsia-visual-color: var(--spectrum-fuchsia-900);
- --spectrum-magenta-visual-color: var(--spectrum-magenta-900);
- --spectrum-opacity-checkerboard-square-dark: var(--spectrum-gray-800);
- --spectrum-gray-50-rgb: 0, 0, 0;
- --spectrum-gray-50: rgba(var(--spectrum-gray-50-rgb));
- --spectrum-gray-75-rgb: 14, 14, 14;
- --spectrum-gray-75: rgba(var(--spectrum-gray-75-rgb));
- --spectrum-gray-100-rgb: 29, 29, 29;
- --spectrum-gray-100: rgba(var(--spectrum-gray-100-rgb));
- --spectrum-gray-200-rgb: 48, 48, 48;
- --spectrum-gray-200: rgba(var(--spectrum-gray-200-rgb));
- --spectrum-gray-300-rgb: 75, 75, 75;
- --spectrum-gray-300: rgba(var(--spectrum-gray-300-rgb));
- --spectrum-gray-400-rgb: 106, 106, 106;
- --spectrum-gray-400: rgba(var(--spectrum-gray-400-rgb));
- --spectrum-gray-500-rgb: 141, 141, 141;
- --spectrum-gray-500: rgba(var(--spectrum-gray-500-rgb));
- --spectrum-gray-600-rgb: 176, 176, 176;
- --spectrum-gray-600: rgba(var(--spectrum-gray-600-rgb));
- --spectrum-gray-700-rgb: 208, 208, 208;
- --spectrum-gray-700: rgba(var(--spectrum-gray-700-rgb));
- --spectrum-gray-800-rgb: 235, 235, 235;
- --spectrum-gray-800: rgba(var(--spectrum-gray-800-rgb));
- --spectrum-gray-900-rgb: 255, 255, 255;
- --spectrum-gray-900: rgba(var(--spectrum-gray-900-rgb));
- --spectrum-blue-100-rgb: 0, 38, 81;
- --spectrum-blue-100: rgba(var(--spectrum-blue-100-rgb));
- --spectrum-blue-200-rgb: 0, 50, 106;
- --spectrum-blue-200: rgba(var(--spectrum-blue-200-rgb));
- --spectrum-blue-300-rgb: 0, 64, 135;
- --spectrum-blue-300: rgba(var(--spectrum-blue-300-rgb));
- --spectrum-blue-400-rgb: 0, 78, 166;
- --spectrum-blue-400: rgba(var(--spectrum-blue-400-rgb));
- --spectrum-blue-500-rgb: 0, 92, 200;
- --spectrum-blue-500: rgba(var(--spectrum-blue-500-rgb));
- --spectrum-blue-600-rgb: 6, 108, 231;
- --spectrum-blue-600: rgba(var(--spectrum-blue-600-rgb));
- --spectrum-blue-700-rgb: 29, 128, 245;
- --spectrum-blue-700: rgba(var(--spectrum-blue-700-rgb));
- --spectrum-blue-800-rgb: 64, 150, 243;
- --spectrum-blue-800: rgba(var(--spectrum-blue-800-rgb));
- --spectrum-blue-900-rgb: 94, 170, 247;
- --spectrum-blue-900: rgba(var(--spectrum-blue-900-rgb));
- --spectrum-blue-1000-rgb: 124, 189, 250;
- --spectrum-blue-1000: rgba(var(--spectrum-blue-1000-rgb));
- --spectrum-blue-1100-rgb: 152, 206, 253;
- --spectrum-blue-1100: rgba(var(--spectrum-blue-1100-rgb));
- --spectrum-blue-1200-rgb: 179, 222, 254;
- --spectrum-blue-1200: rgba(var(--spectrum-blue-1200-rgb));
- --spectrum-blue-1300-rgb: 206, 234, 255;
- --spectrum-blue-1300: rgba(var(--spectrum-blue-1300-rgb));
- --spectrum-blue-1400-rgb: 227, 243, 255;
- --spectrum-blue-1400: rgba(var(--spectrum-blue-1400-rgb));
- --spectrum-red-100-rgb: 87, 0, 0;
- --spectrum-red-100: rgba(var(--spectrum-red-100-rgb));
- --spectrum-red-200-rgb: 110, 0, 0;
- --spectrum-red-200: rgba(var(--spectrum-red-200-rgb));
- --spectrum-red-300-rgb: 138, 0, 0;
- --spectrum-red-300: rgba(var(--spectrum-red-300-rgb));
- --spectrum-red-400-rgb: 167, 0, 0;
- --spectrum-red-400: rgba(var(--spectrum-red-400-rgb));
- --spectrum-red-500-rgb: 196, 7, 6;
- --spectrum-red-500: rgba(var(--spectrum-red-500-rgb));
- --spectrum-red-600-rgb: 221, 33, 24;
- --spectrum-red-600: rgba(var(--spectrum-red-600-rgb));
- --spectrum-red-700-rgb: 238, 67, 49;
- --spectrum-red-700: rgba(var(--spectrum-red-700-rgb));
- --spectrum-red-800-rgb: 249, 99, 76;
- --spectrum-red-800: rgba(var(--spectrum-red-800-rgb));
- --spectrum-red-900-rgb: 255, 129, 107;
- --spectrum-red-900: rgba(var(--spectrum-red-900-rgb));
- --spectrum-red-1000-rgb: 255, 158, 140;
- --spectrum-red-1000: rgba(var(--spectrum-red-1000-rgb));
- --spectrum-red-1100-rgb: 255, 183, 169;
- --spectrum-red-1100: rgba(var(--spectrum-red-1100-rgb));
- --spectrum-red-1200-rgb: 255, 205, 195;
- --spectrum-red-1200: rgba(var(--spectrum-red-1200-rgb));
- --spectrum-red-1300-rgb: 255, 223, 217;
- --spectrum-red-1300: rgba(var(--spectrum-red-1300-rgb));
- --spectrum-red-1400-rgb: 255, 237, 234;
- --spectrum-red-1400: rgba(var(--spectrum-red-1400-rgb));
- --spectrum-orange-100-rgb: 72, 24, 1;
- --spectrum-orange-100: rgba(var(--spectrum-orange-100-rgb));
- --spectrum-orange-200-rgb: 92, 32, 0;
- --spectrum-orange-200: rgba(var(--spectrum-orange-200-rgb));
- --spectrum-orange-300-rgb: 115, 43, 0;
- --spectrum-orange-300: rgba(var(--spectrum-orange-300-rgb));
- --spectrum-orange-400-rgb: 138, 55, 0;
- --spectrum-orange-400: rgba(var(--spectrum-orange-400-rgb));
- --spectrum-orange-500-rgb: 162, 68, 0;
- --spectrum-orange-500: rgba(var(--spectrum-orange-500-rgb));
- --spectrum-orange-600-rgb: 186, 82, 0;
- --spectrum-orange-600: rgba(var(--spectrum-orange-600-rgb));
- --spectrum-orange-700-rgb: 210, 98, 0;
- --spectrum-orange-700: rgba(var(--spectrum-orange-700-rgb));
- --spectrum-orange-800-rgb: 232, 116, 0;
- --spectrum-orange-800: rgba(var(--spectrum-orange-800-rgb));
- --spectrum-orange-900-rgb: 249, 137, 23;
- --spectrum-orange-900: rgba(var(--spectrum-orange-900-rgb));
- --spectrum-orange-1000-rgb: 255, 162, 59;
- --spectrum-orange-1000: rgba(var(--spectrum-orange-1000-rgb));
- --spectrum-orange-1100-rgb: 255, 188, 102;
- --spectrum-orange-1100: rgba(var(--spectrum-orange-1100-rgb));
- --spectrum-orange-1200-rgb: 253, 210, 145;
- --spectrum-orange-1200: rgba(var(--spectrum-orange-1200-rgb));
- --spectrum-orange-1300-rgb: 255, 226, 181;
- --spectrum-orange-1300: rgba(var(--spectrum-orange-1300-rgb));
- --spectrum-orange-1400-rgb: 255, 239, 213;
- --spectrum-orange-1400: rgba(var(--spectrum-orange-1400-rgb));
- --spectrum-yellow-100-rgb: 53, 36, 0;
- --spectrum-yellow-100: rgba(var(--spectrum-yellow-100-rgb));
- --spectrum-yellow-200-rgb: 68, 47, 0;
- --spectrum-yellow-200: rgba(var(--spectrum-yellow-200-rgb));
- --spectrum-yellow-300-rgb: 86, 62, 0;
- --spectrum-yellow-300: rgba(var(--spectrum-yellow-300-rgb));
- --spectrum-yellow-400-rgb: 103, 77, 0;
- --spectrum-yellow-400: rgba(var(--spectrum-yellow-400-rgb));
- --spectrum-yellow-500-rgb: 122, 92, 0;
- --spectrum-yellow-500: rgba(var(--spectrum-yellow-500-rgb));
- --spectrum-yellow-600-rgb: 141, 108, 0;
- --spectrum-yellow-600: rgba(var(--spectrum-yellow-600-rgb));
- --spectrum-yellow-700-rgb: 161, 126, 0;
- --spectrum-yellow-700: rgba(var(--spectrum-yellow-700-rgb));
- --spectrum-yellow-800-rgb: 180, 144, 0;
- --spectrum-yellow-800: rgba(var(--spectrum-yellow-800-rgb));
- --spectrum-yellow-900-rgb: 199, 162, 0;
- --spectrum-yellow-900: rgba(var(--spectrum-yellow-900-rgb));
- --spectrum-yellow-1000-rgb: 216, 181, 0;
- --spectrum-yellow-1000: rgba(var(--spectrum-yellow-1000-rgb));
- --spectrum-yellow-1100-rgb: 233, 199, 0;
- --spectrum-yellow-1100: rgba(var(--spectrum-yellow-1100-rgb));
- --spectrum-yellow-1200-rgb: 247, 216, 4;
- --spectrum-yellow-1200: rgba(var(--spectrum-yellow-1200-rgb));
- --spectrum-yellow-1300-rgb: 249, 233, 97;
- --spectrum-yellow-1300: rgba(var(--spectrum-yellow-1300-rgb));
- --spectrum-yellow-1400-rgb: 252, 243, 170;
- --spectrum-yellow-1400: rgba(var(--spectrum-yellow-1400-rgb));
- --spectrum-chartreuse-100-rgb: 32, 43, 0;
- --spectrum-chartreuse-100: rgba(var(--spectrum-chartreuse-100-rgb));
- --spectrum-chartreuse-200-rgb: 42, 56, 0;
- --spectrum-chartreuse-200: rgba(var(--spectrum-chartreuse-200-rgb));
- --spectrum-chartreuse-300-rgb: 54, 72, 0;
- --spectrum-chartreuse-300: rgba(var(--spectrum-chartreuse-300-rgb));
- --spectrum-chartreuse-400-rgb: 66, 88, 0;
- --spectrum-chartreuse-400: rgba(var(--spectrum-chartreuse-400-rgb));
- --spectrum-chartreuse-500-rgb: 79, 105, 0;
- --spectrum-chartreuse-500: rgba(var(--spectrum-chartreuse-500-rgb));
- --spectrum-chartreuse-600-rgb: 93, 123, 0;
- --spectrum-chartreuse-600: rgba(var(--spectrum-chartreuse-600-rgb));
- --spectrum-chartreuse-700-rgb: 107, 142, 0;
- --spectrum-chartreuse-700: rgba(var(--spectrum-chartreuse-700-rgb));
- --spectrum-chartreuse-800-rgb: 122, 161, 0;
- --spectrum-chartreuse-800: rgba(var(--spectrum-chartreuse-800-rgb));
- --spectrum-chartreuse-900-rgb: 138, 180, 3;
- --spectrum-chartreuse-900: rgba(var(--spectrum-chartreuse-900-rgb));
- --spectrum-chartreuse-1000-rgb: 154, 198, 11;
- --spectrum-chartreuse-1000: rgba(var(--spectrum-chartreuse-1000-rgb));
- --spectrum-chartreuse-1100-rgb: 170, 216, 22;
- --spectrum-chartreuse-1100: rgba(var(--spectrum-chartreuse-1100-rgb));
- --spectrum-chartreuse-1200-rgb: 187, 232, 41;
- --spectrum-chartreuse-1200: rgba(var(--spectrum-chartreuse-1200-rgb));
- --spectrum-chartreuse-1300-rgb: 205, 246, 72;
- --spectrum-chartreuse-1300: rgba(var(--spectrum-chartreuse-1300-rgb));
- --spectrum-chartreuse-1400-rgb: 225, 253, 132;
- --spectrum-chartreuse-1400: rgba(var(--spectrum-chartreuse-1400-rgb));
- --spectrum-celery-100-rgb: 0, 47, 7;
- --spectrum-celery-100: rgba(var(--spectrum-celery-100-rgb));
- --spectrum-celery-200-rgb: 0, 61, 9;
- --spectrum-celery-200: rgba(var(--spectrum-celery-200-rgb));
- --spectrum-celery-300-rgb: 0, 77, 12;
- --spectrum-celery-300: rgba(var(--spectrum-celery-300-rgb));
- --spectrum-celery-400-rgb: 0, 95, 15;
- --spectrum-celery-400: rgba(var(--spectrum-celery-400-rgb));
- --spectrum-celery-500-rgb: 0, 113, 15;
- --spectrum-celery-500: rgba(var(--spectrum-celery-500-rgb));
- --spectrum-celery-600-rgb: 0, 132, 15;
- --spectrum-celery-600: rgba(var(--spectrum-celery-600-rgb));
- --spectrum-celery-700-rgb: 0, 151, 20;
- --spectrum-celery-700: rgba(var(--spectrum-celery-700-rgb));
- --spectrum-celery-800-rgb: 13, 171, 37;
- --spectrum-celery-800: rgba(var(--spectrum-celery-800-rgb));
- --spectrum-celery-900-rgb: 45, 191, 58;
- --spectrum-celery-900: rgba(var(--spectrum-celery-900-rgb));
- --spectrum-celery-1000-rgb: 80, 208, 82;
- --spectrum-celery-1000: rgba(var(--spectrum-celery-1000-rgb));
- --spectrum-celery-1100-rgb: 115, 224, 107;
- --spectrum-celery-1100: rgba(var(--spectrum-celery-1100-rgb));
- --spectrum-celery-1200-rgb: 147, 237, 131;
- --spectrum-celery-1200: rgba(var(--spectrum-celery-1200-rgb));
- --spectrum-celery-1300-rgb: 180, 247, 162;
- --spectrum-celery-1300: rgba(var(--spectrum-celery-1300-rgb));
- --spectrum-celery-1400-rgb: 213, 252, 202;
- --spectrum-celery-1400: rgba(var(--spectrum-celery-1400-rgb));
- --spectrum-green-100-rgb: 10, 44, 28;
- --spectrum-green-100: rgba(var(--spectrum-green-100-rgb));
- --spectrum-green-200-rgb: 7, 59, 36;
- --spectrum-green-200: rgba(var(--spectrum-green-200-rgb));
- --spectrum-green-300-rgb: 0, 76, 46;
- --spectrum-green-300: rgba(var(--spectrum-green-300-rgb));
- --spectrum-green-400-rgb: 0, 93, 57;
- --spectrum-green-400: rgba(var(--spectrum-green-400-rgb));
- --spectrum-green-500-rgb: 0, 111, 69;
- --spectrum-green-500: rgba(var(--spectrum-green-500-rgb));
- --spectrum-green-600-rgb: 0, 130, 82;
- --spectrum-green-600: rgba(var(--spectrum-green-600-rgb));
- --spectrum-green-700-rgb: 0, 149, 98;
- --spectrum-green-700: rgba(var(--spectrum-green-700-rgb));
- --spectrum-green-800-rgb: 28, 168, 114;
- --spectrum-green-800: rgba(var(--spectrum-green-800-rgb));
- --spectrum-green-900-rgb: 52, 187, 132;
- --spectrum-green-900: rgba(var(--spectrum-green-900-rgb));
- --spectrum-green-1000-rgb: 75, 205, 149;
- --spectrum-green-1000: rgba(var(--spectrum-green-1000-rgb));
- --spectrum-green-1100-rgb: 103, 222, 168;
- --spectrum-green-1100: rgba(var(--spectrum-green-1100-rgb));
- --spectrum-green-1200-rgb: 137, 236, 188;
- --spectrum-green-1200: rgba(var(--spectrum-green-1200-rgb));
- --spectrum-green-1300-rgb: 177, 244, 209;
- --spectrum-green-1300: rgba(var(--spectrum-green-1300-rgb));
- --spectrum-green-1400-rgb: 214, 249, 228;
- --spectrum-green-1400: rgba(var(--spectrum-green-1400-rgb));
- --spectrum-seafoam-100-rgb: 18, 43, 42;
- --spectrum-seafoam-100: rgba(var(--spectrum-seafoam-100-rgb));
- --spectrum-seafoam-200-rgb: 19, 57, 55;
- --spectrum-seafoam-200: rgba(var(--spectrum-seafoam-200-rgb));
- --spectrum-seafoam-300-rgb: 16, 73, 70;
- --spectrum-seafoam-300: rgba(var(--spectrum-seafoam-300-rgb));
- --spectrum-seafoam-400-rgb: 3, 91, 88;
- --spectrum-seafoam-400: rgba(var(--spectrum-seafoam-400-rgb));
- --spectrum-seafoam-500-rgb: 0, 108, 104;
- --spectrum-seafoam-500: rgba(var(--spectrum-seafoam-500-rgb));
- --spectrum-seafoam-600-rgb: 0, 127, 121;
- --spectrum-seafoam-600: rgba(var(--spectrum-seafoam-600-rgb));
- --spectrum-seafoam-700-rgb: 0, 146, 140;
- --spectrum-seafoam-700: rgba(var(--spectrum-seafoam-700-rgb));
- --spectrum-seafoam-800-rgb: 0, 165, 159;
- --spectrum-seafoam-800: rgba(var(--spectrum-seafoam-800-rgb));
- --spectrum-seafoam-900-rgb: 26, 185, 178;
- --spectrum-seafoam-900: rgba(var(--spectrum-seafoam-900-rgb));
- --spectrum-seafoam-1000-rgb: 66, 202, 195;
- --spectrum-seafoam-1000: rgba(var(--spectrum-seafoam-1000-rgb));
- --spectrum-seafoam-1100-rgb: 102, 218, 211;
- --spectrum-seafoam-1100: rgba(var(--spectrum-seafoam-1100-rgb));
- --spectrum-seafoam-1200-rgb: 139, 232, 225;
- --spectrum-seafoam-1200: rgba(var(--spectrum-seafoam-1200-rgb));
- --spectrum-seafoam-1300-rgb: 179, 242, 237;
- --spectrum-seafoam-1300: rgba(var(--spectrum-seafoam-1300-rgb));
- --spectrum-seafoam-1400-rgb: 215, 248, 244;
- --spectrum-seafoam-1400: rgba(var(--spectrum-seafoam-1400-rgb));
- --spectrum-cyan-100-rgb: 0, 41, 68;
- --spectrum-cyan-100: rgba(var(--spectrum-cyan-100-rgb));
- --spectrum-cyan-200-rgb: 0, 54, 88;
- --spectrum-cyan-200: rgba(var(--spectrum-cyan-200-rgb));
- --spectrum-cyan-300-rgb: 0, 69, 108;
- --spectrum-cyan-300: rgba(var(--spectrum-cyan-300-rgb));
- --spectrum-cyan-400-rgb: 0, 86, 128;
- --spectrum-cyan-400: rgba(var(--spectrum-cyan-400-rgb));
- --spectrum-cyan-500-rgb: 0, 103, 147;
- --spectrum-cyan-500: rgba(var(--spectrum-cyan-500-rgb));
- --spectrum-cyan-600-rgb: 0, 121, 167;
- --spectrum-cyan-600: rgba(var(--spectrum-cyan-600-rgb));
- --spectrum-cyan-700-rgb: 0, 140, 186;
- --spectrum-cyan-700: rgba(var(--spectrum-cyan-700-rgb));
- --spectrum-cyan-800-rgb: 4, 160, 205;
- --spectrum-cyan-800: rgba(var(--spectrum-cyan-800-rgb));
- --spectrum-cyan-900-rgb: 23, 180, 221;
- --spectrum-cyan-900: rgba(var(--spectrum-cyan-900-rgb));
- --spectrum-cyan-1000-rgb: 57, 199, 234;
- --spectrum-cyan-1000: rgba(var(--spectrum-cyan-1000-rgb));
- --spectrum-cyan-1100-rgb: 96, 216, 243;
- --spectrum-cyan-1100: rgba(var(--spectrum-cyan-1100-rgb));
- --spectrum-cyan-1200-rgb: 134, 230, 250;
- --spectrum-cyan-1200: rgba(var(--spectrum-cyan-1200-rgb));
- --spectrum-cyan-1300-rgb: 170, 242, 255;
- --spectrum-cyan-1300: rgba(var(--spectrum-cyan-1300-rgb));
- --spectrum-cyan-1400-rgb: 206, 249, 255;
- --spectrum-cyan-1400: rgba(var(--spectrum-cyan-1400-rgb));
- --spectrum-indigo-100-rgb: 26, 29, 97;
- --spectrum-indigo-100: rgba(var(--spectrum-indigo-100-rgb));
- --spectrum-indigo-200-rgb: 35, 39, 125;
- --spectrum-indigo-200: rgba(var(--spectrum-indigo-200-rgb));
- --spectrum-indigo-300-rgb: 46, 50, 158;
- --spectrum-indigo-300: rgba(var(--spectrum-indigo-300-rgb));
- --spectrum-indigo-400-rgb: 58, 63, 189;
- --spectrum-indigo-400: rgba(var(--spectrum-indigo-400-rgb));
- --spectrum-indigo-500-rgb: 73, 78, 216;
- --spectrum-indigo-500: rgba(var(--spectrum-indigo-500-rgb));
- --spectrum-indigo-600-rgb: 90, 96, 235;
- --spectrum-indigo-600: rgba(var(--spectrum-indigo-600-rgb));
- --spectrum-indigo-700-rgb: 110, 115, 246;
- --spectrum-indigo-700: rgba(var(--spectrum-indigo-700-rgb));
- --spectrum-indigo-800-rgb: 132, 136, 253;
- --spectrum-indigo-800: rgba(var(--spectrum-indigo-800-rgb));
- --spectrum-indigo-900-rgb: 153, 157, 255;
- --spectrum-indigo-900: rgba(var(--spectrum-indigo-900-rgb));
- --spectrum-indigo-1000-rgb: 174, 177, 255;
- --spectrum-indigo-1000: rgba(var(--spectrum-indigo-1000-rgb));
- --spectrum-indigo-1100-rgb: 194, 196, 255;
- --spectrum-indigo-1100: rgba(var(--spectrum-indigo-1100-rgb));
- --spectrum-indigo-1200-rgb: 212, 213, 255;
- --spectrum-indigo-1200: rgba(var(--spectrum-indigo-1200-rgb));
- --spectrum-indigo-1300-rgb: 227, 228, 255;
- --spectrum-indigo-1300: rgba(var(--spectrum-indigo-1300-rgb));
- --spectrum-indigo-1400-rgb: 240, 240, 255;
- --spectrum-indigo-1400: rgba(var(--spectrum-indigo-1400-rgb));
- --spectrum-purple-100-rgb: 50, 16, 104;
- --spectrum-purple-100: rgba(var(--spectrum-purple-100-rgb));
- --spectrum-purple-200-rgb: 67, 13, 140;
- --spectrum-purple-200: rgba(var(--spectrum-purple-200-rgb));
- --spectrum-purple-300-rgb: 86, 16, 173;
- --spectrum-purple-300: rgba(var(--spectrum-purple-300-rgb));
- --spectrum-purple-400-rgb: 106, 29, 200;
- --spectrum-purple-400: rgba(var(--spectrum-purple-400-rgb));
- --spectrum-purple-500-rgb: 126, 49, 222;
- --spectrum-purple-500: rgba(var(--spectrum-purple-500-rgb));
- --spectrum-purple-600-rgb: 145, 70, 236;
- --spectrum-purple-600: rgba(var(--spectrum-purple-600-rgb));
- --spectrum-purple-700-rgb: 162, 94, 246;
- --spectrum-purple-700: rgba(var(--spectrum-purple-700-rgb));
- --spectrum-purple-800-rgb: 178, 119, 250;
- --spectrum-purple-800: rgba(var(--spectrum-purple-800-rgb));
- --spectrum-purple-900-rgb: 192, 143, 252;
- --spectrum-purple-900: rgba(var(--spectrum-purple-900-rgb));
- --spectrum-purple-1000-rgb: 206, 166, 253;
- --spectrum-purple-1000: rgba(var(--spectrum-purple-1000-rgb));
- --spectrum-purple-1100-rgb: 219, 188, 254;
- --spectrum-purple-1100: rgba(var(--spectrum-purple-1100-rgb));
- --spectrum-purple-1200-rgb: 230, 207, 255;
- --spectrum-purple-1200: rgba(var(--spectrum-purple-1200-rgb));
- --spectrum-purple-1300-rgb: 240, 224, 255;
- --spectrum-purple-1300: rgba(var(--spectrum-purple-1300-rgb));
- --spectrum-purple-1400-rgb: 248, 237, 255;
- --spectrum-purple-1400: rgba(var(--spectrum-purple-1400-rgb));
- --spectrum-fuchsia-100-rgb: 70, 14, 68;
- --spectrum-fuchsia-100: rgba(var(--spectrum-fuchsia-100-rgb));
- --spectrum-fuchsia-200-rgb: 93, 9, 92;
- --spectrum-fuchsia-200: rgba(var(--spectrum-fuchsia-200-rgb));
- --spectrum-fuchsia-300-rgb: 120, 0, 120;
- --spectrum-fuchsia-300: rgba(var(--spectrum-fuchsia-300-rgb));
- --spectrum-fuchsia-400-rgb: 146, 0, 147;
- --spectrum-fuchsia-400: rgba(var(--spectrum-fuchsia-400-rgb));
- --spectrum-fuchsia-500-rgb: 169, 19, 170;
- --spectrum-fuchsia-500: rgba(var(--spectrum-fuchsia-500-rgb));
- --spectrum-fuchsia-600-rgb: 191, 43, 191;
- --spectrum-fuchsia-600: rgba(var(--spectrum-fuchsia-600-rgb));
- --spectrum-fuchsia-700-rgb: 211, 65, 213;
- --spectrum-fuchsia-700: rgba(var(--spectrum-fuchsia-700-rgb));
- --spectrum-fuchsia-800-rgb: 228, 91, 229;
- --spectrum-fuchsia-800: rgba(var(--spectrum-fuchsia-800-rgb));
- --spectrum-fuchsia-900-rgb: 239, 120, 238;
- --spectrum-fuchsia-900: rgba(var(--spectrum-fuchsia-900-rgb));
- --spectrum-fuchsia-1000-rgb: 246, 149, 243;
- --spectrum-fuchsia-1000: rgba(var(--spectrum-fuchsia-1000-rgb));
- --spectrum-fuchsia-1100-rgb: 251, 175, 246;
- --spectrum-fuchsia-1100: rgba(var(--spectrum-fuchsia-1100-rgb));
- --spectrum-fuchsia-1200-rgb: 254, 199, 248;
- --spectrum-fuchsia-1200: rgba(var(--spectrum-fuchsia-1200-rgb));
- --spectrum-fuchsia-1300-rgb: 255, 220, 250;
- --spectrum-fuchsia-1300: rgba(var(--spectrum-fuchsia-1300-rgb));
- --spectrum-fuchsia-1400-rgb: 255, 235, 252;
- --spectrum-fuchsia-1400: rgba(var(--spectrum-fuchsia-1400-rgb));
- --spectrum-magenta-100-rgb: 83, 3, 41;
- --spectrum-magenta-100: rgba(var(--spectrum-magenta-100-rgb));
- --spectrum-magenta-200-rgb: 106, 0, 52;
- --spectrum-magenta-200: rgba(var(--spectrum-magenta-200-rgb));
- --spectrum-magenta-300-rgb: 133, 0, 65;
- --spectrum-magenta-300: rgba(var(--spectrum-magenta-300-rgb));
- --spectrum-magenta-400-rgb: 161, 0, 78;
- --spectrum-magenta-400: rgba(var(--spectrum-magenta-400-rgb));
- --spectrum-magenta-500-rgb: 186, 22, 93;
- --spectrum-magenta-500: rgba(var(--spectrum-magenta-500-rgb));
- --spectrum-magenta-600-rgb: 209, 43, 114;
- --spectrum-magenta-600: rgba(var(--spectrum-magenta-600-rgb));
- --spectrum-magenta-700-rgb: 227, 69, 137;
- --spectrum-magenta-700: rgba(var(--spectrum-magenta-700-rgb));
- --spectrum-magenta-800-rgb: 241, 97, 156;
- --spectrum-magenta-800: rgba(var(--spectrum-magenta-800-rgb));
- --spectrum-magenta-900-rgb: 252, 124, 173;
- --spectrum-magenta-900: rgba(var(--spectrum-magenta-900-rgb));
- --spectrum-magenta-1000-rgb: 255, 152, 191;
- --spectrum-magenta-1000: rgba(var(--spectrum-magenta-1000-rgb));
- --spectrum-magenta-1100-rgb: 255, 179, 207;
- --spectrum-magenta-1100: rgba(var(--spectrum-magenta-1100-rgb));
- --spectrum-magenta-1200-rgb: 255, 202, 221;
- --spectrum-magenta-1200: rgba(var(--spectrum-magenta-1200-rgb));
- --spectrum-magenta-1300-rgb: 255, 221, 233;
- --spectrum-magenta-1300: rgba(var(--spectrum-magenta-1300-rgb));
- --spectrum-magenta-1400-rgb: 255, 236, 243;
- --spectrum-magenta-1400: rgba(var(--spectrum-magenta-1400-rgb));
- --spectrum-icon-color-blue-primary-default: var(--spectrum-blue-800);
- --spectrum-icon-color-green-primary-default: var(--spectrum-green-800);
- --spectrum-icon-color-red-primary-default: var(--spectrum-red-700);
- --spectrum-icon-color-yellow-primary-default: var(--spectrum-yellow-1000);
-}
-.spectrum {
- --spectrum-focus-indicator-color: var(--spectrum-blue-800);
- --spectrum-static-white-focus-indicator-color: var(--spectrum-white);
- --spectrum-static-black-focus-indicator-color: var(--spectrum-black);
- --spectrum-overlay-color: var(--spectrum-black);
- --spectrum-opacity-disabled: 0.3;
- --spectrum-neutral-subdued-content-color-selected: var(--spectrum-neutral-subdued-content-color-down);
- --spectrum-accent-content-color-selected: var(--spectrum-accent-content-color-down);
- --spectrum-disabled-background-color: var(--spectrum-gray-200);
- --spectrum-disabled-static-white-background-color: var(--spectrum-transparent-white-200);
- --spectrum-disabled-static-black-background-color: var(--spectrum-transparent-black-200);
- --spectrum-background-opacity-default: 0;
- --spectrum-background-opacity-hover: 0.1;
- --spectrum-background-opacity-down: 0.1;
- --spectrum-background-opacity-key-focus: 0.1;
- --spectrum-neutral-content-color-default: var(--spectrum-gray-800);
- --spectrum-neutral-content-color-hover: var(--spectrum-gray-900);
- --spectrum-neutral-content-color-down: var(--spectrum-gray-900);
- --spectrum-neutral-content-color-focus-hover: var(--spectrum-neutral-content-color-down);
- --spectrum-neutral-content-color-focus: var(--spectrum-neutral-content-color-down);
- --spectrum-neutral-content-color-key-focus: var(--spectrum-gray-900);
- --spectrum-neutral-subdued-content-color-default: var(--spectrum-gray-700);
- --spectrum-neutral-subdued-content-color-hover: var(--spectrum-gray-800);
- --spectrum-neutral-subdued-content-color-down: var(--spectrum-gray-900);
- --spectrum-neutral-subdued-content-color-key-focus: var(--spectrum-gray-800);
- --spectrum-accent-content-color-default: var(--spectrum-accent-color-900);
- --spectrum-accent-content-color-hover: var(--spectrum-accent-color-1000);
- --spectrum-accent-content-color-down: var(--spectrum-accent-color-1100);
- --spectrum-accent-content-color-key-focus: var(--spectrum-accent-color-1000);
- --spectrum-negative-content-color-default: var(--spectrum-negative-color-900);
- --spectrum-negative-content-color-hover: var(--spectrum-negative-color-1000);
- --spectrum-negative-content-color-down: var(--spectrum-negative-color-1100);
- --spectrum-negative-content-color-key-focus: var(--spectrum-negative-color-1000);
- --spectrum-disabled-content-color: var(--spectrum-gray-400);
- --spectrum-disabled-static-white-content-color: var(--spectrum-transparent-white-500);
- --spectrum-disabled-static-black-content-color: var(--spectrum-transparent-black-500);
- --spectrum-disabled-border-color: var(--spectrum-gray-300);
- --spectrum-disabled-static-white-border-color: var(--spectrum-transparent-white-300);
- --spectrum-disabled-static-black-border-color: var(--spectrum-transparent-black-300);
- --spectrum-negative-border-color-default: var(--spectrum-negative-color-900);
- --spectrum-negative-border-color-hover: var(--spectrum-negative-color-1000);
- --spectrum-negative-border-color-down: var(--spectrum-negative-color-1100);
- --spectrum-negative-border-color-focus-hover: var(--spectrum-negative-border-color-down);
- --spectrum-negative-border-color-focus: var(--spectrum-negative-color-1000);
- --spectrum-negative-border-color-key-focus: var(--spectrum-negative-color-1000);
- --spectrum-swatch-border-color: var(--spectrum-gray-900);
- --spectrum-swatch-border-opacity: 0.51;
- --spectrum-swatch-disabled-icon-border-color: var(--spectrum-black);
- --spectrum-swatch-disabled-icon-border-opacity: 0.51;
- --spectrum-thumbnail-border-color: var(--spectrum-gray-800);
- --spectrum-thumbnail-border-opacity: 0.1;
- --spectrum-thumbnail-opacity-disabled: var(--spectrum-opacity-disabled);
- --spectrum-opacity-checkerboard-square-light: var(--spectrum-white);
- --spectrum-avatar-opacity-disabled: var(--spectrum-opacity-disabled);
- --spectrum-color-area-border-color: var(--spectrum-gray-900);
- --spectrum-color-area-border-opacity: 0.1;
- --spectrum-color-slider-border-color: var(--spectrum-gray-900);
- --spectrum-color-slider-border-opacity: 0.1;
- --spectrum-color-loupe-drop-shadow-color: var(--spectrum-transparent-black-300);
- --spectrum-color-loupe-inner-border: var(--spectrum-transparent-black-200);
- --spectrum-color-loupe-outer-border: var(--spectrum-white);
- --spectrum-card-selection-background-color: var(--spectrum-gray-100);
- --spectrum-card-selection-background-color-opacity: 0.95;
- --spectrum-drop-zone-background-color: var(--spectrum-accent-visual-color);
- --spectrum-drop-zone-background-color-opacity: 0.1;
- --spectrum-drop-zone-background-color-opacity-filled: 0.3;
- --spectrum-coach-mark-pagination-color: var(--spectrum-gray-600);
- --spectrum-color-handle-inner-border-color: var(--spectrum-black);
- --spectrum-color-handle-inner-border-opacity: 0.42;
- --spectrum-color-handle-outer-border-color: var(--spectrum-black);
- --spectrum-color-handle-outer-border-opacity: var(--spectrum-color-handle-inner-border-opacity);
- --spectrum-color-handle-drop-shadow-color: var(--spectrum-drop-shadow-color);
- --spectrum-floating-action-button-drop-shadow-color: var(--spectrum-transparent-black-300);
- --spectrum-floating-action-button-shadow-color: var(--spectrum-floating-action-button-drop-shadow-color);
- --spectrum-table-row-hover-color: var(--spectrum-gray-900);
- --spectrum-table-row-hover-opacity: 0.07;
- --spectrum-table-selected-row-background-color: var(--spectrum-informative-background-color-default);
- --spectrum-table-selected-row-background-opacity: 0.1;
- --spectrum-table-selected-row-background-color-non-emphasized: var(--spectrum-neutral-background-color-selected-default);
- --spectrum-table-selected-row-background-opacity-non-emphasized: 0.1;
- --spectrum-table-row-down-opacity: 0.1;
- --spectrum-table-selected-row-background-opacity-hover: 0.15;
- --spectrum-table-selected-row-background-opacity-non-emphasized-hover: 0.15;
- --spectrum-white-rgb: 255, 255, 255;
- --spectrum-white: rgba(var(--spectrum-white-rgb));
- --spectrum-transparent-white-100-rgb: 255, 255, 255;
- --spectrum-transparent-white-100-opacity: 0;
- --spectrum-transparent-white-100: rgba(var(--spectrum-transparent-white-100-rgb), var(--spectrum-transparent-white-100-opacity));
- --spectrum-transparent-white-200-rgb: 255, 255, 255;
- --spectrum-transparent-white-200-opacity: 0.1;
- --spectrum-transparent-white-200: rgba(var(--spectrum-transparent-white-200-rgb), var(--spectrum-transparent-white-200-opacity));
- --spectrum-transparent-white-300-rgb: 255, 255, 255;
- --spectrum-transparent-white-300-opacity: 0.25;
- --spectrum-transparent-white-300: rgba(var(--spectrum-transparent-white-300-rgb), var(--spectrum-transparent-white-300-opacity));
- --spectrum-transparent-white-400-rgb: 255, 255, 255;
- --spectrum-transparent-white-400-opacity: 0.4;
- --spectrum-transparent-white-400: rgba(var(--spectrum-transparent-white-400-rgb), var(--spectrum-transparent-white-400-opacity));
- --spectrum-transparent-white-500-rgb: 255, 255, 255;
- --spectrum-transparent-white-500-opacity: 0.55;
- --spectrum-transparent-white-500: rgba(var(--spectrum-transparent-white-500-rgb), var(--spectrum-transparent-white-500-opacity));
- --spectrum-transparent-white-600-rgb: 255, 255, 255;
- --spectrum-transparent-white-600-opacity: 0.7;
- --spectrum-transparent-white-600: rgba(var(--spectrum-transparent-white-600-rgb), var(--spectrum-transparent-white-600-opacity));
- --spectrum-transparent-white-700-rgb: 255, 255, 255;
- --spectrum-transparent-white-700-opacity: 0.8;
- --spectrum-transparent-white-700: rgba(var(--spectrum-transparent-white-700-rgb), var(--spectrum-transparent-white-700-opacity));
- --spectrum-transparent-white-800-rgb: 255, 255, 255;
- --spectrum-transparent-white-800-opacity: 0.9;
- --spectrum-transparent-white-800: rgba(var(--spectrum-transparent-white-800-rgb), var(--spectrum-transparent-white-800-opacity));
- --spectrum-transparent-white-900-rgb: 255, 255, 255;
- --spectrum-transparent-white-900: rgba(var(--spectrum-transparent-white-900-rgb));
- --spectrum-black-rgb: 0, 0, 0;
- --spectrum-black: rgba(var(--spectrum-black-rgb));
- --spectrum-transparent-black-100-rgb: 0, 0, 0;
- --spectrum-transparent-black-100-opacity: 0;
- --spectrum-transparent-black-100: rgba(var(--spectrum-transparent-black-100-rgb), var(--spectrum-transparent-black-100-opacity));
- --spectrum-transparent-black-200-rgb: 0, 0, 0;
- --spectrum-transparent-black-200-opacity: 0.1;
- --spectrum-transparent-black-200: rgba(var(--spectrum-transparent-black-200-rgb), var(--spectrum-transparent-black-200-opacity));
- --spectrum-transparent-black-300-rgb: 0, 0, 0;
- --spectrum-transparent-black-300-opacity: 0.25;
- --spectrum-transparent-black-300: rgba(var(--spectrum-transparent-black-300-rgb), var(--spectrum-transparent-black-300-opacity));
- --spectrum-transparent-black-400-rgb: 0, 0, 0;
- --spectrum-transparent-black-400-opacity: 0.4;
- --spectrum-transparent-black-400: rgba(var(--spectrum-transparent-black-400-rgb), var(--spectrum-transparent-black-400-opacity));
- --spectrum-transparent-black-500-rgb: 0, 0, 0;
- --spectrum-transparent-black-500-opacity: 0.55;
- --spectrum-transparent-black-500: rgba(var(--spectrum-transparent-black-500-rgb), var(--spectrum-transparent-black-500-opacity));
- --spectrum-transparent-black-600-rgb: 0, 0, 0;
- --spectrum-transparent-black-600-opacity: 0.7;
- --spectrum-transparent-black-600: rgba(var(--spectrum-transparent-black-600-rgb), var(--spectrum-transparent-black-600-opacity));
- --spectrum-transparent-black-700-rgb: 0, 0, 0;
- --spectrum-transparent-black-700-opacity: 0.8;
- --spectrum-transparent-black-700: rgba(var(--spectrum-transparent-black-700-rgb), var(--spectrum-transparent-black-700-opacity));
- --spectrum-transparent-black-800-rgb: 0, 0, 0;
- --spectrum-transparent-black-800-opacity: 0.9;
- --spectrum-transparent-black-800: rgba(var(--spectrum-transparent-black-800-rgb), var(--spectrum-transparent-black-800-opacity));
- --spectrum-transparent-black-900-rgb: 0, 0, 0;
- --spectrum-transparent-black-900: rgba(var(--spectrum-transparent-black-900-rgb));
- --spectrum-icon-color-inverse: var(--spectrum-gray-50);
- --spectrum-icon-color-primary-default: var(--spectrum-neutral-content-color-default);
- --spectrum-asterisk-icon-size-75: 8px;
- --spectrum-radio-button-selection-indicator: 4px;
- --spectrum-field-label-top-margin-small: 0px;
- --spectrum-field-label-to-component: 0px;
- --spectrum-help-text-to-component: 0px;
- --spectrum-status-light-dot-size-small: 8px;
- --spectrum-action-button-edge-to-hold-icon-extra-small: 3px;
- --spectrum-action-button-edge-to-hold-icon-small: 3px;
- --spectrum-button-minimum-width-multiplier: 2.25;
- --spectrum-divider-thickness-small: 1px;
- --spectrum-divider-thickness-medium: 2px;
- --spectrum-divider-thickness-large: 4px;
- --spectrum-swatch-rectangle-width-multiplier: 2;
- --spectrum-swatch-slash-thickness-extra-small: 2px;
- --spectrum-swatch-slash-thickness-small: 3px;
- --spectrum-swatch-slash-thickness-medium: 4px;
- --spectrum-swatch-slash-thickness-large: 5px;
- --spectrum-progress-bar-minimum-width: 48px;
- --spectrum-progress-bar-maximum-width: 768px;
- --spectrum-meter-minimum-width: 48px;
- --spectrum-meter-maximum-width: 768px;
- --spectrum-meter-default-width: var(--spectrum-meter-width);
- --spectrum-in-line-alert-minimum-width: 240px;
- --spectrum-popover-tip-width: 16px;
- --spectrum-popover-tip-height: 8px;
- --spectrum-menu-item-label-to-description: 1px;
- --spectrum-menu-item-section-divider-height: 8px;
- --spectrum-picker-minimum-width-multiplier: 2;
- --spectrum-picker-end-edge-to-disclousure-icon-quiet: var(--spectrum-picker-end-edge-to-disclosure-icon-quiet);
- --spectrum-picker-end-edge-to-disclosure-icon-quiet: 0px;
- --spectrum-text-field-minimum-width-multiplier: 1.5;
- --spectrum-combo-box-minimum-width-multiplier: 2.5;
- --spectrum-combo-box-quiet-minimum-width-multiplier: 2;
- --spectrum-combo-box-visual-to-field-button-quiet: 0px;
- --spectrum-alert-dialog-minimum-width: 288px;
- --spectrum-alert-dialog-maximum-width: 480px;
- --spectrum-contextual-help-minimum-width: 268px;
- --spectrum-breadcrumbs-height: var(--spectrum-component-height-300);
- --spectrum-breadcrumbs-height-compact: var(--spectrum-component-height-200);
- --spectrum-breadcrumbs-end-edge-to-text: 0px;
- --spectrum-breadcrumbs-truncated-menu-to-separator-icon: 0px;
- --spectrum-breadcrumbs-start-edge-to-truncated-menu: 0px;
- --spectrum-breadcrumbs-truncated-menu-to-bottom-text: 0px;
- --spectrum-alert-banner-to-top-workflow-icon: var(--spectrum-alert-banner-top-to-workflow-icon);
- --spectrum-alert-banner-to-top-text: var(--spectrum-alert-banner-top-to-text);
- --spectrum-alert-banner-to-bottom-text: var(--spectrum-alert-banner-bottom-to-text);
- --spectrum-color-area-border-width: var(--spectrum-border-width-100);
- --spectrum-color-area-border-rounding: var(--spectrum-corner-radius-100);
- --spectrum-color-wheel-color-area-margin: 12px;
- --spectrum-color-slider-border-width: 1px;
- --spectrum-color-slider-border-rounding: 4px;
- --spectrum-floating-action-button-drop-shadow-blur: 12px;
- --spectrum-floating-action-button-drop-shadow-y: 4px;
- --spectrum-illustrated-message-maximum-width: 380px;
- --spectrum-search-field-minimum-width-multiplier: 3;
- --spectrum-color-loupe-height: 64px;
- --spectrum-color-loupe-width: 48px;
- --spectrum-color-loupe-bottom-to-color-handle: 12px;
- --spectrum-color-loupe-outer-border-width: var(--spectrum-border-width-200);
- --spectrum-color-loupe-inner-border-width: 1px;
- --spectrum-color-loupe-drop-shadow-y: 2px;
- --spectrum-color-loupe-drop-shadow-blur: 8px;
- --spectrum-card-minimum-width: 100px;
- --spectrum-card-preview-minimum-height: 130px;
- --spectrum-card-selection-background-size: 40px;
- --spectrum-drop-zone-width: 428px;
- --spectrum-drop-zone-content-maximum-width: var(--spectrum-illustrated-message-maximum-width);
- --spectrum-drop-zone-border-dash-length: 8px;
- --spectrum-drop-zone-border-dash-gap: 4px;
- --spectrum-drop-zone-title-size: var(--spectrum-illustrated-message-title-size);
- --spectrum-drop-zone-cjk-title-size: var(--spectrum-illustrated-message-cjk-title-size);
- --spectrum-drop-zone-body-size: var(--spectrum-illustrated-message-body-size);
- --spectrum-accordion-top-to-text-compact-small: 2px;
- --spectrum-accordion-top-to-text-compact-medium: 4px;
- --spectrum-accordion-disclosure-indicator-to-text: 0px;
- --spectrum-accordion-edge-to-disclosure-indicator: 0px;
- --spectrum-accordion-edge-to-text: 0px;
- --spectrum-accordion-focus-indicator-gap: 0px;
- --spectrum-color-handle-border-width: var(--spectrum-border-width-200);
- --spectrum-color-handle-inner-border-width: 1px;
- --spectrum-color-handle-outer-border-width: 1px;
- --spectrum-color-handle-drop-shadow-x: 0;
- --spectrum-color-handle-drop-shadow-y: 0;
- --spectrum-color-handle-drop-shadow-blur: 0;
- --spectrum-table-row-height-small-compact: var(--spectrum-component-height-75);
- --spectrum-table-row-height-medium-compact: var(--spectrum-component-height-100);
- --spectrum-table-row-height-large-compact: var(--spectrum-component-height-200);
- --spectrum-table-row-height-extra-large-compact: var(--spectrum-component-height-300);
- --spectrum-table-row-top-to-text-small-compact: var(--spectrum-component-top-to-text-75);
- --spectrum-table-row-top-to-text-medium-compact: var(--spectrum-component-top-to-text-100);
- --spectrum-table-row-top-to-text-large-compact: var(--spectrum-component-top-to-text-200);
- --spectrum-table-row-top-to-text-extra-large-compact: var(--spectrum-component-top-to-text-300);
- --spectrum-table-row-bottom-to-text-small-compact: var(--spectrum-component-bottom-to-text-75);
- --spectrum-table-row-bottom-to-text-medium-compact: var(--spectrum-component-bottom-to-text-100);
- --spectrum-table-row-bottom-to-text-large-compact: var(--spectrum-component-bottom-to-text-200);
- --spectrum-table-row-bottom-to-text-extra-large-compact: var(--spectrum-component-bottom-to-text-300);
- --spectrum-table-edge-to-content: 16px;
- --spectrum-table-border-divider-width: 1px;
- --spectrum-tab-item-height-small: var(--spectrum-component-height-200);
- --spectrum-tab-item-height-medium: var(--spectrum-component-height-300);
- --spectrum-tab-item-height-large: var(--spectrum-component-height-400);
- --spectrum-tab-item-height-extra-large: var(--spectrum-component-height-500);
- --spectrum-tab-item-compact-height-small: var(--spectrum-component-height-75);
- --spectrum-tab-item-compact-height-medium: var(--spectrum-component-height-100);
- --spectrum-tab-item-compact-height-large: var(--spectrum-component-height-200);
- --spectrum-tab-item-compact-height-extra-large: var(--spectrum-component-height-300);
- --spectrum-tab-item-start-to-edge-quiet: 0px;
- --spectrum-in-field-button-width-stacked-small: 20px;
- --spectrum-in-field-button-width-stacked-medium: 28px;
- --spectrum-in-field-button-width-stacked-large: 36px;
- --spectrum-in-field-button-width-stacked-extra-large: 44px;
- --spectrum-in-field-button-edge-to-disclosure-icon-stacked-small: 7px;
- --spectrum-in-field-button-edge-to-disclosure-icon-stacked-medium: 9px;
- --spectrum-in-field-button-edge-to-disclosure-icon-stacked-large: 13px;
- --spectrum-in-field-button-edge-to-disclosure-icon-stacked-extra-large: 16px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small: 3px;
- --spectrum-android-elevation: 2dp;
- --spectrum-spacing-50: 2px;
- --spectrum-spacing-75: 4px;
- --spectrum-spacing-100: 8px;
- --spectrum-spacing-200: 12px;
- --spectrum-spacing-300: 16px;
- --spectrum-spacing-400: 24px;
- --spectrum-spacing-500: 32px;
- --spectrum-spacing-600: 40px;
- --spectrum-spacing-700: 48px;
- --spectrum-spacing-800: 64px;
- --spectrum-spacing-900: 80px;
- --spectrum-spacing-1000: 96px;
- --spectrum-focus-indicator-thickness: 2px;
- --spectrum-focus-indicator-gap: 2px;
- --spectrum-border-width-200: 2px;
- --spectrum-border-width-400: 4px;
- --spectrum-field-edge-to-text-quiet: 0px;
- --spectrum-field-edge-to-visual-quiet: 0px;
- --spectrum-field-edge-to-border-quiet: 0px;
- --spectrum-field-edge-to-alert-icon-quiet: 0px;
- --spectrum-field-edge-to-validation-icon-quiet: 0px;
- --spectrum-text-underline-thickness: 1px;
- --spectrum-text-underline-gap: 1px;
- --spectrum-informative-color-100: var(--spectrum-blue-100);
- --spectrum-informative-color-200: var(--spectrum-blue-200);
- --spectrum-informative-color-300: var(--spectrum-blue-300);
- --spectrum-informative-color-400: var(--spectrum-blue-400);
- --spectrum-informative-color-500: var(--spectrum-blue-500);
- --spectrum-informative-color-600: var(--spectrum-blue-600);
- --spectrum-informative-color-700: var(--spectrum-blue-700);
- --spectrum-informative-color-800: var(--spectrum-blue-800);
- --spectrum-informative-color-900: var(--spectrum-blue-900);
- --spectrum-informative-color-1000: var(--spectrum-blue-1000);
- --spectrum-informative-color-1100: var(--spectrum-blue-1100);
- --spectrum-informative-color-1200: var(--spectrum-blue-1200);
- --spectrum-informative-color-1300: var(--spectrum-blue-1300);
- --spectrum-informative-color-1400: var(--spectrum-blue-1400);
- --spectrum-negative-color-100: var(--spectrum-red-100);
- --spectrum-negative-color-200: var(--spectrum-red-200);
- --spectrum-negative-color-300: var(--spectrum-red-300);
- --spectrum-negative-color-400: var(--spectrum-red-400);
- --spectrum-negative-color-500: var(--spectrum-red-500);
- --spectrum-negative-color-600: var(--spectrum-red-600);
- --spectrum-negative-color-700: var(--spectrum-red-700);
- --spectrum-negative-color-800: var(--spectrum-red-800);
- --spectrum-negative-color-900: var(--spectrum-red-900);
- --spectrum-negative-color-1000: var(--spectrum-red-1000);
- --spectrum-negative-color-1100: var(--spectrum-red-1100);
- --spectrum-negative-color-1200: var(--spectrum-red-1200);
- --spectrum-negative-color-1300: var(--spectrum-red-1300);
- --spectrum-negative-color-1400: var(--spectrum-red-1400);
- --spectrum-notice-color-100: var(--spectrum-orange-100);
- --spectrum-notice-color-200: var(--spectrum-orange-200);
- --spectrum-notice-color-300: var(--spectrum-orange-300);
- --spectrum-notice-color-400: var(--spectrum-orange-400);
- --spectrum-notice-color-500: var(--spectrum-orange-500);
- --spectrum-notice-color-600: var(--spectrum-orange-600);
- --spectrum-notice-color-700: var(--spectrum-orange-700);
- --spectrum-notice-color-800: var(--spectrum-orange-800);
- --spectrum-notice-color-900: var(--spectrum-orange-900);
- --spectrum-notice-color-1000: var(--spectrum-orange-1000);
- --spectrum-notice-color-1100: var(--spectrum-orange-1100);
- --spectrum-notice-color-1200: var(--spectrum-orange-1200);
- --spectrum-notice-color-1300: var(--spectrum-orange-1300);
- --spectrum-notice-color-1400: var(--spectrum-orange-1400);
- --spectrum-positive-color-100: var(--spectrum-green-100);
- --spectrum-positive-color-200: var(--spectrum-green-200);
- --spectrum-positive-color-300: var(--spectrum-green-300);
- --spectrum-positive-color-400: var(--spectrum-green-400);
- --spectrum-positive-color-500: var(--spectrum-green-500);
- --spectrum-positive-color-600: var(--spectrum-green-600);
- --spectrum-positive-color-700: var(--spectrum-green-700);
- --spectrum-positive-color-800: var(--spectrum-green-800);
- --spectrum-positive-color-900: var(--spectrum-green-900);
- --spectrum-positive-color-1000: var(--spectrum-green-1000);
- --spectrum-positive-color-1100: var(--spectrum-green-1100);
- --spectrum-positive-color-1200: var(--spectrum-green-1200);
- --spectrum-positive-color-1300: var(--spectrum-green-1300);
- --spectrum-positive-color-1400: var(--spectrum-green-1400);
- --spectrum-default-font-family: var(--spectrum-sans-serif-font-family);
- --spectrum-sans-serif-font-family: Adobe Clean;
- --spectrum-serif-font-family: Adobe Clean Serif;
- --spectrum-cjk-font-family: Adobe Clean Han;
- --spectrum-light-font-weight: 300;
- --spectrum-regular-font-weight: 400;
- --spectrum-medium-font-weight: 500;
- --spectrum-bold-font-weight: 700;
- --spectrum-extra-bold-font-weight: 800;
- --spectrum-black-font-weight: 900;
- --spectrum-italic-font-style: italic;
- --spectrum-default-font-style: normal;
- --spectrum-line-height-100: 1.3;
- --spectrum-line-height-200: 1.5;
- --spectrum-cjk-line-height-100: 1.5;
- --spectrum-cjk-line-height-200: 1.7;
- --spectrum-cjk-letter-spacing: 0.05em;
- --spectrum-heading-sans-serif-font-family: var(--spectrum-sans-serif-font-family);
- --spectrum-heading-serif-font-family: var(--spectrum-serif-font-family);
- --spectrum-heading-cjk-font-family: var(--spectrum-cjk-font-family);
- --spectrum-heading-sans-serif-light-font-weight: var(--spectrum-light-font-weight);
- --spectrum-heading-sans-serif-light-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-serif-light-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-heading-serif-light-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-cjk-light-font-weight: var(--spectrum-light-font-weight);
- --spectrum-heading-cjk-light-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-sans-serif-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-serif-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-cjk-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-sans-serif-heavy-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-sans-serif-heavy-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-serif-heavy-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-serif-heavy-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-cjk-heavy-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-cjk-heavy-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-sans-serif-light-strong-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-heading-sans-serif-light-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-serif-light-strong-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-heading-serif-light-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-cjk-light-strong-font-weight: var(--spectrum-extra-bold-font-weight);
- --spectrum-heading-cjk-light-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-sans-serif-strong-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-sans-serif-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-serif-strong-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-serif-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-cjk-strong-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-cjk-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-sans-serif-heavy-strong-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-sans-serif-heavy-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-serif-heavy-strong-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-serif-heavy-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-cjk-heavy-strong-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-cjk-heavy-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-sans-serif-light-emphasized-font-weight: var(--spectrum-light-font-weight);
- --spectrum-heading-sans-serif-light-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-heading-serif-light-emphasized-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-heading-serif-light-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-heading-cjk-light-emphasized-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-heading-cjk-light-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-sans-serif-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-heading-serif-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-heading-cjk-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-cjk-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-sans-serif-heavy-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-sans-serif-heavy-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-heading-serif-heavy-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-serif-heavy-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-heading-cjk-heavy-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-cjk-heavy-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-sans-serif-light-strong-emphasized-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-heading-sans-serif-light-strong-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-heading-serif-light-strong-emphasized-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-heading-serif-light-strong-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-heading-cjk-light-strong-emphasized-font-weight: var(--spectrum-extra-bold-font-weight);
- --spectrum-heading-cjk-light-strong-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-sans-serif-strong-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-sans-serif-strong-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-heading-serif-strong-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-serif-strong-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-heading-cjk-strong-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-cjk-strong-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-sans-serif-heavy-strong-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-sans-serif-heavy-strong-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-heading-serif-heavy-strong-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-serif-heavy-strong-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-heading-cjk-heavy-strong-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-cjk-heavy-strong-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-heading-size-xxxl: var(--spectrum-font-size-1300);
- --spectrum-heading-size-xxl: var(--spectrum-font-size-1100);
- --spectrum-heading-size-xl: var(--spectrum-font-size-900);
- --spectrum-heading-size-l: var(--spectrum-font-size-700);
- --spectrum-heading-size-m: var(--spectrum-font-size-500);
- --spectrum-heading-size-s: var(--spectrum-font-size-300);
- --spectrum-heading-size-xs: var(--spectrum-font-size-200);
- --spectrum-heading-size-xxs: var(--spectrum-font-size-100);
- --spectrum-heading-cjk-size-xxxl: var(--spectrum-font-size-1300);
- --spectrum-heading-cjk-size-xxl: var(--spectrum-font-size-900);
- --spectrum-heading-cjk-size-xl: var(--spectrum-font-size-800);
- --spectrum-heading-cjk-size-l: var(--spectrum-font-size-600);
- --spectrum-heading-cjk-size-m: var(--spectrum-font-size-400);
- --spectrum-heading-cjk-size-s: var(--spectrum-font-size-300);
- --spectrum-heading-cjk-size-xs: var(--spectrum-font-size-200);
- --spectrum-heading-cjk-size-xxs: var(--spectrum-font-size-100);
- --spectrum-heading-line-height: var(--spectrum-line-height-100);
- --spectrum-heading-cjk-line-height: var(--spectrum-cjk-line-height-100);
- --spectrum-heading-margin-top-multiplier: 0.88888889;
- --spectrum-heading-margin-bottom-multiplier: 0.25;
- --spectrum-heading-color: var(--spectrum-gray-900);
- --spectrum-body-sans-serif-font-family: var(--spectrum-sans-serif-font-family);
- --spectrum-body-serif-font-family: var(--spectrum-serif-font-family);
- --spectrum-body-cjk-font-family: var(--spectrum-cjk-font-family);
- --spectrum-body-sans-serif-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-body-sans-serif-font-style: var(--spectrum-default-font-style);
- --spectrum-body-serif-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-body-serif-font-style: var(--spectrum-default-font-style);
- --spectrum-body-cjk-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-body-cjk-font-style: var(--spectrum-default-font-style);
- --spectrum-body-sans-serif-strong-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-body-sans-serif-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-body-serif-strong-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-body-serif-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-body-cjk-strong-font-weight: var(--spectrum-black-font-weight);
- --spectrum-body-cjk-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-body-sans-serif-emphasized-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-body-sans-serif-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-body-serif-emphasized-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-body-serif-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-body-cjk-emphasized-font-weight: var(--spectrum-extra-bold-font-weight);
- --spectrum-body-cjk-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-body-sans-serif-strong-emphasized-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-body-sans-serif-strong-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-body-serif-strong-emphasized-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-body-serif-strong-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-body-cjk-strong-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-body-cjk-strong-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-body-size-xxxl: var(--spectrum-font-size-600);
- --spectrum-body-size-xxl: var(--spectrum-font-size-500);
- --spectrum-body-size-xl: var(--spectrum-font-size-400);
- --spectrum-body-size-l: var(--spectrum-font-size-300);
- --spectrum-body-size-m: var(--spectrum-font-size-200);
- --spectrum-body-size-s: var(--spectrum-font-size-100);
- --spectrum-body-size-xs: var(--spectrum-font-size-75);
- --spectrum-body-line-height: var(--spectrum-line-height-200);
- --spectrum-body-cjk-line-height: var(--spectrum-cjk-line-height-200);
- --spectrum-body-margin-multiplier: 0.75;
- --spectrum-body-color: var(--spectrum-gray-800);
- --spectrum-detail-sans-serif-font-family: var(--spectrum-sans-serif-font-family);
- --spectrum-detail-serif-font-family: var(--spectrum-serif-font-family);
- --spectrum-detail-cjk-font-family: var(--spectrum-cjk-font-family);
- --spectrum-detail-sans-serif-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-detail-sans-serif-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-serif-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-detail-serif-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-cjk-font-weight: var(--spectrum-extra-bold-font-weight);
- --spectrum-detail-cjk-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-sans-serif-light-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-detail-sans-serif-light-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-serif-light-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-detail-serif-light-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-cjk-light-font-weight: var(--spectrum-light-font-weight);
- --spectrum-detail-cjk-light-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-sans-serif-strong-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-detail-sans-serif-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-serif-strong-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-detail-serif-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-cjk-strong-font-weight: var(--spectrum-black-font-weight);
- --spectrum-detail-cjk-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-sans-serif-light-strong-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-detail-sans-serif-light-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-serif-light-strong-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-detail-serif-light-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-cjk-light-strong-font-weight: var(--spectrum-extra-bold-font-weight);
- --spectrum-detail-cjk-light-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-sans-serif-emphasized-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-detail-sans-serif-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-detail-serif-emphasized-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-detail-serif-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-detail-cjk-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-detail-cjk-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-sans-serif-light-emphasized-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-detail-sans-serif-light-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-detail-serif-light-emphasized-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-detail-serif-light-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-detail-cjk-light-emphasized-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-detail-cjk-light-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-sans-serif-strong-emphasized-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-detail-sans-serif-strong-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-detail-serif-strong-emphasized-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-detail-serif-strong-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-detail-cjk-strong-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-detail-cjk-strong-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-sans-serif-light-strong-emphasized-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-detail-sans-serif-light-strong-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-detail-serif-light-strong-emphasized-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-detail-serif-light-strong-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-detail-cjk-light-strong-emphasized-font-weight: var(--spectrum-extra-bold-font-weight);
- --spectrum-detail-cjk-light-strong-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-detail-size-xl: var(--spectrum-font-size-200);
- --spectrum-detail-size-l: var(--spectrum-font-size-100);
- --spectrum-detail-size-m: var(--spectrum-font-size-75);
- --spectrum-detail-size-s: var(--spectrum-font-size-50);
- --spectrum-detail-line-height: var(--spectrum-line-height-100);
- --spectrum-detail-cjk-line-height: var(--spectrum-cjk-line-height-100);
- --spectrum-detail-margin-top-multiplier: 0.88888889;
- --spectrum-detail-margin-bottom-multiplier: 0.25;
- --spectrum-detail-letter-spacing: 0.06em;
- --spectrum-detail-sans-serif-text-transform: uppercase;
- --spectrum-detail-serif-text-transform: uppercase;
- --spectrum-detail-color: var(--spectrum-gray-900);
- --spectrum-code-font-family: Source Code Pro;
- --spectrum-code-cjk-font-family: var(--spectrum-code-font-family);
- --spectrum-code-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-code-font-style: var(--spectrum-default-font-style);
- --spectrum-code-cjk-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-code-cjk-font-style: var(--spectrum-default-font-style);
- --spectrum-code-strong-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-code-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-code-cjk-strong-font-weight: var(--spectrum-black-font-weight);
- --spectrum-code-cjk-strong-font-style: var(--spectrum-default-font-style);
- --spectrum-code-emphasized-font-weight: var(--spectrum-regular-font-weight);
- --spectrum-code-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-code-cjk-emphasized-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-code-cjk-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-code-strong-emphasized-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-code-strong-emphasized-font-style: var(--spectrum-italic-font-style);
- --spectrum-code-cjk-strong-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-code-cjk-strong-emphasized-font-style: var(--spectrum-default-font-style);
- --spectrum-code-size-xl: var(--spectrum-font-size-400);
- --spectrum-code-size-l: var(--spectrum-font-size-300);
- --spectrum-code-size-m: var(--spectrum-font-size-200);
- --spectrum-code-size-s: var(--spectrum-font-size-100);
- --spectrum-code-size-xs: var(--spectrum-font-size-75);
- --spectrum-code-line-height: var(--spectrum-line-height-200);
- --spectrum-code-cjk-line-height: var(--spectrum-cjk-line-height-200);
- --spectrum-code-color: var(--spectrum-gray-800);
-}
-.spectrum--large {
- --spectrum-workflow-icon-size-50: 18px;
- --spectrum-workflow-icon-size-75: 20px;
- --spectrum-workflow-icon-size-100: 22px;
- --spectrum-workflow-icon-size-200: 24px;
- --spectrum-workflow-icon-size-300: 28px;
- --spectrum-arrow-icon-size-75: 12px;
- --spectrum-arrow-icon-size-100: 14px;
- --spectrum-arrow-icon-size-200: 16px;
- --spectrum-arrow-icon-size-300: 16px;
- --spectrum-arrow-icon-size-400: 18px;
- --spectrum-arrow-icon-size-500: 22px;
- --spectrum-arrow-icon-size-600: 24px;
- --spectrum-asterisk-icon-size-100: 10px;
- --spectrum-asterisk-icon-size-200: 12px;
- --spectrum-asterisk-icon-size-300: 12px;
- --spectrum-checkmark-icon-size-50: 12px;
- --spectrum-checkmark-icon-size-75: 12px;
- --spectrum-checkmark-icon-size-100: 14px;
- --spectrum-checkmark-icon-size-200: 14px;
- --spectrum-checkmark-icon-size-300: 16px;
- --spectrum-checkmark-icon-size-400: 18px;
- --spectrum-checkmark-icon-size-500: 20px;
- --spectrum-checkmark-icon-size-600: 24px;
- --spectrum-chevron-icon-size-50: 8px;
- --spectrum-chevron-icon-size-75: 12px;
- --spectrum-chevron-icon-size-100: 14px;
- --spectrum-chevron-icon-size-200: 14px;
- --spectrum-chevron-icon-size-300: 16px;
- --spectrum-chevron-icon-size-400: 18px;
- --spectrum-chevron-icon-size-500: 20px;
- --spectrum-chevron-icon-size-600: 24px;
- --spectrum-corner-triangle-icon-size-75: 6px;
- --spectrum-corner-triangle-icon-size-100: 7px;
- --spectrum-corner-triangle-icon-size-200: 8px;
- --spectrum-corner-triangle-icon-size-300: 8px;
- --spectrum-cross-icon-size-75: 10px;
- --spectrum-cross-icon-size-100: 10px;
- --spectrum-cross-icon-size-200: 12px;
- --spectrum-cross-icon-size-300: 14px;
- --spectrum-cross-icon-size-400: 16px;
- --spectrum-cross-icon-size-500: 16px;
- --spectrum-cross-icon-size-600: 18px;
- --spectrum-dash-icon-size-50: 10px;
- --spectrum-dash-icon-size-75: 10px;
- --spectrum-dash-icon-size-100: 12px;
- --spectrum-dash-icon-size-200: 14px;
- --spectrum-dash-icon-size-300: 16px;
- --spectrum-dash-icon-size-400: 18px;
- --spectrum-dash-icon-size-500: 20px;
- --spectrum-dash-icon-size-600: 22px;
- --spectrum-field-label-text-to-asterisk-small: 5px;
- --spectrum-field-label-text-to-asterisk-medium: 5px;
- --spectrum-field-label-text-to-asterisk-large: 6px;
- --spectrum-field-label-text-to-asterisk-extra-large: 6px;
- --spectrum-field-label-top-to-asterisk-small: 11px;
- --spectrum-field-label-top-to-asterisk-medium: 15px;
- --spectrum-field-label-top-to-asterisk-large: 19px;
- --spectrum-field-label-top-to-asterisk-extra-large: 24px;
- --spectrum-field-label-top-margin-medium: 5px;
- --spectrum-field-label-top-margin-large: 6px;
- --spectrum-field-label-top-margin-extra-large: 6px;
- --spectrum-field-label-to-component-quiet-small: -10px;
- --spectrum-field-label-to-component-quiet-medium: -10px;
- --spectrum-field-label-to-component-quiet-large: -15px;
- --spectrum-field-label-to-component-quiet-extra-large: -19px;
- --spectrum-help-text-top-to-workflow-icon-small: 5px;
- --spectrum-help-text-top-to-workflow-icon-medium: 4px;
- --spectrum-help-text-top-to-workflow-icon-large: 8px;
- --spectrum-help-text-top-to-workflow-icon-extra-large: 11px;
- --spectrum-status-light-dot-size-medium: 10px;
- --spectrum-status-light-dot-size-large: 12px;
- --spectrum-status-light-dot-size-extra-large: 12px;
- --spectrum-status-light-top-to-dot-small: 11px;
- --spectrum-status-light-top-to-dot-medium: 15px;
- --spectrum-status-light-top-to-dot-large: 19px;
- --spectrum-status-light-top-to-dot-extra-large: 24px;
- --spectrum-action-button-edge-to-hold-icon-medium: 5px;
- --spectrum-action-button-edge-to-hold-icon-large: 6px;
- --spectrum-action-button-edge-to-hold-icon-extra-large: 7px;
- --spectrum-tooltip-tip-width: 10px;
- --spectrum-tooltip-tip-height: 5px;
- --spectrum-tooltip-maximum-width: 200px;
- --spectrum-progress-circle-size-small: 20px;
- --spectrum-progress-circle-size-medium: 40px;
- --spectrum-progress-circle-size-large: 80px;
- --spectrum-progress-circle-thickness-small: 3px;
- --spectrum-progress-circle-thickness-medium: 4px;
- --spectrum-progress-circle-thickness-large: 5px;
- --spectrum-toast-height: 56px;
- --spectrum-toast-maximum-width: 420px;
- --spectrum-toast-top-to-workflow-icon: 17px;
- --spectrum-toast-top-to-text: 16px;
- --spectrum-toast-bottom-to-text: 19px;
- --spectrum-action-bar-height: 56px;
- --spectrum-action-bar-top-to-item-counter: 16px;
- --spectrum-swatch-size-extra-small: 20px;
- --spectrum-swatch-size-small: 30px;
- --spectrum-swatch-size-medium: 40px;
- --spectrum-swatch-size-large: 50px;
- --spectrum-progress-bar-thickness-small: 5px;
- --spectrum-progress-bar-thickness-medium: 8px;
- --spectrum-progress-bar-thickness-large: 10px;
- --spectrum-progress-bar-thickness-extra-large: 13px;
- --spectrum-meter-width: 240px;
- --spectrum-meter-thickness-small: 5px;
- --spectrum-meter-thickness-large: 8px;
- --spectrum-tag-top-to-avatar-small: 5px;
- --spectrum-tag-top-to-avatar-medium: 7px;
- --spectrum-tag-top-to-avatar-large: 11px;
- --spectrum-tag-top-to-cross-icon-small: 10px;
- --spectrum-tag-top-to-cross-icon-medium: 15px;
- --spectrum-tag-top-to-cross-icon-large: 19px;
- --spectrum-popover-top-to-content-area: 5px;
- --spectrum-menu-item-edge-to-content-not-selected-small: 24px;
- --spectrum-menu-item-edge-to-content-not-selected-medium: 42px;
- --spectrum-menu-item-edge-to-content-not-selected-large: 47px;
- --spectrum-menu-item-edge-to-content-not-selected-extra-large: 54px;
- --spectrum-menu-item-top-to-disclosure-icon-small: 9px;
- --spectrum-menu-item-top-to-disclosure-icon-medium: 13px;
- --spectrum-menu-item-top-to-disclosure-icon-large: 17px;
- --spectrum-menu-item-top-to-disclosure-icon-extra-large: 22px;
- --spectrum-menu-item-top-to-selected-icon-small: 9px;
- --spectrum-menu-item-top-to-selected-icon-medium: 13px;
- --spectrum-menu-item-top-to-selected-icon-large: 17px;
- --spectrum-menu-item-top-to-selected-icon-extra-large: 22px;
- --spectrum-slider-control-to-field-label-small: 6px;
- --spectrum-slider-control-to-field-label-medium: 10px;
- --spectrum-slider-control-to-field-label-large: 14px;
- --spectrum-slider-control-to-field-label-extra-large: 17px;
- --spectrum-picker-visual-to-disclosure-icon-small: 9px;
- --spectrum-picker-visual-to-disclosure-icon-medium: 10px;
- --spectrum-picker-visual-to-disclosure-icon-large: 11px;
- --spectrum-picker-visual-to-disclosure-icon-extra-large: 13px;
- --spectrum-text-area-minimum-width: 140px;
- --spectrum-text-area-minimum-height: 70px;
- --spectrum-combo-box-visual-to-field-button-small: 9px;
- --spectrum-combo-box-visual-to-field-button-medium: 10px;
- --spectrum-combo-box-visual-to-field-button-large: 11px;
- --spectrum-combo-box-visual-to-field-button-extra-large: 13px;
- --spectrum-thumbnail-size-50: 20px;
- --spectrum-thumbnail-size-75: 22px;
- --spectrum-thumbnail-size-100: 26px;
- --spectrum-thumbnail-size-200: 28px;
- --spectrum-thumbnail-size-300: 32px;
- --spectrum-thumbnail-size-400: 36px;
- --spectrum-thumbnail-size-500: 40px;
- --spectrum-thumbnail-size-600: 46px;
- --spectrum-thumbnail-size-700: 50px;
- --spectrum-thumbnail-size-800: 55px;
- --spectrum-thumbnail-size-900: 62px;
- --spectrum-thumbnail-size-1000: 70px;
- --spectrum-alert-dialog-title-size: var(--spectrum-heading-size-xs);
- --spectrum-alert-dialog-description-size: var(--spectrum-body-size-xs);
- --spectrum-opacity-checkerboard-square-size: 10px;
- --spectrum-contextual-help-title-size: var(--spectrum-heading-size-xxs);
- --spectrum-contextual-help-body-size: var(--spectrum-body-size-xs);
- --spectrum-breadcrumbs-height-multiline: 84px;
- --spectrum-breadcrumbs-top-to-text: 17px;
- --spectrum-breadcrumbs-top-to-text-compact: 16px;
- --spectrum-breadcrumbs-top-to-text-multiline: 15px;
- --spectrum-breadcrumbs-bottom-to-text: 19px;
- --spectrum-breadcrumbs-bottom-to-text-compact: 19px;
- --spectrum-breadcrumbs-bottom-to-text-multiline: 10px;
- --spectrum-breadcrumbs-start-edge-to-text: 9px;
- --spectrum-breadcrumbs-top-text-to-bottom-text: 11px;
- --spectrum-breadcrumbs-top-to-separator-icon: 25px;
- --spectrum-breadcrumbs-top-to-separator-icon-compact: 23px;
- --spectrum-breadcrumbs-top-to-separator-icon-multiline: 20px;
- --spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline: 15px;
- --spectrum-breadcrumbs-top-to-truncated-menu: 10px;
- --spectrum-breadcrumbs-top-to-truncated-menu-compact: 5px;
- --spectrum-avatar-size-50: 20px;
- --spectrum-avatar-size-75: 22px;
- --spectrum-avatar-size-100: 26px;
- --spectrum-avatar-size-200: 28px;
- --spectrum-avatar-size-300: 32px;
- --spectrum-avatar-size-400: 36px;
- --spectrum-avatar-size-500: 40px;
- --spectrum-avatar-size-600: 46px;
- --spectrum-avatar-size-700: 50px;
- --spectrum-alert-banner-minimum-height: 64px;
- --spectrum-alert-banner-width: 680px;
- --spectrum-alert-banner-top-to-workflow-icon: 21px;
- --spectrum-alert-banner-top-to-text: 21px;
- --spectrum-alert-banner-bottom-to-text: 22px;
- --spectrum-rating-indicator-width: 22px;
- --spectrum-rating-indicator-to-icon: 5px;
- --spectrum-color-area-width: 240px;
- --spectrum-color-area-minimum-width: 80px;
- --spectrum-color-area-height: 240px;
- --spectrum-color-area-minimum-height: 80px;
- --spectrum-color-wheel-width: 240px;
- --spectrum-color-wheel-minimum-width: 219px;
- --spectrum-color-slider-length: 240px;
- --spectrum-color-slider-minimum-length: 100px;
- --spectrum-illustrated-message-title-size: var(--spectrum-heading-size-s);
- --spectrum-illustrated-message-cjk-title-size: var(--spectrum-heading-cjk-size-s);
- --spectrum-illustrated-message-body-size: var(--spectrum-body-size-xs);
- --spectrum-coach-mark-width: 216px;
- --spectrum-coach-mark-minimum-width: 216px;
- --spectrum-coach-mark-maximum-width: 248px;
- --spectrum-coach-mark-edge-to-content: var(--spectrum-spacing-300);
- --spectrum-coach-mark-pagination-text-to-bottom-edge: 22px;
- --spectrum-coach-mark-media-height: 162px;
- --spectrum-coach-mark-media-minimum-height: 121px;
- --spectrum-coach-mark-title-size: var(--spectrum-heading-size-xxs);
- --spectrum-coach-mark-body-size: var(--spectrum-body-size-xs);
- --spectrum-coach-mark-pagination-body-size: var(--spectrum-body-size-xs);
- --spectrum-accordion-top-to-text-regular-small: 7px;
- --spectrum-accordion-small-top-to-text-spacious: 12px;
- --spectrum-accordion-top-to-text-regular-medium: 9px;
- --spectrum-accordion-top-to-text-spacious-medium: 14px;
- --spectrum-accordion-top-to-text-compact-large: 7px;
- --spectrum-accordion-top-to-text-regular-large: 12px;
- --spectrum-accordion-top-to-text-spacious-large: 14px;
- --spectrum-accordion-top-to-text-compact-extra-large: 7px;
- --spectrum-accordion-top-to-text-regular-extra-large: 12px;
- --spectrum-accordion-top-to-text-spacious-extra-large: 14px;
- --spectrum-accordion-bottom-to-text-compact-small: 4px;
- --spectrum-accordion-bottom-to-text-regular-small: 9px;
- --spectrum-accordion-bottom-to-text-spacious-small: 14px;
- --spectrum-accordion-bottom-to-text-compact-medium: 8px;
- --spectrum-accordion-bottom-to-text-regular-medium: 13px;
- --spectrum-accordion-bottom-to-text-spacious-medium: 18px;
- --spectrum-accordion-bottom-to-text-compact-large: 9px;
- --spectrum-accordion-bottom-to-text-regular-large: 14px;
- --spectrum-accordion-bottom-to-text-spacious-large: 19px;
- --spectrum-accordion-bottom-to-text-compact-extra-large: 10px;
- --spectrum-accordion-bottom-to-text-regular-extra-large: 15px;
- --spectrum-accordion-bottom-to-text-spacious-extra-large: 21px;
- --spectrum-accordion-minimum-width: 250px;
- --spectrum-accordion-content-area-top-to-content: 10px;
- --spectrum-accordion-content-area-bottom-to-content: 20px;
- --spectrum-color-handle-size: 20px;
- --spectrum-color-handle-size-key-focus: 40px;
- --spectrum-table-column-header-row-top-to-text-small: 10px;
- --spectrum-table-column-header-row-top-to-text-medium: 9px;
- --spectrum-table-column-header-row-top-to-text-large: 13px;
- --spectrum-table-column-header-row-top-to-text-extra-large: 16px;
- --spectrum-table-column-header-row-bottom-to-text-small: 11px;
- --spectrum-table-column-header-row-bottom-to-text-medium: 10px;
- --spectrum-table-column-header-row-bottom-to-text-large: 13px;
- --spectrum-table-column-header-row-bottom-to-text-extra-large: 17px;
- --spectrum-table-row-height-small-regular: 40px;
- --spectrum-table-row-height-medium-regular: 50px;
- --spectrum-table-row-height-large-regular: 60px;
- --spectrum-table-row-height-extra-large-regular: 70px;
- --spectrum-table-row-height-small-spacious: 50px;
- --spectrum-table-row-height-medium-spacious: 60px;
- --spectrum-table-row-height-large-spacious: 70px;
- --spectrum-table-row-height-extra-large-spacious: 80px;
- --spectrum-table-row-top-to-text-small-regular: 10px;
- --spectrum-table-row-top-to-text-medium-regular: 14px;
- --spectrum-table-row-top-to-text-large-regular: 18px;
- --spectrum-table-row-top-to-text-extra-large-regular: 21px;
- --spectrum-table-row-bottom-to-text-small-regular: 11px;
- --spectrum-table-row-bottom-to-text-medium-regular: 15px;
- --spectrum-table-row-bottom-to-text-large-regular: 18px;
- --spectrum-table-row-bottom-to-text-extra-large-regular: 22px;
- --spectrum-table-row-top-to-text-small-spacious: 15px;
- --spectrum-table-row-top-to-text-medium-spacious: 18px;
- --spectrum-table-row-top-to-text-large-spacious: 23px;
- --spectrum-table-row-top-to-text-extra-large-spacious: 26px;
- --spectrum-table-row-bottom-to-text-small-spacious: 16px;
- --spectrum-table-row-bottom-to-text-medium-spacious: 18px;
- --spectrum-table-row-bottom-to-text-large-spacious: 23px;
- --spectrum-table-row-bottom-to-text-extra-large-spacious: 27px;
- --spectrum-table-checkbox-to-text: 30px;
- --spectrum-table-header-row-checkbox-to-top-small: 14px;
- --spectrum-table-header-row-checkbox-to-top-medium: 13px;
- --spectrum-table-header-row-checkbox-to-top-large: 17px;
- --spectrum-table-header-row-checkbox-to-top-extra-large: 21px;
- --spectrum-table-row-checkbox-to-top-small-compact: 9px;
- --spectrum-table-row-checkbox-to-top-small-regular: 14px;
- --spectrum-table-row-checkbox-to-top-small-spacious: 19px;
- --spectrum-table-row-checkbox-to-top-medium-compact: 13px;
- --spectrum-table-row-checkbox-to-top-medium-regular: 18px;
- --spectrum-table-row-checkbox-to-top-medium-spacious: 23px;
- --spectrum-table-row-checkbox-to-top-large-compact: 17px;
- --spectrum-table-row-checkbox-to-top-large-regular: 22px;
- --spectrum-table-row-checkbox-to-top-large-spacious: 27px;
- --spectrum-table-row-checkbox-to-top-extra-large-compact: 21px;
- --spectrum-table-row-checkbox-to-top-extra-large-regular: 26px;
- --spectrum-table-row-checkbox-to-top-extra-large-spacious: 31px;
- --spectrum-table-section-header-row-height-small: 30px;
- --spectrum-table-section-header-row-height-medium: 40px;
- --spectrum-table-section-header-row-height-large: 50px;
- --spectrum-table-section-header-row-height-extra-large: 60px;
- --spectrum-table-thumbnail-to-top-minimum-small-compact: 5px;
- --spectrum-table-thumbnail-to-top-minimum-medium-compact: 6px;
- --spectrum-table-thumbnail-to-top-minimum-large-compact: 9px;
- --spectrum-table-thumbnail-to-top-minimum-extra-large-compact: 10px;
- --spectrum-table-thumbnail-to-top-minimum-small-regular: 6px;
- --spectrum-table-thumbnail-to-top-minimum-medium-regular: 9px;
- --spectrum-table-thumbnail-to-top-minimum-large-regular: 10px;
- --spectrum-table-thumbnail-to-top-minimum-extra-large-regular: 10px;
- --spectrum-table-thumbnail-to-top-minimum-small-spacious: 9px;
- --spectrum-table-thumbnail-to-top-minimum-medium-spacious: 10px;
- --spectrum-table-thumbnail-to-top-minimum-large-spacious: 10px;
- --spectrum-table-thumbnail-to-top-minimum-extra-large-spacious: 12px;
- --spectrum-tab-item-to-tab-item-horizontal-small: 27px;
- --spectrum-tab-item-to-tab-item-horizontal-medium: 30px;
- --spectrum-tab-item-to-tab-item-horizontal-large: 33px;
- --spectrum-tab-item-to-tab-item-horizontal-extra-large: 36px;
- --spectrum-tab-item-to-tab-item-vertical-small: 5px;
- --spectrum-tab-item-to-tab-item-vertical-medium: 5px;
- --spectrum-tab-item-to-tab-item-vertical-large: 6px;
- --spectrum-tab-item-to-tab-item-vertical-extra-large: 6px;
- --spectrum-tab-item-start-to-edge-small: 13px;
- --spectrum-tab-item-start-to-edge-medium: 15px;
- --spectrum-tab-item-start-to-edge-large: 17px;
- --spectrum-tab-item-start-to-edge-extra-large: 19px;
- --spectrum-tab-item-top-to-text-small: 14px;
- --spectrum-tab-item-bottom-to-text-small: 15px;
- --spectrum-tab-item-top-to-text-medium: 18px;
- --spectrum-tab-item-bottom-to-text-medium: 19px;
- --spectrum-tab-item-top-to-text-large: 22px;
- --spectrum-tab-item-bottom-to-text-large: 22px;
- --spectrum-tab-item-top-to-text-extra-large: 25px;
- --spectrum-tab-item-bottom-to-text-extra-large: 25px;
- --spectrum-tab-item-top-to-text-compact-small: 5px;
- --spectrum-tab-item-bottom-to-text-compact-small: 6px;
- --spectrum-tab-item-top-to-text-compact-medium: 9px;
- --spectrum-tab-item-bottom-to-text-compact-medium: 10px;
- --spectrum-tab-item-top-to-text-compact-large: 12px;
- --spectrum-tab-item-bottom-to-text-compact-large: 14px;
- --spectrum-tab-item-top-to-text-compact-extra-large: 15px;
- --spectrum-tab-item-bottom-to-text-compact-extra-large: 17px;
- --spectrum-tab-item-top-to-workflow-icon-small: 15px;
- --spectrum-tab-item-top-to-workflow-icon-medium: 19px;
- --spectrum-tab-item-top-to-workflow-icon-large: 23px;
- --spectrum-tab-item-top-to-workflow-icon-extra-large: 26px;
- --spectrum-tab-item-top-to-workflow-icon-compact-small: 5px;
- --spectrum-tab-item-top-to-workflow-icon-compact-medium: 9px;
- --spectrum-tab-item-top-to-workflow-icon-compact-large: 13px;
- --spectrum-tab-item-top-to-workflow-icon-compact-extra-large: 16px;
- --spectrum-tab-item-focus-indicator-gap-small: 9px;
- --spectrum-tab-item-focus-indicator-gap-medium: 10px;
- --spectrum-tab-item-focus-indicator-gap-large: 11px;
- --spectrum-tab-item-focus-indicator-gap-extra-large: 12px;
- --spectrum-side-navigation-width: 240px;
- --spectrum-side-navigation-minimum-width: 200px;
- --spectrum-side-navigation-maximum-width: 300px;
- --spectrum-side-navigation-second-level-edge-to-text: 30px;
- --spectrum-side-navigation-third-level-edge-to-text: 45px;
- --spectrum-side-navigation-with-icon-second-level-edge-to-text: 62px;
- --spectrum-side-navigation-with-icon-third-level-edge-to-text: 77px;
- --spectrum-side-navigation-item-to-item: 5px;
- --spectrum-side-navigation-item-to-header: 30px;
- --spectrum-side-navigation-header-to-item: 10px;
- --spectrum-side-navigation-bottom-to-text: 10px;
- --spectrum-tray-top-to-content-area: 5px;
- --spectrum-accordion-top-to-text-spacious-small: 12px;
- --spectrum-text-to-visual-50: 8px;
- --spectrum-text-to-visual-75: 9px;
- --spectrum-text-to-visual-100: 10px;
- --spectrum-text-to-visual-200: 11px;
- --spectrum-text-to-visual-300: 13px;
- --spectrum-text-to-control-75: 11px;
- --spectrum-text-to-control-100: 13px;
- --spectrum-text-to-control-200: 14px;
- --spectrum-text-to-control-300: 16px;
- --spectrum-component-height-50: 26px;
- --spectrum-component-height-75: 30px;
- --spectrum-component-height-100: 40px;
- --spectrum-component-height-200: 50px;
- --spectrum-component-height-300: 60px;
- --spectrum-component-height-400: 70px;
- --spectrum-component-height-500: 80px;
- --spectrum-component-pill-edge-to-visual-75: 13px;
- --spectrum-component-pill-edge-to-visual-100: 17px;
- --spectrum-component-pill-edge-to-visual-200: 22px;
- --spectrum-component-pill-edge-to-visual-300: 27px;
- --spectrum-component-pill-edge-to-visual-only-75: 5px;
- --spectrum-component-pill-edge-to-visual-only-100: 9px;
- --spectrum-component-pill-edge-to-visual-only-200: 13px;
- --spectrum-component-pill-edge-to-visual-only-300: 16px;
- --spectrum-component-pill-edge-to-text-75: 15px;
- --spectrum-component-pill-edge-to-text-100: 20px;
- --spectrum-component-pill-edge-to-text-200: 25px;
- --spectrum-component-pill-edge-to-text-300: 30px;
- --spectrum-component-edge-to-visual-50: 7px;
- --spectrum-component-edge-to-visual-75: 9px;
- --spectrum-component-edge-to-visual-100: 12px;
- --spectrum-component-edge-to-visual-200: 16px;
- --spectrum-component-edge-to-visual-300: 19px;
- --spectrum-component-edge-to-visual-only-50: 4px;
- --spectrum-component-edge-to-visual-only-75: 5px;
- --spectrum-component-edge-to-visual-only-100: 9px;
- --spectrum-component-edge-to-visual-only-200: 13px;
- --spectrum-component-edge-to-visual-only-300: 16px;
- --spectrum-component-edge-to-text-50: 10px;
- --spectrum-component-edge-to-text-75: 11px;
- --spectrum-component-edge-to-text-100: 15px;
- --spectrum-component-edge-to-text-200: 19px;
- --spectrum-component-edge-to-text-300: 22px;
- --spectrum-component-top-to-workflow-icon-50: 4px;
- --spectrum-component-top-to-workflow-icon-75: 5px;
- --spectrum-component-top-to-workflow-icon-100: 9px;
- --spectrum-component-top-to-workflow-icon-200: 13px;
- --spectrum-component-top-to-workflow-icon-300: 16px;
- --spectrum-component-top-to-text-50: 4px;
- --spectrum-component-top-to-text-75: 5px;
- --spectrum-component-top-to-text-100: 8px;
- --spectrum-component-top-to-text-200: 12px;
- --spectrum-component-top-to-text-300: 15px;
- --spectrum-component-bottom-to-text-50: 6px;
- --spectrum-component-bottom-to-text-75: 6px;
- --spectrum-component-bottom-to-text-100: 11px;
- --spectrum-component-bottom-to-text-200: 14px;
- --spectrum-component-bottom-to-text-300: 18px;
- --spectrum-component-to-menu-small: 7px;
- --spectrum-component-to-menu-medium: 8px;
- --spectrum-component-to-menu-large: 9px;
- --spectrum-component-to-menu-extra-large: 10px;
- --spectrum-field-edge-to-disclosure-icon-75: 9px;
- --spectrum-field-edge-to-disclosure-icon-100: 13px;
- --spectrum-field-edge-to-disclosure-icon-200: 17px;
- --spectrum-field-edge-to-disclosure-icon-300: 22px;
- --spectrum-field-end-edge-to-disclosure-icon-75: 9px;
- --spectrum-field-end-edge-to-disclosure-icon-100: 13px;
- --spectrum-field-end-edge-to-disclosure-icon-200: 17px;
- --spectrum-field-end-edge-to-disclosure-icon-300: 22px;
- --spectrum-field-top-to-disclosure-icon-75: 9px;
- --spectrum-field-top-to-disclosure-icon-100: 13px;
- --spectrum-field-top-to-disclosure-icon-200: 17px;
- --spectrum-field-top-to-disclosure-icon-300: 22px;
- --spectrum-field-top-to-alert-icon-small: 5px;
- --spectrum-field-top-to-alert-icon-medium: 9px;
- --spectrum-field-top-to-alert-icon-large: 13px;
- --spectrum-field-top-to-alert-icon-extra-large: 16px;
- --spectrum-field-top-to-validation-icon-small: 9px;
- --spectrum-field-top-to-validation-icon-medium: 13px;
- --spectrum-field-top-to-validation-icon-large: 17px;
- --spectrum-field-top-to-validation-icon-extra-large: 22px;
- --spectrum-field-top-to-progress-circle-small: 7px;
- --spectrum-field-top-to-progress-circle-medium: 12px;
- --spectrum-field-top-to-progress-circle-large: 17px;
- --spectrum-field-top-to-progress-circle-extra-large: 22px;
- --spectrum-field-edge-to-alert-icon-small: 11px;
- --spectrum-field-edge-to-alert-icon-medium: 15px;
- --spectrum-field-edge-to-alert-icon-large: 19px;
- --spectrum-field-edge-to-alert-icon-extra-large: 22px;
- --spectrum-field-edge-to-validation-icon-small: 11px;
- --spectrum-field-edge-to-validation-icon-medium: 15px;
- --spectrum-field-edge-to-validation-icon-large: 19px;
- --spectrum-field-edge-to-validation-icon-extra-large: 22px;
- --spectrum-field-text-to-alert-icon-small: 10px;
- --spectrum-field-text-to-alert-icon-medium: 15px;
- --spectrum-field-text-to-alert-icon-large: 19px;
- --spectrum-field-text-to-alert-icon-extra-large: 22px;
- --spectrum-field-text-to-validation-icon-small: 10px;
- --spectrum-field-text-to-validation-icon-medium: 15px;
- --spectrum-field-text-to-validation-icon-large: 19px;
- --spectrum-field-text-to-validation-icon-extra-large: 22px;
- --spectrum-field-width: 240px;
- --spectrum-character-count-to-field-quiet-small: -4px;
- --spectrum-character-count-to-field-quiet-medium: -4px;
- --spectrum-character-count-to-field-quiet-large: -4px;
- --spectrum-character-count-to-field-quiet-extra-large: -5px;
- --spectrum-side-label-character-count-to-field: 15px;
- --spectrum-side-label-character-count-top-margin-small: 5px;
- --spectrum-side-label-character-count-top-margin-medium: 10px;
- --spectrum-side-label-character-count-top-margin-large: 14px;
- --spectrum-side-label-character-count-top-margin-extra-large: 18px;
- --spectrum-disclosure-indicator-top-to-disclosure-icon-small: 9px;
- --spectrum-disclosure-indicator-top-to-disclosure-icon-medium: 13px;
- --spectrum-disclosure-indicator-top-to-disclosure-icon-large: 17px;
- --spectrum-disclosure-indicator-top-to-disclosure-icon-extra-large: 22px;
- --spectrum-navigational-indicator-top-to-back-icon-small: 7px;
- --spectrum-navigational-indicator-top-to-back-icon-medium: 12px;
- --spectrum-navigational-indicator-top-to-back-icon-large: 16px;
- --spectrum-navigational-indicator-top-to-back-icon-extra-large: 19px;
- --spectrum-color-control-track-width: 30px;
- --spectrum-font-size-50: 13px;
- --spectrum-font-size-75: 15px;
- --spectrum-font-size-100: 17px;
- --spectrum-font-size-200: 19px;
- --spectrum-font-size-300: 22px;
- --spectrum-font-size-400: 24px;
- --spectrum-font-size-500: 27px;
- --spectrum-font-size-600: 31px;
- --spectrum-font-size-700: 34px;
- --spectrum-font-size-800: 39px;
- --spectrum-font-size-900: 44px;
- --spectrum-font-size-1000: 49px;
- --spectrum-font-size-1100: 55px;
- --spectrum-font-size-1200: 62px;
- --spectrum-font-size-1300: 70px;
-}
-.spectrum--light,
-.spectrum--lightest {
- --spectrum-overlay-opacity: 0.4;
- --spectrum-drop-shadow-color-rgb: 0, 0, 0;
- --spectrum-drop-shadow-color-opacity: 0.15;
- --spectrum-drop-shadow-color: rgba(var(--spectrum-drop-shadow-color-rgb), var(--spectrum-drop-shadow-color-opacity));
- --spectrum-background-base-color: var(--spectrum-gray-200);
- --spectrum-background-layer-1-color: var(--spectrum-gray-100);
- --spectrum-background-layer-2-color: var(--spectrum-gray-50);
- --spectrum-neutral-background-color-default: var(--spectrum-gray-800);
- --spectrum-neutral-background-color-hover: var(--spectrum-gray-900);
- --spectrum-neutral-background-color-down: var(--spectrum-gray-900);
- --spectrum-neutral-background-color-key-focus: var(--spectrum-gray-900);
- --spectrum-neutral-subdued-background-color-default: var(--spectrum-gray-600);
- --spectrum-neutral-subdued-background-color-hover: var(--spectrum-gray-700);
- --spectrum-neutral-subdued-background-color-down: var(--spectrum-gray-800);
- --spectrum-neutral-subdued-background-color-key-focus: var(--spectrum-gray-700);
- --spectrum-accent-background-color-default: var(--spectrum-accent-color-900);
- --spectrum-accent-background-color-hover: var(--spectrum-accent-color-1000);
- --spectrum-accent-background-color-down: var(--spectrum-accent-color-1100);
- --spectrum-accent-background-color-key-focus: var(--spectrum-accent-color-1000);
- --spectrum-informative-background-color-default: var(--spectrum-informative-color-900);
- --spectrum-informative-background-color-hover: var(--spectrum-informative-color-1000);
- --spectrum-informative-background-color-down: var(--spectrum-informative-color-1100);
- --spectrum-informative-background-color-key-focus: var(--spectrum-informative-color-1000);
- --spectrum-negative-background-color-default: var(--spectrum-negative-color-900);
- --spectrum-negative-background-color-hover: var(--spectrum-negative-color-1000);
- --spectrum-negative-background-color-down: var(--spectrum-negative-color-1100);
- --spectrum-negative-background-color-key-focus: var(--spectrum-negative-color-1000);
- --spectrum-positive-background-color-default: var(--spectrum-positive-color-900);
- --spectrum-positive-background-color-hover: var(--spectrum-positive-color-1000);
- --spectrum-positive-background-color-down: var(--spectrum-positive-color-1100);
- --spectrum-positive-background-color-key-focus: var(--spectrum-positive-color-1000);
- --spectrum-notice-background-color-default: var(--spectrum-notice-color-600);
- --spectrum-gray-background-color-default: var(--spectrum-gray-700);
- --spectrum-red-background-color-default: var(--spectrum-red-900);
- --spectrum-orange-background-color-default: var(--spectrum-orange-600);
- --spectrum-yellow-background-color-default: var(--spectrum-yellow-400);
- --spectrum-chartreuse-background-color-default: var(--spectrum-chartreuse-500);
- --spectrum-celery-background-color-default: var(--spectrum-celery-600);
- --spectrum-green-background-color-default: var(--spectrum-green-900);
- --spectrum-seafoam-background-color-default: var(--spectrum-seafoam-900);
- --spectrum-cyan-background-color-default: var(--spectrum-cyan-900);
- --spectrum-blue-background-color-default: var(--spectrum-blue-900);
- --spectrum-indigo-background-color-default: var(--spectrum-indigo-900);
- --spectrum-purple-background-color-default: var(--spectrum-purple-900);
- --spectrum-fuchsia-background-color-default: var(--spectrum-fuchsia-900);
- --spectrum-magenta-background-color-default: var(--spectrum-magenta-900);
- --spectrum-neutral-visual-color: var(--spectrum-gray-500);
- --spectrum-accent-visual-color: var(--spectrum-accent-color-800);
- --spectrum-informative-visual-color: var(--spectrum-informative-color-800);
- --spectrum-negative-visual-color: var(--spectrum-negative-color-800);
- --spectrum-notice-visual-color: var(--spectrum-notice-color-700);
- --spectrum-positive-visual-color: var(--spectrum-positive-color-700);
- --spectrum-gray-visual-color: var(--spectrum-gray-500);
- --spectrum-red-visual-color: var(--spectrum-red-800);
- --spectrum-orange-visual-color: var(--spectrum-orange-700);
- --spectrum-yellow-visual-color: var(--spectrum-yellow-600);
- --spectrum-chartreuse-visual-color: var(--spectrum-chartreuse-600);
- --spectrum-celery-visual-color: var(--spectrum-celery-700);
- --spectrum-green-visual-color: var(--spectrum-green-700);
- --spectrum-seafoam-visual-color: var(--spectrum-seafoam-700);
- --spectrum-cyan-visual-color: var(--spectrum-cyan-600);
- --spectrum-blue-visual-color: var(--spectrum-blue-800);
- --spectrum-indigo-visual-color: var(--spectrum-indigo-800);
- --spectrum-purple-visual-color: var(--spectrum-purple-800);
- --spectrum-fuchsia-visual-color: var(--spectrum-fuchsia-800);
- --spectrum-magenta-visual-color: var(--spectrum-magenta-800);
- --spectrum-opacity-checkerboard-square-dark: var(--spectrum-gray-200);
- --spectrum-gray-50-rgb: 255, 255, 255;
- --spectrum-gray-50: rgba(var(--spectrum-gray-50-rgb));
- --spectrum-gray-75-rgb: 253, 253, 253;
- --spectrum-gray-75: rgba(var(--spectrum-gray-75-rgb));
- --spectrum-gray-100-rgb: 248, 248, 248;
- --spectrum-gray-100: rgba(var(--spectrum-gray-100-rgb));
- --spectrum-gray-200-rgb: 230, 230, 230;
- --spectrum-gray-200: rgba(var(--spectrum-gray-200-rgb));
- --spectrum-gray-300-rgb: 213, 213, 213;
- --spectrum-gray-300: rgba(var(--spectrum-gray-300-rgb));
- --spectrum-gray-400-rgb: 177, 177, 177;
- --spectrum-gray-400: rgba(var(--spectrum-gray-400-rgb));
- --spectrum-gray-500-rgb: 144, 144, 144;
- --spectrum-gray-500: rgba(var(--spectrum-gray-500-rgb));
- --spectrum-gray-600-rgb: 109, 109, 109;
- --spectrum-gray-600: rgba(var(--spectrum-gray-600-rgb));
- --spectrum-gray-700-rgb: 70, 70, 70;
- --spectrum-gray-700: rgba(var(--spectrum-gray-700-rgb));
- --spectrum-gray-800-rgb: 34, 34, 34;
- --spectrum-gray-800: rgba(var(--spectrum-gray-800-rgb));
- --spectrum-gray-900-rgb: 0, 0, 0;
- --spectrum-gray-900: rgba(var(--spectrum-gray-900-rgb));
- --spectrum-blue-100-rgb: 224, 242, 255;
- --spectrum-blue-100: rgba(var(--spectrum-blue-100-rgb));
- --spectrum-blue-200-rgb: 202, 232, 255;
- --spectrum-blue-200: rgba(var(--spectrum-blue-200-rgb));
- --spectrum-blue-300-rgb: 181, 222, 255;
- --spectrum-blue-300: rgba(var(--spectrum-blue-300-rgb));
- --spectrum-blue-400-rgb: 150, 206, 253;
- --spectrum-blue-400: rgba(var(--spectrum-blue-400-rgb));
- --spectrum-blue-500-rgb: 120, 187, 250;
- --spectrum-blue-500: rgba(var(--spectrum-blue-500-rgb));
- --spectrum-blue-600-rgb: 89, 167, 246;
- --spectrum-blue-600: rgba(var(--spectrum-blue-600-rgb));
- --spectrum-blue-700-rgb: 56, 146, 243;
- --spectrum-blue-700: rgba(var(--spectrum-blue-700-rgb));
- --spectrum-blue-800-rgb: 20, 122, 243;
- --spectrum-blue-800: rgba(var(--spectrum-blue-800-rgb));
- --spectrum-blue-900-rgb: 2, 101, 220;
- --spectrum-blue-900: rgba(var(--spectrum-blue-900-rgb));
- --spectrum-blue-1000-rgb: 0, 84, 182;
- --spectrum-blue-1000: rgba(var(--spectrum-blue-1000-rgb));
- --spectrum-blue-1100-rgb: 0, 68, 145;
- --spectrum-blue-1100: rgba(var(--spectrum-blue-1100-rgb));
- --spectrum-blue-1200-rgb: 0, 53, 113;
- --spectrum-blue-1200: rgba(var(--spectrum-blue-1200-rgb));
- --spectrum-blue-1300-rgb: 0, 39, 84;
- --spectrum-blue-1300: rgba(var(--spectrum-blue-1300-rgb));
- --spectrum-blue-1400-rgb: 0, 28, 60;
- --spectrum-blue-1400: rgba(var(--spectrum-blue-1400-rgb));
- --spectrum-red-100-rgb: 255, 235, 231;
- --spectrum-red-100: rgba(var(--spectrum-red-100-rgb));
- --spectrum-red-200-rgb: 255, 221, 214;
- --spectrum-red-200: rgba(var(--spectrum-red-200-rgb));
- --spectrum-red-300-rgb: 255, 205, 195;
- --spectrum-red-300: rgba(var(--spectrum-red-300-rgb));
- --spectrum-red-400-rgb: 255, 183, 169;
- --spectrum-red-400: rgba(var(--spectrum-red-400-rgb));
- --spectrum-red-500-rgb: 255, 155, 136;
- --spectrum-red-500: rgba(var(--spectrum-red-500-rgb));
- --spectrum-red-600-rgb: 255, 124, 101;
- --spectrum-red-600: rgba(var(--spectrum-red-600-rgb));
- --spectrum-red-700-rgb: 247, 92, 70;
- --spectrum-red-700: rgba(var(--spectrum-red-700-rgb));
- --spectrum-red-800-rgb: 234, 56, 41;
- --spectrum-red-800: rgba(var(--spectrum-red-800-rgb));
- --spectrum-red-900-rgb: 211, 21, 16;
- --spectrum-red-900: rgba(var(--spectrum-red-900-rgb));
- --spectrum-red-1000-rgb: 180, 0, 0;
- --spectrum-red-1000: rgba(var(--spectrum-red-1000-rgb));
- --spectrum-red-1100-rgb: 147, 0, 0;
- --spectrum-red-1100: rgba(var(--spectrum-red-1100-rgb));
- --spectrum-red-1200-rgb: 116, 0, 0;
- --spectrum-red-1200: rgba(var(--spectrum-red-1200-rgb));
- --spectrum-red-1300-rgb: 89, 0, 0;
- --spectrum-red-1300: rgba(var(--spectrum-red-1300-rgb));
- --spectrum-red-1400-rgb: 67, 0, 0;
- --spectrum-red-1400: rgba(var(--spectrum-red-1400-rgb));
- --spectrum-orange-100-rgb: 255, 236, 204;
- --spectrum-orange-100: rgba(var(--spectrum-orange-100-rgb));
- --spectrum-orange-200-rgb: 255, 223, 173;
- --spectrum-orange-200: rgba(var(--spectrum-orange-200-rgb));
- --spectrum-orange-300-rgb: 253, 210, 145;
- --spectrum-orange-300: rgba(var(--spectrum-orange-300-rgb));
- --spectrum-orange-400-rgb: 255, 187, 99;
- --spectrum-orange-400: rgba(var(--spectrum-orange-400-rgb));
- --spectrum-orange-500-rgb: 255, 160, 55;
- --spectrum-orange-500: rgba(var(--spectrum-orange-500-rgb));
- --spectrum-orange-600-rgb: 246, 133, 17;
- --spectrum-orange-600: rgba(var(--spectrum-orange-600-rgb));
- --spectrum-orange-700-rgb: 228, 111, 0;
- --spectrum-orange-700: rgba(var(--spectrum-orange-700-rgb));
- --spectrum-orange-800-rgb: 203, 93, 0;
- --spectrum-orange-800: rgba(var(--spectrum-orange-800-rgb));
- --spectrum-orange-900-rgb: 177, 76, 0;
- --spectrum-orange-900: rgba(var(--spectrum-orange-900-rgb));
- --spectrum-orange-1000-rgb: 149, 61, 0;
- --spectrum-orange-1000: rgba(var(--spectrum-orange-1000-rgb));
- --spectrum-orange-1100-rgb: 122, 47, 0;
- --spectrum-orange-1100: rgba(var(--spectrum-orange-1100-rgb));
- --spectrum-orange-1200-rgb: 97, 35, 0;
- --spectrum-orange-1200: rgba(var(--spectrum-orange-1200-rgb));
- --spectrum-orange-1300-rgb: 73, 25, 1;
- --spectrum-orange-1300: rgba(var(--spectrum-orange-1300-rgb));
- --spectrum-orange-1400-rgb: 53, 18, 1;
- --spectrum-orange-1400: rgba(var(--spectrum-orange-1400-rgb));
- --spectrum-yellow-100-rgb: 251, 241, 152;
- --spectrum-yellow-100: rgba(var(--spectrum-yellow-100-rgb));
- --spectrum-yellow-200-rgb: 248, 231, 80;
- --spectrum-yellow-200: rgba(var(--spectrum-yellow-200-rgb));
- --spectrum-yellow-300-rgb: 248, 217, 4;
- --spectrum-yellow-300: rgba(var(--spectrum-yellow-300-rgb));
- --spectrum-yellow-400-rgb: 232, 198, 0;
- --spectrum-yellow-400: rgba(var(--spectrum-yellow-400-rgb));
- --spectrum-yellow-500-rgb: 215, 179, 0;
- --spectrum-yellow-500: rgba(var(--spectrum-yellow-500-rgb));
- --spectrum-yellow-600-rgb: 196, 159, 0;
- --spectrum-yellow-600: rgba(var(--spectrum-yellow-600-rgb));
- --spectrum-yellow-700-rgb: 176, 140, 0;
- --spectrum-yellow-700: rgba(var(--spectrum-yellow-700-rgb));
- --spectrum-yellow-800-rgb: 155, 120, 0;
- --spectrum-yellow-800: rgba(var(--spectrum-yellow-800-rgb));
- --spectrum-yellow-900-rgb: 133, 102, 0;
- --spectrum-yellow-900: rgba(var(--spectrum-yellow-900-rgb));
- --spectrum-yellow-1000-rgb: 112, 83, 0;
- --spectrum-yellow-1000: rgba(var(--spectrum-yellow-1000-rgb));
- --spectrum-yellow-1100-rgb: 91, 67, 0;
- --spectrum-yellow-1100: rgba(var(--spectrum-yellow-1100-rgb));
- --spectrum-yellow-1200-rgb: 72, 51, 0;
- --spectrum-yellow-1200: rgba(var(--spectrum-yellow-1200-rgb));
- --spectrum-yellow-1300-rgb: 54, 37, 0;
- --spectrum-yellow-1300: rgba(var(--spectrum-yellow-1300-rgb));
- --spectrum-yellow-1400-rgb: 40, 26, 0;
- --spectrum-yellow-1400: rgba(var(--spectrum-yellow-1400-rgb));
- --spectrum-chartreuse-100-rgb: 219, 252, 110;
- --spectrum-chartreuse-100: rgba(var(--spectrum-chartreuse-100-rgb));
- --spectrum-chartreuse-200-rgb: 203, 244, 67;
- --spectrum-chartreuse-200: rgba(var(--spectrum-chartreuse-200-rgb));
- --spectrum-chartreuse-300-rgb: 188, 233, 42;
- --spectrum-chartreuse-300: rgba(var(--spectrum-chartreuse-300-rgb));
- --spectrum-chartreuse-400-rgb: 170, 216, 22;
- --spectrum-chartreuse-400: rgba(var(--spectrum-chartreuse-400-rgb));
- --spectrum-chartreuse-500-rgb: 152, 197, 10;
- --spectrum-chartreuse-500: rgba(var(--spectrum-chartreuse-500-rgb));
- --spectrum-chartreuse-600-rgb: 135, 177, 3;
- --spectrum-chartreuse-600: rgba(var(--spectrum-chartreuse-600-rgb));
- --spectrum-chartreuse-700-rgb: 118, 156, 0;
- --spectrum-chartreuse-700: rgba(var(--spectrum-chartreuse-700-rgb));
- --spectrum-chartreuse-800-rgb: 103, 136, 0;
- --spectrum-chartreuse-800: rgba(var(--spectrum-chartreuse-800-rgb));
- --spectrum-chartreuse-900-rgb: 87, 116, 0;
- --spectrum-chartreuse-900: rgba(var(--spectrum-chartreuse-900-rgb));
- --spectrum-chartreuse-1000-rgb: 72, 96, 0;
- --spectrum-chartreuse-1000: rgba(var(--spectrum-chartreuse-1000-rgb));
- --spectrum-chartreuse-1100-rgb: 58, 77, 0;
- --spectrum-chartreuse-1100: rgba(var(--spectrum-chartreuse-1100-rgb));
- --spectrum-chartreuse-1200-rgb: 44, 59, 0;
- --spectrum-chartreuse-1200: rgba(var(--spectrum-chartreuse-1200-rgb));
- --spectrum-chartreuse-1300-rgb: 33, 44, 0;
- --spectrum-chartreuse-1300: rgba(var(--spectrum-chartreuse-1300-rgb));
- --spectrum-chartreuse-1400-rgb: 24, 31, 0;
- --spectrum-chartreuse-1400: rgba(var(--spectrum-chartreuse-1400-rgb));
- --spectrum-celery-100-rgb: 205, 252, 191;
- --spectrum-celery-100: rgba(var(--spectrum-celery-100-rgb));
- --spectrum-celery-200-rgb: 174, 246, 157;
- --spectrum-celery-200: rgba(var(--spectrum-celery-200-rgb));
- --spectrum-celery-300-rgb: 150, 238, 133;
- --spectrum-celery-300: rgba(var(--spectrum-celery-300-rgb));
- --spectrum-celery-400-rgb: 114, 224, 106;
- --spectrum-celery-400: rgba(var(--spectrum-celery-400-rgb));
- --spectrum-celery-500-rgb: 78, 207, 80;
- --spectrum-celery-500: rgba(var(--spectrum-celery-500-rgb));
- --spectrum-celery-600-rgb: 39, 187, 54;
- --spectrum-celery-600: rgba(var(--spectrum-celery-600-rgb));
- --spectrum-celery-700-rgb: 7, 167, 33;
- --spectrum-celery-700: rgba(var(--spectrum-celery-700-rgb));
- --spectrum-celery-800-rgb: 0, 145, 18;
- --spectrum-celery-800: rgba(var(--spectrum-celery-800-rgb));
- --spectrum-celery-900-rgb: 0, 124, 15;
- --spectrum-celery-900: rgba(var(--spectrum-celery-900-rgb));
- --spectrum-celery-1000-rgb: 0, 103, 15;
- --spectrum-celery-1000: rgba(var(--spectrum-celery-1000-rgb));
- --spectrum-celery-1100-rgb: 0, 83, 13;
- --spectrum-celery-1100: rgba(var(--spectrum-celery-1100-rgb));
- --spectrum-celery-1200-rgb: 0, 64, 10;
- --spectrum-celery-1200: rgba(var(--spectrum-celery-1200-rgb));
- --spectrum-celery-1300-rgb: 0, 48, 7;
- --spectrum-celery-1300: rgba(var(--spectrum-celery-1300-rgb));
- --spectrum-celery-1400-rgb: 0, 34, 5;
- --spectrum-celery-1400: rgba(var(--spectrum-celery-1400-rgb));
- --spectrum-green-100-rgb: 206, 248, 224;
- --spectrum-green-100: rgba(var(--spectrum-green-100-rgb));
- --spectrum-green-200-rgb: 173, 244, 206;
- --spectrum-green-200: rgba(var(--spectrum-green-200-rgb));
- --spectrum-green-300-rgb: 137, 236, 188;
- --spectrum-green-300: rgba(var(--spectrum-green-300-rgb));
- --spectrum-green-400-rgb: 103, 222, 168;
- --spectrum-green-400: rgba(var(--spectrum-green-400-rgb));
- --spectrum-green-500-rgb: 73, 204, 147;
- --spectrum-green-500: rgba(var(--spectrum-green-500-rgb));
- --spectrum-green-600-rgb: 47, 184, 128;
- --spectrum-green-600: rgba(var(--spectrum-green-600-rgb));
- --spectrum-green-700-rgb: 21, 164, 110;
- --spectrum-green-700: rgba(var(--spectrum-green-700-rgb));
- --spectrum-green-800-rgb: 0, 143, 93;
- --spectrum-green-800: rgba(var(--spectrum-green-800-rgb));
- --spectrum-green-900-rgb: 0, 122, 77;
- --spectrum-green-900: rgba(var(--spectrum-green-900-rgb));
- --spectrum-green-1000-rgb: 0, 101, 62;
- --spectrum-green-1000: rgba(var(--spectrum-green-1000-rgb));
- --spectrum-green-1100-rgb: 0, 81, 50;
- --spectrum-green-1100: rgba(var(--spectrum-green-1100-rgb));
- --spectrum-green-1200-rgb: 5, 63, 39;
- --spectrum-green-1200: rgba(var(--spectrum-green-1200-rgb));
- --spectrum-green-1300-rgb: 10, 46, 29;
- --spectrum-green-1300: rgba(var(--spectrum-green-1300-rgb));
- --spectrum-green-1400-rgb: 10, 32, 21;
- --spectrum-green-1400: rgba(var(--spectrum-green-1400-rgb));
- --spectrum-seafoam-100-rgb: 206, 247, 243;
- --spectrum-seafoam-100: rgba(var(--spectrum-seafoam-100-rgb));
- --spectrum-seafoam-200-rgb: 170, 241, 234;
- --spectrum-seafoam-200: rgba(var(--spectrum-seafoam-200-rgb));
- --spectrum-seafoam-300-rgb: 140, 233, 226;
- --spectrum-seafoam-300: rgba(var(--spectrum-seafoam-300-rgb));
- --spectrum-seafoam-400-rgb: 101, 218, 210;
- --spectrum-seafoam-400: rgba(var(--spectrum-seafoam-400-rgb));
- --spectrum-seafoam-500-rgb: 63, 201, 193;
- --spectrum-seafoam-500: rgba(var(--spectrum-seafoam-500-rgb));
- --spectrum-seafoam-600-rgb: 15, 181, 174;
- --spectrum-seafoam-600: rgba(var(--spectrum-seafoam-600-rgb));
- --spectrum-seafoam-700-rgb: 0, 161, 154;
- --spectrum-seafoam-700: rgba(var(--spectrum-seafoam-700-rgb));
- --spectrum-seafoam-800-rgb: 0, 140, 135;
- --spectrum-seafoam-800: rgba(var(--spectrum-seafoam-800-rgb));
- --spectrum-seafoam-900-rgb: 0, 119, 114;
- --spectrum-seafoam-900: rgba(var(--spectrum-seafoam-900-rgb));
- --spectrum-seafoam-1000-rgb: 0, 99, 95;
- --spectrum-seafoam-1000: rgba(var(--spectrum-seafoam-1000-rgb));
- --spectrum-seafoam-1100-rgb: 12, 79, 76;
- --spectrum-seafoam-1100: rgba(var(--spectrum-seafoam-1100-rgb));
- --spectrum-seafoam-1200-rgb: 18, 60, 58;
- --spectrum-seafoam-1200: rgba(var(--spectrum-seafoam-1200-rgb));
- --spectrum-seafoam-1300-rgb: 18, 44, 43;
- --spectrum-seafoam-1300: rgba(var(--spectrum-seafoam-1300-rgb));
- --spectrum-seafoam-1400-rgb: 15, 31, 30;
- --spectrum-seafoam-1400: rgba(var(--spectrum-seafoam-1400-rgb));
- --spectrum-cyan-100-rgb: 197, 248, 255;
- --spectrum-cyan-100: rgba(var(--spectrum-cyan-100-rgb));
- --spectrum-cyan-200-rgb: 164, 240, 255;
- --spectrum-cyan-200: rgba(var(--spectrum-cyan-200-rgb));
- --spectrum-cyan-300-rgb: 136, 231, 250;
- --spectrum-cyan-300: rgba(var(--spectrum-cyan-300-rgb));
- --spectrum-cyan-400-rgb: 96, 216, 243;
- --spectrum-cyan-400: rgba(var(--spectrum-cyan-400-rgb));
- --spectrum-cyan-500-rgb: 51, 197, 232;
- --spectrum-cyan-500: rgba(var(--spectrum-cyan-500-rgb));
- --spectrum-cyan-600-rgb: 18, 176, 218;
- --spectrum-cyan-600: rgba(var(--spectrum-cyan-600-rgb));
- --spectrum-cyan-700-rgb: 1, 156, 200;
- --spectrum-cyan-700: rgba(var(--spectrum-cyan-700-rgb));
- --spectrum-cyan-800-rgb: 0, 134, 180;
- --spectrum-cyan-800: rgba(var(--spectrum-cyan-800-rgb));
- --spectrum-cyan-900-rgb: 0, 113, 159;
- --spectrum-cyan-900: rgba(var(--spectrum-cyan-900-rgb));
- --spectrum-cyan-1000-rgb: 0, 93, 137;
- --spectrum-cyan-1000: rgba(var(--spectrum-cyan-1000-rgb));
- --spectrum-cyan-1100-rgb: 0, 74, 115;
- --spectrum-cyan-1100: rgba(var(--spectrum-cyan-1100-rgb));
- --spectrum-cyan-1200-rgb: 0, 57, 93;
- --spectrum-cyan-1200: rgba(var(--spectrum-cyan-1200-rgb));
- --spectrum-cyan-1300-rgb: 0, 42, 70;
- --spectrum-cyan-1300: rgba(var(--spectrum-cyan-1300-rgb));
- --spectrum-cyan-1400-rgb: 0, 30, 51;
- --spectrum-cyan-1400: rgba(var(--spectrum-cyan-1400-rgb));
- --spectrum-indigo-100-rgb: 237, 238, 255;
- --spectrum-indigo-100: rgba(var(--spectrum-indigo-100-rgb));
- --spectrum-indigo-200-rgb: 224, 226, 255;
- --spectrum-indigo-200: rgba(var(--spectrum-indigo-200-rgb));
- --spectrum-indigo-300-rgb: 211, 213, 255;
- --spectrum-indigo-300: rgba(var(--spectrum-indigo-300-rgb));
- --spectrum-indigo-400-rgb: 193, 196, 255;
- --spectrum-indigo-400: rgba(var(--spectrum-indigo-400-rgb));
- --spectrum-indigo-500-rgb: 172, 175, 255;
- --spectrum-indigo-500: rgba(var(--spectrum-indigo-500-rgb));
- --spectrum-indigo-600-rgb: 149, 153, 255;
- --spectrum-indigo-600: rgba(var(--spectrum-indigo-600-rgb));
- --spectrum-indigo-700-rgb: 126, 132, 252;
- --spectrum-indigo-700: rgba(var(--spectrum-indigo-700-rgb));
- --spectrum-indigo-800-rgb: 104, 109, 244;
- --spectrum-indigo-800: rgba(var(--spectrum-indigo-800-rgb));
- --spectrum-indigo-900-rgb: 82, 88, 228;
- --spectrum-indigo-900: rgba(var(--spectrum-indigo-900-rgb));
- --spectrum-indigo-1000-rgb: 64, 70, 202;
- --spectrum-indigo-1000: rgba(var(--spectrum-indigo-1000-rgb));
- --spectrum-indigo-1100-rgb: 50, 54, 168;
- --spectrum-indigo-1100: rgba(var(--spectrum-indigo-1100-rgb));
- --spectrum-indigo-1200-rgb: 38, 41, 134;
- --spectrum-indigo-1200: rgba(var(--spectrum-indigo-1200-rgb));
- --spectrum-indigo-1300-rgb: 27, 30, 100;
- --spectrum-indigo-1300: rgba(var(--spectrum-indigo-1300-rgb));
- --spectrum-indigo-1400-rgb: 20, 22, 72;
- --spectrum-indigo-1400: rgba(var(--spectrum-indigo-1400-rgb));
- --spectrum-purple-100-rgb: 246, 235, 255;
- --spectrum-purple-100: rgba(var(--spectrum-purple-100-rgb));
- --spectrum-purple-200-rgb: 238, 221, 255;
- --spectrum-purple-200: rgba(var(--spectrum-purple-200-rgb));
- --spectrum-purple-300-rgb: 230, 208, 255;
- --spectrum-purple-300: rgba(var(--spectrum-purple-300-rgb));
- --spectrum-purple-400-rgb: 219, 187, 254;
- --spectrum-purple-400: rgba(var(--spectrum-purple-400-rgb));
- --spectrum-purple-500-rgb: 204, 164, 253;
- --spectrum-purple-500: rgba(var(--spectrum-purple-500-rgb));
- --spectrum-purple-600-rgb: 189, 139, 252;
- --spectrum-purple-600: rgba(var(--spectrum-purple-600-rgb));
- --spectrum-purple-700-rgb: 174, 114, 249;
- --spectrum-purple-700: rgba(var(--spectrum-purple-700-rgb));
- --spectrum-purple-800-rgb: 157, 87, 244;
- --spectrum-purple-800: rgba(var(--spectrum-purple-800-rgb));
- --spectrum-purple-900-rgb: 137, 61, 231;
- --spectrum-purple-900: rgba(var(--spectrum-purple-900-rgb));
- --spectrum-purple-1000-rgb: 115, 38, 211;
- --spectrum-purple-1000: rgba(var(--spectrum-purple-1000-rgb));
- --spectrum-purple-1100-rgb: 93, 19, 183;
- --spectrum-purple-1100: rgba(var(--spectrum-purple-1100-rgb));
- --spectrum-purple-1200-rgb: 71, 12, 148;
- --spectrum-purple-1200: rgba(var(--spectrum-purple-1200-rgb));
- --spectrum-purple-1300-rgb: 51, 16, 106;
- --spectrum-purple-1300: rgba(var(--spectrum-purple-1300-rgb));
- --spectrum-purple-1400-rgb: 35, 15, 73;
- --spectrum-purple-1400: rgba(var(--spectrum-purple-1400-rgb));
- --spectrum-fuchsia-100-rgb: 255, 233, 252;
- --spectrum-fuchsia-100: rgba(var(--spectrum-fuchsia-100-rgb));
- --spectrum-fuchsia-200-rgb: 255, 218, 250;
- --spectrum-fuchsia-200: rgba(var(--spectrum-fuchsia-200-rgb));
- --spectrum-fuchsia-300-rgb: 254, 199, 248;
- --spectrum-fuchsia-300: rgba(var(--spectrum-fuchsia-300-rgb));
- --spectrum-fuchsia-400-rgb: 251, 174, 246;
- --spectrum-fuchsia-400: rgba(var(--spectrum-fuchsia-400-rgb));
- --spectrum-fuchsia-500-rgb: 245, 146, 243;
- --spectrum-fuchsia-500: rgba(var(--spectrum-fuchsia-500-rgb));
- --spectrum-fuchsia-600-rgb: 237, 116, 237;
- --spectrum-fuchsia-600: rgba(var(--spectrum-fuchsia-600-rgb));
- --spectrum-fuchsia-700-rgb: 224, 85, 226;
- --spectrum-fuchsia-700: rgba(var(--spectrum-fuchsia-700-rgb));
- --spectrum-fuchsia-800-rgb: 205, 58, 206;
- --spectrum-fuchsia-800: rgba(var(--spectrum-fuchsia-800-rgb));
- --spectrum-fuchsia-900-rgb: 182, 34, 183;
- --spectrum-fuchsia-900: rgba(var(--spectrum-fuchsia-900-rgb));
- --spectrum-fuchsia-1000-rgb: 157, 3, 158;
- --spectrum-fuchsia-1000: rgba(var(--spectrum-fuchsia-1000-rgb));
- --spectrum-fuchsia-1100-rgb: 128, 0, 129;
- --spectrum-fuchsia-1100: rgba(var(--spectrum-fuchsia-1100-rgb));
- --spectrum-fuchsia-1200-rgb: 100, 6, 100;
- --spectrum-fuchsia-1200: rgba(var(--spectrum-fuchsia-1200-rgb));
- --spectrum-fuchsia-1300-rgb: 71, 14, 70;
- --spectrum-fuchsia-1300: rgba(var(--spectrum-fuchsia-1300-rgb));
- --spectrum-fuchsia-1400-rgb: 50, 13, 49;
- --spectrum-fuchsia-1400: rgba(var(--spectrum-fuchsia-1400-rgb));
- --spectrum-magenta-100-rgb: 255, 234, 241;
- --spectrum-magenta-100: rgba(var(--spectrum-magenta-100-rgb));
- --spectrum-magenta-200-rgb: 255, 220, 232;
- --spectrum-magenta-200: rgba(var(--spectrum-magenta-200-rgb));
- --spectrum-magenta-300-rgb: 255, 202, 221;
- --spectrum-magenta-300: rgba(var(--spectrum-magenta-300-rgb));
- --spectrum-magenta-400-rgb: 255, 178, 206;
- --spectrum-magenta-400: rgba(var(--spectrum-magenta-400-rgb));
- --spectrum-magenta-500-rgb: 255, 149, 189;
- --spectrum-magenta-500: rgba(var(--spectrum-magenta-500-rgb));
- --spectrum-magenta-600-rgb: 250, 119, 170;
- --spectrum-magenta-600: rgba(var(--spectrum-magenta-600-rgb));
- --spectrum-magenta-700-rgb: 239, 90, 152;
- --spectrum-magenta-700: rgba(var(--spectrum-magenta-700-rgb));
- --spectrum-magenta-800-rgb: 222, 61, 130;
- --spectrum-magenta-800: rgba(var(--spectrum-magenta-800-rgb));
- --spectrum-magenta-900-rgb: 200, 34, 105;
- --spectrum-magenta-900: rgba(var(--spectrum-magenta-900-rgb));
- --spectrum-magenta-1000-rgb: 173, 9, 85;
- --spectrum-magenta-1000: rgba(var(--spectrum-magenta-1000-rgb));
- --spectrum-magenta-1100-rgb: 142, 0, 69;
- --spectrum-magenta-1100: rgba(var(--spectrum-magenta-1100-rgb));
- --spectrum-magenta-1200-rgb: 112, 0, 55;
- --spectrum-magenta-1200: rgba(var(--spectrum-magenta-1200-rgb));
- --spectrum-magenta-1300-rgb: 84, 3, 42;
- --spectrum-magenta-1300: rgba(var(--spectrum-magenta-1300-rgb));
- --spectrum-magenta-1400-rgb: 60, 6, 29;
- --spectrum-magenta-1400: rgba(var(--spectrum-magenta-1400-rgb));
- --spectrum-icon-color-blue-primary-default: var(--spectrum-blue-900);
- --spectrum-icon-color-green-primary-default: var(--spectrum-green-900);
- --spectrum-icon-color-red-primary-default: var(--spectrum-red-900);
- --spectrum-icon-color-yellow-primary-default: var(--spectrum-yellow-400);
-}
-.spectrum--medium {
- --spectrum-workflow-icon-size-50: 14px;
- --spectrum-workflow-icon-size-75: 16px;
- --spectrum-workflow-icon-size-100: 18px;
- --spectrum-workflow-icon-size-200: 20px;
- --spectrum-workflow-icon-size-300: 22px;
- --spectrum-arrow-icon-size-75: 10px;
- --spectrum-arrow-icon-size-100: 10px;
- --spectrum-arrow-icon-size-200: 12px;
- --spectrum-arrow-icon-size-300: 14px;
- --spectrum-arrow-icon-size-400: 16px;
- --spectrum-arrow-icon-size-500: 18px;
- --spectrum-arrow-icon-size-600: 20px;
- --spectrum-asterisk-icon-size-100: 8px;
- --spectrum-asterisk-icon-size-200: 10px;
- --spectrum-asterisk-icon-size-300: 10px;
- --spectrum-checkmark-icon-size-50: 10px;
- --spectrum-checkmark-icon-size-75: 10px;
- --spectrum-checkmark-icon-size-100: 10px;
- --spectrum-checkmark-icon-size-200: 12px;
- --spectrum-checkmark-icon-size-300: 14px;
- --spectrum-checkmark-icon-size-400: 16px;
- --spectrum-checkmark-icon-size-500: 16px;
- --spectrum-checkmark-icon-size-600: 18px;
- --spectrum-chevron-icon-size-50: 6px;
- --spectrum-chevron-icon-size-75: 10px;
- --spectrum-chevron-icon-size-100: 10px;
- --spectrum-chevron-icon-size-200: 12px;
- --spectrum-chevron-icon-size-300: 14px;
- --spectrum-chevron-icon-size-400: 16px;
- --spectrum-chevron-icon-size-500: 16px;
- --spectrum-chevron-icon-size-600: 18px;
- --spectrum-corner-triangle-icon-size-75: 5px;
- --spectrum-corner-triangle-icon-size-100: 5px;
- --spectrum-corner-triangle-icon-size-200: 6px;
- --spectrum-corner-triangle-icon-size-300: 7px;
- --spectrum-cross-icon-size-75: 8px;
- --spectrum-cross-icon-size-100: 8px;
- --spectrum-cross-icon-size-200: 10px;
- --spectrum-cross-icon-size-300: 12px;
- --spectrum-cross-icon-size-400: 12px;
- --spectrum-cross-icon-size-500: 14px;
- --spectrum-cross-icon-size-600: 16px;
- --spectrum-dash-icon-size-50: 8px;
- --spectrum-dash-icon-size-75: 8px;
- --spectrum-dash-icon-size-100: 10px;
- --spectrum-dash-icon-size-200: 12px;
- --spectrum-dash-icon-size-300: 12px;
- --spectrum-dash-icon-size-400: 14px;
- --spectrum-dash-icon-size-500: 16px;
- --spectrum-dash-icon-size-600: 18px;
- --spectrum-field-label-text-to-asterisk-small: 4px;
- --spectrum-field-label-text-to-asterisk-medium: 4px;
- --spectrum-field-label-text-to-asterisk-large: 5px;
- --spectrum-field-label-text-to-asterisk-extra-large: 5px;
- --spectrum-field-label-top-to-asterisk-small: 8px;
- --spectrum-field-label-top-to-asterisk-medium: 12px;
- --spectrum-field-label-top-to-asterisk-large: 15px;
- --spectrum-field-label-top-to-asterisk-extra-large: 19px;
- --spectrum-field-label-top-margin-medium: 4px;
- --spectrum-field-label-top-margin-large: 5px;
- --spectrum-field-label-top-margin-extra-large: 5px;
- --spectrum-field-label-to-component-quiet-small: -8px;
- --spectrum-field-label-to-component-quiet-medium: -8px;
- --spectrum-field-label-to-component-quiet-large: -12px;
- --spectrum-field-label-to-component-quiet-extra-large: -15px;
- --spectrum-help-text-top-to-workflow-icon-small: 4px;
- --spectrum-help-text-top-to-workflow-icon-medium: 3px;
- --spectrum-help-text-top-to-workflow-icon-large: 6px;
- --spectrum-help-text-top-to-workflow-icon-extra-large: 9px;
- --spectrum-status-light-dot-size-medium: 8px;
- --spectrum-status-light-dot-size-large: 10px;
- --spectrum-status-light-dot-size-extra-large: 10px;
- --spectrum-status-light-top-to-dot-small: 8px;
- --spectrum-status-light-top-to-dot-medium: 12px;
- --spectrum-status-light-top-to-dot-large: 15px;
- --spectrum-status-light-top-to-dot-extra-large: 19px;
- --spectrum-action-button-edge-to-hold-icon-medium: 4px;
- --spectrum-action-button-edge-to-hold-icon-large: 5px;
- --spectrum-action-button-edge-to-hold-icon-extra-large: 6px;
- --spectrum-tooltip-tip-width: 8px;
- --spectrum-tooltip-tip-height: 4px;
- --spectrum-tooltip-maximum-width: 160px;
- --spectrum-progress-circle-size-small: 16px;
- --spectrum-progress-circle-size-medium: 32px;
- --spectrum-progress-circle-size-large: 64px;
- --spectrum-progress-circle-thickness-small: 2px;
- --spectrum-progress-circle-thickness-medium: 3px;
- --spectrum-progress-circle-thickness-large: 4px;
- --spectrum-toast-height: 48px;
- --spectrum-toast-maximum-width: 336px;
- --spectrum-toast-top-to-workflow-icon: 15px;
- --spectrum-toast-top-to-text: 14px;
- --spectrum-toast-bottom-to-text: 17px;
- --spectrum-action-bar-height: 48px;
- --spectrum-action-bar-top-to-item-counter: 14px;
- --spectrum-swatch-size-extra-small: 16px;
- --spectrum-swatch-size-small: 24px;
- --spectrum-swatch-size-medium: 32px;
- --spectrum-swatch-size-large: 40px;
- --spectrum-progress-bar-thickness-small: 4px;
- --spectrum-progress-bar-thickness-medium: 6px;
- --spectrum-progress-bar-thickness-large: 8px;
- --spectrum-progress-bar-thickness-extra-large: 10px;
- --spectrum-meter-width: 192px;
- --spectrum-meter-thickness-small: 4px;
- --spectrum-meter-thickness-large: 6px;
- --spectrum-tag-top-to-avatar-small: 4px;
- --spectrum-tag-top-to-avatar-medium: 6px;
- --spectrum-tag-top-to-avatar-large: 9px;
- --spectrum-tag-top-to-cross-icon-small: 8px;
- --spectrum-tag-top-to-cross-icon-medium: 12px;
- --spectrum-tag-top-to-cross-icon-large: 15px;
- --spectrum-popover-top-to-content-area: 4px;
- --spectrum-menu-item-edge-to-content-not-selected-small: 28px;
- --spectrum-menu-item-edge-to-content-not-selected-medium: 32px;
- --spectrum-menu-item-edge-to-content-not-selected-large: 38px;
- --spectrum-menu-item-edge-to-content-not-selected-extra-large: 45px;
- --spectrum-menu-item-top-to-disclosure-icon-small: 7px;
- --spectrum-menu-item-top-to-disclosure-icon-medium: 11px;
- --spectrum-menu-item-top-to-disclosure-icon-large: 14px;
- --spectrum-menu-item-top-to-disclosure-icon-extra-large: 17px;
- --spectrum-menu-item-top-to-selected-icon-small: 7px;
- --spectrum-menu-item-top-to-selected-icon-medium: 11px;
- --spectrum-menu-item-top-to-selected-icon-large: 14px;
- --spectrum-menu-item-top-to-selected-icon-extra-large: 17px;
- --spectrum-slider-control-to-field-label-small: 5px;
- --spectrum-slider-control-to-field-label-medium: 8px;
- --spectrum-slider-control-to-field-label-large: 11px;
- --spectrum-slider-control-to-field-label-extra-large: 14px;
- --spectrum-picker-visual-to-disclosure-icon-small: 7px;
- --spectrum-picker-visual-to-disclosure-icon-medium: 8px;
- --spectrum-picker-visual-to-disclosure-icon-large: 9px;
- --spectrum-picker-visual-to-disclosure-icon-extra-large: 10px;
- --spectrum-text-area-minimum-width: 112px;
- --spectrum-text-area-minimum-height: 56px;
- --spectrum-combo-box-visual-to-field-button-small: 7px;
- --spectrum-combo-box-visual-to-field-button-medium: 8px;
- --spectrum-combo-box-visual-to-field-button-large: 9px;
- --spectrum-combo-box-visual-to-field-button-extra-large: 10px;
- --spectrum-thumbnail-size-50: 16px;
- --spectrum-thumbnail-size-75: 18px;
- --spectrum-thumbnail-size-100: 20px;
- --spectrum-thumbnail-size-200: 22px;
- --spectrum-thumbnail-size-300: 26px;
- --spectrum-thumbnail-size-400: 28px;
- --spectrum-thumbnail-size-500: 32px;
- --spectrum-thumbnail-size-600: 36px;
- --spectrum-thumbnail-size-700: 40px;
- --spectrum-thumbnail-size-800: 44px;
- --spectrum-thumbnail-size-900: 50px;
- --spectrum-thumbnail-size-1000: 56px;
- --spectrum-alert-dialog-title-size: var(--spectrum-heading-size-s);
- --spectrum-alert-dialog-description-size: var(--spectrum-body-size-s);
- --spectrum-opacity-checkerboard-square-size: 8px;
- --spectrum-contextual-help-title-size: var(--spectrum-heading-size-xs);
- --spectrum-contextual-help-body-size: var(--spectrum-body-size-s);
- --spectrum-breadcrumbs-height-multiline: 72px;
- --spectrum-breadcrumbs-top-to-text: 13px;
- --spectrum-breadcrumbs-top-to-text-compact: 11px;
- --spectrum-breadcrumbs-top-to-text-multiline: 12px;
- --spectrum-breadcrumbs-bottom-to-text: 15px;
- --spectrum-breadcrumbs-bottom-to-text-compact: 12px;
- --spectrum-breadcrumbs-bottom-to-text-multiline: 9px;
- --spectrum-breadcrumbs-start-edge-to-text: 8px;
- --spectrum-breadcrumbs-top-text-to-bottom-text: 9px;
- --spectrum-breadcrumbs-top-to-separator-icon: 19px;
- --spectrum-breadcrumbs-top-to-separator-icon-compact: 15px;
- --spectrum-breadcrumbs-top-to-separator-icon-multiline: 15px;
- --spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline: 11px;
- --spectrum-breadcrumbs-top-to-truncated-menu: 8px;
- --spectrum-breadcrumbs-top-to-truncated-menu-compact: 4px;
- --spectrum-avatar-size-50: 16px;
- --spectrum-avatar-size-75: 18px;
- --spectrum-avatar-size-100: 20px;
- --spectrum-avatar-size-200: 22px;
- --spectrum-avatar-size-300: 26px;
- --spectrum-avatar-size-400: 28px;
- --spectrum-avatar-size-500: 32px;
- --spectrum-avatar-size-600: 36px;
- --spectrum-avatar-size-700: 40px;
- --spectrum-alert-banner-minimum-height: 48px;
- --spectrum-alert-banner-width: 832px;
- --spectrum-alert-banner-top-to-workflow-icon: 15px;
- --spectrum-alert-banner-top-to-text: 14px;
- --spectrum-alert-banner-bottom-to-text: 17px;
- --spectrum-rating-indicator-width: 18px;
- --spectrum-rating-indicator-to-icon: 4px;
- --spectrum-color-area-width: 192px;
- --spectrum-color-area-minimum-width: 64px;
- --spectrum-color-area-height: 192px;
- --spectrum-color-area-minimum-height: 64px;
- --spectrum-color-wheel-width: 192px;
- --spectrum-color-wheel-minimum-width: 175px;
- --spectrum-color-slider-length: 192px;
- --spectrum-color-slider-minimum-length: 80px;
- --spectrum-illustrated-message-title-size: var(--spectrum-heading-size-m);
- --spectrum-illustrated-message-cjk-title-size: var(--spectrum-heading-cjk-size-m);
- --spectrum-illustrated-message-body-size: var(--spectrum-body-size-s);
- --spectrum-coach-mark-width: 296px;
- --spectrum-coach-mark-minimum-width: 296px;
- --spectrum-coach-mark-maximum-width: 380px;
- --spectrum-coach-mark-edge-to-content: var(--spectrum-spacing-400);
- --spectrum-coach-mark-pagination-text-to-bottom-edge: 33px;
- --spectrum-coach-mark-media-height: 222px;
- --spectrum-coach-mark-media-minimum-height: 166px;
- --spectrum-coach-mark-title-size: var(--spectrum-heading-size-xs);
- --spectrum-coach-mark-body-size: var(--spectrum-body-size-s);
- --spectrum-coach-mark-pagination-body-size: var(--spectrum-body-size-s);
- --spectrum-accordion-top-to-text-regular-small: 5px;
- --spectrum-accordion-small-top-to-text-spacious: 9px;
- --spectrum-accordion-top-to-text-regular-medium: 8px;
- --spectrum-accordion-top-to-text-spacious-medium: 12px;
- --spectrum-accordion-top-to-text-compact-large: 4px;
- --spectrum-accordion-top-to-text-regular-large: 9px;
- --spectrum-accordion-top-to-text-spacious-large: 12px;
- --spectrum-accordion-top-to-text-compact-extra-large: 5px;
- --spectrum-accordion-top-to-text-regular-extra-large: 9px;
- --spectrum-accordion-top-to-text-spacious-extra-large: 13px;
- --spectrum-accordion-bottom-to-text-compact-small: 2px;
- --spectrum-accordion-bottom-to-text-regular-small: 7px;
- --spectrum-accordion-bottom-to-text-spacious-small: 11px;
- --spectrum-accordion-bottom-to-text-compact-medium: 5px;
- --spectrum-accordion-bottom-to-text-regular-medium: 9px;
- --spectrum-accordion-bottom-to-text-spacious-medium: 13px;
- --spectrum-accordion-bottom-to-text-compact-large: 8px;
- --spectrum-accordion-bottom-to-text-regular-large: 11px;
- --spectrum-accordion-bottom-to-text-spacious-large: 16px;
- --spectrum-accordion-bottom-to-text-compact-extra-large: 8px;
- --spectrum-accordion-bottom-to-text-regular-extra-large: 12px;
- --spectrum-accordion-bottom-to-text-spacious-extra-large: 16px;
- --spectrum-accordion-minimum-width: 200px;
- --spectrum-accordion-content-area-top-to-content: 8px;
- --spectrum-accordion-content-area-bottom-to-content: 16px;
- --spectrum-color-handle-size: 16px;
- --spectrum-color-handle-size-key-focus: 32px;
- --spectrum-table-column-header-row-top-to-text-small: 8px;
- --spectrum-table-column-header-row-top-to-text-medium: 7px;
- --spectrum-table-column-header-row-top-to-text-large: 10px;
- --spectrum-table-column-header-row-top-to-text-extra-large: 13px;
- --spectrum-table-column-header-row-bottom-to-text-small: 9px;
- --spectrum-table-column-header-row-bottom-to-text-medium: 8px;
- --spectrum-table-column-header-row-bottom-to-text-large: 10px;
- --spectrum-table-column-header-row-bottom-to-text-extra-large: 13px;
- --spectrum-table-row-height-small-regular: 32px;
- --spectrum-table-row-height-medium-regular: 40px;
- --spectrum-table-row-height-large-regular: 48px;
- --spectrum-table-row-height-extra-large-regular: 56px;
- --spectrum-table-row-height-small-spacious: 40px;
- --spectrum-table-row-height-medium-spacious: 48px;
- --spectrum-table-row-height-large-spacious: 56px;
- --spectrum-table-row-height-extra-large-spacious: 64px;
- --spectrum-table-row-top-to-text-small-regular: 8px;
- --spectrum-table-row-top-to-text-medium-regular: 11px;
- --spectrum-table-row-top-to-text-large-regular: 14px;
- --spectrum-table-row-top-to-text-extra-large-regular: 17px;
- --spectrum-table-row-bottom-to-text-small-regular: 9px;
- --spectrum-table-row-bottom-to-text-medium-regular: 12px;
- --spectrum-table-row-bottom-to-text-large-regular: 14px;
- --spectrum-table-row-bottom-to-text-extra-large-regular: 17px;
- --spectrum-table-row-top-to-text-small-spacious: 12px;
- --spectrum-table-row-top-to-text-medium-spacious: 15px;
- --spectrum-table-row-top-to-text-large-spacious: 18px;
- --spectrum-table-row-top-to-text-extra-large-spacious: 21px;
- --spectrum-table-row-bottom-to-text-small-spacious: 13px;
- --spectrum-table-row-bottom-to-text-medium-spacious: 16px;
- --spectrum-table-row-bottom-to-text-large-spacious: 18px;
- --spectrum-table-row-bottom-to-text-extra-large-spacious: 21px;
- --spectrum-table-checkbox-to-text: 24px;
- --spectrum-table-header-row-checkbox-to-top-small: 10px;
- --spectrum-table-header-row-checkbox-to-top-medium: 9px;
- --spectrum-table-header-row-checkbox-to-top-large: 12px;
- --spectrum-table-header-row-checkbox-to-top-extra-large: 15px;
- --spectrum-table-row-checkbox-to-top-small-compact: 6px;
- --spectrum-table-row-checkbox-to-top-small-regular: 10px;
- --spectrum-table-row-checkbox-to-top-small-spacious: 14px;
- --spectrum-table-row-checkbox-to-top-medium-compact: 9px;
- --spectrum-table-row-checkbox-to-top-medium-regular: 13px;
- --spectrum-table-row-checkbox-to-top-medium-spacious: 17px;
- --spectrum-table-row-checkbox-to-top-large-compact: 12px;
- --spectrum-table-row-checkbox-to-top-large-regular: 16px;
- --spectrum-table-row-checkbox-to-top-large-spacious: 20px;
- --spectrum-table-row-checkbox-to-top-extra-large-compact: 15px;
- --spectrum-table-row-checkbox-to-top-extra-large-regular: 19px;
- --spectrum-table-row-checkbox-to-top-extra-large-spacious: 23px;
- --spectrum-table-section-header-row-height-small: 24px;
- --spectrum-table-section-header-row-height-medium: 32px;
- --spectrum-table-section-header-row-height-large: 40px;
- --spectrum-table-section-header-row-height-extra-large: 48px;
- --spectrum-table-thumbnail-to-top-minimum-small-compact: 4px;
- --spectrum-table-thumbnail-to-top-minimum-medium-compact: 5px;
- --spectrum-table-thumbnail-to-top-minimum-large-compact: 7px;
- --spectrum-table-thumbnail-to-top-minimum-extra-large-compact: 8px;
- --spectrum-table-thumbnail-to-top-minimum-small-regular: 5px;
- --spectrum-table-thumbnail-to-top-minimum-medium-regular: 7px;
- --spectrum-table-thumbnail-to-top-minimum-large-regular: 8px;
- --spectrum-table-thumbnail-to-top-minimum-extra-large-regular: 8px;
- --spectrum-table-thumbnail-to-top-minimum-small-spacious: 7px;
- --spectrum-table-thumbnail-to-top-minimum-medium-spacious: 8px;
- --spectrum-table-thumbnail-to-top-minimum-large-spacious: 8px;
- --spectrum-table-thumbnail-to-top-minimum-extra-large-spacious: 10px;
- --spectrum-tab-item-to-tab-item-horizontal-small: 21px;
- --spectrum-tab-item-to-tab-item-horizontal-medium: 24px;
- --spectrum-tab-item-to-tab-item-horizontal-large: 27px;
- --spectrum-tab-item-to-tab-item-horizontal-extra-large: 30px;
- --spectrum-tab-item-to-tab-item-vertical-small: 4px;
- --spectrum-tab-item-to-tab-item-vertical-medium: 4px;
- --spectrum-tab-item-to-tab-item-vertical-large: 5px;
- --spectrum-tab-item-to-tab-item-vertical-extra-large: 5px;
- --spectrum-tab-item-start-to-edge-small: 12px;
- --spectrum-tab-item-start-to-edge-medium: 12px;
- --spectrum-tab-item-start-to-edge-large: 13px;
- --spectrum-tab-item-start-to-edge-extra-large: 13px;
- --spectrum-tab-item-top-to-text-small: 11px;
- --spectrum-tab-item-bottom-to-text-small: 12px;
- --spectrum-tab-item-top-to-text-medium: 14px;
- --spectrum-tab-item-bottom-to-text-medium: 14px;
- --spectrum-tab-item-top-to-text-large: 16px;
- --spectrum-tab-item-bottom-to-text-large: 18px;
- --spectrum-tab-item-top-to-text-extra-large: 19px;
- --spectrum-tab-item-bottom-to-text-extra-large: 20px;
- --spectrum-tab-item-top-to-text-compact-small: 4px;
- --spectrum-tab-item-bottom-to-text-compact-small: 5px;
- --spectrum-tab-item-top-to-text-compact-medium: 6px;
- --spectrum-tab-item-bottom-to-text-compact-medium: 8px;
- --spectrum-tab-item-top-to-text-compact-large: 10px;
- --spectrum-tab-item-bottom-to-text-compact-large: 12px;
- --spectrum-tab-item-top-to-text-compact-extra-large: 12px;
- --spectrum-tab-item-bottom-to-text-compact-extra-large: 13px;
- --spectrum-tab-item-top-to-workflow-icon-small: 13px;
- --spectrum-tab-item-top-to-workflow-icon-medium: 15px;
- --spectrum-tab-item-top-to-workflow-icon-large: 17px;
- --spectrum-tab-item-top-to-workflow-icon-extra-large: 19px;
- --spectrum-tab-item-top-to-workflow-icon-compact-small: 3px;
- --spectrum-tab-item-top-to-workflow-icon-compact-medium: 7px;
- --spectrum-tab-item-top-to-workflow-icon-compact-large: 9px;
- --spectrum-tab-item-top-to-workflow-icon-compact-extra-large: 11px;
- --spectrum-tab-item-focus-indicator-gap-small: 7px;
- --spectrum-tab-item-focus-indicator-gap-medium: 8px;
- --spectrum-tab-item-focus-indicator-gap-large: 9px;
- --spectrum-tab-item-focus-indicator-gap-extra-large: 10px;
- --spectrum-side-navigation-width: 192px;
- --spectrum-side-navigation-minimum-width: 160px;
- --spectrum-side-navigation-maximum-width: 240px;
- --spectrum-side-navigation-second-level-edge-to-text: 24px;
- --spectrum-side-navigation-third-level-edge-to-text: 36px;
- --spectrum-side-navigation-with-icon-second-level-edge-to-text: 50px;
- --spectrum-side-navigation-with-icon-third-level-edge-to-text: 62px;
- --spectrum-side-navigation-item-to-item: 4px;
- --spectrum-side-navigation-item-to-header: 24px;
- --spectrum-side-navigation-header-to-item: 8px;
- --spectrum-side-navigation-bottom-to-text: 8px;
- --spectrum-tray-top-to-content-area: 4px;
- --spectrum-accordion-top-to-text-spacious-small: 9px;
- --spectrum-text-to-visual-50: 6px;
- --spectrum-text-to-visual-75: 7px;
- --spectrum-text-to-visual-100: 8px;
- --spectrum-text-to-visual-200: 9px;
- --spectrum-text-to-visual-300: 10px;
- --spectrum-text-to-control-75: 9px;
- --spectrum-text-to-control-100: 10px;
- --spectrum-text-to-control-200: 11px;
- --spectrum-text-to-control-300: 13px;
- --spectrum-component-height-50: 20px;
- --spectrum-component-height-75: 24px;
- --spectrum-component-height-100: 32px;
- --spectrum-component-height-200: 40px;
- --spectrum-component-height-300: 48px;
- --spectrum-component-height-400: 56px;
- --spectrum-component-height-500: 64px;
- --spectrum-component-pill-edge-to-visual-75: 10px;
- --spectrum-component-pill-edge-to-visual-100: 14px;
- --spectrum-component-pill-edge-to-visual-200: 18px;
- --spectrum-component-pill-edge-to-visual-300: 21px;
- --spectrum-component-pill-edge-to-visual-only-75: 4px;
- --spectrum-component-pill-edge-to-visual-only-100: 7px;
- --spectrum-component-pill-edge-to-visual-only-200: 10px;
- --spectrum-component-pill-edge-to-visual-only-300: 13px;
- --spectrum-component-pill-edge-to-text-75: 12px;
- --spectrum-component-pill-edge-to-text-100: 16px;
- --spectrum-component-pill-edge-to-text-200: 20px;
- --spectrum-component-pill-edge-to-text-300: 24px;
- --spectrum-component-edge-to-visual-50: 6px;
- --spectrum-component-edge-to-visual-75: 7px;
- --spectrum-component-edge-to-visual-100: 10px;
- --spectrum-component-edge-to-visual-200: 13px;
- --spectrum-component-edge-to-visual-300: 15px;
- --spectrum-component-edge-to-visual-only-50: 3px;
- --spectrum-component-edge-to-visual-only-75: 4px;
- --spectrum-component-edge-to-visual-only-100: 7px;
- --spectrum-component-edge-to-visual-only-200: 10px;
- --spectrum-component-edge-to-visual-only-300: 13px;
- --spectrum-component-edge-to-text-50: 8px;
- --spectrum-component-edge-to-text-75: 9px;
- --spectrum-component-edge-to-text-100: 12px;
- --spectrum-component-edge-to-text-200: 15px;
- --spectrum-component-edge-to-text-300: 18px;
- --spectrum-component-top-to-workflow-icon-50: 3px;
- --spectrum-component-top-to-workflow-icon-75: 4px;
- --spectrum-component-top-to-workflow-icon-100: 7px;
- --spectrum-component-top-to-workflow-icon-200: 10px;
- --spectrum-component-top-to-workflow-icon-300: 13px;
- --spectrum-component-top-to-text-50: 3px;
- --spectrum-component-top-to-text-75: 4px;
- --spectrum-component-top-to-text-100: 6px;
- --spectrum-component-top-to-text-200: 9px;
- --spectrum-component-top-to-text-300: 12px;
- --spectrum-component-bottom-to-text-50: 3px;
- --spectrum-component-bottom-to-text-75: 5px;
- --spectrum-component-bottom-to-text-100: 9px;
- --spectrum-component-bottom-to-text-200: 11px;
- --spectrum-component-bottom-to-text-300: 14px;
- --spectrum-component-to-menu-small: 6px;
- --spectrum-component-to-menu-medium: 6px;
- --spectrum-component-to-menu-large: 7px;
- --spectrum-component-to-menu-extra-large: 8px;
- --spectrum-field-edge-to-disclosure-icon-75: 7px;
- --spectrum-field-edge-to-disclosure-icon-100: 11px;
- --spectrum-field-edge-to-disclosure-icon-200: 14px;
- --spectrum-field-edge-to-disclosure-icon-300: 17px;
- --spectrum-field-end-edge-to-disclosure-icon-75: 7px;
- --spectrum-field-end-edge-to-disclosure-icon-100: 11px;
- --spectrum-field-end-edge-to-disclosure-icon-200: 14px;
- --spectrum-field-end-edge-to-disclosure-icon-300: 17px;
- --spectrum-field-top-to-disclosure-icon-75: 7px;
- --spectrum-field-top-to-disclosure-icon-100: 11px;
- --spectrum-field-top-to-disclosure-icon-200: 14px;
- --spectrum-field-top-to-disclosure-icon-300: 17px;
- --spectrum-field-top-to-alert-icon-small: 4px;
- --spectrum-field-top-to-alert-icon-medium: 7px;
- --spectrum-field-top-to-alert-icon-large: 10px;
- --spectrum-field-top-to-alert-icon-extra-large: 13px;
- --spectrum-field-top-to-validation-icon-small: 7px;
- --spectrum-field-top-to-validation-icon-medium: 11px;
- --spectrum-field-top-to-validation-icon-large: 14px;
- --spectrum-field-top-to-validation-icon-extra-large: 17px;
- --spectrum-field-top-to-progress-circle-small: 4px;
- --spectrum-field-top-to-progress-circle-medium: 8px;
- --spectrum-field-top-to-progress-circle-large: 12px;
- --spectrum-field-top-to-progress-circle-extra-large: 16px;
- --spectrum-field-edge-to-alert-icon-small: 9px;
- --spectrum-field-edge-to-alert-icon-medium: 12px;
- --spectrum-field-edge-to-alert-icon-large: 15px;
- --spectrum-field-edge-to-alert-icon-extra-large: 18px;
- --spectrum-field-edge-to-validation-icon-small: 9px;
- --spectrum-field-edge-to-validation-icon-medium: 12px;
- --spectrum-field-edge-to-validation-icon-large: 15px;
- --spectrum-field-edge-to-validation-icon-extra-large: 18px;
- --spectrum-field-text-to-alert-icon-small: 8px;
- --spectrum-field-text-to-alert-icon-medium: 12px;
- --spectrum-field-text-to-alert-icon-large: 15px;
- --spectrum-field-text-to-alert-icon-extra-large: 18px;
- --spectrum-field-text-to-validation-icon-small: 8px;
- --spectrum-field-text-to-validation-icon-medium: 12px;
- --spectrum-field-text-to-validation-icon-large: 15px;
- --spectrum-field-text-to-validation-icon-extra-large: 18px;
- --spectrum-field-width: 192px;
- --spectrum-character-count-to-field-quiet-small: -3px;
- --spectrum-character-count-to-field-quiet-medium: -3px;
- --spectrum-character-count-to-field-quiet-large: -3px;
- --spectrum-character-count-to-field-quiet-extra-large: -4px;
- --spectrum-side-label-character-count-to-field: 12px;
- --spectrum-side-label-character-count-top-margin-small: 4px;
- --spectrum-side-label-character-count-top-margin-medium: 8px;
- --spectrum-side-label-character-count-top-margin-large: 11px;
- --spectrum-side-label-character-count-top-margin-extra-large: 14px;
- --spectrum-disclosure-indicator-top-to-disclosure-icon-small: 7px;
- --spectrum-disclosure-indicator-top-to-disclosure-icon-medium: 11px;
- --spectrum-disclosure-indicator-top-to-disclosure-icon-large: 14px;
- --spectrum-disclosure-indicator-top-to-disclosure-icon-extra-large: 17px;
- --spectrum-navigational-indicator-top-to-back-icon-small: 6px;
- --spectrum-navigational-indicator-top-to-back-icon-medium: 9px;
- --spectrum-navigational-indicator-top-to-back-icon-large: 12px;
- --spectrum-navigational-indicator-top-to-back-icon-extra-large: 15px;
- --spectrum-color-control-track-width: 24px;
- --spectrum-font-size-50: 11px;
- --spectrum-font-size-75: 12px;
- --spectrum-font-size-100: 14px;
- --spectrum-font-size-200: 16px;
- --spectrum-font-size-300: 18px;
- --spectrum-font-size-400: 20px;
- --spectrum-font-size-500: 22px;
- --spectrum-font-size-600: 25px;
- --spectrum-font-size-700: 28px;
- --spectrum-font-size-800: 32px;
- --spectrum-font-size-900: 36px;
- --spectrum-font-size-1000: 40px;
- --spectrum-font-size-1100: 45px;
- --spectrum-font-size-1200: 50px;
- --spectrum-font-size-1300: 60px;
-}
-.spectrum--dark {
- --spectrum-menu-item-background-color-default-rgb: 255, 255, 255;
- --spectrum-menu-item-background-color-default-opacity: 0;
- --spectrum-menu-item-background-color-default: rgba(var(--spectrum-menu-item-background-color-default-rgb), var(--spectrum-menu-item-background-color-default-opacity));
- --spectrum-menu-item-background-color-hover: var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-down: var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-key-focus: var(--spectrum-transparent-white-200);
- --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-900-rgb);
- --spectrum-dropindicator-color: var(--spectrum-blue-700);
-
- --spectrum-calendar-day-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.15);
- --spectrum-calendar-day-background-color-hover: rgba(var(--spectrum-white-rgb), 0.07);
- --spectrum-calendar-day-today-background-color-selected-hover: rgba(var(--spectrum-blue-800-rgb), 0.25);
- --spectrum-calendar-day-background-color-selected-hover: rgba(var(--spectrum-blue-800-rgb), 0.25);
- --spectrum-calendar-day-background-color-down: var(--spectrum-transparent-white-200);
- --spectrum-calendar-day-background-color-cap-selected: rgba(var(--spectrum-blue-800-rgb), 0.25);
- --spectrum-calendar-day-background-color-key-focus: rgba(var(--spectrum-white-rgb), 0.07);
- --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-700);
-
- --spectrum-card-selected-background-color-rgb: var(--spectrum-blue-500-rgb);
-
- --spectrum-badge-label-icon-color-primary: var(--spectrum-black);
-
- --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-700);
- --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900);
- --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-50);
-
- --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05);
-
- --spectrum-steplist-current-marker-color-key-focus: var(--spectrum-blue-700);
-
- --spectrum-treeview-item-background-color-quiet-selected: rgba(var(--spectrum-gray-900-rgb), 0.07);
- --spectrum-treeview-item-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.15);
-
- --spectrum-logic-button-and-background-color: var(--spectrum-blue-800);
- --spectrum-logic-button-and-border-color: var(--spectrum-blue-800);
- --spectrum-logic-button-and-background-color-hover: var(--spectrum-blue-1000);
- --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1000);
-
- --spectrum-logic-button-or-background-color: var(--spectrum-magenta-700);
- --spectrum-logic-button-or-border-color: var(--spectrum-magenta-700);
- --spectrum-logic-button-or-background-color-hover: var(--spectrum-magenta-900);
- --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-900);
-
- --spectrum-assetcard-border-color-selected: var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-900);
- --spectrum-assetcard-selectionindicator-background-color-ordered: var(--spectrum-blue-800);
- --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-700);
-
- --spectrum-assetlist-item-background-color-selected-hover: rgba(var(--spectrum-blue-800-rgb), 0.25);
- --spectrum-assetlist-item-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.15);
- --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-700);
-
- --spectrum-swatch-border-color-rgb: 255, 255, 255;
-
- --spectrum-swatch-border-color-opacity: 0.51;
-
- --spectrum-swatch-border-color: rgba(var(--spectrum-swatch-border-color-rgb), var(--spectrum-swatch-border-color-opacity));
- --spectrum-swatch-border-color-light-rgb: 255, 255, 255;
- --spectrum-swatch-border-color-light-opacity: 0.2;
- --spectrum-swatch-border-color-light: rgba(var(--spectrum-swatch-border-color-light-rgb), var(--spectrum-swatch-border-color-light-opacity));
-}
-.spectrum--darkest {
- --spectrum-menu-item-background-color-default-rgb: 255, 255, 255;
- --spectrum-menu-item-background-color-default-opacity: 0;
- --spectrum-menu-item-background-color-default: rgba(var(--spectrum-menu-item-background-color-default-rgb), var(--spectrum-menu-item-background-color-default-opacity));
- --spectrum-menu-item-background-color-hover: var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-down: var(--spectrum-transparent-white-200);
- --spectrum-menu-item-background-color-key-focus: var(--spectrum-transparent-white-200);
- --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-900-rgb);
- --spectrum-dropindicator-color: var(--spectrum-blue-700);
-
- --spectrum-calendar-day-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.2);
- --spectrum-calendar-day-background-color-hover: rgba(var(--spectrum-white-rgb), 0.08);
- --spectrum-calendar-day-today-background-color-selected-hover: rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-calendar-day-background-color-selected-hover: rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-calendar-day-background-color-down: rgba(var(--spectrum-white-rgb), 0.15);
- --spectrum-calendar-day-background-color-cap-selected: rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-calendar-day-background-color-key-focus: rgba(var(--spectrum-white-rgb), 0.08);
- --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-700);
-
- --spectrum-card-selected-background-color-rgb: var(--spectrum-blue-600-rgb);
-
- --spectrum-badge-label-icon-color-primary: var(--spectrum-black);
-
- --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-700);
- --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900);
- --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-50);
-
- --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05);
-
- --spectrum-steplist-current-marker-color-key-focus: var(--spectrum-blue-700);
-
- --spectrum-treeview-item-background-color-quiet-selected: rgba(var(--spectrum-gray-900-rgb), 0.08);
- --spectrum-treeview-item-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.2);
-
- --spectrum-logic-button-and-background-color: var(--spectrum-blue-800);
- --spectrum-logic-button-and-border-color: var(--spectrum-blue-800);
- --spectrum-logic-button-and-background-color-hover: var(--spectrum-blue-1000);
- --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1000);
-
- --spectrum-logic-button-or-background-color: var(--spectrum-magenta-700);
- --spectrum-logic-button-or-border-color: var(--spectrum-magenta-700);
- --spectrum-logic-button-or-background-color-hover: var(--spectrum-magenta-900);
- --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-900);
-
- --spectrum-assetcard-border-color-selected: var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-800);
- --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-900);
- --spectrum-assetcard-selectionindicator-background-color-ordered: var(--spectrum-blue-800);
- --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-700);
-
- --spectrum-assetlist-item-background-color-selected-hover: rgba(var(--spectrum-blue-800-rgb), 0.3);
- --spectrum-assetlist-item-background-color-selected: rgba(var(--spectrum-blue-800-rgb), 0.2);
- --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-700);
-
- --spectrum-swatch-border-color-rgb: 255, 255, 255;
-
- --spectrum-swatch-border-color-opacity: 0.51;
-
- --spectrum-swatch-border-color: rgba(var(--spectrum-swatch-border-color-rgb), var(--spectrum-swatch-border-color-opacity));
- --spectrum-swatch-border-color-light-rgb: 255, 255, 255;
- --spectrum-swatch-border-color-light-opacity: 0.2;
- --spectrum-swatch-border-color-light: rgba(var(--spectrum-swatch-border-color-light-rgb), var(--spectrum-swatch-border-color-light-opacity));
-}
-.spectrum {
- --spectrum-neutral-background-color-selected-default: var(--spectrum-gray-700);
- --spectrum-neutral-background-color-selected-hover: var(--spectrum-gray-800);
- --spectrum-neutral-background-color-selected-down: var(--spectrum-gray-900);
- --spectrum-neutral-background-color-selected-key-focus: var(--spectrum-gray-800);
- --spectrum-slider-track-thickness: 2px;
- --spectrum-slider-handle-gap: 4px;
- --spectrum-picker-border-width: var(--spectrum-border-width-100);
- --spectrum-in-field-button-fill-stacked-inner-border-rounding: 0px;
- --spectrum-in-field-button-edge-to-fill: 0px;
- --spectrum-in-field-button-stacked-inner-edge-to-fill: 0px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium: 3px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large: 4px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large: 5px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small: var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-small);
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium: var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium);
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large: var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large);
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large: var(--spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large);
- --spectrum-corner-radius-75: 2px;
- --spectrum-drop-shadow-x: 0px;
- --spectrum-border-width-100: 1px;
- --spectrum-accent-color-100: var(--spectrum-blue-100);
- --spectrum-accent-color-200: var(--spectrum-blue-200);
- --spectrum-accent-color-300: var(--spectrum-blue-300);
- --spectrum-accent-color-400: var(--spectrum-blue-400);
- --spectrum-accent-color-500: var(--spectrum-blue-500);
- --spectrum-accent-color-600: var(--spectrum-blue-600);
- --spectrum-accent-color-700: var(--spectrum-blue-700);
- --spectrum-accent-color-800: var(--spectrum-blue-800);
- --spectrum-accent-color-900: var(--spectrum-blue-900);
- --spectrum-accent-color-1000: var(--spectrum-blue-1000);
- --spectrum-accent-color-1100: var(--spectrum-blue-1100);
- --spectrum-accent-color-1200: var(--spectrum-blue-1200);
- --spectrum-accent-color-1300: var(--spectrum-blue-1300);
- --spectrum-accent-color-1400: var(--spectrum-blue-1400);
- --spectrum-heading-sans-serif-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-heading-serif-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-heading-cjk-font-weight: var(--spectrum-extra-bold-font-weight);
- --spectrum-heading-sans-serif-emphasized-font-weight: var(--spectrum-bold-font-weight);
- --spectrum-heading-serif-emphasized-font-weight: var(--spectrum-bold-font-weight);
- --system: spectrum;
- --spectrum-animation-linear: cubic-bezier(0, 0, 1, 1);
- --spectrum-animation-duration-0: 0ms;
- --spectrum-animation-duration-100: 130ms;
- --spectrum-animation-duration-200: 160ms;
- --spectrum-animation-duration-300: 190ms;
- --spectrum-animation-duration-400: 220ms;
- --spectrum-animation-duration-500: 250ms;
- --spectrum-animation-duration-600: 300ms;
- --spectrum-animation-duration-700: 350ms;
- --spectrum-animation-duration-800: 400ms;
- --spectrum-animation-duration-900: 450ms;
- --spectrum-animation-duration-1000: 500ms;
- --spectrum-animation-duration-2000: 1000ms;
- --spectrum-animation-duration-4000: 2000ms;
- --spectrum-animation-duration-6000: 3000ms;
- --spectrum-animation-ease-in-out: cubic-bezier(0.45, 0, 0.4, 1);
- --spectrum-animation-ease-in: cubic-bezier(0.5, 0, 1, 1);
- --spectrum-animation-ease-out: cubic-bezier(0, 0, 0.4, 1);
- --spectrum-animation-ease-linear: cubic-bezier(0, 0, 1, 1);
-
- --spectrum-sans-font-family-stack: adobe-clean, var(--spectrum-sans-serif-font-family), "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
- --spectrum-sans-serif-font: var(--spectrum-sans-font-family-stack);
-
- --spectrum-serif-font-family-stack: adobe-clean-serif, var(--spectrum-serif-font-family), "Source Serif Pro", Georgia, serif;
- --spectrum-serif-font: var(--spectrum-serif-font-family-stack);
-
- --spectrum-code-font-family-stack: "Source Code Pro", Monaco, monospace;
-
- --spectrum-font-family-ar: myriad-arabic, adobe-clean, "Source Sans Pro", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
- --spectrum-font-family-he: myriad-hebrew, adobe-clean, "Source Sans Pro", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, ubuntu, "Trebuchet MS", "Lucida Grande", sans-serif;
-
- --spectrum-font-family: var(--spectrum-sans-font-family-stack);
- --spectrum-font-style: var(--spectrum-default-font-style);
- --spectrum-font-size: var(--spectrum-font-size-100);
-
- --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);
- --spectrum-docs-static-white-background-color-rgb: 15, 121, 125;
- --spectrum-docs-static-white-background-color: rgba(var(--spectrum-docs-static-white-background-color-rgb));
- --spectrum-docs-static-black-background-color-rgb: 181, 209, 211;
- --spectrum-docs-static-black-background-color: rgba(var(--spectrum-docs-static-black-background-color-rgb));
-
- --spectrum-coach-indicator-ring-static-white-color: var(--spectrum-white);
-}
-.spectrum--large {
- --spectrum-checkbox-control-size-small: 16px;
- --spectrum-checkbox-control-size-medium: 18px;
- --spectrum-checkbox-control-size-large: 20px;
- --spectrum-checkbox-control-size-extra-large: 22px;
- --spectrum-checkbox-top-to-control-small: 7px;
- --spectrum-checkbox-top-to-control-medium: 11px;
- --spectrum-checkbox-top-to-control-large: 15px;
- --spectrum-checkbox-top-to-control-extra-large: 19px;
- --spectrum-switch-control-width-small: 32px;
- --spectrum-switch-control-width-medium: 36px;
- --spectrum-switch-control-width-large: 41px;
- --spectrum-switch-control-width-extra-large: 46px;
- --spectrum-switch-control-height-small: 16px;
- --spectrum-switch-control-height-medium: 18px;
- --spectrum-switch-control-height-large: 20px;
- --spectrum-switch-control-height-extra-large: 22px;
- --spectrum-switch-top-to-control-small: 7px;
- --spectrum-switch-top-to-control-medium: 11px;
- --spectrum-switch-top-to-control-large: 15px;
- --spectrum-switch-top-to-control-extra-large: 19px;
- --spectrum-radio-button-control-size-small: 16px;
- --spectrum-radio-button-control-size-medium: 18px;
- --spectrum-radio-button-control-size-large: 20px;
- --spectrum-radio-button-control-size-extra-large: 22px;
- --spectrum-radio-button-top-to-control-small: 7px;
- --spectrum-radio-button-top-to-control-medium: 11px;
- --spectrum-radio-button-top-to-control-large: 15px;
- --spectrum-radio-button-top-to-control-extra-large: 19px;
- --spectrum-slider-control-height-small: 18px;
- --spectrum-slider-control-height-medium: 20px;
- --spectrum-slider-control-height-large: 22px;
- --spectrum-slider-control-height-extra-large: 26px;
- --spectrum-slider-handle-size-small: 18px;
- --spectrum-slider-handle-size-medium: 20px;
- --spectrum-slider-handle-size-large: 22px;
- --spectrum-slider-handle-size-extra-large: 26px;
- --spectrum-slider-handle-border-width-down-small: 7px;
- --spectrum-slider-handle-border-width-down-medium: 8px;
- --spectrum-slider-handle-border-width-down-large: 9px;
- --spectrum-slider-handle-border-width-down-extra-large: 11px;
- --spectrum-slider-bottom-to-handle-small: 6px;
- --spectrum-slider-bottom-to-handle-medium: 10px;
- --spectrum-slider-bottom-to-handle-large: 14px;
- --spectrum-slider-bottom-to-handle-extra-large: 17px;
- --spectrum-corner-radius-100: 5px;
- --spectrum-corner-radius-200: 10px;
- --spectrum-drop-shadow-y: 2px;
- --spectrum-drop-shadow-blur: 6px;
- --spectrum-slider-tick-mark-height: 13px;
- --spectrum-slider-ramp-track-height: 20px;
-
- --spectrum-colorwheel-path: "M 119 119 m -119 0 a 119 119 0 1 0 238 0 a 119 119 0 1 0 -238 0.2 M 119 119 m -91 0 a 91 91 0 1 0 182 0 a 91 91 0 1 0 -182 0";
- --spectrum-colorwheel-path-borders: "M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0";
- --spectrum-colorwheel-colorarea-container-size: 182px;
-
- --spectrum-colorloupe-checkerboard-fill: url(#checkerboard-secondary);
-
- --spectrum-contextual-help-content-spacing: var(--spectrum-spacing-200);
-
- --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 34px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 42px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 47px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 54px;
-
- --spectrum-menu-item-checkmark-height-small: 12px;
- --spectrum-menu-item-checkmark-height-medium: 14px;
- --spectrum-menu-item-checkmark-height-large: 16px;
- --spectrum-menu-item-checkmark-height-extra-large: 16px;
-
- --spectrum-menu-item-checkmark-width-small: 12px;
- --spectrum-menu-item-checkmark-width-medium: 14px;
- --spectrum-menu-item-checkmark-width-large: 16px;
- --spectrum-menu-item-checkmark-width-extra-large: 16px;
-
- --spectrum-rating-icon-spacing: var(--spectrum-spacing-100);
-
- --spectrum-button-top-to-text-small: 6px;
- --spectrum-button-bottom-to-text-small: 5px;
- --spectrum-button-top-to-text-medium: 9px;
- --spectrum-button-bottom-to-text-medium: 10px;
- --spectrum-button-top-to-text-large: 12px;
- --spectrum-button-bottom-to-text-large: 13px;
- --spectrum-button-top-to-text-extra-large: 16px;
- --spectrum-button-bottom-to-text-extra-large: 17px;
-
- --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-200);
- --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-200);
- --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-200);
- --spectrum-alert-banner-text-to-button-vertical: var(--spectrum-spacing-200);
-
- --spectrum-alert-dialog-padding: var(--spectrum-spacing-400);
- --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-600);
-
- --spectrum-coach-indicator-gap: 8px;
- --spectrum-coach-indicator-ring-diameter: 20px;
- --spectrum-coach-indicator-quiet-ring-diameter: 10px;
-
- --spectrum-coachmark-buttongroup-display: none;
- --spectrum-coachmark-buttongroup-mobile-display: flex;
- --spectrum-coachmark-menu-display: none;
- --spectrum-coachmark-menu-mobile-display: inline-flex;
-
- --spectrum-well-padding: 20px;
- --spectrum-well-margin-top: 5px;
- --spectrum-well-min-width: 300px;
- --spectrum-well-border-radius: 5px;
- --spectrum-workflow-icon-size-xxl: 40px;
- --spectrum-workflow-icon-size-xxs: 15px;
-
- --spectrum-treeview-item-indentation-medium: 20px;
- --spectrum-treeview-item-indentation-small: 15px;
- --spectrum-treeview-item-indentation-large: 25px;
- --spectrum-treeview-item-indentation-extra-large: 30px;
- --spectrum-treeview-indicator-inset-block-start: 6px;
- --spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 2px;
-
- --spectrum-dialog-confirm-entry-animation-distance: 25px;
- --spectrum-dialog-confirm-hero-height: 160px;
- --spectrum-dialog-confirm-border-radius: 5px;
- --spectrum-dialog-confirm-title-text-size: 19px;
- --spectrum-dialog-confirm-description-text-size: 15px;
- --spectrum-dialog-confirm-padding-grid: 24px;
-
- --spectrum-datepicker-initial-width: 160px;
- --spectrum-datepicker-generic-padding: 15px;
- --spectrum-datepicker-dash-line-height: 30px;
- --spectrum-datepicker-width-quiet-first: 90px;
- --spectrum-datepicker-width-quiet-second: 20px;
- --spectrum-datepicker-datetime-width-first: 45px;
- --spectrum-datepicker-invalid-icon-to-button: 10px;
- --spectrum-datepicker-invalid-icon-to-button-quiet: 9px;
- --spectrum-datepicker-input-datetime-width: 30px;
-
- --spectrum-pagination-textfield-width: 60px;
- --spectrum-pagination-item-inline-spacing: 6px;
-
- --spectrum-dial-border-radius: 20px;
- --spectrum-dial-handle-position: 10px;
- --spectrum-dial-handle-block-margin: 20px;
- --spectrum-dial-handle-inline-margin: 20px;
- --spectrum-dial-controls-margin: 10px;
- --spectrum-dial-label-gap-y: 6px;
- --spectrum-dial-label-container-top-to-text: 5px;
-
- --spectrum-assetcard-focus-ring-border-radius: 9px;
- --spectrum-assetcard-selectionindicator-margin: 15px;
- --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xxs);
- --spectrum-assetcard-header-content-font-size: var(--spectrum-heading-size-xxs);
- --spectrum-assetcard-content-font-size: var(--spectrum-body-size-xs);
-
- --spectrum-tooltip-animation-distance: 5px;
-
- --spectrum-ui-icon-medium-display: none;
- --spectrum-ui-icon-large-display: block;
-}
-.spectrum--light,
-.spectrum--lightest {
- --spectrum-menu-item-background-color-default-rgb: 0, 0, 0;
- --spectrum-menu-item-background-color-default-opacity: 0;
- --spectrum-menu-item-background-color-default: rgba(var(--spectrum-menu-item-background-color-default-rgb), var(--spectrum-menu-item-background-color-default-opacity));
- --spectrum-menu-item-background-color-hover: var(--spectrum-transparent-black-200);
- --spectrum-menu-item-background-color-down: var(--spectrum-transparent-black-200);
- --spectrum-menu-item-background-color-key-focus: var(--spectrum-transparent-black-200);
- --spectrum-drop-zone-background-color-rgb: var(--spectrum-blue-800-rgb);
- --spectrum-dropindicator-color: var(--spectrum-blue-800);
-
- --spectrum-calendar-day-background-color-selected: rgba(var(--spectrum-blue-900-rgb), 0.1);
- --spectrum-calendar-day-background-color-hover: rgba(var(--spectrum-black-rgb), 0.06);
- --spectrum-calendar-day-today-background-color-selected-hover: rgba(var(--spectrum-blue-900-rgb), 0.2);
- --spectrum-calendar-day-background-color-selected-hover: rgba(var(--spectrum-blue-900-rgb), 0.2);
- --spectrum-calendar-day-background-color-down: var(--spectrum-transparent-black-200);
- --spectrum-calendar-day-background-color-cap-selected: rgba(var(--spectrum-blue-900-rgb), 0.2);
- --spectrum-calendar-day-background-color-key-focus: rgba(var(--spectrum-black-rgb), 0.06);
- --spectrum-calendar-day-border-color-key-focus: var(--spectrum-blue-800);
-
- --spectrum-card-selected-background-color-rgb: var(--spectrum-blue-900-rgb);
-
- --spectrum-badge-label-icon-color-primary: var(--spectrum-white);
-
- --spectrum-coach-indicator-ring-default-color: var(--spectrum-blue-800);
- --spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900);
- --spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-50);
-
- --spectrum-well-border-color: var(--spectrum-black);
-
- --spectrum-steplist-current-marker-color-key-focus: var(--spectrum-blue-800);
-
- --spectrum-treeview-item-background-color-quiet-selected: rgba(var(--spectrum-gray-900-rgb), 0.06);
- --spectrum-treeview-item-background-color-selected: rgba(var(--spectrum-blue-900-rgb), 0.1);
-
- --spectrum-logic-button-and-background-color: var(--spectrum-blue-900);
- --spectrum-logic-button-and-border-color: var(--spectrum-blue-900);
- --spectrum-logic-button-and-background-color-hover: var(--spectrum-blue-1100);
- --spectrum-logic-button-and-border-color-hover: var(--spectrum-blue-1100);
-
- --spectrum-logic-button-or-background-color: var(--spectrum-magenta-900);
- --spectrum-logic-button-or-border-color: var(--spectrum-magenta-900);
- --spectrum-logic-button-or-background-color-hover: var(--spectrum-magenta-1100);
- --spectrum-logic-button-or-border-color-hover: var(--spectrum-magenta-1100);
-
- --spectrum-assetcard-border-color-selected: var(--spectrum-blue-900);
- --spectrum-assetcard-border-color-selected-hover: var(--spectrum-blue-900);
- --spectrum-assetcard-border-color-selected-down: var(--spectrum-blue-1000);
- --spectrum-assetcard-selectionindicator-background-color-ordered: var(--spectrum-blue-900);
- --spectrum-assestcard-focus-indicator-color: var(--spectrum-blue-800);
-
- --spectrum-assetlist-item-background-color-selected-hover: rgba(var(--spectrum-blue-900-rgb), 0.2);
- --spectrum-assetlist-item-background-color-selected: rgba(var(--spectrum-blue-900-rgb), 0.1);
- --spectrum-assetlist-border-color-key-focus: var(--spectrum-blue-800);
-
- --spectrum-swatch-border-color-rgb: 0, 0, 0;
-
- --spectrum-swatch-border-color-opacity: 0.51;
-
- --spectrum-swatch-border-color: rgba(var(--spectrum-swatch-border-color-rgb), var(--spectrum-swatch-border-color-opacity));
- --spectrum-swatch-border-color-light-rgb: 0, 0, 0;
- --spectrum-swatch-border-color-light-opacity: 0.2;
- --spectrum-swatch-border-color-light: rgba(var(--spectrum-swatch-border-color-light-rgb), var(--spectrum-swatch-border-color-light-opacity));
-}
-.spectrum--medium {
- --spectrum-checkbox-control-size-small: 12px;
- --spectrum-checkbox-control-size-medium: 14px;
- --spectrum-checkbox-control-size-large: 16px;
- --spectrum-checkbox-control-size-extra-large: 18px;
- --spectrum-checkbox-top-to-control-small: 6px;
- --spectrum-checkbox-top-to-control-medium: 9px;
- --spectrum-checkbox-top-to-control-large: 12px;
- --spectrum-checkbox-top-to-control-extra-large: 15px;
- --spectrum-switch-control-width-small: 23px;
- --spectrum-switch-control-width-medium: 26px;
- --spectrum-switch-control-width-large: 29px;
- --spectrum-switch-control-width-extra-large: 33px;
- --spectrum-switch-control-height-small: 12px;
- --spectrum-switch-control-height-medium: 14px;
- --spectrum-switch-control-height-large: 16px;
- --spectrum-switch-control-height-extra-large: 18px;
- --spectrum-switch-top-to-control-small: 6px;
- --spectrum-switch-top-to-control-medium: 9px;
- --spectrum-switch-top-to-control-large: 12px;
- --spectrum-switch-top-to-control-extra-large: 15px;
- --spectrum-radio-button-control-size-small: 12px;
- --spectrum-radio-button-control-size-medium: 14px;
- --spectrum-radio-button-control-size-large: 16px;
- --spectrum-radio-button-control-size-extra-large: 18px;
- --spectrum-radio-button-top-to-control-small: 6px;
- --spectrum-radio-button-top-to-control-medium: 9px;
- --spectrum-radio-button-top-to-control-large: 12px;
- --spectrum-radio-button-top-to-control-extra-large: 15px;
- --spectrum-slider-control-height-small: 14px;
- --spectrum-slider-control-height-medium: 16px;
- --spectrum-slider-control-height-large: 18px;
- --spectrum-slider-control-height-extra-large: 20px;
- --spectrum-slider-handle-size-small: 14px;
- --spectrum-slider-handle-size-medium: 16px;
- --spectrum-slider-handle-size-large: 18px;
- --spectrum-slider-handle-size-extra-large: 20px;
- --spectrum-slider-handle-border-width-down-small: 5px;
- --spectrum-slider-handle-border-width-down-medium: 6px;
- --spectrum-slider-handle-border-width-down-large: 7px;
- --spectrum-slider-handle-border-width-down-extra-large: 8px;
- --spectrum-slider-bottom-to-handle-small: 5px;
- --spectrum-slider-bottom-to-handle-medium: 8px;
- --spectrum-slider-bottom-to-handle-large: 11px;
- --spectrum-slider-bottom-to-handle-extra-large: 14px;
- --spectrum-corner-radius-100: 4px;
- --spectrum-corner-radius-200: 8px;
- --spectrum-drop-shadow-y: 1px;
- --spectrum-drop-shadow-blur: 4px;
- --spectrum-slider-tick-mark-height: 10px;
- --spectrum-slider-ramp-track-height: 16px;
-
- --spectrum-colorwheel-path: "M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0";
- --spectrum-colorwheel-path-borders: "M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";
- --spectrum-colorwheel-colorarea-container-size: 144px;
-
- --spectrum-colorloupe-checkerboard-fill: url(#checkerboard-primary);
-
- --spectrum-contextual-help-content-spacing: var(--spectrum-spacing-100);
-
- --spectrum-menu-item-selectable-edge-to-text-not-selected-small: 28px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-medium: 32px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-large: 38px;
- --spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large: 45px;
-
- --spectrum-menu-item-checkmark-height-small: 10px;
- --spectrum-menu-item-checkmark-height-medium: 10px;
- --spectrum-menu-item-checkmark-height-large: 12px;
- --spectrum-menu-item-checkmark-height-extra-large: 14px;
-
- --spectrum-menu-item-checkmark-width-small: 10px;
- --spectrum-menu-item-checkmark-width-medium: 10px;
- --spectrum-menu-item-checkmark-width-large: 12px;
- --spectrum-menu-item-checkmark-width-extra-large: 14px;
-
- --spectrum-rating-icon-spacing: var(--spectrum-spacing-75);
-
- --spectrum-button-top-to-text-small: 5px;
- --spectrum-button-bottom-to-text-small: 4px;
- --spectrum-button-top-to-text-medium: 7px;
- --spectrum-button-bottom-to-text-medium: 8px;
- --spectrum-button-top-to-text-large: 10px;
- --spectrum-button-bottom-to-text-large: 10px;
- --spectrum-button-top-to-text-extra-large: 13px;
- --spectrum-button-bottom-to-text-extra-large: 13px;
-
- --spectrum-alert-banner-close-button-spacing: var(--spectrum-spacing-100);
- --spectrum-alert-banner-edge-to-divider: var(--spectrum-spacing-100);
- --spectrum-alert-banner-edge-to-button: var(--spectrum-spacing-100);
- --spectrum-alert-banner-text-to-button-vertical: var(--spectrum-spacing-100);
-
- --spectrum-alert-dialog-padding: var(--spectrum-spacing-500);
- --spectrum-alert-dialog-description-to-buttons: var(--spectrum-spacing-700);
-
- --spectrum-coach-indicator-gap: 6px;
- --spectrum-coach-indicator-ring-diameter: var(--spectrum-spacing-300);
- --spectrum-coach-indicator-quiet-ring-diameter: var(--spectrum-spacing-100);
-
- --spectrum-coachmark-buttongroup-display: flex;
- --spectrum-coachmark-buttongroup-mobile-display: none;
- --spectrum-coachmark-menu-display: inline-flex;
- --spectrum-coachmark-menu-mobile-display: none;
- --spectrum-well-padding: var(--spectrum-spacing-300);
- --spectrum-well-margin-top: var(--spectrum-spacing-75);
- --spectrum-well-min-width: 240px;
- --spectrum-well-border-radius: var(--spectrum-spacing-75);
- --spectrum-workflow-icon-size-xxl: 32px;
- --spectrum-workflow-icon-size-xxs: 12px;
-
- --spectrum-treeview-item-indentation-medium: var(--spectrum-spacing-300);
- --spectrum-treeview-item-indentation-small: var(--spectrum-spacing-200);
- --spectrum-treeview-item-indentation-large: 20px;
- --spectrum-treeview-item-indentation-extra-large: var(--spectrum-spacing-400);
- --spectrum-treeview-indicator-inset-block-start: 5px;
- --spectrum-treeview-item-min-block-size-thumbnail-offset-medium: 0px;
-
- --spectrum-dialog-confirm-entry-animation-distance: 20px;
- --spectrum-dialog-confirm-hero-height: 128px;
- --spectrum-dialog-confirm-border-radius: 4px;
- --spectrum-dialog-confirm-title-text-size: 18px;
- --spectrum-dialog-confirm-description-text-size: 14px;
- --spectrum-dialog-confirm-padding-grid: 40px;
-
- --spectrum-datepicker-initial-width: 128px;
- --spectrum-datepicker-generic-padding: var(--spectrum-spacing-200);
- --spectrum-datepicker-dash-line-height: 24px;
- --spectrum-datepicker-width-quiet-first: 72px;
- --spectrum-datepicker-width-quiet-second: 16px;
- --spectrum-datepicker-datetime-width-first: 36px;
- --spectrum-datepicker-invalid-icon-to-button: 8px;
- --spectrum-datepicker-invalid-icon-to-button-quiet: 7px;
- --spectrum-datepicker-input-datetime-width: var(--spectrum-spacing-400);
-
- --spectrum-pagination-textfield-width: var(--spectrum-spacing-700);
- --spectrum-pagination-item-inline-spacing: 5px;
-
- --spectrum-dial-border-radius: 16px;
- --spectrum-dial-handle-position: 8px;
- --spectrum-dial-handle-block-margin: 16px;
- --spectrum-dial-handle-inline-margin: 16px;
- --spectrum-dial-controls-margin: 8px;
- --spectrum-dial-label-gap-y: 5px;
- --spectrum-dial-label-container-top-to-text: 4px;
-
- --spectrum-assetcard-focus-ring-border-radius: 8px;
- --spectrum-assetcard-selectionindicator-margin: 12px;
- --spectrum-assetcard-title-font-size: var(--spectrum-heading-size-xs);
- --spectrum-assetcard-header-content-font-size: var(--spectrum-heading-size-xs);
- --spectrum-assetcard-content-font-size: var(--spectrum-body-size-s);
-
- --spectrum-tooltip-animation-distance: var(--spectrum-spacing-75);
-
- --spectrum-ui-icon-medium-display: block;
- --spectrum-ui-icon-large-display: none;
-}
-.spectrum--express.spectrum--dark,
-.spectrum--express.spectrum--darkest {
- --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-900-rgb);
- --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05);
-
- --spectrum-assetcard-border-color-selected: var(--spectrum-indigo-700);
- --spectrum-assetcard-border-color-selected-hover: var(--spectrum-indigo-700);
- --spectrum-assetcard-border-color-selected-down: var(--spectrum-indigo-800);
- --spectrum-assetcard-selectionindicator-background-color-ordered: var(--spectrum-indigo-700);
-}
-.spectrum--express {
- --spectrum-neutral-background-color-selected-default: var(--spectrum-gray-800);
- --spectrum-neutral-background-color-selected-hover: var(--spectrum-gray-900);
- --spectrum-neutral-background-color-selected-down: var(--spectrum-gray-900);
- --spectrum-neutral-background-color-selected-key-focus: var(--spectrum-gray-900);
- --spectrum-slider-track-thickness: 4px;
- --spectrum-slider-handle-gap: 0px;
- --spectrum-picker-border-width: 0;
- --spectrum-in-field-button-fill-stacked-inner-border-rounding: 1px;
- --spectrum-in-field-button-edge-to-fill: 4px;
- --spectrum-in-field-button-stacked-inner-edge-to-fill: 1px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-medium: 5px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-large: 7px;
- --spectrum-in-field-button-outer-edge-to-disclosure-icon-stacked-extra-large: 8px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-small: 1px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-medium: 1px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-large: 3px;
- --spectrum-in-field-button-inner-edge-to-disclosure-icon-stacked-extra-large: 4px;
- --spectrum-border-width-100: 2px;
- --spectrum-accent-color-100: var(--spectrum-indigo-100);
- --spectrum-accent-color-200: var(--spectrum-indigo-200);
- --spectrum-accent-color-300: var(--spectrum-indigo-300);
- --spectrum-accent-color-400: var(--spectrum-indigo-400);
- --spectrum-accent-color-500: var(--spectrum-indigo-500);
- --spectrum-accent-color-600: var(--spectrum-indigo-600);
- --spectrum-accent-color-700: var(--spectrum-indigo-700);
- --spectrum-accent-color-800: var(--spectrum-indigo-800);
- --spectrum-accent-color-900: var(--spectrum-indigo-900);
- --spectrum-accent-color-1000: var(--spectrum-indigo-1000);
- --spectrum-accent-color-1100: var(--spectrum-indigo-1100);
- --spectrum-accent-color-1200: var(--spectrum-indigo-1200);
- --spectrum-accent-color-1300: var(--spectrum-indigo-1300);
- --spectrum-accent-color-1400: var(--spectrum-indigo-1400);
- --spectrum-heading-sans-serif-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-serif-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-cjk-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-sans-serif-emphasized-font-weight: var(--spectrum-black-font-weight);
- --spectrum-heading-serif-emphasized-font-weight: var(--spectrum-black-font-weight);
- --system: express;
-}
-.spectrum--express.spectrum--large {
- --spectrum-checkbox-control-size-small: 18px;
- --spectrum-checkbox-control-size-medium: 20px;
- --spectrum-checkbox-control-size-large: 22px;
- --spectrum-checkbox-control-size-extra-large: 26px;
- --spectrum-checkbox-top-to-control-small: 6px;
- --spectrum-checkbox-top-to-control-medium: 10px;
- --spectrum-checkbox-top-to-control-large: 14px;
- --spectrum-checkbox-top-to-control-extra-large: 17px;
- --spectrum-switch-control-width-small: 32px;
- --spectrum-switch-control-width-medium: 36px;
- --spectrum-switch-control-width-large: 41px;
- --spectrum-switch-control-width-extra-large: 46px;
- --spectrum-switch-control-height-small: 18px;
- --spectrum-switch-control-height-medium: 20px;
- --spectrum-switch-control-height-large: 22px;
- --spectrum-switch-control-height-extra-large: 26px;
- --spectrum-switch-top-to-control-small: 6px;
- --spectrum-switch-top-to-control-medium: 10px;
- --spectrum-switch-top-to-control-large: 14px;
- --spectrum-switch-top-to-control-extra-large: 17px;
- --spectrum-radio-button-control-size-small: 18px;
- --spectrum-radio-button-control-size-medium: 20px;
- --spectrum-radio-button-control-size-large: 22px;
- --spectrum-radio-button-control-size-extra-large: 26px;
- --spectrum-radio-button-top-to-control-small: 6px;
- --spectrum-radio-button-top-to-control-medium: 10px;
- --spectrum-radio-button-top-to-control-large: 14px;
- --spectrum-radio-button-top-to-control-extra-large: 17px;
- --spectrum-slider-control-height-small: 22px;
- --spectrum-slider-control-height-medium: 24px;
- --spectrum-slider-control-height-large: 28px;
- --spectrum-slider-control-height-extra-large: 30px;
- --spectrum-slider-handle-size-small: 22px;
- --spectrum-slider-handle-size-medium: 24px;
- --spectrum-slider-handle-size-large: 28px;
- --spectrum-slider-handle-size-extra-large: 30px;
- --spectrum-slider-handle-border-width-down-small: var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-medium: var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-large: var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-extra-large: var(--spectrum-border-width-200);
- --spectrum-slider-bottom-to-handle-small: 4px;
- --spectrum-slider-bottom-to-handle-medium: 8px;
- --spectrum-slider-bottom-to-handle-large: 12px;
- --spectrum-slider-bottom-to-handle-extra-large: 15px;
- --spectrum-corner-radius-75: 4px;
- --spectrum-corner-radius-100: 8px;
- --spectrum-corner-radius-200: 16px;
- --spectrum-drop-shadow-x: 0px;
- --spectrum-drop-shadow-y: 4px;
- --spectrum-drop-shadow-blur: 16px;
- --spectrum-colorwheel-path: "M 118 118 m -118 0 a 118 118 0 1 0 236 0 a 118 118 0 1 0 -236 0.2 M 118 118 m -92 0 a 92 92 0 1 0 184 0 a 92 92 0 1 0 -184 0";
- --spectrum-colorwheel-path-borders: "M 120 120 m -120 0 a 120 120 0 1 0 240 0 a 120 120 0 1 0 -240 0.2 M 120 120 m -90 0 a 90 90 0 1 0 180 0 a 90 90 0 1 0 -180 0";
-
- --spectrum-dialog-confirm-border-radius: 8px;
-
- --spectrum-dial-border-radius: 15px;
-
- --spectrum-assetcard-focus-ring-border-radius: 12px;
-}
-.spectrum--express.spectrum--light,
-.spectrum--express.spectrum--lightest {
- --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-800-rgb);
- --spectrum-well-border-color: rgba(var(--spectrum-black-rgb), 0.05);
-
- --spectrum-assetcard-border-color-selected: var(--spectrum-indigo-900);
- --spectrum-assetcard-border-color-selected-hover: var(--spectrum-indigo-900);
- --spectrum-assetcard-border-color-selected-down: var(--spectrum-indigo-1000);
- --spectrum-assetcard-selectionindicator-background-color-ordered: var(--spectrum-indigo-900);
-}
-.spectrum--express.spectrum--medium {
- --spectrum-checkbox-control-size-small: 14px;
- --spectrum-checkbox-control-size-medium: 16px;
- --spectrum-checkbox-control-size-large: 18px;
- --spectrum-checkbox-control-size-extra-large: 20px;
- --spectrum-checkbox-top-to-control-small: 5px;
- --spectrum-checkbox-top-to-control-medium: 8px;
- --spectrum-checkbox-top-to-control-large: 11px;
- --spectrum-checkbox-top-to-control-extra-large: 14px;
- --spectrum-switch-control-width-small: 25px;
- --spectrum-switch-control-width-medium: 28px;
- --spectrum-switch-control-width-large: 32px;
- --spectrum-switch-control-width-extra-large: 35px;
- --spectrum-switch-control-height-small: 14px;
- --spectrum-switch-control-height-medium: 16px;
- --spectrum-switch-control-height-large: 18px;
- --spectrum-switch-control-height-extra-large: 20px;
- --spectrum-switch-top-to-control-small: 5px;
- --spectrum-switch-top-to-control-medium: 8px;
- --spectrum-switch-top-to-control-large: 11px;
- --spectrum-switch-top-to-control-extra-large: 14px;
- --spectrum-radio-button-control-size-small: 14px;
- --spectrum-radio-button-control-size-medium: 16px;
- --spectrum-radio-button-control-size-large: 18px;
- --spectrum-radio-button-control-size-extra-large: 20px;
- --spectrum-radio-button-top-to-control-small: 5px;
- --spectrum-radio-button-top-to-control-medium: 8px;
- --spectrum-radio-button-top-to-control-large: 11px;
- --spectrum-radio-button-top-to-control-extra-large: 14px;
- --spectrum-slider-control-height-small: 18px;
- --spectrum-slider-control-height-medium: 20px;
- --spectrum-slider-control-height-large: 22px;
- --spectrum-slider-control-height-extra-large: 24px;
- --spectrum-slider-handle-size-small: 18px;
- --spectrum-slider-handle-size-medium: 20px;
- --spectrum-slider-handle-size-large: 22px;
- --spectrum-slider-handle-size-extra-large: 24px;
- --spectrum-slider-handle-border-width-down-small: var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-medium: var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-large: var(--spectrum-border-width-200);
- --spectrum-slider-handle-border-width-down-extra-large: var(--spectrum-border-width-200);
- --spectrum-slider-bottom-to-handle-small: 3px;
- --spectrum-slider-bottom-to-handle-medium: 6px;
- --spectrum-slider-bottom-to-handle-large: 9px;
- --spectrum-slider-bottom-to-handle-extra-large: 12px;
- --spectrum-corner-radius-75: 3px;
- --spectrum-corner-radius-100: 6px;
- --spectrum-corner-radius-200: 12px;
- --spectrum-drop-shadow-x: 0px;
- --spectrum-drop-shadow-y: 4px;
- --spectrum-drop-shadow-blur: 16px;
- --spectrum-colorwheel-path: "M 94 94 m -94 0 a 94 94 0 1 0 188 0 a 94 94 0 1 0 -188 0.2 M 94 94 m -74 0 a 74 74 0 1 0 148 0 a 74 74 0 1 0 -148 0";
- --spectrum-colorwheel-path-borders: "M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";
-
- --spectrum-dialog-confirm-border-radius: 6px;
-
- --spectrum-dial-border-radius: 12px;
-
- --spectrum-assetcard-focus-ring-border-radius: 10px;
-}
diff --git a/tokens/package.json b/tokens/package.json
index cdbac2fc5e8..9fea20c7598 100644
--- a/tokens/package.json
+++ b/tokens/package.json
@@ -1,6 +1,6 @@
{
"name": "@spectrum-css/tokens",
- "version": "14.6.0",
+ "version": "15.0.0-s2-foundations.31",
"description": "The Spectrum CSS tokens package",
"license": "Apache-2.0",
"author": "Adobe",
@@ -13,6 +13,21 @@
"bugs": {
"url": "https://github.com/adobe/spectrum-css/issues"
},
+ "exports": {
+ ".": "./dist/css/index.css",
+ "./*.md": "./*.md",
+ "./dist/css/*.css": "./dist/css/*.css",
+ "./dist/css/components/bridge": "./dist/components/bridge/index.css",
+ "./dist/css/components/bridge/*.css": "./dist/components/bridge/*.css",
+ "./dist/css/components/express": "./dist/components/express/index.css",
+ "./dist/css/components/express/*.css": "./dist/components/express/*.css",
+ "./dist/css/components/spectrum": "./dist/components/spectrum/index.css",
+ "./dist/css/components/spectrum-two": "./dist/components/spectrum-two/index.css",
+ "./dist/css/components/spectrum-two/*.css": "./dist/components/spectrum-two/*.css",
+ "./dist/css/components/spectrum/*.css": "./dist/components/spectrum/*.css",
+ "./dist/index.css": "./dist/css/index.css",
+ "./package.json": "./package.json"
+ },
"main": "dist/index.css",
"files": [
"dist",
@@ -21,16 +36,10 @@
"package.json"
],
"devDependencies": {
- "@adobe/spectrum-tokens": "12.25.0",
+ "@adobe/spectrum-tokens": "0.0.0-s2-foundations-20241121221506",
"@nxkit/style-dictionary": "^6.0.0",
- "cssnano": "^7.0.3",
- "cssnano-preset-advanced": "^7.0.6",
"postcss": "^8.4.49",
"postcss-cli": "^11.0.0",
- "postcss-import": "^16.1.0",
- "postcss-licensing": "^2.0.0",
- "postcss-rgb-mapping": "workspace:^",
- "postcss-sorting": "^9.1.0",
"prettier": "^3.4.2",
"style-dictionary": "^3.9.2",
"style-dictionary-sets": "^2.3.0"
diff --git a/tokens/postcss.config.js b/tokens/postcss.config.js
index 350188d71db..e117b38812b 100644
--- a/tokens/postcss.config.js
+++ b/tokens/postcss.config.js
@@ -11,30 +11,21 @@
* governing permissions and limitations under the License.
*/
-module.exports = () => ({
- plugins: {
- "postcss-import": {},
- "postcss-rgb-mapping": {
+module.exports = ({
+ resolveImports = true,
+ ...options
+}) => require("../postcss.config.js")({
+ ...options,
+ resolveImports,
+ env: "production",
+ map: false,
+ additionalPlugins: {
+ "@spectrum-tools/postcss-rgb-mapping": {
colorFunctionalNotation: false,
},
"postcss-sorting": {
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/style-dictionary.config.js b/tokens/style-dictionary.config.js
index 4f8c67fdfe7..a2865c31f48 100644
--- a/tokens/style-dictionary.config.js
+++ b/tokens/style-dictionary.config.js
@@ -35,7 +35,6 @@ StyleDictionary.registerFormat(CSSSetsFormatter);
*/
const tokensPath = require.resolve("@adobe/spectrum-tokens/package.json");
const tokensDir = path.dirname(tokensPath);
-const setNames = ["desktop", "mobile", "light", "dark", "darkest"];
module.exports = {
source: [`${tokensDir}/src/*.json`],
@@ -50,21 +49,8 @@ module.exports = {
prefix: "spectrum",
files: [
generateFileConfig(),
- ...["spectrum", "express"].map((subSystemName) =>
- generateFileConfig({ subSystemName })
- ),
- ...setNames.map((context) => generateFileConfig({ setName: context })),
- ...setNames.map((context) =>
- generateFileConfig({
- setName: context,
- subSystemName: "spectrum",
- })
- ),
- ...setNames.map((context) =>
- generateFileConfig({
- setName: context,
- subSystemName: "express",
- })
+ ...["desktop", "mobile", "light", "dark"].map((context) =>
+ generateFileConfig({ setName: context }),
),
],
},
diff --git a/tokens/tasks/token-rollup.js b/tokens/tasks/token-rollup.js
index e767c6c226f..63bde69b391 100644
--- a/tokens/tasks/token-rollup.js
+++ b/tokens/tasks/token-rollup.js
@@ -117,28 +117,19 @@ async function componentTheming() {
async function appendCustomOverrides({ cwd = process.cwd() } = {}) {
const promises = [];
- ["express", "spectrum"].forEach(async (theme) => {
- // Add custom/*-vars.css to the end of the dist/css/*-vars.css files and run through postcss before writing back to the dist/css/*-vars.css file
- const customFiles = await fg(["*-vars.css"], { cwd: path.join(cwd, `custom-${theme}`), onlyFiles: true });
- for (const file of customFiles) {
-
- let strippedFilename = file.replace(/^custom-/, "");
- if (strippedFilename === "vars.css") {
- strippedFilename = "global-vars.css";
- }
-
- // Read in the custom file and the dist file and combine them into one file
- const combinedContent = await fetchContent([
- path.join("dist", "css", theme, strippedFilename),
- path.join(`custom-${theme}`, file)
- ], { cwd, shouldCombine: true });
-
- promises.push(
- copy(path.join(`custom-${theme}`, file), path.join("dist", "css", theme, file), { cwd }),
- combinedContent[0].content ? writeAndReport(combinedContent[0].content, path.join(cwd, "dist", "css", theme, strippedFilename), { cwd }) : Promise.resolve()
- );
- }
- });
+ // Add custom/*-vars.css to the end of the dist/css/*-vars.css files and run through postcss before writing back to the dist/css/*-vars.css file
+ const customFiles = await fg(["*-vars.css"], { cwd: path.join(cwd, "custom"), onlyFiles: true });
+ for (const file of customFiles) {
+ // Read in the custom file and the dist file and combine them into one file
+ const combinedContent = await fetchContent([
+ path.join("dist", "css", file),
+ path.join("custom", file)
+ ], { cwd, shouldCombine: true });
+
+ promises.push(
+ combinedContent[0].content ? writeAndReport(combinedContent[0].content, path.join(cwd, "dist", "css", file)) : Promise.resolve()
+ );
+ }
return Promise.all(promises);
}
@@ -175,23 +166,18 @@ async function main({
path.join(compiledOutputPath, "css", "components", "bridge", "index.css"),
{ cwd, clean }
),
- ...["spectrum", "express"].map(theme => Promise.all([
- index(
- [`dist/css/components/${theme}/*.css`],
- path.join(compiledOutputPath, "css", "components", theme, "index.css"),
- { cwd, clean }
- ),
- index(
- [`dist/css/${theme}/*-vars.css`, `!dist/css/${theme}/custom-*.css`],
- path.join(compiledOutputPath, "css", theme, "index.css"),
- { cwd, clean }
- ),
- ])),
+ ...["spectrum", "legacy", "express"].map(theme => index(
+ [`dist/css/components/${theme}/*.css`],
+ path.join(compiledOutputPath, "css", "components", theme, "index.css"),
+ { cwd, clean }
+ )),
index(
- ["dist/css/*-vars.css", "dist/css/spectrum/*-vars.css", "dist/css/express/*-vars.css", "!dist/css/spectrum/custom-*.css", "!dist/css/express/custom-*.css"],
- path.join(compiledOutputPath, "index.css"),
+ ["dist/css/*-vars.css"],
+ path.join(compiledOutputPath, "css", "index.css"),
{ cwd, clean }
- ),
+ ).then((reports) =>
+ copy(path.join(compiledOutputPath, "css", "index.css"), path.join(cwd, "dist", "index.css"), { cwd, isDeprecated: false })
+ .then((reps) => [reports, reps]))
]).then((reports) => {
return [reports, r];
});
diff --git a/tokens/utilities/style-dictionary.utils.js b/tokens/utilities/style-dictionary.utils.js
index af449dced2e..33474eb81ed 100644
--- a/tokens/utilities/style-dictionary.utils.js
+++ b/tokens/utilities/style-dictionary.utils.js
@@ -11,7 +11,9 @@
* governing permissions and limitations under the License.
*/
-module.exports = function ({ setName, subSystemName } = {}) {
+module.exports = function ({ setName } = {}) {
+ let selector = ".spectrum";
+
const baseConfig = {
format: "css/sets",
options: {
@@ -20,29 +22,19 @@ module.exports = function ({ setName, subSystemName } = {}) {
},
};
- const sets = [setName, subSystemName].filter(Boolean);
- if (!sets.length) {
+ if (!setName) {
return {
...baseConfig,
destination: "global-vars.css",
filter: (token) => !token.path.includes("sets"),
options: {
...baseConfig.options,
- selector: ".spectrum",
+ selector,
},
};
}
const isGlobal = !setName;
- const isSpectrum = subSystemName && subSystemName === "spectrum";
-
- let selector = "";
- if (isGlobal || (subSystemName && !isSpectrum)) {
- // postfix the selector with the subsystem name
- selector = `.spectrum${
- subSystemName && !isSpectrum ? `--${subSystemName}` : ""
- }`;
- }
let scope =
{
@@ -51,16 +43,7 @@ module.exports = function ({ setName, subSystemName } = {}) {
}[setName] ?? setName;
if (isGlobal) scope = "global";
- else if (setName && scope) {
- selector += `.spectrum--${scope}`;
- }
-
- const selectors = [
- selector ?? null,
- // Apply all light colors as lightest for backwards compat
- // @todo does this need a deprecation notice?
- setName === "light" ? selector.replace("light", "lightest") : null,
- ].filter(Boolean);
+ selector = isGlobal ? ".spectrum" : `.spectrum--${scope}`;
const getSets = (token) =>
token.path.filter((_, idx, array) => array[idx - 1] == "sets");
@@ -72,30 +55,14 @@ module.exports = function ({ setName, subSystemName } = {}) {
if (tokenSets.includes("wireframe")) return false;
if (!setName) {
- if (!subSystemName && tokenSets.length === 0) {
- return true;
- }
-
- if (
- subSystemName &&
- tokenSets.length === 1 &&
- tokenSets.includes(subSystemName)
- ) {
+ if (tokenSets.length === 0) {
return true;
}
}
else {
if (!tokenSets.includes(setName)) return false;
- if (!subSystemName && tokenSets.length === 1) {
- return true;
- }
-
- if (
- subSystemName &&
- tokenSets.length === 2 &&
- tokenSets.includes(subSystemName)
- ) {
+ if (tokenSets.length === 1) {
return true;
}
}
@@ -105,12 +72,12 @@ module.exports = function ({ setName, subSystemName } = {}) {
return {
...baseConfig,
- destination: `${subSystemName ? `${subSystemName}/` : ""}${scope}-vars.css`,
+ destination: `${scope}-vars.css`,
filter,
options: {
...baseConfig.options,
- selector: selectors.join(", "),
- sets,
+ selector,
+ sets: setName ? [setName] : [],
},
};
};
diff --git a/ui-icons/CHANGELOG.md b/ui-icons/CHANGELOG.md
index 64067e196e1..f5c4b79039f 100644
--- a/ui-icons/CHANGELOG.md
+++ b/ui-icons/CHANGELOG.md
@@ -4,21 +4,27 @@ All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+
## 1.1.2
+
🗓
2024-02-06
**Note:** Version bump only for package @spectrum-css/ui-icons
+
## 1.1.1
+
🗓
2024-01-16 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/ui-icons@1.1.0...@spectrum-css/ui-icons@1.1.1)
**Note:** Version bump only for package @spectrum-css/ui-icons
+
## 1.1.0
+
🗓
2023-12-12 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/ui-icons@0.1.0...@spectrum-css/ui-icons@1.1.0)
@@ -27,7 +33,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
- **ui-icons:**graduate to 1.0 release ([#2366](https://github.com/adobe/spectrum-css/issues/2366))([afd369a](https://github.com/adobe/spectrum-css/commit/afd369a))
+
## 0.1.0
+
🗓
2023-12-12
diff --git a/yarn.lock b/yarn.lock
index 12126c0fe4d..01fd76f8347 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -132,10 +132,17 @@ __metadata:
languageName: node
linkType: hard
-"@adobe/spectrum-tokens@npm:12.25.0":
- version: 12.25.0
- resolution: "@adobe/spectrum-tokens@npm:12.25.0"
- checksum: 10c0/783a4fb59cecc54b7a8157d998e690de82f3fb5a15934ed241256c998375aa38e699e81ddfb2d815be8b3281fe774acf33bed97eb9beabad9648fb9bd53ca322
+"@adobe/spectrum-tokens@npm:0.0.0-s2-foundations-20241021172855":
+ version: 0.0.0-s2-foundations-20241021172855
+ resolution: "@adobe/spectrum-tokens@npm:0.0.0-s2-foundations-20241021172855"
+ checksum: 10c0/0604c571afa0416f7802e45d7cbb1d003f14bdf3f90771c274723fa504de6d96f8e16b82f7facbbdb5ee5e66f29c37bd7e3e63a42a05f983d65ede2668b9b0a4
+ 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
languageName: node
linkType: hard
@@ -542,6 +549,13 @@ __metadata:
languageName: node
linkType: hard
+"@bcoe/v8-coverage@npm:^0.2.3":
+ version: 0.2.3
+ resolution: "@bcoe/v8-coverage@npm:0.2.3"
+ checksum: 10c0/6b80ae4cb3db53f486da2dc63b6e190a74c8c3cca16bb2733f234a0b6a9382b09b146488ae08e2b22cf00f6c83e20f3e040a2f7894f05c045c946d6a090b1d52
+ languageName: node
+ linkType: hard
+
"@bcoe/v8-coverage@npm:^1.0.1":
version: 1.0.1
resolution: "@bcoe/v8-coverage@npm:1.0.1"
@@ -2184,7 +2198,7 @@ __metadata:
languageName: node
linkType: hard
-"@mapbox/node-pre-gyp@npm:^1.0.5":
+"@mapbox/node-pre-gyp@npm:^1.0.11":
version: 1.0.11
resolution: "@mapbox/node-pre-gyp@npm:1.0.11"
dependencies:
@@ -2772,16 +2786,6 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/pluginutils@npm:^4.0.0":
- version: 4.2.1
- resolution: "@rollup/pluginutils@npm:4.2.1"
- dependencies:
- estree-walker: "npm:^2.0.1"
- picomatch: "npm:^2.2.2"
- checksum: 10c0/3ee56b2c8f1ed8dfd0a92631da1af3a2dfdd0321948f089b3752b4de1b54dc5076701eadd0e5fc18bd191b77af594ac1db6279e83951238ba16bf8a414c64c48
- languageName: node
- linkType: hard
-
"@rollup/pluginutils@npm:^5.0.2":
version: 5.1.0
resolution: "@rollup/pluginutils@npm:5.1.0"
@@ -2798,6 +2802,22 @@ __metadata:
languageName: node
linkType: hard
+"@rollup/pluginutils@npm:^5.1.3":
+ version: 5.1.3
+ resolution: "@rollup/pluginutils@npm:5.1.3"
+ dependencies:
+ "@types/estree": "npm:^1.0.0"
+ estree-walker: "npm:^2.0.2"
+ picomatch: "npm:^4.0.2"
+ peerDependencies:
+ rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
+ peerDependenciesMeta:
+ rollup:
+ optional: true
+ checksum: 10c0/ba46ad588733fb01d184ee3bc7a127d626158bc840b5874a94c129ff62689d12f16f537530709c54da6f3b71f67d705c4e09235b1dc9542e9d47ee8f2d0b8b9e
+ 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"
@@ -2931,8 +2951,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -2946,11 +2966,11 @@ __metadata:
"@spectrum-css/popover": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/actiongroup": ">=5"
- "@spectrum-css/closebutton": ">=5"
- "@spectrum-css/fieldlabel": ">=8"
- "@spectrum-css/popover": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actiongroup": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/closebutton": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/fieldlabel": ">=9.0.0-s2-foundations.0"
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -2962,8 +2982,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/icon":
optional: true
@@ -2974,8 +2994,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "@spectrum-css/actiongroup@workspace:components/actiongroup"
peerDependencies:
- "@spectrum-css/actionbutton": ">=6"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/actionbutton":
optional: true
@@ -2992,11 +3012,11 @@ __metadata:
"@spectrum-css/popover": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/actionbutton": ">=6"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/menu": ">=7"
- "@spectrum-css/popover": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3010,11 +3030,11 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/button": ">=13"
- "@spectrum-css/closebutton": ">=5"
- "@spectrum-css/divider": ">=3"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0"
+ "@spectrum-css/closebutton": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/divider": ">=4.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/icon":
optional: true
@@ -3032,12 +3052,12 @@ __metadata:
"@spectrum-css/tokens": "workspace:^"
"@spectrum-css/underlay": "workspace:^"
peerDependencies:
- "@spectrum-css/buttongroup": ">=7"
- "@spectrum-css/divider": ">=3"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/modal": ">=5"
- "@spectrum-css/tokens": ">=14"
- "@spectrum-css/underlay": ">=4"
+ "@spectrum-css/buttongroup": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/divider": ">=4.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/modal": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
+ "@spectrum-css/underlay": ">=5.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/buttongroup":
optional: true
@@ -3052,7 +3072,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3063,8 +3083,8 @@ __metadata:
"@spectrum-css/checkbox": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/checkbox": ">=9"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/checkbox":
optional: true
@@ -3079,9 +3099,9 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/checkbox": ">=9"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/checkbox":
optional: true
@@ -3096,7 +3116,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3107,8 +3127,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/icon":
optional: true
@@ -3123,9 +3143,9 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/actionbutton": ">=6"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/actionbutton":
optional: true
@@ -3143,9 +3163,9 @@ __metadata:
"@spectrum-css/progresscircle": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/progresscircle": ">=3"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/progresscircle": ">=4.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/icon":
optional: true
@@ -3161,8 +3181,8 @@ __metadata:
"@spectrum-css/button": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/button": ">=13"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3173,8 +3193,8 @@ __metadata:
"@spectrum-css/actionbutton": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/actionbutton": ">=6"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3186,17 +3206,15 @@ __metadata:
"@spectrum-css/asset": "workspace:^"
"@spectrum-css/checkbox": "workspace:^"
"@spectrum-css/icon": "workspace:^"
- "@spectrum-css/quickaction": "npm:^3.1.1"
"@spectrum-css/tokens": "workspace:^"
"@spectrum-css/typography": "workspace:^"
peerDependencies:
- "@spectrum-css/actionbutton": ">=6"
- "@spectrum-css/asset": ">=5"
- "@spectrum-css/checkbox": ">=9"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/quickaction": ">=3"
- "@spectrum-css/tokens": ">=14.5.0"
- "@spectrum-css/typography": ">=6"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/asset": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
+ "@spectrum-css/typography": ">=7.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/actionbutton":
optional: true
@@ -3206,8 +3224,6 @@ __metadata:
optional: true
"@spectrum-css/icon":
optional: true
- "@spectrum-css/quickaction":
- optional: true
"@spectrum-css/typography":
optional: true
languageName: unknown
@@ -3220,8 +3236,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3232,8 +3248,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3245,8 +3261,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3256,7 +3272,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14.6.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3272,13 +3288,13 @@ __metadata:
"@spectrum-css/popover": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/actionbutton": ">=6"
- "@spectrum-css/actionmenu": ">=6"
- "@spectrum-css/button": ">=13"
- "@spectrum-css/buttongroup": ">=7"
- "@spectrum-css/menu": ">=7"
- "@spectrum-css/popover": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/actionmenu": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0"
+ "@spectrum-css/buttongroup": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/button":
optional: true
@@ -3292,8 +3308,8 @@ __metadata:
"@spectrum-css/colorhandle": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/colorhandle": ">=8"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/colorhandle": ">=9.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3305,9 +3321,9 @@ __metadata:
"@spectrum-css/opacitycheckerboard": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/colorloupe": ">=5"
- "@spectrum-css/opacitycheckerboard": ">=2"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/colorloupe": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/opacitycheckerboard": ">=3.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/colorloupe":
optional: true
@@ -3320,7 +3336,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3332,9 +3348,9 @@ __metadata:
"@spectrum-css/opacitycheckerboard": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/colorhandle": ">=8"
- "@spectrum-css/opacitycheckerboard": ">=2"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/colorhandle": ">=9.0.0-s2-foundations.0"
+ "@spectrum-css/opacitycheckerboard": ">=3.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3347,10 +3363,10 @@ __metadata:
"@spectrum-css/colorloupe": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/colorarea": ">=5"
- "@spectrum-css/colorhandle": ">=8"
- "@spectrum-css/colorloupe": ">=5"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/colorarea": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/colorhandle": ">=9.0.0-s2-foundations.0"
+ "@spectrum-css/colorloupe": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/colorarea":
optional: true
@@ -3370,12 +3386,12 @@ __metadata:
"@spectrum-css/textfield": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/menu": ">=7"
- "@spectrum-css/pickerbutton": ">=5"
- "@spectrum-css/popover": ">=7"
- "@spectrum-css/progresscircle": ">=3"
- "@spectrum-css/textfield": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/pickerbutton": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/progresscircle": ">=4.0.0-s2-foundations.0"
+ "@spectrum-css/textfield": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/progresscircle":
optional: true
@@ -3388,7 +3404,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3401,26 +3417,16 @@ __metadata:
"@spectrum-css/popover": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/actionbutton": ">=6"
- "@spectrum-css/link": ">=5"
- "@spectrum-css/popover": ">=7"
- "@spectrum-css/tokens": ">=14.5.0"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/link": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/link":
optional: true
languageName: unknown
linkType: soft
-"@spectrum-css/cyclebutton@npm:^3.1.3":
- version: 3.1.3
- resolution: "@spectrum-css/cyclebutton@npm:3.1.3"
- peerDependencies:
- "@spectrum-css/actionbutton": ">=5"
- "@spectrum-css/vars": ">=9"
- checksum: 10c0/92eacba8788911201a46a418354e6281037b97e6913bd056c62328848f53c745a3f1c722b7be1cf8900ba86bf6996149d2653d998b2ccf2fee5f955c89a24c00
- languageName: node
- linkType: hard
-
"@spectrum-css/datepicker@workspace:components/datepicker":
version: 0.0.0-use.local
resolution: "@spectrum-css/datepicker@workspace:components/datepicker"
@@ -3431,11 +3437,11 @@ __metadata:
"@spectrum-css/textfield": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/calendar": ">=5"
- "@spectrum-css/pickerbutton": ">=5"
- "@spectrum-css/popover": ">=7"
- "@spectrum-css/textfield": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/calendar": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/pickerbutton": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/textfield": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3445,7 +3451,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3460,11 +3466,11 @@ __metadata:
"@spectrum-css/tokens": "workspace:^"
"@spectrum-css/underlay": "workspace:^"
peerDependencies:
- "@spectrum-css/closebutton": ">=5"
- "@spectrum-css/divider": ">=3"
- "@spectrum-css/modal": ">=5"
- "@spectrum-css/tokens": ">=14"
- "@spectrum-css/underlay": ">=4"
+ "@spectrum-css/closebutton": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/divider": ">=4.0.0-s2-foundations.0"
+ "@spectrum-css/modal": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
+ "@spectrum-css/underlay": ">=5.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/divider":
optional: true
@@ -3481,7 +3487,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3492,8 +3498,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3506,10 +3512,10 @@ __metadata:
"@spectrum-css/link": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/actionbutton": ">=6"
- "@spectrum-css/illustratedmessage": ">=7"
- "@spectrum-css/link": ">=5"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/illustratedmessage": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/link": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/actionbutton":
optional: true
@@ -3527,10 +3533,10 @@ __metadata:
"@spectrum-css/radio": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/checkbox": ">=9"
- "@spectrum-css/helptext": ">=5"
- "@spectrum-css/radio": ">=9"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0"
+ "@spectrum-css/helptext": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/radio": ">=10.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/checkbox":
optional: true
@@ -3548,8 +3554,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3559,7 +3565,17 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
+ languageName: unknown
+ linkType: soft
+
+"@spectrum-css/form@workspace:components/form":
+ version: 0.0.0-use.local
+ resolution: "@spectrum-css/form@workspace:components/form"
+ dependencies:
+ "@spectrum-css/tokens": "workspace:^"
+ peerDependencies:
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3581,8 +3597,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3592,7 +3608,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3603,8 +3619,8 @@ __metadata:
"@spectrum-css/tokens": "workspace:^"
"@spectrum-css/typography": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
- "@spectrum-css/typography": ">=6"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
+ "@spectrum-css/typography": ">=7.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3615,8 +3631,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/icon":
optional: true
@@ -3631,9 +3647,9 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/button": ">=13"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/button":
optional: true
@@ -3646,7 +3662,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3656,7 +3672,7 @@ __metadata:
dependencies:
"@spectrum-css/commons": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3671,12 +3687,12 @@ __metadata:
"@spectrum-css/tokens": "workspace:^"
"@spectrum-css/tray": "workspace:^"
peerDependencies:
- "@spectrum-css/checkbox": ">=9"
- "@spectrum-css/divider": ">=3"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/switch": ">=5"
- "@spectrum-css/tokens": ">=14"
- "@spectrum-css/tray": ">=3"
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0"
+ "@spectrum-css/divider": ">=4.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/switch": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
+ "@spectrum-css/tray": ">=4.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/checkbox":
optional: true
@@ -3689,6 +3705,18 @@ __metadata:
languageName: unknown
linkType: soft
+"@spectrum-css/meter@workspace:components/meter":
+ version: 0.0.0-use.local
+ resolution: "@spectrum-css/meter@workspace:components/meter"
+ dependencies:
+ "@spectrum-css/progressbar": "workspace:^"
+ "@spectrum-css/tokens": "workspace:^"
+ peerDependencies:
+ "@spectrum-css/progressbar": ">=5.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
+ languageName: unknown
+ linkType: soft
+
"@spectrum-css/miller@workspace:components/miller":
version: 0.0.0-use.local
resolution: "@spectrum-css/miller@workspace:components/miller"
@@ -3698,10 +3726,10 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/assetlist": ">=6"
- "@spectrum-css/checkbox": ">=9"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/assetlist": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3712,7 +3740,7 @@ __metadata:
"@spectrum-css/commons": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3722,17 +3750,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
- languageName: unknown
- linkType: soft
-
-"@spectrum-css/page@workspace:components/page":
- version: 0.0.0-use.local
- resolution: "@spectrum-css/page@workspace:components/page"
- dependencies:
- "@spectrum-css/tokens": "workspace:^"
- peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3743,16 +3761,14 @@ __metadata:
"@spectrum-css/actionbutton": "workspace:^"
"@spectrum-css/button": "workspace:^"
"@spectrum-css/icon": "workspace:^"
- "@spectrum-css/splitbutton": "npm:^8.1.2"
"@spectrum-css/textfield": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/actionbutton": ">=6"
- "@spectrum-css/button": ">=13"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/splitbutton": ">=8"
- "@spectrum-css/textfield": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/textfield": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3768,12 +3784,12 @@ __metadata:
"@spectrum-css/progresscircle": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/helptext": ">=5"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/menu": ">=7"
- "@spectrum-css/popover": ">=7"
- "@spectrum-css/progresscircle": ">=3"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/helptext": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/progresscircle": ">=4.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/helptext":
optional: true
@@ -3791,10 +3807,10 @@ __metadata:
"@spectrum-css/popover": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/menu": ">=7"
- "@spectrum-css/popover": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/popover": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3809,11 +3825,11 @@ __metadata:
"@spectrum-css/menu": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/alertdialog": ">=2"
- "@spectrum-css/dialog": ">=10"
- "@spectrum-css/divider": ">=3"
- "@spectrum-css/menu": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/alertdialog": ">=3.0.0-s2-foundations.0"
+ "@spectrum-css/dialog": ">=11.0.0-s2-foundations.0"
+ "@spectrum-css/divider": ">=4.0.0-s2-foundations.0"
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/divider":
optional: true
@@ -3827,11 +3843,13 @@ __metadata:
resolution: "@spectrum-css/preview@workspace:.storybook"
dependencies:
"@adobe/spectrum-css-workflow-icons": "npm:^1.5.4"
+ "@adobe/spectrum-tokens": "npm:0.0.0-s2-foundations-20241021172855"
"@babel/core": "npm:^7.26.0"
"@chromaui/addon-visual-tests": "npm:^1.0.0"
"@etchteam/storybook-addon-status": "npm:^5.0.0"
"@spectrum-css/table": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
+ "@spectrum-css/tokens-legacy": "npm:@spectrum-css/tokens@^14.6.0"
"@spectrum-css/typography": "workspace:^"
"@spectrum-css/ui-icons": "workspace:^"
"@storybook/addon-a11y": "npm:^8.4.7"
@@ -3860,21 +3878,22 @@ __metadata:
react: "npm:^18.3.1"
react-dom: "npm:^18.3.1"
react-syntax-highlighter: "npm:^15.6.1"
+ remark-gfm: "npm:^4.0.0"
rollup-plugin-postcss-lit: "npm:^2.1.0"
storybook: "npm:^8.4.7"
vite: "npm:^5.4.11"
languageName: unknown
linkType: soft
-"@spectrum-css/progressbar@workspace:components/progressbar":
+"@spectrum-css/progressbar@workspace:^, @spectrum-css/progressbar@workspace:components/progressbar":
version: 0.0.0-use.local
resolution: "@spectrum-css/progressbar@workspace:components/progressbar"
dependencies:
"@spectrum-css/fieldlabel": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/fieldlabel": ">=8"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/fieldlabel": ">=9.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/fieldlabel":
optional: true
@@ -3887,21 +3906,10 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
-"@spectrum-css/quickaction@npm:^3.1.1":
- version: 3.1.1
- resolution: "@spectrum-css/quickaction@npm:3.1.1"
- peerDependencies:
- "@spectrum-css/actionbutton": ">=5"
- "@spectrum-css/checkbox": ">=8"
- "@spectrum-css/vars": ">=9"
- checksum: 10c0/5c57f78b2715d5b143e2abfeb07129511b5fd242be9a109b0b62db7708923f9aa2f4c709b1e4fd26d1b17436a18f4dec8d6923fd16799d9bdbed3a1348a41e0a
- languageName: node
- linkType: hard
-
"@spectrum-css/radio@workspace:^, @spectrum-css/radio@workspace:components/radio":
version: 0.0.0-use.local
resolution: "@spectrum-css/radio@workspace:components/radio"
@@ -3909,8 +3917,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3921,8 +3929,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -3935,26 +3943,13 @@ __metadata:
"@spectrum-css/textfield": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/clearbutton": ">=6"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/textfield": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/clearbutton": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/textfield": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
-"@spectrum-css/searchwithin@npm:^5.1.3":
- version: 5.1.3
- resolution: "@spectrum-css/searchwithin@npm:5.1.3"
- peerDependencies:
- "@spectrum-css/clearbutton": ">=5"
- "@spectrum-css/icon": ">=4"
- "@spectrum-css/picker": ">=3"
- "@spectrum-css/textfield": ">=5"
- "@spectrum-css/vars": ">=9"
- checksum: 10c0/5b5aba2d300e41d37895c071f6ed9f771cc1650ff3643ac53721052cd413fcc8cafa47761e5c9f12d22ec3cbf7ea9990c895b0747ce2bd2a1f8adfa722609726
- languageName: node
- linkType: hard
-
"@spectrum-css/sidenav@workspace:components/sidenav":
version: 0.0.0-use.local
resolution: "@spectrum-css/sidenav@workspace:components/sidenav"
@@ -3962,8 +3957,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/icon":
optional: true
@@ -3977,32 +3972,18 @@ __metadata:
"@spectrum-css/stepper": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/stepper": ">=6"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/stepper": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
-"@spectrum-css/splitbutton@npm:^8.1.2":
- version: 8.1.2
- resolution: "@spectrum-css/splitbutton@npm:8.1.2"
- peerDependencies:
- "@spectrum-css/button": ">=11"
- "@spectrum-css/icon": ">=4"
- "@spectrum-css/vars": ">=9"
- peerDependenciesMeta:
- "@spectrum-css/icon":
- optional: true
- checksum: 10c0/4ca2ec3541b6d5a5224d1a92ecb9156519b12731bbae13261a31827e638c1266141f66b8f615f92bafada3729b7893c0839db6dc0d6e0d698603e782925e7335
- languageName: node
- linkType: hard
-
"@spectrum-css/splitview@workspace:components/splitview":
version: 0.0.0-use.local
resolution: "@spectrum-css/splitview@workspace:components/splitview"
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -4012,7 +3993,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -4024,9 +4005,9 @@ __metadata:
"@spectrum-css/tokens": "workspace:^"
"@spectrum-css/tooltip": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
- "@spectrum-css/tooltip": ">=6"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
+ "@spectrum-css/tooltip": ">=7.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/tooltip":
optional: true
@@ -4043,11 +4024,11 @@ __metadata:
"@spectrum-css/textfield": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/actionbutton": ">=6"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/infieldbutton": ">=5"
- "@spectrum-css/textfield": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/actionbutton": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/infieldbutton": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/textfield": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/infieldbutton":
optional: true
@@ -4061,8 +4042,8 @@ __metadata:
"@spectrum-css/opacitycheckerboard": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/opacitycheckerboard": ">=2"
- "@spectrum-css/tokens": ">=14.5.0"
+ "@spectrum-css/opacitycheckerboard": ">=3.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -4073,8 +4054,8 @@ __metadata:
"@spectrum-css/swatch": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/swatch": ">=6"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/swatch": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -4084,7 +4065,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -4098,11 +4079,11 @@ __metadata:
"@spectrum-css/thumbnail": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/button": ">=13"
- "@spectrum-css/checkbox": ">=9"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/thumbnail": ">=6"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0"
+ "@spectrum-css/checkbox": ">=10.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/thumbnail": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/button":
optional: true
@@ -4122,10 +4103,10 @@ __metadata:
"@spectrum-css/picker": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/menu": ">=7"
- "@spectrum-css/picker": ">=8"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/menu": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/picker": ">=9.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/icon":
optional: true
@@ -4141,10 +4122,10 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/avatar": ">=7"
- "@spectrum-css/clearbutton": ">=6"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/avatar": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/clearbutton": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/avatar":
optional: true
@@ -4160,8 +4141,8 @@ __metadata:
"@spectrum-css/tag": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tag": ">=9"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tag": ">=10.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -4172,8 +4153,8 @@ __metadata:
"@spectrum-css/helptext": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/helptext": ">=5"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/helptext": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/helptext":
optional: true
@@ -4187,8 +4168,8 @@ __metadata:
"@spectrum-css/opacitycheckerboard": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/opacitycheckerboard": ">=2"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/opacitycheckerboard": ">=3.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -4201,27 +4182,28 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/button": ">=13"
- "@spectrum-css/closebutton": ">=5"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0"
+ "@spectrum-css/closebutton": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
+"@spectrum-css/tokens-legacy@npm:@spectrum-css/tokens@^14.6.0":
+ version: 14.6.0
+ resolution: "@spectrum-css/tokens@npm:14.6.0"
+ checksum: 10c0/62343030d55fce9de192ca0d1e13bd1ee147c1aba45ecf6b8db27c1740865f9645af8b0b260f0723ce295af2b83cd2014962d62af61b8827a548bc80be9f1012
+ languageName: node
+ linkType: hard
+
"@spectrum-css/tokens@workspace:^, @spectrum-css/tokens@workspace:tokens":
version: 0.0.0-use.local
resolution: "@spectrum-css/tokens@workspace:tokens"
dependencies:
- "@adobe/spectrum-tokens": "npm:12.25.0"
+ "@adobe/spectrum-tokens": "npm:0.0.0-s2-foundations-20241121221506"
"@nxkit/style-dictionary": "npm:^6.0.0"
- cssnano: "npm:^7.0.3"
- cssnano-preset-advanced: "npm:^7.0.6"
postcss: "npm:^8.4.49"
postcss-cli: "npm:^11.0.0"
- postcss-import: "npm:^16.1.0"
- postcss-licensing: "npm:^2.0.0"
- postcss-rgb-mapping: "workspace:^"
- postcss-sorting: "npm:^9.1.0"
prettier: "npm:^3.4.2"
style-dictionary: "npm:^3.9.2"
style-dictionary-sets: "npm:^2.3.0"
@@ -4236,8 +4218,8 @@ __metadata:
"@spectrum-css/icon": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -4252,12 +4234,12 @@ __metadata:
"@spectrum-css/modal": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/button": ">=13"
- "@spectrum-css/dialog": ">=10"
- "@spectrum-css/divider": ">=3"
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/modal": ">=5"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/button": ">=14.0.0-s2-foundations.0"
+ "@spectrum-css/dialog": ">=11.0.0-s2-foundations.0"
+ "@spectrum-css/divider": ">=4.0.0-s2-foundations.0"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/modal": ">=6.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/dialog":
optional: true
@@ -4274,9 +4256,9 @@ __metadata:
"@spectrum-css/thumbnail": "workspace:^"
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/icon": ">=7"
- "@spectrum-css/thumbnail": ">=6"
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/icon": ">=8.0.0-s2-foundations.0"
+ "@spectrum-css/thumbnail": ">=7.0.0-s2-foundations.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
peerDependenciesMeta:
"@spectrum-css/thumbnail":
optional: true
@@ -4289,7 +4271,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14.5.0"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -4310,7 +4292,7 @@ __metadata:
dependencies:
"@spectrum-css/commons": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -4320,7 +4302,7 @@ __metadata:
dependencies:
"@spectrum-css/tokens": "workspace:^"
peerDependencies:
- "@spectrum-css/tokens": ">=14"
+ "@spectrum-css/tokens": ">=15.0.0-s2-foundations.0"
languageName: unknown
linkType: soft
@@ -4337,11 +4319,50 @@ __metadata:
languageName: unknown
linkType: soft
+"@spectrum-tools/postcss-add-theming-layer@workspace:^, @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.2"
+ postcss: "npm:^8.4.49"
+ postcss-selector-parser: "npm:^6.1.1"
+ postcss-values-parser: "npm:^6.0.2"
+ peerDependencies:
+ postcss: ">=8"
+ languageName: unknown
+ linkType: soft
+
+"@spectrum-tools/postcss-property-rollup@workspace:^, @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.2"
+ postcss: "npm:^8.4.49"
+ peerDependencies:
+ postcss: ">=8"
+ languageName: unknown
+ linkType: soft
+
+"@spectrum-tools/postcss-rgb-mapping@workspace:^, @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"
+ dependencies:
+ ava: "npm:^6.2.0"
+ c8: "npm:^10.1.3"
+ postcss: "npm:^8.4.49"
+ postcss-values-parser: "npm:^6.0.2"
+ peerDependencies:
+ postcss: ">=8"
+ languageName: unknown
+ linkType: soft
+
"@spectrum-tools/stylelint-no-missing-var@workspace:plugins/stylelint-no-missing-var":
version: 0.0.0-use.local
resolution: "@spectrum-tools/stylelint-no-missing-var@workspace:plugins/stylelint-no-missing-var"
dependencies:
- ava: "npm:^6.1.3"
+ ava: "npm:^6.2.0"
c8: "npm:^10.1.3"
colors: "npm:^1.4.0"
stylelint: "npm:^16.9.0"
@@ -4354,7 +4375,7 @@ __metadata:
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.1.3"
+ ava: "npm:^6.2.0"
c8: "npm:^10.1.3"
colors: "npm:^1.4.0"
fast-glob: "npm:^3.3.2"
@@ -4370,9 +4391,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "@spectrum-tools/stylelint-no-unused-custom-properties@workspace:plugins/stylelint-no-unused-custom-properties"
dependencies:
- ava: "npm:^6.1.3"
+ ava: "npm:^6.2.0"
c8: "npm:^10.1.3"
colors: "npm:^1.4.0"
+ postcss: "npm:^8.4.49"
postcss-values-parser: "npm:^6.0.2"
stylelint: "npm:^16.9.0"
peerDependencies:
@@ -4389,7 +4411,7 @@ __metadata:
postcss-values-parser: "npm:^6.0.2"
stylelint: "npm:^16.9.0"
peerDependencies:
- stylelint: ">=16.0.0"
+ stylelint: ">=16"
languageName: unknown
linkType: soft
@@ -5098,6 +5120,15 @@ __metadata:
languageName: node
linkType: hard
+"@types/debug@npm:^4.0.0":
+ version: 4.1.12
+ resolution: "@types/debug@npm:4.1.12"
+ dependencies:
+ "@types/ms": "npm:*"
+ checksum: 10c0/5dcd465edbb5a7f226e9a5efd1f399c6172407ef5840686b73e3608ce135eeca54ae8037dcd9f16bdb2768ac74925b820a8b9ecc588a58ca09eca6acabe33e2f
+ 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"
@@ -5179,6 +5210,15 @@ __metadata:
languageName: node
linkType: hard
+"@types/mdast@npm:^4.0.0":
+ version: 4.0.4
+ resolution: "@types/mdast@npm:4.0.4"
+ dependencies:
+ "@types/unist": "npm:*"
+ checksum: 10c0/84f403dbe582ee508fd9c7643ac781ad8597fcbfc9ccb8d4715a2c92e4545e5772cbd0dbdf18eda65789386d81b009967fdef01b24faf6640f817287f54d9c82
+ languageName: node
+ linkType: hard
+
"@types/mdx@npm:^2.0.0":
version: 2.0.13
resolution: "@types/mdx@npm:2.0.13"
@@ -5193,6 +5233,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/ms@npm:*":
+ version: 0.7.34
+ resolution: "@types/ms@npm:0.7.34"
+ checksum: 10c0/ac80bd90012116ceb2d188fde62d96830ca847823e8ca71255616bc73991aa7d9f057b8bfab79e8ee44ffefb031ddd1bcce63ea82f9e66f7c31ec02d2d823ccc
+ languageName: node
+ linkType: hard
+
"@types/node@npm:*":
version: 20.14.11
resolution: "@types/node@npm:20.14.11"
@@ -5300,6 +5347,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/unist@npm:*, @types/unist@npm:^3.0.0":
+ version: 3.0.2
+ resolution: "@types/unist@npm:3.0.2"
+ checksum: 10c0/39f220ce184a773c55c18a127062bfc4d0d30c987250cd59bab544d97be6cfec93717a49ef96e81f024b575718f798d4d329eb81c452fc57d6d051af8b043ebf
+ languageName: node
+ linkType: hard
+
"@types/unist@npm:^2":
version: 2.0.10
resolution: "@types/unist@npm:2.0.10"
@@ -5350,25 +5404,25 @@ __metadata:
languageName: node
linkType: hard
-"@vercel/nft@npm:^0.26.2":
- version: 0.26.5
- resolution: "@vercel/nft@npm:0.26.5"
+"@vercel/nft@npm:^0.27.5":
+ version: 0.27.7
+ resolution: "@vercel/nft@npm:0.27.7"
dependencies:
- "@mapbox/node-pre-gyp": "npm:^1.0.5"
- "@rollup/pluginutils": "npm:^4.0.0"
+ "@mapbox/node-pre-gyp": "npm:^1.0.11"
+ "@rollup/pluginutils": "npm:^5.1.3"
acorn: "npm:^8.6.0"
- acorn-import-attributes: "npm:^1.9.2"
+ acorn-import-attributes: "npm:^1.9.5"
async-sema: "npm:^3.1.1"
bindings: "npm:^1.4.0"
estree-walker: "npm:2.0.2"
glob: "npm:^7.1.3"
graceful-fs: "npm:^4.2.9"
- micromatch: "npm:^4.0.2"
+ micromatch: "npm:^4.0.8"
node-gyp-build: "npm:^4.2.2"
resolve-from: "npm:^5.0.0"
bin:
nft: out/cli.js
- checksum: 10c0/b7034b2f851384f26316c856a731c0973a99bd02f6bb349916a750328a4919944ed6fd12c321b38ec6535d29dfb627d7fa8ab0f1e8c1c3cabd71e3350bd77548
+ checksum: 10c0/bf6c1572e436e46e83d38c837fd715603b816fdfc5109f55f9898ed25011dfaba6c1cc979457db81238021854db5ba60c3b5bb263b843e24c4ebedb02b6ec2fe
languageName: node
linkType: hard
@@ -5514,7 +5568,7 @@ __metadata:
languageName: node
linkType: hard
-"acorn-import-attributes@npm:^1.9.2":
+"acorn-import-attributes@npm:^1.9.5":
version: 1.9.5
resolution: "acorn-import-attributes@npm:1.9.5"
peerDependencies:
@@ -5550,7 +5604,7 @@ __metadata:
languageName: node
linkType: hard
-"acorn-walk@npm:^8.1.1, acorn-walk@npm:^8.3.2":
+"acorn-walk@npm:^8.1.1":
version: 8.3.3
resolution: "acorn-walk@npm:8.3.3"
dependencies:
@@ -5559,6 +5613,15 @@ __metadata:
languageName: node
linkType: hard
+"acorn-walk@npm:^8.3.4":
+ version: 8.3.4
+ resolution: "acorn-walk@npm:8.3.4"
+ dependencies:
+ acorn: "npm:^8.11.0"
+ checksum: 10c0/76537ac5fb2c37a64560feaf3342023dadc086c46da57da363e64c6148dc21b57d49ace26f949e225063acb6fb441eabffd89f7a3066de5ad37ab3e328927c62
+ languageName: node
+ linkType: hard
+
"acorn@npm:^7.0.0":
version: 7.4.1
resolution: "acorn@npm:7.4.1"
@@ -5577,7 +5640,16 @@ __metadata:
languageName: node
linkType: hard
-"acorn@npm:^8.11.3, acorn@npm:^8.4.1, acorn@npm:^8.5.0, acorn@npm:^8.6.0, acorn@npm:^8.9.0":
+"acorn@npm:^8.13.0":
+ version: 8.14.0
+ resolution: "acorn@npm:8.14.0"
+ bin:
+ acorn: bin/acorn
+ checksum: 10c0/6d4ee461a7734b2f48836ee0fbb752903606e576cc100eb49340295129ca0b452f3ba91ddd4424a1d4406a98adfb2ebb6bd0ff4c49d7a0930c10e462719bbfd7
+ languageName: node
+ linkType: hard
+
+"acorn@npm:^8.4.1, acorn@npm:^8.5.0, acorn@npm:^8.6.0, acorn@npm:^8.9.0":
version: 8.11.3
resolution: "acorn@npm:8.11.3"
bin:
@@ -6102,18 +6174,18 @@ __metadata:
languageName: node
linkType: hard
-"ava@npm:^6.1.3":
- version: 6.1.3
- resolution: "ava@npm:6.1.3"
+"ava@npm:^6.2.0":
+ version: 6.2.0
+ resolution: "ava@npm:6.2.0"
dependencies:
- "@vercel/nft": "npm:^0.26.2"
- acorn: "npm:^8.11.3"
- acorn-walk: "npm:^8.3.2"
+ "@vercel/nft": "npm:^0.27.5"
+ acorn: "npm:^8.13.0"
+ acorn-walk: "npm:^8.3.4"
ansi-styles: "npm:^6.2.1"
arrgv: "npm:^1.0.2"
arrify: "npm:^3.0.0"
- callsites: "npm:^4.1.0"
- cbor: "npm:^9.0.1"
+ callsites: "npm:^4.2.0"
+ cbor: "npm:^9.0.2"
chalk: "npm:^5.3.0"
chunkd: "npm:^2.0.1"
ci-info: "npm:^4.0.0"
@@ -6123,10 +6195,10 @@ __metadata:
common-path-prefix: "npm:^3.0.0"
concordance: "npm:^5.0.4"
currently-unhandled: "npm:^0.4.1"
- debug: "npm:^4.3.4"
- emittery: "npm:^1.0.1"
- figures: "npm:^6.0.1"
- globby: "npm:^14.0.0"
+ debug: "npm:^4.3.7"
+ emittery: "npm:^1.0.3"
+ figures: "npm:^6.1.0"
+ globby: "npm:^14.0.2"
ignore-by-default: "npm:^2.1.0"
indent-string: "npm:^5.0.0"
is-plain-object: "npm:^5.0.0"
@@ -6134,17 +6206,17 @@ __metadata:
matcher: "npm:^5.0.0"
memoize: "npm:^10.0.0"
ms: "npm:^2.1.3"
- p-map: "npm:^7.0.1"
+ p-map: "npm:^7.0.2"
package-config: "npm:^5.0.0"
- picomatch: "npm:^3.0.1"
+ picomatch: "npm:^4.0.2"
plur: "npm:^5.1.0"
- pretty-ms: "npm:^9.0.0"
+ pretty-ms: "npm:^9.1.0"
resolve-cwd: "npm:^3.0.0"
stack-utils: "npm:^2.0.6"
strip-ansi: "npm:^7.1.0"
supertap: "npm:^3.0.1"
temp-dir: "npm:^3.0.0"
- write-file-atomic: "npm:^5.0.1"
+ write-file-atomic: "npm:^6.0.0"
yargs: "npm:^17.7.2"
peerDependencies:
"@ava/typescript": "*"
@@ -6153,7 +6225,7 @@ __metadata:
optional: true
bin:
ava: entrypoints/cli.mjs
- checksum: 10c0/108b28aceb0dfdb077bcf4c96109d736667999c2ce9f564489c4747482ea0e0c455d4d96fdfaad610b1125b74129b7b1d2ce570ec4903e767f6950d7f722f2cd
+ checksum: 10c0/25a37413c9ee1b5322dc5a266f546236ea4b52e5c04ae4b52a7b26db9263eebe2dbcda687bf4d464867e558e9148e4567aa09a7ec91d46e3218ab93204e3c653
languageName: node
linkType: hard
@@ -6191,6 +6263,13 @@ __metadata:
languageName: node
linkType: hard
+"bail@npm:^2.0.0":
+ version: 2.0.2
+ resolution: "bail@npm:2.0.2"
+ checksum: 10c0/25cbea309ef6a1f56214187004e8f34014eb015713ea01fa5b9b7e9e776ca88d0fdffd64143ac42dc91966c915a4b7b683411b56e14929fad16153fc026ffb8b
+ languageName: node
+ linkType: hard
+
"balanced-match@npm:^1.0.0":
version: 1.0.2
resolution: "balanced-match@npm:1.0.2"
@@ -6443,6 +6522,32 @@ __metadata:
languageName: node
linkType: hard
+"c8@npm:^10.1.2":
+ version: 10.1.2
+ resolution: "c8@npm:10.1.2"
+ dependencies:
+ "@bcoe/v8-coverage": "npm:^0.2.3"
+ "@istanbuljs/schema": "npm:^0.1.3"
+ find-up: "npm:^5.0.0"
+ foreground-child: "npm:^3.1.1"
+ istanbul-lib-coverage: "npm:^3.2.0"
+ istanbul-lib-report: "npm:^3.0.1"
+ istanbul-reports: "npm:^3.1.6"
+ test-exclude: "npm:^7.0.1"
+ v8-to-istanbul: "npm:^9.0.0"
+ yargs: "npm:^17.7.2"
+ yargs-parser: "npm:^21.1.1"
+ peerDependencies:
+ monocart-coverage-reports: ^2
+ peerDependenciesMeta:
+ monocart-coverage-reports:
+ optional: true
+ bin:
+ c8: bin/c8.js
+ checksum: 10c0/882903f22c08f9053b7b274ba31c374cf141d027c46cda57e6472798f82437c5d73fe25bd25b60d6b01c9de383615ae932e6c4d7d4acd7ea231216215f207217
+ languageName: node
+ linkType: hard
+
"c8@npm:^10.1.3":
version: 10.1.3
resolution: "c8@npm:10.1.3"
@@ -6529,7 +6634,7 @@ __metadata:
languageName: node
linkType: hard
-"callsites@npm:^4.1.0":
+"callsites@npm:^4.2.0":
version: 4.2.0
resolution: "callsites@npm:4.2.0"
checksum: 10c0/8f7e269ec09fc0946bb22d838a8bc7932e1909ab4a833b964749f4d0e8bdeaa1f253287c4f911f61781f09620b6925ccd19a5ea4897489c4e59442c660c312a3
@@ -6558,31 +6663,10 @@ __metadata:
languageName: node
linkType: hard
-"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001599, caniuse-lite@npm:^1.0.30001640":
- version: 1.0.30001643
- resolution: "caniuse-lite@npm:1.0.30001643"
- checksum: 10c0/7fcd0fd180bbe6764311ad57b0d39c23afdcc3bb1d8f804e7a76752c62a85b1bb7cf74b672d9da2f0afe7ad75336ff811a6fe279eb2a54bc04c272b6b62e57f1
- languageName: node
- linkType: hard
-
-"caniuse-lite@npm:^1.0.30001629":
- version: 1.0.30001636
- resolution: "caniuse-lite@npm:1.0.30001636"
- checksum: 10c0/e5f965b4da7bae1531fd9f93477d015729ff9e3fa12670ead39a9e6cdc4c43e62c272d47857c5cc332e7b02d697cb3f2f965a1030870ac7476da60c2fc81ee94
- languageName: node
- linkType: hard
-
-"caniuse-lite@npm:^1.0.30001646":
- version: 1.0.30001660
- resolution: "caniuse-lite@npm:1.0.30001660"
- checksum: 10c0/d28900b56c597176d515c3175ca75c454f2d30cb2c09a44d7bdb009bb0c4d8a2557905adb77642889bbe9feb85fbfe9d974c8b8e53521fb4b50ee16ab246104e
- languageName: node
- linkType: hard
-
-"caniuse-lite@npm:^1.0.30001669":
- version: 1.0.30001673
- resolution: "caniuse-lite@npm:1.0.30001673"
- checksum: 10c0/0e73a2b0f06973052e563dec9990a6fd440d510fa2ff54fa50310e736abb86e96c96b43c10e609fc22f2109f98fe76428b70441baf6b1a49f69ccf50c1879f6b
+"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001599, caniuse-lite@npm:^1.0.30001629, caniuse-lite@npm:^1.0.30001640, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001669":
+ version: 1.0.30001690
+ resolution: "caniuse-lite@npm:1.0.30001690"
+ checksum: 10c0/646bd469032afa90400a84dec30a2b00a6eda62c03ead358117e3f884cda8aacec02ec058a6dbee5eaf9714f83e483b9b0eb4fb42febb8076569f5ca40f1d347
languageName: node
linkType: hard
@@ -6597,7 +6681,7 @@ __metadata:
languageName: node
linkType: hard
-"cbor@npm:^9.0.1":
+"cbor@npm:^9.0.2":
version: 9.0.2
resolution: "cbor@npm:9.0.2"
dependencies:
@@ -6606,6 +6690,13 @@ __metadata:
languageName: node
linkType: hard
+"ccount@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "ccount@npm:2.0.1"
+ checksum: 10c0/3939b1664390174484322bc3f45b798462e6c07ee6384cb3d645e0aa2f318502d174845198c1561930e1d431087f74cf1fe291ae9a4722821a9f4ba67e574350
+ languageName: node
+ linkType: hard
+
"cfb@npm:~0.11.0":
version: 0.11.1
resolution: "cfb@npm:0.11.1"
@@ -6743,6 +6834,13 @@ __metadata:
languageName: node
linkType: hard
+"character-entities@npm:^2.0.0":
+ version: 2.0.2
+ resolution: "character-entities@npm:2.0.2"
+ checksum: 10c0/b0c645a45bcc90ff24f0e0140f4875a8436b8ef13b6bcd31ec02cfb2ca502b680362aa95386f7815bdc04b6464d48cf191210b3840d7c04241a149ede591a308
+ languageName: node
+ linkType: hard
+
"character-reference-invalid@npm:^1.0.0":
version: 1.1.4
resolution: "character-reference-invalid@npm:1.1.4"
@@ -7847,6 +7945,18 @@ __metadata:
languageName: node
linkType: hard
+"debug@npm:^4.0.0, debug@npm:^4.3.7":
+ version: 4.3.7
+ resolution: "debug@npm:4.3.7"
+ dependencies:
+ ms: "npm:^2.1.3"
+ peerDependenciesMeta:
+ supports-color:
+ optional: true
+ checksum: 10c0/1471db19c3b06d485a622d62f65947a19a23fbd0dd73f7fd3eafb697eec5360cde447fb075919987899b1a2096e85d35d4eb5a4de09a57600ac9cf7e6c8e768b
+ languageName: node
+ linkType: hard
+
"debug@npm:^4.3.6":
version: 4.3.6
resolution: "debug@npm:4.3.6"
@@ -7878,6 +7988,15 @@ __metadata:
languageName: node
linkType: hard
+"decode-named-character-reference@npm:^1.0.0":
+ version: 1.0.2
+ resolution: "decode-named-character-reference@npm:1.0.2"
+ dependencies:
+ character-entities: "npm:^2.0.0"
+ checksum: 10c0/66a9fc5d9b5385a2b3675c69ba0d8e893393d64057f7dbbb585265bb4fc05ec513d76943b8e5aac7d8016d20eea4499322cbf4cd6d54b466976b78f3a7587a4c
+ languageName: node
+ linkType: hard
+
"deep-eql@npm:^5.0.1":
version: 5.0.2
resolution: "deep-eql@npm:5.0.2"
@@ -8045,7 +8164,7 @@ __metadata:
languageName: node
linkType: hard
-"dequal@npm:^2.0.2, dequal@npm:^2.0.3":
+"dequal@npm:^2.0.0, dequal@npm:^2.0.2, dequal@npm:^2.0.3":
version: 2.0.3
resolution: "dequal@npm:2.0.3"
checksum: 10c0/f98860cdf58b64991ae10205137c0e97d384c3a4edc7f807603887b7c4b850af1224a33d88012009f150861cbee4fa2d322c4cc04b9313bee312e47f6ecaa888
@@ -8073,6 +8192,15 @@ __metadata:
languageName: node
linkType: hard
+"devlop@npm:^1.0.0, devlop@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "devlop@npm:1.1.0"
+ dependencies:
+ dequal: "npm:^2.0.0"
+ checksum: 10c0/e0928ab8f94c59417a2b8389c45c55ce0a02d9ac7fd74ef62d01ba48060129e1d594501b77de01f3eeafc7cb00773819b0df74d96251cf20b31c5b3071f45c0e
+ languageName: node
+ linkType: hard
+
"diff-sequences@npm:^29.6.3":
version: 29.6.3
resolution: "diff-sequences@npm:29.6.3"
@@ -8343,7 +8471,7 @@ __metadata:
languageName: node
linkType: hard
-"emittery@npm:^1.0.1":
+"emittery@npm:^1.0.3":
version: 1.0.3
resolution: "emittery@npm:1.0.3"
checksum: 10c0/91605d044f3891dd1f8ab731aeb94b520488b21e707f7064dcbcf5303bac3b4e7133dfa23c343ede1fc970340bd78a9b1aed522b805bc15104606bba630dd71e
@@ -8975,7 +9103,7 @@ __metadata:
languageName: node
linkType: hard
-"estree-walker@npm:2.0.2, estree-walker@npm:^2.0.1, estree-walker@npm:^2.0.2":
+"estree-walker@npm:2.0.2, estree-walker@npm:^2.0.2":
version: 2.0.2
resolution: "estree-walker@npm:2.0.2"
checksum: 10c0/53a6c54e2019b8c914dc395890153ffdc2322781acf4bd7d1a32d7aedc1710807bdcd866ac133903d5629ec601fbb50abe8c2e5553c7f5a0afdd9b6af6c945af
@@ -9066,7 +9194,7 @@ __metadata:
languageName: node
linkType: hard
-"extend@npm:^3.0.2":
+"extend@npm:^3.0.0, extend@npm:^3.0.2":
version: 3.0.2
resolution: "extend@npm:3.0.2"
checksum: 10c0/73bf6e27406e80aa3e85b0d1c4fd987261e628064e170ca781125c0b635a3dabad5e05adbf07595ea0cf1e6c5396cacb214af933da7cbaf24fe75ff14818e8f9
@@ -9257,7 +9385,7 @@ __metadata:
languageName: node
linkType: hard
-"figures@npm:^6.0.1":
+"figures@npm:^6.1.0":
version: 6.1.0
resolution: "figures@npm:6.1.0"
dependencies:
@@ -9985,7 +10113,7 @@ __metadata:
languageName: node
linkType: hard
-"globby@npm:^14.0.0":
+"globby@npm:^14.0.0, globby@npm:^14.0.2":
version: 14.0.2
resolution: "globby@npm:14.0.2"
dependencies:
@@ -10854,6 +10982,13 @@ __metadata:
languageName: node
linkType: hard
+"is-plain-obj@npm:^4.0.0":
+ version: 4.1.0
+ resolution: "is-plain-obj@npm:4.1.0"
+ checksum: 10c0/32130d651d71d9564dc88ba7e6fda0e91a1010a3694648e9f4f47bb6080438140696d3e3e15c741411d712e47ac9edc1a8a9de1fe76f3487b0d90be06ac9975e
+ languageName: node
+ linkType: hard
+
"is-plain-object@npm:^5.0.0":
version: 5.0.0
resolution: "is-plain-object@npm:5.0.0"
@@ -11727,6 +11862,13 @@ __metadata:
languageName: node
linkType: hard
+"longest-streak@npm:^3.0.0":
+ version: 3.1.0
+ resolution: "longest-streak@npm:3.1.0"
+ checksum: 10c0/7c2f02d0454b52834d1bcedef79c557bd295ee71fdabb02d041ff3aa9da48a90b5df7c0409156dedbc4df9b65da18742652aaea4759d6ece01f08971af6a7eaa
+ languageName: node
+ linkType: hard
+
"loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0":
version: 1.4.0
resolution: "loose-envify@npm:1.4.0"
@@ -11910,6 +12052,13 @@ __metadata:
languageName: node
linkType: hard
+"markdown-table@npm:^3.0.0":
+ version: 3.0.3
+ resolution: "markdown-table@npm:3.0.3"
+ checksum: 10c0/47433a3f31e4637a184e38e873ab1d2fadfb0106a683d466fec329e99a2d8dfa09f091fa42202c6f13ec94aef0199f449a684b28042c636f2edbc1b7e1811dcd
+ languageName: node
+ linkType: hard
+
"matcher@npm:^5.0.0":
version: 5.0.0
resolution: "matcher@npm:5.0.0"
@@ -11935,6 +12084,150 @@ __metadata:
languageName: node
linkType: hard
+"mdast-util-find-and-replace@npm:^3.0.0":
+ version: 3.0.1
+ resolution: "mdast-util-find-and-replace@npm:3.0.1"
+ dependencies:
+ "@types/mdast": "npm:^4.0.0"
+ escape-string-regexp: "npm:^5.0.0"
+ unist-util-is: "npm:^6.0.0"
+ unist-util-visit-parents: "npm:^6.0.0"
+ checksum: 10c0/1faca98c4ee10a919f23b8cc6d818e5bb6953216a71dfd35f51066ed5d51ef86e5063b43dcfdc6061cd946e016a9f0d44a1dccadd58452cf4ed14e39377f00cb
+ languageName: node
+ linkType: hard
+
+"mdast-util-from-markdown@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "mdast-util-from-markdown@npm:2.0.1"
+ dependencies:
+ "@types/mdast": "npm:^4.0.0"
+ "@types/unist": "npm:^3.0.0"
+ decode-named-character-reference: "npm:^1.0.0"
+ devlop: "npm:^1.0.0"
+ mdast-util-to-string: "npm:^4.0.0"
+ micromark: "npm:^4.0.0"
+ micromark-util-decode-numeric-character-reference: "npm:^2.0.0"
+ micromark-util-decode-string: "npm:^2.0.0"
+ micromark-util-normalize-identifier: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ unist-util-stringify-position: "npm:^4.0.0"
+ checksum: 10c0/496596bc6419200ff6258531a0ebcaee576a5c169695f5aa296a79a85f2a221bb9247d565827c709a7c2acfb56ae3c3754bf483d86206617bd299a9658c8121c
+ languageName: node
+ linkType: hard
+
+"mdast-util-gfm-autolink-literal@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "mdast-util-gfm-autolink-literal@npm:2.0.1"
+ dependencies:
+ "@types/mdast": "npm:^4.0.0"
+ ccount: "npm:^2.0.0"
+ devlop: "npm:^1.0.0"
+ mdast-util-find-and-replace: "npm:^3.0.0"
+ micromark-util-character: "npm:^2.0.0"
+ checksum: 10c0/963cd22bd42aebdec7bdd0a527c9494d024d1ad0739c43dc040fee35bdfb5e29c22564330a7418a72b5eab51d47a6eff32bc0255ef3ccb5cebfe8970e91b81b6
+ languageName: node
+ linkType: hard
+
+"mdast-util-gfm-footnote@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "mdast-util-gfm-footnote@npm:2.0.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
+ languageName: node
+ linkType: hard
+
+"mdast-util-gfm-strikethrough@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "mdast-util-gfm-strikethrough@npm:2.0.0"
+ dependencies:
+ "@types/mdast": "npm:^4.0.0"
+ mdast-util-from-markdown: "npm:^2.0.0"
+ mdast-util-to-markdown: "npm:^2.0.0"
+ checksum: 10c0/b053e93d62c7545019bd914271ea9e5667ad3b3b57d16dbf68e56fea39a7e19b4a345e781312714eb3d43fdd069ff7ee22a3ca7f6149dfa774554f19ce3ac056
+ languageName: node
+ linkType: hard
+
+"mdast-util-gfm-table@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "mdast-util-gfm-table@npm:2.0.0"
+ dependencies:
+ "@types/mdast": "npm:^4.0.0"
+ devlop: "npm:^1.0.0"
+ markdown-table: "npm:^3.0.0"
+ mdast-util-from-markdown: "npm:^2.0.0"
+ mdast-util-to-markdown: "npm:^2.0.0"
+ checksum: 10c0/128af47c503a53bd1c79f20642561e54a510ad5e2db1e418d28fefaf1294ab839e6c838e341aef5d7e404f9170b9ca3d1d89605f234efafde93ee51174a6e31e
+ languageName: node
+ linkType: hard
+
+"mdast-util-gfm-task-list-item@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "mdast-util-gfm-task-list-item@npm:2.0.0"
+ dependencies:
+ "@types/mdast": "npm:^4.0.0"
+ devlop: "npm:^1.0.0"
+ mdast-util-from-markdown: "npm:^2.0.0"
+ mdast-util-to-markdown: "npm:^2.0.0"
+ checksum: 10c0/258d725288482b636c0a376c296431390c14b4f29588675297cb6580a8598ed311fc73ebc312acfca12cc8546f07a3a285a53a3b082712e2cbf5c190d677d834
+ languageName: node
+ linkType: hard
+
+"mdast-util-gfm@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "mdast-util-gfm@npm:3.0.0"
+ dependencies:
+ mdast-util-from-markdown: "npm:^2.0.0"
+ mdast-util-gfm-autolink-literal: "npm:^2.0.0"
+ mdast-util-gfm-footnote: "npm:^2.0.0"
+ mdast-util-gfm-strikethrough: "npm:^2.0.0"
+ 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
+ languageName: node
+ linkType: hard
+
+"mdast-util-phrasing@npm:^4.0.0":
+ version: 4.1.0
+ resolution: "mdast-util-phrasing@npm:4.1.0"
+ dependencies:
+ "@types/mdast": "npm:^4.0.0"
+ unist-util-is: "npm:^6.0.0"
+ checksum: 10c0/bf6c31d51349aa3d74603d5e5a312f59f3f65662ed16c58017169a5fb0f84ca98578f626c5ee9e4aa3e0a81c996db8717096705521bddb4a0185f98c12c9b42f
+ languageName: node
+ linkType: hard
+
+"mdast-util-to-markdown@npm:^2.0.0":
+ version: 2.1.0
+ resolution: "mdast-util-to-markdown@npm:2.1.0"
+ dependencies:
+ "@types/mdast": "npm:^4.0.0"
+ "@types/unist": "npm:^3.0.0"
+ longest-streak: "npm:^3.0.0"
+ mdast-util-phrasing: "npm:^4.0.0"
+ mdast-util-to-string: "npm:^4.0.0"
+ micromark-util-decode-string: "npm:^2.0.0"
+ unist-util-visit: "npm:^5.0.0"
+ zwitch: "npm:^2.0.0"
+ checksum: 10c0/8bd37a9627a438ef6418d6642661904d0cc03c5c732b8b018a8e238ef5cc82fe8aef1940b19c6f563245e58b9659f35e527209bd3fe145f3c723ba14d18fc3e6
+ languageName: node
+ linkType: hard
+
+"mdast-util-to-string@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "mdast-util-to-string@npm:4.0.0"
+ dependencies:
+ "@types/mdast": "npm:^4.0.0"
+ checksum: 10c0/2d3c1af29bf3fe9c20f552ee9685af308002488f3b04b12fa66652c9718f66f41a32f8362aa2d770c3ff464c034860b41715902ada2306bb0a055146cef064d7
+ languageName: node
+ linkType: hard
+
"mdn-data@npm:2.0.28":
version: 2.0.28
resolution: "mdn-data@npm:2.0.28"
@@ -12004,7 +12297,336 @@ __metadata:
languageName: node
linkType: hard
-"micromatch@npm:^4.0.2, micromatch@npm:^4.0.4, micromatch@npm:^4.0.8, micromatch@npm:~4.0.8":
+"micromark-core-commonmark@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "micromark-core-commonmark@npm:2.0.1"
+ dependencies:
+ decode-named-character-reference: "npm:^1.0.0"
+ devlop: "npm:^1.0.0"
+ micromark-factory-destination: "npm:^2.0.0"
+ micromark-factory-label: "npm:^2.0.0"
+ micromark-factory-space: "npm:^2.0.0"
+ micromark-factory-title: "npm:^2.0.0"
+ micromark-factory-whitespace: "npm:^2.0.0"
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-chunked: "npm:^2.0.0"
+ micromark-util-classify-character: "npm:^2.0.0"
+ micromark-util-html-tag-name: "npm:^2.0.0"
+ micromark-util-normalize-identifier: "npm:^2.0.0"
+ micromark-util-resolve-all: "npm:^2.0.0"
+ micromark-util-subtokenize: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/a0b280b1b6132f600518e72cb29a4dd1b2175b85f5ed5b25d2c5695e42b876b045971370daacbcfc6b4ce8cf7acbf78dd3a0284528fb422b450144f4b3bebe19
+ languageName: node
+ linkType: hard
+
+"micromark-extension-gfm-autolink-literal@npm:^2.0.0":
+ version: 2.1.0
+ resolution: "micromark-extension-gfm-autolink-literal@npm:2.1.0"
+ dependencies:
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-sanitize-uri: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/84e6fbb84ea7c161dfa179665dc90d51116de4c28f3e958260c0423e5a745372b7dcbc87d3cde98213b532e6812f847eef5ae561c9397d7f7da1e59872ef3efe
+ languageName: node
+ linkType: hard
+
+"micromark-extension-gfm-footnote@npm:^2.0.0":
+ version: 2.1.0
+ resolution: "micromark-extension-gfm-footnote@npm:2.1.0"
+ dependencies:
+ devlop: "npm:^1.0.0"
+ micromark-core-commonmark: "npm:^2.0.0"
+ micromark-factory-space: "npm:^2.0.0"
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-normalize-identifier: "npm:^2.0.0"
+ micromark-util-sanitize-uri: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/d172e4218968b7371b9321af5cde8c77423f73b233b2b0fcf3ff6fd6f61d2e0d52c49123a9b7910612478bf1f0d5e88c75a3990dd68f70f3933fe812b9f77edc
+ languageName: node
+ linkType: hard
+
+"micromark-extension-gfm-strikethrough@npm:^2.0.0":
+ version: 2.1.0
+ resolution: "micromark-extension-gfm-strikethrough@npm:2.1.0"
+ dependencies:
+ devlop: "npm:^1.0.0"
+ micromark-util-chunked: "npm:^2.0.0"
+ micromark-util-classify-character: "npm:^2.0.0"
+ micromark-util-resolve-all: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/ef4f248b865bdda71303b494671b7487808a340b25552b11ca6814dff3fcfaab9be8d294643060bbdb50f79313e4a686ab18b99cbe4d3ee8a4170fcd134234fb
+ languageName: node
+ linkType: hard
+
+"micromark-extension-gfm-table@npm:^2.0.0":
+ version: 2.1.0
+ resolution: "micromark-extension-gfm-table@npm:2.1.0"
+ dependencies:
+ devlop: "npm:^1.0.0"
+ micromark-factory-space: "npm:^2.0.0"
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/c1b564ab68576406046d825b9574f5b4dbedbb5c44bede49b5babc4db92f015d9057dd79d8e0530f2fecc8970a695c40ac2e5e1d4435ccf3ef161038d0d1463b
+ languageName: node
+ linkType: hard
+
+"micromark-extension-gfm-tagfilter@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-extension-gfm-tagfilter@npm:2.0.0"
+ dependencies:
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/995558843fff137ae4e46aecb878d8a4691cdf23527dcf1e2f0157d66786be9f7bea0109c52a8ef70e68e3f930af811828ba912239438e31a9cfb9981f44d34d
+ languageName: node
+ linkType: hard
+
+"micromark-extension-gfm-task-list-item@npm:^2.0.0":
+ version: 2.1.0
+ resolution: "micromark-extension-gfm-task-list-item@npm:2.1.0"
+ dependencies:
+ devlop: "npm:^1.0.0"
+ micromark-factory-space: "npm:^2.0.0"
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/78aa537d929e9309f076ba41e5edc99f78d6decd754b6734519ccbbfca8abd52e1c62df68d41a6ae64d2a3fc1646cea955893c79680b0b4385ced4c52296181f
+ languageName: node
+ linkType: hard
+
+"micromark-extension-gfm@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "micromark-extension-gfm@npm:3.0.0"
+ dependencies:
+ micromark-extension-gfm-autolink-literal: "npm:^2.0.0"
+ micromark-extension-gfm-footnote: "npm:^2.0.0"
+ micromark-extension-gfm-strikethrough: "npm:^2.0.0"
+ micromark-extension-gfm-table: "npm:^2.0.0"
+ micromark-extension-gfm-tagfilter: "npm:^2.0.0"
+ micromark-extension-gfm-task-list-item: "npm:^2.0.0"
+ micromark-util-combine-extensions: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/970e28df6ebdd7c7249f52a0dda56e0566fbfa9ae56c8eeeb2445d77b6b89d44096880cd57a1c01e7821b1f4e31009109fbaca4e89731bff7b83b8519690e5d9
+ languageName: node
+ linkType: hard
+
+"micromark-factory-destination@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-factory-destination@npm:2.0.0"
+ dependencies:
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/b73492f687d41a6a379159c2f3acbf813042346bcea523d9041d0cc6124e6715f0779dbb2a0b3422719e9764c3b09f9707880aa159557e3cb4aeb03b9d274915
+ languageName: node
+ linkType: hard
+
+"micromark-factory-label@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-factory-label@npm:2.0.0"
+ dependencies:
+ devlop: "npm:^1.0.0"
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/8ffad00487a7891941b1d1f51d53a33c7a659dcf48617edb7a4008dad7aff67ec316baa16d55ca98ae3d75ce1d81628dbf72fedc7c6f108f740dec0d5d21c8ee
+ languageName: node
+ linkType: hard
+
+"micromark-factory-space@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-factory-space@npm:2.0.0"
+ dependencies:
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/103ca954dade963d4ff1d2f27d397833fe855ddc72590205022832ef68b775acdea67949000cee221708e376530b1de78c745267b0bf8366740840783eb37122
+ languageName: node
+ linkType: hard
+
+"micromark-factory-title@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-factory-title@npm:2.0.0"
+ dependencies:
+ micromark-factory-space: "npm:^2.0.0"
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/2b2188e7a011b1b001faf8c860286d246d5c3485ef8819270c60a5808f4c7613e49d4e481dbdff62600ef7acdba0f5100be2d125cbd2a15e236c26b3668a8ebd
+ languageName: node
+ linkType: hard
+
+"micromark-factory-whitespace@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-factory-whitespace@npm:2.0.0"
+ dependencies:
+ micromark-factory-space: "npm:^2.0.0"
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/4e91baab0cc71873095134bd0e225d01d9786cde352701402d71b72d317973954754e8f9f1849901f165530e6421202209f4d97c460a27bb0808ec5a3fc3148c
+ languageName: node
+ linkType: hard
+
+"micromark-util-character@npm:^2.0.0":
+ version: 2.1.0
+ resolution: "micromark-util-character@npm:2.1.0"
+ dependencies:
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/fc37a76aaa5a5138191ba2bef1ac50c36b3bcb476522e98b1a42304ab4ec76f5b036a746ddf795d3de3e7004b2c09f21dd1bad42d161f39b8cfc0acd067e6373
+ languageName: node
+ linkType: hard
+
+"micromark-util-chunked@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-util-chunked@npm:2.0.0"
+ dependencies:
+ micromark-util-symbol: "npm:^2.0.0"
+ checksum: 10c0/043b5f2abc8c13a1e2e4c378ead191d1a47ed9e0cd6d0fa5a0a430b2df9e17ada9d5de5a20688a000bbc5932507e746144acec60a9589d9a79fa60918e029203
+ languageName: node
+ linkType: hard
+
+"micromark-util-classify-character@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-util-classify-character@npm:2.0.0"
+ dependencies:
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/2bf5fa5050faa9b69f6c7e51dbaaf02329ab70fabad8229984381b356afbbf69db90f4617bec36d814a7d285fb7cad8e3c4e38d1daf4387dc9e240aa7f9a292a
+ languageName: node
+ linkType: hard
+
+"micromark-util-combine-extensions@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-util-combine-extensions@npm:2.0.0"
+ dependencies:
+ micromark-util-chunked: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/cd4c8d1a85255527facb419ff3b3cc3d7b7f27005c5ef5fa7ef2c4d0e57a9129534fc292a188ec2d467c2c458642d369c5f894bc8a9e142aed6696cc7989d3ea
+ languageName: node
+ linkType: hard
+
+"micromark-util-decode-numeric-character-reference@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "micromark-util-decode-numeric-character-reference@npm:2.0.1"
+ dependencies:
+ micromark-util-symbol: "npm:^2.0.0"
+ checksum: 10c0/3f6d684ee8f317c67806e19b3e761956256cb936a2e0533aad6d49ac5604c6536b2041769c6febdd387ab7175b7b7e551851bf2c1f78da943e7a3671ca7635ac
+ languageName: node
+ linkType: hard
+
+"micromark-util-decode-string@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-util-decode-string@npm:2.0.0"
+ dependencies:
+ decode-named-character-reference: "npm:^1.0.0"
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-decode-numeric-character-reference: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ checksum: 10c0/f5413bebb21bdb686cfa1bcfa7e9c93093a523d1b42443ead303b062d2d680a94e5e8424549f57b8ba9d786a758e5a26a97f56068991bbdbca5d1885b3aa7227
+ languageName: node
+ linkType: hard
+
+"micromark-util-encode@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-util-encode@npm:2.0.0"
+ checksum: 10c0/ebdaafff23100bbf4c74e63b4b1612a9ddf94cd7211d6a076bc6fb0bc32c1b48d6fb615aa0953e607c62c97d849f97f1042260d3eb135259d63d372f401bbbb2
+ languageName: node
+ linkType: hard
+
+"micromark-util-html-tag-name@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-util-html-tag-name@npm:2.0.0"
+ checksum: 10c0/988aa26367449bd345b627ae32cf605076daabe2dc1db71b578a8a511a47123e14af466bcd6dcbdacec60142f07bc2723ec5f7a0eed0f5319ce83b5e04825429
+ languageName: node
+ linkType: hard
+
+"micromark-util-normalize-identifier@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-util-normalize-identifier@npm:2.0.0"
+ dependencies:
+ micromark-util-symbol: "npm:^2.0.0"
+ checksum: 10c0/93bf8789b8449538f22cf82ac9b196363a5f3b2f26efd98aef87c4c1b1f8c05be3ef6391ff38316ff9b03c1a6fd077342567598019ddd12b9bd923dacc556333
+ languageName: node
+ linkType: hard
+
+"micromark-util-resolve-all@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-util-resolve-all@npm:2.0.0"
+ dependencies:
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/3b912e88453dcefe728a9080c8934a75ac4732056d6576ceecbcaf97f42c5d6fa2df66db8abdc8427eb167c5ffddefe26713728cfe500bc0e314ed260d6e2746
+ languageName: node
+ linkType: hard
+
+"micromark-util-sanitize-uri@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-util-sanitize-uri@npm:2.0.0"
+ dependencies:
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-encode: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ checksum: 10c0/74763ca1c927dd520d3ab8fd9856a19740acf76fc091f0a1f5d4e99c8cd5f1b81c5a0be3efb564941a071fb6d85fd951103f2760eb6cff77b5ab3abe08341309
+ languageName: node
+ linkType: hard
+
+"micromark-util-subtokenize@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "micromark-util-subtokenize@npm:2.0.1"
+ dependencies:
+ devlop: "npm:^1.0.0"
+ micromark-util-chunked: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/000cefde827db129f4ed92b8fbdeb4866c5f9c93068c0115485564b0426abcb9058080aa257df9035e12ca7fa92259d66623ea750b9eb3bcdd8325d3fb6fc237
+ languageName: node
+ linkType: hard
+
+"micromark-util-symbol@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-util-symbol@npm:2.0.0"
+ checksum: 10c0/4e76186c185ce4cefb9cea8584213d9ffacd77099d1da30c0beb09fa21f46f66f6de4c84c781d7e34ff763fe3a06b530e132fa9004882afab9e825238d0aa8b3
+ languageName: node
+ linkType: hard
+
+"micromark-util-types@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "micromark-util-types@npm:2.0.0"
+ checksum: 10c0/d74e913b9b61268e0d6939f4209e3abe9dada640d1ee782419b04fd153711112cfaaa3c4d5f37225c9aee1e23c3bb91a1f5223e1e33ba92d33e83956a53e61de
+ languageName: node
+ linkType: hard
+
+"micromark@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "micromark@npm:4.0.0"
+ dependencies:
+ "@types/debug": "npm:^4.0.0"
+ debug: "npm:^4.0.0"
+ decode-named-character-reference: "npm:^1.0.0"
+ devlop: "npm:^1.0.0"
+ micromark-core-commonmark: "npm:^2.0.0"
+ micromark-factory-space: "npm:^2.0.0"
+ micromark-util-character: "npm:^2.0.0"
+ micromark-util-chunked: "npm:^2.0.0"
+ micromark-util-combine-extensions: "npm:^2.0.0"
+ micromark-util-decode-numeric-character-reference: "npm:^2.0.0"
+ micromark-util-encode: "npm:^2.0.0"
+ micromark-util-normalize-identifier: "npm:^2.0.0"
+ micromark-util-resolve-all: "npm:^2.0.0"
+ micromark-util-sanitize-uri: "npm:^2.0.0"
+ micromark-util-subtokenize: "npm:^2.0.0"
+ micromark-util-symbol: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ checksum: 10c0/7e91c8d19ff27bc52964100853f1b3b32bb5b2ece57470a34ba1b2f09f4e2a183d90106c4ae585c9f2046969ee088576fed79b2f7061cba60d16652ccc2c64fd
+ languageName: node
+ linkType: hard
+
+"micromatch@npm:^4.0.4, micromatch@npm:^4.0.8, micromatch@npm:~4.0.8":
version: 4.0.8
resolution: "micromatch@npm:4.0.8"
dependencies:
@@ -12984,7 +13606,7 @@ __metadata:
languageName: node
linkType: hard
-"p-map@npm:^7.0.1, p-map@npm:^7.0.2":
+"p-map@npm:^7.0.2":
version: 7.0.2
resolution: "p-map@npm:7.0.2"
checksum: 10c0/e10548036648d1c043153f9997112fe5a7de54a319210238628f8ea22ee36587fd6ee740811f88b60bbf29d932e23ae35df7fced40df477116c84c18e797047e
@@ -13292,17 +13914,17 @@ __metadata:
languageName: node
linkType: hard
-"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.2, picomatch@npm:^2.3.1":
+"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.3.1":
version: 2.3.1
resolution: "picomatch@npm:2.3.1"
checksum: 10c0/26c02b8d06f03206fc2ab8d16f19960f2ff9e81a658f831ecb656d8f17d9edc799e8364b1f4a7873e89d9702dff96204be0fa26fe4181f6843f040f819dac4be
languageName: node
linkType: hard
-"picomatch@npm:^3.0.1":
- version: 3.0.1
- resolution: "picomatch@npm:3.0.1"
- checksum: 10c0/70ec738569f1864658378b7abdab8939d15dae0718c1df994eae3346fd33daf6a3c1ff4e0c1a0cd1e2c0319130985b63a2cff34d192f2f2acbb78aca76111736
+"picomatch@npm:^4.0.2":
+ version: 4.0.2
+ resolution: "picomatch@npm:4.0.2"
+ checksum: 10c0/7c51f3ad2bb42c776f49ebf964c644958158be30d0a510efd5a395e8d49cb5acfed5b82c0c5b365523ce18e6ab85013c9ebe574f60305892ec3fa8eee8304ccc
languageName: node
linkType: hard
@@ -13553,18 +14175,6 @@ __metadata:
languageName: node
linkType: hard
-"postcss-combininator@workspace:^, postcss-combininator@workspace:plugins/postcss-combininator":
- version: 0.0.0-use.local
- resolution: "postcss-combininator@workspace:plugins/postcss-combininator"
- dependencies:
- ava: "npm:^6.1.3"
- c8: "npm:^10.1.3"
- postcss: "npm:^8.4.49"
- peerDependencies:
- postcss: ">=8"
- languageName: unknown
- linkType: soft
-
"postcss-convert-values@npm:^7.0.2":
version: 7.0.2
resolution: "postcss-convert-values@npm:7.0.2"
@@ -14351,19 +14961,6 @@ __metadata:
languageName: node
linkType: hard
-"postcss-rgb-mapping@workspace:^, postcss-rgb-mapping@workspace:plugins/postcss-rgb-mapping":
- version: 0.0.0-use.local
- resolution: "postcss-rgb-mapping@workspace:plugins/postcss-rgb-mapping"
- dependencies:
- ava: "npm:^6.1.3"
- c8: "npm:^10.1.3"
- postcss: "npm:^8.4.49"
- postcss-value-parser: "npm:^4.2.0"
- peerDependencies:
- postcss: ">=8"
- languageName: unknown
- linkType: soft
-
"postcss-safe-parser@npm:^7.0.0":
version: 7.0.0
resolution: "postcss-safe-parser@npm:7.0.0"
@@ -14404,7 +15001,7 @@ __metadata:
languageName: node
linkType: hard
-"postcss-selector-parser@npm:^6.1.2":
+"postcss-selector-parser@npm:^6.1.1, postcss-selector-parser@npm:^6.1.2":
version: 6.1.2
resolution: "postcss-selector-parser@npm:6.1.2"
dependencies:
@@ -14441,18 +15038,6 @@ __metadata:
languageName: node
linkType: hard
-"postcss-splitinator@workspace:^, postcss-splitinator@workspace:plugins/postcss-splitinator":
- version: 0.0.0-use.local
- resolution: "postcss-splitinator@workspace:plugins/postcss-splitinator"
- dependencies:
- ava: "npm:^6.1.3"
- c8: "npm:^10.1.3"
- postcss: "npm:^8.4.49"
- peerDependencies:
- postcss: ">=8.0.0"
- languageName: unknown
- linkType: soft
-
"postcss-svgo@npm:^7.0.1":
version: 7.0.1
resolution: "postcss-svgo@npm:7.0.1"
@@ -14646,12 +15231,12 @@ __metadata:
languageName: node
linkType: hard
-"pretty-ms@npm:^9.0.0":
- version: 9.0.0
- resolution: "pretty-ms@npm:9.0.0"
+"pretty-ms@npm:^9.1.0":
+ version: 9.2.0
+ resolution: "pretty-ms@npm:9.2.0"
dependencies:
parse-ms: "npm:^4.0.0"
- checksum: 10c0/ba4a2acd1fe92a1c629e5cdeb555d7fa344ae9920e20fa00e8ac1db61b8d3dff8638ffc70c7569f681e375df68c9f31291c2c1912cefd02ef1b1bdd0861a4aed
+ checksum: 10c0/ab6d066f90e9f77020426986e1b018369f41575674544c539aabec2e63a20fec01166d8cf6571d0e165ad11cfe5a8134a2a48a36d42ab291c59c6deca5264cbb
languageName: node
linkType: hard
@@ -15053,6 +15638,43 @@ __metadata:
languageName: node
linkType: hard
+"remark-gfm@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "remark-gfm@npm:4.0.0"
+ dependencies:
+ "@types/mdast": "npm:^4.0.0"
+ mdast-util-gfm: "npm:^3.0.0"
+ micromark-extension-gfm: "npm:^3.0.0"
+ remark-parse: "npm:^11.0.0"
+ remark-stringify: "npm:^11.0.0"
+ unified: "npm:^11.0.0"
+ checksum: 10c0/db0aa85ab718d475c2596e27c95be9255d3b0fc730a4eda9af076b919f7dd812f7be3ac020611a8dbe5253fd29671d7b12750b56e529fdc32dfebad6dbf77403
+ languageName: node
+ linkType: hard
+
+"remark-parse@npm:^11.0.0":
+ version: 11.0.0
+ resolution: "remark-parse@npm:11.0.0"
+ dependencies:
+ "@types/mdast": "npm:^4.0.0"
+ mdast-util-from-markdown: "npm:^2.0.0"
+ micromark-util-types: "npm:^2.0.0"
+ unified: "npm:^11.0.0"
+ checksum: 10c0/6eed15ddb8680eca93e04fcb2d1b8db65a743dcc0023f5007265dda558b09db595a087f622062ccad2630953cd5cddc1055ce491d25a81f3317c858348a8dd38
+ languageName: node
+ linkType: hard
+
+"remark-stringify@npm:^11.0.0":
+ version: 11.0.0
+ resolution: "remark-stringify@npm:11.0.0"
+ dependencies:
+ "@types/mdast": "npm:^4.0.0"
+ mdast-util-to-markdown: "npm:^2.0.0"
+ unified: "npm:^11.0.0"
+ checksum: 10c0/0cdb37ce1217578f6f847c7ec9f50cbab35df5b9e3903d543e74b405404e67c07defcb23cd260a567b41b769400f6de03c2c3d9cd6ae7a6707d5c8d89ead489f
+ languageName: node
+ linkType: hard
+
"require-directory@npm:^2.1.1":
version: 2.1.1
resolution: "require-directory@npm:2.1.1"
@@ -15666,10 +16288,10 @@ __metadata:
"@commitlint/cli": "npm:^19.6.1"
"@commitlint/config-conventional": "npm:^19.6.0"
"@nx/devkit": "npm:^19.8.2"
- "@spectrum-css/cyclebutton": "npm:^3.1.3"
- "@spectrum-css/quickaction": "npm:^3.1.1"
- "@spectrum-css/searchwithin": "npm:^5.1.3"
- "@spectrum-css/splitbutton": "npm:^8.1.2"
+ "@spectrum-css/tokens-legacy": "npm:@spectrum-css/tokens@^14.6.0"
+ "@spectrum-tools/postcss-add-theming-layer": "workspace:^"
+ "@spectrum-tools/postcss-property-rollup": "workspace:^"
+ "@spectrum-tools/postcss-rgb-mapping": "workspace:^"
at-rule-packer: "npm:^0.4.2"
autoprefixer: "npm:^10.4.19"
colors: "npm:^1.4.0"
@@ -15694,7 +16316,6 @@ __metadata:
open: "npm:^10.1.0"
pajv: "npm:^1.2.0"
postcss: "npm:^8.4.49"
- postcss-combininator: "workspace:^"
postcss-extend: "npm:^1.0.5"
postcss-hover-media-feature: "npm:^1.0.2"
postcss-import: "npm:^16.1.0"
@@ -15703,10 +16324,8 @@ __metadata:
postcss-preset-env: "npm:^9.5.13"
postcss-pseudo-classes: "npm:^0.4.0"
postcss-reporter: "npm:^7.1.0"
- postcss-rgb-mapping: "workspace:^"
postcss-selector-replace: "npm:^1.0.2"
postcss-sorting: "npm:^9.1.0"
- postcss-splitinator: "workspace:^"
postcss-values-parser: "npm:^6.0.2"
prettier: "npm:^3.4.2"
rimraf: "npm:^6.0.1"
@@ -16626,6 +17245,13 @@ __metadata:
languageName: node
linkType: hard
+"trough@npm:^2.0.0":
+ version: 2.2.0
+ resolution: "trough@npm:2.2.0"
+ checksum: 10c0/58b671fc970e7867a48514168894396dd94e6d9d6456aca427cc299c004fe67f35ed7172a36449086b2edde10e78a71a284ec0076809add6834fb8f857ccb9b0
+ languageName: node
+ linkType: hard
+
"ts-dedent@npm:^2.0.0, ts-dedent@npm:^2.2.0":
version: 2.2.0
resolution: "ts-dedent@npm:2.2.0"
@@ -16933,6 +17559,21 @@ __metadata:
languageName: node
linkType: hard
+"unified@npm:^11.0.0":
+ version: 11.0.5
+ resolution: "unified@npm:11.0.5"
+ dependencies:
+ "@types/unist": "npm:^3.0.0"
+ bail: "npm:^2.0.0"
+ devlop: "npm:^1.0.0"
+ extend: "npm:^3.0.0"
+ is-plain-obj: "npm:^4.0.0"
+ trough: "npm:^2.0.0"
+ vfile: "npm:^6.0.0"
+ checksum: 10c0/53c8e685f56d11d9d458a43e0e74328a4d6386af51c8ac37a3dcabec74ce5026da21250590d4aff6733ccd7dc203116aae2b0769abc18cdf9639a54ae528dfc9
+ languageName: node
+ linkType: hard
+
"unique-filename@npm:^3.0.0":
version: 3.0.0
resolution: "unique-filename@npm:3.0.0"
@@ -16969,6 +17610,45 @@ __metadata:
languageName: node
linkType: hard
+"unist-util-is@npm:^6.0.0":
+ version: 6.0.0
+ resolution: "unist-util-is@npm:6.0.0"
+ dependencies:
+ "@types/unist": "npm:^3.0.0"
+ checksum: 10c0/9419352181eaa1da35eca9490634a6df70d2217815bb5938a04af3a662c12c5607a2f1014197ec9c426fbef18834f6371bfdb6f033040fa8aa3e965300d70e7e
+ languageName: node
+ linkType: hard
+
+"unist-util-stringify-position@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "unist-util-stringify-position@npm:4.0.0"
+ dependencies:
+ "@types/unist": "npm:^3.0.0"
+ checksum: 10c0/dfe1dbe79ba31f589108cb35e523f14029b6675d741a79dea7e5f3d098785045d556d5650ec6a8338af11e9e78d2a30df12b1ee86529cded1098da3f17ee999e
+ languageName: node
+ linkType: hard
+
+"unist-util-visit-parents@npm:^6.0.0":
+ version: 6.0.1
+ resolution: "unist-util-visit-parents@npm:6.0.1"
+ dependencies:
+ "@types/unist": "npm:^3.0.0"
+ unist-util-is: "npm:^6.0.0"
+ checksum: 10c0/51b1a5b0aa23c97d3e03e7288f0cdf136974df2217d0999d3de573c05001ef04cccd246f51d2ebdfb9e8b0ed2704451ad90ba85ae3f3177cf9772cef67f56206
+ languageName: node
+ linkType: hard
+
+"unist-util-visit@npm:^5.0.0":
+ version: 5.0.0
+ resolution: "unist-util-visit@npm:5.0.0"
+ dependencies:
+ "@types/unist": "npm:^3.0.0"
+ unist-util-is: "npm:^6.0.0"
+ unist-util-visit-parents: "npm:^6.0.0"
+ checksum: 10c0/51434a1d80252c1540cce6271a90fd1a106dbe624997c09ed8879279667fb0b2d3a685e02e92bf66598dcbe6cdffa7a5f5fb363af8fdf90dda6c855449ae39a5
+ languageName: node
+ linkType: hard
+
"universal-user-agent@npm:^6.0.0":
version: 6.0.1
resolution: "universal-user-agent@npm:6.0.1"
@@ -17188,6 +17868,26 @@ __metadata:
languageName: node
linkType: hard
+"vfile-message@npm:^4.0.0":
+ version: 4.0.2
+ resolution: "vfile-message@npm:4.0.2"
+ dependencies:
+ "@types/unist": "npm:^3.0.0"
+ unist-util-stringify-position: "npm:^4.0.0"
+ checksum: 10c0/07671d239a075f888b78f318bc1d54de02799db4e9dce322474e67c35d75ac4a5ac0aaf37b18801d91c9f8152974ea39678aa72d7198758b07f3ba04fb7d7514
+ languageName: node
+ linkType: hard
+
+"vfile@npm:^6.0.0":
+ version: 6.0.3
+ resolution: "vfile@npm:6.0.3"
+ dependencies:
+ "@types/unist": "npm:^3.0.0"
+ vfile-message: "npm:^4.0.0"
+ checksum: 10c0/e5d9eb4810623f23758cfc2205323e33552fb5972e5c2e6587babe08fe4d24859866277404fb9e2a20afb71013860d96ec806cb257536ae463c87d70022ab9ef
+ languageName: node
+ linkType: hard
+
"vite@npm:^5.4.11":
version: 5.4.11
resolution: "vite@npm:5.4.11"
@@ -17458,6 +18158,16 @@ __metadata:
languageName: node
linkType: hard
+"write-file-atomic@npm:^6.0.0":
+ version: 6.0.0
+ resolution: "write-file-atomic@npm:6.0.0"
+ dependencies:
+ imurmurhash: "npm:^0.1.4"
+ signal-exit: "npm:^4.0.1"
+ checksum: 10c0/ae2f1c27474758a9aca92037df6c1dd9cb94c4e4983451210bd686bfe341f142662f6aa5913095e572ab037df66b1bfe661ed4ce4c0369ed0e8219e28e141786
+ languageName: node
+ linkType: hard
+
"ws@npm:^8.2.3":
version: 8.18.0
resolution: "ws@npm:8.18.0"
@@ -17651,3 +18361,10 @@ __metadata:
checksum: 10c0/8f14c87d6b1b53c944c25ce7a28616896319d95bc46a9660fe441adc0ed0a81253b02b5abdaeffedbeb23bdd25a0bf1c29d2c12dd919aef6447652dd295e3e69
languageName: node
linkType: hard
+
+"zwitch@npm:^2.0.0":
+ version: 2.0.4
+ resolution: "zwitch@npm:2.0.4"
+ checksum: 10c0/3c7830cdd3378667e058ffdb4cf2bb78ac5711214e2725900873accb23f3dfe5f9e7e5a06dcdc5f29605da976fc45c26d9a13ca334d6eea2245a15e77b8fc06e
+ languageName: node
+ linkType: hard