@material/web 0.1.0-alpha.0
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/LICENSE +202 -0
- package/README.md +34 -0
- package/actionelement/action-element.d.ts +79 -0
- package/actionelement/action-element.js +97 -0
- package/actionelement/action-element.js.map +1 -0
- package/badge/badge.d.ts +19 -0
- package/badge/badge.js +22 -0
- package/badge/badge.js.map +1 -0
- package/badge/lib/_badge-theme.scss +118 -0
- package/badge/lib/_badge.scss +41 -0
- package/badge/lib/badge-styles.css.d.ts +1 -0
- package/badge/lib/badge-styles.css.js +9 -0
- package/badge/lib/badge-styles.css.js.map +1 -0
- package/badge/lib/badge-styles.scss +16 -0
- package/badge/lib/badge.d.ts +15 -0
- package/badge/lib/badge.js +31 -0
- package/badge/lib/badge.js.map +1 -0
- package/button/_elevated-button.scss +8 -0
- package/button/_filled-button.scss +8 -0
- package/button/_outlined-button.scss +8 -0
- package/button/_text-button.scss +8 -0
- package/button/_tonal-button.scss +8 -0
- package/button/elevated-button.d.ts +19 -0
- package/button/elevated-button.js +24 -0
- package/button/elevated-button.js.map +1 -0
- package/button/elevated-link-button.d.ts +19 -0
- package/button/elevated-link-button.js +24 -0
- package/button/elevated-link-button.js.map +1 -0
- package/button/filled-button.d.ts +19 -0
- package/button/filled-button.js +23 -0
- package/button/filled-button.js.map +1 -0
- package/button/filled-link-button.d.ts +19 -0
- package/button/filled-link-button.js +23 -0
- package/button/filled-link-button.js.map +1 -0
- package/button/harness.d.ts +13 -0
- package/button/harness.js +16 -0
- package/button/harness.js.map +1 -0
- package/button/lib/_button-theme.scss +204 -0
- package/button/lib/_button.scss +88 -0
- package/button/lib/_elevated-button-theme.scss +53 -0
- package/button/lib/_elevated-button.scss +8 -0
- package/button/lib/_elevation-theme.scss +94 -0
- package/button/lib/_filled-button-theme.scss +53 -0
- package/button/lib/_filled-button.scss +8 -0
- package/button/lib/_icon-theme.scss +67 -0
- package/button/lib/_icon.scss +49 -0
- package/button/lib/_outlined-button-theme.scss +112 -0
- package/button/lib/_outlined-button.scss +25 -0
- package/button/lib/_text-button-theme.scss +57 -0
- package/button/lib/_text-button.scss +8 -0
- package/button/lib/_tonal-button-theme.scss +53 -0
- package/button/lib/_tonal-button.scss +8 -0
- package/button/lib/_touch-target.scss +16 -0
- package/button/lib/button.d.ts +76 -0
- package/button/lib/button.js +238 -0
- package/button/lib/button.js.map +1 -0
- package/button/lib/elevated-button.d.ts +15 -0
- package/button/lib/elevated-button.js +22 -0
- package/button/lib/elevated-button.js.map +1 -0
- package/button/lib/elevated-link-button.d.ts +15 -0
- package/button/lib/elevated-link-button.js +22 -0
- package/button/lib/elevated-link-button.js.map +1 -0
- package/button/lib/elevated-styles.css.d.ts +1 -0
- package/button/lib/elevated-styles.css.js +9 -0
- package/button/lib/elevated-styles.css.js.map +1 -0
- package/button/lib/elevated-styles.scss +18 -0
- package/button/lib/filled-button.d.ts +12 -0
- package/button/lib/filled-button.js +17 -0
- package/button/lib/filled-button.js.map +1 -0
- package/button/lib/filled-link-button.d.ts +12 -0
- package/button/lib/filled-link-button.js +17 -0
- package/button/lib/filled-link-button.js.map +1 -0
- package/button/lib/filled-styles.css.d.ts +1 -0
- package/button/lib/filled-styles.css.js +9 -0
- package/button/lib/filled-styles.css.js.map +1 -0
- package/button/lib/filled-styles.scss +16 -0
- package/button/lib/link-button.d.ts +17 -0
- package/button/lib/link-button.js +53 -0
- package/button/lib/link-button.js.map +1 -0
- package/button/lib/outlined-button.d.ts +15 -0
- package/button/lib/outlined-button.js +22 -0
- package/button/lib/outlined-button.js.map +1 -0
- package/button/lib/outlined-link-button.d.ts +15 -0
- package/button/lib/outlined-link-button.js +22 -0
- package/button/lib/outlined-link-button.js.map +1 -0
- package/button/lib/outlined-styles.css.d.ts +1 -0
- package/button/lib/outlined-styles.css.js +9 -0
- package/button/lib/outlined-styles.css.js.map +1 -0
- package/button/lib/outlined-styles.scss +18 -0
- package/button/lib/shared-styles.css.d.ts +1 -0
- package/button/lib/shared-styles.css.js +9 -0
- package/button/lib/shared-styles.css.js.map +1 -0
- package/button/lib/shared-styles.scss +12 -0
- package/button/lib/state.d.ts +10 -0
- package/button/lib/state.js +7 -0
- package/button/lib/state.js.map +1 -0
- package/button/lib/text-button.d.ts +12 -0
- package/button/lib/text-button.js +17 -0
- package/button/lib/text-button.js.map +1 -0
- package/button/lib/text-link-button.d.ts +12 -0
- package/button/lib/text-link-button.js +17 -0
- package/button/lib/text-link-button.js.map +1 -0
- package/button/lib/text-styles.css.d.ts +1 -0
- package/button/lib/text-styles.css.js +9 -0
- package/button/lib/text-styles.css.js.map +1 -0
- package/button/lib/text-styles.scss +16 -0
- package/button/lib/tonal-button.d.ts +12 -0
- package/button/lib/tonal-button.js +17 -0
- package/button/lib/tonal-button.js.map +1 -0
- package/button/lib/tonal-link-button.d.ts +12 -0
- package/button/lib/tonal-link-button.js +17 -0
- package/button/lib/tonal-link-button.js.map +1 -0
- package/button/lib/tonal-styles.css.d.ts +1 -0
- package/button/lib/tonal-styles.css.js +9 -0
- package/button/lib/tonal-styles.css.js.map +1 -0
- package/button/lib/tonal-styles.scss +16 -0
- package/button/outlined-button.d.ts +19 -0
- package/button/outlined-button.js +23 -0
- package/button/outlined-button.js.map +1 -0
- package/button/outlined-link-button.d.ts +19 -0
- package/button/outlined-link-button.js +23 -0
- package/button/outlined-link-button.js.map +1 -0
- package/button/text-button.d.ts +19 -0
- package/button/text-button.js +23 -0
- package/button/text-button.js.map +1 -0
- package/button/text-link-button.d.ts +19 -0
- package/button/text-link-button.js +23 -0
- package/button/text-link-button.js.map +1 -0
- package/button/tonal-button.d.ts +19 -0
- package/button/tonal-button.js +23 -0
- package/button/tonal-button.js.map +1 -0
- package/button/tonal-link-button.d.ts +19 -0
- package/button/tonal-link-button.js +23 -0
- package/button/tonal-link-button.js.map +1 -0
- package/checkbox/_checkbox.scss +1 -0
- package/checkbox/checkbox.d.ts +15 -0
- package/checkbox/checkbox.js +18 -0
- package/checkbox/checkbox.js.map +1 -0
- package/checkbox/harness.d.ts +13 -0
- package/checkbox/harness.js +16 -0
- package/checkbox/harness.js.map +1 -0
- package/checkbox/lib/_checkbox-theme.scss +532 -0
- package/checkbox/lib/_checkbox.scss +424 -0
- package/checkbox/lib/checkbox-styles.css.d.ts +1 -0
- package/checkbox/lib/checkbox-styles.css.js +9 -0
- package/checkbox/lib/checkbox-styles.css.js.map +1 -0
- package/checkbox/lib/checkbox-styles.scss +15 -0
- package/checkbox/lib/checkbox.d.ts +56 -0
- package/checkbox/lib/checkbox.js +238 -0
- package/checkbox/lib/checkbox.js.map +1 -0
- package/chips/action/lib/action.d.ts +34 -0
- package/chips/action/lib/action.js +83 -0
- package/chips/action/lib/action.js.map +1 -0
- package/chips/action/lib/adapter.d.ts +21 -0
- package/chips/action/lib/adapter.js +7 -0
- package/chips/action/lib/adapter.js.map +1 -0
- package/chips/action/lib/constants.d.ts +62 -0
- package/chips/action/lib/constants.js +69 -0
- package/chips/action/lib/constants.js.map +1 -0
- package/chips/action/lib/foundation.d.ts +31 -0
- package/chips/action/lib/foundation.js +151 -0
- package/chips/action/lib/foundation.js.map +1 -0
- package/chips/action/lib/link-action.d.ts +17 -0
- package/chips/action/lib/link-action.js +43 -0
- package/chips/action/lib/link-action.js.map +1 -0
- package/chips/action/lib/presentational-action.d.ts +15 -0
- package/chips/action/lib/presentational-action.js +30 -0
- package/chips/action/lib/presentational-action.js.map +1 -0
- package/chips/action/lib/primary-action.d.ts +29 -0
- package/chips/action/lib/primary-action.js +83 -0
- package/chips/action/lib/primary-action.js.map +1 -0
- package/chips/action/lib/primary-foundation.d.ts +16 -0
- package/chips/action/lib/primary-foundation.js +24 -0
- package/chips/action/lib/primary-foundation.js.map +1 -0
- package/chips/action/lib/selectable-action.d.ts +17 -0
- package/chips/action/lib/selectable-action.js +57 -0
- package/chips/action/lib/selectable-action.js.map +1 -0
- package/chips/action/lib/trailing-action.d.ts +20 -0
- package/chips/action/lib/trailing-action.js +62 -0
- package/chips/action/lib/trailing-action.js.map +1 -0
- package/chips/action/lib/trailing-foundation.d.ts +16 -0
- package/chips/action/lib/trailing-foundation.js +23 -0
- package/chips/action/lib/trailing-foundation.js.map +1 -0
- package/chips/action/lib/types.d.ts +23 -0
- package/chips/action/lib/types.js +7 -0
- package/chips/action/lib/types.js.map +1 -0
- package/chips/chip/lib/_assist-chip-theme.scss +101 -0
- package/chips/chip/lib/_chip-theme.scss +1329 -0
- package/chips/chip/lib/_chip.scss +427 -0
- package/chips/chip/lib/_filter-chip-theme.scss +132 -0
- package/chips/chip/lib/_input-chip-theme.scss +103 -0
- package/chips/chip/lib/_suggestion-chip-theme.scss +94 -0
- package/chips/chip/lib/adapter.d.ts +50 -0
- package/chips/chip/lib/adapter.js +7 -0
- package/chips/chip/lib/adapter.js.map +1 -0
- package/chips/chip/lib/constants.d.ts +43 -0
- package/chips/chip/lib/constants.js +48 -0
- package/chips/chip/lib/constants.js.map +1 -0
- package/chips/chip/lib/foundation.d.ts +41 -0
- package/chips/chip/lib/foundation.js +256 -0
- package/chips/chip/lib/foundation.js.map +1 -0
- package/chips/chip/lib/types.d.ts +42 -0
- package/chips/chip/lib/types.js +7 -0
- package/chips/chip/lib/types.js.map +1 -0
- package/chips/chipset/lib/_chip-set-theme.scss +48 -0
- package/chips/chipset/lib/_chip-set.scss +46 -0
- package/chips/chipset/lib/adapter.d.ts +45 -0
- package/chips/chipset/lib/adapter.js +7 -0
- package/chips/chipset/lib/adapter.js.map +1 -0
- package/chips/chipset/lib/constants.d.ts +26 -0
- package/chips/chipset/lib/constants.js +30 -0
- package/chips/chipset/lib/constants.js.map +1 -0
- package/chips/chipset/lib/foundation.d.ts +68 -0
- package/chips/chipset/lib/foundation.js +316 -0
- package/chips/chipset/lib/foundation.js.map +1 -0
- package/chips/chipset/lib/types.d.ts +41 -0
- package/chips/chipset/lib/types.js +7 -0
- package/chips/chipset/lib/types.js.map +1 -0
- package/compat/animation/animationframe.d.ts +31 -0
- package/compat/animation/animationframe.js +65 -0
- package/compat/animation/animationframe.js.map +1 -0
- package/compat/base/aria-property.d.ts +39 -0
- package/compat/base/aria-property.js +93 -0
- package/compat/base/aria-property.js.map +1 -0
- package/compat/base/foundation.d.ts +44 -0
- package/compat/base/foundation.js +45 -0
- package/compat/base/foundation.js.map +1 -0
- package/compat/base/observer.d.ts +16 -0
- package/compat/base/observer.js +43 -0
- package/compat/base/observer.js.map +1 -0
- package/compat/base/utils.d.ts +7 -0
- package/compat/base/utils.js +39 -0
- package/compat/base/utils.js.map +1 -0
- package/compat/density/_density.scss +106 -0
- package/compat/dom/keyboard.d.ts +33 -0
- package/compat/dom/keyboard.js +109 -0
- package/compat/dom/keyboard.js.map +1 -0
- package/compat/theme/_color-palette.scss +277 -0
- package/compat/theme/_css.scss +92 -0
- package/compat/theme/_custom-properties.scss +309 -0
- package/compat/theme/_gss.scss +45 -0
- package/compat/theme/_keys.scss +507 -0
- package/compat/theme/_map-ext.scss +68 -0
- package/compat/theme/_replace.scss +108 -0
- package/compat/theme/_selector-ext.scss +522 -0
- package/compat/theme/_shadow-dom.scss +474 -0
- package/compat/theme/_state.scss +752 -0
- package/compat/theme/_theme-color.scss +344 -0
- package/compat/theme/_theme.scss +334 -0
- package/compat/touchtarget/_touch-target.scss +56 -0
- package/controller/action-controller.d.ts +147 -0
- package/controller/action-controller.js +286 -0
- package/controller/action-controller.js.map +1 -0
- package/controller/events.d.ts +27 -0
- package/controller/events.js +40 -0
- package/controller/events.js.map +1 -0
- package/controller/form-controller.d.ts +59 -0
- package/controller/form-controller.js +68 -0
- package/controller/form-controller.js.map +1 -0
- package/controller/foundation.d.ts +24 -0
- package/controller/foundation.js +18 -0
- package/controller/foundation.js.map +1 -0
- package/controller/observer-foundation.d.ts +25 -0
- package/controller/observer-foundation.js +37 -0
- package/controller/observer-foundation.js.map +1 -0
- package/controller/observer.d.ts +52 -0
- package/controller/observer.js +149 -0
- package/controller/observer.js.map +1 -0
- package/controller/string-converter.d.ts +9 -0
- package/controller/string-converter.js +14 -0
- package/controller/string-converter.js.map +1 -0
- package/decorators/aria-property.d.ts +32 -0
- package/decorators/aria-property.js +99 -0
- package/decorators/aria-property.js.map +1 -0
- package/decorators/bound.d.ts +40 -0
- package/decorators/bound.js +49 -0
- package/decorators/bound.js.map +1 -0
- package/elevation/lib/_elevation-overlay-theme.scss +31 -0
- package/elevation/lib/_elevation-overlay.scss +18 -0
- package/elevation/lib/_elevation-theme.scss +88 -0
- package/elevation/lib/_surface.scss +18 -0
- package/elevation/lib/elevation-overlay-styles.css.d.ts +1 -0
- package/elevation/lib/elevation-overlay-styles.css.js +9 -0
- package/elevation/lib/elevation-overlay-styles.css.js.map +1 -0
- package/elevation/lib/elevation-overlay-styles.scss +9 -0
- package/fab/_fab-extended.scss +11 -0
- package/fab/_fab.scss +20 -0
- package/fab/fab-extended.d.ts +23 -0
- package/fab/fab-extended.js +30 -0
- package/fab/fab-extended.js.map +1 -0
- package/fab/fab.d.ts +23 -0
- package/fab/fab.js +30 -0
- package/fab/fab.js.map +1 -0
- package/fab/harness.d.ts +14 -0
- package/fab/harness.js +16 -0
- package/fab/harness.js.map +1 -0
- package/fab/lib/_fab-extended-theme.scss +108 -0
- package/fab/lib/_fab-extended.scss +39 -0
- package/fab/lib/_fab-shared-theme.scss +202 -0
- package/fab/lib/_fab-shared.scss +114 -0
- package/fab/lib/_fab-theme.scss +107 -0
- package/fab/lib/_fab.scss +17 -0
- package/fab/lib/fab-extended-styles.css.d.ts +1 -0
- package/fab/lib/fab-extended-styles.css.js +9 -0
- package/fab/lib/fab-extended-styles.css.js.map +1 -0
- package/fab/lib/fab-extended-styles.scss +16 -0
- package/fab/lib/fab-extended.d.ts +19 -0
- package/fab/lib/fab-extended.js +28 -0
- package/fab/lib/fab-extended.js.map +1 -0
- package/fab/lib/fab-shared-styles.css.d.ts +1 -0
- package/fab/lib/fab-shared-styles.css.js +9 -0
- package/fab/lib/fab-shared-styles.css.js.map +1 -0
- package/fab/lib/fab-shared-styles.scss +8 -0
- package/fab/lib/fab-shared.d.ts +50 -0
- package/fab/lib/fab-shared.js +138 -0
- package/fab/lib/fab-shared.js.map +1 -0
- package/fab/lib/fab-styles.css.d.ts +1 -0
- package/fab/lib/fab-styles.css.js +9 -0
- package/fab/lib/fab-styles.css.js.map +1 -0
- package/fab/lib/fab-styles.scss +16 -0
- package/fab/lib/fab.d.ts +17 -0
- package/fab/lib/fab.js +23 -0
- package/fab/lib/fab.js.map +1 -0
- package/field/_filled-field.scss +8 -0
- package/field/_outlined-field.scss +8 -0
- package/field/filled-field.d.ts +19 -0
- package/field/filled-field.js +23 -0
- package/field/filled-field.js.map +1 -0
- package/field/harness.d.ts +16 -0
- package/field/harness.js +29 -0
- package/field/harness.js.map +1 -0
- package/field/lib/_content-theme.scss +80 -0
- package/field/lib/_content.scss +63 -0
- package/field/lib/_field-theme.scss +15 -0
- package/field/lib/_field.scss +52 -0
- package/field/lib/_filled-field-theme.scss +382 -0
- package/field/lib/_filled-field.scss +129 -0
- package/field/lib/_label-theme.scss +123 -0
- package/field/lib/_label.scss +49 -0
- package/field/lib/_outlined-field-theme.scss +311 -0
- package/field/lib/_outlined-field.scss +194 -0
- package/field/lib/_supporting-text-theme.scss +107 -0
- package/field/lib/_supporting-text.scss +20 -0
- package/field/lib/field.d.ts +56 -0
- package/field/lib/field.js +253 -0
- package/field/lib/field.js.map +1 -0
- package/field/lib/filled-field.d.ts +23 -0
- package/field/lib/filled-field.js +83 -0
- package/field/lib/filled-field.js.map +1 -0
- package/field/lib/filled-styles.css.d.ts +1 -0
- package/field/lib/filled-styles.css.js +9 -0
- package/field/lib/filled-styles.css.js.map +1 -0
- package/field/lib/filled-styles.scss +16 -0
- package/field/lib/outlined-field.d.ts +19 -0
- package/field/lib/outlined-field.js +46 -0
- package/field/lib/outlined-field.js.map +1 -0
- package/field/lib/outlined-styles.css.d.ts +1 -0
- package/field/lib/outlined-styles.css.js +9 -0
- package/field/lib/outlined-styles.css.js.map +1 -0
- package/field/lib/outlined-styles.scss +16 -0
- package/field/lib/shared-styles.css.d.ts +1 -0
- package/field/lib/shared-styles.css.js +9 -0
- package/field/lib/shared-styles.css.js.map +1 -0
- package/field/lib/shared-styles.scss +14 -0
- package/field/outlined-field.d.ts +19 -0
- package/field/outlined-field.js +23 -0
- package/field/outlined-field.js.map +1 -0
- package/focus/focus-ring.d.ts +19 -0
- package/focus/focus-ring.js +22 -0
- package/focus/focus-ring.js.map +1 -0
- package/focus/lib/_focus-ring-theme.scss +89 -0
- package/focus/lib/_focus-ring.scss +41 -0
- package/focus/lib/focus-ring-styles.css.d.ts +1 -0
- package/focus/lib/focus-ring-styles.css.js +9 -0
- package/focus/lib/focus-ring-styles.css.js.map +1 -0
- package/focus/lib/focus-ring-styles.scss +16 -0
- package/focus/lib/focus-ring.d.ts +15 -0
- package/focus/lib/focus-ring.js +31 -0
- package/focus/lib/focus-ring.js.map +1 -0
- package/focus/strong-focus.d.ts +43 -0
- package/focus/strong-focus.js +84 -0
- package/focus/strong-focus.js.map +1 -0
- package/formfield/formfield.d.ts +19 -0
- package/formfield/formfield.js +22 -0
- package/formfield/formfield.js.map +1 -0
- package/formfield/lib/_formfield-theme.scss +41 -0
- package/formfield/lib/_formfield.scss +40 -0
- package/formfield/lib/formfield-styles.css.d.ts +1 -0
- package/formfield/lib/formfield-styles.css.js +9 -0
- package/formfield/lib/formfield-styles.css.js.map +1 -0
- package/formfield/lib/formfield-styles.scss +16 -0
- package/formfield/lib/formfield.d.ts +22 -0
- package/formfield/lib/formfield.js +73 -0
- package/formfield/lib/formfield.js.map +1 -0
- package/icon/icon.d.ts +19 -0
- package/icon/icon.js +22 -0
- package/icon/icon.js.map +1 -0
- package/icon/lib/icon-styles.css.d.ts +1 -0
- package/icon/lib/icon-styles.css.js +9 -0
- package/icon/lib/icon-styles.css.js.map +1 -0
- package/icon/lib/icon-styles.scss +25 -0
- package/icon/lib/icon.d.ts +11 -0
- package/icon/lib/icon.js +14 -0
- package/icon/lib/icon.js.map +1 -0
- package/iconbutton/_filled-icon-button.scss +7 -0
- package/iconbutton/_outlined-icon-button.scss +7 -0
- package/iconbutton/_standard-icon-button.scss +7 -0
- package/iconbutton/filled-icon-button-toggle.d.ts +19 -0
- package/iconbutton/filled-icon-button-toggle.js +28 -0
- package/iconbutton/filled-icon-button-toggle.js.map +1 -0
- package/iconbutton/filled-icon-button.d.ts +19 -0
- package/iconbutton/filled-icon-button.js +27 -0
- package/iconbutton/filled-icon-button.js.map +1 -0
- package/iconbutton/filled-link-icon-button.d.ts +19 -0
- package/iconbutton/filled-link-icon-button.js +27 -0
- package/iconbutton/filled-link-icon-button.js.map +1 -0
- package/iconbutton/filled-tonal-icon-button-toggle.d.ts +19 -0
- package/iconbutton/filled-tonal-icon-button-toggle.js +28 -0
- package/iconbutton/filled-tonal-icon-button-toggle.js.map +1 -0
- package/iconbutton/filled-tonal-icon-button.d.ts +19 -0
- package/iconbutton/filled-tonal-icon-button.js +27 -0
- package/iconbutton/filled-tonal-icon-button.js.map +1 -0
- package/iconbutton/filled-tonal-link-icon-button.d.ts +19 -0
- package/iconbutton/filled-tonal-link-icon-button.js +27 -0
- package/iconbutton/filled-tonal-link-icon-button.js.map +1 -0
- package/iconbutton/harness.d.ts +14 -0
- package/iconbutton/harness.js +16 -0
- package/iconbutton/harness.js.map +1 -0
- package/iconbutton/lib/_filled-icon-button-theme.scss +138 -0
- package/iconbutton/lib/_filled-icon-button.scss +8 -0
- package/iconbutton/lib/_filled-tonal-icon-button-theme.scss +144 -0
- package/iconbutton/lib/_filled-tonal-icon-button.scss +8 -0
- package/iconbutton/lib/_icon-button-theme.scss +163 -0
- package/iconbutton/lib/_icon-button.scss +91 -0
- package/iconbutton/lib/_outlined-icon-button-theme.scss +187 -0
- package/iconbutton/lib/_outlined-icon-button.scss +30 -0
- package/iconbutton/lib/_standard-icon-button-theme.scss +107 -0
- package/iconbutton/lib/_standard-icon-button.scss +13 -0
- package/iconbutton/lib/filled-styles.css.d.ts +1 -0
- package/iconbutton/lib/filled-styles.css.js +9 -0
- package/iconbutton/lib/filled-styles.css.js.map +1 -0
- package/iconbutton/lib/filled-styles.scss +18 -0
- package/iconbutton/lib/filled-tonal-styles.css.d.ts +1 -0
- package/iconbutton/lib/filled-tonal-styles.css.js +9 -0
- package/iconbutton/lib/filled-tonal-styles.css.js.map +1 -0
- package/iconbutton/lib/filled-tonal-styles.scss +18 -0
- package/iconbutton/lib/icon-button-styles.css.d.ts +1 -0
- package/iconbutton/lib/icon-button-styles.css.js +9 -0
- package/iconbutton/lib/icon-button-styles.css.js.map +1 -0
- package/iconbutton/lib/icon-button-styles.scss +8 -0
- package/iconbutton/lib/icon-button-toggle.d.ts +44 -0
- package/iconbutton/lib/icon-button-toggle.js +155 -0
- package/iconbutton/lib/icon-button-toggle.js.map +1 -0
- package/iconbutton/lib/icon-button.d.ts +50 -0
- package/iconbutton/lib/icon-button.js +154 -0
- package/iconbutton/lib/icon-button.js.map +1 -0
- package/iconbutton/lib/link-icon-button.d.ts +14 -0
- package/iconbutton/lib/link-icon-button.js +53 -0
- package/iconbutton/lib/link-icon-button.js.map +1 -0
- package/iconbutton/lib/outlined-styles.css.d.ts +1 -0
- package/iconbutton/lib/outlined-styles.css.js +9 -0
- package/iconbutton/lib/outlined-styles.css.js.map +1 -0
- package/iconbutton/lib/outlined-styles.scss +18 -0
- package/iconbutton/lib/standard-styles.css.d.ts +1 -0
- package/iconbutton/lib/standard-styles.css.js +9 -0
- package/iconbutton/lib/standard-styles.css.js.map +1 -0
- package/iconbutton/lib/standard-styles.scss +18 -0
- package/iconbutton/outlined-icon-button-toggle.d.ts +19 -0
- package/iconbutton/outlined-icon-button-toggle.js +27 -0
- package/iconbutton/outlined-icon-button-toggle.js.map +1 -0
- package/iconbutton/outlined-icon-button.d.ts +19 -0
- package/iconbutton/outlined-icon-button.js +27 -0
- package/iconbutton/outlined-icon-button.js.map +1 -0
- package/iconbutton/outlined-link-icon-button.d.ts +19 -0
- package/iconbutton/outlined-link-icon-button.js +27 -0
- package/iconbutton/outlined-link-icon-button.js.map +1 -0
- package/iconbutton/standard-icon-button-toggle.d.ts +19 -0
- package/iconbutton/standard-icon-button-toggle.js +27 -0
- package/iconbutton/standard-icon-button-toggle.js.map +1 -0
- package/iconbutton/standard-icon-button.d.ts +19 -0
- package/iconbutton/standard-icon-button.js +27 -0
- package/iconbutton/standard-icon-button.js.map +1 -0
- package/iconbutton/standard-link-icon-button.d.ts +19 -0
- package/iconbutton/standard-link-icon-button.js +27 -0
- package/iconbutton/standard-link-icon-button.js.map +1 -0
- package/list/_list-item.scss +7 -0
- package/list/_list.scss +7 -0
- package/list/harness.d.ts +19 -0
- package/list/harness.js +24 -0
- package/list/harness.js.map +1 -0
- package/list/lib/_list-theme.scss +51 -0
- package/list/lib/_list.scss +41 -0
- package/list/lib/_tokens.scss +80 -0
- package/list/lib/avatar/_list-item-avatar-theme.scss +30 -0
- package/list/lib/avatar/_list-item-avatar.scss +14 -0
- package/list/lib/avatar/list-item-avatar-styles.css.d.ts +1 -0
- package/list/lib/avatar/list-item-avatar-styles.css.js +9 -0
- package/list/lib/avatar/list-item-avatar-styles.css.js.map +1 -0
- package/list/lib/avatar/list-item-avatar-styles.scss +20 -0
- package/list/lib/avatar/list-item-avatar.d.ts +16 -0
- package/list/lib/avatar/list-item-avatar.js +35 -0
- package/list/lib/avatar/list-item-avatar.js.map +1 -0
- package/list/lib/divider/_list-divider-theme.scss +30 -0
- package/list/lib/divider/_list-divider.scss +14 -0
- package/list/lib/divider/list-divider-styles.css.d.ts +1 -0
- package/list/lib/divider/list-divider-styles.css.js +9 -0
- package/list/lib/divider/list-divider-styles.css.js.map +1 -0
- package/list/lib/divider/list-divider-styles.scss +18 -0
- package/list/lib/divider/list-divider.d.ts +13 -0
- package/list/lib/divider/list-divider.js +30 -0
- package/list/lib/divider/list-divider.js.map +1 -0
- package/list/lib/icon/_list-item-icon-theme.scss +32 -0
- package/list/lib/icon/_list-item-icon.scss +35 -0
- package/list/lib/icon/list-item-icon-styles.css.d.ts +1 -0
- package/list/lib/icon/list-item-icon-styles.css.js +9 -0
- package/list/lib/icon/list-item-icon-styles.css.js.map +1 -0
- package/list/lib/icon/list-item-icon-styles.scss +20 -0
- package/list/lib/icon/list-item-icon.d.ts +12 -0
- package/list/lib/icon/list-item-icon.js +26 -0
- package/list/lib/icon/list-item-icon.js.map +1 -0
- package/list/lib/image/_list-item-image-theme.scss +36 -0
- package/list/lib/image/_list-item-image.scss +16 -0
- package/list/lib/image/list-item-image-styles.css.d.ts +1 -0
- package/list/lib/image/list-item-image-styles.css.js +9 -0
- package/list/lib/image/list-item-image-styles.css.js.map +1 -0
- package/list/lib/image/list-item-image-styles.scss +20 -0
- package/list/lib/image/list-item-image.d.ts +14 -0
- package/list/lib/image/list-item-image.js +37 -0
- package/list/lib/image/list-item-image.js.map +1 -0
- package/list/lib/list-styles.css.d.ts +1 -0
- package/list/lib/list-styles.css.js +9 -0
- package/list/lib/list-styles.css.js.map +1 -0
- package/list/lib/list-styles.scss +16 -0
- package/list/lib/list.d.ts +41 -0
- package/list/lib/list.js +168 -0
- package/list/lib/list.js.map +1 -0
- package/list/lib/listitem/_list-item-theme.scss +337 -0
- package/list/lib/listitem/_list-item.scss +133 -0
- package/list/lib/listitem/harness.d.ts +13 -0
- package/list/lib/listitem/harness.js +16 -0
- package/list/lib/listitem/harness.js.map +1 -0
- package/list/lib/listitem/list-item-styles.css.d.ts +1 -0
- package/list/lib/listitem/list-item-styles.css.js +9 -0
- package/list/lib/listitem/list-item-styles.css.js.map +1 -0
- package/list/lib/listitem/list-item-styles.scss +16 -0
- package/list/lib/listitem/list-item.d.ts +73 -0
- package/list/lib/listitem/list-item.js +258 -0
- package/list/lib/listitem/list-item.js.map +1 -0
- package/list/lib/video/_list-item-video-theme.scss +36 -0
- package/list/lib/video/_list-item-video.scss +18 -0
- package/list/lib/video/list-item-video-styles.css.d.ts +1 -0
- package/list/lib/video/list-item-video-styles.css.js +9 -0
- package/list/lib/video/list-item-video-styles.css.js.map +1 -0
- package/list/lib/video/list-item-video-styles.scss +20 -0
- package/list/lib/video/list-item-video.d.ts +14 -0
- package/list/lib/video/list-item-video.js +37 -0
- package/list/lib/video/list-item-video.js.map +1 -0
- package/list/list-divider.d.ts +19 -0
- package/list/list-divider.js +22 -0
- package/list/list-divider.js.map +1 -0
- package/list/list-item-avatar.d.ts +19 -0
- package/list/list-item-avatar.js +22 -0
- package/list/list-item-avatar.js.map +1 -0
- package/list/list-item-icon.d.ts +19 -0
- package/list/list-item-icon.js +22 -0
- package/list/list-item-icon.js.map +1 -0
- package/list/list-item-image.d.ts +19 -0
- package/list/list-item-image.js +22 -0
- package/list/list-item-image.js.map +1 -0
- package/list/list-item-video.d.ts +19 -0
- package/list/list-item-video.js +22 -0
- package/list/list-item-video.js.map +1 -0
- package/list/list-item.d.ts +19 -0
- package/list/list-item.js +22 -0
- package/list/list-item.js.map +1 -0
- package/list/list.d.ts +19 -0
- package/list/list.js +22 -0
- package/list/list.js.map +1 -0
- package/menu/harness.d.ts +15 -0
- package/menu/harness.js +17 -0
- package/menu/harness.js.map +1 -0
- package/menu/lib/_menu-button.scss +14 -0
- package/menu/lib/_menu-theme.scss +118 -0
- package/menu/lib/_menu.scss +8 -0
- package/menu/lib/adapter.d.ts +66 -0
- package/menu/lib/adapter.js +7 -0
- package/menu/lib/adapter.js.map +1 -0
- package/menu/lib/constants.d.ts +22 -0
- package/menu/lib/constants.js +23 -0
- package/menu/lib/constants.js.map +1 -0
- package/menu/lib/foundation.d.ts +49 -0
- package/menu/lib/foundation.js +123 -0
- package/menu/lib/foundation.js.map +1 -0
- package/menu/lib/menu-button-styles.css.d.ts +1 -0
- package/menu/lib/menu-button-styles.css.js +9 -0
- package/menu/lib/menu-button-styles.css.js.map +1 -0
- package/menu/lib/menu-button-styles.scss +9 -0
- package/menu/lib/menu-button.d.ts +27 -0
- package/menu/lib/menu-button.js +93 -0
- package/menu/lib/menu-button.js.map +1 -0
- package/menu/lib/menu-styles.css.d.ts +1 -0
- package/menu/lib/menu-styles.css.js +9 -0
- package/menu/lib/menu-styles.css.js.map +1 -0
- package/menu/lib/menu-styles.scss +17 -0
- package/menu/lib/menu.d.ts +62 -0
- package/menu/lib/menu.js +334 -0
- package/menu/lib/menu.js.map +1 -0
- package/menu/lib/menuitem/harness.d.ts +11 -0
- package/menu/lib/menuitem/harness.js +12 -0
- package/menu/lib/menuitem/harness.js.map +1 -0
- package/menu/lib/menuitem/menu-item.d.ts +11 -0
- package/menu/lib/menuitem/menu-item.js +14 -0
- package/menu/lib/menuitem/menu-item.js.map +1 -0
- package/menu/lib/types.d.ts +23 -0
- package/menu/lib/types.js +7 -0
- package/menu/lib/types.js.map +1 -0
- package/menu/menu-button.d.ts +14 -0
- package/menu/menu-button.js +17 -0
- package/menu/menu-button.js.map +1 -0
- package/menu/menu-item.d.ts +14 -0
- package/menu/menu-item.js +17 -0
- package/menu/menu-item.js.map +1 -0
- package/menu/menu.d.ts +14 -0
- package/menu/menu.js +17 -0
- package/menu/menu.js.map +1 -0
- package/menusurface/_menu-surface.scss +7 -0
- package/menusurface/lib/_menu-surface-theme.scss +58 -0
- package/menusurface/lib/_menu-surface.scss +85 -0
- package/menusurface/lib/adapter.d.ts +46 -0
- package/menusurface/lib/adapter.js +7 -0
- package/menusurface/lib/adapter.js.map +1 -0
- package/menusurface/lib/constants.d.ts +71 -0
- package/menusurface/lib/constants.js +83 -0
- package/menusurface/lib/constants.js.map +1 -0
- package/menusurface/lib/foundation.d.ts +176 -0
- package/menusurface/lib/foundation.js +544 -0
- package/menusurface/lib/foundation.js.map +1 -0
- package/menusurface/lib/menu-surface-styles.css.d.ts +1 -0
- package/menusurface/lib/menu-surface-styles.css.js +9 -0
- package/menusurface/lib/menu-surface-styles.css.js.map +1 -0
- package/menusurface/lib/menu-surface-styles.scss +16 -0
- package/menusurface/lib/menu-surface.d.ts +58 -0
- package/menusurface/lib/menu-surface.js +386 -0
- package/menusurface/lib/menu-surface.js.map +1 -0
- package/menusurface/lib/types.d.ts +19 -0
- package/menusurface/lib/types.js +7 -0
- package/menusurface/lib/types.js.map +1 -0
- package/menusurface/menu-surface.d.ts +14 -0
- package/menusurface/menu-surface.js +17 -0
- package/menusurface/menu-surface.js.map +1 -0
- package/motion/_animation.scss +33 -0
- package/motion/animation.d.ts +63 -0
- package/motion/animation.js +66 -0
- package/motion/animation.js.map +1 -0
- package/navigationbar/_navigation-bar.scss +7 -0
- package/navigationbar/harness.d.ts +19 -0
- package/navigationbar/harness.js +29 -0
- package/navigationbar/harness.js.map +1 -0
- package/navigationbar/lib/_navigation-bar-theme.scss +87 -0
- package/navigationbar/lib/_navigation-bar.scss +28 -0
- package/navigationbar/lib/constants.d.ts +17 -0
- package/navigationbar/lib/constants.js +7 -0
- package/navigationbar/lib/constants.js.map +1 -0
- package/navigationbar/lib/navigation-bar-styles.css.d.ts +1 -0
- package/navigationbar/lib/navigation-bar-styles.css.js +9 -0
- package/navigationbar/lib/navigation-bar-styles.css.js.map +1 -0
- package/navigationbar/lib/navigation-bar-styles.scss +20 -0
- package/navigationbar/lib/navigation-bar.d.ts +26 -0
- package/navigationbar/lib/navigation-bar.js +150 -0
- package/navigationbar/lib/navigation-bar.js.map +1 -0
- package/navigationbar/lib/state.d.ts +23 -0
- package/navigationbar/lib/state.js +7 -0
- package/navigationbar/lib/state.js.map +1 -0
- package/navigationbar/navigation-bar.d.ts +19 -0
- package/navigationbar/navigation-bar.js +22 -0
- package/navigationbar/navigation-bar.js.map +1 -0
- package/navigationdrawer/_navigation-drawer-modal.scss +6 -0
- package/navigationdrawer/_navigation-drawer.scss +6 -0
- package/navigationdrawer/lib/_navigation-drawer-modal-theme.scss +138 -0
- package/navigationdrawer/lib/_navigation-drawer-modal.scss +78 -0
- package/navigationdrawer/lib/_navigation-drawer-theme.scss +113 -0
- package/navigationdrawer/lib/_navigation-drawer.scss +64 -0
- package/navigationdrawer/lib/navigation-drawer-modal-styles.css.d.ts +1 -0
- package/navigationdrawer/lib/navigation-drawer-modal-styles.css.js +9 -0
- package/navigationdrawer/lib/navigation-drawer-modal-styles.css.js.map +1 -0
- package/navigationdrawer/lib/navigation-drawer-modal-styles.scss +12 -0
- package/navigationdrawer/lib/navigation-drawer-modal.d.ts +24 -0
- package/navigationdrawer/lib/navigation-drawer-modal.js +106 -0
- package/navigationdrawer/lib/navigation-drawer-modal.js.map +1 -0
- package/navigationdrawer/lib/navigation-drawer-styles.css.d.ts +1 -0
- package/navigationdrawer/lib/navigation-drawer-styles.css.js +9 -0
- package/navigationdrawer/lib/navigation-drawer-styles.css.js.map +1 -0
- package/navigationdrawer/lib/navigation-drawer-styles.scss +18 -0
- package/navigationdrawer/lib/navigation-drawer.d.ts +20 -0
- package/navigationdrawer/lib/navigation-drawer.js +87 -0
- package/navigationdrawer/lib/navigation-drawer.js.map +1 -0
- package/navigationdrawer/navigation-drawer-modal.d.ts +19 -0
- package/navigationdrawer/navigation-drawer-modal.js +22 -0
- package/navigationdrawer/navigation-drawer-modal.js.map +1 -0
- package/navigationdrawer/navigation-drawer.d.ts +19 -0
- package/navigationdrawer/navigation-drawer.js +22 -0
- package/navigationdrawer/navigation-drawer.js.map +1 -0
- package/navigationtab/_navigation-tab.scss +7 -0
- package/navigationtab/harness.d.ts +13 -0
- package/navigationtab/harness.js +16 -0
- package/navigationtab/harness.js.map +1 -0
- package/navigationtab/lib/_navigation-tab-theme.scss +343 -0
- package/navigationtab/lib/_navigation-tab.scss +127 -0
- package/navigationtab/lib/navigation-tab-styles.css.d.ts +1 -0
- package/navigationtab/lib/navigation-tab-styles.css.js +9 -0
- package/navigationtab/lib/navigation-tab-styles.css.js.map +1 -0
- package/navigationtab/lib/navigation-tab-styles.scss +21 -0
- package/navigationtab/lib/navigation-tab.d.ts +48 -0
- package/navigationtab/lib/navigation-tab.js +174 -0
- package/navigationtab/lib/navigation-tab.js.map +1 -0
- package/navigationtab/lib/state.d.ts +24 -0
- package/navigationtab/lib/state.js +7 -0
- package/navigationtab/lib/state.js.map +1 -0
- package/navigationtab/navigation-tab.d.ts +19 -0
- package/navigationtab/navigation-tab.js +22 -0
- package/navigationtab/navigation-tab.js.map +1 -0
- package/package.json +48 -0
- package/radio/_radio.scss +1 -0
- package/radio/harness.d.ts +13 -0
- package/radio/harness.js +16 -0
- package/radio/harness.js.map +1 -0
- package/radio/lib/_radio-theme.scss +376 -0
- package/radio/lib/_radio.scss +131 -0
- package/radio/lib/radio-styles.css.d.ts +1 -0
- package/radio/lib/radio-styles.css.js +9 -0
- package/radio/lib/radio-styles.css.js.map +1 -0
- package/radio/lib/radio-styles.scss +14 -0
- package/radio/lib/radio.d.ts +93 -0
- package/radio/lib/radio.js +302 -0
- package/radio/lib/radio.js.map +1 -0
- package/radio/lib/single-selection-controller.d.ts +167 -0
- package/radio/lib/single-selection-controller.js +289 -0
- package/radio/lib/single-selection-controller.js.map +1 -0
- package/radio/radio.d.ts +15 -0
- package/radio/radio.js +18 -0
- package/radio/radio.js.map +1 -0
- package/ripple/_index.scss +6 -0
- package/ripple/_ripple-theme.scss +6 -0
- package/ripple/lib/_ripple-theme.scss +98 -0
- package/ripple/lib/_ripple.scss +84 -0
- package/ripple/lib/ripple-styles.css.d.ts +1 -0
- package/ripple/lib/ripple-styles.css.js +9 -0
- package/ripple/lib/ripple-styles.css.js.map +1 -0
- package/ripple/lib/ripple-styles.scss +16 -0
- package/ripple/lib/ripple.d.ts +62 -0
- package/ripple/lib/ripple.js +215 -0
- package/ripple/lib/ripple.js.map +1 -0
- package/ripple/ripple.d.ts +19 -0
- package/ripple/ripple.js +22 -0
- package/ripple/ripple.js.map +1 -0
- package/sass/_assert.scss +16 -0
- package/sass/_color.scss +186 -0
- package/sass/_dom.scss +52 -0
- package/sass/_elevation.scss +155 -0
- package/sass/_feature-flags.scss +117 -0
- package/sass/_map-ext.scss +25 -0
- package/sass/_resolvers.scss +16 -0
- package/sass/_shape.scss +106 -0
- package/sass/_string-ext.scss +128 -0
- package/sass/_theme.scss +245 -0
- package/sass/_touch-target.scss +22 -0
- package/sass/_typography.scss +114 -0
- package/sass/_var.scss +241 -0
- package/segmentedbutton/lib/_outlined-segmented-button-theme.scss +167 -0
- package/segmentedbutton/lib/_outlined-segmented-button.scss +18 -0
- package/segmentedbutton/lib/_segmented-button-theme.scss +316 -0
- package/segmentedbutton/lib/_segmented-button.scss +159 -0
- package/segmentedbutton/lib/outlined-segmented-button.d.ts +15 -0
- package/segmentedbutton/lib/outlined-segmented-button.js +22 -0
- package/segmentedbutton/lib/outlined-segmented-button.js.map +1 -0
- package/segmentedbutton/lib/outlined-styles.css.d.ts +1 -0
- package/segmentedbutton/lib/outlined-styles.css.js +9 -0
- package/segmentedbutton/lib/outlined-styles.css.js.map +1 -0
- package/segmentedbutton/lib/outlined-styles.scss +17 -0
- package/segmentedbutton/lib/segmented-button-styles.css.d.ts +1 -0
- package/segmentedbutton/lib/segmented-button-styles.css.js +9 -0
- package/segmentedbutton/lib/segmented-button-styles.css.js.map +1 -0
- package/segmentedbutton/lib/segmented-button-styles.scss +8 -0
- package/segmentedbutton/lib/segmented-button.d.ts +60 -0
- package/segmentedbutton/lib/segmented-button.js +229 -0
- package/segmentedbutton/lib/segmented-button.js.map +1 -0
- package/segmentedbutton/outlined-segmented-button.d.ts +21 -0
- package/segmentedbutton/outlined-segmented-button.js +25 -0
- package/segmentedbutton/outlined-segmented-button.js.map +1 -0
- package/segmentedbuttonset/lib/_outlined-segmented-button-set-theme.scss +53 -0
- package/segmentedbuttonset/lib/_outlined-segmented-button-set.scss +12 -0
- package/segmentedbuttonset/lib/_segmented-button-set-theme.scss +41 -0
- package/segmentedbuttonset/lib/_segmented-button-set.scss +21 -0
- package/segmentedbuttonset/lib/outlined-segmented-button-set.d.ts +12 -0
- package/segmentedbuttonset/lib/outlined-segmented-button-set.js +17 -0
- package/segmentedbuttonset/lib/outlined-segmented-button-set.js.map +1 -0
- package/segmentedbuttonset/lib/outlined-styles.css.d.ts +1 -0
- package/segmentedbuttonset/lib/outlined-styles.css.js +9 -0
- package/segmentedbuttonset/lib/outlined-styles.css.js.map +1 -0
- package/segmentedbuttonset/lib/outlined-styles.scss +17 -0
- package/segmentedbuttonset/lib/segmented-button-set.d.ts +34 -0
- package/segmentedbuttonset/lib/segmented-button-set.js +118 -0
- package/segmentedbuttonset/lib/segmented-button-set.js.map +1 -0
- package/segmentedbuttonset/lib/shared-styles.css.d.ts +1 -0
- package/segmentedbuttonset/lib/shared-styles.css.js +9 -0
- package/segmentedbuttonset/lib/shared-styles.css.js.map +1 -0
- package/segmentedbuttonset/lib/shared-styles.scss +8 -0
- package/segmentedbuttonset/outlined-segmented-button-set.d.ts +21 -0
- package/segmentedbuttonset/outlined-segmented-button-set.js +25 -0
- package/segmentedbuttonset/outlined-segmented-button-set.js.map +1 -0
- package/switch/_switch.scss +7 -0
- package/switch/harness.d.ts +13 -0
- package/switch/harness.js +16 -0
- package/switch/harness.js.map +1 -0
- package/switch/lib/_switch-handle-theme.scss +137 -0
- package/switch/lib/_switch-icon-theme.scss +52 -0
- package/switch/lib/_switch-theme.scss +232 -0
- package/switch/lib/_switch-track-theme.scss +117 -0
- package/switch/lib/_switch.scss +210 -0
- package/switch/lib/switch-styles.css.d.ts +1 -0
- package/switch/lib/switch-styles.css.js +9 -0
- package/switch/lib/switch-styles.css.js.map +1 -0
- package/switch/lib/switch-styles.scss +11 -0
- package/switch/lib/switch.d.ts +59 -0
- package/switch/lib/switch.js +223 -0
- package/switch/lib/switch.js.map +1 -0
- package/switch/switch.d.ts +19 -0
- package/switch/switch.js +22 -0
- package/switch/switch.js.map +1 -0
- package/textfield/_filled-text-field.scss +9 -0
- package/textfield/_outlined-text-field.scss +9 -0
- package/textfield/filled-text-field.d.ts +21 -0
- package/textfield/filled-text-field.js +31 -0
- package/textfield/filled-text-field.js.map +1 -0
- package/textfield/harness.d.ts +51 -0
- package/textfield/harness.js +118 -0
- package/textfield/harness.js.map +1 -0
- package/textfield/lib/_filled-text-field-theme.scss +203 -0
- package/textfield/lib/_icon-theme.scss +100 -0
- package/textfield/lib/_icon.scss +18 -0
- package/textfield/lib/_input-theme.scss +91 -0
- package/textfield/lib/_input.scss +38 -0
- package/textfield/lib/_outlined-text-field-theme.scss +186 -0
- package/textfield/lib/_text-field.scss +28 -0
- package/textfield/lib/filled-forced-colors-styles.css.d.ts +1 -0
- package/textfield/lib/filled-forced-colors-styles.css.js +9 -0
- package/textfield/lib/filled-forced-colors-styles.css.js.map +1 -0
- package/textfield/lib/filled-forced-colors-styles.scss +17 -0
- package/textfield/lib/filled-styles.css.d.ts +1 -0
- package/textfield/lib/filled-styles.css.js +9 -0
- package/textfield/lib/filled-styles.css.js.map +1 -0
- package/textfield/lib/filled-styles.scss +15 -0
- package/textfield/lib/filled-text-field.d.ts +12 -0
- package/textfield/lib/filled-text-field.js +17 -0
- package/textfield/lib/filled-text-field.js.map +1 -0
- package/textfield/lib/outlined-forced-colors-styles.css.d.ts +1 -0
- package/textfield/lib/outlined-forced-colors-styles.css.js +9 -0
- package/textfield/lib/outlined-forced-colors-styles.css.js.map +1 -0
- package/textfield/lib/outlined-forced-colors-styles.scss +17 -0
- package/textfield/lib/outlined-styles.css.d.ts +1 -0
- package/textfield/lib/outlined-styles.css.js +9 -0
- package/textfield/lib/outlined-styles.css.js.map +1 -0
- package/textfield/lib/outlined-styles.scss +15 -0
- package/textfield/lib/outlined-text-field.d.ts +12 -0
- package/textfield/lib/outlined-text-field.js +17 -0
- package/textfield/lib/outlined-text-field.js.map +1 -0
- package/textfield/lib/shared-styles.css.d.ts +1 -0
- package/textfield/lib/shared-styles.css.js +9 -0
- package/textfield/lib/shared-styles.css.js.map +1 -0
- package/textfield/lib/shared-styles.scss +12 -0
- package/textfield/lib/text-field.d.ts +319 -0
- package/textfield/lib/text-field.js +707 -0
- package/textfield/lib/text-field.js.map +1 -0
- package/textfield/outlined-text-field.d.ts +21 -0
- package/textfield/outlined-text-field.js +31 -0
- package/textfield/outlined-text-field.js.map +1 -0
- package/tokens/_index.scss +6 -0
- package/tokens/latest/_index.scss +186 -0
- package/tokens/latest/_md-comp-assist-chip.scss +98 -0
- package/tokens/latest/_md-comp-badge.scss +51 -0
- package/tokens/latest/_md-comp-banner.scss +99 -0
- package/tokens/latest/_md-comp-bottom-app-bar.scss +36 -0
- package/tokens/latest/_md-comp-checkbox.scss +119 -0
- package/tokens/latest/_md-comp-circular-progress-indicator.scss +37 -0
- package/tokens/latest/_md-comp-date-input-modal.scss +76 -0
- package/tokens/latest/_md-comp-date-picker-docked.scss +210 -0
- package/tokens/latest/_md-comp-date-picker-modal.scss +254 -0
- package/tokens/latest/_md-comp-dialog.scss +115 -0
- package/tokens/latest/_md-comp-divider.scss +25 -0
- package/tokens/latest/_md-comp-elevated-button.scss +83 -0
- package/tokens/latest/_md-comp-elevated-card.scss +59 -0
- package/tokens/latest/_md-comp-extended-fab-branded.scss +77 -0
- package/tokens/latest/_md-comp-extended-fab-primary.scss +80 -0
- package/tokens/latest/_md-comp-extended-fab-secondary.scss +83 -0
- package/tokens/latest/_md-comp-extended-fab-surface.scss +81 -0
- package/tokens/latest/_md-comp-extended-fab-tertiary.scss +80 -0
- package/tokens/latest/_md-comp-fab-branded-large.scss +59 -0
- package/tokens/latest/_md-comp-fab-branded.scss +58 -0
- package/tokens/latest/_md-comp-fab-primary-large.scss +61 -0
- package/tokens/latest/_md-comp-fab-primary-small.scss +61 -0
- package/tokens/latest/_md-comp-fab-primary.scss +61 -0
- package/tokens/latest/_md-comp-fab-secondary-large.scss +63 -0
- package/tokens/latest/_md-comp-fab-secondary-small.scss +62 -0
- package/tokens/latest/_md-comp-fab-secondary.scss +63 -0
- package/tokens/latest/_md-comp-fab-surface-large.scss +62 -0
- package/tokens/latest/_md-comp-fab-surface-small.scss +62 -0
- package/tokens/latest/_md-comp-fab-surface.scss +62 -0
- package/tokens/latest/_md-comp-fab-tertiary-large.scss +61 -0
- package/tokens/latest/_md-comp-fab-tertiary-small.scss +61 -0
- package/tokens/latest/_md-comp-fab-tertiary.scss +61 -0
- package/tokens/latest/_md-comp-filled-autocomplete.scss +235 -0
- package/tokens/latest/_md-comp-filled-button.scss +87 -0
- package/tokens/latest/_md-comp-filled-card.scss +59 -0
- package/tokens/latest/_md-comp-filled-icon-button.scss +72 -0
- package/tokens/latest/_md-comp-filled-menu-button.scss +89 -0
- package/tokens/latest/_md-comp-filled-select.scss +243 -0
- package/tokens/latest/_md-comp-filled-text-field.scss +146 -0
- package/tokens/latest/_md-comp-filled-tonal-button.scss +88 -0
- package/tokens/latest/_md-comp-filled-tonal-icon-button.scss +83 -0
- package/tokens/latest/_md-comp-filter-chip.scss +172 -0
- package/tokens/latest/_md-comp-full-screen-dialog.scss +131 -0
- package/tokens/latest/_md-comp-icon-button.scss +66 -0
- package/tokens/latest/_md-comp-input-chip.scss +112 -0
- package/tokens/latest/_md-comp-linear-progress-indicator.scss +39 -0
- package/tokens/latest/_md-comp-list.scss +205 -0
- package/tokens/latest/_md-comp-menu.scss +113 -0
- package/tokens/latest/_md-comp-navigation-bar.scss +97 -0
- package/tokens/latest/_md-comp-navigation-drawer.scss +137 -0
- package/tokens/latest/_md-comp-navigation-rail.scss +132 -0
- package/tokens/latest/_md-comp-outlined-autocomplete.scss +223 -0
- package/tokens/latest/_md-comp-outlined-button.scss +80 -0
- package/tokens/latest/_md-comp-outlined-card.scss +65 -0
- package/tokens/latest/_md-comp-outlined-icon-button.scss +68 -0
- package/tokens/latest/_md-comp-outlined-menu-button.scss +83 -0
- package/tokens/latest/_md-comp-outlined-segmented-button.scss +97 -0
- package/tokens/latest/_md-comp-outlined-select.scss +231 -0
- package/tokens/latest/_md-comp-outlined-text-field.scss +140 -0
- package/tokens/latest/_md-comp-plain-tooltip.scss +46 -0
- package/tokens/latest/_md-comp-primary-navigation-tab.scss +110 -0
- package/tokens/latest/_md-comp-radio-button.scss +58 -0
- package/tokens/latest/_md-comp-rich-tooltip.scss +98 -0
- package/tokens/latest/_md-comp-search-bar.scss +84 -0
- package/tokens/latest/_md-comp-search-view.scss +79 -0
- package/tokens/latest/_md-comp-secondary-navigation-tab.scss +78 -0
- package/tokens/latest/_md-comp-sheet-bottom.scss +41 -0
- package/tokens/latest/_md-comp-sheet-floating.scss +34 -0
- package/tokens/latest/_md-comp-sheet-side.scss +75 -0
- package/tokens/latest/_md-comp-slider.scss +105 -0
- package/tokens/latest/_md-comp-snackbar.scss +91 -0
- package/tokens/latest/_md-comp-standard-menu-button.scss +82 -0
- package/tokens/latest/_md-comp-suggestion-chip.scss +90 -0
- package/tokens/latest/_md-comp-switch.scss +126 -0
- package/tokens/latest/_md-comp-text-button.scss +75 -0
- package/tokens/latest/_md-comp-time-input.scss +184 -0
- package/tokens/latest/_md-comp-time-picker.scss +235 -0
- package/tokens/latest/_md-comp-top-app-bar-large.scss +57 -0
- package/tokens/latest/_md-comp-top-app-bar-medium.scss +56 -0
- package/tokens/latest/_md-comp-top-app-bar-small-centered.scss +60 -0
- package/tokens/latest/_md-comp-top-app-bar-small.scss +58 -0
- package/tokens/latest/_md-ref-palette.scss +95 -0
- package/tokens/latest/_md-ref-typeface.scss +20 -0
- package/tokens/latest/_md-sys-color.scss +1006 -0
- package/tokens/latest/_md-sys-elevation.scss +30 -0
- package/tokens/latest/_md-sys-motion.scss +51 -0
- package/tokens/latest/_md-sys-shape.scss +26 -0
- package/tokens/latest/_md-sys-state.scss +19 -0
- package/tokens/latest/_md-sys-typescale.scss +204 -0
- package/tokens/v0_75/_index.scss +154 -0
- package/tokens/v0_75/_md-comp-assist-chip.scss +98 -0
- package/tokens/v0_75/_md-comp-badge.scss +51 -0
- package/tokens/v0_75/_md-comp-banner.scss +99 -0
- package/tokens/v0_75/_md-comp-bottom-app-bar.scss +36 -0
- package/tokens/v0_75/_md-comp-checkbox.scss +59 -0
- package/tokens/v0_75/_md-comp-circular-progress-indicator.scss +37 -0
- package/tokens/v0_75/_md-comp-dialog.scss +102 -0
- package/tokens/v0_75/_md-comp-elevated-button.scss +83 -0
- package/tokens/v0_75/_md-comp-elevated-card.scss +56 -0
- package/tokens/v0_75/_md-comp-extended-fab-branded.scss +77 -0
- package/tokens/v0_75/_md-comp-extended-fab-primary.scss +80 -0
- package/tokens/v0_75/_md-comp-extended-fab-secondary.scss +83 -0
- package/tokens/v0_75/_md-comp-extended-fab-surface.scss +81 -0
- package/tokens/v0_75/_md-comp-extended-fab-tertiary.scss +80 -0
- package/tokens/v0_75/_md-comp-fab-branded-large.scss +59 -0
- package/tokens/v0_75/_md-comp-fab-branded.scss +58 -0
- package/tokens/v0_75/_md-comp-fab-primary-large.scss +61 -0
- package/tokens/v0_75/_md-comp-fab-primary-small.scss +61 -0
- package/tokens/v0_75/_md-comp-fab-primary.scss +61 -0
- package/tokens/v0_75/_md-comp-fab-secondary-large.scss +63 -0
- package/tokens/v0_75/_md-comp-fab-secondary-small.scss +62 -0
- package/tokens/v0_75/_md-comp-fab-secondary.scss +63 -0
- package/tokens/v0_75/_md-comp-fab-surface-large.scss +62 -0
- package/tokens/v0_75/_md-comp-fab-surface-small.scss +62 -0
- package/tokens/v0_75/_md-comp-fab-surface.scss +62 -0
- package/tokens/v0_75/_md-comp-fab-tertiary-large.scss +61 -0
- package/tokens/v0_75/_md-comp-fab-tertiary-small.scss +61 -0
- package/tokens/v0_75/_md-comp-fab-tertiary.scss +61 -0
- package/tokens/v0_75/_md-comp-filled-button-tonal.scss +84 -0
- package/tokens/v0_75/_md-comp-filled-button.scss +87 -0
- package/tokens/v0_75/_md-comp-filled-card.scss +56 -0
- package/tokens/v0_75/_md-comp-filled-icon-button.scss +72 -0
- package/tokens/v0_75/_md-comp-filled-text-field.scss +142 -0
- package/tokens/v0_75/_md-comp-filled-tonal-button.scss +88 -0
- package/tokens/v0_75/_md-comp-filled-tonal-icon-button.scss +83 -0
- package/tokens/v0_75/_md-comp-filter-chip.scss +172 -0
- package/tokens/v0_75/_md-comp-full-screen-dialog.scss +131 -0
- package/tokens/v0_75/_md-comp-icon-button.scss +79 -0
- package/tokens/v0_75/_md-comp-input-chip.scss +112 -0
- package/tokens/v0_75/_md-comp-linear-progress-indicator.scss +39 -0
- package/tokens/v0_75/_md-comp-list.scss +205 -0
- package/tokens/v0_75/_md-comp-menu.scss +113 -0
- package/tokens/v0_75/_md-comp-navigation-bar.scss +131 -0
- package/tokens/v0_75/_md-comp-navigation-drawer.scss +137 -0
- package/tokens/v0_75/_md-comp-navigation-rail.scss +136 -0
- package/tokens/v0_75/_md-comp-outlined-button.scss +80 -0
- package/tokens/v0_75/_md-comp-outlined-card.scss +62 -0
- package/tokens/v0_75/_md-comp-outlined-icon-button.scss +68 -0
- package/tokens/v0_75/_md-comp-outlined-segmented-button.scss +96 -0
- package/tokens/v0_75/_md-comp-outlined-text-field.scss +136 -0
- package/tokens/v0_75/_md-comp-primary-navigation-tab.scss +116 -0
- package/tokens/v0_75/_md-comp-radio-button.scss +58 -0
- package/tokens/v0_75/_md-comp-rich-tooltip.scss +98 -0
- package/tokens/v0_75/_md-comp-secondary-navigation-tab.scss +75 -0
- package/tokens/v0_75/_md-comp-slider.scss +129 -0
- package/tokens/v0_75/_md-comp-snackbar.scss +77 -0
- package/tokens/v0_75/_md-comp-suggestion-chip.scss +90 -0
- package/tokens/v0_75/_md-comp-switch.scss +92 -0
- package/tokens/v0_75/_md-comp-text-button.scss +75 -0
- package/tokens/v0_75/_md-comp-top-app-bar-compact-centered.scss +53 -0
- package/tokens/v0_75/_md-comp-top-app-bar-compact.scss +43 -0
- package/tokens/v0_75/_md-comp-top-app-bar-large.scss +57 -0
- package/tokens/v0_75/_md-comp-top-app-bar-medium.scss +56 -0
- package/tokens/v0_75/_md-comp-top-app-bar-small-centered.scss +60 -0
- package/tokens/v0_75/_md-comp-top-app-bar-small.scss +58 -0
- package/tokens/v0_75/_md-ref-palette.scss +186 -0
- package/tokens/v0_75/_md-ref-typeface.scss +25 -0
- package/tokens/v0_75/_md-sys-color.scss +86 -0
- package/tokens/v0_75/_md-sys-elevation.scss +30 -0
- package/tokens/v0_75/_md-sys-motion.scss +61 -0
- package/tokens/v0_75/_md-sys-shape.scss +29 -0
- package/tokens/v0_75/_md-sys-state.scss +19 -0
- package/tokens/v0_75/_md-sys-typescale.scss +252 -0
- package/tokens/v0_93/_index.scss +184 -0
- package/tokens/v0_93/_md-comp-assist-chip.scss +98 -0
- package/tokens/v0_93/_md-comp-badge.scss +51 -0
- package/tokens/v0_93/_md-comp-banner.scss +99 -0
- package/tokens/v0_93/_md-comp-bottom-app-bar.scss +36 -0
- package/tokens/v0_93/_md-comp-checkbox.scss +119 -0
- package/tokens/v0_93/_md-comp-circular-progress-indicator.scss +37 -0
- package/tokens/v0_93/_md-comp-date-input-modal.scss +76 -0
- package/tokens/v0_93/_md-comp-date-picker-docked.scss +210 -0
- package/tokens/v0_93/_md-comp-date-picker-modal.scss +254 -0
- package/tokens/v0_93/_md-comp-dialog.scss +101 -0
- package/tokens/v0_93/_md-comp-divider.scss +25 -0
- package/tokens/v0_93/_md-comp-elevated-button.scss +83 -0
- package/tokens/v0_93/_md-comp-elevated-card.scss +59 -0
- package/tokens/v0_93/_md-comp-extended-fab-branded.scss +77 -0
- package/tokens/v0_93/_md-comp-extended-fab-primary.scss +80 -0
- package/tokens/v0_93/_md-comp-extended-fab-secondary.scss +83 -0
- package/tokens/v0_93/_md-comp-extended-fab-surface.scss +81 -0
- package/tokens/v0_93/_md-comp-extended-fab-tertiary.scss +80 -0
- package/tokens/v0_93/_md-comp-fab-branded-large.scss +59 -0
- package/tokens/v0_93/_md-comp-fab-branded.scss +58 -0
- package/tokens/v0_93/_md-comp-fab-primary-large.scss +61 -0
- package/tokens/v0_93/_md-comp-fab-primary-small.scss +61 -0
- package/tokens/v0_93/_md-comp-fab-primary.scss +61 -0
- package/tokens/v0_93/_md-comp-fab-secondary-large.scss +63 -0
- package/tokens/v0_93/_md-comp-fab-secondary-small.scss +62 -0
- package/tokens/v0_93/_md-comp-fab-secondary.scss +63 -0
- package/tokens/v0_93/_md-comp-fab-surface-large.scss +62 -0
- package/tokens/v0_93/_md-comp-fab-surface-small.scss +62 -0
- package/tokens/v0_93/_md-comp-fab-surface.scss +62 -0
- package/tokens/v0_93/_md-comp-fab-tertiary-large.scss +61 -0
- package/tokens/v0_93/_md-comp-fab-tertiary-small.scss +61 -0
- package/tokens/v0_93/_md-comp-fab-tertiary.scss +61 -0
- package/tokens/v0_93/_md-comp-filled-autocomplete.scss +235 -0
- package/tokens/v0_93/_md-comp-filled-button.scss +87 -0
- package/tokens/v0_93/_md-comp-filled-card.scss +59 -0
- package/tokens/v0_93/_md-comp-filled-icon-button.scss +72 -0
- package/tokens/v0_93/_md-comp-filled-menu-button.scss +89 -0
- package/tokens/v0_93/_md-comp-filled-select.scss +243 -0
- package/tokens/v0_93/_md-comp-filled-text-field.scss +146 -0
- package/tokens/v0_93/_md-comp-filled-tonal-button.scss +88 -0
- package/tokens/v0_93/_md-comp-filled-tonal-icon-button.scss +83 -0
- package/tokens/v0_93/_md-comp-filter-chip.scss +172 -0
- package/tokens/v0_93/_md-comp-full-screen-dialog.scss +131 -0
- package/tokens/v0_93/_md-comp-icon-button.scss +66 -0
- package/tokens/v0_93/_md-comp-input-chip.scss +112 -0
- package/tokens/v0_93/_md-comp-linear-progress-indicator.scss +39 -0
- package/tokens/v0_93/_md-comp-list.scss +205 -0
- package/tokens/v0_93/_md-comp-menu.scss +113 -0
- package/tokens/v0_93/_md-comp-navigation-bar.scss +97 -0
- package/tokens/v0_93/_md-comp-navigation-drawer.scss +137 -0
- package/tokens/v0_93/_md-comp-navigation-rail.scss +132 -0
- package/tokens/v0_93/_md-comp-outlined-autocomplete.scss +223 -0
- package/tokens/v0_93/_md-comp-outlined-button.scss +80 -0
- package/tokens/v0_93/_md-comp-outlined-card.scss +65 -0
- package/tokens/v0_93/_md-comp-outlined-icon-button.scss +68 -0
- package/tokens/v0_93/_md-comp-outlined-menu-button.scss +83 -0
- package/tokens/v0_93/_md-comp-outlined-segmented-button.scss +97 -0
- package/tokens/v0_93/_md-comp-outlined-select.scss +231 -0
- package/tokens/v0_93/_md-comp-outlined-text-field.scss +140 -0
- package/tokens/v0_93/_md-comp-plain-tooltip.scss +46 -0
- package/tokens/v0_93/_md-comp-primary-navigation-tab.scss +110 -0
- package/tokens/v0_93/_md-comp-radio-button.scss +58 -0
- package/tokens/v0_93/_md-comp-rich-tooltip.scss +98 -0
- package/tokens/v0_93/_md-comp-search-bar.scss +84 -0
- package/tokens/v0_93/_md-comp-search-view.scss +79 -0
- package/tokens/v0_93/_md-comp-secondary-navigation-tab.scss +78 -0
- package/tokens/v0_93/_md-comp-sheet-bottom.scss +41 -0
- package/tokens/v0_93/_md-comp-sheet-side.scss +75 -0
- package/tokens/v0_93/_md-comp-slider.scss +105 -0
- package/tokens/v0_93/_md-comp-snackbar.scss +91 -0
- package/tokens/v0_93/_md-comp-standard-menu-button.scss +82 -0
- package/tokens/v0_93/_md-comp-suggestion-chip.scss +90 -0
- package/tokens/v0_93/_md-comp-switch.scss +126 -0
- package/tokens/v0_93/_md-comp-text-button.scss +75 -0
- package/tokens/v0_93/_md-comp-time-input.scss +184 -0
- package/tokens/v0_93/_md-comp-time-picker.scss +235 -0
- package/tokens/v0_93/_md-comp-top-app-bar-large.scss +57 -0
- package/tokens/v0_93/_md-comp-top-app-bar-medium.scss +56 -0
- package/tokens/v0_93/_md-comp-top-app-bar-small-centered.scss +60 -0
- package/tokens/v0_93/_md-comp-top-app-bar-small.scss +58 -0
- package/tokens/v0_93/_md-ref-palette.scss +95 -0
- package/tokens/v0_93/_md-ref-typeface.scss +20 -0
- package/tokens/v0_93/_md-sys-color.scss +1006 -0
- package/tokens/v0_93/_md-sys-elevation.scss +30 -0
- package/tokens/v0_93/_md-sys-motion.scss +51 -0
- package/tokens/v0_93/_md-sys-shape.scss +26 -0
- package/tokens/v0_93/_md-sys-state.scss +19 -0
- package/tokens/v0_93/_md-sys-typescale.scss +204 -0
- package/types/aria.d.ts +48 -0
- package/types/keys.d.ts +57 -0
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2022 Google LLC
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
//
|
|
5
|
+
|
|
6
|
+
// stylelint-disable selector-class-pattern --
|
|
7
|
+
// Selector '.md3-*' should only be used in this project.
|
|
8
|
+
|
|
9
|
+
@use 'sass:math';
|
|
10
|
+
@use '@material/web/focus/lib/focus-ring-theme';
|
|
11
|
+
@use '@material/web/motion/animation';
|
|
12
|
+
|
|
13
|
+
@use './checkbox-theme';
|
|
14
|
+
|
|
15
|
+
$_transition-duration: 90ms;
|
|
16
|
+
$_mark-stroke-size: 4px;
|
|
17
|
+
$_unselected-outline-width: 2px;
|
|
18
|
+
$_selected-checkmark-padding: 2.8px;
|
|
19
|
+
|
|
20
|
+
// Manual calculation done on SVG
|
|
21
|
+
$_mark-path-length: 29.7833385 !default;
|
|
22
|
+
$_indeterminate-checked-easing-function: cubic-bezier(0.14, 0, 0, 1) !default;
|
|
23
|
+
|
|
24
|
+
@function transition-enter(
|
|
25
|
+
$property,
|
|
26
|
+
$delay: 0ms,
|
|
27
|
+
$duration: $_transition-duration
|
|
28
|
+
) {
|
|
29
|
+
@return animation.deceleration($property, $duration, $delay);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@function transition-exit(
|
|
33
|
+
$property,
|
|
34
|
+
$delay: 0ms,
|
|
35
|
+
$duration: $_transition-duration
|
|
36
|
+
) {
|
|
37
|
+
@return animation.sharp($property, $duration, $delay);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@mixin static-styles() {
|
|
41
|
+
@include _mark-keyframes();
|
|
42
|
+
@include _animation();
|
|
43
|
+
|
|
44
|
+
.md3-checkbox {
|
|
45
|
+
@include _base();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.md3-checkbox__background {
|
|
49
|
+
@include _background();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.md3-checkbox__checkmark {
|
|
53
|
+
@include _checkmark();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.md3-checkbox__checkmark-path {
|
|
57
|
+
@include _checkmark-path();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.md3-checkbox__mixedmark {
|
|
61
|
+
@include _mixedmark();
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.md3-checkbox__native-control:checked ~ .md3-checkbox__background,
|
|
65
|
+
.md3-checkbox__native-control:indeterminate ~ .md3-checkbox__background,
|
|
66
|
+
.md3-checkbox__native-control[data-indeterminate='true']
|
|
67
|
+
~ .md3-checkbox__background {
|
|
68
|
+
@include _background--marked();
|
|
69
|
+
|
|
70
|
+
.md3-checkbox__checkmark-path {
|
|
71
|
+
@include _checkmark-path--marked();
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.md3-checkbox__native-control {
|
|
76
|
+
@include _native-control();
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.md3-checkbox--disabled,
|
|
80
|
+
.md3-checkbox__native-control:disabled {
|
|
81
|
+
@include _disabled();
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.md3-checkbox__native-control:checked ~ .md3-checkbox__background {
|
|
85
|
+
.md3-checkbox__checkmark {
|
|
86
|
+
@include _checkmark--checked();
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.md3-checkbox__mixedmark {
|
|
90
|
+
@include _mixedmark--checked();
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
.md3-checkbox__native-control:indeterminate ~ .md3-checkbox__background,
|
|
94
|
+
.md3-checkbox__native-control[data-indeterminate='true']
|
|
95
|
+
~ .md3-checkbox__background {
|
|
96
|
+
.md3-checkbox__checkmark {
|
|
97
|
+
@include _checkmark--indeterminate();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.md3-checkbox__mixedmark {
|
|
101
|
+
@include _mixedmark--indeterminate();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.md3-checkbox__ripple {
|
|
106
|
+
position: absolute;
|
|
107
|
+
display: inline-flex;
|
|
108
|
+
z-index: -1;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@include focus-ring-theme.theme(
|
|
112
|
+
(
|
|
113
|
+
container-outer-padding-vertical: -2px,
|
|
114
|
+
container-outer-padding-horizontal: -2px,
|
|
115
|
+
)
|
|
116
|
+
);
|
|
117
|
+
@include checkbox-theme.high-contrast-styles();
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@mixin _base() {
|
|
121
|
+
display: inline-flex;
|
|
122
|
+
position: relative;
|
|
123
|
+
line-height: 0;
|
|
124
|
+
white-space: nowrap;
|
|
125
|
+
cursor: pointer;
|
|
126
|
+
vertical-align: bottom;
|
|
127
|
+
z-index: 0;
|
|
128
|
+
align-items: center;
|
|
129
|
+
justify-content: center;
|
|
130
|
+
flex-direction: column;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@mixin _disabled() {
|
|
134
|
+
cursor: default;
|
|
135
|
+
pointer-events: none;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@mixin _animation() {
|
|
139
|
+
$md3-checkbox-indeterminate-change-duration_: 500ms;
|
|
140
|
+
|
|
141
|
+
.md3-checkbox--anim-unchecked-checked,
|
|
142
|
+
.md3-checkbox--anim-unchecked-indeterminate,
|
|
143
|
+
.md3-checkbox--anim-checked-unchecked,
|
|
144
|
+
.md3-checkbox--anim-indeterminate-unchecked {
|
|
145
|
+
.md3-checkbox__background {
|
|
146
|
+
animation-duration: $_transition-duration * 2;
|
|
147
|
+
animation-timing-function: linear;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// stylelint-disable no-unknown-animations -- Asterisk is treated as
|
|
152
|
+
// animation name. Supress the lint warning.
|
|
153
|
+
.md3-checkbox--anim-unchecked-checked {
|
|
154
|
+
.md3-checkbox__checkmark-path {
|
|
155
|
+
// Instead of delaying the animation, we simply multiply its length by 2 and begin the
|
|
156
|
+
// animation at 50% in order to prevent a flash of styles applied to a checked checkmark
|
|
157
|
+
// as the background is fading in before the animation begins.
|
|
158
|
+
animation: md3-checkbox-unchecked-checked-checkmark-path
|
|
159
|
+
$_transition-duration * 2 linear 0s;
|
|
160
|
+
transition: none;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.md3-checkbox--anim-unchecked-indeterminate {
|
|
165
|
+
.md3-checkbox__mixedmark {
|
|
166
|
+
animation: md3-checkbox-unchecked-indeterminate-mixedmark
|
|
167
|
+
$_transition-duration linear 0s;
|
|
168
|
+
transition: none;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.md3-checkbox--anim-checked-unchecked {
|
|
173
|
+
.md3-checkbox__checkmark-path {
|
|
174
|
+
animation: md3-checkbox-checked-unchecked-checkmark-path
|
|
175
|
+
$_transition-duration linear 0s;
|
|
176
|
+
transition: none;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.md3-checkbox--anim-checked-indeterminate {
|
|
181
|
+
.md3-checkbox__checkmark {
|
|
182
|
+
animation: md3-checkbox-checked-indeterminate-checkmark
|
|
183
|
+
$_transition-duration linear 0s;
|
|
184
|
+
transition: none;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.md3-checkbox__mixedmark {
|
|
188
|
+
animation: md3-checkbox-checked-indeterminate-mixedmark
|
|
189
|
+
$_transition-duration linear 0s;
|
|
190
|
+
transition: none;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.md3-checkbox--anim-indeterminate-checked {
|
|
195
|
+
.md3-checkbox__checkmark {
|
|
196
|
+
animation: md3-checkbox-indeterminate-checked-checkmark
|
|
197
|
+
$md3-checkbox-indeterminate-change-duration_ linear 0s;
|
|
198
|
+
transition: none;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.md3-checkbox__mixedmark {
|
|
202
|
+
animation: md3-checkbox-indeterminate-checked-mixedmark
|
|
203
|
+
$md3-checkbox-indeterminate-change-duration_ linear 0s;
|
|
204
|
+
transition: none;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.md3-checkbox--anim-indeterminate-unchecked {
|
|
209
|
+
.md3-checkbox__mixedmark {
|
|
210
|
+
animation: md3-checkbox-indeterminate-unchecked-mixedmark
|
|
211
|
+
$md3-checkbox-indeterminate-change-duration_ * 0.6 linear 0s;
|
|
212
|
+
transition: none;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
@mixin _background() {
|
|
218
|
+
display: inline-flex;
|
|
219
|
+
position: absolute;
|
|
220
|
+
align-items: center;
|
|
221
|
+
justify-content: center;
|
|
222
|
+
box-sizing: border-box;
|
|
223
|
+
border-style: solid;
|
|
224
|
+
background-color: transparent;
|
|
225
|
+
pointer-events: none;
|
|
226
|
+
will-change: background-color, border-color;
|
|
227
|
+
|
|
228
|
+
transition: transition-exit(background-color), transition-exit(border-color);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
@mixin _background--marked() {
|
|
232
|
+
transition: transition-enter(border-color), transition-enter(background-color);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// Native input
|
|
236
|
+
|
|
237
|
+
@mixin _native-control() {
|
|
238
|
+
position: absolute;
|
|
239
|
+
margin: 0;
|
|
240
|
+
padding: 0;
|
|
241
|
+
opacity: 0;
|
|
242
|
+
cursor: inherit;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
// Check mark
|
|
246
|
+
|
|
247
|
+
@mixin _checkmark() {
|
|
248
|
+
padding: $_selected-checkmark-padding;
|
|
249
|
+
position: absolute;
|
|
250
|
+
inset: 0;
|
|
251
|
+
box-sizing: border-box;
|
|
252
|
+
width: 100%;
|
|
253
|
+
border: none;
|
|
254
|
+
transition: transition-exit(opacity, 0ms, $_transition-duration * 2);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
@mixin _checkmark--checked() {
|
|
258
|
+
transition: transition-enter(opacity, 0ms, $_transition-duration * 2),
|
|
259
|
+
transition-enter(transform, 0ms, $_transition-duration * 2);
|
|
260
|
+
|
|
261
|
+
opacity: 1;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
@mixin _checkmark--indeterminate() {
|
|
265
|
+
transform: rotate(45deg);
|
|
266
|
+
opacity: 0;
|
|
267
|
+
|
|
268
|
+
transition: transition-exit(opacity, 0ms, $_transition-duration),
|
|
269
|
+
transition-exit(transform, 0ms, $_transition-duration);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
// Check mark path
|
|
273
|
+
|
|
274
|
+
@mixin _checkmark-path() {
|
|
275
|
+
transition: transition-exit(
|
|
276
|
+
stroke-dashoffset,
|
|
277
|
+
0ms,
|
|
278
|
+
$_transition-duration * 2
|
|
279
|
+
);
|
|
280
|
+
|
|
281
|
+
stroke: currentColor;
|
|
282
|
+
stroke-width: $_mark-stroke-size;
|
|
283
|
+
stroke-dashoffset: $_mark-path-length;
|
|
284
|
+
stroke-dasharray: $_mark-path-length;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
@mixin _checkmark-path--marked() {
|
|
288
|
+
stroke-dashoffset: 0;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
// Mixed mark
|
|
292
|
+
|
|
293
|
+
@mixin _mixedmark() {
|
|
294
|
+
width: 100%;
|
|
295
|
+
height: 0;
|
|
296
|
+
transform: scaleX(0) rotate(0deg);
|
|
297
|
+
border-width: math.div(math.floor($_mark-stroke-size), 4);
|
|
298
|
+
border-style: solid;
|
|
299
|
+
background-color: currentColor;
|
|
300
|
+
border-color: currentColor;
|
|
301
|
+
opacity: 0;
|
|
302
|
+
transition: transition-exit(opacity), transition-exit(transform);
|
|
303
|
+
margin: $_unselected-outline-width * 2;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
@mixin _mixedmark--checked() {
|
|
307
|
+
transform: scaleX(1) rotate(-45deg);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
@mixin _mixedmark--indeterminate() {
|
|
311
|
+
transform: scaleX(1) rotate(0deg);
|
|
312
|
+
opacity: 1;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
@mixin _mark-keyframes() {
|
|
316
|
+
@keyframes md3-checkbox-unchecked-checked-checkmark-path {
|
|
317
|
+
0%,
|
|
318
|
+
50% {
|
|
319
|
+
stroke-dashoffset: $_mark-path-length;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
50% {
|
|
323
|
+
animation-timing-function: animation.$deceleration-easing;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
100% {
|
|
327
|
+
stroke-dashoffset: 0;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
@keyframes md3-checkbox-unchecked-indeterminate-mixedmark {
|
|
332
|
+
0%,
|
|
333
|
+
68.2% {
|
|
334
|
+
transform: scaleX(0);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
68.2% {
|
|
338
|
+
animation-timing-function: cubic-bezier(0, 0, 0, 1);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
100% {
|
|
342
|
+
transform: scaleX(1);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
@keyframes md3-checkbox-checked-unchecked-checkmark-path {
|
|
347
|
+
from {
|
|
348
|
+
animation-timing-function: animation.$acceleration-easing;
|
|
349
|
+
opacity: 1;
|
|
350
|
+
stroke-dashoffset: 0;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
to {
|
|
354
|
+
opacity: 0;
|
|
355
|
+
stroke-dashoffset: $_mark-path-length * -1;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
@keyframes md3-checkbox-checked-indeterminate-checkmark {
|
|
360
|
+
from {
|
|
361
|
+
animation-timing-function: animation.$deceleration-easing;
|
|
362
|
+
transform: rotate(0deg);
|
|
363
|
+
opacity: 1;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
to {
|
|
367
|
+
transform: rotate(45deg);
|
|
368
|
+
opacity: 0;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
@keyframes md3-checkbox-indeterminate-checked-checkmark {
|
|
373
|
+
from {
|
|
374
|
+
animation-timing-function: $_indeterminate-checked-easing-function;
|
|
375
|
+
transform: rotate(45deg);
|
|
376
|
+
opacity: 0;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
to {
|
|
380
|
+
transform: rotate(360deg);
|
|
381
|
+
opacity: 1;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
@keyframes md3-checkbox-checked-indeterminate-mixedmark {
|
|
386
|
+
from {
|
|
387
|
+
animation-timing-function: md3-animation-deceleration-curve-timing-function;
|
|
388
|
+
transform: rotate(-45deg);
|
|
389
|
+
opacity: 0;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
to {
|
|
393
|
+
transform: rotate(0deg);
|
|
394
|
+
opacity: 1;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
@keyframes md3-checkbox-indeterminate-checked-mixedmark {
|
|
399
|
+
from {
|
|
400
|
+
animation-timing-function: $_indeterminate-checked-easing-function;
|
|
401
|
+
transform: rotate(0deg);
|
|
402
|
+
opacity: 1;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
to {
|
|
406
|
+
transform: rotate(315deg);
|
|
407
|
+
opacity: 0;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
@keyframes md3-checkbox-indeterminate-unchecked-mixedmark {
|
|
412
|
+
0% {
|
|
413
|
+
animation-timing-function: linear;
|
|
414
|
+
transform: scaleX(1);
|
|
415
|
+
opacity: 1;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
32.8%,
|
|
419
|
+
100% {
|
|
420
|
+
transform: scaleX(0);
|
|
421
|
+
opacity: 0;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { css } from 'lit';
|
|
7
|
+
export const styles = css `:host{--md-ripple-hover-state-layer-color:var(--md-checkbox-unselected-hover-state-layer-color, var(--md-sys-color-on-surface, #1c1b1f));--md-ripple-focus-state-layer-color:var(--md-checkbox-unselected-focus-state-layer-color, var(--md-sys-color-on-surface, #1c1b1f));--md-ripple-pressed-state-layer-color:var(--md-checkbox-unselected-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-hover-state-layer-opacity:var(--md-checkbox-unselected-hover-state-layer-opacity, 0.08);--md-ripple-focus-state-layer-opacity:var(--md-checkbox-unselected-focus-state-layer-opacity, 0.12);--md-ripple-pressed-state-layer-opacity:var(--md-checkbox-unselected-pressed-state-layer-opacity, 0.12);--md-focus-ring-container-outer-padding-vertical:-2px;--md-focus-ring-container-outer-padding-horizontal:-2px;display:inline-flex}:host .md3-checkbox{height:var(--md-checkbox-state-layer-size, 40px);width:var(--md-checkbox-state-layer-size, 40px)}:host .md3-checkbox .md3-checkbox__background{height:var(--md-checkbox-icon-size, 18px)}:host .md3-checkbox .md3-checkbox__background{width:var(--md-checkbox-icon-size, 18px)}:host .md3-checkbox .md3-checkbox__background{height:var(--md-checkbox-container-height, 18px)}:host .md3-checkbox .md3-checkbox__background{width:var(--md-checkbox-container-width, 18px)}:host .md3-checkbox .md3-checkbox__background{border-radius:var(--md-checkbox-container-shape, 2px)}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled~.md3-checkbox__background{border-color:var(--md-checkbox-unselected-outline-color, var(--md-sys-color-on-surface, #1c1b1f))}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:hover~.md3-checkbox__background{border-color:var(--md-checkbox-unselected-hover-outline-color, var(--md-sys-color-on-surface, #1c1b1f))}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:focus~.md3-checkbox__background{border-color:var(--md-checkbox-unselected-focus-outline-color, var(--md-sys-color-on-surface, #1c1b1f))}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:active~.md3-checkbox__background{border-color:var(--md-checkbox-unselected-pressed-outline-color, var(--md-sys-color-on-surface, #1c1b1f))}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):disabled~.md3-checkbox__background{border-color:var(--md-checkbox-unselected-disabled-outline-color, rgb(var(--md-sys-color-on-surface-rgb, 28, 27, 31), 0.38))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled~.md3-checkbox__background{background-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled~.md3-checkbox__background{border-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:hover~.md3-checkbox__background{background-color:var(--md-checkbox-selected-hover-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:hover~.md3-checkbox__background{border-color:var(--md-checkbox-selected-hover-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:focus~.md3-checkbox__background{background-color:var(--md-checkbox-selected-focus-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:focus~.md3-checkbox__background{border-color:var(--md-checkbox-selected-focus-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:active~.md3-checkbox__background{background-color:var(--md-checkbox-selected-pressed-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:active~.md3-checkbox__background{border-color:var(--md-checkbox-selected-pressed-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:disabled~.md3-checkbox__background{background-color:var(--md-checkbox-selected-disabled-container-color, rgb(var(--md-sys-color-on-surface-rgb, 28, 27, 31), 0.38))}:host .md3-checkbox .md3-checkbox__native-control:checked:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:disabled~.md3-checkbox__background{border-color:var(--md-checkbox-selected-disabled-container-color, rgb(var(--md-sys-color-on-surface-rgb, 28, 27, 31), 0.38))}@keyframes md3-checkbox-fade-in-background{0%{border-color:var(--md-checkbox-unselected-outline-color, var(--md-sys-color-on-surface, #1c1b1f));background-color:var(--md-checkbox-unselected-outline-color, var(--md-sys-color-on-surface, #1c1b1f))}50%{border-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary, #6750a4));background-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary, #6750a4))}}@keyframes md3-checkbox-fade-out-background{0%,80%{border-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary, #6750a4));background-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary, #6750a4))}100%{border-color:var(--md-checkbox-unselected-outline-color, var(--md-sys-color-on-surface, #1c1b1f));background-color:rgba(0,0,0,0)}}:host .md3-checkbox .md3-checkbox--anim-unchecked-checked .md3-checkbox__native-control:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox--anim-unchecked-indeterminate .md3-checkbox__native-control:enabled~.md3-checkbox__background{animation-name:md3-checkbox-fade-in-background}:host .md3-checkbox .md3-checkbox--anim-checked-unchecked .md3-checkbox__native-control:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox--anim-indeterminate-unchecked .md3-checkbox__native-control:enabled~.md3-checkbox__background{animation-name:md3-checkbox-fade-out-background}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled~.md3-checkbox__background{border-width:var(--md-checkbox-selected-outline-width, 0)}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:hover~.md3-checkbox__background{border-width:var(--md-checkbox-selected-hover-outline-width, 0)}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:focus~.md3-checkbox__background{border-width:var(--md-checkbox-selected-focus-outline-width, 0)}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:active~.md3-checkbox__background{border-width:var(--md-checkbox-selected-pressed-outline-width, 0)}:host .md3-checkbox .md3-checkbox__native-control:checked:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:disabled~.md3-checkbox__background{border-width:var(--md-checkbox-selected-disabled-container-outline-width, 0)}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled~.md3-checkbox__background{border-width:var(--md-checkbox-unselected-outline-width, 2px)}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:hover~.md3-checkbox__background{border-width:var(--md-checkbox-unselected-hover-outline-width, 2px)}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:focus~.md3-checkbox__background{border-width:var(--md-checkbox-unselected-focus-outline-width, 2px)}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:active~.md3-checkbox__background{border-width:var(--md-checkbox-unselected-pressed-outline-width, 2px)}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):disabled~.md3-checkbox__background{border-width:var(--md-checkbox-unselected-disabled-outline-width, 2px)}:host .md3-checkbox .md3-checkbox__native-control~.md3-checkbox__background .md3-checkbox__checkmark{color:var(--md-checkbox-selected-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control~.md3-checkbox__background .md3-checkbox__mixedmark{color:var(--md-checkbox-selected-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:hover~.md3-checkbox__background .md3-checkbox__checkmark{color:var(--md-checkbox-selected-hover-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:hover~.md3-checkbox__background .md3-checkbox__mixedmark{color:var(--md-checkbox-selected-hover-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:focus~.md3-checkbox__background .md3-checkbox__checkmark{color:var(--md-checkbox-selected-focus-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:focus~.md3-checkbox__background .md3-checkbox__mixedmark{color:var(--md-checkbox-selected-focus-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:active~.md3-checkbox__background .md3-checkbox__checkmark{color:var(--md-checkbox-selected-pressed-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:active~.md3-checkbox__background .md3-checkbox__mixedmark{color:var(--md-checkbox-selected-pressed-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:disabled~.md3-checkbox__background .md3-checkbox__checkmark{color:var(--md-checkbox-selected-disabled-icon-color, var(--md-sys-color-surface, #fffbfe))}:host .md3-checkbox .md3-checkbox__native-control:disabled~.md3-checkbox__background .md3-checkbox__mixedmark{color:var(--md-checkbox-selected-disabled-icon-color, var(--md-sys-color-surface, #fffbfe))}:host .md3-checkbox .md3-checkbox__ripple{height:var(--md-checkbox-state-layer-size, 40px);width:var(--md-checkbox-state-layer-size, 40px)}:host .md3-checkbox .md3-checkbox__native-control{width:var(--md-checkbox-state-layer-size, 40px);height:var(--md-checkbox-state-layer-size, 40px)}:host .md3-checkbox--touch{height:var(--md-checkbox-_touch-target-size, 48px);width:var(--md-checkbox-_touch-target-size, 48px)}:host .md3-checkbox--touch .md3-checkbox__native-control{width:var(--md-checkbox-_touch-target-size, 48px);height:var(--md-checkbox-_touch-target-size, 48px)}:host .md3-checkbox__native-control:checked:enabled~.md3-checkbox__ripple,:host .md3-checkbox__native-control:indeterminate:enabled~.md3-checkbox__ripple,:host .md3-checkbox__native-control[data-indeterminate=true]:enabled~.md3-checkbox__ripple{--md-ripple-hover-state-layer-color:var(--md-checkbox-selected-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-focus-state-layer-color:var(--md-checkbox-selected-focus-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-pressed-state-layer-color:var(--md-checkbox-selected-pressed-state-layer-color, var(--md-sys-color-on-surface, #1c1b1f));--md-ripple-hover-state-layer-opacity:var(--md-checkbox-selected-hover-state-layer-opacity, 0.08);--md-ripple-focus-state-layer-opacity:var(--md-checkbox-selected-focus-state-layer-opacity, 0.12);--md-ripple-pressed-state-layer-opacity:var(--md-checkbox-selected-pressed-state-layer-opacity, 0.12)}@keyframes md3-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes md3-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes md3-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes md3-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes md3-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes md3-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:md3-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes md3-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes md3-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}:host .md3-checkbox--anim-unchecked-checked .md3-checkbox__background,:host .md3-checkbox--anim-unchecked-indeterminate .md3-checkbox__background,:host .md3-checkbox--anim-checked-unchecked .md3-checkbox__background,:host .md3-checkbox--anim-indeterminate-unchecked .md3-checkbox__background{animation-duration:180ms;animation-timing-function:linear}:host .md3-checkbox--anim-unchecked-checked .md3-checkbox__checkmark-path{animation:md3-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}:host .md3-checkbox--anim-unchecked-indeterminate .md3-checkbox__mixedmark{animation:md3-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}:host .md3-checkbox--anim-checked-unchecked .md3-checkbox__checkmark-path{animation:md3-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}:host .md3-checkbox--anim-checked-indeterminate .md3-checkbox__checkmark{animation:md3-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}:host .md3-checkbox--anim-checked-indeterminate .md3-checkbox__mixedmark{animation:md3-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}:host .md3-checkbox--anim-indeterminate-checked .md3-checkbox__checkmark{animation:md3-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}:host .md3-checkbox--anim-indeterminate-checked .md3-checkbox__mixedmark{animation:md3-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}:host .md3-checkbox--anim-indeterminate-unchecked .md3-checkbox__mixedmark{animation:md3-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}:host .md3-checkbox{display:inline-flex;position:relative;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;z-index:0;align-items:center;justify-content:center;flex-direction:column}:host .md3-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;border-style:solid;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1) 0ms,border-color 90ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}:host .md3-checkbox__checkmark{padding:2.8px;position:absolute;inset:0;box-sizing:border-box;width:100%;border:none;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}:host .md3-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;stroke:currentColor;stroke-width:4px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}:host .md3-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;background-color:currentColor;border-color:currentColor;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1) 0ms,transform 90ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;margin:4px}:host .md3-checkbox__native-control:checked~.md3-checkbox__background,:host .md3-checkbox__native-control:indeterminate~.md3-checkbox__background,:host .md3-checkbox__native-control[data-indeterminate=true]~.md3-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1) 0ms,background-color 90ms cubic-bezier(0, 0, 0.2, 1) 0ms}:host .md3-checkbox__native-control:checked~.md3-checkbox__background .md3-checkbox__checkmark-path,:host .md3-checkbox__native-control:indeterminate~.md3-checkbox__background .md3-checkbox__checkmark-path,:host .md3-checkbox__native-control[data-indeterminate=true]~.md3-checkbox__background .md3-checkbox__checkmark-path{stroke-dashoffset:0}:host .md3-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}:host .md3-checkbox--disabled,:host .md3-checkbox__native-control:disabled{cursor:default;pointer-events:none}:host .md3-checkbox__native-control:checked~.md3-checkbox__background .md3-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1) 0ms,transform 180ms cubic-bezier(0, 0, 0.2, 1) 0ms;opacity:1}:host .md3-checkbox__native-control:checked~.md3-checkbox__background .md3-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}:host .md3-checkbox__native-control:indeterminate~.md3-checkbox__background .md3-checkbox__checkmark,:host .md3-checkbox__native-control[data-indeterminate=true]~.md3-checkbox__background .md3-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1) 0ms,transform 90ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}:host .md3-checkbox__native-control:indeterminate~.md3-checkbox__background .md3-checkbox__mixedmark,:host .md3-checkbox__native-control[data-indeterminate=true]~.md3-checkbox__background .md3-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}:host .md3-checkbox__ripple{position:absolute;display:inline-flex;z-index:-1}@media(forced-colors: active){:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:hover~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:focus~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:active~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):disabled~.md3-checkbox__background{border-color:GrayText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled~.md3-checkbox__background{background-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:hover~.md3-checkbox__background{background-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:hover~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:focus~.md3-checkbox__background{background-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:focus~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:active~.md3-checkbox__background{background-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:active~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:disabled~.md3-checkbox__background{background-color:GrayText}:host .md3-checkbox .md3-checkbox__native-control:checked:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:disabled~.md3-checkbox__background{border-color:GrayText}@keyframes md3-checkbox-fade-in-background{0%{border-color:CanvasText;background-color:CanvasText}50%{border-color:CanvasText;background-color:CanvasText}}@keyframes md3-checkbox-fade-out-background{0%,80%{border-color:CanvasText;background-color:CanvasText}100%{border-color:CanvasText;background-color:rgba(0,0,0,0)}}:host .md3-checkbox .md3-checkbox--anim-unchecked-checked .md3-checkbox__native-control:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox--anim-unchecked-indeterminate .md3-checkbox__native-control:enabled~.md3-checkbox__background{animation-name:md3-checkbox-fade-in-background}:host .md3-checkbox .md3-checkbox--anim-checked-unchecked .md3-checkbox__native-control:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox--anim-indeterminate-unchecked .md3-checkbox__native-control:enabled~.md3-checkbox__background{animation-name:md3-checkbox-fade-out-background}:host .md3-checkbox .md3-checkbox__native-control~.md3-checkbox__background .md3-checkbox__checkmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control~.md3-checkbox__background .md3-checkbox__mixedmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:hover~.md3-checkbox__background .md3-checkbox__checkmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:hover~.md3-checkbox__background .md3-checkbox__mixedmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:focus~.md3-checkbox__background .md3-checkbox__checkmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:focus~.md3-checkbox__background .md3-checkbox__mixedmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:active~.md3-checkbox__background .md3-checkbox__checkmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:active~.md3-checkbox__background .md3-checkbox__mixedmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:disabled~.md3-checkbox__background .md3-checkbox__checkmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:disabled~.md3-checkbox__background .md3-checkbox__mixedmark{color:Canvas}}/*# sourceMappingURL=checkbox-styles.css.map */
|
|
8
|
+
`;
|
|
9
|
+
//# sourceMappingURL=checkbox-styles.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-styles.css.js","sourceRoot":"","sources":["checkbox-styles.css.ts"],"names":[],"mappings":"AAAA;;;;IAII;AACH,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;CACzB,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n import {css} from 'lit';\n export const styles = css`:host{--md-ripple-hover-state-layer-color:var(--md-checkbox-unselected-hover-state-layer-color, var(--md-sys-color-on-surface, #1c1b1f));--md-ripple-focus-state-layer-color:var(--md-checkbox-unselected-focus-state-layer-color, var(--md-sys-color-on-surface, #1c1b1f));--md-ripple-pressed-state-layer-color:var(--md-checkbox-unselected-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-hover-state-layer-opacity:var(--md-checkbox-unselected-hover-state-layer-opacity, 0.08);--md-ripple-focus-state-layer-opacity:var(--md-checkbox-unselected-focus-state-layer-opacity, 0.12);--md-ripple-pressed-state-layer-opacity:var(--md-checkbox-unselected-pressed-state-layer-opacity, 0.12);--md-focus-ring-container-outer-padding-vertical:-2px;--md-focus-ring-container-outer-padding-horizontal:-2px;display:inline-flex}:host .md3-checkbox{height:var(--md-checkbox-state-layer-size, 40px);width:var(--md-checkbox-state-layer-size, 40px)}:host .md3-checkbox .md3-checkbox__background{height:var(--md-checkbox-icon-size, 18px)}:host .md3-checkbox .md3-checkbox__background{width:var(--md-checkbox-icon-size, 18px)}:host .md3-checkbox .md3-checkbox__background{height:var(--md-checkbox-container-height, 18px)}:host .md3-checkbox .md3-checkbox__background{width:var(--md-checkbox-container-width, 18px)}:host .md3-checkbox .md3-checkbox__background{border-radius:var(--md-checkbox-container-shape, 2px)}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled~.md3-checkbox__background{border-color:var(--md-checkbox-unselected-outline-color, var(--md-sys-color-on-surface, #1c1b1f))}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:hover~.md3-checkbox__background{border-color:var(--md-checkbox-unselected-hover-outline-color, var(--md-sys-color-on-surface, #1c1b1f))}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:focus~.md3-checkbox__background{border-color:var(--md-checkbox-unselected-focus-outline-color, var(--md-sys-color-on-surface, #1c1b1f))}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:active~.md3-checkbox__background{border-color:var(--md-checkbox-unselected-pressed-outline-color, var(--md-sys-color-on-surface, #1c1b1f))}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):disabled~.md3-checkbox__background{border-color:var(--md-checkbox-unselected-disabled-outline-color, rgb(var(--md-sys-color-on-surface-rgb, 28, 27, 31), 0.38))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled~.md3-checkbox__background{background-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled~.md3-checkbox__background{border-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:hover~.md3-checkbox__background{background-color:var(--md-checkbox-selected-hover-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:hover~.md3-checkbox__background{border-color:var(--md-checkbox-selected-hover-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:focus~.md3-checkbox__background{background-color:var(--md-checkbox-selected-focus-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:focus~.md3-checkbox__background{border-color:var(--md-checkbox-selected-focus-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:active~.md3-checkbox__background{background-color:var(--md-checkbox-selected-pressed-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:active~.md3-checkbox__background{border-color:var(--md-checkbox-selected-pressed-container-color, var(--md-sys-color-primary, #6750a4))}:host .md3-checkbox .md3-checkbox__native-control:checked:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:disabled~.md3-checkbox__background{background-color:var(--md-checkbox-selected-disabled-container-color, rgb(var(--md-sys-color-on-surface-rgb, 28, 27, 31), 0.38))}:host .md3-checkbox .md3-checkbox__native-control:checked:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:disabled~.md3-checkbox__background{border-color:var(--md-checkbox-selected-disabled-container-color, rgb(var(--md-sys-color-on-surface-rgb, 28, 27, 31), 0.38))}@keyframes md3-checkbox-fade-in-background{0%{border-color:var(--md-checkbox-unselected-outline-color, var(--md-sys-color-on-surface, #1c1b1f));background-color:var(--md-checkbox-unselected-outline-color, var(--md-sys-color-on-surface, #1c1b1f))}50%{border-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary, #6750a4));background-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary, #6750a4))}}@keyframes md3-checkbox-fade-out-background{0%,80%{border-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary, #6750a4));background-color:var(--md-checkbox-selected-container-color, var(--md-sys-color-primary, #6750a4))}100%{border-color:var(--md-checkbox-unselected-outline-color, var(--md-sys-color-on-surface, #1c1b1f));background-color:rgba(0,0,0,0)}}:host .md3-checkbox .md3-checkbox--anim-unchecked-checked .md3-checkbox__native-control:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox--anim-unchecked-indeterminate .md3-checkbox__native-control:enabled~.md3-checkbox__background{animation-name:md3-checkbox-fade-in-background}:host .md3-checkbox .md3-checkbox--anim-checked-unchecked .md3-checkbox__native-control:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox--anim-indeterminate-unchecked .md3-checkbox__native-control:enabled~.md3-checkbox__background{animation-name:md3-checkbox-fade-out-background}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled~.md3-checkbox__background{border-width:var(--md-checkbox-selected-outline-width, 0)}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:hover~.md3-checkbox__background{border-width:var(--md-checkbox-selected-hover-outline-width, 0)}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:focus~.md3-checkbox__background{border-width:var(--md-checkbox-selected-focus-outline-width, 0)}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:active~.md3-checkbox__background{border-width:var(--md-checkbox-selected-pressed-outline-width, 0)}:host .md3-checkbox .md3-checkbox__native-control:checked:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:disabled~.md3-checkbox__background{border-width:var(--md-checkbox-selected-disabled-container-outline-width, 0)}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled~.md3-checkbox__background{border-width:var(--md-checkbox-unselected-outline-width, 2px)}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:hover~.md3-checkbox__background{border-width:var(--md-checkbox-unselected-hover-outline-width, 2px)}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:focus~.md3-checkbox__background{border-width:var(--md-checkbox-unselected-focus-outline-width, 2px)}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:active~.md3-checkbox__background{border-width:var(--md-checkbox-unselected-pressed-outline-width, 2px)}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):disabled~.md3-checkbox__background{border-width:var(--md-checkbox-unselected-disabled-outline-width, 2px)}:host .md3-checkbox .md3-checkbox__native-control~.md3-checkbox__background .md3-checkbox__checkmark{color:var(--md-checkbox-selected-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control~.md3-checkbox__background .md3-checkbox__mixedmark{color:var(--md-checkbox-selected-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:hover~.md3-checkbox__background .md3-checkbox__checkmark{color:var(--md-checkbox-selected-hover-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:hover~.md3-checkbox__background .md3-checkbox__mixedmark{color:var(--md-checkbox-selected-hover-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:focus~.md3-checkbox__background .md3-checkbox__checkmark{color:var(--md-checkbox-selected-focus-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:focus~.md3-checkbox__background .md3-checkbox__mixedmark{color:var(--md-checkbox-selected-focus-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:active~.md3-checkbox__background .md3-checkbox__checkmark{color:var(--md-checkbox-selected-pressed-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:active~.md3-checkbox__background .md3-checkbox__mixedmark{color:var(--md-checkbox-selected-pressed-icon-color, var(--md-sys-color-on-primary, #fff))}:host .md3-checkbox .md3-checkbox__native-control:disabled~.md3-checkbox__background .md3-checkbox__checkmark{color:var(--md-checkbox-selected-disabled-icon-color, var(--md-sys-color-surface, #fffbfe))}:host .md3-checkbox .md3-checkbox__native-control:disabled~.md3-checkbox__background .md3-checkbox__mixedmark{color:var(--md-checkbox-selected-disabled-icon-color, var(--md-sys-color-surface, #fffbfe))}:host .md3-checkbox .md3-checkbox__ripple{height:var(--md-checkbox-state-layer-size, 40px);width:var(--md-checkbox-state-layer-size, 40px)}:host .md3-checkbox .md3-checkbox__native-control{width:var(--md-checkbox-state-layer-size, 40px);height:var(--md-checkbox-state-layer-size, 40px)}:host .md3-checkbox--touch{height:var(--md-checkbox-_touch-target-size, 48px);width:var(--md-checkbox-_touch-target-size, 48px)}:host .md3-checkbox--touch .md3-checkbox__native-control{width:var(--md-checkbox-_touch-target-size, 48px);height:var(--md-checkbox-_touch-target-size, 48px)}:host .md3-checkbox__native-control:checked:enabled~.md3-checkbox__ripple,:host .md3-checkbox__native-control:indeterminate:enabled~.md3-checkbox__ripple,:host .md3-checkbox__native-control[data-indeterminate=true]:enabled~.md3-checkbox__ripple{--md-ripple-hover-state-layer-color:var(--md-checkbox-selected-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-focus-state-layer-color:var(--md-checkbox-selected-focus-state-layer-color, var(--md-sys-color-primary, #6750a4));--md-ripple-pressed-state-layer-color:var(--md-checkbox-selected-pressed-state-layer-color, var(--md-sys-color-on-surface, #1c1b1f));--md-ripple-hover-state-layer-opacity:var(--md-checkbox-selected-hover-state-layer-opacity, 0.08);--md-ripple-focus-state-layer-opacity:var(--md-checkbox-selected-focus-state-layer-opacity, 0.12);--md-ripple-pressed-state-layer-opacity:var(--md-checkbox-selected-pressed-state-layer-opacity, 0.12)}@keyframes md3-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes md3-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes md3-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes md3-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes md3-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes md3-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:md3-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes md3-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes md3-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}:host .md3-checkbox--anim-unchecked-checked .md3-checkbox__background,:host .md3-checkbox--anim-unchecked-indeterminate .md3-checkbox__background,:host .md3-checkbox--anim-checked-unchecked .md3-checkbox__background,:host .md3-checkbox--anim-indeterminate-unchecked .md3-checkbox__background{animation-duration:180ms;animation-timing-function:linear}:host .md3-checkbox--anim-unchecked-checked .md3-checkbox__checkmark-path{animation:md3-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}:host .md3-checkbox--anim-unchecked-indeterminate .md3-checkbox__mixedmark{animation:md3-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}:host .md3-checkbox--anim-checked-unchecked .md3-checkbox__checkmark-path{animation:md3-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}:host .md3-checkbox--anim-checked-indeterminate .md3-checkbox__checkmark{animation:md3-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}:host .md3-checkbox--anim-checked-indeterminate .md3-checkbox__mixedmark{animation:md3-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}:host .md3-checkbox--anim-indeterminate-checked .md3-checkbox__checkmark{animation:md3-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}:host .md3-checkbox--anim-indeterminate-checked .md3-checkbox__mixedmark{animation:md3-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}:host .md3-checkbox--anim-indeterminate-unchecked .md3-checkbox__mixedmark{animation:md3-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}:host .md3-checkbox{display:inline-flex;position:relative;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;z-index:0;align-items:center;justify-content:center;flex-direction:column}:host .md3-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;border-style:solid;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1) 0ms,border-color 90ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}:host .md3-checkbox__checkmark{padding:2.8px;position:absolute;inset:0;box-sizing:border-box;width:100%;border:none;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}:host .md3-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;stroke:currentColor;stroke-width:4px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}:host .md3-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;background-color:currentColor;border-color:currentColor;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1) 0ms,transform 90ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;margin:4px}:host .md3-checkbox__native-control:checked~.md3-checkbox__background,:host .md3-checkbox__native-control:indeterminate~.md3-checkbox__background,:host .md3-checkbox__native-control[data-indeterminate=true]~.md3-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1) 0ms,background-color 90ms cubic-bezier(0, 0, 0.2, 1) 0ms}:host .md3-checkbox__native-control:checked~.md3-checkbox__background .md3-checkbox__checkmark-path,:host .md3-checkbox__native-control:indeterminate~.md3-checkbox__background .md3-checkbox__checkmark-path,:host .md3-checkbox__native-control[data-indeterminate=true]~.md3-checkbox__background .md3-checkbox__checkmark-path{stroke-dashoffset:0}:host .md3-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}:host .md3-checkbox--disabled,:host .md3-checkbox__native-control:disabled{cursor:default;pointer-events:none}:host .md3-checkbox__native-control:checked~.md3-checkbox__background .md3-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1) 0ms,transform 180ms cubic-bezier(0, 0, 0.2, 1) 0ms;opacity:1}:host .md3-checkbox__native-control:checked~.md3-checkbox__background .md3-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}:host .md3-checkbox__native-control:indeterminate~.md3-checkbox__background .md3-checkbox__checkmark,:host .md3-checkbox__native-control[data-indeterminate=true]~.md3-checkbox__background .md3-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1) 0ms,transform 90ms cubic-bezier(0.4, 0, 0.6, 1) 0ms}:host .md3-checkbox__native-control:indeterminate~.md3-checkbox__background .md3-checkbox__mixedmark,:host .md3-checkbox__native-control[data-indeterminate=true]~.md3-checkbox__background .md3-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}:host .md3-checkbox__ripple{position:absolute;display:inline-flex;z-index:-1}@media(forced-colors: active){:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:hover~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:focus~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):enabled:active~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:not(:checked):not(:indeterminate):not([data-indeterminate=true]):disabled~.md3-checkbox__background{border-color:GrayText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled~.md3-checkbox__background{background-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:hover~.md3-checkbox__background{background-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:hover~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:hover~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:focus~.md3-checkbox__background{background-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:focus~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:focus~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:active~.md3-checkbox__background{background-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:enabled:active~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:enabled:active~.md3-checkbox__background{border-color:CanvasText}:host .md3-checkbox .md3-checkbox__native-control:checked:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:disabled~.md3-checkbox__background{background-color:GrayText}:host .md3-checkbox .md3-checkbox__native-control:checked:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control:indeterminate:disabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox__native-control[data-indeterminate=true]:disabled~.md3-checkbox__background{border-color:GrayText}@keyframes md3-checkbox-fade-in-background{0%{border-color:CanvasText;background-color:CanvasText}50%{border-color:CanvasText;background-color:CanvasText}}@keyframes md3-checkbox-fade-out-background{0%,80%{border-color:CanvasText;background-color:CanvasText}100%{border-color:CanvasText;background-color:rgba(0,0,0,0)}}:host .md3-checkbox .md3-checkbox--anim-unchecked-checked .md3-checkbox__native-control:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox--anim-unchecked-indeterminate .md3-checkbox__native-control:enabled~.md3-checkbox__background{animation-name:md3-checkbox-fade-in-background}:host .md3-checkbox .md3-checkbox--anim-checked-unchecked .md3-checkbox__native-control:enabled~.md3-checkbox__background,:host .md3-checkbox .md3-checkbox--anim-indeterminate-unchecked .md3-checkbox__native-control:enabled~.md3-checkbox__background{animation-name:md3-checkbox-fade-out-background}:host .md3-checkbox .md3-checkbox__native-control~.md3-checkbox__background .md3-checkbox__checkmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control~.md3-checkbox__background .md3-checkbox__mixedmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:hover~.md3-checkbox__background .md3-checkbox__checkmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:hover~.md3-checkbox__background .md3-checkbox__mixedmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:focus~.md3-checkbox__background .md3-checkbox__checkmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:focus~.md3-checkbox__background .md3-checkbox__mixedmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:active~.md3-checkbox__background .md3-checkbox__checkmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:active~.md3-checkbox__background .md3-checkbox__mixedmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:disabled~.md3-checkbox__background .md3-checkbox__checkmark{color:Canvas}:host .md3-checkbox .md3-checkbox__native-control:disabled~.md3-checkbox__background .md3-checkbox__mixedmark{color:Canvas}}/*# sourceMappingURL=checkbox-styles.css.map */\n`;\n "]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2022 Google LLC
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
//
|
|
5
|
+
|
|
6
|
+
@use './checkbox';
|
|
7
|
+
@use './checkbox-theme';
|
|
8
|
+
@use '@material/web/tokens';
|
|
9
|
+
|
|
10
|
+
:host {
|
|
11
|
+
@include checkbox-theme.theme-styles(tokens.md-comp-checkbox-values());
|
|
12
|
+
@include checkbox.static-styles();
|
|
13
|
+
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2019 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import '@material/web/focus/focus-ring.js';
|
|
7
|
+
import '@material/web/ripple/ripple.js';
|
|
8
|
+
import { ActionElement, BeginPressConfig, EndPressConfig } from '@material/web/actionelement/action-element.js';
|
|
9
|
+
import { MdRipple } from '@material/web/ripple/ripple.js';
|
|
10
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
11
|
+
/** @soyCompatible */
|
|
12
|
+
export declare class Checkbox extends ActionElement {
|
|
13
|
+
protected formElement: HTMLInputElement;
|
|
14
|
+
checked: boolean;
|
|
15
|
+
indeterminate: boolean;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
name: string;
|
|
18
|
+
value: string;
|
|
19
|
+
/** @soyPrefixAttribute */
|
|
20
|
+
ariaLabel: string;
|
|
21
|
+
/** @soyPrefixAttribute */
|
|
22
|
+
ariaLabelledBy: undefined | string;
|
|
23
|
+
/** @soyPrefixAttribute */
|
|
24
|
+
ariaDescribedBy: undefined | string;
|
|
25
|
+
/**
|
|
26
|
+
* Touch target extends beyond visual boundary of a component by default.
|
|
27
|
+
* Set to `true` to remove touch target added to the component.
|
|
28
|
+
* @see https://material.io/design/usability/accessibility.html
|
|
29
|
+
*/
|
|
30
|
+
reducedTouchTarget: boolean;
|
|
31
|
+
protected animationClass: string;
|
|
32
|
+
protected showFocusRing: boolean;
|
|
33
|
+
ripple: MdRipple;
|
|
34
|
+
protected update(changedProperties: PropertyValues): void;
|
|
35
|
+
protected calculateAnimationStateName(checked: boolean, indeterminate: boolean, disabled: boolean): string;
|
|
36
|
+
/** @soyTemplate */
|
|
37
|
+
protected renderRipple(): TemplateResult;
|
|
38
|
+
/** @soyTemplate */
|
|
39
|
+
protected renderFocusRing(): TemplateResult;
|
|
40
|
+
/**
|
|
41
|
+
* @soyTemplate
|
|
42
|
+
* @soyAttributes checkboxAttributes: input
|
|
43
|
+
* @soyClasses checkboxClasses: .md3-checkbox
|
|
44
|
+
*/
|
|
45
|
+
protected render(): TemplateResult;
|
|
46
|
+
protected setFormData(formData: FormData): void;
|
|
47
|
+
beginPress({ positionEvent }: BeginPressConfig): void;
|
|
48
|
+
endPress({ cancelled }: EndPressConfig): void;
|
|
49
|
+
protected handleFocus(): void;
|
|
50
|
+
protected handleBlur(): void;
|
|
51
|
+
protected handlePointerEnter(e: PointerEvent): void;
|
|
52
|
+
handlePointerLeave(e: PointerEvent): void;
|
|
53
|
+
handlePointerDown(e: PointerEvent): void;
|
|
54
|
+
protected handleChange(): void;
|
|
55
|
+
protected resetAnimationClass(): void;
|
|
56
|
+
}
|