Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: spectrum 2 #2352

Draft
wants to merge 89 commits into
base: s2-foundations-redux
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
c85d6cf
feat: migration of tokens to spectrum 2
castastrophe Nov 18, 2024
e3e37b4
feat: bug fixes for reducing theming variables
castastrophe Nov 22, 2024
6082064
feat: s2 foundations non-gray-800 colors update (#3413)
pfulton Nov 22, 2024
6615348
chore: release (s2-foundations) (#3421)
github-actions[bot] Dec 3, 2024
aef4ea3
fix(combobox): update border color in spectrum-two
castastrophe Dec 3, 2024
8b98218
fix(picker): update background and border color
castastrophe Dec 3, 2024
e0a8aa1
chore: release (s2-foundations) (#3425)
github-actions[bot] Dec 3, 2024
7ea067c
fix(combobox): retain border values for S1
castastrophe Dec 3, 2024
e29ecda
chore: release (s2-foundations) (#3426)
github-actions[bot] Dec 3, 2024
8ee5445
chore: minor tooling and infra updates
castastrophe Dec 4, 2024
76881ca
chore: update dependency versions ava and postcss
castastrophe Dec 4, 2024
9abd757
chore(contextualhelp,datepicker,fieldgroup): remove MDX files (#3422)
marissahuysentruyt Dec 16, 2024
69bfb16
chore(accordion,actionbar,asset): remove mdx files (#3407)
marissahuysentruyt Dec 18, 2024
f05c804
chore(colorarea,colorhandle,colorloupe,colorslider,colorwheel): remov…
marissahuysentruyt Dec 19, 2024
4c9c980
chore(assetcard,avatar,badge): remove mdx files (#3408)
marissahuysentruyt Dec 19, 2024
82800d1
chore(calendar,card,coachmark): remove MDX files (#3443)
marissahuysentruyt Dec 19, 2024
f4c117f
chore: include storybook assets in shipped results
castastrophe Dec 29, 2024
79eb129
chore: align peerDependencies to local versions
castastrophe Dec 29, 2024
d8a3f18
chore: update browser caniuse db
castastrophe Dec 29, 2024
2c5242f
feat(tokens): use 13.0.0-beta.5
pfulton Dec 11, 2023
ca1ddd2
feat(tokens): use 13.0.0-beta.8
pfulton Jan 8, 2024
7218c66
feat(tokens): use 13.0.0-beta.9
pfulton Jan 11, 2024
58d7841
feat(actiongroup)!: migrate to S2 (#2453)
mdt2 Feb 2, 2024
90275f5
feat(buttongroup)!: migrate to S2 (#2457)
jenndiaz Feb 2, 2024
f3072dd
feat(tokens)!: use 13.0.0-beta.13
pfulton Feb 2, 2024
f5e95d8
chore(release): release
pfulton Feb 6, 2024
f8e34af
feat(tokens)!: use spectrum-tokens 13.0.0-beta.16
pfulton Feb 22, 2024
9f77970
chore(actiongroup,buttongroup): specify s2 tokens for peerdeps
pfulton Feb 26, 2024
92fbbed
feat(closebutton)!: migrate to S2 (#2564)
mdt2 Mar 7, 2024
04de820
chore: s2 grays component-level migration (#2583)
pfulton Mar 7, 2024
cc3b7d7
fix(commons): remove renamed mods marked for deprecation (#2580)
jawinn Mar 8, 2024
c184290
feat(fieldlabel)!: s2 migration (#2569)
jawinn Mar 11, 2024
afafe0c
chore(tokens): use spectrum-tokens v13.0.0-beta.19
pfulton Mar 11, 2024
91f08d7
chore(tokens): manual version bump for 14.0.0-next.1
pfulton Mar 12, 2024
5f52b52
chore(release): release
pfulton Mar 12, 2024
a117833
feat(downstate): docs + implementation for example components (#2520)
mdt2 Mar 19, 2024
2c98493
feat(tokens): use spectrum-tokens 13.0.0-beta.21 (#2597)
pfulton Mar 19, 2024
f91706d
chore(release): release
pfulton Mar 21, 2024
5e37eac
chore: rebase against main and update components to use prerelease to…
pfulton Mar 28, 2024
8ec9008
feat(cornerrounding): add custom token and foundations documentation …
jenndiaz Mar 28, 2024
7233e93
fix(storybook): body classes for story and docs pages (#2617)
mdt2 Apr 1, 2024
3b0c098
feat(opacitycheckerboard): S2, small t-shirt size squares (#2610)
mdt2 Apr 8, 2024
2a5fbbc
feat(tokens): use spectrum-tokens at v13.0.0-beta.24 (#2650)
mdt2 Apr 9, 2024
f89e44d
chore(tokens): manual version bump for prerelease
pfulton Apr 9, 2024
5ec02a4
feat: add example gradients for static black and white (#2637)
jawinn Apr 11, 2024
c499b66
chore(tokens): use spectrum-tokens@13.0.0-beta.27
pfulton Apr 12, 2024
927ff86
chore(release): release
pfulton Apr 12, 2024
3fbbd33
feat(switch): s2 migration (#2651)
mdt2 Apr 15, 2024
a5b8329
chore: prerelease mode for changesets
pfulton Apr 19, 2024
16169a3
chore(tokens): use @adobe/spectrum-tokens@13.0.0-beta.30 (#2678)
pfulton Apr 19, 2024
c2dfbda
chore: release (next) (#2680)
github-actions[bot] Apr 19, 2024
b682b9e
chore: run branch through format; update pathing and fix errors (#2700)
castastrophe Apr 26, 2024
e33dc74
chore: release (next) (#2706)
github-actions[bot] Apr 26, 2024
54677d2
feat(button): migrate to Spectrum 2 (#2600)
jawinn May 1, 2024
3c654b1
chore: release s2 button (next) (#2722)
github-actions[bot] May 1, 2024
4b69e3c
feat(progressbar): s2 migration (#2659)
mdt2 May 8, 2024
ec752f2
chore: release (next) (#2739)
github-actions[bot] May 9, 2024
b5e7f34
chore(tokens): use spectrum-tokens@13.0.0-beta.35 (#2797)
pfulton May 30, 2024
c86645f
chore: release (next) (#2798)
github-actions[bot] May 30, 2024
30706e7
refactor(button): remove spectrum-ButtonWithFocusRing extend (#2725)
jawinn May 30, 2024
d9e72ec
chore: release (next) (#2801)
github-actions[bot] Jun 4, 2024
1ec6510
docs(dropshadow): add stories and docs for dropshadow (#2674)
rise-erpelding Jun 4, 2024
19dde86
feat(picker)!: migrate to spectrum 2 (#2697)
jawinn Jun 18, 2024
fd4da4e
feat(statuslight): s2 migration (#2818)
marissahuysentruyt Jun 28, 2024
d39a150
feat(tooltip): s2 migration (#2743)
mdt2 Jul 19, 2024
5665900
chore: release (next) (#2852)
github-actions[bot] Aug 12, 2024
d92b6fa
chore(tokens): use spectrum-tokens@13.0.0-beta.52 (#3351)
cdransf Oct 30, 2024
8613f4e
chore: release (next) (#3353)
github-actions[bot] Nov 1, 2024
ad8796f
feat(avatar): migrate s2 avatar (#3355)
cdransf Nov 8, 2024
e7e758f
feat(colorloupe): migrate to s2 drop-shadow tokens (#3301)
rise-erpelding Nov 12, 2024
1d8872e
feat(thumbnail): S2 migration (#3367)
cdransf Nov 12, 2024
da793ee
feat(colorarea): S2 migration (#3388)
cdransf Nov 15, 2024
e2cfa3f
feat(thumbnail-opacity-checkboard): S2 migration (#3394)
cdransf Nov 19, 2024
61996d7
build: align tooling with s2-foundations branch
castastrophe Dec 4, 2024
c992003
fix(pagination): deprecate legacy features to align with foundations
castastrophe Dec 4, 2024
c1a9f4f
feat(dialog): s2 standard dialog migration (#2860)
marissahuysentruyt Dec 9, 2024
b968966
chore: release (next) (#3379)
github-actions[bot] Dec 16, 2024
2c43c65
fix(icon): fix for icons not loading (#3454)
jawinn Dec 18, 2024
4e7b1fb
feat(alertbanner): migrate to spectrum 2 (#2652)
jawinn Dec 19, 2024
529733e
chore(tokens): use spectrum-tokens@13.0.0-beta.55 (#3456)
cdransf Dec 19, 2024
6e299d4
chore: release (next) (#3457)
github-actions[bot] Dec 19, 2024
1415f76
chore(storybook): standardize down-state decorator
castastrophe Dec 24, 2024
828fec1
build: remove theme processing, site package; add reporter
castastrophe Dec 24, 2024
9444cdb
build: add story exports; remove context from storybook
castastrophe Dec 27, 2024
9d7f088
chore: align peerDependencies to local versions
castastrophe Dec 29, 2024
616f2a7
fix: use new tag to hide storybook foundations stories (#3474)
jawinn Jan 3, 2025
52e773e
fix: restore undefined custom properties [part 5] (#3475)
5t3ph Jan 6, 2025
ab2028a
fix: restore undefined custom properties [part 4] (#3473)
jawinn Jan 6, 2025
24c6ad3
fix(textfield,menu,tag,toast,tabs,well,popover): define custom props …
rise-erpelding Jan 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(dialog): s2 standard dialog migration (#2860)
* feat(dialog)!: s2 standard dialog migration

* docs(dialog): dialog controls/coverage
- adds new features/behaviors such as the checkbox in the footer,
wrapping for footer/header content, being able to have close button and
button group, hasHeroImage
- removes Divider support in dialog
- adds is-hidden-story to replicate what is on main and remove most
stories from the sidebar
- adds some comments and TODOs giving context to this choice
- removes layout from control table from default argTypes
- removes hasFooter from control table for fullscreen/fullscreenTakeover
argTypes
- adds a comment to explain the custom argTypes changes for those stories
- also adds a comment about multiple conditionals for argTypes

* refactor(modal): use corner-radius-extra-large-default to match design
specs

* fix(underlay): update comment notes for spectrum-overlay-color
- also comments out a duplicated custom property and adds a TODO comment

* refactor(dialog): new css for S2 dialog
- adds some opportunities for mod properties
- fixes dismissible grid spacing between additional header content and
close button
- scope passthrough mods to spectrum-Dialog class
- add flex-direction: column to footer (this should allow the footer
content and button group to stack at small screens at smallest dialog
sizes on the mobile scale.)

* feat(dialog): rebuild mods
- lots of mods are renamed to use "standard dialog" language

* chore(dialog): create changeset

* chore(dialog): update peer deps data
- remove divider from peerDependencies and peerDependenciesMeta
- adds closebutton, checkbox and typography to peerDependenciesMeta

* chore: remove divider tests

* chore(buttongroup): add flex-wrap mod property

* chore(buttongroup): creates buttongroup changeset

* chore(buttongroup,dialog): rebuild mods

* fix(dialog): platform custom variables
- calls for --spectrum-standard-dialog-spacing-edge-to-content

* chore(tokens): create changeset for custom standard dialog token

* chore(tray): fix spelling of isDismissible arg

* fix(dialog,modal): custom styles for modal background color
- because modal was originally setting the background color of dialogs,
there was some 'antialiasing bleed through' behind the dialog. By adding
customStyles to Modal, we can set --mod-modal-background-color to
transparent and get rid of the hairline color (especially noticeable
behind a hero image in a dialog)

* docs(dialog): adds modal background color documentation

* fix(dialog): use font-stack instead of font-family

* docs(dialog): rebase fixes
- override layout:centered parameter with layout:padded instead so the
dialogs are visible on their canvases on the docs page.
  • Loading branch information
marissahuysentruyt authored and castastrophe committed Dec 29, 2024
commit c1a9f4f16c163c45b5faaecdd2f05f4b88feafad
5 changes: 5 additions & 0 deletions .changeset/few-doors-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@spectrum-css/buttongroup": patch
---

Adds a new `--mod-buttongroup-flex-wrap` custom property to leverage if a user wishes to customize the `flex-wrap` property.
5 changes: 5 additions & 0 deletions .changeset/loud-vans-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@spectrum-css/tokens": patch
---

Adds `--spectrum-standard-dialog-spacing-edge-to-content` to properly adjust the spacing for desktop/mobile dialog styles.
52 changes: 52 additions & 0 deletions .changeset/metal-fireants-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
"@spectrum-css/dialog": major
"@spectrum-css/modal": patch
"@spectrum-css/underlay": patch
---

Spectrum 2 Standard Dialog Migration

This is the migration for standard dialog. The Divider component is no longer supported in S2 dialogs. In addition, some new and updated tokens are in place to update dialog corner rounding, font treatments, spacing/padding, and maximum/minimum widths. There were several new elements implemented as well, including optional header and footer content, hero/cover images, checkbox and text-only options in the footer content area.

The `.spectrum-Dialog--small`, `.spectrum-Dialog--medium`, and `.spectrum-Dialog--large` sizing classes were deprecated and removed from the CSS in favor of the t-shirt sizes. Additionally, the spelling of the `.spectrum-Dialog--dismissable` class was corrected to `.spectrum-Dialog--dismissible`.

Mod properties are either "new," have been renamed to reflect the respective dialog language, or were removed:

_New Mods_
`--mod-standard-dialog-spacing-title-to-header-content`
`--mod-standard-dialog-spacing-title-to-description`
`--mod-standard-dialog-header-content-font-size`

_Renamed Mods_
`--mod-dialog-confirm-small-width` > `--mod-standard-dialog-max-width-small`
`--mod-dialog-confirm-medium-width` > `--mod-standard-dialog-max-width`
`--mod-dialog-confirm-large-width` > `--mod-standard-dialog-max-width-large`
`--mod-dialog-confirm-border-radius` > `--mod-standard-dialog-border-radius`
`--mod-dialog-confirm-description-text-size` > `--mod-standard-dialog-description-font-size`
`--mod-dialog-confirm-description-text-line-height` > `--mod-standard-dialog-description-line-height`
`--mod-dialog-confirm-description-text-color` > `--mod-standard-dialog-description-text-color`
`--mod-dialog-confirm-description-font-weight` > `--mod-standard-dialog-description-font-weight`
`--mod-dialog-heading-font-weight` > `--mod-standard-dialog-heading-font-weight`
`--mod-dialog-confirm-title-text-line-height` > `--mod-standard-dialog-heading-line-height`
`--mod-dialog-confirm-title-text-color` > `--mod-standard-dialog-heading-text-color`
`--mod-dialog-confirm-title-text-size` > `--mod-standard-dialog-heading-font-size`
`--mod-dialog-confirm-hero-height` > `--mod-standard-dialog-hero-block-size`
`--mod-dialog-min-inline-size` > `--mod-standard-dialog-min-inline-size`
`--mod-dialog-confirm-padding-grid` > `--mod-standard-dialog-spacing-grid-padding`
`--mod-dialog-confirm-footer-padding-top` > `--mod-standard-dialog-spacing-description-to-footer`
`--mod-dialog-confirm-close-button-padding` > `--mod-standard-dialog-spacing-edge-to-close-button`
`--mod-dialog-confirm-gap-size` > `--mod-standard-dialog-spacing-footer-to-button-group`

_Removed Mods_
`--mod-dialog-confirm-buttongroup-padding-top`
`--mod-dialog-confirm-close-button-size`
`--mod-dialog-confirm-description-margin`
`--mod-dialog-confirm-description-padding`
`--mod-dialog-confirm-divider-block-spacing-end`
`--mod-dialog-confirm-divider-block-spacing-start`
`--mod-dialog-confirm-divider-height`

Modal and underlay updates

- Modal component now uses the updated corner rounding.
- Underlay has an updated comment that addresses the overlay-color/overlay-opacity tokens.
2 changes: 1 addition & 1 deletion components/buttongroup/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
.spectrum-ButtonGroup {
display: var(--spectrum-buttongroup-display);
flex-direction: var(--spectrum-buttongroup-flex-direction);
flex-wrap: wrap;
flex-wrap: var(--mod-buttongroup-flex-wrap, wrap);

gap: var(--spectrum-buttongroup-spacing);
justify-content: var(--spectrum-buttongroup-justify-content);
Expand Down
1 change: 1 addition & 0 deletions components/buttongroup/metadata/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
".spectrum-ButtonGroup-item"
],
"modifiers": [
"--mod-buttongroup-flex-wrap",
"--mod-buttongroup-justify-content",
"--mod-buttongroup-spacing"
],
Expand Down
1 change: 1 addition & 0 deletions components/buttongroup/metadata/mods.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
| Modifiable custom properties |
| ----------------------------------- |
| `--mod-buttongroup-flex-wrap` |
| `--mod-buttongroup-justify-content` |
| `--mod-buttongroup-spacing` |
386 changes: 233 additions & 153 deletions components/dialog/index.css

Large diffs are not rendered by default.

158 changes: 91 additions & 67 deletions components/dialog/metadata/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,100 +2,124 @@
"sourceFile": "index.css",
"selectors": [
".spectrum-Dialog",
".spectrum-Dialog .spectrum-Dialog-divider",
".spectrum-Dialog .spectrum-Dialog-grid",
".spectrum-Dialog .spectrum-Dialog-header",
".spectrum-Dialog--dismissible .spectrum-Dialog-grid",
".spectrum-Dialog--dismissible .spectrum-Dialog-grid .spectrum-Dialog-footer",
".spectrum-Dialog--fullscreen",
".spectrum-Dialog--fullscreen .spectrum-Dialog-buttonGroup",
".spectrum-Dialog--fullscreen .spectrum-Dialog-closeButton",
".spectrum-Dialog--fullscreen .spectrum-Dialog-content",
".spectrum-Dialog--fullscreen .spectrum-Dialog-footer",
".spectrum-Dialog--fullscreen .spectrum-Dialog-grid",
".spectrum-Dialog--fullscreen .spectrum-Dialog-header",
".spectrum-Dialog--fullscreen .spectrum-Dialog-heading",
".spectrum-Dialog--fullscreen .spectrum-Dialog-heading + .spectrum-Dialog-divider",
".spectrum-Dialog--fullscreen.spectrum-Dialog .spectrum-Dialog-grid",
".spectrum-Dialog--fullscreenTakeover",
".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-buttonGroup",
".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-closeButton",
".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-content",
".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-footer",
".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-grid",
".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-header",
".spectrum-Dialog--fullscreenTakeover .spectrum-Dialog-heading",
".spectrum-Dialog--fullscreenTakeover.spectrum-Dialog .spectrum-Dialog-grid",
".spectrum-Dialog--noDivider .spectrum-Dialog-divider",
".spectrum-Dialog--noDivider .spectrum-Dialog-heading",
".spectrum-Dialog--sizeL",
".spectrum-Dialog--sizeS",
".spectrum-Dialog-buttonGroup",
".spectrum-Dialog-buttonGroup.spectrum-Dialog-buttonGroup--noFooter",
".spectrum-Dialog-buttonGroup--noFooter",
".spectrum-Dialog-closeButton",
".spectrum-Dialog-content",
".spectrum-Dialog-footer",
".spectrum-Dialog-footer > *",
".spectrum-Dialog-footer > .spectrum-Button + .spectrum-Button",
".spectrum-Dialog-footer .spectrum-Dialog-footer-content",
".spectrum-Dialog-footer:has(.spectrum-Dialog-buttonGroup)",
".spectrum-Dialog-footer:has(.spectrum-Dialog-footer-content)",
".spectrum-Dialog-grid",
".spectrum-Dialog-header",
".spectrum-Dialog-header > .spectrum-Dialog-header-content",
".spectrum-Dialog-heading",
".spectrum-Dialog-heading.spectrum-Dialog-heading--noHeader",
".spectrum-Dialog-hero",
".spectrum-Dialog.spectrum-Dialog--dismissable .spectrum-Dialog-grid",
".spectrum-Dialog.spectrum-Dialog--dismissable .spectrum-Dialog-grid .spectrum-Dialog-buttonGroup",
".spectrum-Dialog.spectrum-Dialog--dismissable .spectrum-Dialog-grid .spectrum-Dialog-footer"
".spectrum-Dialog-hero"
],
"modifiers": [
"--mod-dialog-confirm-border-radius",
"--mod-dialog-confirm-buttongroup-padding-top",
"--mod-dialog-confirm-close-button-padding",
"--mod-dialog-confirm-close-button-size",
"--mod-dialog-confirm-description-font-weight",
"--mod-dialog-confirm-description-margin",
"--mod-dialog-confirm-description-padding",
"--mod-dialog-confirm-description-text-color",
"--mod-dialog-confirm-description-text-line-height",
"--mod-dialog-confirm-description-text-size",
"--mod-dialog-confirm-divider-block-spacing-end",
"--mod-dialog-confirm-divider-block-spacing-start",
"--mod-dialog-confirm-divider-height",
"--mod-dialog-confirm-footer-padding-top",
"--mod-dialog-confirm-gap-size",
"--mod-dialog-confirm-hero-height",
"--mod-dialog-confirm-large-width",
"--mod-dialog-confirm-medium-width",
"--mod-dialog-confirm-padding-grid",
"--mod-dialog-confirm-small-width",
"--mod-dialog-confirm-title-text-color",
"--mod-dialog-confirm-title-text-line-height",
"--mod-dialog-confirm-title-text-size",
"--mod-dialog-fullscreen-header-text-size",
"--mod-dialog-heading-font-weight",
"--mod-dialog-min-inline-size",
"--mod-dialog-width"
],
"component": [
"--spectrum-dialog-confirm-border-radius",
"--spectrum-dialog-confirm-buttongroup-padding-top",
"--spectrum-dialog-confirm-close-button-padding",
"--spectrum-dialog-confirm-close-button-size",
"--spectrum-dialog-confirm-description-padding",
"--spectrum-dialog-confirm-description-text-color",
"--spectrum-dialog-confirm-description-text-size",
"--spectrum-dialog-confirm-divider-block-spacing-end",
"--spectrum-dialog-confirm-divider-block-spacing-start",
"--spectrum-dialog-confirm-gap-size",
"--spectrum-dialog-confirm-hero-height",
"--spectrum-dialog-confirm-padding-grid",
"--spectrum-dialog-confirm-title-text-size"
"--mod-standard-dialog-background-color",
"--mod-standard-dialog-border-radius",
"--mod-standard-dialog-description-font-size",
"--mod-standard-dialog-description-font-weight",
"--mod-standard-dialog-description-line-height",
"--mod-standard-dialog-description-text-color",
"--mod-standard-dialog-header-content-font-size",
"--mod-standard-dialog-heading-font-size",
"--mod-standard-dialog-heading-font-weight",
"--mod-standard-dialog-heading-line-height",
"--mod-standard-dialog-heading-text-color",
"--mod-standard-dialog-hero-block-size",
"--mod-standard-dialog-max-width",
"--mod-standard-dialog-max-width-large",
"--mod-standard-dialog-max-width-small",
"--mod-standard-dialog-min-inline-size",
"--mod-standard-dialog-spacing-description-to-footer",
"--mod-standard-dialog-spacing-edge-to-close-button",
"--mod-standard-dialog-spacing-footer-to-button-group",
"--mod-standard-dialog-spacing-grid-padding",
"--mod-standard-dialog-spacing-title-to-description",
"--mod-standard-dialog-spacing-title-to-header-content"
],
"component": [],
"global": [
"--spectrum-component-bottom-to-text-300",
"--spectrum-component-height-100",
"--spectrum-component-pill-edge-to-text-100",
"--spectrum-gray-800",
"--spectrum-gray-900",
"--spectrum-heading-sans-serif-font-weight",
"--spectrum-line-height-100",
"--spectrum-regular-font-weight",
"--spectrum-background-layer-2-color",
"--spectrum-black-rgb",
"--spectrum-body-color",
"--spectrum-body-sans-serif-font-style",
"--spectrum-body-sans-serif-font-weight",
"--spectrum-corner-radius-extra-large-default",
"--spectrum-heading-color",
"--spectrum-line-height-200",
"--spectrum-overlay-opacity",
"--spectrum-sans-font-family-stack",
"--spectrum-spacing-200",
"--spectrum-spacing-300",
"--spectrum-spacing-50",
"--spectrum-spacing-600"
"--spectrum-spacing-400",
"--spectrum-spacing-500",
"--spectrum-standard-dialog-background-color",
"--spectrum-standard-dialog-body-font-size",
"--spectrum-standard-dialog-border-radius",
"--spectrum-standard-dialog-description-font-family",
"--spectrum-standard-dialog-description-font-size",
"--spectrum-standard-dialog-description-font-style",
"--spectrum-standard-dialog-description-font-weight",
"--spectrum-standard-dialog-description-line-height",
"--spectrum-standard-dialog-description-text-color",
"--spectrum-standard-dialog-header-content-font-size",
"--spectrum-standard-dialog-heading-font-family",
"--spectrum-standard-dialog-heading-font-size",
"--spectrum-standard-dialog-heading-font-style",
"--spectrum-standard-dialog-heading-font-weight",
"--spectrum-standard-dialog-heading-line-height",
"--spectrum-standard-dialog-heading-text-color",
"--spectrum-standard-dialog-hero-block-size",
"--spectrum-standard-dialog-max-width",
"--spectrum-standard-dialog-maximum-width-large",
"--spectrum-standard-dialog-maximum-width-medium",
"--spectrum-standard-dialog-maximum-width-small",
"--spectrum-standard-dialog-min-inline-size",
"--spectrum-standard-dialog-minimum-width",
"--spectrum-standard-dialog-padding",
"--spectrum-standard-dialog-spacing-description-to-footer",
"--spectrum-standard-dialog-spacing-edge-to-close-button",
"--spectrum-standard-dialog-spacing-edge-to-content",
"--spectrum-standard-dialog-spacing-edge-to-header-content-inline-end",
"--spectrum-standard-dialog-spacing-footer-to-button-group",
"--spectrum-standard-dialog-spacing-grid-padding",
"--spectrum-standard-dialog-spacing-title-to-description",
"--spectrum-standard-dialog-spacing-title-to-header-content",
"--spectrum-standard-dialog-title-font-size",
"--spectrum-title-line-height",
"--spectrum-title-sans-serif-font-style",
"--spectrum-title-sans-serif-font-weight"
],
"system-theme": [],
"passthroughs": [],
"high-contrast": []
"passthroughs": [
"--mod-buttongroup-flex-wrap",
"--mod-buttongroup-justify-content"
],
"high-contrast": ["--highcontrast-standard-dialog-border-color"]
}
53 changes: 24 additions & 29 deletions components/dialog/metadata/mods.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
| Modifiable custom properties |
| --------------------------------------------------- |
| `--mod-dialog-confirm-border-radius` |
| `--mod-dialog-confirm-buttongroup-padding-top` |
| `--mod-dialog-confirm-close-button-padding` |
| `--mod-dialog-confirm-close-button-size` |
| `--mod-dialog-confirm-description-font-weight` |
| `--mod-dialog-confirm-description-margin` |
| `--mod-dialog-confirm-description-padding` |
| `--mod-dialog-confirm-description-text-color` |
| `--mod-dialog-confirm-description-text-line-height` |
| `--mod-dialog-confirm-description-text-size` |
| `--mod-dialog-confirm-divider-block-spacing-end` |
| `--mod-dialog-confirm-divider-block-spacing-start` |
| `--mod-dialog-confirm-divider-height` |
| `--mod-dialog-confirm-footer-padding-top` |
| `--mod-dialog-confirm-gap-size` |
| `--mod-dialog-confirm-hero-height` |
| `--mod-dialog-confirm-large-width` |
| `--mod-dialog-confirm-medium-width` |
| `--mod-dialog-confirm-padding-grid` |
| `--mod-dialog-confirm-small-width` |
| `--mod-dialog-confirm-title-text-color` |
| `--mod-dialog-confirm-title-text-line-height` |
| `--mod-dialog-confirm-title-text-size` |
| `--mod-dialog-fullscreen-header-text-size` |
| `--mod-dialog-heading-font-weight` |
| `--mod-dialog-min-inline-size` |
| `--mod-dialog-width` |
| Modifiable custom properties |
| ------------------------------------------------------- |
| `--mod-standard-dialog-background-color` |
| `--mod-standard-dialog-border-radius` |
| `--mod-standard-dialog-description-font-size` |
| `--mod-standard-dialog-description-font-weight` |
| `--mod-standard-dialog-description-line-height` |
| `--mod-standard-dialog-description-text-color` |
| `--mod-standard-dialog-header-content-font-size` |
| `--mod-standard-dialog-heading-font-size` |
| `--mod-standard-dialog-heading-font-weight` |
| `--mod-standard-dialog-heading-line-height` |
| `--mod-standard-dialog-heading-text-color` |
| `--mod-standard-dialog-hero-block-size` |
| `--mod-standard-dialog-max-width` |
| `--mod-standard-dialog-max-width-large` |
| `--mod-standard-dialog-max-width-small` |
| `--mod-standard-dialog-min-inline-size` |
| `--mod-standard-dialog-spacing-description-to-footer` |
| `--mod-standard-dialog-spacing-edge-to-close-button` |
| `--mod-standard-dialog-spacing-footer-to-button-group` |
| `--mod-standard-dialog-spacing-grid-padding` |
| `--mod-standard-dialog-spacing-title-to-description` |
| `--mod-standard-dialog-spacing-title-to-header-content` |
9 changes: 8 additions & 1 deletion components/dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,22 @@
"@spectrum-css/divider": ">=4.0.0-s2-foundations.0",
"@spectrum-css/modal": ">=6.0.0-s2-foundations.0",
"@spectrum-css/tokens": ">=14.0.0-next.3",
"@spectrum-css/typography": ">=7.0.0-s2-foundations.0",
"@spectrum-css/underlay": ">=5.0.0-s2-foundations.0"
},
"peerDependenciesMeta": {
"@spectrum-css/divider": {
"@spectrum-css/checkbox": {
"optional": true
},
"@spectrum-css/closebutton": {
"optional": true
},
"@spectrum-css/modal": {
"optional": true
},
"@spectrum-css/typography": {
"optional": true
},
"@spectrum-css/underlay": {
"optional": true
}
Expand Down
Loading