material 3.7.3 → 3.8.1
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/NOTICE +223 -0
- package/README.md +6 -4
- package/dist/components/badge/badge.d.ts +4 -0
- package/dist/components/badge/constants.d.ts +4 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/badge/types.d.ts +102 -0
- package/dist/components/bottom-app-bar/bottom-app-bar.d.ts +4 -0
- package/dist/components/bottom-app-bar/constants.d.ts +3 -0
- package/dist/components/bottom-app-bar/types.d.ts +42 -0
- package/dist/components/bottom-sheet/bottom-sheet.d.ts +4 -0
- package/dist/components/bottom-sheet/constants.d.ts +9 -0
- package/dist/components/bottom-sheet/types.d.ts +52 -0
- package/dist/components/button/button.d.ts +4 -0
- package/dist/components/button/constants.d.ts +20 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/types.d.ts +190 -0
- package/dist/components/button-group/button-group.d.ts +4 -0
- package/dist/components/button-group/constants.d.ts +54 -0
- package/dist/components/button-group/index.d.ts +1 -0
- package/dist/components/button-group/types.d.ts +125 -0
- package/dist/components/card/card.d.ts +4 -0
- package/dist/components/card/constants.d.ts +11 -0
- package/dist/components/card/content.d.ts +16 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/card/types.d.ts +123 -0
- package/dist/components/carousel/carousel.d.ts +1 -0
- package/dist/components/carousel/constants.d.ts +10 -0
- package/dist/components/carousel/types.d.ts +16 -0
- package/dist/components/checkbox/checkbox.d.ts +5 -0
- package/dist/components/checkbox/constants.d.ts +13 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/checkbox/types.d.ts +94 -0
- package/dist/components/chips/chips.d.ts +4 -0
- package/dist/components/chips/constants.d.ts +1 -0
- package/dist/components/chips/factories.d.ts +4 -0
- package/dist/components/chips/types.d.ts +140 -0
- package/dist/components/datepicker/constants.d.ts +38 -0
- package/dist/components/datepicker/datepicker.d.ts +2 -0
- package/dist/components/datepicker/types.d.ts +139 -0
- package/dist/components/dialog/constants.d.ts +45 -0
- package/dist/components/dialog/dialog.d.ts +5 -0
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/dialog/types.d.ts +196 -0
- package/dist/components/divider/config.d.ts +30 -0
- package/dist/components/divider/constants.d.ts +15 -0
- package/dist/components/divider/divider.d.ts +4 -0
- package/dist/components/divider/types.d.ts +27 -0
- package/dist/components/drawer/constants.d.ts +39 -0
- package/dist/components/drawer/drawer.d.ts +4 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/drawer/types.d.ts +109 -0
- package/dist/components/extended-fab/constants.d.ts +32 -0
- package/dist/components/extended-fab/extended-fab.d.ts +4 -0
- package/dist/components/extended-fab/types.d.ts +126 -0
- package/dist/components/fab/constants.d.ts +26 -0
- package/dist/components/fab/fab.d.ts +4 -0
- package/dist/components/fab/types.d.ts +103 -0
- package/dist/components/fab-menu/constants.d.ts +9 -0
- package/dist/components/fab-menu/fab-menu.d.ts +4 -0
- package/dist/components/fab-menu/types.d.ts +41 -0
- package/dist/components/icon-button/constants.d.ts +34 -0
- package/dist/components/icon-button/icon-button.d.ts +4 -0
- package/dist/components/icon-button/types.d.ts +157 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/list/constants.d.ts +30 -0
- package/dist/components/list/index.d.ts +1 -0
- package/dist/components/list/list.d.ts +4 -0
- package/dist/components/list/types.d.ts +110 -0
- package/dist/components/loading-indicator/constants.d.ts +16 -0
- package/dist/components/loading-indicator/features/renderer.d.ts +13 -0
- package/dist/components/loading-indicator/loading-indicator.d.ts +4 -0
- package/dist/components/loading-indicator/types.d.ts +21 -0
- package/dist/components/menu/constants.d.ts +51 -0
- package/dist/components/menu/features/controller.js +1 -1
- package/dist/components/menu/features/keyboard.js +8 -3
- package/dist/components/menu/features/opener.js +2 -16
- package/dist/components/menu/index.d.ts +2 -0
- package/dist/components/menu/inner.d.ts +2 -0
- package/dist/components/menu/menu.d.ts +4 -0
- package/dist/components/menu/on-demand.d.ts +9 -0
- package/dist/components/menu/types.d.ts +185 -1
- package/dist/components/navigation-bar/navigation-bar.d.ts +1 -0
- package/dist/components/navigation-bar/types.d.ts +12 -0
- package/dist/components/navigation-rail/constants.d.ts +2 -0
- package/dist/components/navigation-rail/navigation-rail.d.ts +1 -0
- package/dist/components/navigation-rail/types.d.ts +18 -0
- package/dist/components/progress/constants.d.ts +37 -0
- package/dist/components/progress/progress.d.ts +4 -0
- package/dist/components/progress/types.d.ts +136 -0
- package/dist/components/radios/constants.d.ts +14 -0
- package/dist/components/radios/radios.d.ts +4 -0
- package/dist/components/radios/types.d.ts +89 -0
- package/dist/components/search/constants.d.ts +34 -0
- package/dist/components/search/search.d.ts +4 -0
- package/dist/components/search/types.d.ts +109 -0
- package/dist/components/select/constants.d.ts +46 -0
- package/dist/components/select/features.js +9 -1
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/select.d.ts +4 -0
- package/dist/components/select/types.d.ts +95 -0
- package/dist/components/side-sheet/constants.d.ts +9 -0
- package/dist/components/side-sheet/side-sheet.d.ts +4 -0
- package/dist/components/side-sheet/types.d.ts +51 -0
- package/dist/components/slider/constants.d.ts +62 -0
- package/dist/components/slider/slider.d.ts +4 -0
- package/dist/components/slider/types.d.ts +78 -0
- package/dist/components/snackbar/constants.d.ts +37 -0
- package/dist/components/snackbar/snackbar.d.ts +5 -0
- package/dist/components/snackbar/types.d.ts +67 -0
- package/dist/components/split-button/api.js +13 -3
- package/dist/components/split-button/constants.d.ts +13 -0
- package/dist/components/split-button/split-button.d.ts +4 -0
- package/dist/components/split-button/types.d.ts +50 -0
- package/dist/components/switch/constants.d.ts +34 -0
- package/dist/components/switch/switch.d.ts +4 -0
- package/dist/components/switch/types.d.ts +55 -0
- package/dist/components/tabs/constants.d.ts +49 -0
- package/dist/components/tabs/indicator.d.ts +22 -0
- package/dist/components/tabs/responsive.d.ts +17 -0
- package/dist/components/tabs/tab.d.ts +5 -0
- package/dist/components/tabs/tabs.d.ts +4 -0
- package/dist/components/tabs/types.d.ts +170 -0
- package/dist/components/tabs/utils.d.ts +24 -0
- package/dist/components/text-field/constants.d.ts +61 -0
- package/dist/components/text-field/features/trailing-icon.d.ts +25 -0
- package/dist/components/text-field/text-field.d.ts +4 -0
- package/dist/components/text-field/types.d.ts +84 -0
- package/dist/components/timepicker/constants.d.ts +61 -0
- package/dist/components/timepicker/types.d.ts +145 -0
- package/dist/components/toolbar/constants.d.ts +8 -0
- package/dist/components/toolbar/toolbar.d.ts +4 -0
- package/dist/components/toolbar/types.d.ts +75 -0
- package/dist/components/tooltip/constants.d.ts +43 -0
- package/dist/components/tooltip/tooltip.d.ts +4 -0
- package/dist/components/tooltip/types.d.ts +78 -0
- package/dist/components/top-app-bar/constants.d.ts +29 -0
- package/dist/components/top-app-bar/top-app-bar.d.ts +4 -0
- package/dist/components/top-app-bar/types.d.ts +55 -0
- package/dist/core/canvas/animation.d.ts +6 -0
- package/dist/core/canvas/drawing.d.ts +47 -0
- package/dist/core/canvas/index.d.ts +1 -0
- package/dist/core/canvas/resize.d.ts +7 -0
- package/dist/core/canvas/utils.d.ts +39 -0
- package/dist/core/compose/base.d.ts +9 -0
- package/dist/core/compose/cleanup.d.ts +2 -0
- package/dist/core/compose/component.d.ts +13 -0
- package/dist/core/compose/features/badge.d.ts +10 -0
- package/dist/core/compose/features/checkable.d.ts +13 -0
- package/dist/core/compose/features/debounce.d.ts +19 -0
- package/dist/core/compose/features/disabled.d.ts +11 -0
- package/dist/core/compose/features/events.d.ts +19 -0
- package/dist/core/compose/features/icon.d.ts +20 -0
- package/dist/core/compose/features/input.d.ts +31 -0
- package/dist/core/compose/features/lifecycle.d.ts +16 -0
- package/dist/core/compose/features/position.d.ts +13 -0
- package/dist/core/compose/features/ripple.d.ts +17 -0
- package/dist/core/compose/features/size.d.ts +5 -0
- package/dist/core/compose/features/style.d.ts +5 -0
- package/dist/core/compose/features/text.d.ts +20 -0
- package/dist/core/compose/features/textinput.d.ts +39 -0
- package/dist/core/compose/features/textlabel.d.ts +18 -0
- package/dist/core/compose/features/throttle.d.ts +18 -0
- package/dist/core/compose/features/track.d.ts +12 -0
- package/dist/core/compose/features/variant.d.ts +5 -0
- package/dist/core/compose/features/withEvents.d.ts +12 -0
- package/dist/core/compose/pipe.d.ts +12 -0
- package/dist/core/compose/utils/type-guards.d.ts +5 -0
- package/dist/core/config/component.d.ts +17 -0
- package/dist/core/config/global.d.ts +15 -0
- package/dist/core/config.d.ts +34 -0
- package/dist/core/dom/attributes.d.ts +25 -0
- package/dist/core/dom/classes.d.ts +24 -0
- package/dist/core/dom/create.d.ts +47 -0
- package/dist/core/dom/events.d.ts +26 -0
- package/dist/core/dom/focus.d.ts +11 -0
- package/dist/core/dom/html.d.ts +6 -0
- package/dist/core/dom/layer.d.ts +36 -0
- package/dist/core/dom/roving.d.ts +7 -0
- package/dist/core/navigation/destinations.d.ts +10 -0
- package/dist/core/shapes/cubic.d.ts +8 -0
- package/dist/core/shapes/material.d.ts +45 -0
- package/dist/core/shapes/polygon.d.ts +11 -0
- package/dist/core/state/emitter.d.ts +19 -0
- package/dist/core/state/events.d.ts +17 -0
- package/dist/core/state/store.d.ts +40 -0
- package/dist/core/theme/shape.d.ts +3 -0
- package/dist/core/theme/tokens.d.ts +6 -0
- package/dist/core/utils/background.d.ts +7 -0
- package/dist/core/utils/color.d.ts +5 -0
- package/dist/core/utils/index.d.ts +9 -0
- package/dist/core/utils/mobile.d.ts +10 -0
- package/dist/core/utils/object.d.ts +9 -0
- package/dist/core/utils/performance.d.ts +20 -0
- package/dist/core/utils/theme.d.ts +8 -0
- package/dist/core/utils/url.d.ts +3 -0
- package/dist/elements/adapter.d.ts +24 -0
- package/dist/elements/badge.d.ts +4 -0
- package/dist/elements/bottom-app-bar.d.ts +4 -0
- package/dist/elements/bottom-sheet.d.ts +6 -0
- package/dist/elements/button-group.d.ts +8 -0
- package/dist/elements/button.d.ts +5 -0
- package/dist/elements/card.d.ts +4 -0
- package/dist/elements/carousel.d.ts +5 -0
- package/dist/elements/checkbox.d.ts +4 -0
- package/dist/elements/chips.d.ts +9 -0
- package/dist/elements/css/menu.css +1 -1
- package/dist/elements/css/menu.js +1 -1
- package/dist/elements/datepicker.d.ts +6 -0
- package/dist/elements/define.d.ts +48 -0
- package/dist/elements/dialog.d.ts +5 -0
- package/dist/elements/divider.d.ts +4 -0
- package/dist/elements/drawer.d.ts +6 -0
- package/dist/elements/extended-fab.d.ts +6 -0
- package/dist/elements/fab-menu.d.ts +10 -0
- package/dist/elements/fab.d.ts +6 -0
- package/dist/elements/icon-button.d.ts +6 -0
- package/dist/elements/index.d.ts +4 -0
- package/dist/elements/list.d.ts +8 -0
- package/dist/elements/loading-indicator.d.ts +4 -0
- package/dist/elements/menu.d.ts +12 -0
- package/dist/elements/navigation-bar.d.ts +6 -0
- package/dist/elements/navigation-rail.d.ts +10 -0
- package/dist/elements/preupgrade/badge.css +1 -1
- package/dist/elements/preupgrade/bottom-app-bar.css +1 -1
- package/dist/elements/preupgrade/bottom-sheet.css +1 -1
- package/dist/elements/preupgrade/button-group.css +1 -1
- package/dist/elements/preupgrade/button.css +1 -1
- package/dist/elements/preupgrade/card.css +1 -1
- package/dist/elements/preupgrade/carousel.css +1 -1
- package/dist/elements/preupgrade/checkbox.css +1 -1
- package/dist/elements/preupgrade/chips.css +1 -1
- package/dist/elements/preupgrade/datepicker.css +1 -1
- package/dist/elements/preupgrade/dialog.css +1 -1
- package/dist/elements/preupgrade/divider.css +1 -1
- package/dist/elements/preupgrade/drawer.css +1 -1
- package/dist/elements/preupgrade/extended-fab.css +1 -1
- package/dist/elements/preupgrade/fab-menu.css +1 -1
- package/dist/elements/preupgrade/fab.css +1 -1
- package/dist/elements/preupgrade/icon-button.css +1 -1
- package/dist/elements/preupgrade/list.css +1 -1
- package/dist/elements/preupgrade/loading-indicator.css +1 -1
- package/dist/elements/preupgrade/menu.css +1 -1
- package/dist/elements/preupgrade/navigation-bar.css +1 -1
- package/dist/elements/preupgrade/navigation-rail.css +1 -1
- package/dist/elements/preupgrade/progress.css +1 -1
- package/dist/elements/preupgrade/radios.css +1 -1
- package/dist/elements/preupgrade/search.css +1 -1
- package/dist/elements/preupgrade/select.css +1 -1
- package/dist/elements/preupgrade/side-sheet.css +1 -1
- package/dist/elements/preupgrade/slider.css +1 -1
- package/dist/elements/preupgrade/snackbar.css +1 -1
- package/dist/elements/preupgrade/split-button.css +1 -1
- package/dist/elements/preupgrade/switch.css +1 -1
- package/dist/elements/preupgrade/tabs.css +1 -1
- package/dist/elements/preupgrade/text-field.css +1 -1
- package/dist/elements/preupgrade/timepicker.css +1 -1
- package/dist/elements/preupgrade/toolbar.css +1 -1
- package/dist/elements/preupgrade/tooltip.css +1 -1
- package/dist/elements/preupgrade/top-app-bar.css +1 -1
- package/dist/elements/preupgrade.css +1 -1
- package/dist/elements/progress.d.ts +4 -0
- package/dist/elements/radios.d.ts +5 -0
- package/dist/elements/search.d.ts +15 -0
- package/dist/elements/select.d.ts +6 -0
- package/dist/elements/side-sheet.d.ts +5 -0
- package/dist/elements/slider.d.ts +7 -0
- package/dist/elements/snackbar.d.ts +4 -0
- package/dist/elements/split-button.d.ts +8 -0
- package/dist/elements/styles.d.ts +11 -0
- package/dist/elements/switch.d.ts +5 -0
- package/dist/elements/tabs.d.ts +6 -0
- package/dist/elements/text-field.d.ts +9 -0
- package/dist/elements/timepicker.d.ts +9 -0
- package/dist/elements/toolbar.d.ts +4 -0
- package/dist/elements/tooltip.d.ts +4 -0
- package/dist/elements/top-app-bar.d.ts +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/react/create.d.ts +15 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/jsx.d.ts +3 -0
- package/dist/solid/create.d.ts +16 -0
- package/dist/solid/index.d.ts +1 -0
- package/dist/solid/jsx.d.ts +4 -0
- package/dist/ssr/index.d.ts +3 -0
- package/dist/ssr/solid.d.ts +1 -0
- package/dist/ssr/svelte.d.ts +1 -0
- package/dist/ssr/vue.d.ts +1 -0
- package/dist/styles/badge.css +1 -1
- package/dist/styles/base-lite.css +2 -2
- package/dist/styles/base.css +2 -2
- package/dist/styles/bottom-app-bar.css +1 -1
- package/dist/styles/bottom-sheet.css +1 -1
- package/dist/styles/button-group.css +1 -1
- package/dist/styles/button.css +1 -1
- package/dist/styles/card.css +1 -1
- package/dist/styles/carousel.css +1 -1
- package/dist/styles/checkbox.css +1 -1
- package/dist/styles/chips.css +1 -1
- package/dist/styles/contrast.css +2 -2
- package/dist/styles/datepicker.css +1 -1
- package/dist/styles/dialog.css +1 -1
- package/dist/styles/divider.css +1 -1
- package/dist/styles/drawer.css +1 -1
- package/dist/styles/extended-fab.css +1 -1
- package/dist/styles/fab-menu.css +1 -1
- package/dist/styles/fab.css +1 -1
- package/dist/styles/icon-button.css +1 -1
- package/dist/styles/list.css +1 -1
- package/dist/styles/loading-indicator.css +1 -1
- package/dist/styles/menu.css +2 -2
- package/dist/styles/navigation-bar.css +1 -1
- package/dist/styles/navigation-rail.css +1 -1
- package/dist/styles/progress.css +1 -1
- package/dist/styles/radios.css +1 -1
- package/dist/styles/search.css +1 -1
- package/dist/styles/select.css +1 -1
- package/dist/styles/side-sheet.css +1 -1
- package/dist/styles/slider.css +1 -1
- package/dist/styles/snackbar.css +1 -1
- package/dist/styles/split-button.css +1 -1
- package/dist/styles/switch.css +1 -1
- package/dist/styles/tabs.css +1 -1
- package/dist/styles/text-field.css +1 -1
- package/dist/styles/timepicker.css +1 -1
- package/dist/styles/toolbar.css +1 -1
- package/dist/styles/tooltip.css +1 -1
- package/dist/styles/top-app-bar.css +1 -1
- package/dist/styles/typography.css +1 -1
- package/dist/styles/utilities.css +1 -1
- package/dist/styles.css +2 -2
- package/dist/svelte/runtime.d.ts +21 -0
- package/dist/theme/image.d.ts +4 -0
- package/dist/theme/image.js +5 -0
- package/dist/theme/index.d.ts +43 -0
- package/dist/theme/index.js +32 -0
- package/dist/theme/roles.js +68 -0
- package/dist/theme/variants.d.ts +15 -0
- package/dist/theme/variants.js +17 -0
- package/dist/theme/vendor/contrast/contrast.js +72 -0
- package/dist/theme/vendor/dislike/dislike_analyzer.js +31 -0
- package/dist/theme/vendor/dynamiccolor/color_spec_2021.d.ts +64 -0
- package/dist/theme/vendor/dynamiccolor/color_spec_2021.js +663 -0
- package/dist/theme/vendor/dynamiccolor/contrast_curve.js +42 -0
- package/dist/theme/vendor/dynamiccolor/dynamic_color.d.ts +63 -0
- package/dist/theme/vendor/dynamiccolor/dynamic_color.js +264 -0
- package/dist/theme/vendor/dynamiccolor/dynamic_scheme.d.ts +100 -0
- package/dist/theme/vendor/dynamiccolor/dynamic_scheme.js +418 -0
- package/dist/theme/vendor/dynamiccolor/material_dynamic_colors.d.ts +125 -0
- package/dist/theme/vendor/dynamiccolor/material_dynamic_colors.js +311 -0
- package/dist/theme/vendor/dynamiccolor/tone_delta_pair.js +27 -0
- package/dist/theme/vendor/dynamiccolor/variant.js +28 -0
- package/dist/theme/vendor/hct/cam16.js +249 -0
- package/dist/theme/vendor/hct/hct.d.ts +32 -0
- package/dist/theme/vendor/hct/hct.js +86 -0
- package/dist/theme/vendor/hct/hct_solver.js +390 -0
- package/dist/theme/vendor/hct/viewing_conditions.js +73 -0
- package/dist/theme/vendor/palettes/tonal_palette.js +114 -0
- package/dist/theme/vendor/quantize/lab_point_provider.js +31 -0
- package/dist/theme/vendor/quantize/quantizer_celebi.js +25 -0
- package/dist/theme/vendor/quantize/quantizer_map.js +31 -0
- package/dist/theme/vendor/quantize/quantizer_wsmeans.js +178 -0
- package/dist/theme/vendor/quantize/quantizer_wu.js +342 -0
- package/dist/theme/vendor/scheme/scheme_content.js +30 -0
- package/dist/theme/vendor/scheme/scheme_expressive.js +30 -0
- package/dist/theme/vendor/scheme/scheme_fidelity.js +30 -0
- package/dist/theme/vendor/scheme/scheme_monochrome.js +30 -0
- package/dist/theme/vendor/scheme/scheme_neutral.js +30 -0
- package/dist/theme/vendor/scheme/scheme_tonal_spot.js +30 -0
- package/dist/theme/vendor/scheme/scheme_vibrant.js +30 -0
- package/dist/theme/vendor/score/score.js +100 -0
- package/dist/theme/vendor/temperature/temperature_cache.js +198 -0
- package/dist/theme/vendor/utils/color_utils.js +173 -0
- package/dist/theme/vendor/utils/image_utils.js +72 -0
- package/dist/theme/vendor/utils/math_utils.js +75 -0
- package/dist/theme/vendor/utils/string_utils.js +61 -0
- package/dist/themes/autumn-contrast.css +2 -2
- package/dist/themes/autumn.css +2 -2
- package/dist/themes/baseline-contrast.css +2 -2
- package/dist/themes/baseline.css +2 -2
- package/dist/themes/brownbeige-contrast.css +2 -2
- package/dist/themes/brownbeige.css +2 -2
- package/dist/themes/content-contrast.css +2 -2
- package/dist/themes/content.css +2 -2
- package/dist/themes/desert-contrast.css +2 -2
- package/dist/themes/desert.css +2 -2
- package/dist/themes/expressive-contrast.css +2 -2
- package/dist/themes/expressive.css +2 -2
- package/dist/themes/fidelity-contrast.css +2 -2
- package/dist/themes/fidelity.css +2 -2
- package/dist/themes/forest-contrast.css +2 -2
- package/dist/themes/forest.css +2 -2
- package/dist/themes/fruit-salad-contrast.css +2 -2
- package/dist/themes/fruit-salad.css +2 -2
- package/dist/themes/highcontrast-contrast.css +2 -2
- package/dist/themes/highcontrast.css +2 -2
- package/dist/themes/monochrome-contrast.css +2 -2
- package/dist/themes/monochrome.css +2 -2
- package/dist/themes/neutral-contrast.css +2 -2
- package/dist/themes/neutral.css +2 -2
- package/dist/themes/ocean-contrast.css +2 -2
- package/dist/themes/ocean.css +2 -2
- package/dist/themes/rainbow-contrast.css +2 -2
- package/dist/themes/rainbow.css +2 -2
- package/dist/themes/sageivory-contrast.css +2 -2
- package/dist/themes/sageivory.css +2 -2
- package/dist/themes/spring-contrast.css +2 -2
- package/dist/themes/spring.css +2 -2
- package/dist/themes/summer-contrast.css +2 -2
- package/dist/themes/summer.css +2 -2
- package/dist/themes/sunset-contrast.css +2 -2
- package/dist/themes/sunset.css +2 -2
- package/dist/themes/tealcaramel-contrast.css +2 -2
- package/dist/themes/tealcaramel.css +2 -2
- package/dist/themes/vibrant-contrast.css +2 -2
- package/dist/themes/vibrant.css +2 -2
- package/dist/vue/create.d.ts +18 -0
- package/dist/vue/index.d.ts +1 -0
- package/package.json +14 -1
- package/src/styles/components/_menu.scss +14 -1
- package/src/styles/themes/_autumn.scss +20 -2
- package/src/styles/themes/_base-theme.scss +34 -24
- package/src/styles/themes/_baseline.scss +18 -0
- package/src/styles/themes/_brownbeige.scss +30 -2
- package/src/styles/themes/_content.scss +30 -2
- package/src/styles/themes/_desert.scss +30 -2
- package/src/styles/themes/_expressive.scss +30 -2
- package/src/styles/themes/_fidelity.scss +30 -2
- package/src/styles/themes/_forest.scss +20 -2
- package/src/styles/themes/_fruit-salad.scss +30 -2
- package/src/styles/themes/_highcontrast.scss +21 -2
- package/src/styles/themes/_monochrome.scss +30 -2
- package/src/styles/themes/_neutral.scss +30 -2
- package/src/styles/themes/_ocean.scss +20 -2
- package/src/styles/themes/_rainbow.scss +30 -2
- package/src/styles/themes/_sageivory.scss +30 -2
- package/src/styles/themes/_spring.scss +20 -2
- package/src/styles/themes/_summer.scss +30 -2
- package/src/styles/themes/_sunset.scss +20 -2
- package/src/styles/themes/_tealcaramel.scss +30 -2
- package/src/styles/themes/_vibrant.scss +30 -2
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/** A color that adjusts itself based on UI state provided by DynamicScheme. */
|
|
2
|
+
export class DynamicColor {
|
|
3
|
+
/**
|
|
4
|
+
* Create a DynamicColor defined by a TonalPalette and HCT tone.
|
|
5
|
+
* @param args
|
|
6
|
+
*/
|
|
7
|
+
static fromPalette(args: any): DynamicColor;
|
|
8
|
+
static getInitialToneFromBackground(background: any): (s: any) => any;
|
|
9
|
+
/**
|
|
10
|
+
* Given a background tone, finds a foreground tone, while ensuring they reach a contrast ratio that is as close to [ratio] as possible.
|
|
11
|
+
* @param bgTone
|
|
12
|
+
* @param ratio
|
|
13
|
+
*/
|
|
14
|
+
static foregroundTone(bgTone: any, ratio: any): number;
|
|
15
|
+
/** Returns whether [tone] prefers a light foreground. */
|
|
16
|
+
static tonePrefersLightForeground(tone: any): boolean;
|
|
17
|
+
/** Returns whether [tone] can reach a contrast ratio of 4.5 with a lighter color. */
|
|
18
|
+
static toneAllowsLightForeground(tone: any): boolean;
|
|
19
|
+
/** Adjusts a tone such that white has 4.5 contrast, if the tone is reasonably close to supporting it. */
|
|
20
|
+
static enableLightForeground(tone: any): any;
|
|
21
|
+
/**
|
|
22
|
+
* The base constructor for DynamicColor.
|
|
23
|
+
* @param name
|
|
24
|
+
* @param palette
|
|
25
|
+
* @param tone
|
|
26
|
+
* @param isBackground
|
|
27
|
+
* @param chromaMultiplier
|
|
28
|
+
* @param background
|
|
29
|
+
* @param secondBackground
|
|
30
|
+
* @param contrastCurve
|
|
31
|
+
* @param toneDeltaPair
|
|
32
|
+
*/
|
|
33
|
+
constructor(name: any, palette: any, tone: any, isBackground: any, chromaMultiplier: any, background: any, secondBackground: any, contrastCurve: any, toneDeltaPair: any);
|
|
34
|
+
name: any;
|
|
35
|
+
palette: any;
|
|
36
|
+
tone: any;
|
|
37
|
+
isBackground: any;
|
|
38
|
+
chromaMultiplier: any;
|
|
39
|
+
background: any;
|
|
40
|
+
secondBackground: any;
|
|
41
|
+
contrastCurve: any;
|
|
42
|
+
toneDeltaPair: any;
|
|
43
|
+
hctCache: Map<any, any>;
|
|
44
|
+
/** Returns a deep copy of this DynamicColor. */
|
|
45
|
+
clone(): DynamicColor;
|
|
46
|
+
/** Clears the cache of HCT values for this color. */
|
|
47
|
+
clearCache(): void;
|
|
48
|
+
/**
|
|
49
|
+
* Returns a ARGB integer (i.e.
|
|
50
|
+
* @param scheme
|
|
51
|
+
*/
|
|
52
|
+
getArgb(scheme: any): any;
|
|
53
|
+
/**
|
|
54
|
+
* Returns a color, expressed in the HCT color space, that this DynamicColor is under the conditions in scheme.
|
|
55
|
+
* @param scheme
|
|
56
|
+
*/
|
|
57
|
+
getHct(scheme: any): any;
|
|
58
|
+
/**
|
|
59
|
+
* Returns a tone, T in the HCT color space, that this DynamicColor is under the conditions in scheme.
|
|
60
|
+
* @param scheme
|
|
61
|
+
*/
|
|
62
|
+
getTone(scheme: any): any;
|
|
63
|
+
}
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2022 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { Contrast } from "../contrast/contrast.js";
|
|
18
|
+
import { Hct } from "../hct/hct.js";
|
|
19
|
+
import * as math from "../utils/math_utils.js";
|
|
20
|
+
export class DynamicColor {
|
|
21
|
+
static fromPalette(args) {
|
|
22
|
+
return new DynamicColor(args.name ?? '', args.palette, args.tone ?? DynamicColor.getInitialToneFromBackground(args.background), args.isBackground ?? false, args.chromaMultiplier, args.background, args.secondBackground, args.contrastCurve, args.toneDeltaPair);
|
|
23
|
+
}
|
|
24
|
+
static getInitialToneFromBackground(background) {
|
|
25
|
+
if (background === undefined) {
|
|
26
|
+
return (s) => 50;
|
|
27
|
+
}
|
|
28
|
+
return (s) => background(s) ? background(s).getTone(s) : 50;
|
|
29
|
+
}
|
|
30
|
+
constructor(name, palette, tone, isBackground, chromaMultiplier, background, secondBackground, contrastCurve, toneDeltaPair) {
|
|
31
|
+
this.name = name;
|
|
32
|
+
this.palette = palette;
|
|
33
|
+
this.tone = tone;
|
|
34
|
+
this.isBackground = isBackground;
|
|
35
|
+
this.chromaMultiplier = chromaMultiplier;
|
|
36
|
+
this.background = background;
|
|
37
|
+
this.secondBackground = secondBackground;
|
|
38
|
+
this.contrastCurve = contrastCurve;
|
|
39
|
+
this.toneDeltaPair = toneDeltaPair;
|
|
40
|
+
this.hctCache = new Map();
|
|
41
|
+
if ((!background) && secondBackground) {
|
|
42
|
+
throw new Error(`Color ${name} has secondBackground` +
|
|
43
|
+
`defined, but background is not defined.`);
|
|
44
|
+
}
|
|
45
|
+
if ((!background) && contrastCurve) {
|
|
46
|
+
throw new Error(`Color ${name} has contrastCurve` +
|
|
47
|
+
`defined, but background is not defined.`);
|
|
48
|
+
}
|
|
49
|
+
if (background && !contrastCurve) {
|
|
50
|
+
throw new Error(`Color ${name} has background` +
|
|
51
|
+
`defined, but contrastCurve is not defined.`);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
clone() {
|
|
55
|
+
return DynamicColor.fromPalette({
|
|
56
|
+
name: this.name,
|
|
57
|
+
palette: this.palette,
|
|
58
|
+
tone: this.tone,
|
|
59
|
+
isBackground: this.isBackground,
|
|
60
|
+
chromaMultiplier: this.chromaMultiplier,
|
|
61
|
+
background: this.background,
|
|
62
|
+
secondBackground: this.secondBackground,
|
|
63
|
+
contrastCurve: this.contrastCurve,
|
|
64
|
+
toneDeltaPair: this.toneDeltaPair,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
clearCache() {
|
|
68
|
+
this.hctCache.clear();
|
|
69
|
+
}
|
|
70
|
+
getArgb(scheme) {
|
|
71
|
+
return this.getHct(scheme).toInt();
|
|
72
|
+
}
|
|
73
|
+
getHct(scheme) {
|
|
74
|
+
const cachedAnswer = this.hctCache.get(scheme);
|
|
75
|
+
if (cachedAnswer != null) {
|
|
76
|
+
return cachedAnswer;
|
|
77
|
+
}
|
|
78
|
+
const answer = getSpec().getHct(scheme, this);
|
|
79
|
+
if (this.hctCache.size > 4) {
|
|
80
|
+
this.hctCache.clear();
|
|
81
|
+
}
|
|
82
|
+
this.hctCache.set(scheme, answer);
|
|
83
|
+
return answer;
|
|
84
|
+
}
|
|
85
|
+
getTone(scheme) {
|
|
86
|
+
return getSpec().getTone(scheme, this);
|
|
87
|
+
}
|
|
88
|
+
static foregroundTone(bgTone, ratio) {
|
|
89
|
+
const lighterTone = Contrast.lighterUnsafe(bgTone, ratio);
|
|
90
|
+
const darkerTone = Contrast.darkerUnsafe(bgTone, ratio);
|
|
91
|
+
const lighterRatio = Contrast.ratioOfTones(lighterTone, bgTone);
|
|
92
|
+
const darkerRatio = Contrast.ratioOfTones(darkerTone, bgTone);
|
|
93
|
+
const preferLighter = DynamicColor.tonePrefersLightForeground(bgTone);
|
|
94
|
+
if (preferLighter) {
|
|
95
|
+
const negligibleDifference = Math.abs(lighterRatio - darkerRatio) < 0.1 &&
|
|
96
|
+
lighterRatio < ratio && darkerRatio < ratio;
|
|
97
|
+
return lighterRatio >= ratio || lighterRatio >= darkerRatio ||
|
|
98
|
+
negligibleDifference ?
|
|
99
|
+
lighterTone :
|
|
100
|
+
darkerTone;
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
return darkerRatio >= ratio || darkerRatio >= lighterRatio ? darkerTone :
|
|
104
|
+
lighterTone;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
static tonePrefersLightForeground(tone) {
|
|
108
|
+
return Math.round(tone) < 60.0;
|
|
109
|
+
}
|
|
110
|
+
static toneAllowsLightForeground(tone) {
|
|
111
|
+
return Math.round(tone) <= 49.0;
|
|
112
|
+
}
|
|
113
|
+
static enableLightForeground(tone) {
|
|
114
|
+
if (DynamicColor.tonePrefersLightForeground(tone) &&
|
|
115
|
+
!DynamicColor.toneAllowsLightForeground(tone)) {
|
|
116
|
+
return 49.0;
|
|
117
|
+
}
|
|
118
|
+
return tone;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
class ColorCalculationDelegateImpl2021 {
|
|
122
|
+
getHct(scheme, color) {
|
|
123
|
+
const tone = color.getTone(scheme);
|
|
124
|
+
const palette = color.palette(scheme);
|
|
125
|
+
return palette.getHct(tone);
|
|
126
|
+
}
|
|
127
|
+
getTone(scheme, color) {
|
|
128
|
+
const decreasingContrast = scheme.contrastLevel < 0;
|
|
129
|
+
const toneDeltaPair = color.toneDeltaPair ? color.toneDeltaPair(scheme) : undefined;
|
|
130
|
+
if (toneDeltaPair) {
|
|
131
|
+
const roleA = toneDeltaPair.roleA;
|
|
132
|
+
const roleB = toneDeltaPair.roleB;
|
|
133
|
+
const delta = toneDeltaPair.delta;
|
|
134
|
+
const polarity = toneDeltaPair.polarity;
|
|
135
|
+
const stayTogether = toneDeltaPair.stayTogether;
|
|
136
|
+
const aIsNearer = (polarity === 'nearer' ||
|
|
137
|
+
(polarity === 'lighter' && !scheme.isDark) ||
|
|
138
|
+
(polarity === 'darker' && scheme.isDark));
|
|
139
|
+
const nearer = aIsNearer ? roleA : roleB;
|
|
140
|
+
const farther = aIsNearer ? roleB : roleA;
|
|
141
|
+
const amNearer = color.name === nearer.name;
|
|
142
|
+
const expansionDir = scheme.isDark ? 1 : -1;
|
|
143
|
+
let nTone = nearer.tone(scheme);
|
|
144
|
+
let fTone = farther.tone(scheme);
|
|
145
|
+
if (color.background && nearer.contrastCurve && farther.contrastCurve) {
|
|
146
|
+
const bg = color.background(scheme);
|
|
147
|
+
const nContrastCurve = nearer.contrastCurve(scheme);
|
|
148
|
+
const fContrastCurve = farther.contrastCurve(scheme);
|
|
149
|
+
if (bg && nContrastCurve && fContrastCurve) {
|
|
150
|
+
const bgTone = bg.getTone(scheme);
|
|
151
|
+
const nContrast = nContrastCurve.get(scheme.contrastLevel);
|
|
152
|
+
const fContrast = fContrastCurve.get(scheme.contrastLevel);
|
|
153
|
+
if (Contrast.ratioOfTones(bgTone, nTone) < nContrast) {
|
|
154
|
+
nTone = DynamicColor.foregroundTone(bgTone, nContrast);
|
|
155
|
+
}
|
|
156
|
+
if (Contrast.ratioOfTones(bgTone, fTone) < fContrast) {
|
|
157
|
+
fTone = DynamicColor.foregroundTone(bgTone, fContrast);
|
|
158
|
+
}
|
|
159
|
+
if (decreasingContrast) {
|
|
160
|
+
nTone = DynamicColor.foregroundTone(bgTone, nContrast);
|
|
161
|
+
fTone = DynamicColor.foregroundTone(bgTone, fContrast);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
if ((fTone - nTone) * expansionDir < delta) {
|
|
166
|
+
fTone = math.clampDouble(0, 100, nTone + delta * expansionDir);
|
|
167
|
+
if ((fTone - nTone) * expansionDir >= delta) {
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
nTone = math.clampDouble(0, 100, fTone - delta * expansionDir);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
if (50 <= nTone && nTone < 60) {
|
|
174
|
+
if (expansionDir > 0) {
|
|
175
|
+
nTone = 60;
|
|
176
|
+
fTone = Math.max(fTone, nTone + delta * expansionDir);
|
|
177
|
+
}
|
|
178
|
+
else {
|
|
179
|
+
nTone = 49;
|
|
180
|
+
fTone = Math.min(fTone, nTone + delta * expansionDir);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
else if (50 <= fTone && fTone < 60) {
|
|
184
|
+
if (stayTogether) {
|
|
185
|
+
if (expansionDir > 0) {
|
|
186
|
+
nTone = 60;
|
|
187
|
+
fTone = Math.max(fTone, nTone + delta * expansionDir);
|
|
188
|
+
}
|
|
189
|
+
else {
|
|
190
|
+
nTone = 49;
|
|
191
|
+
fTone = Math.min(fTone, nTone + delta * expansionDir);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
else {
|
|
195
|
+
if (expansionDir > 0) {
|
|
196
|
+
fTone = 60;
|
|
197
|
+
}
|
|
198
|
+
else {
|
|
199
|
+
fTone = 49;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
return amNearer ? nTone : fTone;
|
|
204
|
+
}
|
|
205
|
+
else {
|
|
206
|
+
let answer = color.tone(scheme);
|
|
207
|
+
if (color.background == undefined ||
|
|
208
|
+
color.background(scheme) === undefined ||
|
|
209
|
+
color.contrastCurve == undefined ||
|
|
210
|
+
color.contrastCurve(scheme) === undefined) {
|
|
211
|
+
return answer;
|
|
212
|
+
}
|
|
213
|
+
const bgTone = color.background(scheme).getTone(scheme);
|
|
214
|
+
const desiredRatio = color.contrastCurve(scheme).get(scheme.contrastLevel);
|
|
215
|
+
if (Contrast.ratioOfTones(bgTone, answer) >= desiredRatio) {
|
|
216
|
+
}
|
|
217
|
+
else {
|
|
218
|
+
answer = DynamicColor.foregroundTone(bgTone, desiredRatio);
|
|
219
|
+
}
|
|
220
|
+
if (decreasingContrast) {
|
|
221
|
+
answer = DynamicColor.foregroundTone(bgTone, desiredRatio);
|
|
222
|
+
}
|
|
223
|
+
if (color.isBackground && 50 <= answer && answer < 60) {
|
|
224
|
+
if (Contrast.ratioOfTones(49, bgTone) >= desiredRatio) {
|
|
225
|
+
answer = 49;
|
|
226
|
+
}
|
|
227
|
+
else {
|
|
228
|
+
answer = 60;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
if (color.secondBackground == undefined ||
|
|
232
|
+
color.secondBackground(scheme) === undefined) {
|
|
233
|
+
return answer;
|
|
234
|
+
}
|
|
235
|
+
const [bg1, bg2] = [color.background, color.secondBackground];
|
|
236
|
+
const [bgTone1, bgTone2] = [bg1(scheme).getTone(scheme), bg2(scheme).getTone(scheme)];
|
|
237
|
+
const [upper, lower] = [Math.max(bgTone1, bgTone2), Math.min(bgTone1, bgTone2)];
|
|
238
|
+
if (Contrast.ratioOfTones(upper, answer) >= desiredRatio &&
|
|
239
|
+
Contrast.ratioOfTones(lower, answer) >= desiredRatio) {
|
|
240
|
+
return answer;
|
|
241
|
+
}
|
|
242
|
+
const lightOption = Contrast.lighter(upper, desiredRatio);
|
|
243
|
+
const darkOption = Contrast.darker(lower, desiredRatio);
|
|
244
|
+
const availables = [];
|
|
245
|
+
if (lightOption !== -1)
|
|
246
|
+
availables.push(lightOption);
|
|
247
|
+
if (darkOption !== -1)
|
|
248
|
+
availables.push(darkOption);
|
|
249
|
+
const prefersLight = DynamicColor.tonePrefersLightForeground(bgTone1) ||
|
|
250
|
+
DynamicColor.tonePrefersLightForeground(bgTone2);
|
|
251
|
+
if (prefersLight) {
|
|
252
|
+
return (lightOption < 0) ? 100 : lightOption;
|
|
253
|
+
}
|
|
254
|
+
if (availables.length === 1) {
|
|
255
|
+
return availables[0];
|
|
256
|
+
}
|
|
257
|
+
return (darkOption < 0) ? 0 : darkOption;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
const spec2021 = new ColorCalculationDelegateImpl2021();
|
|
262
|
+
function getSpec() {
|
|
263
|
+
return spec2021;
|
|
264
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/** Constructed by a set of values representing the current UI state (such as whether or not its dark theme, what the theme style is, etc.), and provides a set of TonalPalettes that can create colors that fit in with the theme style. */
|
|
2
|
+
export class DynamicScheme {
|
|
3
|
+
static maybeFallbackSpecVersion(specVersion: any, variant: any): any;
|
|
4
|
+
/**
|
|
5
|
+
* Returns a new hue based on a piecewise function and input color hue.
|
|
6
|
+
* @param sourceColorHct
|
|
7
|
+
* @param hueBreakpoints
|
|
8
|
+
* @param hues
|
|
9
|
+
*/
|
|
10
|
+
static getPiecewiseHue(sourceColorHct: any, hueBreakpoints: any, hues: any): any;
|
|
11
|
+
/**
|
|
12
|
+
* Returns a shifted hue based on a piecewise function and input color hue.
|
|
13
|
+
* @param sourceColorHct
|
|
14
|
+
* @param hueBreakpoints
|
|
15
|
+
* @param rotations
|
|
16
|
+
*/
|
|
17
|
+
static getRotatedHue(sourceColorHct: any, hueBreakpoints: any, rotations: any): any;
|
|
18
|
+
constructor(args: any);
|
|
19
|
+
sourceColorArgb: any;
|
|
20
|
+
variant: any;
|
|
21
|
+
contrastLevel: any;
|
|
22
|
+
isDark: any;
|
|
23
|
+
platform: any;
|
|
24
|
+
specVersion: any;
|
|
25
|
+
sourceColorHct: any;
|
|
26
|
+
primaryPalette: any;
|
|
27
|
+
secondaryPalette: any;
|
|
28
|
+
tertiaryPalette: any;
|
|
29
|
+
neutralPalette: any;
|
|
30
|
+
neutralVariantPalette: any;
|
|
31
|
+
errorPalette: any;
|
|
32
|
+
colors: MaterialDynamicColors;
|
|
33
|
+
toString(): string;
|
|
34
|
+
getArgb(dynamicColor: any): any;
|
|
35
|
+
getHct(dynamicColor: any): any;
|
|
36
|
+
get primaryPaletteKeyColor(): any;
|
|
37
|
+
get secondaryPaletteKeyColor(): any;
|
|
38
|
+
get tertiaryPaletteKeyColor(): any;
|
|
39
|
+
get neutralPaletteKeyColor(): any;
|
|
40
|
+
get neutralVariantPaletteKeyColor(): any;
|
|
41
|
+
get errorPaletteKeyColor(): any;
|
|
42
|
+
get background(): any;
|
|
43
|
+
get onBackground(): any;
|
|
44
|
+
get surface(): any;
|
|
45
|
+
get surfaceDim(): any;
|
|
46
|
+
get surfaceBright(): any;
|
|
47
|
+
get surfaceContainerLowest(): any;
|
|
48
|
+
get surfaceContainerLow(): any;
|
|
49
|
+
get surfaceContainer(): any;
|
|
50
|
+
get surfaceContainerHigh(): any;
|
|
51
|
+
get surfaceContainerHighest(): any;
|
|
52
|
+
get onSurface(): any;
|
|
53
|
+
get surfaceVariant(): any;
|
|
54
|
+
get onSurfaceVariant(): any;
|
|
55
|
+
get inverseSurface(): any;
|
|
56
|
+
get inverseOnSurface(): any;
|
|
57
|
+
get outline(): any;
|
|
58
|
+
get outlineVariant(): any;
|
|
59
|
+
get shadow(): any;
|
|
60
|
+
get scrim(): any;
|
|
61
|
+
get surfaceTint(): any;
|
|
62
|
+
get primary(): any;
|
|
63
|
+
get primaryDim(): any;
|
|
64
|
+
get onPrimary(): any;
|
|
65
|
+
get primaryContainer(): any;
|
|
66
|
+
get onPrimaryContainer(): any;
|
|
67
|
+
get primaryFixed(): any;
|
|
68
|
+
get primaryFixedDim(): any;
|
|
69
|
+
get onPrimaryFixed(): any;
|
|
70
|
+
get onPrimaryFixedVariant(): any;
|
|
71
|
+
get inversePrimary(): any;
|
|
72
|
+
get secondary(): any;
|
|
73
|
+
get secondaryDim(): any;
|
|
74
|
+
get onSecondary(): any;
|
|
75
|
+
get secondaryContainer(): any;
|
|
76
|
+
get onSecondaryContainer(): any;
|
|
77
|
+
get secondaryFixed(): any;
|
|
78
|
+
get secondaryFixedDim(): any;
|
|
79
|
+
get onSecondaryFixed(): any;
|
|
80
|
+
get onSecondaryFixedVariant(): any;
|
|
81
|
+
get tertiary(): any;
|
|
82
|
+
get tertiaryDim(): any;
|
|
83
|
+
get onTertiary(): any;
|
|
84
|
+
get tertiaryContainer(): any;
|
|
85
|
+
get onTertiaryContainer(): any;
|
|
86
|
+
get tertiaryFixed(): any;
|
|
87
|
+
get tertiaryFixedDim(): any;
|
|
88
|
+
get onTertiaryFixed(): any;
|
|
89
|
+
get onTertiaryFixedVariant(): any;
|
|
90
|
+
get error(): any;
|
|
91
|
+
get errorDim(): any;
|
|
92
|
+
get onError(): any;
|
|
93
|
+
get errorContainer(): any;
|
|
94
|
+
get onErrorContainer(): any;
|
|
95
|
+
}
|
|
96
|
+
export namespace DynamicScheme {
|
|
97
|
+
let DEFAULT_SPEC_VERSION: string;
|
|
98
|
+
let DEFAULT_PLATFORM: string;
|
|
99
|
+
}
|
|
100
|
+
import { MaterialDynamicColors } from "./material_dynamic_colors.js";
|