newskit 3.13.0 → 4.2.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/README.md +83 -13
- package/cjs/audio-player/audio-functions.d.ts.map +1 -1
- package/cjs/audio-player/audio-functions.js +10 -10
- package/cjs/audio-player/audio-functions.js.map +1 -1
- package/cjs/audio-player/audio-player.js +1 -1
- package/cjs/audio-player/audio-player.js.map +1 -1
- package/cjs/audio-player/controls/control-panel.d.ts.map +1 -1
- package/cjs/audio-player/controls/control-panel.js +2 -2
- package/cjs/audio-player/controls/control-panel.js.map +1 -1
- package/cjs/audio-player/controls/play-pause.d.ts +6 -1
- package/cjs/audio-player/controls/play-pause.d.ts.map +1 -1
- package/cjs/audio-player/controls/play-pause.js +8 -1
- package/cjs/audio-player/controls/play-pause.js.map +1 -1
- package/cjs/audio-player/controls/skip-track.d.ts +2 -1
- package/cjs/audio-player/controls/skip-track.d.ts.map +1 -1
- package/cjs/audio-player/controls/skip-track.js +3 -3
- package/cjs/audio-player/controls/skip-track.js.map +1 -1
- package/cjs/button/styled.js +1 -1
- package/cjs/button/styled.js.map +1 -1
- package/cjs/checkbox/checkbox.d.ts +4 -0
- package/cjs/checkbox/checkbox.d.ts.map +1 -0
- package/cjs/checkbox/checkbox.js +122 -0
- package/cjs/checkbox/checkbox.js.map +1 -0
- package/cjs/checkbox/index.d.ts +3 -0
- package/cjs/checkbox/index.d.ts.map +1 -0
- package/cjs/checkbox/index.js +6 -0
- package/cjs/checkbox/index.js.map +1 -0
- package/cjs/checkbox/styled.d.ts +34 -0
- package/cjs/checkbox/styled.d.ts.map +1 -0
- package/cjs/checkbox/styled.js +71 -0
- package/cjs/checkbox/styled.js.map +1 -0
- package/cjs/checkbox/types.d.ts +34 -0
- package/cjs/checkbox/types.d.ts.map +1 -0
- package/cjs/checkbox/types.js +3 -0
- package/cjs/checkbox/types.js.map +1 -0
- package/cjs/consent/consent-utils.d.ts +2 -0
- package/cjs/consent/consent-utils.d.ts.map +1 -1
- package/cjs/consent/consent-utils.js +1 -0
- package/cjs/consent/consent-utils.js.map +1 -1
- package/cjs/dialog/base-dialog-function.d.ts.map +1 -1
- package/cjs/dialog/base-dialog-function.js +15 -5
- package/cjs/dialog/base-dialog-function.js.map +1 -1
- package/cjs/dialog/base-dialog-tests.d.ts.map +1 -1
- package/cjs/dialog/base-dialog-tests.js +20 -0
- package/cjs/dialog/base-dialog-tests.js.map +1 -1
- package/cjs/dialog/base-dialog-view.d.ts.map +1 -1
- package/cjs/dialog/base-dialog-view.js +16 -10
- package/cjs/dialog/base-dialog-view.js.map +1 -1
- package/cjs/dialog/styled.d.ts +24 -8
- package/cjs/dialog/styled.d.ts.map +1 -1
- package/cjs/dialog/styled.js +20 -8
- package/cjs/dialog/styled.js.map +1 -1
- package/cjs/dialog/types.d.ts +9 -1
- package/cjs/dialog/types.d.ts.map +1 -1
- package/cjs/drawer/drawer.d.ts.map +1 -1
- package/cjs/drawer/drawer.js +6 -4
- package/cjs/drawer/drawer.js.map +1 -1
- package/cjs/drawer/index.d.ts +1 -0
- package/cjs/drawer/index.d.ts.map +1 -1
- package/cjs/drawer/index.js +1 -0
- package/cjs/drawer/index.js.map +1 -1
- package/cjs/drawer/inline-drawer.d.ts +3 -0
- package/cjs/drawer/inline-drawer.d.ts.map +1 -0
- package/cjs/drawer/inline-drawer.js +7 -0
- package/cjs/drawer/inline-drawer.js.map +1 -0
- package/cjs/drawer/styled.d.ts +2 -1
- package/cjs/drawer/styled.d.ts.map +1 -1
- package/cjs/drawer/styled.js +15 -22
- package/cjs/drawer/styled.js.map +1 -1
- package/cjs/form/form-entry.d.ts.map +1 -1
- package/cjs/form/form-entry.js.map +1 -1
- package/cjs/form/form-input.d.ts.map +1 -1
- package/cjs/form/form-input.js.map +1 -1
- package/cjs/form/form.d.ts.map +1 -1
- package/cjs/form/form.js +4 -1
- package/cjs/form/form.js.map +1 -1
- package/cjs/form/types.d.ts +3 -3
- package/cjs/form/types.d.ts.map +1 -1
- package/cjs/form/utils.d.ts +261 -0
- package/cjs/form/utils.d.ts.map +1 -1
- package/cjs/form/utils.js +17 -1
- package/cjs/form/utils.js.map +1 -1
- package/cjs/icons/filled/custom/index.d.ts +0 -2
- package/cjs/icons/filled/custom/index.d.ts.map +1 -1
- package/cjs/icons/filled/custom/index.js +0 -2
- package/cjs/icons/filled/custom/index.js.map +1 -1
- package/cjs/image/image.d.ts.map +1 -1
- package/cjs/image/image.js +10 -31
- package/cjs/image/image.js.map +1 -1
- package/cjs/image/styled.d.ts +3 -8
- package/cjs/image/styled.d.ts.map +1 -1
- package/cjs/image/styled.js +13 -17
- package/cjs/image/styled.js.map +1 -1
- package/cjs/image/types.d.ts +1 -5
- package/cjs/image/types.d.ts.map +1 -1
- package/cjs/image/utils.d.ts +0 -1
- package/cjs/image/utils.d.ts.map +1 -1
- package/cjs/image/utils.js +1 -9
- package/cjs/image/utils.js.map +1 -1
- package/cjs/link/link.d.ts.map +1 -1
- package/cjs/link/link.js +1 -1
- package/cjs/link/link.js.map +1 -1
- package/cjs/menu/styled.d.ts.map +1 -1
- package/cjs/menu/styled.js +1 -1
- package/cjs/menu/styled.js.map +1 -1
- package/cjs/menu/types.d.ts +4 -3
- package/cjs/menu/types.d.ts.map +1 -1
- package/cjs/menu/types.js.map +1 -1
- package/cjs/modal/modal.d.ts.map +1 -1
- package/cjs/modal/modal.js +4 -8
- package/cjs/modal/modal.js.map +1 -1
- package/cjs/modal/styled.d.ts.map +1 -1
- package/cjs/modal/styled.js +2 -4
- package/cjs/modal/styled.js.map +1 -1
- package/cjs/overlay/overlay.d.ts.map +1 -1
- package/cjs/overlay/overlay.js +8 -4
- package/cjs/overlay/overlay.js.map +1 -1
- package/cjs/screen-reader-only/screen-reader-only.d.ts.map +1 -1
- package/cjs/screen-reader-only/screen-reader-only.js +12 -4
- package/cjs/screen-reader-only/screen-reader-only.js.map +1 -1
- package/cjs/scroll/scroll.d.ts +1 -1
- package/cjs/scroll/scroll.d.ts.map +1 -1
- package/cjs/scroll/scroll.js +7 -4
- package/cjs/scroll/scroll.js.map +1 -1
- package/cjs/slider/styled.d.ts.map +1 -1
- package/cjs/slider/styled.js +1 -1
- package/cjs/slider/styled.js.map +1 -1
- package/cjs/tabs/styled.js +1 -1
- package/cjs/tabs/styled.js.map +1 -1
- package/cjs/tabs/tab-panel.d.ts.map +1 -1
- package/cjs/tabs/tab-panel.js +16 -1
- package/cjs/tabs/tab-panel.js.map +1 -1
- package/cjs/tabs/tabs.d.ts.map +1 -1
- package/cjs/tabs/tabs.js +15 -5
- package/cjs/tabs/tabs.js.map +1 -1
- package/cjs/tabs/types.d.ts +1 -0
- package/cjs/tabs/types.d.ts.map +1 -1
- package/cjs/tealium/tealium.d.ts.map +1 -1
- package/cjs/tealium/tealium.js +1 -1
- package/cjs/tealium/tealium.js.map +1 -1
- package/cjs/text-field/text-field.js.map +1 -1
- package/cjs/text-input/text-input.d.ts.map +1 -1
- package/cjs/text-input/text-input.js.map +1 -1
- package/cjs/theme/component-defaults.d.ts +188 -131
- package/cjs/theme/component-defaults.d.ts.map +1 -1
- package/cjs/theme/component-defaults.js +222 -164
- package/cjs/theme/component-defaults.js.map +1 -1
- package/cjs/theme/foundations/colors.d.ts +16 -42
- package/cjs/theme/foundations/colors.d.ts.map +1 -1
- package/cjs/theme/foundations/colors.js +79 -95
- package/cjs/theme/foundations/colors.js.map +1 -1
- package/cjs/theme/foundations/fonts.d.ts +0 -1
- package/cjs/theme/foundations/fonts.d.ts.map +1 -1
- package/cjs/theme/foundations/fonts.js +15 -13
- package/cjs/theme/foundations/fonts.js.map +1 -1
- package/cjs/theme/foundations/motions.d.ts +5 -3
- package/cjs/theme/foundations/motions.d.ts.map +1 -1
- package/cjs/theme/foundations/motions.js +5 -3
- package/cjs/theme/foundations/motions.js.map +1 -1
- package/cjs/theme/foundations/overlays.js +4 -4
- package/cjs/theme/foundations/shadows.d.ts.map +1 -1
- package/cjs/theme/foundations/shadows.js +6 -6
- package/cjs/theme/foundations/shadows.js.map +1 -1
- package/cjs/theme/presets/index.d.ts +1 -0
- package/cjs/theme/presets/index.d.ts.map +1 -1
- package/cjs/theme/presets/index.js +1 -0
- package/cjs/theme/presets/index.js.map +1 -1
- package/cjs/theme/presets/style-presets.js +316 -158
- package/cjs/theme/presets/style-presets.js.map +1 -1
- package/cjs/theme/presets/transition-presets.d.ts +3 -0
- package/cjs/theme/presets/transition-presets.d.ts.map +1 -0
- package/cjs/theme/presets/transition-presets.js +238 -0
- package/cjs/theme/presets/transition-presets.js.map +1 -0
- package/cjs/theme/presets/types.d.ts +43 -0
- package/cjs/theme/presets/types.d.ts.map +1 -1
- package/cjs/theme/presets/typography-presets.js +149 -106
- package/cjs/theme/presets/typography-presets.js.map +1 -1
- package/cjs/theme/types.d.ts +2 -1
- package/cjs/theme/types.d.ts.map +1 -1
- package/cjs/theme/types.js.map +1 -1
- package/cjs/toast/styled.d.ts.map +1 -1
- package/cjs/toast/styled.js +1 -1
- package/cjs/toast/styled.js.map +1 -1
- package/cjs/unordered-list/index.d.ts +2 -2
- package/cjs/unordered-list/index.d.ts.map +1 -1
- package/cjs/unordered-list/index.js +12 -3
- package/cjs/unordered-list/index.js.map +1 -1
- package/cjs/unordered-list/styled.d.ts +21 -0
- package/cjs/unordered-list/styled.d.ts.map +1 -0
- package/cjs/unordered-list/styled.js +28 -0
- package/cjs/unordered-list/styled.js.map +1 -0
- package/cjs/unordered-list/types.d.ts +1 -0
- package/cjs/unordered-list/types.d.ts.map +1 -1
- package/cjs/unordered-list/unordered-list.d.ts +0 -4
- package/cjs/unordered-list/unordered-list.d.ts.map +1 -1
- package/cjs/unordered-list/unordered-list.js +14 -19
- package/cjs/unordered-list/unordered-list.js.map +1 -1
- package/cjs/utils/get-transition-duration.d.ts +15 -0
- package/cjs/utils/get-transition-duration.d.ts.map +1 -0
- package/cjs/utils/get-transition-duration.js +76 -0
- package/cjs/utils/get-transition-duration.js.map +1 -0
- package/cjs/utils/has-own-property.d.ts +2 -0
- package/cjs/utils/has-own-property.d.ts.map +1 -0
- package/cjs/utils/has-own-property.js +11 -0
- package/cjs/utils/has-own-property.js.map +1 -0
- package/cjs/utils/hooks/index.d.ts +1 -0
- package/cjs/utils/hooks/index.d.ts.map +1 -1
- package/cjs/utils/hooks/index.js +1 -0
- package/cjs/utils/hooks/index.js.map +1 -1
- package/cjs/utils/hooks/use-controlled.d.ts +5 -0
- package/cjs/utils/hooks/use-controlled.d.ts.map +1 -0
- package/cjs/utils/hooks/use-controlled.js +21 -0
- package/cjs/utils/hooks/use-controlled.js.map +1 -0
- package/cjs/utils/index.d.ts +1 -0
- package/cjs/utils/index.d.ts.map +1 -1
- package/cjs/utils/index.js +1 -0
- package/cjs/utils/index.js.map +1 -1
- package/cjs/utils/overrides.d.ts +0 -1
- package/cjs/utils/overrides.d.ts.map +1 -1
- package/cjs/utils/overrides.js +3 -9
- package/cjs/utils/overrides.js.map +1 -1
- package/cjs/utils/responsive-helpers.d.ts.map +1 -1
- package/cjs/utils/responsive-helpers.js +2 -3
- package/cjs/utils/responsive-helpers.js.map +1 -1
- package/cjs/utils/style/getters.js +4 -4
- package/cjs/utils/style/getters.js.map +1 -1
- package/cjs/utils/style/style-preset.d.ts +2 -0
- package/cjs/utils/style/style-preset.d.ts.map +1 -1
- package/cjs/utils/style/style-preset.js +51 -22
- package/cjs/utils/style/style-preset.js.map +1 -1
- package/cjs/utils/style/transition-preset.d.ts +5 -0
- package/cjs/utils/style/transition-preset.d.ts.map +1 -0
- package/cjs/utils/style/transition-preset.js +96 -0
- package/cjs/utils/style/transition-preset.js.map +1 -0
- package/cjs/version-number.json +1 -1
- package/cjs/volume-control/volume-control.js +1 -1
- package/cjs/volume-control/volume-control.js.map +1 -1
- package/esm/audio-player/audio-functions.d.ts.map +1 -1
- package/esm/audio-player/audio-functions.js +10 -10
- package/esm/audio-player/audio-functions.js.map +1 -1
- package/esm/audio-player/audio-player.js +1 -1
- package/esm/audio-player/audio-player.js.map +1 -1
- package/esm/audio-player/controls/control-panel.d.ts.map +1 -1
- package/esm/audio-player/controls/control-panel.js +2 -2
- package/esm/audio-player/controls/control-panel.js.map +1 -1
- package/esm/audio-player/controls/play-pause.d.ts +6 -1
- package/esm/audio-player/controls/play-pause.d.ts.map +1 -1
- package/esm/audio-player/controls/play-pause.js +7 -0
- package/esm/audio-player/controls/play-pause.js.map +1 -1
- package/esm/audio-player/controls/skip-track.d.ts +2 -1
- package/esm/audio-player/controls/skip-track.d.ts.map +1 -1
- package/esm/audio-player/controls/skip-track.js +3 -3
- package/esm/audio-player/controls/skip-track.js.map +1 -1
- package/esm/button/styled.js +1 -1
- package/esm/button/styled.js.map +1 -1
- package/esm/checkbox/checkbox.d.ts +4 -0
- package/esm/checkbox/checkbox.d.ts.map +1 -0
- package/esm/checkbox/checkbox.js +97 -0
- package/esm/checkbox/checkbox.js.map +1 -0
- package/esm/checkbox/index.d.ts +3 -0
- package/esm/checkbox/index.d.ts.map +1 -0
- package/esm/checkbox/index.js +2 -0
- package/esm/checkbox/index.js.map +1 -0
- package/esm/checkbox/styled.d.ts +34 -0
- package/esm/checkbox/styled.d.ts.map +1 -0
- package/esm/checkbox/styled.js +68 -0
- package/esm/checkbox/styled.js.map +1 -0
- package/esm/checkbox/types.d.ts +34 -0
- package/esm/checkbox/types.d.ts.map +1 -0
- package/esm/checkbox/types.js +2 -0
- package/esm/checkbox/types.js.map +1 -0
- package/esm/consent/consent-utils.d.ts +2 -0
- package/esm/consent/consent-utils.d.ts.map +1 -1
- package/esm/consent/consent-utils.js +1 -0
- package/esm/consent/consent-utils.js.map +1 -1
- package/esm/dialog/base-dialog-function.d.ts.map +1 -1
- package/esm/dialog/base-dialog-function.js +16 -6
- package/esm/dialog/base-dialog-function.js.map +1 -1
- package/esm/dialog/base-dialog-tests.d.ts.map +1 -1
- package/esm/dialog/base-dialog-tests.js +20 -0
- package/esm/dialog/base-dialog-tests.js.map +1 -1
- package/esm/dialog/base-dialog-view.d.ts.map +1 -1
- package/esm/dialog/base-dialog-view.js +17 -11
- package/esm/dialog/base-dialog-view.js.map +1 -1
- package/esm/dialog/styled.d.ts +24 -8
- package/esm/dialog/styled.d.ts.map +1 -1
- package/esm/dialog/styled.js +19 -7
- package/esm/dialog/styled.js.map +1 -1
- package/esm/dialog/types.d.ts +9 -1
- package/esm/dialog/types.d.ts.map +1 -1
- package/esm/drawer/drawer.d.ts.map +1 -1
- package/esm/drawer/drawer.js +6 -4
- package/esm/drawer/drawer.js.map +1 -1
- package/esm/drawer/index.d.ts +1 -0
- package/esm/drawer/index.d.ts.map +1 -1
- package/esm/drawer/index.js +1 -0
- package/esm/drawer/index.js.map +1 -1
- package/esm/drawer/inline-drawer.d.ts +3 -0
- package/esm/drawer/inline-drawer.d.ts.map +1 -0
- package/esm/drawer/inline-drawer.js +4 -0
- package/esm/drawer/inline-drawer.js.map +1 -0
- package/esm/drawer/styled.d.ts +2 -1
- package/esm/drawer/styled.d.ts.map +1 -1
- package/esm/drawer/styled.js +16 -23
- package/esm/drawer/styled.js.map +1 -1
- package/esm/form/form-entry.d.ts.map +1 -1
- package/esm/form/form-entry.js.map +1 -1
- package/esm/form/form-input.d.ts.map +1 -1
- package/esm/form/form-input.js.map +1 -1
- package/esm/form/form.d.ts.map +1 -1
- package/esm/form/form.js +4 -1
- package/esm/form/form.js.map +1 -1
- package/esm/form/types.d.ts +3 -3
- package/esm/form/types.d.ts.map +1 -1
- package/esm/form/utils.d.ts +261 -0
- package/esm/form/utils.d.ts.map +1 -1
- package/esm/form/utils.js +15 -0
- package/esm/form/utils.js.map +1 -1
- package/esm/icons/filled/custom/index.d.ts +0 -2
- package/esm/icons/filled/custom/index.d.ts.map +1 -1
- package/esm/icons/filled/custom/index.js +0 -2
- package/esm/icons/filled/custom/index.js.map +1 -1
- package/esm/image/image.d.ts.map +1 -1
- package/esm/image/image.js +12 -33
- package/esm/image/image.js.map +1 -1
- package/esm/image/styled.d.ts +3 -8
- package/esm/image/styled.d.ts.map +1 -1
- package/esm/image/styled.js +12 -16
- package/esm/image/styled.js.map +1 -1
- package/esm/image/types.d.ts +1 -5
- package/esm/image/types.d.ts.map +1 -1
- package/esm/image/utils.d.ts +0 -1
- package/esm/image/utils.d.ts.map +1 -1
- package/esm/image/utils.js +0 -7
- package/esm/image/utils.js.map +1 -1
- package/esm/link/link.d.ts.map +1 -1
- package/esm/link/link.js +2 -2
- package/esm/link/link.js.map +1 -1
- package/esm/menu/styled.d.ts.map +1 -1
- package/esm/menu/styled.js +1 -1
- package/esm/menu/styled.js.map +1 -1
- package/esm/menu/types.d.ts +4 -3
- package/esm/menu/types.d.ts.map +1 -1
- package/esm/menu/types.js.map +1 -1
- package/esm/modal/modal.d.ts.map +1 -1
- package/esm/modal/modal.js +4 -8
- package/esm/modal/modal.js.map +1 -1
- package/esm/modal/styled.d.ts.map +1 -1
- package/esm/modal/styled.js +2 -4
- package/esm/modal/styled.js.map +1 -1
- package/esm/overlay/overlay.d.ts.map +1 -1
- package/esm/overlay/overlay.js +9 -5
- package/esm/overlay/overlay.js.map +1 -1
- package/esm/screen-reader-only/screen-reader-only.d.ts.map +1 -1
- package/esm/screen-reader-only/screen-reader-only.js +12 -4
- package/esm/screen-reader-only/screen-reader-only.js.map +1 -1
- package/esm/scroll/scroll.d.ts +1 -1
- package/esm/scroll/scroll.d.ts.map +1 -1
- package/esm/scroll/scroll.js +4 -3
- package/esm/scroll/scroll.js.map +1 -1
- package/esm/slider/styled.d.ts.map +1 -1
- package/esm/slider/styled.js +1 -1
- package/esm/slider/styled.js.map +1 -1
- package/esm/tabs/styled.js +1 -1
- package/esm/tabs/styled.js.map +1 -1
- package/esm/tabs/tab-panel.d.ts.map +1 -1
- package/esm/tabs/tab-panel.js +16 -1
- package/esm/tabs/tab-panel.js.map +1 -1
- package/esm/tabs/tabs.d.ts.map +1 -1
- package/esm/tabs/tabs.js +16 -6
- package/esm/tabs/tabs.js.map +1 -1
- package/esm/tabs/types.d.ts +1 -0
- package/esm/tabs/types.d.ts.map +1 -1
- package/esm/tealium/tealium.d.ts.map +1 -1
- package/esm/tealium/tealium.js +1 -1
- package/esm/tealium/tealium.js.map +1 -1
- package/esm/text-field/text-field.js.map +1 -1
- package/esm/text-input/text-input.d.ts.map +1 -1
- package/esm/text-input/text-input.js.map +1 -1
- package/esm/theme/component-defaults.d.ts +188 -131
- package/esm/theme/component-defaults.d.ts.map +1 -1
- package/esm/theme/component-defaults.js +222 -164
- package/esm/theme/component-defaults.js.map +1 -1
- package/esm/theme/foundations/colors.d.ts +16 -42
- package/esm/theme/foundations/colors.d.ts.map +1 -1
- package/esm/theme/foundations/colors.js +79 -95
- package/esm/theme/foundations/colors.js.map +1 -1
- package/esm/theme/foundations/fonts.d.ts +0 -1
- package/esm/theme/foundations/fonts.d.ts.map +1 -1
- package/esm/theme/foundations/fonts.js +15 -13
- package/esm/theme/foundations/fonts.js.map +1 -1
- package/esm/theme/foundations/motions.d.ts +5 -3
- package/esm/theme/foundations/motions.d.ts.map +1 -1
- package/esm/theme/foundations/motions.js +5 -3
- package/esm/theme/foundations/motions.js.map +1 -1
- package/esm/theme/foundations/overlays.js +4 -4
- package/esm/theme/foundations/shadows.d.ts.map +1 -1
- package/esm/theme/foundations/shadows.js +6 -6
- package/esm/theme/foundations/shadows.js.map +1 -1
- package/esm/theme/presets/index.d.ts +1 -0
- package/esm/theme/presets/index.d.ts.map +1 -1
- package/esm/theme/presets/index.js +1 -0
- package/esm/theme/presets/index.js.map +1 -1
- package/esm/theme/presets/style-presets.js +316 -158
- package/esm/theme/presets/style-presets.js.map +1 -1
- package/esm/theme/presets/transition-presets.d.ts +3 -0
- package/esm/theme/presets/transition-presets.d.ts.map +1 -0
- package/esm/theme/presets/transition-presets.js +235 -0
- package/esm/theme/presets/transition-presets.js.map +1 -0
- package/esm/theme/presets/types.d.ts +43 -0
- package/esm/theme/presets/types.d.ts.map +1 -1
- package/esm/theme/presets/typography-presets.js +149 -106
- package/esm/theme/presets/typography-presets.js.map +1 -1
- package/esm/theme/types.d.ts +2 -1
- package/esm/theme/types.d.ts.map +1 -1
- package/esm/theme/types.js.map +1 -1
- package/esm/toast/styled.d.ts.map +1 -1
- package/esm/toast/styled.js +1 -1
- package/esm/toast/styled.js.map +1 -1
- package/esm/unordered-list/index.d.ts +2 -2
- package/esm/unordered-list/index.d.ts.map +1 -1
- package/esm/unordered-list/index.js +2 -1
- package/esm/unordered-list/index.js.map +1 -1
- package/esm/unordered-list/styled.d.ts +21 -0
- package/esm/unordered-list/styled.d.ts.map +1 -0
- package/esm/unordered-list/styled.js +25 -0
- package/esm/unordered-list/styled.js.map +1 -0
- package/esm/unordered-list/types.d.ts +1 -0
- package/esm/unordered-list/types.d.ts.map +1 -1
- package/esm/unordered-list/unordered-list.d.ts +0 -4
- package/esm/unordered-list/unordered-list.d.ts.map +1 -1
- package/esm/unordered-list/unordered-list.js +11 -16
- package/esm/unordered-list/unordered-list.js.map +1 -1
- package/esm/utils/get-transition-duration.d.ts +15 -0
- package/esm/utils/get-transition-duration.d.ts.map +1 -0
- package/esm/utils/get-transition-duration.js +70 -0
- package/esm/utils/get-transition-duration.js.map +1 -0
- package/esm/utils/has-own-property.d.ts +2 -0
- package/esm/utils/has-own-property.d.ts.map +1 -0
- package/esm/utils/has-own-property.js +7 -0
- package/esm/utils/has-own-property.js.map +1 -0
- package/esm/utils/hooks/index.d.ts +1 -0
- package/esm/utils/hooks/index.d.ts.map +1 -1
- package/esm/utils/hooks/index.js +1 -0
- package/esm/utils/hooks/index.js.map +1 -1
- package/esm/utils/hooks/use-controlled.d.ts +5 -0
- package/esm/utils/hooks/use-controlled.d.ts.map +1 -0
- package/esm/utils/hooks/use-controlled.js +14 -0
- package/esm/utils/hooks/use-controlled.js.map +1 -0
- package/esm/utils/index.d.ts +1 -0
- package/esm/utils/index.d.ts.map +1 -1
- package/esm/utils/index.js +1 -0
- package/esm/utils/index.js.map +1 -1
- package/esm/utils/overrides.d.ts +0 -1
- package/esm/utils/overrides.d.ts.map +1 -1
- package/esm/utils/overrides.js +1 -6
- package/esm/utils/overrides.js.map +1 -1
- package/esm/utils/responsive-helpers.d.ts.map +1 -1
- package/esm/utils/responsive-helpers.js +2 -3
- package/esm/utils/responsive-helpers.js.map +1 -1
- package/esm/utils/style/getters.js +1 -1
- package/esm/utils/style/getters.js.map +1 -1
- package/esm/utils/style/style-preset.d.ts +2 -0
- package/esm/utils/style/style-preset.d.ts.map +1 -1
- package/esm/utils/style/style-preset.js +51 -22
- package/esm/utils/style/style-preset.js.map +1 -1
- package/esm/utils/style/transition-preset.d.ts +5 -0
- package/esm/utils/style/transition-preset.d.ts.map +1 -0
- package/esm/utils/style/transition-preset.js +92 -0
- package/esm/utils/style/transition-preset.js.map +1 -0
- package/esm/version-number.json +1 -1
- package/esm/volume-control/volume-control.js +1 -1
- package/esm/volume-control/volume-control.js.map +1 -1
- package/package.json +1 -9
- package/cjs/icons/filled/custom/icon-filled-circle.d.ts +0 -5
- package/cjs/icons/filled/custom/icon-filled-circle.d.ts.map +0 -1
- package/cjs/icons/filled/custom/icon-filled-circle.js +0 -23
- package/cjs/icons/filled/custom/icon-filled-circle.js.map +0 -1
- package/cjs/icons/filled/custom/icon-filled-placeholder.d.ts +0 -5
- package/cjs/icons/filled/custom/icon-filled-placeholder.d.ts.map +0 -1
- package/cjs/icons/filled/custom/icon-filled-placeholder.js +0 -23
- package/cjs/icons/filled/custom/icon-filled-placeholder.js.map +0 -1
- package/cjs/image/caption.d.ts +0 -8
- package/cjs/image/caption.d.ts.map +0 -1
- package/cjs/image/caption.js +0 -34
- package/cjs/image/caption.js.map +0 -1
- package/esm/icons/filled/custom/icon-filled-circle.d.ts +0 -5
- package/esm/icons/filled/custom/icon-filled-circle.d.ts.map +0 -1
- package/esm/icons/filled/custom/icon-filled-circle.js +0 -17
- package/esm/icons/filled/custom/icon-filled-circle.js.map +0 -1
- package/esm/icons/filled/custom/icon-filled-placeholder.d.ts +0 -5
- package/esm/icons/filled/custom/icon-filled-placeholder.d.ts.map +0 -1
- package/esm/icons/filled/custom/icon-filled-placeholder.js +0 -17
- package/esm/icons/filled/custom/icon-filled-placeholder.js.map +0 -1
- package/esm/image/caption.d.ts +0 -8
- package/esm/image/caption.d.ts.map +0 -1
- package/esm/image/caption.js +0 -27
- package/esm/image/caption.js.map +0 -1
|
@@ -399,7 +399,6 @@ stylePresets.buttonMinimalInverse = {
|
|
|
399
399
|
backgroundColor: '{{colors.interactiveInverse020}}',
|
|
400
400
|
},
|
|
401
401
|
};
|
|
402
|
-
stylePresets.buttonDefault = stylePresets.buttonSolidPrimary;
|
|
403
402
|
//
|
|
404
403
|
// Icon Button
|
|
405
404
|
//
|
|
@@ -772,13 +771,6 @@ stylePresets.iconButtonMinimalInverse = {
|
|
|
772
771
|
backgroundColor: '{{colors.interactiveInverse020}}',
|
|
773
772
|
},
|
|
774
773
|
};
|
|
775
|
-
stylePresets.iconButtonDefault = stylePresets.iconButtonSolidPrimary;
|
|
776
|
-
stylePresets.buttonSocialTwitter = stylePresets.iconButtonMinimalSecondary;
|
|
777
|
-
stylePresets.buttonSocialFacebook = stylePresets.iconButtonMinimalSecondary;
|
|
778
|
-
stylePresets.buttonSocialWhatsapp = stylePresets.iconButtonMinimalSecondary;
|
|
779
|
-
stylePresets.buttonSocialEmail = stylePresets.iconButtonMinimalSecondary;
|
|
780
|
-
stylePresets.buttonSocialLink = stylePresets.iconButtonMinimalSecondary;
|
|
781
|
-
stylePresets.buttonSocialShare = stylePresets.iconButtonMinimalSecondary;
|
|
782
774
|
//
|
|
783
775
|
// Icons
|
|
784
776
|
//
|
|
@@ -887,18 +879,12 @@ stylePresets.tagPrimaryInverse = {
|
|
|
887
879
|
backgroundColor: '{{colors.interactiveInverse020}}',
|
|
888
880
|
},
|
|
889
881
|
};
|
|
890
|
-
stylePresets.tagDefault = stylePresets.tagPrimary;
|
|
891
|
-
// Tab
|
|
892
882
|
stylePresets.tab = {
|
|
893
883
|
base: {
|
|
894
884
|
backgroundColor: '{{colors.transparent}}',
|
|
895
885
|
color: '{{colors.inkBase}}',
|
|
896
886
|
iconColor: '{{colors.inkBase}}',
|
|
897
887
|
},
|
|
898
|
-
selected: {
|
|
899
|
-
color: '{{colors.inkBrand010}}',
|
|
900
|
-
iconColor: '{{colors.inkBrand010}}',
|
|
901
|
-
},
|
|
902
888
|
hover: {
|
|
903
889
|
backgroundColor: '{{colors.interactivePrimary010}}',
|
|
904
890
|
color: '{{colors.inkBrand010}}',
|
|
@@ -909,6 +895,15 @@ stylePresets.tab = {
|
|
|
909
895
|
color: '{{colors.inkBrand010}}',
|
|
910
896
|
iconColor: '{{colors.inkBrand010}}',
|
|
911
897
|
},
|
|
898
|
+
selected: {
|
|
899
|
+
color: '{{colors.inkBrand010}}',
|
|
900
|
+
iconColor: '{{colors.inkBrand010}}',
|
|
901
|
+
},
|
|
902
|
+
'selected:hover': {
|
|
903
|
+
backgroundColor: '{{colors.transparent}}',
|
|
904
|
+
color: '{{colors.inkBrand010}}',
|
|
905
|
+
iconColor: '{{colors.inkBrand010}}',
|
|
906
|
+
},
|
|
912
907
|
disabled: {
|
|
913
908
|
backgroundColor: '{{colors.interactiveDisabled010}}',
|
|
914
909
|
color: '{{colors.inkNonEssential}}',
|
|
@@ -925,7 +920,58 @@ stylePresets.tabsBarIndicator = {
|
|
|
925
920
|
backgroundColor: '{{colors.interactivePrimary030}}',
|
|
926
921
|
},
|
|
927
922
|
};
|
|
928
|
-
//
|
|
923
|
+
// Input Field
|
|
924
|
+
stylePresets.inputField = {
|
|
925
|
+
base: {
|
|
926
|
+
backgroundColor: '{{colors.transparent}}',
|
|
927
|
+
borderStyle: 'solid',
|
|
928
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
929
|
+
borderWidth: '{{borders.borderWidthDefault}}',
|
|
930
|
+
borderRadius: '{{borders.borderRadiusDefault}}',
|
|
931
|
+
color: '{{colors.inkBase}}',
|
|
932
|
+
textOverflow: 'ellipsis',
|
|
933
|
+
placeholderColor: '{{colors.inkSubtle}}',
|
|
934
|
+
iconColor: '{{colors.inkBase}}',
|
|
935
|
+
},
|
|
936
|
+
focus: {
|
|
937
|
+
borderColor: '{{colors.interactiveInput040}}',
|
|
938
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
939
|
+
},
|
|
940
|
+
hover: {
|
|
941
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
942
|
+
},
|
|
943
|
+
valid: {
|
|
944
|
+
borderColor: '{{colors.interactivePositive030}}',
|
|
945
|
+
},
|
|
946
|
+
'valid:hover': {
|
|
947
|
+
borderColor: '{{colors.interactivePositive030}}',
|
|
948
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
949
|
+
},
|
|
950
|
+
'valid:focus': {
|
|
951
|
+
borderColor: '{{colors.interactiveInput010}}',
|
|
952
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
953
|
+
},
|
|
954
|
+
disabled: {
|
|
955
|
+
borderColor: '{{colors.interactiveDisabled010}}',
|
|
956
|
+
color: '{{colors.inkNonEssential}}',
|
|
957
|
+
iconColor: '{{colors.inkNonEssential}}',
|
|
958
|
+
},
|
|
959
|
+
loading: {
|
|
960
|
+
iconColor: '{{colors.inkBrand010}}',
|
|
961
|
+
},
|
|
962
|
+
invalid: {
|
|
963
|
+
borderColor: '{{colors.interactiveNegative030}}',
|
|
964
|
+
},
|
|
965
|
+
'invalid:focus': {
|
|
966
|
+
borderColor: '{{colors.interactiveInput010}}',
|
|
967
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
968
|
+
},
|
|
969
|
+
'invalid:hover': {
|
|
970
|
+
borderColor: '{{colors.interactiveNegative030}}',
|
|
971
|
+
backgroundColor: '{{colors.interactiveInput010}}',
|
|
972
|
+
},
|
|
973
|
+
};
|
|
974
|
+
// Assistive Text
|
|
929
975
|
stylePresets.assistiveText = {
|
|
930
976
|
base: {
|
|
931
977
|
color: '{{colors.inkSubtle}}',
|
|
@@ -937,7 +983,7 @@ stylePresets.assistiveText = {
|
|
|
937
983
|
color: '{{colors.inkNegative}}',
|
|
938
984
|
},
|
|
939
985
|
valid: {
|
|
940
|
-
color: '{{colors.
|
|
986
|
+
color: '{{colors.inkSubtle}}',
|
|
941
987
|
},
|
|
942
988
|
};
|
|
943
989
|
stylePresets.textField = {
|
|
@@ -1046,7 +1092,39 @@ stylePresets.iconNegative = {
|
|
|
1046
1092
|
//
|
|
1047
1093
|
// Flag
|
|
1048
1094
|
//
|
|
1049
|
-
stylePresets.
|
|
1095
|
+
stylePresets.flagSolidPrimary = {
|
|
1096
|
+
base: {
|
|
1097
|
+
backgroundColor: '{{colors.interfaceBrand010}}',
|
|
1098
|
+
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1099
|
+
color: '{{colors.inkInverse}}',
|
|
1100
|
+
iconColor: '{{colors.inkInverse}}',
|
|
1101
|
+
},
|
|
1102
|
+
};
|
|
1103
|
+
stylePresets.flagSolidPositive = {
|
|
1104
|
+
base: {
|
|
1105
|
+
backgroundColor: '{{colors.interfacePositive010}}',
|
|
1106
|
+
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1107
|
+
color: '{{colors.inkInverse}}',
|
|
1108
|
+
iconColor: '{{colors.inkInverse}}',
|
|
1109
|
+
},
|
|
1110
|
+
};
|
|
1111
|
+
stylePresets.flagSolidNegative = {
|
|
1112
|
+
base: {
|
|
1113
|
+
backgroundColor: '{{colors.interfaceNegative010}}',
|
|
1114
|
+
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1115
|
+
color: '{{colors.inkInverse}}',
|
|
1116
|
+
iconColor: '{{colors.inkInverse}}',
|
|
1117
|
+
},
|
|
1118
|
+
};
|
|
1119
|
+
stylePresets.flagSolidNotice = {
|
|
1120
|
+
base: {
|
|
1121
|
+
backgroundColor: '{{colors.interfaceNotice010}}',
|
|
1122
|
+
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1123
|
+
color: '{{colors.inkInverse}}',
|
|
1124
|
+
iconColor: '{{colors.inkInverse}}',
|
|
1125
|
+
},
|
|
1126
|
+
};
|
|
1127
|
+
stylePresets.flagSolidInformative = {
|
|
1050
1128
|
base: {
|
|
1051
1129
|
backgroundColor: '{{colors.interfaceInformative010}}',
|
|
1052
1130
|
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
@@ -1054,27 +1132,66 @@ stylePresets.flagSolid = {
|
|
|
1054
1132
|
iconColor: '{{colors.inkInverse}}',
|
|
1055
1133
|
},
|
|
1056
1134
|
};
|
|
1057
|
-
stylePresets.
|
|
1058
|
-
base:
|
|
1135
|
+
stylePresets.flagSolidNeutral = {
|
|
1136
|
+
base: {
|
|
1137
|
+
backgroundColor: '{{colors.interfaceNeutral010}}',
|
|
1138
|
+
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1139
|
+
color: '{{colors.inkInverse}}',
|
|
1140
|
+
iconColor: '{{colors.inkInverse}}',
|
|
1141
|
+
},
|
|
1059
1142
|
};
|
|
1060
|
-
stylePresets.
|
|
1143
|
+
stylePresets.flagSolidInverse = {
|
|
1144
|
+
base: {
|
|
1145
|
+
backgroundColor: '{{colors.interface010}}',
|
|
1146
|
+
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1147
|
+
color: '{{colors.inkContrast}}',
|
|
1148
|
+
iconColor: '{{colors.inkContrast}}',
|
|
1149
|
+
},
|
|
1150
|
+
};
|
|
1151
|
+
stylePresets.flagMinimalPrimary = {
|
|
1061
1152
|
base: {
|
|
1062
1153
|
backgroundColor: '{{colors.transparent}}',
|
|
1063
|
-
|
|
1064
|
-
|
|
1154
|
+
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1155
|
+
color: '{{colors.inkBrand010}}',
|
|
1156
|
+
iconColor: '{{colors.inkBrand010}}',
|
|
1065
1157
|
},
|
|
1066
1158
|
};
|
|
1067
|
-
stylePresets.
|
|
1159
|
+
stylePresets.flagMinimalPositive = {
|
|
1160
|
+
base: {
|
|
1161
|
+
backgroundColor: '{{colors.transparent}}',
|
|
1162
|
+
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1163
|
+
color: '{{colors.inkPositive}}',
|
|
1164
|
+
iconColor: '{{colors.inkPositive}}',
|
|
1165
|
+
},
|
|
1166
|
+
};
|
|
1167
|
+
stylePresets.flagMinimalNegative = {
|
|
1168
|
+
base: {
|
|
1169
|
+
backgroundColor: '{{colors.transparent}}',
|
|
1170
|
+
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1171
|
+
color: '{{colors.inkNegative}}',
|
|
1172
|
+
iconColor: '{{colors.inkNegative}}',
|
|
1173
|
+
},
|
|
1174
|
+
};
|
|
1175
|
+
stylePresets.flagMinimalNotice = {
|
|
1176
|
+
base: {
|
|
1177
|
+
backgroundColor: '{{colors.transparent}}',
|
|
1178
|
+
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1179
|
+
color: '{{colors.inkNotice}}',
|
|
1180
|
+
iconColor: '{{colors.inkNotice}}',
|
|
1181
|
+
},
|
|
1182
|
+
};
|
|
1183
|
+
stylePresets.flagMinimalInformative = {
|
|
1068
1184
|
base: {
|
|
1069
|
-
backgroundColor: '{{colors.
|
|
1185
|
+
backgroundColor: '{{colors.transparent}}',
|
|
1070
1186
|
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1071
1187
|
color: '{{colors.inkInformative}}',
|
|
1072
1188
|
iconColor: '{{colors.inkInformative}}',
|
|
1073
1189
|
},
|
|
1074
1190
|
};
|
|
1075
|
-
stylePresets.
|
|
1191
|
+
stylePresets.flagMinimalNeutral = {
|
|
1076
1192
|
base: {
|
|
1077
|
-
backgroundColor: '{{colors.
|
|
1193
|
+
backgroundColor: '{{colors.transparent}}',
|
|
1194
|
+
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1078
1195
|
color: '{{colors.inkBase}}',
|
|
1079
1196
|
iconColor: '{{colors.inkBase}}',
|
|
1080
1197
|
},
|
|
@@ -1082,11 +1199,11 @@ stylePresets.flagSolidLiveInverse = {
|
|
|
1082
1199
|
stylePresets.flagMinimalInverse = {
|
|
1083
1200
|
base: {
|
|
1084
1201
|
backgroundColor: '{{colors.transparent}}',
|
|
1202
|
+
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1085
1203
|
color: '{{colors.inkInverse}}',
|
|
1086
1204
|
iconColor: '{{colors.inkInverse}}',
|
|
1087
1205
|
},
|
|
1088
1206
|
};
|
|
1089
|
-
stylePresets.flagDefault = stylePresets.flagSolid;
|
|
1090
1207
|
//
|
|
1091
1208
|
// Link
|
|
1092
1209
|
//
|
|
@@ -1106,10 +1223,6 @@ stylePresets.linkStandalone = {
|
|
|
1106
1223
|
iconColor: '{{colors.interactivePrimary050}}',
|
|
1107
1224
|
textDecoration: 'underline',
|
|
1108
1225
|
},
|
|
1109
|
-
visited: {
|
|
1110
|
-
color: '{{colors.interactiveVisited010}}',
|
|
1111
|
-
iconColor: '{{colors.interactiveVisited010}}',
|
|
1112
|
-
},
|
|
1113
1226
|
};
|
|
1114
1227
|
stylePresets.linkStandaloneInverse = {
|
|
1115
1228
|
base: {
|
|
@@ -1127,73 +1240,39 @@ stylePresets.linkStandaloneInverse = {
|
|
|
1127
1240
|
iconColor: '{{colors.interactiveInverse030}}',
|
|
1128
1241
|
textDecoration: 'underline',
|
|
1129
1242
|
},
|
|
1130
|
-
visited: {
|
|
1131
|
-
color: '{{colors.interactiveInverse040}}',
|
|
1132
|
-
iconColor: '{{colors.interactiveInverse040}}',
|
|
1133
|
-
},
|
|
1134
1243
|
};
|
|
1135
1244
|
stylePresets.linkInline = {
|
|
1136
1245
|
base: {
|
|
1137
1246
|
color: '{{colors.interactivePrimary030}}',
|
|
1138
1247
|
iconColor: '{{colors.interactivePrimary030}}',
|
|
1248
|
+
textDecoration: 'underline',
|
|
1139
1249
|
},
|
|
1140
1250
|
hover: {
|
|
1141
1251
|
color: '{{colors.interactivePrimary040}}',
|
|
1142
1252
|
iconColor: '{{colors.interactivePrimary040}}',
|
|
1253
|
+
textDecoration: 'underline',
|
|
1143
1254
|
},
|
|
1144
1255
|
active: {
|
|
1145
1256
|
color: '{{colors.interactivePrimary050}}',
|
|
1146
1257
|
iconColor: '{{colors.interactivePrimary050}}',
|
|
1258
|
+
textDecoration: 'underline',
|
|
1147
1259
|
},
|
|
1148
1260
|
visited: {
|
|
1149
1261
|
color: '{{colors.interactiveVisited010}}',
|
|
1150
1262
|
iconColor: '{{colors.interactiveVisited010}}',
|
|
1151
|
-
},
|
|
1152
|
-
};
|
|
1153
|
-
stylePresets.linkInlineInverse = {
|
|
1154
|
-
base: {
|
|
1155
|
-
color: '{{colors.interactiveInverse030}}',
|
|
1156
|
-
iconColor: '{{colors.interactiveInverse030}}',
|
|
1157
|
-
},
|
|
1158
|
-
hover: {
|
|
1159
|
-
color: '{{colors.interactiveInverse030}}',
|
|
1160
|
-
iconColor: '{{colors.interactiveInverse030}}',
|
|
1161
|
-
},
|
|
1162
|
-
active: {
|
|
1163
|
-
color: '{{colors.interactiveInverse030}}',
|
|
1164
|
-
iconColor: '{{colors.interactiveInverse030}}',
|
|
1165
|
-
},
|
|
1166
|
-
visited: {
|
|
1167
|
-
color: '{{colors.interactiveInverse040}}',
|
|
1168
|
-
iconColor: '{{colors.interactiveInverse040}}',
|
|
1169
|
-
},
|
|
1170
|
-
};
|
|
1171
|
-
stylePresets.linkEmail = {
|
|
1172
|
-
base: {
|
|
1173
|
-
color: '{{colors.interactivePrimary030}}',
|
|
1174
|
-
iconColor: '{{colors.interactivePrimary030}}',
|
|
1175
|
-
textDecoration: 'none',
|
|
1176
|
-
},
|
|
1177
|
-
hover: {
|
|
1178
|
-
color: '{{colors.interactivePrimary040}}',
|
|
1179
|
-
iconColor: '{{colors.interactivePrimary040}}',
|
|
1180
1263
|
textDecoration: 'underline',
|
|
1181
1264
|
},
|
|
1182
|
-
|
|
1183
|
-
color: '{{colors.interactivePrimary050}}',
|
|
1184
|
-
iconColor: '{{colors.interactivePrimary050}}',
|
|
1185
|
-
textDecoration: 'underline',
|
|
1186
|
-
},
|
|
1187
|
-
visited: {
|
|
1265
|
+
'visited:hover': {
|
|
1188
1266
|
color: '{{colors.interactiveVisited010}}',
|
|
1189
1267
|
iconColor: '{{colors.interactiveVisited010}}',
|
|
1268
|
+
textDecoration: 'underline',
|
|
1190
1269
|
},
|
|
1191
1270
|
};
|
|
1192
|
-
stylePresets.
|
|
1271
|
+
stylePresets.linkInlineInverse = {
|
|
1193
1272
|
base: {
|
|
1194
1273
|
color: '{{colors.interactiveInverse030}}',
|
|
1195
1274
|
iconColor: '{{colors.interactiveInverse030}}',
|
|
1196
|
-
textDecoration: '
|
|
1275
|
+
textDecoration: 'underline',
|
|
1197
1276
|
},
|
|
1198
1277
|
hover: {
|
|
1199
1278
|
color: '{{colors.interactiveInverse030}}',
|
|
@@ -1208,46 +1287,9 @@ stylePresets.linkEmailInverse = {
|
|
|
1208
1287
|
visited: {
|
|
1209
1288
|
color: '{{colors.interactiveInverse040}}',
|
|
1210
1289
|
iconColor: '{{colors.interactiveInverse040}}',
|
|
1211
|
-
},
|
|
1212
|
-
};
|
|
1213
|
-
stylePresets.linkExternal = {
|
|
1214
|
-
base: {
|
|
1215
|
-
color: '{{colors.interactivePrimary030}}',
|
|
1216
|
-
iconColor: '{{colors.interactivePrimary030}}',
|
|
1217
|
-
textDecoration: 'none',
|
|
1218
|
-
},
|
|
1219
|
-
hover: {
|
|
1220
|
-
color: '{{colors.interactivePrimary040}}',
|
|
1221
|
-
iconColor: '{{colors.interactivePrimary040}}',
|
|
1222
|
-
textDecoration: 'underline',
|
|
1223
|
-
},
|
|
1224
|
-
active: {
|
|
1225
|
-
color: '{{colors.interactivePrimary050}}',
|
|
1226
|
-
iconColor: '{{colors.interactivePrimary050}}',
|
|
1227
|
-
textDecoration: 'underline',
|
|
1228
|
-
},
|
|
1229
|
-
visited: {
|
|
1230
|
-
color: '{{colors.interactiveVisited010}}',
|
|
1231
|
-
iconColor: '{{colors.interactiveVisited010}}',
|
|
1232
|
-
},
|
|
1233
|
-
};
|
|
1234
|
-
stylePresets.linkExternalInverse = {
|
|
1235
|
-
base: {
|
|
1236
|
-
color: '{{colors.interactiveInverse030}}',
|
|
1237
|
-
iconColor: '{{colors.interactiveInverse030}}',
|
|
1238
|
-
textDecoration: 'none',
|
|
1239
|
-
},
|
|
1240
|
-
hover: {
|
|
1241
|
-
color: '{{colors.interactiveInverse030}}',
|
|
1242
|
-
iconColor: '{{colors.interactiveInverse030}}',
|
|
1243
1290
|
textDecoration: 'underline',
|
|
1244
1291
|
},
|
|
1245
|
-
|
|
1246
|
-
color: '{{colors.interactiveInverse030}}',
|
|
1247
|
-
iconColor: '{{colors.interactiveInverse030}}',
|
|
1248
|
-
textDecoration: 'underline',
|
|
1249
|
-
},
|
|
1250
|
-
visited: {
|
|
1292
|
+
'visited:hover': {
|
|
1251
1293
|
color: '{{colors.interactiveInverse040}}',
|
|
1252
1294
|
iconColor: '{{colors.interactiveInverse040}}',
|
|
1253
1295
|
},
|
|
@@ -1303,6 +1345,8 @@ stylePresets.sliderThumb = {
|
|
|
1303
1345
|
stylePresets.sliderThumbLabel = {
|
|
1304
1346
|
base: {
|
|
1305
1347
|
color: '{{colors.inkBrand010}}',
|
|
1348
|
+
textAlign: 'center',
|
|
1349
|
+
whiteSpace: 'nowrap',
|
|
1306
1350
|
},
|
|
1307
1351
|
disabled: {
|
|
1308
1352
|
color: '{{colors.inkNonEssential}}',
|
|
@@ -1338,7 +1382,6 @@ stylePresets.volumeControlTrack = {
|
|
|
1338
1382
|
borderRadius: '{{borders.borderRadiusPill}}',
|
|
1339
1383
|
},
|
|
1340
1384
|
};
|
|
1341
|
-
stylePresets.volumeControlButtons = stylePresets.iconButtonMinimalPrimary;
|
|
1342
1385
|
//
|
|
1343
1386
|
// Audio Player
|
|
1344
1387
|
//
|
|
@@ -1370,10 +1413,6 @@ stylePresets.audioPlayerThumb = {
|
|
|
1370
1413
|
iconColor: '{{colors.inkSubtle}}',
|
|
1371
1414
|
},
|
|
1372
1415
|
};
|
|
1373
|
-
stylePresets.audioPlayerVolumeControlThumb = stylePresets.audioPlayerThumb;
|
|
1374
|
-
stylePresets.audioPlayerPopoutButton = stylePresets.iconButtonMinimalPrimary;
|
|
1375
|
-
stylePresets.audioPlayerControlButton = stylePresets.iconButtonMinimalPrimary;
|
|
1376
|
-
stylePresets.audioPlayerPlayPauseButton = stylePresets.iconButtonSolidPrimary;
|
|
1377
1416
|
//
|
|
1378
1417
|
// Image
|
|
1379
1418
|
//
|
|
@@ -1439,19 +1478,16 @@ stylePresets.titleBar = {
|
|
|
1439
1478
|
backgroundColor: '{{colors.transparent}}',
|
|
1440
1479
|
},
|
|
1441
1480
|
};
|
|
1442
|
-
stylePresets.titleBarButton = stylePresets.buttonSolidPrimary;
|
|
1443
|
-
stylePresets.titleBarLink = stylePresets.linkStandalone;
|
|
1444
1481
|
//
|
|
1445
1482
|
// Divider
|
|
1446
1483
|
//
|
|
1447
|
-
stylePresets.
|
|
1484
|
+
stylePresets.divider = {
|
|
1448
1485
|
base: {
|
|
1449
1486
|
borderStyle: 'solid',
|
|
1450
1487
|
borderColor: '{{colors.interface040}}',
|
|
1451
1488
|
borderWidth: '{{borders.borderWidthDefault}}',
|
|
1452
1489
|
},
|
|
1453
1490
|
};
|
|
1454
|
-
stylePresets.dividerVertical = stylePresets.dividerHorizontal;
|
|
1455
1491
|
stylePresets.dividerInverse = {
|
|
1456
1492
|
base: {
|
|
1457
1493
|
borderStyle: 'solid',
|
|
@@ -1507,12 +1543,12 @@ stylePresets.overlay = {
|
|
|
1507
1543
|
//
|
|
1508
1544
|
stylePresets.scrollOverlaysHorizontal = {
|
|
1509
1545
|
base: {
|
|
1510
|
-
backgroundImage: '{{overlays.
|
|
1546
|
+
backgroundImage: '{{overlays.overlayGradientBaseHorizontal}}',
|
|
1511
1547
|
},
|
|
1512
1548
|
};
|
|
1513
1549
|
stylePresets.scrollOverlaysVertical = {
|
|
1514
1550
|
base: {
|
|
1515
|
-
backgroundImage: '{{overlays.
|
|
1551
|
+
backgroundImage: '{{overlays.overlayGradientBaseVertical}}',
|
|
1516
1552
|
},
|
|
1517
1553
|
};
|
|
1518
1554
|
//
|
|
@@ -1522,7 +1558,7 @@ stylePresets.drawerPanel = {
|
|
|
1522
1558
|
base: {
|
|
1523
1559
|
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1524
1560
|
backgroundColor: '{{colors.interface010}}',
|
|
1525
|
-
boxShadow: '{{shadows.
|
|
1561
|
+
boxShadow: '{{shadows.shadow060}}',
|
|
1526
1562
|
},
|
|
1527
1563
|
};
|
|
1528
1564
|
// Card
|
|
@@ -1603,17 +1639,6 @@ stylePresets.inlineMessageNegative = {
|
|
|
1603
1639
|
color: '{{colors.inkBase}}',
|
|
1604
1640
|
},
|
|
1605
1641
|
};
|
|
1606
|
-
stylePresets.inlineMessageNotice = {
|
|
1607
|
-
base: {
|
|
1608
|
-
backgroundColor: '{{colors.interfaceNotice020}}',
|
|
1609
|
-
borderColor: '{{colors.interfaceNotice010}}',
|
|
1610
|
-
borderStyle: 'solid',
|
|
1611
|
-
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
1612
|
-
borderWidth: '{{borders.borderWidth000}} {{borders.borderWidth000}} {{borders.borderWidth000}} {{borders.borderWidth030}}',
|
|
1613
|
-
iconColor: '{{colors.inkNotice}}',
|
|
1614
|
-
color: '{{colors.inkBase}}',
|
|
1615
|
-
},
|
|
1616
|
-
};
|
|
1617
1642
|
// Menu
|
|
1618
1643
|
stylePresets.menuItemVertical = {
|
|
1619
1644
|
base: {
|
|
@@ -1626,20 +1651,24 @@ stylePresets.menuItemVertical = {
|
|
|
1626
1651
|
},
|
|
1627
1652
|
hover: {
|
|
1628
1653
|
backgroundColor: '{{colors.interactivePrimary010}}',
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
iconColor: '{{colors.interactivePrimary030}}',
|
|
1654
|
+
color: '{{colors.inkBrand010}}',
|
|
1655
|
+
iconColor: '{{colors.inkBrand010}}',
|
|
1632
1656
|
},
|
|
1633
1657
|
active: {
|
|
1634
1658
|
backgroundColor: '{{colors.interactivePrimary020}}',
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
iconColor: '{{colors.interactivePrimary040}}',
|
|
1659
|
+
color: '{{colors.inkBrand010}}',
|
|
1660
|
+
iconColor: '{{colors.inkBrand010}}',
|
|
1638
1661
|
},
|
|
1639
1662
|
selected: {
|
|
1640
1663
|
borderColor: '{{colors.interactivePrimary030}}',
|
|
1641
|
-
color: '{{colors.
|
|
1642
|
-
iconColor: '{{colors.
|
|
1664
|
+
color: '{{colors.inkBrand010}}',
|
|
1665
|
+
iconColor: '{{colors.inkBrand010}}',
|
|
1666
|
+
},
|
|
1667
|
+
'selected:hover': {
|
|
1668
|
+
backgroundColor: '{{colors.transparent}}',
|
|
1669
|
+
borderColor: '{{colors.interactivePrimary030}}',
|
|
1670
|
+
color: '{{colors.inkBrand010}}',
|
|
1671
|
+
iconColor: '{{colors.inkBrand010}}',
|
|
1643
1672
|
},
|
|
1644
1673
|
disabled: {
|
|
1645
1674
|
color: '{{colors.inkNonEssential}}',
|
|
@@ -1657,11 +1686,11 @@ stylePresets.menuItemHorizontal = {
|
|
|
1657
1686
|
},
|
|
1658
1687
|
hover: {
|
|
1659
1688
|
borderColor: '{{colors.interactivePrimary030}}',
|
|
1660
|
-
color: '{{colors.
|
|
1661
|
-
iconColor: '{{colors.
|
|
1689
|
+
color: '{{colors.inkBase}}',
|
|
1690
|
+
iconColor: '{{colors.inkBase}}',
|
|
1662
1691
|
},
|
|
1663
1692
|
active: {
|
|
1664
|
-
borderColor: '{{colors.
|
|
1693
|
+
borderColor: '{{colors.interactivePrimary040}}',
|
|
1665
1694
|
color: '{{colors.inkContrast}}',
|
|
1666
1695
|
iconColor: '{{colors.inkContrast}}',
|
|
1667
1696
|
},
|
|
@@ -1670,6 +1699,11 @@ stylePresets.menuItemHorizontal = {
|
|
|
1670
1699
|
color: '{{colors.inkBase}}',
|
|
1671
1700
|
iconColor: '{{colors.inkBase}}',
|
|
1672
1701
|
},
|
|
1702
|
+
'selected:hover': {
|
|
1703
|
+
borderColor: '{{colors.interactivePrimary030}}',
|
|
1704
|
+
color: '{{colors.inkBase}}',
|
|
1705
|
+
iconColor: '{{colors.inkBase}}',
|
|
1706
|
+
},
|
|
1673
1707
|
disabled: {
|
|
1674
1708
|
color: '{{colors.inkNonEssential}}',
|
|
1675
1709
|
iconColor: '{{colors.inkNonEssential}}',
|
|
@@ -1681,26 +1715,28 @@ stylePresets.menuItemHorizontalInverse = {
|
|
|
1681
1715
|
borderStyle: 'solid',
|
|
1682
1716
|
borderColor: '{{colors.transparent}}',
|
|
1683
1717
|
borderWidth: '{{borders.borderWidth000}} {{borders.borderWidth000}} {{borders.borderWidth020}} {{borders.borderWidth000}}',
|
|
1684
|
-
color: '{{colors.
|
|
1685
|
-
iconColor: '{{colors.
|
|
1718
|
+
color: '{{colors.inkInverse}}',
|
|
1719
|
+
iconColor: '{{colors.inkInverse}}',
|
|
1686
1720
|
},
|
|
1687
1721
|
hover: {
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1722
|
+
borderColor: '{{colors.interactiveInverse030}}',
|
|
1723
|
+
color: '{{colors.inkInverse}}',
|
|
1724
|
+
iconColor: '{{colors.inkInverse}}',
|
|
1725
|
+
},
|
|
1726
|
+
'selected:hover': {
|
|
1727
|
+
borderColor: '{{colors.interactiveInverse030}}',
|
|
1728
|
+
color: '{{colors.inkInverse}}',
|
|
1729
|
+
iconColor: '{{colors.inkInverse}}',
|
|
1692
1730
|
},
|
|
1693
1731
|
active: {
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
iconColor: '{{colors.inkContrast}}',
|
|
1732
|
+
borderColor: '{{colors.interactiveInverse030}}',
|
|
1733
|
+
color: '{{colors.inkInverse}}',
|
|
1734
|
+
iconColor: '{{colors.inkInverse}}',
|
|
1698
1735
|
},
|
|
1699
1736
|
selected: {
|
|
1700
|
-
backgroundColor: '{{colors.interactiveInverse030}}',
|
|
1701
1737
|
borderColor: '{{colors.interactiveInverse030}}',
|
|
1702
|
-
color: '{{colors.
|
|
1703
|
-
iconColor: '{{colors.
|
|
1738
|
+
color: '{{colors.inkInverse}}',
|
|
1739
|
+
iconColor: '{{colors.inkInverse}}',
|
|
1704
1740
|
},
|
|
1705
1741
|
disabled: {
|
|
1706
1742
|
color: '{{colors.interactiveInverse020}}',
|
|
@@ -1714,7 +1750,129 @@ stylePresets.modalPanel = {
|
|
|
1714
1750
|
base: {
|
|
1715
1751
|
borderRadius: '{{borders.borderRadiusSharp}}',
|
|
1716
1752
|
backgroundColor: '{{colors.interfaceBackground}}',
|
|
1717
|
-
boxShadow: '{{shadows.
|
|
1753
|
+
boxShadow: '{{shadows.shadow060}}',
|
|
1754
|
+
},
|
|
1755
|
+
};
|
|
1756
|
+
//
|
|
1757
|
+
// Checkbox
|
|
1758
|
+
//
|
|
1759
|
+
stylePresets.checkboxInput = {
|
|
1760
|
+
base: {
|
|
1761
|
+
backgroundColor: '{{colors.transparent}}',
|
|
1762
|
+
borderColor: '{{colors.interactiveInput020}}',
|
|
1763
|
+
borderWidth: '{{borders.borderWidth010}}',
|
|
1764
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
1765
|
+
borderStyle: 'solid',
|
|
1766
|
+
iconColor: '{{colors.inkInverse}}',
|
|
1767
|
+
},
|
|
1768
|
+
hover: {
|
|
1769
|
+
borderColor: '{{colors.interactiveInput040}}',
|
|
1770
|
+
},
|
|
1771
|
+
focus: {
|
|
1772
|
+
borderColor: '{{colors.interactiveInput050}}',
|
|
1773
|
+
},
|
|
1774
|
+
'focus:hover': {
|
|
1775
|
+
borderColor: '{{colors.interactiveInput050}}',
|
|
1776
|
+
},
|
|
1777
|
+
checked: {
|
|
1778
|
+
backgroundColor: '{{colors.interactiveInput040}}',
|
|
1779
|
+
borderColor: '{{colors.interactiveInput040}}',
|
|
1780
|
+
},
|
|
1781
|
+
'checked:hover': {
|
|
1782
|
+
backgroundColor: '{{colors.interactiveInput050}}',
|
|
1783
|
+
borderColor: '{{colors.interactiveInput050}}',
|
|
1784
|
+
},
|
|
1785
|
+
'checked:focus': {
|
|
1786
|
+
backgroundColor: '{{colors.interactiveInput050}}',
|
|
1787
|
+
borderColor: '{{colors.interactiveInput050}}',
|
|
1788
|
+
},
|
|
1789
|
+
'checked:focus:hover': {
|
|
1790
|
+
backgroundColor: '{{colors.interactiveInput050}}',
|
|
1791
|
+
borderColor: '{{colors.interactiveInput050}}',
|
|
1792
|
+
},
|
|
1793
|
+
invalid: {
|
|
1794
|
+
borderColor: '{{colors.interactiveNegative040}}',
|
|
1795
|
+
},
|
|
1796
|
+
'invalid:focus': {
|
|
1797
|
+
borderColor: '{{colors.interactiveNegative050}}',
|
|
1798
|
+
},
|
|
1799
|
+
'invalid:hover': {
|
|
1800
|
+
borderColor: '{{colors.interactiveNegative050}}',
|
|
1801
|
+
},
|
|
1802
|
+
'invalid:focus:hover': {
|
|
1803
|
+
borderColor: '{{colors.interactiveNegative050}}',
|
|
1804
|
+
},
|
|
1805
|
+
'checked:invalid': {
|
|
1806
|
+
backgroundColor: '{{colors.interactiveNegative040}}',
|
|
1807
|
+
borderColor: '{{colors.interactiveNegative040}}',
|
|
1808
|
+
},
|
|
1809
|
+
'checked:invalid:focus': {
|
|
1810
|
+
backgroundColor: '{{colors.interactiveNegative050}}',
|
|
1811
|
+
borderColor: '{{colors.interactiveNegative050}}',
|
|
1812
|
+
},
|
|
1813
|
+
'checked:invalid:hover': {
|
|
1814
|
+
backgroundColor: '{{colors.interactiveNegative050}}',
|
|
1815
|
+
borderColor: '{{colors.interactiveNegative050}}',
|
|
1816
|
+
},
|
|
1817
|
+
'checked:invalid:focus:hover': {
|
|
1818
|
+
backgroundColor: '{{colors.interactiveNegative050}}',
|
|
1819
|
+
borderColor: '{{colors.interactiveNegative050}}',
|
|
1820
|
+
},
|
|
1821
|
+
valid: {
|
|
1822
|
+
borderColor: '{{colors.interactivePositive040}}',
|
|
1823
|
+
},
|
|
1824
|
+
'valid:focus': {
|
|
1825
|
+
borderColor: '{{colors.interactivePositive050}}',
|
|
1826
|
+
},
|
|
1827
|
+
'valid:hover': {
|
|
1828
|
+
borderColor: '{{colors.interactivePositive050}}',
|
|
1829
|
+
},
|
|
1830
|
+
'valid:focus:hover': {
|
|
1831
|
+
borderColor: '{{colors.interactivePositive050}}',
|
|
1832
|
+
},
|
|
1833
|
+
'checked:valid': {
|
|
1834
|
+
backgroundColor: '{{colors.interactivePositive040}}',
|
|
1835
|
+
borderColor: '{{colors.interactivePositive040}}',
|
|
1836
|
+
},
|
|
1837
|
+
'checked:valid:focus': {
|
|
1838
|
+
backgroundColor: '{{colors.interactivePositive050}}',
|
|
1839
|
+
borderColor: '{{colors.interactivePositive050}}',
|
|
1840
|
+
},
|
|
1841
|
+
'checked:valid:hover': {
|
|
1842
|
+
backgroundColor: '{{colors.interactivePositive050}}',
|
|
1843
|
+
borderColor: '{{colors.interactivePositive050}}',
|
|
1844
|
+
},
|
|
1845
|
+
'checked:valid:focus:hover': {
|
|
1846
|
+
backgroundColor: '{{colors.interactivePositive050}}',
|
|
1847
|
+
borderColor: '{{colors.interactivePositive050}}',
|
|
1848
|
+
},
|
|
1849
|
+
disabled: {
|
|
1850
|
+
borderColor: '{{colors.interactiveDisabled010}}',
|
|
1851
|
+
},
|
|
1852
|
+
'checked:disabled': {
|
|
1853
|
+
backgroundColor: '{{colors.interactiveDisabled010}}',
|
|
1854
|
+
borderColor: '{{colors.interactiveDisabled010}}',
|
|
1855
|
+
iconColor: '{{colors.inkNonEssential}}',
|
|
1856
|
+
},
|
|
1857
|
+
};
|
|
1858
|
+
stylePresets.checkboxFeedback = {
|
|
1859
|
+
base: {
|
|
1860
|
+
backgroundColor: '{{colors.transparent}}',
|
|
1861
|
+
borderRadius: '{{borders.borderRadiusRounded010}}',
|
|
1862
|
+
},
|
|
1863
|
+
hover: {
|
|
1864
|
+
backgroundColor: '{{colors.interactiveInput030}}',
|
|
1865
|
+
},
|
|
1866
|
+
focus: {
|
|
1867
|
+
backgroundColor: '{{colors.interactiveInput030}}',
|
|
1868
|
+
},
|
|
1869
|
+
};
|
|
1870
|
+
stylePresets.controlLabel = {
|
|
1871
|
+
base: {
|
|
1872
|
+
color: '{{colors.inkBase}}',
|
|
1873
|
+
},
|
|
1874
|
+
disabled: {
|
|
1875
|
+
color: '{{colors.inkNonEssential}}',
|
|
1718
1876
|
},
|
|
1719
1877
|
};
|
|
1720
1878
|
//# sourceMappingURL=style-presets.js.map
|