@omicronenergy/oscd-ui 0.0.6 → 0.0.7
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/app-bar/OscdAppBar.d.ts +3 -3
- package/app-bar/OscdAppBar.js +12 -10
- package/app-bar/OscdAppBar.js.map +1 -1
- package/button/OscdFilledButton.js +2 -2
- package/button/OscdFilledButton.js.map +1 -1
- package/button/OscdOutlinedButton.js +1 -1
- package/button/OscdOutlinedButton.js.map +1 -1
- package/button/OscdTextButton.js +1 -1
- package/button/OscdTextButton.js.map +1 -1
- package/button/oscd-outlined-button.d.ts +1 -1
- package/button/oscd-outlined-button.js.map +1 -1
- package/dialog/OscdDialog.js +1 -1
- package/dialog/OscdDialog.js.map +1 -1
- package/divider/OscdDivider.js +1 -1
- package/divider/OscdDivider.js.map +1 -1
- package/elevation/OscdElevation.d.ts +1 -2
- package/elevation/OscdElevation.js +3 -4
- package/elevation/OscdElevation.js.map +1 -1
- package/elevation/_elevation.scss +6 -0
- package/elevation/internal/_elevation.scss +176 -0
- package/elevation/internal/elevation-styles.css +1 -0
- package/elevation/internal/elevation-styles.css.map +1 -0
- package/elevation/internal/elevation-styles.d.ts +1 -0
- package/elevation/internal/elevation-styles.js +10 -0
- package/elevation/internal/elevation-styles.js.map +1 -0
- package/elevation/internal/elevation-styles.scss +10 -0
- package/elevation/internal/elevation.d.ts +13 -0
- package/elevation/internal/elevation.js +21 -0
- package/elevation/internal/elevation.js.map +1 -0
- package/field/OscdFilledField.js +1 -1
- package/field/OscdFilledField.js.map +1 -1
- package/field/OscdOutlinedField.js +1 -1
- package/field/OscdOutlinedField.js.map +1 -1
- package/focus/OscdFocusRing.d.ts +5 -0
- package/focus/OscdFocusRing.js +6 -0
- package/focus/OscdFocusRing.js.map +1 -0
- package/focus/_focus-ring.scss +6 -0
- package/focus/internal/_focus-ring.scss +113 -0
- package/focus/internal/focus-ring-styles.css +1 -0
- package/focus/internal/focus-ring-styles.css.map +1 -0
- package/focus/internal/focus-ring-styles.d.ts +1 -0
- package/focus/internal/focus-ring-styles.js +10 -0
- package/focus/internal/focus-ring-styles.js.map +1 -0
- package/focus/internal/focus-ring-styles.scss +10 -0
- package/focus/internal/focus-ring.d.ts +39 -0
- package/focus/internal/focus-ring.js +101 -0
- package/focus/internal/focus-ring.js.map +1 -0
- package/focus/oscd-focus-ring.d.ts +21 -0
- package/focus/oscd-focus-ring.js +23 -0
- package/focus/oscd-focus-ring.js.map +1 -0
- package/icon/OscdIcon.js +1 -1
- package/icon/OscdIcon.js.map +1 -1
- package/iconbutton/OscdFilledIconButton.js +1 -1
- package/iconbutton/OscdFilledIconButton.js.map +1 -1
- package/iconbutton/OscdFilledTonalIconButton.js +1 -1
- package/iconbutton/OscdFilledTonalIconButton.js.map +1 -1
- package/iconbutton/OscdIconButton.js +1 -1
- package/iconbutton/OscdIconButton.js.map +1 -1
- package/iconbutton/OscdOutlinedIconButton.js +1 -1
- package/iconbutton/OscdOutlinedIconButton.js.map +1 -1
- package/internal/aria/aria.d.ts +103 -0
- package/internal/aria/aria.js +81 -0
- package/internal/aria/aria.js.map +1 -0
- package/internal/aria/delegate.d.ts +54 -0
- package/internal/aria/delegate.js +176 -0
- package/internal/aria/delegate.js.map +1 -0
- package/internal/controller/attachable-controller.d.ts +114 -0
- package/internal/controller/attachable-controller.js +121 -0
- package/internal/controller/attachable-controller.js.map +1 -0
- package/internal/controller/form-submitter.d.ts +70 -0
- package/internal/controller/form-submitter.js +69 -0
- package/internal/controller/form-submitter.js.map +1 -0
- package/internal/controller/is-rtl.d.ts +14 -0
- package/internal/controller/is-rtl.js +18 -0
- package/internal/controller/is-rtl.js.map +1 -0
- package/internal/controller/string-converter.d.ts +9 -0
- package/internal/controller/string-converter.js +14 -0
- package/internal/controller/string-converter.js.map +1 -0
- package/internal/events/dispatch-hooks.d.ts +85 -0
- package/internal/events/dispatch-hooks.js +151 -0
- package/internal/events/dispatch-hooks.js.map +1 -0
- package/internal/events/form-label-activation.d.ts +55 -0
- package/internal/events/form-label-activation.js +96 -0
- package/internal/events/form-label-activation.js.map +1 -0
- package/internal/events/redispatch-event.d.ts +27 -0
- package/internal/events/redispatch-event.js +40 -0
- package/internal/events/redispatch-event.js.map +1 -0
- package/internal/motion/_animation.scss +33 -0
- package/internal/motion/animation.d.ts +80 -0
- package/internal/motion/animation.js +101 -0
- package/internal/motion/animation.js.map +1 -0
- package/internal/sass/_string-ext.scss +195 -0
- package/internal/sass/_var.scss +237 -0
- package/labs/badge/OscdBadge.d.ts +14 -0
- package/labs/badge/OscdBadge.js +15 -0
- package/labs/badge/OscdBadge.js.map +1 -0
- package/labs/badge/_badge.scss +6 -0
- package/labs/badge/internal/_badge.scss +76 -0
- package/labs/badge/internal/badge-styles.css +1 -0
- package/labs/badge/internal/badge-styles.css.map +1 -0
- package/labs/badge/internal/badge-styles.d.ts +1 -0
- package/labs/badge/internal/badge-styles.js +10 -0
- package/labs/badge/internal/badge-styles.js.map +1 -0
- package/labs/badge/internal/badge-styles.scss +10 -0
- package/labs/badge/internal/badge.d.ts +13 -0
- package/labs/badge/internal/badge.js +28 -0
- package/labs/badge/internal/badge.js.map +1 -0
- package/labs/badge/oscd-badge.d.ts +19 -0
- package/labs/badge/oscd-badge.js +21 -0
- package/labs/badge/oscd-badge.js.map +1 -0
- package/labs/behaviors/constraint-validation.d.ts +133 -0
- package/labs/behaviors/constraint-validation.js +131 -0
- package/labs/behaviors/constraint-validation.js.map +1 -0
- package/labs/behaviors/element-internals.d.ts +45 -0
- package/labs/behaviors/element-internals.js +46 -0
- package/labs/behaviors/element-internals.js.map +1 -0
- package/labs/behaviors/focusable.d.ts +39 -0
- package/labs/behaviors/focusable.js +87 -0
- package/labs/behaviors/focusable.js.map +1 -0
- package/labs/behaviors/form-associated.d.ts +199 -0
- package/labs/behaviors/form-associated.js +175 -0
- package/labs/behaviors/form-associated.js.map +1 -0
- package/labs/behaviors/mixin.d.ts +54 -0
- package/labs/behaviors/mixin.js +7 -0
- package/labs/behaviors/mixin.js.map +1 -0
- package/labs/behaviors/on-report-validity.d.ts +71 -0
- package/labs/behaviors/on-report-validity.js +289 -0
- package/labs/behaviors/on-report-validity.js.map +1 -0
- package/labs/behaviors/validators/checkbox-validator.d.ts +35 -0
- package/labs/behaviors/validators/checkbox-validator.js +34 -0
- package/labs/behaviors/validators/checkbox-validator.js.map +1 -0
- package/labs/behaviors/validators/radio-validator.d.ts +38 -0
- package/labs/behaviors/validators/radio-validator.js +67 -0
- package/labs/behaviors/validators/radio-validator.js.map +1 -0
- package/labs/behaviors/validators/select-validator.d.ts +35 -0
- package/labs/behaviors/validators/select-validator.js +35 -0
- package/labs/behaviors/validators/select-validator.js.map +1 -0
- package/labs/behaviors/validators/text-field-validator.d.ts +110 -0
- package/labs/behaviors/validators/text-field-validator.js +156 -0
- package/labs/behaviors/validators/text-field-validator.js.map +1 -0
- package/labs/behaviors/validators/validator.d.ts +96 -0
- package/labs/behaviors/validators/validator.js +73 -0
- package/labs/behaviors/validators/validator.js.map +1 -0
- package/labs/card/OscdElevatedCard.d.ts +20 -0
- package/labs/card/OscdElevatedCard.js +23 -0
- package/labs/card/OscdElevatedCard.js.map +1 -0
- package/labs/card/OscdFilledCard.d.ts +20 -0
- package/labs/card/OscdFilledCard.js +23 -0
- package/labs/card/OscdFilledCard.js.map +1 -0
- package/labs/card/OscdOutlinedCard.d.ts +20 -0
- package/labs/card/OscdOutlinedCard.js +23 -0
- package/labs/card/OscdOutlinedCard.js.map +1 -0
- package/labs/card/_elevated-card.scss +6 -0
- package/labs/card/_filled-card.scss +6 -0
- package/labs/card/_outlined-card.scss +6 -0
- package/labs/card/demo/demo.d.ts +7 -0
- package/labs/card/demo/demo.js +13 -0
- package/labs/card/demo/demo.js.map +1 -0
- package/labs/card/demo/stories.d.ts +15 -0
- package/labs/card/demo/stories.js +104 -0
- package/labs/card/demo/stories.js.map +1 -0
- package/labs/card/internal/_elevated-card.scss +35 -0
- package/labs/card/internal/_filled-card.scss +35 -0
- package/labs/card/internal/_outlined-card.scss +40 -0
- package/labs/card/internal/_shared.scss +62 -0
- package/labs/card/internal/card.d.ts +12 -0
- package/labs/card/internal/card.js +21 -0
- package/labs/card/internal/card.js.map +1 -0
- package/labs/card/internal/elevated-styles.css +1 -0
- package/labs/card/internal/elevated-styles.css.map +1 -0
- package/labs/card/internal/elevated-styles.d.ts +1 -0
- package/labs/card/internal/elevated-styles.js +10 -0
- package/labs/card/internal/elevated-styles.js.map +1 -0
- package/labs/card/internal/elevated-styles.scss +10 -0
- package/labs/card/internal/filled-styles.css +1 -0
- package/labs/card/internal/filled-styles.css.map +1 -0
- package/labs/card/internal/filled-styles.d.ts +1 -0
- package/labs/card/internal/filled-styles.js +10 -0
- package/labs/card/internal/filled-styles.js.map +1 -0
- package/labs/card/internal/filled-styles.scss +10 -0
- package/labs/card/internal/outlined-styles.css +1 -0
- package/labs/card/internal/outlined-styles.css.map +1 -0
- package/labs/card/internal/outlined-styles.d.ts +1 -0
- package/labs/card/internal/outlined-styles.js +10 -0
- package/labs/card/internal/outlined-styles.js.map +1 -0
- package/labs/card/internal/outlined-styles.scss +10 -0
- package/labs/card/internal/shared-styles.css +1 -0
- package/labs/card/internal/shared-styles.css.map +1 -0
- package/labs/card/internal/shared-styles.d.ts +1 -0
- package/labs/card/internal/shared-styles.js +10 -0
- package/labs/card/internal/shared-styles.js.map +1 -0
- package/labs/card/internal/shared-styles.scss +10 -0
- package/labs/card/oscd-elevated-card.d.ts +20 -0
- package/labs/card/oscd-elevated-card.js +23 -0
- package/labs/card/oscd-elevated-card.js.map +1 -0
- package/labs/card/oscd-filled-card.d.ts +25 -0
- package/labs/card/oscd-filled-card.js +28 -0
- package/labs/card/oscd-filled-card.js.map +1 -0
- package/labs/card/oscd-outlined-card.d.ts +20 -0
- package/labs/card/oscd-outlined-card.js +23 -0
- package/labs/card/oscd-outlined-card.js.map +1 -0
- package/list/OscdList.js +1 -1
- package/list/OscdList.js.map +1 -1
- package/list/OscdListItem.d.ts +4 -0
- package/list/OscdListItem.js +13 -1
- package/list/OscdListItem.js.map +1 -1
- package/menu/OscdMenu.js +1 -1
- package/menu/OscdMenu.js.map +1 -1
- package/menu/OscdMenuItem.js +1 -1
- package/menu/OscdMenuItem.js.map +1 -1
- package/navigation-drawer/OscdNavigationDrawer.js +2 -2
- package/navigation-drawer/OscdNavigationDrawer.js.map +1 -1
- package/navigation-drawer/OscdNavigationDrawerHeader.js +2 -2
- package/navigation-drawer/OscdNavigationDrawerHeader.js.map +1 -1
- package/package.json +76 -110
- package/radio/OscdRadio.d.ts +31 -0
- package/radio/OscdRadio.js +27 -0
- package/radio/OscdRadio.js.map +1 -0
- package/radio/demo/demo.d.ts +7 -0
- package/radio/demo/demo.js +14 -0
- package/radio/demo/demo.js.map +1 -0
- package/radio/demo/stories.d.ts +13 -0
- package/radio/demo/stories.js +97 -0
- package/radio/demo/stories.js.map +1 -0
- package/radio/internal/_radio.scss +198 -0
- package/radio/internal/radio-styles.css +1 -0
- package/radio/internal/radio-styles.css.map +1 -0
- package/radio/internal/radio-styles.d.ts +1 -0
- package/radio/internal/radio-styles.js +10 -0
- package/radio/internal/radio-styles.js.map +1 -0
- package/radio/internal/radio-styles.scss +10 -0
- package/radio/internal/radio.d.ts +59 -0
- package/radio/internal/radio.js +175 -0
- package/radio/internal/radio.js.map +1 -0
- package/radio/internal/single-selection-controller.d.ts +80 -0
- package/radio/internal/single-selection-controller.js +199 -0
- package/radio/internal/single-selection-controller.js.map +1 -0
- package/radio/oscd-radio.d.ts +32 -0
- package/radio/oscd-radio.js +34 -0
- package/radio/oscd-radio.js.map +1 -0
- package/ripple/OscdRipple.d.ts +5 -0
- package/ripple/OscdRipple.js +6 -0
- package/ripple/OscdRipple.js.map +1 -0
- package/ripple/_ripple.scss +6 -0
- package/ripple/internal/_ripple.scss +92 -0
- package/ripple/internal/ripple-styles.css +1 -0
- package/ripple/internal/ripple-styles.css.map +1 -0
- package/ripple/internal/ripple-styles.d.ts +1 -0
- package/ripple/internal/ripple-styles.js +10 -0
- package/ripple/internal/ripple-styles.js.map +1 -0
- package/ripple/internal/ripple-styles.scss +10 -0
- package/ripple/internal/ripple.d.ts +76 -0
- package/ripple/internal/ripple.js +425 -0
- package/ripple/internal/ripple.js.map +1 -0
- package/ripple/oscd-ripple.d.ts +29 -0
- package/ripple/oscd-ripple.js +31 -0
- package/ripple/oscd-ripple.js.map +1 -0
- package/select/OscdFilledSelect.js +1 -1
- package/select/OscdFilledSelect.js.map +1 -1
- package/select/OscdOutlinedSelect.js +1 -1
- package/select/OscdOutlinedSelect.js.map +1 -1
- package/select/OscdSelectOption.js +1 -1
- package/select/OscdSelectOption.js.map +1 -1
- package/tabs/OscdPrimaryTab.js +1 -1
- package/tabs/OscdPrimaryTab.js.map +1 -1
- package/tabs/OscdSecondaryTab.js +1 -1
- package/tabs/OscdSecondaryTab.js.map +1 -1
- package/tabs/OscdTabs.js +1 -1
- package/tabs/OscdTabs.js.map +1 -1
- package/textfield/OscdFilledTextField.js +5 -2
- package/textfield/OscdFilledTextField.js.map +1 -1
- package/textfield/OscdOutlinedTextField.js +5 -2
- package/textfield/OscdOutlinedTextField.js.map +1 -1
- package/tokens/_index.scss +66 -0
- package/tokens/_md-comp-assist-chip.scss +153 -0
- package/tokens/_md-comp-badge.scss +39 -0
- package/tokens/_md-comp-checkbox.scss +156 -0
- package/tokens/_md-comp-circular-progress.scss +79 -0
- package/tokens/_md-comp-dialog.scss +112 -0
- package/tokens/_md-comp-divider.scss +43 -0
- package/tokens/_md-comp-elevated-button.scss +143 -0
- package/tokens/_md-comp-elevated-card.scss +80 -0
- package/tokens/_md-comp-elevation.scss +48 -0
- package/tokens/_md-comp-fab-branded.scss +155 -0
- package/tokens/_md-comp-fab.scss +296 -0
- package/tokens/_md-comp-filled-button.scss +143 -0
- package/tokens/_md-comp-filled-card.scss +80 -0
- package/tokens/_md-comp-filled-field.scss +293 -0
- package/tokens/_md-comp-filled-icon-button.scss +119 -0
- package/tokens/_md-comp-filled-select.scss +198 -0
- package/tokens/_md-comp-filled-text-field.scss +200 -0
- package/tokens/_md-comp-filled-tonal-button.scss +143 -0
- package/tokens/_md-comp-filled-tonal-icon-button.scss +123 -0
- package/tokens/_md-comp-filter-chip.scss +265 -0
- package/tokens/_md-comp-focus-ring.scss +78 -0
- package/tokens/_md-comp-full-screen-dialog.scss +25 -0
- package/tokens/_md-comp-icon-button.scss +94 -0
- package/tokens/_md-comp-icon.scss +46 -0
- package/tokens/_md-comp-input-chip.scss +247 -0
- package/tokens/_md-comp-item.scss +88 -0
- package/tokens/_md-comp-linear-progress.scss +64 -0
- package/tokens/_md-comp-list-item.scss +173 -0
- package/tokens/_md-comp-list.scss +44 -0
- package/tokens/_md-comp-menu-item.scss +125 -0
- package/tokens/_md-comp-menu.scss +59 -0
- package/tokens/_md-comp-navigation-bar.scss +44 -0
- package/tokens/_md-comp-navigation-drawer.scss +44 -0
- package/tokens/_md-comp-outlined-button.scss +139 -0
- package/tokens/_md-comp-outlined-card.scss +86 -0
- package/tokens/_md-comp-outlined-field.scss +268 -0
- package/tokens/_md-comp-outlined-icon-button.scss +117 -0
- package/tokens/_md-comp-outlined-segmented-button.scss +123 -0
- package/tokens/_md-comp-outlined-select.scss +186 -0
- package/tokens/_md-comp-outlined-text-field.scss +187 -0
- package/tokens/_md-comp-primary-tab.scss +160 -0
- package/tokens/_md-comp-radio.scss +86 -0
- package/tokens/_md-comp-ripple.scss +48 -0
- package/tokens/_md-comp-secondary-tab.scss +158 -0
- package/tokens/_md-comp-slider.scss +117 -0
- package/tokens/_md-comp-suggestion-chip.scss +157 -0
- package/tokens/_md-comp-switch.scss +187 -0
- package/tokens/_md-comp-test-table.scss +43 -0
- package/tokens/_md-comp-text-button.scss +132 -0
- package/tokens/_md-ref-palette.scss +112 -0
- package/tokens/_md-ref-typeface.scss +46 -0
- package/tokens/_md-sys-color.scss +119 -0
- package/tokens/_md-sys-elevation.scss +31 -0
- package/tokens/_md-sys-motion.scss +12 -0
- package/tokens/_md-sys-shape.scss +102 -0
- package/tokens/_md-sys-state.scss +12 -0
- package/tokens/_md-sys-typescale.scss +149 -0
- package/tokens/internal/_shape.scss +93 -0
- package/tokens/internal/_validate.scss +109 -0
- package/tokens/v0_192/_index.scss +107 -0
- package/tokens/v0_192/_md-comp-assist-chip.scss +111 -0
- package/tokens/v0_192/_md-comp-badge.scss +61 -0
- package/tokens/v0_192/_md-comp-banner.scss +76 -0
- package/tokens/v0_192/_md-comp-bottom-app-bar.scss +36 -0
- package/tokens/v0_192/_md-comp-carousel-item.scss +66 -0
- package/tokens/v0_192/_md-comp-checkbox.scss +129 -0
- package/tokens/v0_192/_md-comp-circular-progress-indicator.scss +41 -0
- package/tokens/v0_192/_md-comp-data-table.scss +99 -0
- package/tokens/v0_192/_md-comp-date-input-modal.scss +90 -0
- package/tokens/v0_192/_md-comp-date-picker-docked.scss +247 -0
- package/tokens/v0_192/_md-comp-date-picker-modal.scss +306 -0
- package/tokens/v0_192/_md-comp-dialog.scss +124 -0
- package/tokens/v0_192/_md-comp-divider.scss +28 -0
- package/tokens/v0_192/_md-comp-elevated-button.scss +92 -0
- package/tokens/v0_192/_md-comp-elevated-card.scss +60 -0
- package/tokens/v0_192/_md-comp-extended-fab-branded.scss +89 -0
- package/tokens/v0_192/_md-comp-extended-fab-primary.scss +97 -0
- package/tokens/v0_192/_md-comp-extended-fab-secondary.scss +98 -0
- package/tokens/v0_192/_md-comp-extended-fab-surface.scss +93 -0
- package/tokens/v0_192/_md-comp-extended-fab-tertiary.scss +98 -0
- package/tokens/v0_192/_md-comp-fab-branded-large.scss +63 -0
- package/tokens/v0_192/_md-comp-fab-branded.scss +63 -0
- package/tokens/v0_192/_md-comp-fab-primary-large.scss +68 -0
- package/tokens/v0_192/_md-comp-fab-primary-small.scss +68 -0
- package/tokens/v0_192/_md-comp-fab-primary.scss +68 -0
- package/tokens/v0_192/_md-comp-fab-secondary-large.scss +69 -0
- package/tokens/v0_192/_md-comp-fab-secondary-small.scss +69 -0
- package/tokens/v0_192/_md-comp-fab-secondary.scss +69 -0
- package/tokens/v0_192/_md-comp-fab-surface-large.scss +67 -0
- package/tokens/v0_192/_md-comp-fab-surface-small.scss +67 -0
- package/tokens/v0_192/_md-comp-fab-surface.scss +67 -0
- package/tokens/v0_192/_md-comp-fab-tertiary-large.scss +69 -0
- package/tokens/v0_192/_md-comp-fab-tertiary-small.scss +69 -0
- package/tokens/v0_192/_md-comp-fab-tertiary.scss +69 -0
- package/tokens/v0_192/_md-comp-filled-autocomplete.scss +239 -0
- package/tokens/v0_192/_md-comp-filled-button.scss +92 -0
- package/tokens/v0_192/_md-comp-filled-card.scss +62 -0
- package/tokens/v0_192/_md-comp-filled-icon-button.scss +83 -0
- package/tokens/v0_192/_md-comp-filled-menu-button.scss +101 -0
- package/tokens/v0_192/_md-comp-filled-select.scss +273 -0
- package/tokens/v0_192/_md-comp-filled-text-field.scss +193 -0
- package/tokens/v0_192/_md-comp-filled-tonal-button.scss +102 -0
- package/tokens/v0_192/_md-comp-filled-tonal-icon-button.scss +90 -0
- package/tokens/v0_192/_md-comp-filter-chip.scss +210 -0
- package/tokens/v0_192/_md-comp-full-screen-dialog.scss +114 -0
- package/tokens/v0_192/_md-comp-icon-button.scss +74 -0
- package/tokens/v0_192/_md-comp-input-chip.scss +187 -0
- package/tokens/v0_192/_md-comp-linear-progress-indicator.scss +43 -0
- package/tokens/v0_192/_md-comp-list.scss +255 -0
- package/tokens/v0_192/_md-comp-menu.scss +44 -0
- package/tokens/v0_192/_md-comp-navigation-bar.scss +115 -0
- package/tokens/v0_192/_md-comp-navigation-drawer.scss +165 -0
- package/tokens/v0_192/_md-comp-navigation-rail.scss +119 -0
- package/tokens/v0_192/_md-comp-outlined-autocomplete.scss +229 -0
- package/tokens/v0_192/_md-comp-outlined-button.scss +87 -0
- package/tokens/v0_192/_md-comp-outlined-card.scss +66 -0
- package/tokens/v0_192/_md-comp-outlined-icon-button.scss +83 -0
- package/tokens/v0_192/_md-comp-outlined-menu-button.scss +97 -0
- package/tokens/v0_192/_md-comp-outlined-segmented-button.scss +115 -0
- package/tokens/v0_192/_md-comp-outlined-select.scss +263 -0
- package/tokens/v0_192/_md-comp-outlined-text-field.scss +174 -0
- package/tokens/v0_192/_md-comp-plain-tooltip.scss +58 -0
- package/tokens/v0_192/_md-comp-primary-navigation-tab.scss +124 -0
- package/tokens/v0_192/_md-comp-radio-button.scss +71 -0
- package/tokens/v0_192/_md-comp-rich-tooltip.scss +122 -0
- package/tokens/v0_192/_md-comp-scrim.scss +28 -0
- package/tokens/v0_192/_md-comp-search-bar.scss +100 -0
- package/tokens/v0_192/_md-comp-search-view.scss +94 -0
- package/tokens/v0_192/_md-comp-secondary-navigation-tab.scss +87 -0
- package/tokens/v0_192/_md-comp-sheet-bottom.scss +46 -0
- package/tokens/v0_192/_md-comp-sheet-floating.scss +35 -0
- package/tokens/v0_192/_md-comp-sheet-side.scss +94 -0
- package/tokens/v0_192/_md-comp-slider.scss +118 -0
- package/tokens/v0_192/_md-comp-snackbar.scss +130 -0
- package/tokens/v0_192/_md-comp-standard-menu-button.scss +101 -0
- package/tokens/v0_192/_md-comp-suggestion-chip.scss +127 -0
- package/tokens/v0_192/_md-comp-switch.scss +141 -0
- package/tokens/v0_192/_md-comp-text-button.scss +80 -0
- package/tokens/v0_192/_md-comp-time-input.scss +220 -0
- package/tokens/v0_192/_md-comp-time-picker.scss +267 -0
- package/tokens/v0_192/_md-comp-top-app-bar-large.scss +64 -0
- package/tokens/v0_192/_md-comp-top-app-bar-medium.scss +64 -0
- package/tokens/v0_192/_md-comp-top-app-bar-small-centered.scss +71 -0
- package/tokens/v0_192/_md-comp-top-app-bar-small.scss +67 -0
- package/tokens/v0_192/_md-ref-palette.scss +109 -0
- package/tokens/v0_192/_md-ref-typeface.scss +23 -0
- package/tokens/v0_192/_md-sys-color.scss +135 -0
- package/tokens/v0_192/_md-sys-elevation.scss +24 -0
- package/tokens/v0_192/_md-sys-motion.scss +55 -0
- package/tokens/v0_192/_md-sys-shape.scss +33 -0
- package/tokens/v0_192/_md-sys-state.scss +22 -0
- package/tokens/v0_192/_md-sys-typescale.scss +286 -0
- package/tokens/v0_192/index.test.css +1 -0
- package/tokens/v0_192/index.test.css.map +1 -0
- package/tokens/v0_192/index.test.scss +584 -0
- package/tokens/v0_192/lib.test.css +1 -0
- package/tokens/v0_192/lib.test.css.map +1 -0
- package/tokens/v0_192/lib.test.scss +663 -0
- package/utils/storybook/getStorybookHelpers.js +0 -1
- package/utils/storybook/getStorybookHelpers.js.map +1 -1
- package/utils/storybook/scopedWcDecorator.js +1 -0
- package/utils/storybook/scopedWcDecorator.js.map +1 -1
- package/utils/storybook/stories/components/knob-ui-components.d.ts +103 -0
- package/utils/storybook/stories/components/knob-ui-components.js +414 -0
- package/utils/storybook/stories/components/knob-ui-components.js.map +1 -0
- package/utils/storybook/stories/components/stories-renderer.d.ts +40 -0
- package/utils/storybook/stories/components/stories-renderer.js +204 -0
- package/utils/storybook/stories/components/stories-renderer.js.map +1 -0
- package/utils/storybook/stories/components/story-knob-panel.d.ts +53 -0
- package/utils/storybook/stories/components/story-knob-panel.js +333 -0
- package/utils/storybook/stories/components/story-knob-panel.js.map +1 -0
- package/utils/storybook/stories/components/story-renderer.d.ts +27 -0
- package/utils/storybook/stories/components/story-renderer.js +84 -0
- package/utils/storybook/stories/components/story-renderer.js.map +1 -0
- package/utils/storybook/stories/index.d.ts +8 -0
- package/utils/storybook/stories/index.js +11 -0
- package/utils/storybook/stories/index.js.map +1 -0
- package/utils/storybook/stories/knobs.d.ts +143 -0
- package/utils/storybook/stories/knobs.js +177 -0
- package/utils/storybook/stories/knobs.js.map +1 -0
- package/utils/storybook/stories/material-collection.d.ts +75 -0
- package/utils/storybook/stories/material-collection.js +59 -0
- package/utils/storybook/stories/material-collection.js.map +1 -0
- package/utils/storybook/stories/story.d.ts +85 -0
- package/utils/storybook/stories/story.js +142 -0
- package/utils/storybook/stories/story.js.map +1 -0
- package/utils/storybook/stories/theme-loader.d.ts +13 -0
- package/utils/storybook/stories/theme-loader.js +43 -0
- package/utils/storybook/stories/theme-loader.js.map +1 -0
- package/utils/storybook/themingDecorator.d.ts +15 -2
|
@@ -0,0 +1,663 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 Google LLC
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
//
|
|
5
|
+
//
|
|
6
|
+
// !!! THIS FILE WAS AUTOMATICALLY GENERATED !!!
|
|
7
|
+
// !!! DO NOT MODIFY IT BY HAND !!!
|
|
8
|
+
//
|
|
9
|
+
|
|
10
|
+
@use 'true' as test;
|
|
11
|
+
|
|
12
|
+
@use './md-comp-assist-chip';
|
|
13
|
+
@use './md-comp-badge';
|
|
14
|
+
@use './md-comp-banner';
|
|
15
|
+
@use './md-comp-bottom-app-bar';
|
|
16
|
+
@use './md-comp-carousel-item';
|
|
17
|
+
@use './md-comp-checkbox';
|
|
18
|
+
@use './md-comp-circular-progress-indicator';
|
|
19
|
+
@use './md-comp-data-table';
|
|
20
|
+
@use './md-comp-date-input-modal';
|
|
21
|
+
@use './md-comp-date-picker-docked';
|
|
22
|
+
@use './md-comp-date-picker-modal';
|
|
23
|
+
@use './md-comp-dialog';
|
|
24
|
+
@use './md-comp-divider';
|
|
25
|
+
@use './md-comp-elevated-button';
|
|
26
|
+
@use './md-comp-elevated-card';
|
|
27
|
+
@use './md-comp-extended-fab-branded';
|
|
28
|
+
@use './md-comp-extended-fab-primary';
|
|
29
|
+
@use './md-comp-extended-fab-secondary';
|
|
30
|
+
@use './md-comp-extended-fab-surface';
|
|
31
|
+
@use './md-comp-extended-fab-tertiary';
|
|
32
|
+
@use './md-comp-fab-branded';
|
|
33
|
+
@use './md-comp-fab-branded-large';
|
|
34
|
+
@use './md-comp-fab-primary';
|
|
35
|
+
@use './md-comp-fab-primary-large';
|
|
36
|
+
@use './md-comp-fab-primary-small';
|
|
37
|
+
@use './md-comp-fab-secondary';
|
|
38
|
+
@use './md-comp-fab-secondary-large';
|
|
39
|
+
@use './md-comp-fab-secondary-small';
|
|
40
|
+
@use './md-comp-fab-surface';
|
|
41
|
+
@use './md-comp-fab-surface-large';
|
|
42
|
+
@use './md-comp-fab-surface-small';
|
|
43
|
+
@use './md-comp-fab-tertiary';
|
|
44
|
+
@use './md-comp-fab-tertiary-large';
|
|
45
|
+
@use './md-comp-fab-tertiary-small';
|
|
46
|
+
@use './md-comp-filled-autocomplete';
|
|
47
|
+
@use './md-comp-filled-button';
|
|
48
|
+
@use './md-comp-filled-card';
|
|
49
|
+
@use './md-comp-filled-icon-button';
|
|
50
|
+
@use './md-comp-filled-menu-button';
|
|
51
|
+
@use './md-comp-filled-select';
|
|
52
|
+
@use './md-comp-filled-text-field';
|
|
53
|
+
@use './md-comp-filled-tonal-button';
|
|
54
|
+
@use './md-comp-filled-tonal-icon-button';
|
|
55
|
+
@use './md-comp-filter-chip';
|
|
56
|
+
@use './md-comp-full-screen-dialog';
|
|
57
|
+
@use './md-comp-icon-button';
|
|
58
|
+
@use './md-comp-input-chip';
|
|
59
|
+
@use './md-comp-linear-progress-indicator';
|
|
60
|
+
@use './md-comp-list';
|
|
61
|
+
@use './md-comp-menu';
|
|
62
|
+
@use './md-comp-navigation-bar';
|
|
63
|
+
@use './md-comp-navigation-drawer';
|
|
64
|
+
@use './md-comp-navigation-rail';
|
|
65
|
+
@use './md-comp-outlined-autocomplete';
|
|
66
|
+
@use './md-comp-outlined-button';
|
|
67
|
+
@use './md-comp-outlined-card';
|
|
68
|
+
@use './md-comp-outlined-icon-button';
|
|
69
|
+
@use './md-comp-outlined-menu-button';
|
|
70
|
+
@use './md-comp-outlined-segmented-button';
|
|
71
|
+
@use './md-comp-outlined-select';
|
|
72
|
+
@use './md-comp-outlined-text-field';
|
|
73
|
+
@use './md-comp-plain-tooltip';
|
|
74
|
+
@use './md-comp-primary-navigation-tab';
|
|
75
|
+
@use './md-comp-radio-button';
|
|
76
|
+
@use './md-comp-rich-tooltip';
|
|
77
|
+
@use './md-comp-scrim';
|
|
78
|
+
@use './md-comp-search-bar';
|
|
79
|
+
@use './md-comp-search-view';
|
|
80
|
+
@use './md-comp-secondary-navigation-tab';
|
|
81
|
+
@use './md-comp-sheet-bottom';
|
|
82
|
+
@use './md-comp-sheet-floating';
|
|
83
|
+
@use './md-comp-sheet-side';
|
|
84
|
+
@use './md-comp-slider';
|
|
85
|
+
@use './md-comp-snackbar';
|
|
86
|
+
@use './md-comp-standard-menu-button';
|
|
87
|
+
@use './md-comp-suggestion-chip';
|
|
88
|
+
@use './md-comp-switch';
|
|
89
|
+
@use './md-comp-text-button';
|
|
90
|
+
@use './md-comp-time-input';
|
|
91
|
+
@use './md-comp-time-picker';
|
|
92
|
+
@use './md-comp-top-app-bar-large';
|
|
93
|
+
@use './md-comp-top-app-bar-medium';
|
|
94
|
+
@use './md-comp-top-app-bar-small';
|
|
95
|
+
@use './md-comp-top-app-bar-small-centered';
|
|
96
|
+
@use './md-ref-palette';
|
|
97
|
+
@use './md-ref-typeface';
|
|
98
|
+
@use './md-sys-color';
|
|
99
|
+
@use './md-sys-elevation';
|
|
100
|
+
@use './md-sys-motion';
|
|
101
|
+
@use './md-sys-shape';
|
|
102
|
+
@use './md-sys-state';
|
|
103
|
+
@use './md-sys-typescale';
|
|
104
|
+
|
|
105
|
+
@include test.describe('lib') {
|
|
106
|
+
@include test.describe('md-comp-assist-chip.values') {
|
|
107
|
+
@include test.it('should return non-empty map') {
|
|
108
|
+
@include test.assert-true(md-comp-assist-chip.values());
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@include test.describe('md-comp-badge.values') {
|
|
113
|
+
@include test.it('should return non-empty map') {
|
|
114
|
+
@include test.assert-true(md-comp-badge.values());
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@include test.describe('md-comp-banner.values') {
|
|
119
|
+
@include test.it('should return non-empty map') {
|
|
120
|
+
@include test.assert-true(md-comp-banner.values());
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@include test.describe('md-comp-bottom-app-bar.values') {
|
|
125
|
+
@include test.it('should return non-empty map') {
|
|
126
|
+
@include test.assert-true(md-comp-bottom-app-bar.values());
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@include test.describe('md-comp-carousel-item.values') {
|
|
131
|
+
@include test.it('should return non-empty map') {
|
|
132
|
+
@include test.assert-true(md-comp-carousel-item.values());
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@include test.describe('md-comp-checkbox.values') {
|
|
137
|
+
@include test.it('should return non-empty map') {
|
|
138
|
+
@include test.assert-true(md-comp-checkbox.values());
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@include test.describe('md-comp-circular-progress-indicator.values') {
|
|
143
|
+
@include test.it('should return non-empty map') {
|
|
144
|
+
@include test.assert-true(md-comp-circular-progress-indicator.values());
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@include test.describe('md-comp-data-table.values') {
|
|
149
|
+
@include test.it('should return non-empty map') {
|
|
150
|
+
@include test.assert-true(md-comp-data-table.values());
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@include test.describe('md-comp-date-input-modal.values') {
|
|
155
|
+
@include test.it('should return non-empty map') {
|
|
156
|
+
@include test.assert-true(md-comp-date-input-modal.values());
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
@include test.describe('md-comp-date-picker-docked.values') {
|
|
161
|
+
@include test.it('should return non-empty map') {
|
|
162
|
+
@include test.assert-true(md-comp-date-picker-docked.values());
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
@include test.describe('md-comp-date-picker-modal.values') {
|
|
167
|
+
@include test.it('should return non-empty map') {
|
|
168
|
+
@include test.assert-true(md-comp-date-picker-modal.values());
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
@include test.describe('md-comp-dialog.values') {
|
|
173
|
+
@include test.it('should return non-empty map') {
|
|
174
|
+
@include test.assert-true(md-comp-dialog.values());
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@include test.describe('md-comp-divider.values') {
|
|
179
|
+
@include test.it('should return non-empty map') {
|
|
180
|
+
@include test.assert-true(md-comp-divider.values());
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
@include test.describe('md-comp-elevated-button.values') {
|
|
185
|
+
@include test.it('should return non-empty map') {
|
|
186
|
+
@include test.assert-true(md-comp-elevated-button.values());
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@include test.describe('md-comp-elevated-card.values') {
|
|
191
|
+
@include test.it('should return non-empty map') {
|
|
192
|
+
@include test.assert-true(md-comp-elevated-card.values());
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@include test.describe('md-comp-extended-fab-branded.values') {
|
|
197
|
+
@include test.it('should return non-empty map') {
|
|
198
|
+
@include test.assert-true(md-comp-extended-fab-branded.values());
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
@include test.describe('md-comp-extended-fab-primary.values') {
|
|
203
|
+
@include test.it('should return non-empty map') {
|
|
204
|
+
@include test.assert-true(md-comp-extended-fab-primary.values());
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
@include test.describe('md-comp-extended-fab-secondary.values') {
|
|
209
|
+
@include test.it('should return non-empty map') {
|
|
210
|
+
@include test.assert-true(md-comp-extended-fab-secondary.values());
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
@include test.describe('md-comp-extended-fab-surface.values') {
|
|
215
|
+
@include test.it('should return non-empty map') {
|
|
216
|
+
@include test.assert-true(md-comp-extended-fab-surface.values());
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
@include test.describe('md-comp-extended-fab-tertiary.values') {
|
|
221
|
+
@include test.it('should return non-empty map') {
|
|
222
|
+
@include test.assert-true(md-comp-extended-fab-tertiary.values());
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
@include test.describe('md-comp-fab-branded.values') {
|
|
227
|
+
@include test.it('should return non-empty map') {
|
|
228
|
+
@include test.assert-true(md-comp-fab-branded.values());
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@include test.describe('md-comp-fab-branded-large.values') {
|
|
233
|
+
@include test.it('should return non-empty map') {
|
|
234
|
+
@include test.assert-true(md-comp-fab-branded-large.values());
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
@include test.describe('md-comp-fab-primary.values') {
|
|
239
|
+
@include test.it('should return non-empty map') {
|
|
240
|
+
@include test.assert-true(md-comp-fab-primary.values());
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
@include test.describe('md-comp-fab-primary-large.values') {
|
|
245
|
+
@include test.it('should return non-empty map') {
|
|
246
|
+
@include test.assert-true(md-comp-fab-primary-large.values());
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
@include test.describe('md-comp-fab-primary-small.values') {
|
|
251
|
+
@include test.it('should return non-empty map') {
|
|
252
|
+
@include test.assert-true(md-comp-fab-primary-small.values());
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
@include test.describe('md-comp-fab-secondary.values') {
|
|
257
|
+
@include test.it('should return non-empty map') {
|
|
258
|
+
@include test.assert-true(md-comp-fab-secondary.values());
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
@include test.describe('md-comp-fab-secondary-large.values') {
|
|
263
|
+
@include test.it('should return non-empty map') {
|
|
264
|
+
@include test.assert-true(md-comp-fab-secondary-large.values());
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
@include test.describe('md-comp-fab-secondary-small.values') {
|
|
269
|
+
@include test.it('should return non-empty map') {
|
|
270
|
+
@include test.assert-true(md-comp-fab-secondary-small.values());
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
@include test.describe('md-comp-fab-surface.values') {
|
|
275
|
+
@include test.it('should return non-empty map') {
|
|
276
|
+
@include test.assert-true(md-comp-fab-surface.values());
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
@include test.describe('md-comp-fab-surface-large.values') {
|
|
281
|
+
@include test.it('should return non-empty map') {
|
|
282
|
+
@include test.assert-true(md-comp-fab-surface-large.values());
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
@include test.describe('md-comp-fab-surface-small.values') {
|
|
287
|
+
@include test.it('should return non-empty map') {
|
|
288
|
+
@include test.assert-true(md-comp-fab-surface-small.values());
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
@include test.describe('md-comp-fab-tertiary.values') {
|
|
293
|
+
@include test.it('should return non-empty map') {
|
|
294
|
+
@include test.assert-true(md-comp-fab-tertiary.values());
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
@include test.describe('md-comp-fab-tertiary-large.values') {
|
|
299
|
+
@include test.it('should return non-empty map') {
|
|
300
|
+
@include test.assert-true(md-comp-fab-tertiary-large.values());
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
@include test.describe('md-comp-fab-tertiary-small.values') {
|
|
305
|
+
@include test.it('should return non-empty map') {
|
|
306
|
+
@include test.assert-true(md-comp-fab-tertiary-small.values());
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
@include test.describe('md-comp-filled-autocomplete.values') {
|
|
311
|
+
@include test.it('should return non-empty map') {
|
|
312
|
+
@include test.assert-true(md-comp-filled-autocomplete.values());
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
@include test.describe('md-comp-filled-button.values') {
|
|
317
|
+
@include test.it('should return non-empty map') {
|
|
318
|
+
@include test.assert-true(md-comp-filled-button.values());
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
@include test.describe('md-comp-filled-card.values') {
|
|
323
|
+
@include test.it('should return non-empty map') {
|
|
324
|
+
@include test.assert-true(md-comp-filled-card.values());
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
@include test.describe('md-comp-filled-icon-button.values') {
|
|
329
|
+
@include test.it('should return non-empty map') {
|
|
330
|
+
@include test.assert-true(md-comp-filled-icon-button.values());
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
@include test.describe('md-comp-filled-menu-button.values') {
|
|
335
|
+
@include test.it('should return non-empty map') {
|
|
336
|
+
@include test.assert-true(md-comp-filled-menu-button.values());
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
@include test.describe('md-comp-filled-select.values') {
|
|
341
|
+
@include test.it('should return non-empty map') {
|
|
342
|
+
@include test.assert-true(md-comp-filled-select.values());
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
@include test.describe('md-comp-filled-text-field.values') {
|
|
347
|
+
@include test.it('should return non-empty map') {
|
|
348
|
+
@include test.assert-true(md-comp-filled-text-field.values());
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
@include test.describe('md-comp-filled-tonal-button.values') {
|
|
353
|
+
@include test.it('should return non-empty map') {
|
|
354
|
+
@include test.assert-true(md-comp-filled-tonal-button.values());
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
@include test.describe('md-comp-filled-tonal-icon-button.values') {
|
|
359
|
+
@include test.it('should return non-empty map') {
|
|
360
|
+
@include test.assert-true(md-comp-filled-tonal-icon-button.values());
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
@include test.describe('md-comp-filter-chip.values') {
|
|
365
|
+
@include test.it('should return non-empty map') {
|
|
366
|
+
@include test.assert-true(md-comp-filter-chip.values());
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
@include test.describe('md-comp-full-screen-dialog.values') {
|
|
371
|
+
@include test.it('should return non-empty map') {
|
|
372
|
+
@include test.assert-true(md-comp-full-screen-dialog.values());
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
@include test.describe('md-comp-icon-button.values') {
|
|
377
|
+
@include test.it('should return non-empty map') {
|
|
378
|
+
@include test.assert-true(md-comp-icon-button.values());
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
@include test.describe('md-comp-input-chip.values') {
|
|
383
|
+
@include test.it('should return non-empty map') {
|
|
384
|
+
@include test.assert-true(md-comp-input-chip.values());
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
@include test.describe('md-comp-linear-progress-indicator.values') {
|
|
389
|
+
@include test.it('should return non-empty map') {
|
|
390
|
+
@include test.assert-true(md-comp-linear-progress-indicator.values());
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
@include test.describe('md-comp-list.values') {
|
|
395
|
+
@include test.it('should return non-empty map') {
|
|
396
|
+
@include test.assert-true(md-comp-list.values());
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
@include test.describe('md-comp-menu.values') {
|
|
401
|
+
@include test.it('should return non-empty map') {
|
|
402
|
+
@include test.assert-true(md-comp-menu.values());
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
@include test.describe('md-comp-navigation-bar.values') {
|
|
407
|
+
@include test.it('should return non-empty map') {
|
|
408
|
+
@include test.assert-true(md-comp-navigation-bar.values());
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
@include test.describe('md-comp-navigation-drawer.values') {
|
|
413
|
+
@include test.it('should return non-empty map') {
|
|
414
|
+
@include test.assert-true(md-comp-navigation-drawer.values());
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
@include test.describe('md-comp-navigation-rail.values') {
|
|
419
|
+
@include test.it('should return non-empty map') {
|
|
420
|
+
@include test.assert-true(md-comp-navigation-rail.values());
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
@include test.describe('md-comp-outlined-autocomplete.values') {
|
|
425
|
+
@include test.it('should return non-empty map') {
|
|
426
|
+
@include test.assert-true(md-comp-outlined-autocomplete.values());
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
@include test.describe('md-comp-outlined-button.values') {
|
|
431
|
+
@include test.it('should return non-empty map') {
|
|
432
|
+
@include test.assert-true(md-comp-outlined-button.values());
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
@include test.describe('md-comp-outlined-card.values') {
|
|
437
|
+
@include test.it('should return non-empty map') {
|
|
438
|
+
@include test.assert-true(md-comp-outlined-card.values());
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
@include test.describe('md-comp-outlined-icon-button.values') {
|
|
443
|
+
@include test.it('should return non-empty map') {
|
|
444
|
+
@include test.assert-true(md-comp-outlined-icon-button.values());
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
@include test.describe('md-comp-outlined-menu-button.values') {
|
|
449
|
+
@include test.it('should return non-empty map') {
|
|
450
|
+
@include test.assert-true(md-comp-outlined-menu-button.values());
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
@include test.describe('md-comp-outlined-segmented-button.values') {
|
|
455
|
+
@include test.it('should return non-empty map') {
|
|
456
|
+
@include test.assert-true(md-comp-outlined-segmented-button.values());
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
@include test.describe('md-comp-outlined-select.values') {
|
|
461
|
+
@include test.it('should return non-empty map') {
|
|
462
|
+
@include test.assert-true(md-comp-outlined-select.values());
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
@include test.describe('md-comp-outlined-text-field.values') {
|
|
467
|
+
@include test.it('should return non-empty map') {
|
|
468
|
+
@include test.assert-true(md-comp-outlined-text-field.values());
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
@include test.describe('md-comp-plain-tooltip.values') {
|
|
473
|
+
@include test.it('should return non-empty map') {
|
|
474
|
+
@include test.assert-true(md-comp-plain-tooltip.values());
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
@include test.describe('md-comp-primary-navigation-tab.values') {
|
|
479
|
+
@include test.it('should return non-empty map') {
|
|
480
|
+
@include test.assert-true(md-comp-primary-navigation-tab.values());
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
@include test.describe('md-comp-radio-button.values') {
|
|
485
|
+
@include test.it('should return non-empty map') {
|
|
486
|
+
@include test.assert-true(md-comp-radio-button.values());
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
@include test.describe('md-comp-rich-tooltip.values') {
|
|
491
|
+
@include test.it('should return non-empty map') {
|
|
492
|
+
@include test.assert-true(md-comp-rich-tooltip.values());
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
@include test.describe('md-comp-scrim.values') {
|
|
497
|
+
@include test.it('should return non-empty map') {
|
|
498
|
+
@include test.assert-true(md-comp-scrim.values());
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
@include test.describe('md-comp-search-bar.values') {
|
|
503
|
+
@include test.it('should return non-empty map') {
|
|
504
|
+
@include test.assert-true(md-comp-search-bar.values());
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
@include test.describe('md-comp-search-view.values') {
|
|
509
|
+
@include test.it('should return non-empty map') {
|
|
510
|
+
@include test.assert-true(md-comp-search-view.values());
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
@include test.describe('md-comp-secondary-navigation-tab.values') {
|
|
515
|
+
@include test.it('should return non-empty map') {
|
|
516
|
+
@include test.assert-true(md-comp-secondary-navigation-tab.values());
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
@include test.describe('md-comp-sheet-bottom.values') {
|
|
521
|
+
@include test.it('should return non-empty map') {
|
|
522
|
+
@include test.assert-true(md-comp-sheet-bottom.values());
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
@include test.describe('md-comp-sheet-floating.values') {
|
|
527
|
+
@include test.it('should return non-empty map') {
|
|
528
|
+
@include test.assert-true(md-comp-sheet-floating.values());
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
@include test.describe('md-comp-sheet-side.values') {
|
|
533
|
+
@include test.it('should return non-empty map') {
|
|
534
|
+
@include test.assert-true(md-comp-sheet-side.values());
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
@include test.describe('md-comp-slider.values') {
|
|
539
|
+
@include test.it('should return non-empty map') {
|
|
540
|
+
@include test.assert-true(md-comp-slider.values());
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
@include test.describe('md-comp-snackbar.values') {
|
|
545
|
+
@include test.it('should return non-empty map') {
|
|
546
|
+
@include test.assert-true(md-comp-snackbar.values());
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
@include test.describe('md-comp-standard-menu-button.values') {
|
|
551
|
+
@include test.it('should return non-empty map') {
|
|
552
|
+
@include test.assert-true(md-comp-standard-menu-button.values());
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
@include test.describe('md-comp-suggestion-chip.values') {
|
|
557
|
+
@include test.it('should return non-empty map') {
|
|
558
|
+
@include test.assert-true(md-comp-suggestion-chip.values());
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
@include test.describe('md-comp-switch.values') {
|
|
563
|
+
@include test.it('should return non-empty map') {
|
|
564
|
+
@include test.assert-true(md-comp-switch.values());
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
@include test.describe('md-comp-text-button.values') {
|
|
569
|
+
@include test.it('should return non-empty map') {
|
|
570
|
+
@include test.assert-true(md-comp-text-button.values());
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
@include test.describe('md-comp-time-input.values') {
|
|
575
|
+
@include test.it('should return non-empty map') {
|
|
576
|
+
@include test.assert-true(md-comp-time-input.values());
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
@include test.describe('md-comp-time-picker.values') {
|
|
581
|
+
@include test.it('should return non-empty map') {
|
|
582
|
+
@include test.assert-true(md-comp-time-picker.values());
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
@include test.describe('md-comp-top-app-bar-large.values') {
|
|
587
|
+
@include test.it('should return non-empty map') {
|
|
588
|
+
@include test.assert-true(md-comp-top-app-bar-large.values());
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
@include test.describe('md-comp-top-app-bar-medium.values') {
|
|
593
|
+
@include test.it('should return non-empty map') {
|
|
594
|
+
@include test.assert-true(md-comp-top-app-bar-medium.values());
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
@include test.describe('md-comp-top-app-bar-small.values') {
|
|
599
|
+
@include test.it('should return non-empty map') {
|
|
600
|
+
@include test.assert-true(md-comp-top-app-bar-small.values());
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
@include test.describe('md-comp-top-app-bar-small-centered.values') {
|
|
605
|
+
@include test.it('should return non-empty map') {
|
|
606
|
+
@include test.assert-true(md-comp-top-app-bar-small-centered.values());
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
@include test.describe('md-ref-palette.values') {
|
|
611
|
+
@include test.it('should return non-empty map') {
|
|
612
|
+
@include test.assert-true(md-ref-palette.values());
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
@include test.describe('md-ref-typeface.values') {
|
|
617
|
+
@include test.it('should return non-empty map') {
|
|
618
|
+
@include test.assert-true(md-ref-typeface.values());
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
@include test.describe('md-sys-color.values-dark') {
|
|
623
|
+
@include test.it('should return non-empty map') {
|
|
624
|
+
@include test.assert-true(md-sys-color.values-dark());
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
@include test.describe('md-sys-color.values-light') {
|
|
629
|
+
@include test.it('should return non-empty map') {
|
|
630
|
+
@include test.assert-true(md-sys-color.values-light());
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
@include test.describe('md-sys-elevation.values') {
|
|
635
|
+
@include test.it('should return non-empty map') {
|
|
636
|
+
@include test.assert-true(md-sys-elevation.values());
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
@include test.describe('md-sys-motion.values') {
|
|
641
|
+
@include test.it('should return non-empty map') {
|
|
642
|
+
@include test.assert-true(md-sys-motion.values());
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
@include test.describe('md-sys-shape.values') {
|
|
647
|
+
@include test.it('should return non-empty map') {
|
|
648
|
+
@include test.assert-true(md-sys-shape.values());
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
@include test.describe('md-sys-state.values') {
|
|
653
|
+
@include test.it('should return non-empty map') {
|
|
654
|
+
@include test.assert-true(md-sys-state.values());
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
@include test.describe('md-sys-typescale.values') {
|
|
659
|
+
@include test.it('should return non-empty map') {
|
|
660
|
+
@include test.assert-true(md-sys-typescale.values());
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getStorybookHelpers.js","sourceRoot":"","sources":["getStorybookHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,IAAI,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAGpG,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAG3B;;;;GAIG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAsB,CACzD,OAAO,EACP,OAAO,EACP,EAAE;IACF,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC;IAEhC,MAAM,oBAAoB,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC;SAC9C,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;SACvC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,KAAK,KAAK,GAAG,CAAC;SACjE,IAAI,CAAC,IAAI,CAAC,CAAC;IACd,MAAM,MAAM,GAAG,QAAQ,oBAAoB,KAAK,CAAC;IACjD,OAAO,IAAI,CAAA;;QAEL,MAAM;;MAER,OAAO,EAAE;GACZ,CAAC;AACJ,CAAC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,OAAe,EACf,OAAsB,EACL,EAAE;IACnB,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,4BAA4B,CACxD,OAAO,EACP,OAAO,CACR,CAAC;IAEF,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,CACrD,CACE,GAA6D,EAC7D,CAAC,UAAU,EAAE,YAAY,CAAC,EAC1B,EAAE;QACF,IAAI,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;YAChC,GAAG,CAAC,UAAU,CAAC,GAAG;gBAChB,GAAG,YAAY;gBACf,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE;gBAClE,KAAK,EAAE;oBACL,
|
|
1
|
+
{"version":3,"file":"getStorybookHelpers.js","sourceRoot":"","sources":["getStorybookHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,IAAI,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAGpG,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAG3B;;;;GAIG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAsB,CACzD,OAAO,EACP,OAAO,EACP,EAAE;IACF,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC;IAEhC,MAAM,oBAAoB,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC;SAC9C,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;SACvC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,KAAK,KAAK,GAAG,CAAC;SACjE,IAAI,CAAC,IAAI,CAAC,CAAC;IACd,MAAM,MAAM,GAAG,QAAQ,oBAAoB,KAAK,CAAC;IACjD,OAAO,IAAI,CAAA;;QAEL,MAAM;;MAER,OAAO,EAAE;GACZ,CAAC;AACJ,CAAC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,OAAe,EACf,OAAsB,EACL,EAAE;IACnB,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,4BAA4B,CACxD,OAAO,EACP,OAAO,CACR,CAAC;IAEF,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,CACrD,CACE,GAA6D,EAC7D,CAAC,UAAU,EAAE,YAAY,CAAC,EAC1B,EAAE;QACF,IAAI,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;YAChC,GAAG,CAAC,UAAU,CAAC,GAAG;gBAChB,GAAG,YAAY;gBACf,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE;gBAClE,KAAK,EAAE;oBACL,QAAQ,EAAE,eAAe;iBAC1B;aACF,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,GAAG,CAAC,UAAU,CAAC,GAAG,YAAY,CAAC;QACjC,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC,EACD,EAA8D,CAC/D,CAAC;IACF,OAAO;QACL,GAAG,IAAI;QACP,QAAQ,EAAE,eAAe;KACP,CAAC;AACvB,CAAC,CAAC","sourcesContent":["import { getStorybookHelpers as wcToolkitGetStorybookHelpers } from '@wc-toolkit/storybook-helpers';\nimport type { StoryOptions, StoryHelpers } from '@wc-toolkit/storybook-helpers';\n\nimport { html } from 'lit';\nimport { DecoratorFunction } from 'storybook/internal/types';\n\n/*\n * This is a Decorator/Helper utility for enriching Storybook stories with CSS variable support.\n * It allows you to define CSS variables in JSDocs, which are then included in the custom-element-manifest.json\n * which is then used to extract the CSS variables and make them available in Storybook.\n */\n\n/*\n * The decorator injects a style block into the story that sets these CSS variables based on the args provided in the story.\n */\nexport const storybookHelperDecorator: DecoratorFunction = (\n storyFn,\n context,\n) => {\n const args = context.args || {};\n\n const variableDeclarations = Object.entries(args)\n .filter(([key]) => key.startsWith('--'))\n .map(([key, value]) => `${key.replace(/-state$/, '')}: ${value};`)\n .join('\\n');\n const styles = `* {\\n${variableDeclarations}\\n}`;\n return html`\n <style>\n ${styles}\n </style>\n ${storyFn()}\n `;\n};\n\n/*\n * The \"getStorybookHelpers\" is a thin wrapper around the wcToolkit's getStorybookHelpers function,\n * which adds support for CSS variables in the argTypes.\n * It modifies the argTypes to include controls for CSS variables, allowing users to change them in the Storybook UI.\n */\nexport const getStorybookHelpers = <T>(\n tagName: string,\n options?: StoryOptions,\n): StoryHelpers<T> => {\n const { argTypes, ...rest } = wcToolkitGetStorybookHelpers<T>(\n tagName,\n options,\n );\n\n const updatedArgTypes = Object.entries(argTypes).reduce(\n (\n acc: Record<string, (typeof argTypes)[keyof typeof argTypes]>,\n [argTypeKey, argTypeValue],\n ) => {\n if (argTypeKey.startsWith('--')) {\n acc[argTypeKey] = {\n ...argTypeValue,\n control: { type: argTypeKey.includes('color') ? 'color' : 'text' },\n table: {\n category: 'CSS Variables',\n },\n };\n } else {\n acc[argTypeKey] = argTypeValue;\n }\n return acc;\n },\n {} as Record<string, (typeof argTypes)[keyof typeof argTypes]>,\n );\n return {\n ...rest,\n argTypes: updatedArgTypes,\n } as StoryHelpers<T>;\n};\n"]}
|