├── .changeset
├── README.md
└── config.json
├── .cursor
├── README.md
├── config.json
└── rules
│ ├── branch-naming.mdc
│ ├── jira-ticket.mdc
│ ├── styles.mdc
│ └── text-formatting.mdc
├── .env.example
├── .eslintrc
├── .gitattributes
├── .github
├── CONTRIBUTING.md
├── GUIDE.md
├── ISSUE_TEMPLATE
│ ├── --bug-report.md
│ ├── --documentation-issue.md
│ ├── --feature-request.md
│ └── --support-request.md
├── PULL_REQUEST_TEMPLATE.md
├── QUICK-START.md
├── actions
│ └── file-diff
│ │ ├── CHANGELOG.md
│ │ ├── README.md
│ │ ├── action.yml
│ │ ├── index.js
│ │ ├── package.json
│ │ └── utilities.js
├── renovate.json
└── workflows
│ ├── build.yml
│ ├── compare-results.yml
│ ├── development.yml
│ ├── lint.yml
│ ├── production.yml
│ ├── publish-site.yml
│ ├── release-snapshot.yml
│ ├── release.yml
│ └── vrt.yml
├── .gitignore
├── .husky
├── commit-msg
└── pre-commit
├── .markdownlint.json
├── .npmignore
├── .nvmrc
├── .prettierignore
├── .prettierrc
├── .storybook
├── CHANGELOG.md
├── README.md
├── assets
│ ├── 404.html
│ ├── base.css
│ ├── favicon.png
│ ├── images
│ │ ├── adobe_logo.svg
│ │ ├── example-ava.png
│ │ ├── example-ava@2x.png
│ │ ├── example-card-landscape.png
│ │ ├── example-card-portrait.png
│ │ ├── example-card-square.png
│ │ ├── flowers.png
│ │ ├── github_logo.svg
│ │ ├── gradient-background-dark.png
│ │ ├── gradient-background-light.png
│ │ ├── gray_migration-guide.png
│ │ ├── npm_logo.svg
│ │ ├── spectrum-css_illustration_desktop.png
│ │ ├── spectrum_illustration_2x.png
│ │ ├── thumbnail.png
│ │ └── wc_logo.svg
│ ├── index.css
│ └── logo.svg
├── blocks
│ ├── ColorPalette.jsx
│ ├── ComponentDetails.jsx
│ ├── Layouts.jsx
│ ├── PropertiesTable.jsx
│ ├── Swatches.jsx
│ ├── ThemeContainer.jsx
│ ├── Typography.jsx
│ ├── index.js
│ └── utilities.js
├── decorators
│ ├── arg-events.js
│ ├── context.js
│ ├── helpers.js
│ ├── icon-sprites.js
│ ├── index.js
│ ├── language.js
│ ├── reduce-motion.js
│ ├── testing-preview.js
│ ├── text-direction.js
│ ├── underlay.js
│ └── utilities.js
├── guides
│ ├── code_of_conduct.mdx
│ ├── color_palette.mdx
│ ├── deprecation.mdx
│ ├── develop.mdx
│ ├── releasing.mdx
│ └── s2_migration.mdx
├── loaders
│ ├── font-loader.js
│ ├── icon-loader.js
│ └── index.js
├── main.js
├── manager.js
├── modes
│ └── index.js
├── package.json
├── postcss.config.js
├── preview-head.html
├── preview.js
├── project.json
├── templates
│ └── DocumentationTemplate.mdx
└── types
│ ├── args.js
│ ├── global.js
│ ├── index.js
│ ├── states.js
│ └── variants.js
├── .stylelintignore
├── .vscode
├── extensions.json
└── settings.json
├── .yarn
└── releases
│ └── yarn-4.9.2.cjs
├── .yarnrc.yml
├── CODE_OF_CONDUCT.md
├── COPYRIGHT
├── LICENSE
├── README.md
├── commitlint.config.js
├── components
├── accordion
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── accordion.stories.js
│ │ ├── accordion.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── actionbar
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── actionbar.stories.js
│ │ ├── actionbar.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── actionbutton
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── actionbutton.stories.js
│ │ ├── actionbutton.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── actiongroup
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── actiongroup.stories.js
│ │ ├── actiongroup.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── actionmenu
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── package.json
│ └── stories
│ │ ├── actionmenu.stories.js
│ │ ├── actionmenu.test.js
│ │ └── template.js
├── alertbanner
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── alertbanner.stories.js
│ │ ├── alertbanner.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── alertdialog
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── alertdialog.stories.js
│ │ ├── alertdialog.test.js
│ │ └── template.js
├── asset
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── asset.stories.js
│ │ ├── asset.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── assetcard
│ ├── CHANGELOG.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── assetcard.stories.js
│ │ ├── assetcard.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── assetlist
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── assetlist.stories.js
│ │ ├── assetlist.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── avatar
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── avatar.stories.js
│ │ ├── avatar.test.js
│ │ └── template.js
├── badge
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── badge.stories.js
│ │ ├── badge.test.js
│ │ └── template.js
├── breadcrumb
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── breadcrumb.stories.js
│ │ ├── breadcrumb.test.js
│ │ └── template.js
├── button
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── button.stories.js
│ │ ├── button.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── buttongroup
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── buttongroup.stories.js
│ │ ├── buttongroup.test.js
│ │ └── template.js
├── calendar
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── calendar.stories.js
│ │ ├── calendar.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── card
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── card.stories.js
│ │ ├── card.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── checkbox
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── checkbox.stories.js
│ │ ├── checkbox.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── clearbutton
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── clearbutton.stories.js
│ │ ├── clearbutton.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── closebutton
│ ├── CHANGELOG.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── closebutton.stories.js
│ │ ├── closebutton.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── coachindicator
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── coachindicator.stories.js
│ │ ├── coachindicator.test.js
│ │ └── template.js
├── coachmark
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── coachmark.stories.js
│ │ ├── coachmark.test.js
│ │ └── template.js
├── colorarea
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── colorarea.stories.js
│ │ ├── colorarea.test.js
│ │ └── template.js
├── colorhandle
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── colorhandle.stories.js
│ │ ├── colorhandle.test.js
│ │ └── template.js
├── colorloupe
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── colorloupe.stories.js
│ │ ├── colorloupe.test.js
│ │ └── template.js
├── colorslider
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── colorslider.stories.js
│ │ ├── colorslider.test.js
│ │ └── template.js
├── colorwheel
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── colorwheel.stories.js
│ │ ├── colorwheel.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── combobox
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── combobox.stories.js
│ │ ├── combobox.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── commons
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── basebutton.css
│ ├── index.css
│ ├── overlay.css
│ ├── package.json
│ └── project.json
├── contextualhelp
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── contextualhelp.stories.js
│ │ ├── contextualhelp.test.js
│ │ └── template.js
├── datepicker
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── datepicker.stories.js
│ │ ├── datepicker.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── dial
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── dial.stories.js
│ │ ├── dial.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── dialog
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── dialog.stories.js
│ │ ├── dialog.test.js
│ │ └── template.js
├── divider
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── divider.stories.js
│ │ ├── divider.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── dropindicator
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── dropindicator.stories.js
│ │ ├── dropindicator.test.js
│ │ └── template.js
├── dropzone
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── dropzone.stories.js
│ │ ├── dropzone.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── fieldgroup
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── fieldgroup.stories.js
│ │ ├── fieldgroup.test.js
│ │ └── template.js
├── fieldlabel
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── fieldlabel.stories.js
│ │ ├── fieldlabel.test.js
│ │ └── template.js
├── floatingactionbutton
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── floatingactionbutton.stories.js
│ │ ├── floatingactionbutton.test.js
│ │ └── template.js
├── form
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── form.stories.js
│ │ ├── form.test.js
│ │ └── template.js
├── helptext
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── helptext.stories.js
│ │ ├── helptext.test.js
│ │ └── template.js
├── icon
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── icons.css
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── icon.stories.js
│ │ ├── icon.test.js
│ │ ├── template.js
│ │ └── utilities.js
│ ├── ui-icons.css
│ └── workflow-icons.css
├── illustratedmessage
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── illustratedmessage.stories.js
│ │ ├── illustratedmessage.test.js
│ │ └── template.js
├── infieldbutton
│ ├── CHANGELOG.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── infieldbutton.stories.js
│ │ ├── infieldbutton.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── inlinealert
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── inlinealert.stories.js
│ │ ├── inlinealert.test.js
│ │ └── template.js
├── link
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── link.stories.js
│ │ ├── link.test.js
│ │ └── template.js
├── logicbutton
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── logicbutton.stories.js
│ │ ├── logicbutton.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── menu
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── menu.stories.js
│ │ ├── menu.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── meter
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── meter.stories.js
│ │ ├── meter.test.js
│ │ └── template.js
├── miller
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── miller.stories.js
│ │ ├── miller.test.js
│ │ └── template.js
├── modal
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── modal.stories.js
│ │ ├── modal.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── opacitycheckerboard
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── opacitycheckerboard.stories.js
│ │ ├── opacitycheckerboard.test.js
│ │ └── template.js
├── page
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── page.stories.js
│ │ ├── page.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── pagination
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── pagination.stories.js
│ │ ├── pagination.test.js
│ │ └── template.js
├── picker
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── embed
│ │ └── Down-Chevron.svg
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── picker.stories.js
│ │ ├── picker.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── pickerbutton
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── pickerbutton.stories.js
│ │ ├── pickerbutton.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── popover
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── popover.stories.js
│ │ ├── popover.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── progressbar
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── progressbar.stories.js
│ │ ├── progressbar.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── progresscircle
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── animation.css
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── progresscircle.stories.js
│ │ ├── progresscircle.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── radio
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── radio.stories.js
│ │ ├── radio.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── rating
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── embed
│ │ ├── S_StarOutline_18_N@2x.svg
│ │ └── S_Star_18_N@2x.svg
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── rating.stories.js
│ │ ├── rating.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── search
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── search.stories.js
│ │ ├── search.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── sidenav
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── sidenav.stories.js
│ │ ├── sidenav.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── slider
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── slider.stories.js
│ │ ├── slider.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── splitview
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── splitview.stories.js
│ │ ├── splitview.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── statuslight
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── statuslight.stories.js
│ │ ├── statuslight.test.js
│ │ └── template.js
├── steplist
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── steplist.stories.js
│ │ ├── steplist.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── stepper
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── stepper.stories.js
│ │ ├── stepper.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── swatch
│ ├── CHANGELOG.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── swatch.stories.js
│ │ ├── swatch.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── swatchgroup
│ ├── CHANGELOG.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── swatchgroup.stories.js
│ │ ├── swatchgroup.test.js
│ │ └── template.js
├── switch
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── switch.stories.js
│ │ ├── switch.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── table
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── table.stories.js
│ │ ├── table.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── tabs
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── tabs.stories.js
│ │ ├── tabs.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── tag
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── tag.stories.js
│ │ ├── tag.test.js
│ │ └── template.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── taggroup
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── taggroup.stories.js
│ │ ├── taggroup.test.js
│ │ └── template.js
├── textfield
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── embed
│ │ ├── AlertMedium.svg
│ │ └── CheckmarkMedium.svg
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── template.js
│ │ ├── textarea.stories.js
│ │ ├── textarea.template.js
│ │ ├── textarea.test.js
│ │ ├── textfield.stories.js
│ │ └── textfield.test.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── thumbnail
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── template.js
│ │ ├── thumbnail.stories.js
│ │ └── thumbnail.test.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── toast
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── template.js
│ │ ├── toast.stories.js
│ │ └── toast.test.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── tooltip
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── template.js
│ │ ├── tooltip.stories.js
│ │ └── tooltip.test.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── tray
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── template.js
│ │ ├── tray.stories.js
│ │ └── tray.test.js
├── treeview
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ │ ├── template.js
│ │ ├── treeview.stories.js
│ │ └── treeview.test.js
│ └── themes
│ │ ├── express.css
│ │ ├── spectrum-two.css
│ │ └── spectrum.css
├── typography
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── template.js
│ │ ├── typography.mdx
│ │ ├── typography.stories.js
│ │ └── typography.test.js
├── underlay
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ │ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ └── stories
│ │ ├── template.js
│ │ └── underlay.stories.js
└── well
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── dist
│ └── metadata.json
│ ├── index.css
│ ├── package.json
│ ├── project.json
│ ├── stories
│ ├── template.js
│ ├── well.stories.js
│ └── well.test.js
│ └── themes
│ ├── express.css
│ ├── spectrum-two.css
│ └── spectrum.css
├── lint-staged.config.js
├── netlify.toml
├── nx.json
├── package.json
├── plugins
├── README.md
├── postcss-add-theming-layer
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── expected
│ │ └── basic.css
│ ├── fixtures
│ │ └── basic.css
│ ├── index.js
│ ├── package.json
│ ├── project.json
│ ├── test.js
│ └── utilities.js
├── postcss-property-rollup
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── expected
│ │ └── basic.css
│ ├── fixtures
│ │ └── basic.css
│ ├── index.js
│ ├── package.json
│ ├── project.json
│ └── test.js
├── postcss-rgb-mapping
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── expected
│ │ ├── basic.css
│ │ └── modern.css
│ ├── fixtures
│ │ └── basic.css
│ ├── index.js
│ ├── package.json
│ ├── project.json
│ └── test.js
├── stylelint-no-missing-var
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── fixtures
│ │ ├── missing-var.css
│ │ └── passing.css
│ ├── index.js
│ ├── package.json
│ ├── project.json
│ └── test.js
├── stylelint-no-unknown-custom-properties
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── fixtures
│ │ ├── passing.css
│ │ └── unknown-prop.css
│ ├── index.js
│ ├── package.json
│ ├── project.json
│ └── test.js
├── stylelint-no-unused-custom-properties
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── expected
│ │ ├── unused.css
│ │ └── varRefs.css
│ ├── fixtures
│ │ ├── passing.css
│ │ ├── passthrough.css
│ │ ├── unused.css
│ │ └── varRefs.css
│ ├── index.js
│ ├── package.json
│ ├── project.json
│ └── test.js
└── stylelint-theme-alignment
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── index.js
│ ├── package.json
│ └── project.json
├── postcss.config.js
├── schemas
└── metadata.schema.json
├── stylelint.config.js
├── tasks
├── chromatic-config-creation.sh
├── clean-up-after-migration.sh
├── component-builder.js
├── component-compare.js
├── component-reporter.js
├── copy-env-from-root.sh
├── templates
│ ├── compare-listing.njk
│ ├── diff-preview.njk
│ └── sidenav.njk
└── utilities.js
├── tokens
├── CHANGELOG.md
├── README.md
├── custom
│ ├── dark-vars.css
│ ├── global-vars.css
│ ├── large-vars.css
│ ├── light-vars.css
│ └── medium-vars.css
├── dist
│ └── json
│ │ └── tokens.json
├── package.json
├── postcss.config.js
├── project.json
├── style-dictionary.config.js
├── tasks
│ └── token-rollup.js
└── utilities
│ ├── attribute-sets-transform.js
│ ├── css-font-open-type-transform.js
│ ├── css-sets-formatter.js
│ ├── data-json-formatter.js
│ ├── index.js
│ ├── json-sets-formatter.js
│ └── name-kebab-transform.js
├── tools
├── bundle
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── package.json
│ ├── postcss.config.js
│ ├── project.json
│ ├── src
│ │ └── index.css
│ └── tasks
│ │ └── bundler.js
└── generator
│ ├── CHANGELOG.md
│ ├── package.json
│ ├── plopfile.js
│ └── templates
│ ├── README.md.hbs
│ ├── index.css.hbs
│ ├── package.json.hbs
│ ├── project.json.hbs
│ └── stories
│ ├── template.js.hbs
│ ├── {{ folderName }}.stories.js.hbs
│ └── {{ folderName }}.test.js.hbs
├── ui-icons
├── CHANGELOG.md
├── README.md
├── index.js
├── large
│ ├── Arrow100.svg
│ ├── Arrow200.svg
│ ├── Arrow300.svg
│ ├── Arrow400.svg
│ ├── Arrow500.svg
│ ├── Arrow600.svg
│ ├── Arrow75.svg
│ ├── Asterisk100.svg
│ ├── Asterisk200.svg
│ ├── Asterisk300.svg
│ ├── Asterisk75.svg
│ ├── Checkmark100.svg
│ ├── Checkmark200.svg
│ ├── Checkmark300.svg
│ ├── Checkmark400.svg
│ ├── Checkmark50.svg
│ ├── Checkmark500.svg
│ ├── Checkmark600.svg
│ ├── Checkmark75.svg
│ ├── Chevron100.svg
│ ├── Chevron200.svg
│ ├── Chevron300.svg
│ ├── Chevron400.svg
│ ├── Chevron50.svg
│ ├── Chevron500.svg
│ ├── Chevron600.svg
│ ├── Chevron75.svg
│ ├── CornerTriangle100.svg
│ ├── CornerTriangle200.svg
│ ├── CornerTriangle300.svg
│ ├── CornerTriangle75.svg
│ ├── Cross100.svg
│ ├── Cross200.svg
│ ├── Cross300.svg
│ ├── Cross400.svg
│ ├── Cross500.svg
│ ├── Cross600.svg
│ ├── Cross75.svg
│ ├── Dash100.svg
│ ├── Dash200.svg
│ ├── Dash300.svg
│ ├── Dash400.svg
│ ├── Dash50.svg
│ ├── Dash500.svg
│ ├── Dash600.svg
│ ├── Dash75.svg
│ ├── DoubleGripper.svg
│ ├── SingleGripper.svg
│ └── TripleGripper.svg
├── medium
│ ├── Arrow100.svg
│ ├── Arrow200.svg
│ ├── Arrow300.svg
│ ├── Arrow400.svg
│ ├── Arrow500.svg
│ ├── Arrow600.svg
│ ├── Arrow75.svg
│ ├── Asterisk100.svg
│ ├── Asterisk200.svg
│ ├── Asterisk300.svg
│ ├── Asterisk75.svg
│ ├── Checkmark100.svg
│ ├── Checkmark200.svg
│ ├── Checkmark300.svg
│ ├── Checkmark400.svg
│ ├── Checkmark50.svg
│ ├── Checkmark500.svg
│ ├── Checkmark600.svg
│ ├── Checkmark75.svg
│ ├── Chevron100.svg
│ ├── Chevron200.svg
│ ├── Chevron300.svg
│ ├── Chevron400.svg
│ ├── Chevron50.svg
│ ├── Chevron500.svg
│ ├── Chevron600.svg
│ ├── Chevron75.svg
│ ├── CornerTriangle100.svg
│ ├── CornerTriangle200.svg
│ ├── CornerTriangle300.svg
│ ├── CornerTriangle75.svg
│ ├── Cross100.svg
│ ├── Cross200.svg
│ ├── Cross300.svg
│ ├── Cross400.svg
│ ├── Cross500.svg
│ ├── Cross600.svg
│ ├── Cross75.svg
│ ├── Dash100.svg
│ ├── Dash200.svg
│ ├── Dash300.svg
│ ├── Dash400.svg
│ ├── Dash50.svg
│ ├── Dash500.svg
│ ├── Dash600.svg
│ ├── Dash75.svg
│ ├── DoubleGripper.svg
│ ├── SingleGripper.svg
│ └── TripleGripper.svg
├── package.json
├── project.json
└── svgo.config.js
├── yarn.config.cjs
└── yarn.lock
/.changeset/README.md:
--------------------------------------------------------------------------------
1 | # Changesets
2 |
3 | Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4 | with multi-package repos, or single-package repos to help you version and publish your code. You can
5 | find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6 |
7 | We have a quick list of common questions to get you started engaging with this project in
8 | [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
9 |
--------------------------------------------------------------------------------
/.changeset/config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
3 | "changelog": [
4 | "@changesets/changelog-github",
5 | {
6 | "repo": "adobe/spectrum-css"
7 | }
8 | ],
9 | "commit": false,
10 | "fixed": [],
11 | "linked": [],
12 | "access": "public",
13 | "baseBranch": "main",
14 | "updateInternalDependencies": "minor",
15 | "ignore": [],
16 | "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
17 | "onlyUpdatePeerDependentsWhenOutOfRange": true,
18 | "updateInternalDependents": "out-of-range"
19 | },
20 | "snapshot": {
21 | "useCalculatedVersion": true
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/.cursor/rules/styles.mdc:
--------------------------------------------------------------------------------
1 | ---
2 | description: Rules for consistent styling in component CSS
3 | globs: *.css
4 | alwaysApply: true
5 | ---
6 |
7 | 1. Auto-fix results based on settings defined by the `stylelint.config.js` unless it requires rewriting more than 30% of the line. Changes that impact more than 30% of the original content should prompt for update.
8 | 2. Copyrights should reflect the current year.
9 | 3. Comments added should always use sentence, never title case.
10 | 4. Any files removed should also be removed from the exports of the component's package.json.
11 | 5. Never rename a custom property without prompting for approval first or being expressly asked to update the custom property name.
12 | 6. Sort high-contrast and other media queries to the bottom of the CSS file.
13 | 7. Warn about or suggest fixes for duplicate properties; always opt to keep the definition that honors the CSS cascade.
14 |
--------------------------------------------------------------------------------
/.env.example:
--------------------------------------------------------------------------------
1 | CHROMATIC_PROJECT_TOKEN=1234abcd
2 | CHROMATIC_PROJECT_ID="Project:64762974a45b8bc5ca1705a2"
3 | # Note: the build script here should be defined in .storybook/package.json
4 | # this is used by the chromatic storybook addon to build the storybook on the fly
5 | CHROMATIC_BUILD_SCRIPT_NAME="build"
6 | CHROMATIC_STORYBOOK_BASE_DIR=".storybook"
7 | CHROMATIC_ZIP=true
8 |
9 | # NX settings
10 | NX_PREFER_TS_NODE=true
11 | NX_NATIVE_COMMAND_RUNNER=false
12 | NX_INTERACTIVE=true
13 |
14 | # Default dev environment settings
15 | NODE_ENV=development
16 | WATCH_MODE=true
17 |
18 | # Optional NX settings
19 | NX_VERBOSE_LOGGING=false
20 | NX_SKIP_NX_CACHE=false
21 | NX_PERF_LOGGING=false
22 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto eol=lf
2 | README.md merge=ours
3 |
4 | # Treat yarn assets as binaries for diffing
5 | /.yarn/releases/** binary
6 | /.yarn/plugins/** binary
7 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/--documentation-issue.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: "📚 Documentation issue"
3 | about: Report an issue with the project documentation
4 | title: ""
5 | labels: documentation
6 | assignees: pfulton, castastrophe
7 | ---
8 |
9 | ## Description
10 |
11 |
12 |
13 | ## Link to documentation
14 |
15 |
16 |
17 | ## Additional context
18 |
19 |
20 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/--feature-request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: "✨ Feature request"
3 | about: Suggest a new feature or component
4 | title: ""
5 | labels: enhancement
6 | assignees: pfulton, castastrophe
7 | ---
8 |
9 | ## Description
10 |
11 |
12 |
13 | ## Why do you need this feature or component?
14 |
15 |
16 |
17 | ## Additional context
18 |
19 |
20 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/--support-request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: "📚 Support request"
3 | about: Ask for help with using Spectrum CSS
4 | title: ""
5 | labels: question
6 | assignees: pfulton, castastrophe
7 | ---
8 |
9 | ## Description
10 |
11 |
12 |
13 | ## Screenshots
14 |
15 |
16 |
17 | ## Environment
18 |
19 | - **Spectrum CSS version:**
20 | - **Browser(s) and OS(s):**
21 |
22 | ## Additional context
23 |
24 |
25 |
--------------------------------------------------------------------------------
/.husky/commit-msg:
--------------------------------------------------------------------------------
1 | yarn commitlint --edit $1
2 |
--------------------------------------------------------------------------------
/.husky/pre-commit:
--------------------------------------------------------------------------------
1 | yarn lint-staged --allow-empty --config lint-staged.config.js
2 |
--------------------------------------------------------------------------------
/.markdownlint.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "markdownlint/style/prettier",
3 | "first-line-h1": false,
4 | "no-inline-html": false,
5 | "no-bare-urls": false,
6 | "no-duplicate-heading": {
7 | "siblings_only": true
8 | },
9 | "code-block-style": {
10 | "style": "fenced"
11 | },
12 | "code-fence-style": {
13 | "style": "backtick"
14 | },
15 | "emphasis-style": {
16 | "style": "underscore"
17 | },
18 | "strong-style": {
19 | "style": "asterisk"
20 | },
21 | "ul-style": {
22 | "style": "dash"
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | /src
2 | /dist
3 | /node_modules
4 | /tasks
5 | /temp
6 | npm-debug.log
7 | /.github
8 | /components
9 |
--------------------------------------------------------------------------------
/.nvmrc:
--------------------------------------------------------------------------------
1 | 20.19.2
2 |
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | # Tooling config files
2 | **/.git
3 | **/.svn
4 | **/.hg
5 | **/node_modules
6 |
7 | # Compiled and generated files
8 | dist
9 | .storybook/storybook-static
10 | *-generated.css
11 |
12 | # Template files
13 | *.hbs
14 |
15 | # OS generated files
16 | .DS_Store*
17 | ehthumbs.db
18 | Icon?
19 | Thumbs.db
20 | *~
21 | *.swp
22 |
23 | # Test files
24 | plugins/*/expected/*.css
25 | plugins/*/fixtures/*.css
26 |
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "tabWidth": 2,
3 | "useTabs": true,
4 | "overrides": [
5 | {
6 | "files": "*.css",
7 | "options": {
8 | "printWidth": 500
9 | }
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/.storybook/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/preview
2 |
3 | The preview tool for Spectrum CSS is driven by [Storybook](https://storybook.js.org), a React-driven development environment that allows for in-depth exploration of components as they are being built.
4 |
5 | For more information on contributing to the Spectrum CSS project, please see the [development documentation](guides/develop.mdx) (rendered in storybook under the Guides category).
6 |
7 | To spin up the preview environment, run the following command:
8 |
9 | ```sh
10 | yarn start
11 | ```
12 |
13 | This will start the Storybook server and open a new browser window with the preview environment. From there, you can explore the various components and their states, as well as the documentation for each component. Be sure to run commands from the root of the project.
14 |
--------------------------------------------------------------------------------
/.storybook/assets/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/.storybook/assets/favicon.png
--------------------------------------------------------------------------------
/.storybook/assets/images/adobe_logo.svg:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/.storybook/assets/images/example-ava.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/.storybook/assets/images/example-ava.png
--------------------------------------------------------------------------------
/.storybook/assets/images/example-ava@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/.storybook/assets/images/example-ava@2x.png
--------------------------------------------------------------------------------
/.storybook/assets/images/example-card-landscape.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/.storybook/assets/images/example-card-landscape.png
--------------------------------------------------------------------------------
/.storybook/assets/images/example-card-portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/.storybook/assets/images/example-card-portrait.png
--------------------------------------------------------------------------------
/.storybook/assets/images/example-card-square.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/.storybook/assets/images/example-card-square.png
--------------------------------------------------------------------------------
/.storybook/assets/images/flowers.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/.storybook/assets/images/flowers.png
--------------------------------------------------------------------------------
/.storybook/assets/images/github_logo.svg:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/.storybook/assets/images/gradient-background-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/.storybook/assets/images/gradient-background-dark.png
--------------------------------------------------------------------------------
/.storybook/assets/images/gradient-background-light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/.storybook/assets/images/gradient-background-light.png
--------------------------------------------------------------------------------
/.storybook/assets/images/gray_migration-guide.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/.storybook/assets/images/gray_migration-guide.png
--------------------------------------------------------------------------------
/.storybook/assets/images/npm_logo.svg:
--------------------------------------------------------------------------------
1 |
12 |
--------------------------------------------------------------------------------
/.storybook/assets/images/spectrum-css_illustration_desktop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/.storybook/assets/images/spectrum-css_illustration_desktop.png
--------------------------------------------------------------------------------
/.storybook/assets/images/spectrum_illustration_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/.storybook/assets/images/spectrum_illustration_2x.png
--------------------------------------------------------------------------------
/.storybook/assets/images/thumbnail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/.storybook/assets/images/thumbnail.png
--------------------------------------------------------------------------------
/.storybook/decorators/arg-events.js:
--------------------------------------------------------------------------------
1 | import { makeDecorator, useArgs } from "@storybook/preview-api";
2 |
3 | /**
4 | * @type import('@storybook/csf').Args
5 | */
6 |
7 | /**
8 | * @type import('@storybook/csf').DecoratorFunction
9 | * @description Global properties added to each component; determines what stylesheets are loaded
10 | **/
11 | export const withArgEvents = makeDecorator({
12 | name: "withArgEvents",
13 | parameterName: "argEvents",
14 | wrapper: (StoryFn, context) => {
15 | /** @type {[Args, (newArgs: Partial) => void, (argNames?: (keyof Args)[]) => void]} */
16 | const [, updateArgs] = useArgs(context.args);
17 |
18 | // Bind the updateArgs function for use in nested templates
19 | context.updateArgs = updateArgs;
20 |
21 | return StoryFn(context);
22 | },
23 | });
24 |
--------------------------------------------------------------------------------
/.storybook/loaders/font-loader.js:
--------------------------------------------------------------------------------
1 | export const FontLoader = async () => ({
2 | fonts: new Promise((resolve) => {
3 | // First check if the fonts are already loaded
4 | if (typeof window.Typekit !== "undefined") resolve();
5 |
6 | // Listen for a custom event indicating the Adobe Fonts have loaded
7 | document.addEventListener("typekit-loaded", () => {
8 | if (typeof window.Typekit !== "undefined") resolve();
9 | });
10 | }),
11 | });
12 |
--------------------------------------------------------------------------------
/.storybook/loaders/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | export { FontLoader } from "./font-loader.js";
15 | export { IconLoader } from "./icon-loader.js";
16 |
--------------------------------------------------------------------------------
/.storybook/templates/DocumentationTemplate.mdx:
--------------------------------------------------------------------------------
1 | import {
2 | Meta,
3 | Title,
4 | Subtitle,
5 | Description,
6 | Primary,
7 | ArgTypes,
8 | Stories,
9 | } from "@storybook/blocks";
10 | import { ComponentDetails, TaggedReleases, PropertiesTable } from "../blocks";
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | ## Properties
23 |
24 | The component accepts the following inputs (properties):
25 |
26 |
27 |
28 |
29 |
30 | ## Tagged releases
31 |
32 |
33 |
--------------------------------------------------------------------------------
/.storybook/types/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | import argTypes from "./args.js";
15 | import globalTypes from "./global.js";
16 |
17 | export * from "./states.js";
18 | export * from "./variants.js";
19 | export { argTypes, globalTypes };
20 |
--------------------------------------------------------------------------------
/.stylelintignore:
--------------------------------------------------------------------------------
1 | # Static utility assets
2 | tokens/custom-*/*.css
3 | generator
4 |
5 | # Compiled and generated files
6 | dist
7 | .storybook/storybook-static
8 | *-generated.css
9 | tools/bundle/src/*.css
10 |
11 | node_modules/**/*.css
12 |
13 | # Test files
14 | plugins/*/expected/*.css
15 | plugins/*/fixtures/*.css
16 |
--------------------------------------------------------------------------------
/.vscode/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | "recommendations": [
3 | "atlassian.atlascode",
4 | "bierner.color-info",
5 | "bierner.lit-html",
6 | "dbaeumer.vscode-eslint",
7 | "esbenp.prettier-vscode",
8 | "figma.figma-vscode-extension",
9 | "github.copilot",
10 | "github.copilot-chat",
11 | "github.vscode-github-actions",
12 | "github.vscode-pull-request-github",
13 | "gruntfuggly.todo-tree",
14 | "joshbolduc.story-explorer",
15 | "kisstkondoros.csstriggers",
16 | "mariusschulz.yarn-lock-syntax",
17 | "me-dutour-mathieu.vscode-github-actions",
18 | "nrwl.angular-console",
19 | "oouo-diogo-perdigao.docthis",
20 | "rajdeepchandra.spectrum-design-tokens-for-vscode",
21 | "stylelint.vscode-stylelint",
22 | "vunguyentuan.vscode-css-variables",
23 | "vunguyentuan.vscode-postcss"
24 | ]
25 | }
26 |
--------------------------------------------------------------------------------
/.yarnrc.yml:
--------------------------------------------------------------------------------
1 | cacheFolder: ./.yarn/cache
2 |
3 | nodeLinker: node-modules
4 |
5 | yarnPath: .yarn/releases/yarn-4.9.2.cjs
6 |
--------------------------------------------------------------------------------
/COPYRIGHT:
--------------------------------------------------------------------------------
1 | Copyright 2024 Adobe. All rights reserved.
2 |
3 | This file is licensed to you under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License. You may obtain a copy
5 | of the License at
6 |
7 | Unless required by applicable law or agreed to in writing, software distributed under
8 | the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9 | OF ANY KIND, either express or implied. See the License for the specific language
10 | governing permissions and limitations under the License.
11 |
--------------------------------------------------------------------------------
/commitlint.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | extends: ["@commitlint/config-conventional"],
3 | rules: {
4 | "header-max-length": [0],
5 | }
6 | };
7 |
--------------------------------------------------------------------------------
/components/accordion/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/accordion
2 |
3 | > The Spectrum CSS accordion component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/accordion/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "accordion",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/accordion/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/actionbar/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/actionbar
2 |
3 | > The Spectrum CSS actionbar component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/actionbar/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "actionbar",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/actionbar/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/actionbutton/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/actionbutton
2 |
3 | > The Spectrum CSS action button component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/actionbutton/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "actionbutton",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/actiongroup/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/buttongroup
2 |
3 | > The Spectrum CSS buttongroup component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/actiongroup/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "actiongroup",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/actiongroup/themes/spectrum.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--legacy */
15 |
16 | @import "./spectrum-two.css";
17 |
--------------------------------------------------------------------------------
/components/actionmenu/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/actionmenu
2 |
3 | > The Spectrum CSS actionmenu component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/actionmenu/stories/actionmenu.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const ActionMenuGroup = Variants({
5 | Template,
6 | testData: [{
7 | wrapperStyles: {
8 | "min-block-size": "200px",
9 | "align-items": "flex-start",
10 | },
11 | }, {
12 | testHeading: "Closed menu",
13 | isOpen: false,
14 | wrapperStyles: {
15 | "min-block-size": "50px",
16 | },
17 | }, {
18 | testHeading: "Custom icon",
19 | isOpen: false,
20 | iconName: "Add",
21 | iconSet: "workflow",
22 | wrapperStyles: {
23 | "min-block-size": "50px",
24 | },
25 | }],
26 | });
27 |
--------------------------------------------------------------------------------
/components/alertbanner/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/alertbanner
2 |
3 | > The Spectrum CSS alertbanner component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/alertbanner/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "alertbanner",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/alertdialog/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/alertdialog
2 |
3 | > The Spectrum CSS alertdialog component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/alertdialog).
8 |
--------------------------------------------------------------------------------
/components/alertdialog/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "alertdialog",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/asset/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/asset
2 |
3 | > The Spectrum CSS asset component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/asset/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "asset",
4 | "tags": ["component", "legacy"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/asset/stories/asset.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const AssetGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Image preset",
9 | },
10 | {
11 | testHeading: "File preset",
12 | image: undefined,
13 | preset: "file",
14 | customStyles: {
15 | "min-inline-size": "150px",
16 | },
17 | },
18 | {
19 | testHeading: "Folder preset",
20 | image: undefined,
21 | preset: "folder",
22 | customStyles: {
23 | "min-inline-size": "150px",
24 | }
25 | },
26 | ],
27 | });
28 |
--------------------------------------------------------------------------------
/components/asset/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/assetcard/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "assetcard",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/assetlist/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/assetlist
2 |
3 | > The Spectrum CSS assetlist component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/assetlist/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "assetlist",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/assetlist/stories/assetlist.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const AssetListGroup = Variants({ Template });
5 |
--------------------------------------------------------------------------------
/components/assetlist/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/avatar/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/avatar
2 |
3 | > The Spectrum CSS avatar component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/avatar/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "avatar",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/avatar/stories/avatar.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const AvatarGroup = Variants({
5 | Template,
6 | stateData: [{
7 | testHeading: "Not linked",
8 | hasLink: false,
9 | }, {
10 | testHeading: "Disabled",
11 | isDisabled: true,
12 | hasLink: false,
13 | }, {
14 | testHeading: "Focused",
15 | isFocused: true,
16 | }],
17 | sizeDirection: "row",
18 | });
19 |
--------------------------------------------------------------------------------
/components/badge/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/badge
2 |
3 | > The Spectrum CSS badge component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/badge/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "badge",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/breadcrumb/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/breadcrumb
2 |
3 | > The Spectrum CSS breadcrumb component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/breadcrumb/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "breadcrumb",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/button/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/button
2 |
3 | > The Spectrum CSS button component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/button/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "button",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/buttongroup/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/buttongroup
2 |
3 | > The Spectrum CSS buttongroup component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/buttongroup/dist/metadata.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFile": "index.css",
3 | "selectors": [
4 | ".spectrum-ButtonGroup",
5 | ".spectrum-ButtonGroup-item",
6 | ".spectrum-ButtonGroup.spectrum-ButtonGroup--sizeS",
7 | ".spectrum-ButtonGroup.spectrum-ButtonGroup--vertical"
8 | ],
9 | "modifiers": [
10 | "--mod-buttongroup-justify-content",
11 | "--mod-buttongroup-spacing",
12 | "--mod-buttongroup-spacing-horizontal",
13 | "--mod-buttongroup-spacing-vertical"
14 | ],
15 | "component": [
16 | "--spectrum-buttongroup-display",
17 | "--spectrum-buttongroup-flex-direction",
18 | "--spectrum-buttongroup-justify-content",
19 | "--spectrum-buttongroup-spacing"
20 | ],
21 | "global": ["--spectrum-spacing-200", "--spectrum-spacing-300"],
22 | "system-theme": [],
23 | "passthroughs": [],
24 | "high-contrast": []
25 | }
26 |
--------------------------------------------------------------------------------
/components/buttongroup/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "buttongroup",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/calendar/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/calendar
2 |
3 | > The Spectrum CSS calendar component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/calendar/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "calendar",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/calendar/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/calendar/themes/spectrum-two.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | @container style(--system: spectrum) {
15 | .spectrum-Calendar {
16 | --spectrum-calendar-day-background-color-selected-disabled: rgba(var(--spectrum-gray-100-rgb), 0.4);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/components/card/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/card
2 |
3 | > The Spectrum CSS card component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/card/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "card",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/card/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/checkbox/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/checkbox
2 |
3 | > The Spectrum CSS checkbox component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/checkbox/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "checkbox",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/clearbutton/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/clearbutton
2 |
3 | > The Spectrum CSS clearbutton component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/clearbutton/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "clearbutton",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/clearbutton/stories/clearbutton.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const ClearButtonGroup = Variants({
5 | Template,
6 | stateDirection: "row",
7 | sizeDirection: "row",
8 | testData: [
9 | {
10 | testHeading: "Default",
11 | },
12 | {
13 | testHeading: "Quiet",
14 | isQuiet: true,
15 | },
16 | {
17 | testHeading: "Static white",
18 | staticColor: "white",
19 | },
20 | {
21 | testHeading: "Static white - quiet",
22 | staticColor: "white",
23 | isQuiet: true,
24 | },
25 | ],
26 | stateData: [
27 | {
28 | testHeading: "Disabled",
29 | isDisabled: true,
30 | },
31 | ]
32 | });
33 |
--------------------------------------------------------------------------------
/components/closebutton/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "closebutton",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/coachindicator/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/coachindicator
2 |
3 | > The Spectrum CSS Coach Indicator component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/coachindicator/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "coachindicator",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/coachindicator/stories/coachindicator.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const CoachIndicatorGroup = Variants({
5 | Template,
6 | wrapperStyles: {
7 | "align-items": "center",
8 | "justify-content": "center",
9 | "border-radius": "4px",
10 | "min-inline-size": "60px",
11 | },
12 | testData: [
13 | {
14 | testHeading: "Default",
15 | variant: "default",
16 | },
17 | {
18 | testHeading: "Static white",
19 | staticColor: "white"
20 | },
21 | {
22 | testHeading: "Static black",
23 | staticColor: "black"
24 | },
25 | ],
26 | stateData: [
27 | {
28 | testHeading: "Quiet",
29 | isQuiet: true,
30 | },
31 | ],
32 | });
33 |
--------------------------------------------------------------------------------
/components/coachmark/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/coachmark
2 |
3 | > The Spectrum CSS coachmark component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/coachmark/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "coachmark",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/colorarea/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/colorarea
2 |
3 | > The Spectrum CSS Color Area component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/colorarea/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "colorarea",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/colorarea/stories/colorarea.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const ColorAreaGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default",
9 | },
10 | {
11 | testHeading: "Custom size",
12 | customWidth: "80px",
13 | customHeight: "80px",
14 | },
15 | ],
16 | stateData: [
17 |
18 | {
19 | testHeading: "Disabled",
20 | isDisabled: true,
21 | },
22 | {
23 | testHeading: "Focused",
24 | isFocused: true,
25 | },
26 | ],
27 | });
28 |
--------------------------------------------------------------------------------
/components/colorhandle/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/colorhandle
2 |
3 | > The Spectrum CSS Color Handle component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/colorhandle/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "colorhandle",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/colorhandle/stories/colorhandle.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const ColorHandleGroup = Variants({
5 | Template,
6 | wrapperStyles: {
7 | "justify-content": "center",
8 | },
9 | testData: [
10 | {
11 | testHeading: "Default",
12 | },
13 | {
14 | testHeading: "With color loupe",
15 | isWithColorLoupe: true,
16 | },
17 | ],
18 | stateData: [
19 | {
20 | testHeading: "Disabled",
21 | isDisabled: true,
22 | isFocused: false,
23 | },
24 | {
25 | testHeading: "Focused",
26 | isDisabled: false,
27 | isFocused: true,
28 | },
29 | ],
30 | });
31 |
--------------------------------------------------------------------------------
/components/colorloupe/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/colorloupe
2 |
3 | > The Spectrum CSS Color Loupe component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/colorloupe/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "colorloupe",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/colorloupe/stories/colorloupe.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const ColorLoupeGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default",
9 | },
10 | ],
11 | stateData: [
12 | {
13 | testHeading: "Closed",
14 | isOpen: false,
15 | },
16 | {
17 | testHeading: "Disabled",
18 | isDisabled: true,
19 | },
20 | ],
21 | });
22 |
--------------------------------------------------------------------------------
/components/colorslider/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/colorslider
2 |
3 | > The Spectrum CSS Color slider component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/colorslider/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "colorslider",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/colorwheel/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/colorwheel
2 |
3 | > The Spectrum CSS Color Wheel component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/colorwheel/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "colorwheel",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/colorwheel/stories/colorwheel.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const ColorWheelGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default",
9 | },
10 | {
11 | testHeading: "With color area",
12 | isWithColorArea: true,
13 | },
14 | ],
15 | stateData: [
16 | {
17 | testHeading: "Disabled",
18 | isDisabled: true,
19 | },
20 | {
21 | testHeading: "Focused",
22 | isFocused: true,
23 | },
24 | ],
25 | });
26 |
--------------------------------------------------------------------------------
/components/colorwheel/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/colorwheel/themes/spectrum-two.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | @container style(--system: spectrum) {
15 | .spectrum-ColorWheel {
16 | --spectrum-colorwheel-border-color: var(--spectrum-transparent-black-300);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/components/combobox/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/combobox
2 |
3 | > The Spectrum CSS combobox component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/combobox/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "combobox",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/commons/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/commons
2 |
3 | > Common mixins and variables for Spectrum CSS components
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/commons/index.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | @import "./basebutton.css";
15 | @import "./overlay.css";
16 |
--------------------------------------------------------------------------------
/components/commons/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "commons",
4 | "tags": ["utility"],
5 | "targets": {
6 | "build": {
7 | "executor": "nx:noop"
8 | },
9 | "clean": {
10 | "executor": "nx:noop"
11 | },
12 | "compare": {
13 | "executor": "nx:noop"
14 | },
15 | "format": {},
16 | "lint": {},
17 | "report": {
18 | "executor": "nx:noop"
19 | },
20 | "test": {
21 | "executor": "nx:noop"
22 | },
23 | "validate": {}
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/components/contextualhelp/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/contextualhelp
2 |
3 | > The Spectrum CSS Contextual Help component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/contextualhelp).
8 |
--------------------------------------------------------------------------------
/components/contextualhelp/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "contextualhelp",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/datepicker/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/datepicker
2 |
3 | > The Spectrum CSS datepicker component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/datepicker/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "datepicker",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/datepicker/themes/spectrum-two.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | @container style(--system: spectrum) {
15 | .spectrum-DatePicker {
16 | --spectrum-datepicker-initial-height: var(--spectrum-component-height-100);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/components/datepicker/themes/spectrum.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--legacy */
15 |
16 | @import "./spectrum-two.css";
17 |
--------------------------------------------------------------------------------
/components/dial/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/components/dial/README.md
--------------------------------------------------------------------------------
/components/dial/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "dial",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/dial/stories/dial.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const DialGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default",
9 | },
10 | {
11 | testHeading: "With label",
12 | label: "Volume",
13 | withStates: false,
14 | },
15 | ],
16 | stateData: [
17 | {
18 | testHeading: "Disabled",
19 | isDisabled: true,
20 | },
21 | {
22 | testHeading: "Focused",
23 | isFocusVisible: true,
24 | },
25 | {
26 | testHeading: "Dragged",
27 | isDragged: true,
28 | },
29 | ],
30 | });
31 |
--------------------------------------------------------------------------------
/components/dial/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/dialog/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/dialog
2 |
3 | > The Spectrum CSS dialog component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/dialog/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "dialog",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/divider/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/divider
2 |
3 | > The Spectrum CSS divider component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/divider/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "divider",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/divider/stories/divider.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const DividerGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default",
9 | vertical: false,
10 | minDimensionValues: true,
11 | },
12 | {
13 | testHeading: "Non-HR",
14 | tag: "div",
15 | vertical: false,
16 | minDimensionValues: true,
17 | },
18 | {
19 | testHeading: "Vertical",
20 | vertical: true,
21 | minDimensionValues: true,
22 | },
23 | {
24 | testHeading: "Static black",
25 | staticColor: "black",
26 | },
27 | {
28 | testHeading: "Static white",
29 | staticColor: "white",
30 | },
31 | ],
32 | });
33 |
--------------------------------------------------------------------------------
/components/divider/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/dropindicator/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/dropindicator
2 |
3 | > The Spectrum CSS dropindicator component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/dropindicator/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "dropindicator",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/dropindicator/stories/dropindicator.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const DropIndicatorGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Horizontal",
9 | direction: "horizontal",
10 | wrapperStyles: {
11 | "padding-block": "10px",
12 | }
13 | },
14 | {
15 | testHeading: "Vertical",
16 | direction: "vertical",
17 | wrapperStyles: {
18 | "padding-inline": "10px",
19 | }
20 | },
21 | ],
22 | });
23 |
--------------------------------------------------------------------------------
/components/dropzone/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/dropzone
2 |
3 | > The Spectrum CSS dropzone component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/dropzone/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "dropzone",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/dropzone/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/dropzone/themes/spectrum-two.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | @container style(--system: spectrum) {
15 | .spectrum-DropZone {
16 | --spectrum-drop-zone-border-color: var(--spectrum-gray-200);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/components/fieldgroup/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/fieldgroup
2 |
3 | > The Spectrum CSS fieldgroup component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/fieldgroup/dist/metadata.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFile": "index.css",
3 | "selectors": [
4 | ".spectrum-FieldGroup",
5 | ".spectrum-FieldGroup--horizontal .spectrum-FieldGroupInputLayout",
6 | ".spectrum-FieldGroup--horizontal .spectrum-FieldGroupInputLayout .spectrum-FieldGroup-item:not(:last-child)",
7 | ".spectrum-FieldGroup--horizontal .spectrum-FieldGroupInputLayout .spectrum-HelpText",
8 | ".spectrum-FieldGroup--sidelabel",
9 | ".spectrum-FieldGroup--toplabel",
10 | ".spectrum-FieldGroup--vertical .spectrum-FieldGroupInputLayout",
11 | ".spectrum-FieldGroupInputLayout"
12 | ],
13 | "modifiers": [],
14 | "component": [],
15 | "global": ["--spectrum-spacing-300"],
16 | "system-theme": [],
17 | "passthroughs": [],
18 | "high-contrast": []
19 | }
20 |
--------------------------------------------------------------------------------
/components/fieldgroup/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "fieldgroup",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/fieldlabel/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/fieldlabel
2 |
3 | > The Spectrum CSS fieldlabel component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/fieldlabel/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "fieldlabel",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/floatingactionbutton/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/floatingactionbutton
2 |
3 | > The Spectrum CSS Floating action button component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/floatingactionbutton).
8 |
--------------------------------------------------------------------------------
/components/floatingactionbutton/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "floatingactionbutton",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/floatingactionbutton/stories/floatingactionbutton.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const FloatingActionButtonGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default",
9 | },
10 | {
11 | testHeading: "Secondary",
12 | variant: "secondary",
13 | },
14 | ],
15 | stateData: [
16 | {
17 | testHeading: "Hovered",
18 | isHovered: true,
19 | },
20 | {
21 | testHeading: "Active",
22 | isActive: true,
23 | },
24 | {
25 | testHeading: "Focused",
26 | isFocused: true,
27 | },
28 | ]
29 | });
30 |
--------------------------------------------------------------------------------
/components/form/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/form
2 |
3 | > The Spectrum CSS form component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/form/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "form",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/form/stories/form.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const FormGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default",
9 | },
10 | {
11 | testHeading: "Side labels with left-aligned text",
12 | labelPosition: "side",
13 | },
14 | {
15 | testHeading: "Side labels with right-aligned text",
16 | labelPosition: "side",
17 | fieldLabelAlignment: "right",
18 | }
19 | ],
20 | });
21 |
--------------------------------------------------------------------------------
/components/helptext/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adobe/spectrum-css/83f657879d61712605aa8317be31163fcfadc962/components/helptext/README.md
--------------------------------------------------------------------------------
/components/helptext/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "helptext",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/icon/README.md:
--------------------------------------------------------------------------------
1 | # `@spectrum-css/icon`
2 |
3 | The icons component contains the CSS for UI and workflow icons.
4 |
--------------------------------------------------------------------------------
/components/icon/index.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | @import "./icons.css";
15 | @import "./workflow-icons.css";
16 | @import "./ui-icons.css";
17 |
--------------------------------------------------------------------------------
/components/icon/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "icon",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/illustratedmessage/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/illustratedmessage
2 |
3 | > The Spectrum CSS illustratedmessage component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/illustratedmessage/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "illustratedmessage",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/illustratedmessage/stories/illustratedmessage.test.js:
--------------------------------------------------------------------------------
1 | import { Template as Link } from "@spectrum-css/link/stories/template.js";
2 | import { Variants } from "@spectrum-css/preview/decorators";
3 | import { html } from "lit";
4 | import { Template } from "./template.js";
5 |
6 | export const IllustratedMessageGroup = Variants({
7 | Template,
8 | testData: [{
9 | heading: "Error 404: Page not found",
10 | description: [
11 | "This page isn't available. Try checking the URL or visit a different page.",
12 | ],
13 | useAccentColor: false,
14 | }, {
15 | testHeading: "With accent color",
16 | heading: "Drag and drop your file",
17 | description: [
18 | () => {
19 | return html`${Link({ url: "#", text: "Select a file" })} from your computer.`;
20 | },
21 | ],
22 | useAccentColor: true,
23 | }
24 | ],
25 | });
26 |
--------------------------------------------------------------------------------
/components/infieldbutton/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "infieldbutton",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/inlinealert/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/inlinealert
2 |
3 | > The Spectrum CSS in-line alert component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/inlinealert/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "inlinealert",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/link/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/link
2 |
3 | > The Spectrum CSS link component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/link/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "link",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/logicbutton/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/logicbutton
2 |
3 | > The Spectrum CSS logicbutton component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/logicbutton/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "logicbutton",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/logicbutton/stories/logicbutton.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const LogicButtonGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "And variant",
9 | },
10 | {
11 | testHeading: "Or variant",
12 | variant: "or",
13 | },
14 | ],
15 | stateData: [
16 | {
17 | testHeading: "Disabled",
18 | isDisabled: true,
19 | },
20 | ]
21 | });
22 |
--------------------------------------------------------------------------------
/components/logicbutton/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/menu/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/menu
2 |
3 | > The Spectrum CSS menu component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/menu/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "menu",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/menu/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/meter/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/meter
2 |
3 | > The Spectrum CSS meter component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/meter/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "meter",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/miller/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/miller
2 |
3 | > The Spectrum CSS miller component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/miller/dist/metadata.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFile": "index.css",
3 | "selectors": [
4 | ".spectrum-MillerColumns",
5 | ".spectrum-MillerColumns-item",
6 | ".spectrum-MillerColumns-item:first-child"
7 | ],
8 | "modifiers": [
9 | "--mod-millercolumns-inline-size",
10 | "--mod-millercolumns-margin-inline-end",
11 | "--mod-millercolumns-margin-inline-start",
12 | "--mod-millercolumns-padding"
13 | ],
14 | "component": [],
15 | "global": ["--spectrum-spacing-100"],
16 | "system-theme": [],
17 | "passthroughs": [],
18 | "high-contrast": []
19 | }
20 |
--------------------------------------------------------------------------------
/components/miller/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "miller",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/modal/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/modal
2 |
3 | > The Spectrum CSS modal component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/modal/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "modal",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/modal/stories/modal.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const ModalGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Standard",
9 | skipWrapper: false,
10 | },
11 | ]
12 | });
13 |
--------------------------------------------------------------------------------
/components/modal/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/modal/themes/spectrum-two.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | @container style(--system: spectrum) {
15 | .spectrum-Modal {
16 | --spectrum-modal-background-color: var(--spectrum-background-layer-2-color);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/components/opacitycheckerboard/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/opacitycheckerboard
2 |
3 | > Opacity checkerboard is a class used to highlight background color opacity.
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/opacitycheckerboard).
8 |
--------------------------------------------------------------------------------
/components/opacitycheckerboard/dist/metadata.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFile": "index.css",
3 | "selectors": [".spectrum-OpacityCheckerboard"],
4 | "modifiers": [
5 | "--mod-opacity-checkerboard-dark",
6 | "--mod-opacity-checkerboard-light",
7 | "--mod-opacity-checkerboard-position",
8 | "--mod-opacity-checkerboard-size"
9 | ],
10 | "component": [
11 | "--spectrum-opacity-checkerboard-square-dark",
12 | "--spectrum-opacity-checkerboard-square-light",
13 | "--spectrum-opacity-checkerboard-square-size"
14 | ],
15 | "global": [],
16 | "system-theme": [],
17 | "passthroughs": [],
18 | "high-contrast": []
19 | }
20 |
--------------------------------------------------------------------------------
/components/opacitycheckerboard/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "opacitycheckerboard",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/opacitycheckerboard/stories/opacitycheckerboard.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const OpacityCheckboardGroup = Variants({
5 | Template,
6 | });
7 |
--------------------------------------------------------------------------------
/components/page/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/page
2 |
3 | > The Spectrum CSS page component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/page/dist/metadata.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFile": "index.css",
3 | "selectors": [":root"],
4 | "modifiers": ["--mod-page-background", "--mod-page-content-tap-highlight"],
5 | "component": [
6 | "--spectrum-page-background-color",
7 | "--spectrum-page-content-tap-highlight"
8 | ],
9 | "global": ["--spectrum-gray-75", "--spectrum-transparent-black-25"],
10 | "system-theme": [
11 | "--system-root-page-background-color",
12 | "--system-root-page-content-tap-highlight"
13 | ],
14 | "passthroughs": [],
15 | "high-contrast": []
16 | }
17 |
--------------------------------------------------------------------------------
/components/page/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "page",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/page/stories/page.stories.js:
--------------------------------------------------------------------------------
1 | import metadata from "../dist/metadata.json";
2 | import packageJson from "../package.json";
3 | import { PageGroup } from "./page.test.js";
4 |
5 | /**
6 | * A page component is...
7 | */
8 | export default {
9 | title: "Page",
10 | component: "Page",
11 | argTypes: {
12 | content: { table: { disable: true } },
13 | },
14 | args: {
15 | content: []
16 | },
17 | parameters: {
18 | layout: "fullscreen",
19 | docs: {
20 | story: {
21 | inline: false,
22 | height: "400px",
23 | width: "800px"
24 | },
25 | },
26 | packageJson,
27 | metadata,
28 | },
29 | tags: ["!autodocs", "!dev"]
30 | };
31 |
32 | export const Default = PageGroup.bind({});
33 | Default.args = {
34 | content: [],
35 | };
36 | Default.parameters = {
37 | chromatic: { disableSnapshot: true },
38 | };
39 |
--------------------------------------------------------------------------------
/components/page/stories/page.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const PageGroup = Variants({
5 | Template,
6 | skipBorders: true,
7 | testData: [
8 | {
9 | testHeading: "Standard",
10 | skipWrapper: true,
11 | },
12 | ]
13 | });
14 |
--------------------------------------------------------------------------------
/components/page/stories/template.js:
--------------------------------------------------------------------------------
1 | import { renderContent } from "@spectrum-css/preview/decorators";
2 | import { html } from "lit";
3 |
4 | import "../index.css";
5 | import "../themes/spectrum.css";
6 | /* Must be imported last */
7 | import "../themes/express.css";
8 |
9 | export const Template = ({ content = [] } = {}, context = {}) => {
10 | return html`${renderContent(content, { context })}`;
11 | };
12 |
--------------------------------------------------------------------------------
/components/page/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/pagination/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/pagination
2 |
3 | > The Spectrum CSS pagination component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/pagination/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "pagination",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/pagination/stories/pagination.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const PaginationGroup = Variants({
5 | Template,
6 | sizeDirection: "column",
7 | testData: [
8 | {
9 | testHeading: "Listing",
10 | variant: "listing",
11 | },
12 | {
13 | testHeading: "Explicit",
14 | variant: "explicit",
15 | },
16 | ]
17 | });
18 |
--------------------------------------------------------------------------------
/components/picker/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/picker
2 |
3 | > The Spectrum CSS picker component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/picker/embed/Down-Chevron.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/components/picker/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "picker",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/pickerbutton/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/pickerbutton
2 |
3 | > The Spectrum CSS pickerbutton component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/pickerbutton/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "pickerbutton",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/pickerbutton/stories/pickerbutton.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const PickerGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default",
9 | },
10 | {
11 | testHeading: "With label",
12 | label: "Select",
13 | },
14 | {
15 | testHeading: "Quiet",
16 | isQuiet: true,
17 | },
18 | {
19 | testHeading: "Rounded",
20 | isRounded: true,
21 | },
22 | {
23 | testHeading: "Position: left",
24 | position: "left",
25 | }
26 | ],
27 | stateData: [
28 | {
29 | testHeading: "Disabled",
30 | isDisabled: true,
31 | },
32 | {
33 | testHeading: "Focused",
34 | isFocused: true,
35 | },
36 | ]
37 | });
38 |
--------------------------------------------------------------------------------
/components/popover/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/popover
2 |
3 | > The Spectrum CSS popover component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/popover/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "popover",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/popover/themes/spectrum-two.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | @container style(--system: spectrum) {
15 | .spectrum-Popover {
16 | --spectrum-popover-border-width: var(--spectrum-border-width-100);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/components/popover/themes/spectrum.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--legacy */
15 |
16 | @import "./spectrum-two.css";
17 |
--------------------------------------------------------------------------------
/components/progressbar/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/progressbar
2 |
3 | > The Spectrum CSS progressbar component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/progressbar/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "progressbar",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/progressbar/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/progresscircle/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/progresscircle
2 |
3 | > The Spectrum CSS progresscircle component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/progresscircle/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "progresscircle",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/progresscircle/stories/progresscircle.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const ProgressCircleGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default",
9 | },
10 | {
11 | testHeading: "Static white",
12 | staticColor: "white",
13 | },
14 | ],
15 | stateData: [
16 | {
17 | testHeading: "Indeterminate",
18 | isIndeterminate: true,
19 | }
20 | ]
21 | });
22 |
--------------------------------------------------------------------------------
/components/progresscircle/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/radio/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/radio
2 |
3 | > The Spectrum CSS radio component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/radio/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "radio",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/radio/stories/radio.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const RadioGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default"
9 | },
10 | {
11 | testHeading: "Emphasized",
12 | isEmphasized: true,
13 | },
14 | {
15 | testHeading: "Truncation",
16 | withStates: false,
17 | label: "Emphasized radio button label that is so long it has to wrap",
18 | customStyles: {
19 | "max-width": "220px",
20 | }
21 |
22 | }
23 | ],
24 | stateData: [
25 | {
26 | testHeading: "Checked",
27 | isChecked: true,
28 | },
29 | {
30 | testHeading: "Disabled",
31 | isDisabled: true,
32 | },
33 | {
34 | testHeading: "Read-only",
35 | isReadOnly: true,
36 | },
37 | ]
38 | });
39 |
--------------------------------------------------------------------------------
/components/rating/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/rating
2 |
3 | > The Spectrum CSS rating component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/rating/embed/S_StarOutline_18_N@2x.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/components/rating/embed/S_Star_18_N@2x.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/components/rating/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "rating",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/rating/stories/rating.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const RatingGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default",
9 | },
10 | {
11 | testHeading: "Emphasized",
12 | isEmphasized: true,
13 | },
14 | ],
15 | stateData: [
16 | {
17 | testHeading: "Disabled",
18 | isDisabled: true,
19 | },
20 | {
21 | testHeading: "Focused",
22 | isFocused: true,
23 | },
24 | {
25 | testHeading: "Read-only",
26 | isReadOnly: true,
27 | },
28 | ]
29 | });
30 |
--------------------------------------------------------------------------------
/components/search/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/search
2 |
3 | > The Spectrum CSS search component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/search/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "search",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/search/stories/search.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const SearchGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default",
9 | },
10 | {
11 | testHeading: "Quiet",
12 | isQuiet: true,
13 | },
14 | ],
15 | stateData: [
16 | {
17 | testHeading: "Disabled",
18 | isDisabled: true,
19 | },
20 | ]
21 | });
22 |
--------------------------------------------------------------------------------
/components/sidenav/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/sidenav
2 |
3 | > The Spectrum CSS sidenav component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/sidenav/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "sidenav",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/sidenav/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/slider/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/slider
2 |
3 | > The Spectrum CSS slider component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/slider/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "slider",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/splitview/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/splitview
2 |
3 | > The Spectrum CSS splitview component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/splitview/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "splitview",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/splitview/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/statuslight/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/statuslight
2 |
3 | > The Spectrum CSS statuslight component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/statuslight/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "statuslight",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/steplist/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/steplist
2 |
3 | > The Spectrum CSS steplist component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/steplist/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "steplist",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/steplist/stories/steplist.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const SteplistGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default",
9 | },
10 | {
11 | testHeading: "Small",
12 | isSmall: true,
13 | },
14 | {
15 | testHeading: "Interactive",
16 | isInteractive: true,
17 | },
18 | {
19 | testHeading: "With tooltip",
20 | withTooltip: true,
21 | },
22 | ],
23 | });
24 |
--------------------------------------------------------------------------------
/components/steplist/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/stepper/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/stepper
2 |
3 | > The Spectrum CSS stepper component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/stepper/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "stepper",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/swatch/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "swatch",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/swatch/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/swatchgroup/dist/metadata.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFile": "index.css",
3 | "selectors": [
4 | ".spectrum-SwatchGroup",
5 | ".spectrum-SwatchGroup--compact",
6 | ".spectrum-SwatchGroup--spacious"
7 | ],
8 | "modifiers": [
9 | "--mod-swatchgroup-spacing-compact",
10 | "--mod-swatchgroup-spacing-regular",
11 | "--mod-swatchgroup-spacing-spacious"
12 | ],
13 | "component": ["--spectrum-swatchgroup-spacing"],
14 | "global": [
15 | "--spectrum-spacing-100",
16 | "--spectrum-spacing-50",
17 | "--spectrum-spacing-75"
18 | ],
19 | "system-theme": [],
20 | "passthroughs": [],
21 | "high-contrast": []
22 | }
23 |
--------------------------------------------------------------------------------
/components/swatchgroup/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "swatchgroup",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/switch/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/switch
2 |
3 | > The Spectrum CSS switch component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/switch/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "switch",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/switch/stories/switch.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const SwitchGroup = Variants({
5 | Template,
6 | testData: [
7 | {
8 | testHeading: "Default",
9 | },
10 | {
11 | testHeading: "Emphasized",
12 | isEmphasized: true,
13 | },
14 | {
15 | testHeading: "Wrapped",
16 | label: "A longer switch label that will wrap if there is not enough space",
17 | customStyles: {"max-width": "200px"},
18 | withStates: false,
19 | },
20 | ],
21 | stateData: [
22 | {
23 | testHeading: "Disabled",
24 | isDisabled: true,
25 | },
26 | {
27 | testHeading: "Checked",
28 | isChecked: true,
29 | },
30 | {
31 | testHeading: "Checked and disabled",
32 | isChecked: true,
33 | isDisabled: true,
34 | },
35 | ]
36 | });
37 |
--------------------------------------------------------------------------------
/components/table/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/table
2 |
3 | > The Spectrum CSS table component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/table/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "table",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/table/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/tabs/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/tabs
2 |
3 | > The Spectrum CSS tabs component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/tabs/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "tabs",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/tag/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/tag
2 |
3 | > The Spectrum CSS tags component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/tag/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "tag",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/taggroup/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/taggroup
2 |
3 | > The Spectrum CSS tags component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/taggroup/dist/metadata.json:
--------------------------------------------------------------------------------
1 | {
2 | "sourceFile": "index.css",
3 | "selectors": [".spectrum-TagGroup", ".spectrum-TagGroup-item"],
4 | "modifiers": [
5 | "--mod-tag-group-item-margin-block",
6 | "--mod-tag-group-item-margin-inline"
7 | ],
8 | "component": [
9 | "--spectrum-tag-group-item-margin-block",
10 | "--spectrum-tag-group-item-margin-inline"
11 | ],
12 | "global": ["--spectrum-spacing-75"],
13 | "system-theme": [],
14 | "passthroughs": [],
15 | "high-contrast": []
16 | }
17 |
--------------------------------------------------------------------------------
/components/taggroup/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "taggroup",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/textfield/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/textfield
2 |
3 | > The Spectrum CSS textfield component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/textfield/embed/AlertMedium.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/components/textfield/embed/CheckmarkMedium.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/components/textfield/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "textfield",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/thumbnail/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/thumbnail
2 |
3 | > The Spectrum CSS thumbnail component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/thumbnail/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "thumbnail",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/thumbnail/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/thumbnail/themes/spectrum-two.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | @container style(--system: spectrum) {
15 | .spectrum-Thumbnail {
16 | --spectrum-thumbnail-border-radius: 2px;
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/components/toast/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/toast
2 |
3 | > The Spectrum CSS toast component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/toast/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "toast",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/tooltip/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/tooltip
2 |
3 | > The Spectrum CSS tooltip component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/tooltip/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "tooltip",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/tooltip/themes/spectrum.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--legacy */
15 |
16 | @import "./spectrum-two.css";
17 |
--------------------------------------------------------------------------------
/components/tray/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/tray
2 |
3 | > The Spectrum CSS tray component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/tray/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "tray",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/tray/stories/tray.test.js:
--------------------------------------------------------------------------------
1 | import { Template as Dialog } from "@spectrum-css/dialog/stories/template.js";
2 | import { Variants } from "@spectrum-css/preview/decorators";
3 | import { Template } from "./template.js";
4 |
5 | export const TrayGroup = Variants({
6 | Template,
7 | testData: [
8 | {
9 | content: [
10 | (passthroughs, context) => Dialog({
11 | ...passthroughs,
12 | heading: "You have new messages waiting in your inbox",
13 | content: ["You have 5 new messages! This notification is extra long so it wraps to the next line"],
14 | isDismissible: true,
15 | }, context)
16 | ],
17 | },
18 | ],
19 | });
20 |
--------------------------------------------------------------------------------
/components/treeview/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/treeview
2 |
3 | > The Spectrum CSS treeview component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/treeview/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "treeview",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/treeview/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/typography/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/typography
2 |
3 | > The Spectrum CSS typography component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/typography/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "typography",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/underlay/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/underlay
2 |
3 | > The Spectrum CSS underlay component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/underlay/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "underlay",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/well/README.md:
--------------------------------------------------------------------------------
1 | # @spectrum-css/well
2 |
3 | > The Spectrum CSS well component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/) and [Spectrum CSS on GitHub](https://github.com/adobe/spectrum-css) for details.
8 |
--------------------------------------------------------------------------------
/components/well/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "well",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/components/well/stories/well.test.js:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const WellGroup = Variants({
5 | Template,
6 | testData: [{}],
7 | });
8 |
--------------------------------------------------------------------------------
/components/well/themes/express.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | /* @combine .spectrum.spectrum--express */
15 |
16 | @import "./spectrum.css";
17 |
--------------------------------------------------------------------------------
/components/well/themes/spectrum-two.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Copyright 2024 Adobe. All rights reserved.
3 | *
4 | * This file is licensed to you under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License. You may obtain a copy
6 | * of the License at
7 | *
8 | * Unless required by applicable law or agreed to in writing, software distributed under
9 | * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10 | * OF ANY KIND, either express or implied. See the License for the specific language
11 | * governing permissions and limitations under the License.
12 | */
13 |
14 | @container style(--system: spectrum) {
15 | .spectrum-Well {
16 | --spectrum-well-border-color: rgba(var(--spectrum-gray-1000-rgb), 0.05);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/netlify.toml:
--------------------------------------------------------------------------------
1 | [build]
2 | publish = "dist/"
3 | command = "yarn build:docs"
4 |
5 | # If skip_processing = true, all other settings are ignored
6 | [build.processing]
7 | skip_processing = false
8 | [build.processing.css]
9 | bundle = true
10 | minify = true
11 | [build.processing.js]
12 | bundle = true
13 | minify = true
14 | [build.processing.html]
15 | pretty_urls = true
16 | [build.processing.images]
17 | compress = true
18 |
19 | # Skip all post processing in deploy previews,
20 | # ignoring any other settings
21 | [context.deploy-preview.processing]
22 | skip_processing = true
23 |
--------------------------------------------------------------------------------
/plugins/postcss-add-theming-layer/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "postcss-add-theming-layer",
4 | "tags": ["tooling", "postcss"],
5 | "targets": {
6 | "format": {
7 | "defaultConfiguration": "plugins"
8 | },
9 | "lint": {
10 | "defaultConfiguration": "plugins"
11 | },
12 | "test": {
13 | "defaultConfiguration": "plugins"
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/plugins/postcss-property-rollup/expected/basic.css:
--------------------------------------------------------------------------------
1 | .spectrum--express {
2 | --spectrum-actionbutton-background-color: purple;
3 | --spectrum-actionbutton-border-color: transparent;
4 | }
5 |
--------------------------------------------------------------------------------
/plugins/postcss-property-rollup/fixtures/basic.css:
--------------------------------------------------------------------------------
1 | /* @combine */
2 | .spectrum {
3 | --spectrum-actionbutton-background-color: blue;
4 | --spectrum-actionbutton-border-color: transparent;
5 | }
6 |
7 | .spectrum--express {
8 | --spectrum-actionbutton-background-color: purple;
9 | }
10 |
--------------------------------------------------------------------------------
/plugins/postcss-property-rollup/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "postcss-property-rollup",
4 | "tags": ["tooling", "postcss"],
5 | "targets": {
6 | "format": {
7 | "defaultConfiguration": "plugins"
8 | },
9 | "lint": {
10 | "defaultConfiguration": "plugins"
11 | },
12 | "test": {
13 | "defaultConfiguration": "plugins"
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/plugins/postcss-rgb-mapping/fixtures/basic.css:
--------------------------------------------------------------------------------
1 | .elements {
2 | --seafoam-100: rgba(206, 247, 243);
3 | --seafoam-200: rgba(206, 247, 243, 0.5);
4 | --seafoam-300: rgb(206, 247, 243);
5 | --spectrum-transparent-white-100: rgba(100, 100, 100, 0.5);
6 | --disabled-static-white-background-color: var(--spectrum-transparent-white-100);
7 | }
8 |
--------------------------------------------------------------------------------
/plugins/postcss-rgb-mapping/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "postcss-rgb-mapping",
4 | "tags": ["tooling", "postcss", "plugin"],
5 | "targets": {
6 | "format": {
7 | "defaultConfiguration": "plugins"
8 | },
9 | "lint": {
10 | "defaultConfiguration": "plugins"
11 | },
12 | "test": {
13 | "defaultConfiguration": "plugins"
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/plugins/stylelint-no-missing-var/fixtures/missing-var.css:
--------------------------------------------------------------------------------
1 | .spectrum-Button {
2 | color: --spectrum-well-color;
3 | background-color: (--spectrum-well-background-color);
4 | border-color: var(--spectrum-well-border-color);
5 | }
6 |
--------------------------------------------------------------------------------
/plugins/stylelint-no-missing-var/fixtures/passing.css:
--------------------------------------------------------------------------------
1 | .spectrum-Button {
2 | color: var(--spectrum-well-color);
3 | background-color: var(--spectrum-well-background-color);
4 | border-color: var(--spectrum-well-border-color);
5 | }
6 |
--------------------------------------------------------------------------------
/plugins/stylelint-no-missing-var/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "stylelint-no-missing-var",
4 | "tags": ["tooling", "stylelint", "plugin"],
5 | "targets": {
6 | "format": {
7 | "defaultConfiguration": "plugins"
8 | },
9 | "lint": {
10 | "defaultConfiguration": "plugins"
11 | },
12 | "test": {
13 | "defaultConfiguration": "plugins"
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/plugins/stylelint-no-unknown-custom-properties/fixtures/passing.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --prefix-component-background-color: blue;
3 | --prefix-component-width: 10px;
4 | --prefix-component-height: 10px;
5 | }
6 |
7 | .component {
8 | background-color: var(--prefix-component-background-color);
9 |
10 | width: var(--prefix-component-width);
11 | height: var(--prefix-component-height);
12 | }
13 |
--------------------------------------------------------------------------------
/plugins/stylelint-no-unknown-custom-properties/fixtures/unknown-prop.css:
--------------------------------------------------------------------------------
1 | .component {
2 | --prefix-component-background-color: blue;
3 |
4 | background-color: var(--prefix-component-background-color);
5 |
6 | width: var(--prefix-component-width);
7 | height: var(--prefix-component-height);
8 | }
9 |
--------------------------------------------------------------------------------
/plugins/stylelint-no-unknown-custom-properties/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "stylelint-no-unknown-custom-properties",
4 | "tags": ["tooling", "stylelint"],
5 | "targets": {
6 | "format": {
7 | "defaultConfiguration": "plugins"
8 | },
9 | "lint": {
10 | "defaultConfiguration": "plugins"
11 | },
12 | "test": {
13 | "defaultConfiguration": "plugins"
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/plugins/stylelint-no-unused-custom-properties/expected/unused.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --prefix-component-background-color: blue;
3 | --prefix-component-border-color: blue;
4 | --prefix-component-width: 10px;
5 | --prefix-component-height: 10px;
6 | }
7 |
8 | .component {
9 | inline-size: var(--prefix-component-width);
10 | block-size: var(--prefix-component-height);
11 | background-color: var(--prefix-component-background-color);
12 | border-color: var(--other-color, var(--prefix-component-border-color));
13 | }
14 |
--------------------------------------------------------------------------------
/plugins/stylelint-no-unused-custom-properties/expected/varRefs.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --gray: gray;
3 | --blue: blue;
4 | --orange: orange;
5 | --default: var(--gray);
6 | --focus: var(--blue);
7 | }
8 |
9 | .component {
10 | background-color: var(--default);
11 | }
12 |
13 | .component:focus {
14 | background-color: var(--focus);
15 | }
16 |
17 | .component:active {
18 | background-color: var(--orange);
19 | }
20 |
--------------------------------------------------------------------------------
/plugins/stylelint-no-unused-custom-properties/fixtures/passing.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --prefix-component-background-color: blue;
3 | --prefix-component-border-color: blue;
4 | --prefix-component-width: 10px;
5 | --prefix-component-height: 10px;
6 | }
7 |
8 | .component {
9 | background-color: var(--prefix-component-background-color);
10 |
11 | border-color: var(--other-color, var(--prefix-component-border-color));
12 |
13 | width: var(--prefix-component-width);
14 | height: var(--prefix-component-height);
15 | }
16 |
--------------------------------------------------------------------------------
/plugins/stylelint-no-unused-custom-properties/fixtures/passthrough.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --gray: gray;
3 | --blue: blue;
4 | --green: green;
5 | --orange: orange;
6 | --default: var(--gray);
7 | --focus: var(--blue);
8 | --active: var(--orange);
9 | }
10 |
11 | .component {
12 | /* @passthrough */
13 | --nested-component-property: var(--green);
14 |
15 | background-color: var(--default);
16 | }
17 |
18 | .component:focus {
19 | background-color: var(--focus);
20 | }
21 |
22 | .component:active {
23 | /* @passthroughs start */
24 | --nested-component-color: var(--active);
25 | --nested-component-background-color: var(--orange);
26 | /* @passthroughs end */
27 |
28 | background-color: var(--orange);
29 | }
30 |
--------------------------------------------------------------------------------
/plugins/stylelint-no-unused-custom-properties/fixtures/unused.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --prefix-component-background-color: blue;
3 | --prefix-component-border-color: blue;
4 | --prefix-component-width: 10px;
5 | --prefix-component-height: 10px;
6 | --prefix-component-size: 10px;
7 | }
8 |
9 | .component {
10 | background-color: var(--prefix-component-background-color);
11 |
12 | border-color: var(--other-color, var(--prefix-component-border-color));
13 |
14 | width: var(--prefix-component-width);
15 | height: var(--prefix-component-height);
16 | }
17 |
--------------------------------------------------------------------------------
/plugins/stylelint-no-unused-custom-properties/fixtures/varRefs.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --gray: gray;
3 | --blue: blue;
4 | --green: green;
5 | --orange: orange;
6 | --default: var(--gray);
7 | --focus: var(--blue);
8 | --selected: var(--green);
9 | --active: var(--orange);
10 | }
11 |
12 | .component {
13 | background-color: var(--default);
14 | }
15 |
16 | .component:focus {
17 | background-color: var(--focus);
18 | }
19 |
20 | .component:active {
21 | background-color: var(--orange);
22 | }
23 |
--------------------------------------------------------------------------------
/plugins/stylelint-no-unused-custom-properties/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "stylelint-no-unused-custom-properties",
4 | "tags": ["tooling", "stylelint"],
5 | "targets": {
6 | "format": {
7 | "defaultConfiguration": "plugins"
8 | },
9 | "lint": {
10 | "defaultConfiguration": "plugins"
11 | },
12 | "test": {
13 | "defaultConfiguration": "plugins"
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/plugins/stylelint-theme-alignment/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "stylelint-theme-alignment",
4 | "tags": ["tooling", "stylelint"],
5 | "targets": {
6 | "format": {
7 | "defaultConfiguration": "plugins"
8 | },
9 | "lint": {
10 | "defaultConfiguration": "plugins"
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/tokens/utilities/attribute-sets-transform.js:
--------------------------------------------------------------------------------
1 | export default {
2 | type: "attribute",
3 | name: "attribute/sets",
4 | filter: (token) => token.path.includes("sets"),
5 | transform: (token) => {
6 | return {
7 | sets: token.path.filter(
8 | (_, index, array) => array[index - 1] == "sets"
9 | ),
10 | };
11 | },
12 | };
13 |
--------------------------------------------------------------------------------
/tokens/utilities/index.js:
--------------------------------------------------------------------------------
1 | export { default as AttributeSetsTransform } from "./attribute-sets-transform.js";
2 | export { default as CSSOpenTypeTransform } from "./css-font-open-type-transform.js";
3 | export { default as CSSSetsFormatter } from "./css-sets-formatter.js";
4 | export { default as DataJsonFormatter } from "./data-json-formatter.js";
5 | export { default as NameKebabTransfom } from "./name-kebab-transform.js";
6 |
--------------------------------------------------------------------------------
/tokens/utilities/name-kebab-transform.js:
--------------------------------------------------------------------------------
1 | import { kebabCase } from "lodash-es";
2 |
3 | export default {
4 | type: "name",
5 | name: "name/kebab",
6 | transform: (token, options) =>
7 | kebabCase([options.prefix].concat(token.path).join(" ")),
8 | };
9 |
--------------------------------------------------------------------------------
/tools/bundle/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Change Log
2 |
3 | ## 1.0.1
4 |
5 | ### Patch Changes
6 |
7 | - [#3527](https://github.com/adobe/spectrum-css/pull/3527) [`5f1751c`](https://github.com/adobe/spectrum-css/commit/5f1751c82a5fe55ae0d999f5f50cfeca4c8a5c75) Thanks [@castastrophe](https://github.com/castastrophe)! - Minor dependency updates to align with the larger project.
8 |
9 | ## 1.0.0
10 |
11 | ### Major Changes
12 |
13 | 📝 [#3477](https://github.com/adobe/spectrum-css/pull/3477) [`d52c701`](https://github.com/adobe/spectrum-css/commit/d52c70196bf2d17433c239313a82f00f75d77e79) Thanks [@castastrophe](https://github.com/castastrophe)!
14 |
15 | - Resurrecting the CSS bundle for development use. Excellent resource for generating quick demo pages by loading all the CSS components in the library in a pre-bundled package with tokens pre-loaded and minified to remove unused tokens.
16 |
--------------------------------------------------------------------------------
/tools/bundle/README.md:
--------------------------------------------------------------------------------
1 | # @adobe/spectrum-css bundle
2 |
3 | This package builds a bundle package containing backwards-compatible versions of all Spectrum CSS components.
4 |
5 | This package should be used for demo or development purposes only and is not designed to be used in a production environment.
6 |
--------------------------------------------------------------------------------
/tools/generator/templates/README.md.hbs:
--------------------------------------------------------------------------------
1 | # @spectrum-css/{{ folderName }}
2 |
3 | > The Spectrum CSS {{ name }} component
4 |
5 | This package is part of the [Spectrum CSS project](https://github.com/adobe/spectrum-css).
6 |
7 | See the [Spectrum CSS documentation](https://opensource.adobe.com/spectrum-css/{{ folderName }}).
8 |
--------------------------------------------------------------------------------
/tools/generator/templates/project.json.hbs:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
3 | "name": "{{ folderName }}",
4 | "tags": ["component"],
5 | "targets": {
6 | "build": {},
7 | "clean": {},
8 | "compare": {},
9 | "format": {},
10 | "lint": {},
11 | "report": {},
12 | "test": {
13 | "defaultConfiguration": "scope"
14 | },
15 | "validate": {}
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/tools/generator/templates/stories/{{ folderName }}.test.js.hbs:
--------------------------------------------------------------------------------
1 | import { Variants } from "@spectrum-css/preview/decorators";
2 | import { Template } from "./template.js";
3 |
4 | export const {{ pascalCase name }}Group = Variants({
5 | Template,
6 | testData: [{}],
7 | stateData: [{
8 | testHeading: "Disabled",
9 | isDisabled: true,
10 | }],
11 | });
12 |
--------------------------------------------------------------------------------
/ui-icons/large/Arrow100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Arrow200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Arrow300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Arrow400.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Arrow500.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Arrow600.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Arrow75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Asterisk100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Asterisk200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Asterisk300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Asterisk75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Checkmark100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Checkmark200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Checkmark300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Checkmark400.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Checkmark50.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Checkmark500.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Checkmark600.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Checkmark75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Chevron100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Chevron200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Chevron300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Chevron400.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Chevron50.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Chevron500.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Chevron600.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Chevron75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/CornerTriangle100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/CornerTriangle200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/CornerTriangle300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/CornerTriangle75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Cross100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Cross200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Cross300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Cross400.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Cross500.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Cross600.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Cross75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Dash100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Dash200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Dash300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Dash400.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Dash50.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Dash500.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Dash600.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/Dash75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/DoubleGripper.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/SingleGripper.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/large/TripleGripper.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Arrow100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Arrow200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Arrow300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Arrow400.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Arrow500.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Arrow600.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Arrow75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Asterisk100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Asterisk200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Asterisk300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Asterisk75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Checkmark100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Checkmark200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Checkmark300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Checkmark400.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Checkmark50.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Checkmark500.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Checkmark600.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Checkmark75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Chevron100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Chevron200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Chevron300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Chevron400.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Chevron50.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Chevron500.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Chevron600.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Chevron75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/CornerTriangle100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/CornerTriangle200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/CornerTriangle300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/CornerTriangle75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Cross100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Cross200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Cross300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Cross400.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Cross500.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Cross600.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Cross75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Dash100.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Dash200.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Dash300.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Dash400.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Dash50.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Dash500.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Dash600.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/Dash75.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/DoubleGripper.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/SingleGripper.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ui-icons/medium/TripleGripper.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------