@spectrum-web-components/theme 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core-tokens.d.ts +1 -0
- package/core-tokens.dev.js +5 -0
- package/core-tokens.dev.js.map +7 -0
- package/core-tokens.js +2 -0
- package/core-tokens.js.map +7 -0
- package/core.d.ts +1 -0
- package/core.dev.js +5 -0
- package/core.dev.js.map +7 -0
- package/core.js +2 -0
- package/core.js.map +7 -0
- package/express/scale-large-core-tokens.d.ts +1 -0
- package/express/scale-large-core-tokens.dev.js +6 -0
- package/express/scale-large-core-tokens.dev.js.map +7 -0
- package/express/scale-large-core-tokens.js +2 -0
- package/express/scale-large-core-tokens.js.map +7 -0
- package/express/scale-large.d.ts +1 -0
- package/express/scale-large.dev.js +6 -0
- package/express/scale-large.dev.js.map +7 -0
- package/express/scale-large.js +2 -0
- package/express/scale-large.js.map +7 -0
- package/express/scale-medium-core-tokens.d.ts +1 -0
- package/express/scale-medium-core-tokens.dev.js +6 -0
- package/express/scale-medium-core-tokens.dev.js.map +7 -0
- package/express/scale-medium-core-tokens.js +2 -0
- package/express/scale-medium-core-tokens.js.map +7 -0
- package/express/scale-medium.d.ts +1 -0
- package/express/scale-medium.dev.js +6 -0
- package/express/scale-medium.dev.js.map +7 -0
- package/express/scale-medium.js +2 -0
- package/express/scale-medium.js.map +7 -0
- package/express/theme-dark-core-tokens.d.ts +1 -0
- package/express/theme-dark-core-tokens.dev.js +6 -0
- package/express/theme-dark-core-tokens.dev.js.map +7 -0
- package/express/theme-dark-core-tokens.js +2 -0
- package/express/theme-dark-core-tokens.js.map +7 -0
- package/express/theme-dark.d.ts +1 -0
- package/express/theme-dark.dev.js +6 -0
- package/express/theme-dark.dev.js.map +7 -0
- package/express/theme-dark.js +2 -0
- package/express/theme-dark.js.map +7 -0
- package/express/theme-darkest-core-tokens.d.ts +1 -0
- package/express/theme-darkest-core-tokens.dev.js +6 -0
- package/express/theme-darkest-core-tokens.dev.js.map +7 -0
- package/express/theme-darkest-core-tokens.js +2 -0
- package/express/theme-darkest-core-tokens.js.map +7 -0
- package/express/theme-darkest.d.ts +1 -0
- package/express/theme-darkest.dev.js +6 -0
- package/express/theme-darkest.dev.js.map +7 -0
- package/express/theme-darkest.js +2 -0
- package/express/theme-darkest.js.map +7 -0
- package/express/theme-light-core-tokens.d.ts +1 -0
- package/express/theme-light-core-tokens.dev.js +6 -0
- package/express/theme-light-core-tokens.dev.js.map +7 -0
- package/express/theme-light-core-tokens.js +2 -0
- package/express/theme-light-core-tokens.js.map +7 -0
- package/express/theme-light.d.ts +1 -0
- package/express/theme-light.dev.js +6 -0
- package/express/theme-light.dev.js.map +7 -0
- package/express/theme-light.js +2 -0
- package/express/theme-light.js.map +7 -0
- package/express/theme-lightest-core-tokens.d.ts +1 -0
- package/express/theme-lightest-core-tokens.dev.js +6 -0
- package/express/theme-lightest-core-tokens.dev.js.map +7 -0
- package/express/theme-lightest-core-tokens.js +2 -0
- package/express/theme-lightest-core-tokens.js.map +7 -0
- package/express/theme-lightest.d.ts +1 -0
- package/express/theme-lightest.dev.js +6 -0
- package/express/theme-lightest.dev.js.map +7 -0
- package/express/theme-lightest.js +2 -0
- package/express/theme-lightest.js.map +7 -0
- package/package.json +4 -4
- package/scale-large-core-tokens.d.ts +1 -0
- package/scale-large-core-tokens.dev.js +6 -0
- package/scale-large-core-tokens.dev.js.map +7 -0
- package/scale-large-core-tokens.js +2 -0
- package/scale-large-core-tokens.js.map +7 -0
- package/scale-large.d.ts +1 -0
- package/scale-large.dev.js +6 -0
- package/scale-large.dev.js.map +7 -0
- package/scale-large.js +2 -0
- package/scale-large.js.map +7 -0
- package/scale-medium-core-tokens.d.ts +1 -0
- package/scale-medium-core-tokens.dev.js +6 -0
- package/scale-medium-core-tokens.dev.js.map +7 -0
- package/scale-medium-core-tokens.js +2 -0
- package/scale-medium-core-tokens.js.map +7 -0
- package/scale-medium.d.ts +1 -0
- package/scale-medium.dev.js +6 -0
- package/scale-medium.dev.js.map +7 -0
- package/scale-medium.js +2 -0
- package/scale-medium.js.map +7 -0
- package/sp-theme.d.ts +6 -0
- package/sp-theme.dev.js +4 -0
- package/sp-theme.dev.js.map +7 -0
- package/sp-theme.js +2 -0
- package/sp-theme.js.map +7 -0
- package/spectrum-two/scale-large-core-tokens.d.ts +1 -0
- package/spectrum-two/scale-large-core-tokens.dev.js +6 -0
- package/spectrum-two/scale-large-core-tokens.dev.js.map +7 -0
- package/spectrum-two/scale-large-core-tokens.js +2 -0
- package/spectrum-two/scale-large-core-tokens.js.map +7 -0
- package/spectrum-two/scale-large.d.ts +1 -0
- package/spectrum-two/scale-large.dev.js +6 -0
- package/spectrum-two/scale-large.dev.js.map +7 -0
- package/spectrum-two/scale-large.js +2 -0
- package/spectrum-two/scale-large.js.map +7 -0
- package/spectrum-two/scale-medium-core-tokens.d.ts +1 -0
- package/spectrum-two/scale-medium-core-tokens.dev.js +6 -0
- package/spectrum-two/scale-medium-core-tokens.dev.js.map +7 -0
- package/spectrum-two/scale-medium-core-tokens.js +2 -0
- package/spectrum-two/scale-medium-core-tokens.js.map +7 -0
- package/spectrum-two/scale-medium.d.ts +1 -0
- package/spectrum-two/scale-medium.dev.js +6 -0
- package/spectrum-two/scale-medium.dev.js.map +7 -0
- package/spectrum-two/scale-medium.js +2 -0
- package/spectrum-two/scale-medium.js.map +7 -0
- package/spectrum-two/theme-dark-core-tokens.d.ts +1 -0
- package/spectrum-two/theme-dark-core-tokens.dev.js +6 -0
- package/spectrum-two/theme-dark-core-tokens.dev.js.map +7 -0
- package/spectrum-two/theme-dark-core-tokens.js +2 -0
- package/spectrum-two/theme-dark-core-tokens.js.map +7 -0
- package/spectrum-two/theme-dark.d.ts +1 -0
- package/spectrum-two/theme-dark.dev.js +6 -0
- package/spectrum-two/theme-dark.dev.js.map +7 -0
- package/spectrum-two/theme-dark.js +2 -0
- package/spectrum-two/theme-dark.js.map +7 -0
- package/spectrum-two/theme-darkest-core-tokens.d.ts +1 -0
- package/spectrum-two/theme-darkest-core-tokens.dev.js +6 -0
- package/spectrum-two/theme-darkest-core-tokens.dev.js.map +7 -0
- package/spectrum-two/theme-darkest-core-tokens.js +2 -0
- package/spectrum-two/theme-darkest-core-tokens.js.map +7 -0
- package/spectrum-two/theme-darkest.d.ts +1 -0
- package/spectrum-two/theme-darkest.dev.js +6 -0
- package/spectrum-two/theme-darkest.dev.js.map +7 -0
- package/spectrum-two/theme-darkest.js +2 -0
- package/spectrum-two/theme-darkest.js.map +7 -0
- package/spectrum-two/theme-light-core-tokens.d.ts +1 -0
- package/spectrum-two/theme-light-core-tokens.dev.js +6 -0
- package/spectrum-two/theme-light-core-tokens.dev.js.map +7 -0
- package/spectrum-two/theme-light-core-tokens.js +2 -0
- package/spectrum-two/theme-light-core-tokens.js.map +7 -0
- package/spectrum-two/theme-light.d.ts +1 -0
- package/spectrum-two/theme-light.dev.js +6 -0
- package/spectrum-two/theme-light.dev.js.map +7 -0
- package/spectrum-two/theme-light.js +2 -0
- package/spectrum-two/theme-light.js.map +7 -0
- package/spectrum-two/theme-lightest-core-tokens.d.ts +1 -0
- package/spectrum-two/theme-lightest-core-tokens.dev.js +6 -0
- package/spectrum-two/theme-lightest-core-tokens.dev.js.map +7 -0
- package/spectrum-two/theme-lightest-core-tokens.js +2 -0
- package/spectrum-two/theme-lightest-core-tokens.js.map +7 -0
- package/spectrum-two/theme-lightest.d.ts +1 -0
- package/spectrum-two/theme-lightest.dev.js +6 -0
- package/spectrum-two/theme-lightest.dev.js.map +7 -0
- package/spectrum-two/theme-lightest.js +2 -0
- package/spectrum-two/theme-lightest.js.map +7 -0
- package/src/Theme.d.ts +79 -0
- package/src/Theme.dev.js +339 -0
- package/src/Theme.dev.js.map +7 -0
- package/src/Theme.js +2 -0
- package/src/Theme.js.map +7 -0
- package/src/express/core-tokens.d.ts +1 -0
- package/src/express/core-tokens.dev.js +5 -0
- package/src/express/core-tokens.dev.js.map +7 -0
- package/src/express/core-tokens.js +2 -0
- package/src/express/core-tokens.js.map +7 -0
- package/src/express/core.d.ts +1 -0
- package/src/express/core.dev.js +5 -0
- package/src/express/core.dev.js.map +7 -0
- package/src/express/core.js +2 -0
- package/src/express/core.js.map +7 -0
- package/src/express/scale-large-core-tokens.css.d.ts +2 -0
- package/src/express/scale-large-core-tokens.css.dev.js +7 -0
- package/src/express/scale-large-core-tokens.css.dev.js.map +7 -0
- package/src/express/scale-large-core-tokens.css.js +4 -0
- package/src/express/scale-large-core-tokens.css.js.map +7 -0
- package/src/express/scale-large.css.d.ts +2 -0
- package/src/express/scale-large.css.dev.js +7 -0
- package/src/express/scale-large.css.dev.js.map +7 -0
- package/src/express/scale-large.css.js +4 -0
- package/src/express/scale-large.css.js.map +7 -0
- package/src/express/scale-medium-core-tokens.css.d.ts +2 -0
- package/src/express/scale-medium-core-tokens.css.dev.js +7 -0
- package/src/express/scale-medium-core-tokens.css.dev.js.map +7 -0
- package/src/express/scale-medium-core-tokens.css.js +4 -0
- package/src/express/scale-medium-core-tokens.css.js.map +7 -0
- package/src/express/scale-medium.css.d.ts +2 -0
- package/src/express/scale-medium.css.dev.js +7 -0
- package/src/express/scale-medium.css.dev.js.map +7 -0
- package/src/express/scale-medium.css.js +4 -0
- package/src/express/scale-medium.css.js.map +7 -0
- package/src/express/theme-core-tokens.css.d.ts +2 -0
- package/src/express/theme-core-tokens.css.dev.js +7 -0
- package/src/express/theme-core-tokens.css.dev.js.map +7 -0
- package/src/express/theme-core-tokens.css.js +4 -0
- package/src/express/theme-core-tokens.css.js.map +7 -0
- package/src/express/theme-dark-core-tokens.css.d.ts +2 -0
- package/src/express/theme-dark-core-tokens.css.dev.js +7 -0
- package/src/express/theme-dark-core-tokens.css.dev.js.map +7 -0
- package/src/express/theme-dark-core-tokens.css.js +4 -0
- package/src/express/theme-dark-core-tokens.css.js.map +7 -0
- package/src/express/theme-dark.css.d.ts +2 -0
- package/src/express/theme-dark.css.dev.js +7 -0
- package/src/express/theme-dark.css.dev.js.map +7 -0
- package/src/express/theme-dark.css.js +4 -0
- package/src/express/theme-dark.css.js.map +7 -0
- package/src/express/theme-light-core-tokens.css.d.ts +2 -0
- package/src/express/theme-light-core-tokens.css.dev.js +7 -0
- package/src/express/theme-light-core-tokens.css.dev.js.map +7 -0
- package/src/express/theme-light-core-tokens.css.js +4 -0
- package/src/express/theme-light-core-tokens.css.js.map +7 -0
- package/src/express/theme-light.css.d.ts +2 -0
- package/src/express/theme-light.css.dev.js +7 -0
- package/src/express/theme-light.css.dev.js.map +7 -0
- package/src/express/theme-light.css.js +4 -0
- package/src/express/theme-light.css.js.map +7 -0
- package/src/express/theme.css.d.ts +2 -0
- package/src/express/theme.css.dev.js +7 -0
- package/src/express/theme.css.dev.js.map +7 -0
- package/src/express/theme.css.js +4 -0
- package/src/express/theme.css.js.map +7 -0
- package/src/express/themes-core-tokens.d.ts +6 -0
- package/src/express/themes-core-tokens.dev.js +8 -0
- package/src/express/themes-core-tokens.dev.js.map +7 -0
- package/src/express/themes-core-tokens.js +2 -0
- package/src/express/themes-core-tokens.js.map +7 -0
- package/src/express/themes.d.ts +6 -0
- package/src/express/themes.dev.js +8 -0
- package/src/express/themes.dev.js.map +7 -0
- package/src/express/themes.js +2 -0
- package/src/express/themes.js.map +7 -0
- package/src/index.d.ts +1 -0
- package/src/index.dev.js +3 -0
- package/src/index.dev.js.map +7 -0
- package/src/index.js +2 -0
- package/src/index.js.map +7 -0
- package/src/scale-large-core-tokens.css.d.ts +2 -0
- package/src/scale-large-core-tokens.css.dev.js +7 -0
- package/src/scale-large-core-tokens.css.dev.js.map +7 -0
- package/src/scale-large-core-tokens.css.js +4 -0
- package/src/scale-large-core-tokens.css.js.map +7 -0
- package/src/scale-large.css.d.ts +2 -0
- package/src/scale-large.css.dev.js +7 -0
- package/src/scale-large.css.dev.js.map +7 -0
- package/src/scale-large.css.js +4 -0
- package/src/scale-large.css.js.map +7 -0
- package/src/scale-medium-core-tokens.css.d.ts +2 -0
- package/src/scale-medium-core-tokens.css.dev.js +7 -0
- package/src/scale-medium-core-tokens.css.dev.js.map +7 -0
- package/src/scale-medium-core-tokens.css.js +4 -0
- package/src/scale-medium-core-tokens.css.js.map +7 -0
- package/src/scale-medium.css.d.ts +2 -0
- package/src/scale-medium.css.dev.js +7 -0
- package/src/scale-medium.css.dev.js.map +7 -0
- package/src/scale-medium.css.js +4 -0
- package/src/scale-medium.css.js.map +7 -0
- package/src/spectrum-two/core-tokens.d.ts +1 -0
- package/src/spectrum-two/core-tokens.dev.js +5 -0
- package/src/spectrum-two/core-tokens.dev.js.map +7 -0
- package/src/spectrum-two/core-tokens.js +2 -0
- package/src/spectrum-two/core-tokens.js.map +7 -0
- package/src/spectrum-two/core.d.ts +1 -0
- package/src/spectrum-two/core.dev.js +5 -0
- package/src/spectrum-two/core.dev.js.map +7 -0
- package/src/spectrum-two/core.js +2 -0
- package/src/spectrum-two/core.js.map +7 -0
- package/src/spectrum-two/scale-large-core-tokens.css.d.ts +2 -0
- package/src/spectrum-two/scale-large-core-tokens.css.dev.js +7 -0
- package/src/spectrum-two/scale-large-core-tokens.css.dev.js.map +7 -0
- package/src/spectrum-two/scale-large-core-tokens.css.js +4 -0
- package/src/spectrum-two/scale-large-core-tokens.css.js.map +7 -0
- package/src/spectrum-two/scale-large.css.d.ts +2 -0
- package/src/spectrum-two/scale-large.css.dev.js +7 -0
- package/src/spectrum-two/scale-large.css.dev.js.map +7 -0
- package/src/spectrum-two/scale-large.css.js +4 -0
- package/src/spectrum-two/scale-large.css.js.map +7 -0
- package/src/spectrum-two/scale-medium-core-tokens.css.d.ts +2 -0
- package/src/spectrum-two/scale-medium-core-tokens.css.dev.js +7 -0
- package/src/spectrum-two/scale-medium-core-tokens.css.dev.js.map +7 -0
- package/src/spectrum-two/scale-medium-core-tokens.css.js +4 -0
- package/src/spectrum-two/scale-medium-core-tokens.css.js.map +7 -0
- package/src/spectrum-two/scale-medium.css.d.ts +2 -0
- package/src/spectrum-two/scale-medium.css.dev.js +7 -0
- package/src/spectrum-two/scale-medium.css.dev.js.map +7 -0
- package/src/spectrum-two/scale-medium.css.js +4 -0
- package/src/spectrum-two/scale-medium.css.js.map +7 -0
- package/src/spectrum-two/theme-core-tokens.css.d.ts +2 -0
- package/src/spectrum-two/theme-core-tokens.css.dev.js +7 -0
- package/src/spectrum-two/theme-core-tokens.css.dev.js.map +7 -0
- package/src/spectrum-two/theme-core-tokens.css.js +4 -0
- package/src/spectrum-two/theme-core-tokens.css.js.map +7 -0
- package/src/spectrum-two/theme-dark-core-tokens.css.d.ts +2 -0
- package/src/spectrum-two/theme-dark-core-tokens.css.dev.js +7 -0
- package/src/spectrum-two/theme-dark-core-tokens.css.dev.js.map +7 -0
- package/src/spectrum-two/theme-dark-core-tokens.css.js +4 -0
- package/src/spectrum-two/theme-dark-core-tokens.css.js.map +7 -0
- package/src/spectrum-two/theme-dark.css.d.ts +2 -0
- package/src/spectrum-two/theme-dark.css.dev.js +7 -0
- package/src/spectrum-two/theme-dark.css.dev.js.map +7 -0
- package/src/spectrum-two/theme-dark.css.js +4 -0
- package/src/spectrum-two/theme-dark.css.js.map +7 -0
- package/src/spectrum-two/theme-light-core-tokens.css.d.ts +2 -0
- package/src/spectrum-two/theme-light-core-tokens.css.dev.js +7 -0
- package/src/spectrum-two/theme-light-core-tokens.css.dev.js.map +7 -0
- package/src/spectrum-two/theme-light-core-tokens.css.js +4 -0
- package/src/spectrum-two/theme-light-core-tokens.css.js.map +7 -0
- package/src/spectrum-two/theme-light.css.d.ts +2 -0
- package/src/spectrum-two/theme-light.css.dev.js +7 -0
- package/src/spectrum-two/theme-light.css.dev.js.map +7 -0
- package/src/spectrum-two/theme-light.css.js +4 -0
- package/src/spectrum-two/theme-light.css.js.map +7 -0
- package/src/spectrum-two/theme.css.d.ts +2 -0
- package/src/spectrum-two/theme.css.dev.js +7 -0
- package/src/spectrum-two/theme.css.dev.js.map +7 -0
- package/src/spectrum-two/theme.css.js +4 -0
- package/src/spectrum-two/theme.css.js.map +7 -0
- package/src/spectrum-two/themes-core-tokens.d.ts +6 -0
- package/src/spectrum-two/themes-core-tokens.dev.js +8 -0
- package/src/spectrum-two/themes-core-tokens.dev.js.map +7 -0
- package/src/spectrum-two/themes-core-tokens.js +2 -0
- package/src/spectrum-two/themes-core-tokens.js.map +7 -0
- package/src/spectrum-two/themes.d.ts +6 -0
- package/src/spectrum-two/themes.dev.js +8 -0
- package/src/spectrum-two/themes.dev.js.map +7 -0
- package/src/spectrum-two/themes.js +2 -0
- package/src/spectrum-two/themes.js.map +7 -0
- package/src/theme-core-tokens.css.d.ts +2 -0
- package/src/theme-core-tokens.css.dev.js +7 -0
- package/src/theme-core-tokens.css.dev.js.map +7 -0
- package/src/theme-core-tokens.css.js +4 -0
- package/src/theme-core-tokens.css.js.map +7 -0
- package/src/theme-dark-core-tokens.css.d.ts +2 -0
- package/src/theme-dark-core-tokens.css.dev.js +7 -0
- package/src/theme-dark-core-tokens.css.dev.js.map +7 -0
- package/src/theme-dark-core-tokens.css.js +4 -0
- package/src/theme-dark-core-tokens.css.js.map +7 -0
- package/src/theme-dark.css.d.ts +2 -0
- package/src/theme-dark.css.dev.js +7 -0
- package/src/theme-dark.css.dev.js.map +7 -0
- package/src/theme-dark.css.js +4 -0
- package/src/theme-dark.css.js.map +7 -0
- package/src/theme-darkest-core-tokens.css.d.ts +2 -0
- package/src/theme-darkest-core-tokens.css.dev.js +7 -0
- package/src/theme-darkest-core-tokens.css.dev.js.map +7 -0
- package/src/theme-darkest-core-tokens.css.js +4 -0
- package/src/theme-darkest-core-tokens.css.js.map +7 -0
- package/src/theme-darkest.css.d.ts +2 -0
- package/src/theme-darkest.css.dev.js +7 -0
- package/src/theme-darkest.css.dev.js.map +7 -0
- package/src/theme-darkest.css.js +4 -0
- package/src/theme-darkest.css.js.map +7 -0
- package/src/theme-interfaces.d.ts +32 -0
- package/src/theme-interfaces.dev.js +29 -0
- package/src/theme-interfaces.dev.js.map +7 -0
- package/src/theme-interfaces.js +2 -0
- package/src/theme-interfaces.js.map +7 -0
- package/src/theme-light-core-tokens.css.d.ts +2 -0
- package/src/theme-light-core-tokens.css.dev.js +7 -0
- package/src/theme-light-core-tokens.css.dev.js.map +7 -0
- package/src/theme-light-core-tokens.css.js +4 -0
- package/src/theme-light-core-tokens.css.js.map +7 -0
- package/src/theme-light.css.d.ts +2 -0
- package/src/theme-light.css.dev.js +7 -0
- package/src/theme-light.css.dev.js.map +7 -0
- package/src/theme-light.css.js +4 -0
- package/src/theme-light.css.js.map +7 -0
- package/src/theme-lightest-core-tokens.css.d.ts +2 -0
- package/src/theme-lightest-core-tokens.css.dev.js +7 -0
- package/src/theme-lightest-core-tokens.css.dev.js.map +7 -0
- package/src/theme-lightest-core-tokens.css.js +4 -0
- package/src/theme-lightest-core-tokens.css.js.map +7 -0
- package/src/theme-lightest.css.d.ts +2 -0
- package/src/theme-lightest.css.dev.js +7 -0
- package/src/theme-lightest.css.dev.js.map +7 -0
- package/src/theme-lightest.css.js +4 -0
- package/src/theme-lightest.css.js.map +7 -0
- package/src/theme.css.d.ts +2 -0
- package/src/theme.css.dev.js +7 -0
- package/src/theme.css.dev.js.map +7 -0
- package/src/theme.css.js +4 -0
- package/src/theme.css.js.map +7 -0
- package/src/themes-core-tokens.d.ts +6 -0
- package/src/themes-core-tokens.dev.js +8 -0
- package/src/themes-core-tokens.dev.js.map +7 -0
- package/src/themes-core-tokens.js +2 -0
- package/src/themes-core-tokens.js.map +7 -0
- package/src/themes.d.ts +6 -0
- package/src/themes.dev.js +8 -0
- package/src/themes.dev.js.map +7 -0
- package/src/themes.js +2 -0
- package/src/themes.js.map +7 -0
- package/src/typography.css.d.ts +2 -0
- package/src/typography.css.dev.js +7 -0
- package/src/typography.css.dev.js.map +7 -0
- package/src/typography.css.js +4 -0
- package/src/typography.css.js.map +7 -0
- package/stories/theme.stories.js +258 -0
- package/stories/theme.stories.js.map +7 -0
- package/test/theme-devmode.test.js +46 -0
- package/test/theme-devmode.test.js.map +7 -0
- package/test/theme-lazy.test.js +114 -0
- package/test/theme-lazy.test.js.map +7 -0
- package/test/theme.test-vrt.js +5 -0
- package/test/theme.test-vrt.js.map +7 -0
- package/test/theme.test.js +13 -0
- package/test/theme.test.js.map +7 -0
- package/test/themes.test.js +169 -0
- package/test/themes.test.js.map +7 -0
- package/theme-dark-core-tokens.d.ts +1 -0
- package/theme-dark-core-tokens.dev.js +6 -0
- package/theme-dark-core-tokens.dev.js.map +7 -0
- package/theme-dark-core-tokens.js +2 -0
- package/theme-dark-core-tokens.js.map +7 -0
- package/theme-dark.d.ts +1 -0
- package/theme-dark.dev.js +6 -0
- package/theme-dark.dev.js.map +7 -0
- package/theme-dark.js +2 -0
- package/theme-dark.js.map +7 -0
- package/theme-darkest-core-tokens.d.ts +1 -0
- package/theme-darkest-core-tokens.dev.js +6 -0
- package/theme-darkest-core-tokens.dev.js.map +7 -0
- package/theme-darkest-core-tokens.js +2 -0
- package/theme-darkest-core-tokens.js.map +7 -0
- package/theme-darkest.d.ts +1 -0
- package/theme-darkest.dev.js +6 -0
- package/theme-darkest.dev.js.map +7 -0
- package/theme-darkest.js +2 -0
- package/theme-darkest.js.map +7 -0
- package/theme-light-core-tokens.d.ts +1 -0
- package/theme-light-core-tokens.dev.js +6 -0
- package/theme-light-core-tokens.dev.js.map +7 -0
- package/theme-light-core-tokens.js +2 -0
- package/theme-light-core-tokens.js.map +7 -0
- package/theme-light.d.ts +1 -0
- package/theme-light.dev.js +6 -0
- package/theme-light.dev.js.map +7 -0
- package/theme-light.js +2 -0
- package/theme-light.js.map +7 -0
- package/theme-lightest-core-tokens.d.ts +1 -0
- package/theme-lightest-core-tokens.dev.js +6 -0
- package/theme-lightest-core-tokens.dev.js.map +7 -0
- package/theme-lightest-core-tokens.js +2 -0
- package/theme-lightest-core-tokens.js.map +7 -0
- package/theme-lightest.d.ts +1 -0
- package/theme-lightest.dev.js +6 -0
- package/theme-lightest.dev.js.map +7 -0
- package/theme-lightest.js +2 -0
- package/theme-lightest.js.map +7 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import "@spectrum-web-components/theme/sp-theme.js";
|
|
3
|
+
import "@spectrum-web-components/theme/src/themes.js";
|
|
4
|
+
import { Theme } from "@spectrum-web-components/theme";
|
|
5
|
+
import { elementUpdated, expect, fixture, html } from "@open-wc/testing";
|
|
6
|
+
import { css } from "@spectrum-web-components/base";
|
|
7
|
+
describe("Systems", () => {
|
|
8
|
+
it("loads - light", async () => {
|
|
9
|
+
const el = await fixture(html`
|
|
10
|
+
<sp-theme system="spectrum" color="light"></sp-theme>
|
|
11
|
+
`);
|
|
12
|
+
await elementUpdated(el);
|
|
13
|
+
expect(el).to.exist;
|
|
14
|
+
expect(el).shadowDom.to.exist;
|
|
15
|
+
});
|
|
16
|
+
it("loads - dark", async () => {
|
|
17
|
+
const el = await fixture(html`
|
|
18
|
+
<sp-theme color="dark"></sp-theme>
|
|
19
|
+
`);
|
|
20
|
+
await elementUpdated(el);
|
|
21
|
+
expect(el).to.exist;
|
|
22
|
+
expect(el).shadowDom.to.exist;
|
|
23
|
+
});
|
|
24
|
+
it("loads - unkown", async () => {
|
|
25
|
+
const el = await fixture(html`
|
|
26
|
+
<sp-theme color="unknown" scale="unknown"></sp-theme>
|
|
27
|
+
`);
|
|
28
|
+
await elementUpdated(el);
|
|
29
|
+
expect(el).to.exist;
|
|
30
|
+
expect(el).shadowDom.to.exist;
|
|
31
|
+
});
|
|
32
|
+
it("adds an instance only once", async () => {
|
|
33
|
+
const el = await fixture(html`
|
|
34
|
+
<sp-theme system="express"></sp-theme>
|
|
35
|
+
`);
|
|
36
|
+
await elementUpdated(el);
|
|
37
|
+
const testableTheme = Theme;
|
|
38
|
+
expect(testableTheme.instances.has(el), "first").to.be.true;
|
|
39
|
+
expect(testableTheme.instances.size).to.equal(1);
|
|
40
|
+
el.remove();
|
|
41
|
+
expect(testableTheme.instances.has(el), "second").to.be.false;
|
|
42
|
+
expect(testableTheme.instances.size).to.equal(0);
|
|
43
|
+
document.body.append(el);
|
|
44
|
+
expect(testableTheme.instances.has(el), "third").to.be.true;
|
|
45
|
+
expect(testableTheme.instances.size).to.equal(1);
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
describe("Lightest", () => {
|
|
49
|
+
it("loads", async () => {
|
|
50
|
+
const el = await fixture(html`
|
|
51
|
+
<sp-theme color="lightest"></sp-theme>
|
|
52
|
+
`);
|
|
53
|
+
await elementUpdated(el);
|
|
54
|
+
expect(el).to.exist;
|
|
55
|
+
expect(el).shadowDom.to.exist;
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
describe("Medium", () => {
|
|
59
|
+
it("loads", async () => {
|
|
60
|
+
const el = await fixture(html`
|
|
61
|
+
<sp-theme scale="medium"></sp-theme>
|
|
62
|
+
`);
|
|
63
|
+
await elementUpdated(el);
|
|
64
|
+
expect(el).to.exist;
|
|
65
|
+
expect(el).shadowDom.to.exist;
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
describe("App styles", () => {
|
|
69
|
+
it("applies app fragments", async () => {
|
|
70
|
+
const el = await fixture(html`
|
|
71
|
+
<sp-theme color="light">
|
|
72
|
+
<style>
|
|
73
|
+
div {
|
|
74
|
+
padding: var(--app-padding);
|
|
75
|
+
}
|
|
76
|
+
</style>
|
|
77
|
+
<div></div>
|
|
78
|
+
</sp-theme>
|
|
79
|
+
`);
|
|
80
|
+
const div = el.querySelector("div");
|
|
81
|
+
await elementUpdated(el);
|
|
82
|
+
const preStylesDiv = getComputedStyle(div);
|
|
83
|
+
expect(preStylesDiv.paddingBlockStart).to.equal("0px");
|
|
84
|
+
Theme.registerThemeFragment(
|
|
85
|
+
"app",
|
|
86
|
+
"app",
|
|
87
|
+
css`
|
|
88
|
+
:host {
|
|
89
|
+
--app-padding: 10px;
|
|
90
|
+
}
|
|
91
|
+
`
|
|
92
|
+
);
|
|
93
|
+
await elementUpdated(el);
|
|
94
|
+
const postStylesDiv = getComputedStyle(div);
|
|
95
|
+
expect(postStylesDiv.paddingBlockStart).to.equal("10px");
|
|
96
|
+
Theme.themeFragmentsByKind.delete("app");
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
describe("Setting attributes", () => {
|
|
100
|
+
it("loads", async () => {
|
|
101
|
+
const el = await fixture(html`
|
|
102
|
+
<sp-theme color="light"></sp-theme>
|
|
103
|
+
`);
|
|
104
|
+
await elementUpdated(el);
|
|
105
|
+
expect(el).to.not.be.undefined;
|
|
106
|
+
expect(el.hasAttribute("scale")).to.be.false;
|
|
107
|
+
if (el.shadowRoot.adoptedStyleSheets) {
|
|
108
|
+
expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(2);
|
|
109
|
+
} else {
|
|
110
|
+
expect(
|
|
111
|
+
[...el.shadowRoot.querySelectorAll("style")].length
|
|
112
|
+
).to.equal(2);
|
|
113
|
+
}
|
|
114
|
+
await elementUpdated(el);
|
|
115
|
+
el.setAttribute("scale", "fish");
|
|
116
|
+
expect(el.getAttribute("scale")).to.equal("medium");
|
|
117
|
+
if (el.shadowRoot.adoptedStyleSheets) {
|
|
118
|
+
expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(2);
|
|
119
|
+
} else {
|
|
120
|
+
expect(
|
|
121
|
+
[...el.shadowRoot.querySelectorAll("style")].length
|
|
122
|
+
).to.equal(2);
|
|
123
|
+
}
|
|
124
|
+
el.color = "dark";
|
|
125
|
+
el.scale = "medium";
|
|
126
|
+
await elementUpdated(el);
|
|
127
|
+
expect(el.getAttribute("color")).to.equal("dark");
|
|
128
|
+
expect(el.getAttribute("scale")).to.equal("medium");
|
|
129
|
+
if (el.shadowRoot.adoptedStyleSheets) {
|
|
130
|
+
expect(el.shadowRoot.adoptedStyleSheets.length, "all").to.equal(3);
|
|
131
|
+
} else {
|
|
132
|
+
expect(
|
|
133
|
+
[...el.shadowRoot.querySelectorAll("style")].length
|
|
134
|
+
).to.equal(3);
|
|
135
|
+
}
|
|
136
|
+
el.setAttribute("color", "fish");
|
|
137
|
+
await elementUpdated(el);
|
|
138
|
+
expect(el.getAttribute("color")).to.equal("dark");
|
|
139
|
+
if (el.shadowRoot.adoptedStyleSheets) {
|
|
140
|
+
expect(el.shadowRoot.adoptedStyleSheets.length, "last").to.equal(3);
|
|
141
|
+
} else {
|
|
142
|
+
expect(
|
|
143
|
+
[...el.shadowRoot.querySelectorAll("style")].length
|
|
144
|
+
).to.equal(3);
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
it("loads and handles system attribute", async () => {
|
|
148
|
+
const el = await fixture(html`
|
|
149
|
+
<sp-theme system="spectrum"></sp-theme>
|
|
150
|
+
`);
|
|
151
|
+
await elementUpdated(el);
|
|
152
|
+
expect(el).to.not.be.undefined;
|
|
153
|
+
expect(el.hasAttribute("system")).to.be.true;
|
|
154
|
+
expect(el.getAttribute("system")).to.equal("spectrum");
|
|
155
|
+
el.setAttribute("system", "invalid");
|
|
156
|
+
await elementUpdated(el);
|
|
157
|
+
expect(el.getAttribute("system")).to.equal("spectrum");
|
|
158
|
+
el.setAttribute("system", "express");
|
|
159
|
+
await elementUpdated(el);
|
|
160
|
+
expect(el.getAttribute("system")).to.equal("express");
|
|
161
|
+
el.removeAttribute("system");
|
|
162
|
+
await elementUpdated(el);
|
|
163
|
+
expect(el.getAttribute("system")).to.equal("express");
|
|
164
|
+
el.system = "spectrum";
|
|
165
|
+
await elementUpdated(el);
|
|
166
|
+
expect(el.getAttribute("system")).to.equal("spectrum");
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
//# sourceMappingURL=themes.test.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["themes.test.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport '@spectrum-web-components/theme/sp-theme.js';\nimport '@spectrum-web-components/theme/src/themes.js';\nimport { Theme, ThemeFragmentMap } from '@spectrum-web-components/theme';\nimport { elementUpdated, expect, fixture, html } from '@open-wc/testing';\nimport { css } from '@spectrum-web-components/base';\n\ntype TestableThemeConstructor = {\n instances: Set<Theme>;\n themeFragmentsByKind: ThemeFragmentMap;\n};\n\ndescribe('Systems', () => {\n it('loads - light', async () => {\n const el = await fixture<Theme>(html`\n <sp-theme system=\"spectrum\" color=\"light\"></sp-theme>\n `);\n\n await elementUpdated(el);\n\n expect(el).to.exist;\n expect(el).shadowDom.to.exist;\n });\n it('loads - dark', async () => {\n const el = await fixture<Theme>(html`\n <sp-theme color=\"dark\"></sp-theme>\n `);\n\n await elementUpdated(el);\n\n expect(el).to.exist;\n expect(el).shadowDom.to.exist;\n });\n it('loads - unkown', async () => {\n const el = await fixture<Theme>(html`\n <sp-theme color=\"unknown\" scale=\"unknown\"></sp-theme>\n `);\n\n await elementUpdated(el);\n\n expect(el).to.exist;\n expect(el).shadowDom.to.exist;\n });\n it('adds an instance only once', async () => {\n const el = await fixture<Theme>(html`\n <sp-theme system=\"express\"></sp-theme>\n `);\n\n await elementUpdated(el);\n const testableTheme = Theme as unknown as TestableThemeConstructor;\n expect(testableTheme.instances.has(el), 'first').to.be.true;\n expect(testableTheme.instances.size).to.equal(1);\n\n el.remove();\n expect(testableTheme.instances.has(el), 'second').to.be.false;\n expect(testableTheme.instances.size).to.equal(0);\n\n document.body.append(el);\n expect(testableTheme.instances.has(el), 'third').to.be.true;\n expect(testableTheme.instances.size).to.equal(1);\n });\n});\n\ndescribe('Lightest', () => {\n it('loads', async () => {\n const el = await fixture<Theme>(html`\n <sp-theme color=\"lightest\"></sp-theme>\n `);\n\n await elementUpdated(el);\n\n expect(el).to.exist;\n expect(el).shadowDom.to.exist;\n });\n});\n\ndescribe('Medium', () => {\n it('loads', async () => {\n const el = await fixture<Theme>(html`\n <sp-theme scale=\"medium\"></sp-theme>\n `);\n\n await elementUpdated(el);\n\n expect(el).to.exist;\n expect(el).shadowDom.to.exist;\n });\n});\n\ndescribe('App styles', () => {\n it('applies app fragments', async () => {\n const el = await fixture<Theme>(html`\n <sp-theme color=\"light\">\n <style>\n div {\n padding: var(--app-padding);\n }\n </style>\n <div></div>\n </sp-theme>\n `);\n const div = el.querySelector('div') as HTMLDivElement;\n\n await elementUpdated(el);\n\n const preStylesDiv = getComputedStyle(div);\n expect(preStylesDiv.paddingBlockStart).to.equal('0px');\n\n Theme.registerThemeFragment(\n 'app',\n 'app',\n css`\n :host {\n --app-padding: 10px;\n }\n `\n );\n await elementUpdated(el);\n\n const postStylesDiv = getComputedStyle(div);\n expect(postStylesDiv.paddingBlockStart).to.equal('10px');\n\n (\n Theme as unknown as TestableThemeConstructor\n ).themeFragmentsByKind.delete('app');\n });\n});\n\ndescribe('Setting attributes', () => {\n it('loads', async () => {\n const el = await fixture<Theme>(html`\n <sp-theme color=\"light\"></sp-theme>\n `);\n\n await elementUpdated(el);\n\n expect(el).to.not.be.undefined;\n expect(el.hasAttribute('scale')).to.be.false;\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(2);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(2);\n }\n\n await elementUpdated(el);\n\n // Invalid initial value falls back to default\n el.setAttribute('scale', 'fish');\n expect(el.getAttribute('scale')).to.equal('medium');\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(2);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(2);\n }\n\n el.color = 'dark';\n el.scale = 'medium';\n\n await elementUpdated(el);\n expect(el.getAttribute('color')).to.equal('dark');\n expect(el.getAttribute('scale')).to.equal('medium');\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length, 'all').to.equal(3);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(3);\n }\n\n // Invalid second + value fallsback to previous\n el.setAttribute('color', 'fish');\n\n await elementUpdated(el);\n expect(el.getAttribute('color')).to.equal('dark');\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length, 'last').to.equal(3);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(3);\n }\n });\n\n it('loads and handles system attribute', async () => {\n const el = await fixture<Theme>(html`\n <sp-theme system=\"spectrum\"></sp-theme>\n `);\n\n await elementUpdated(el);\n\n expect(el).to.not.be.undefined;\n expect(el.hasAttribute('system')).to.be.true;\n expect(el.getAttribute('system')).to.equal('spectrum');\n\n el.setAttribute('system', 'invalid');\n await elementUpdated(el);\n expect(el.getAttribute('system')).to.equal('spectrum'); // Should fallback to 'spectrum'\n\n el.setAttribute('system', 'express');\n await elementUpdated(el);\n expect(el.getAttribute('system')).to.equal('express');\n\n // Removing attribute should persist the last valid value\n el.removeAttribute('system');\n await elementUpdated(el);\n expect(el.getAttribute('system')).to.equal('express');\n\n el.system = 'spectrum';\n await elementUpdated(el);\n expect(el.getAttribute('system')).to.equal('spectrum');\n });\n});\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './core-tokens.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import darkStyles from "./src/theme-dark-core-tokens.css.js";
|
|
3
|
+
import { Theme } from "./src/Theme.dev.js";
|
|
4
|
+
import "./core-tokens.dev.js";
|
|
5
|
+
Theme.registerThemeFragment("dark", "color", darkStyles);
|
|
6
|
+
//# sourceMappingURL=theme-dark-core-tokens.dev.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-dark-core-tokens.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport darkStyles from './src/theme-dark-core-tokens.css.js';\nimport { Theme } from './src/Theme.dev.js'\nimport './core-tokens.dev.js'\n\nTheme.registerThemeFragment('dark', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,gBAAgB;AACvB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,QAAQ,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-dark-core-tokens.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport darkStyles from './src/theme-dark-core-tokens.css.js';\nimport { Theme } from './src/Theme.js';\nimport './core-tokens.js';\n\nTheme.registerThemeFragment('dark', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAgB,sCACvB,OAAS,SAAAC,MAAa,iBACtB,MAAO,mBAEPA,EAAM,sBAAsB,OAAQ,QAASD,CAAU",
|
|
6
|
+
"names": ["darkStyles", "Theme"]
|
|
7
|
+
}
|
package/theme-dark.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './core.js';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-dark.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport darkStyles from './src/theme-dark.css.js';\nimport { Theme } from './src/Theme.dev.js'\nimport './core.dev.js'\n\nTheme.registerThemeFragment('dark', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,gBAAgB;AACvB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,QAAQ,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/theme-dark.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-dark.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport darkStyles from './src/theme-dark.css.js';\nimport { Theme } from './src/Theme.js';\nimport './core.js';\n\nTheme.registerThemeFragment('dark', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAgB,0BACvB,OAAS,SAAAC,MAAa,iBACtB,MAAO,YAEPA,EAAM,sBAAsB,OAAQ,QAASD,CAAU",
|
|
6
|
+
"names": ["darkStyles", "Theme"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './core-tokens.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import darkStyles from "./src/theme-darkest-core-tokens.css.js";
|
|
3
|
+
import { Theme } from "./src/Theme.dev.js";
|
|
4
|
+
import "./core-tokens.dev.js";
|
|
5
|
+
Theme.registerThemeFragment("darkest", "color", darkStyles);
|
|
6
|
+
//# sourceMappingURL=theme-darkest-core-tokens.dev.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-darkest-core-tokens.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport darkStyles from './src/theme-darkest-core-tokens.css.js';\nimport { Theme } from './src/Theme.dev.js'\nimport './core-tokens.dev.js'\n\nTheme.registerThemeFragment('darkest', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,gBAAgB;AACvB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,WAAW,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-darkest-core-tokens.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport darkStyles from './src/theme-darkest-core-tokens.css.js';\nimport { Theme } from './src/Theme.js';\nimport './core-tokens.js';\n\nTheme.registerThemeFragment('darkest', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAgB,yCACvB,OAAS,SAAAC,MAAa,iBACtB,MAAO,mBAEPA,EAAM,sBAAsB,UAAW,QAASD,CAAU",
|
|
6
|
+
"names": ["darkStyles", "Theme"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './core.js';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-darkest.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport darkStyles from './src/theme-darkest.css.js';\nimport { Theme } from './src/Theme.dev.js'\nimport './core.dev.js'\n\nTheme.registerThemeFragment('darkest', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,gBAAgB;AACvB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,WAAW,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/theme-darkest.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-darkest.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport darkStyles from './src/theme-darkest.css.js';\nimport { Theme } from './src/Theme.js';\nimport './core.js';\n\nTheme.registerThemeFragment('darkest', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAgB,6BACvB,OAAS,SAAAC,MAAa,iBACtB,MAAO,YAEPA,EAAM,sBAAsB,UAAW,QAASD,CAAU",
|
|
6
|
+
"names": ["darkStyles", "Theme"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './core-tokens.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import lightStyles from "./src/theme-light-core-tokens.css.js";
|
|
3
|
+
import { Theme } from "./src/Theme.dev.js";
|
|
4
|
+
import "./core-tokens.dev.js";
|
|
5
|
+
Theme.registerThemeFragment("light", "color", lightStyles);
|
|
6
|
+
//# sourceMappingURL=theme-light-core-tokens.dev.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-light-core-tokens.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport lightStyles from './src/theme-light-core-tokens.css.js';\nimport { Theme } from './src/Theme.dev.js'\nimport './core-tokens.dev.js'\n\nTheme.registerThemeFragment('light', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,iBAAiB;AACxB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,SAAS,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-light-core-tokens.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport lightStyles from './src/theme-light-core-tokens.css.js';\nimport { Theme } from './src/Theme.js';\nimport './core-tokens.js';\n\nTheme.registerThemeFragment('light', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAiB,uCACxB,OAAS,SAAAC,MAAa,iBACtB,MAAO,mBAEPA,EAAM,sBAAsB,QAAS,QAASD,CAAW",
|
|
6
|
+
"names": ["lightStyles", "Theme"]
|
|
7
|
+
}
|
package/theme-light.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './core.js';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-light.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport lightStyles from './src/theme-light.css.js';\nimport { Theme } from './src/Theme.dev.js'\nimport './core.dev.js'\n\nTheme.registerThemeFragment('light', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,iBAAiB;AACxB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,SAAS,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/theme-light.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-light.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport lightStyles from './src/theme-light.css.js';\nimport { Theme } from './src/Theme.js';\nimport './core.js';\n\nTheme.registerThemeFragment('light', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAiB,2BACxB,OAAS,SAAAC,MAAa,iBACtB,MAAO,YAEPA,EAAM,sBAAsB,QAAS,QAASD,CAAW",
|
|
6
|
+
"names": ["lightStyles", "Theme"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './core-tokens.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import lightestStyles from "./src/theme-lightest-core-tokens.css.js";
|
|
3
|
+
import { Theme } from "./src/Theme.dev.js";
|
|
4
|
+
import "./core-tokens.dev.js";
|
|
5
|
+
Theme.registerThemeFragment("lightest", "color", lightestStyles);
|
|
6
|
+
//# sourceMappingURL=theme-lightest-core-tokens.dev.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-lightest-core-tokens.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport lightestStyles from './src/theme-lightest-core-tokens.css.js';\nimport { Theme } from './src/Theme.dev.js'\nimport './core-tokens.dev.js'\n\nTheme.registerThemeFragment('lightest', 'color', lightestStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,oBAAoB;AAC3B,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,YAAY,SAAS,cAAc;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-lightest-core-tokens.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport lightestStyles from './src/theme-lightest-core-tokens.css.js';\nimport { Theme } from './src/Theme.js';\nimport './core-tokens.js';\n\nTheme.registerThemeFragment('lightest', 'color', lightestStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAoB,0CAC3B,OAAS,SAAAC,MAAa,iBACtB,MAAO,mBAEPA,EAAM,sBAAsB,WAAY,QAASD,CAAc",
|
|
6
|
+
"names": ["lightestStyles", "Theme"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './core.js';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-lightest.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport lightestStyles from './src/theme-lightest.css.js';\nimport { Theme } from './src/Theme.dev.js'\nimport './core.dev.js'\n\nTheme.registerThemeFragment('lightest', 'color', lightestStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,oBAAoB;AAC3B,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,YAAY,SAAS,cAAc;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-lightest.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport lightestStyles from './src/theme-lightest.css.js';\nimport { Theme } from './src/Theme.js';\nimport './core.js';\n\nTheme.registerThemeFragment('lightest', 'color', lightestStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAoB,8BAC3B,OAAS,SAAAC,MAAa,iBACtB,MAAO,YAEPA,EAAM,sBAAsB,WAAY,QAASD,CAAc",
|
|
6
|
+
"names": ["lightestStyles", "Theme"]
|
|
7
|
+
}
|