newskit 5.1.1 → 5.4.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/cjs/assistive-text/assistive-text.d.ts +1 -2
- package/cjs/assistive-text/assistive-text.d.ts.map +1 -1
- package/cjs/audio-player/audio-player.d.ts +1 -2
- package/cjs/audio-player/audio-player.d.ts.map +1 -1
- package/cjs/audio-player-composable/audio-functions.d.ts +23 -0
- package/cjs/audio-player-composable/audio-functions.d.ts.map +1 -0
- package/cjs/audio-player-composable/audio-functions.js +230 -0
- package/cjs/audio-player-composable/audio-functions.js.map +1 -0
- package/cjs/audio-player-composable/audio-player-composable.d.ts +4 -0
- package/cjs/audio-player-composable/audio-player-composable.d.ts.map +1 -0
- package/cjs/audio-player-composable/audio-player-composable.js +219 -0
- package/cjs/audio-player-composable/audio-player-composable.js.map +1 -0
- package/cjs/audio-player-composable/components/audio-element.d.ts +4 -0
- package/cjs/audio-player-composable/components/audio-element.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/audio-element.js +14 -0
- package/cjs/audio-player-composable/components/audio-element.js.map +1 -0
- package/cjs/audio-player-composable/components/forward-button/defaults.d.ts +7 -0
- package/cjs/audio-player-composable/components/forward-button/defaults.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/forward-button/defaults.js +8 -0
- package/cjs/audio-player-composable/components/forward-button/defaults.js.map +1 -0
- package/cjs/audio-player-composable/components/forward-button/forward-button.d.ts +3 -0
- package/cjs/audio-player-composable/components/forward-button/forward-button.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/forward-button/forward-button.js +39 -0
- package/cjs/audio-player-composable/components/forward-button/forward-button.js.map +1 -0
- package/cjs/audio-player-composable/components/forward-button/index.d.ts +3 -0
- package/cjs/audio-player-composable/components/forward-button/index.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/forward-button/index.js +15 -0
- package/cjs/audio-player-composable/components/forward-button/index.js.map +1 -0
- package/cjs/audio-player-composable/components/forward-button/types.d.ts +5 -0
- package/cjs/audio-player-composable/components/forward-button/types.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/forward-button/types.js +3 -0
- package/cjs/audio-player-composable/components/forward-button/types.js.map +1 -0
- package/cjs/audio-player-composable/components/play-pause-button/defaults.d.ts +7 -0
- package/cjs/audio-player-composable/components/play-pause-button/defaults.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/play-pause-button/defaults.js +8 -0
- package/cjs/audio-player-composable/components/play-pause-button/defaults.js.map +1 -0
- package/cjs/audio-player-composable/components/play-pause-button/index.d.ts +3 -0
- package/cjs/audio-player-composable/components/play-pause-button/index.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/play-pause-button/index.js +15 -0
- package/cjs/audio-player-composable/components/play-pause-button/index.js.map +1 -0
- package/cjs/audio-player-composable/components/play-pause-button/play-pause-button.d.ts +2 -0
- package/cjs/audio-player-composable/components/play-pause-button/play-pause-button.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/play-pause-button/play-pause-button.js +71 -0
- package/cjs/audio-player-composable/components/play-pause-button/play-pause-button.js.map +1 -0
- package/cjs/audio-player-composable/components/play-pause-button/types.d.ts +3 -0
- package/cjs/audio-player-composable/components/play-pause-button/types.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/play-pause-button/types.js +3 -0
- package/cjs/audio-player-composable/components/play-pause-button/types.js.map +1 -0
- package/cjs/audio-player-composable/components/replay-button/defaults.d.ts +7 -0
- package/cjs/audio-player-composable/components/replay-button/defaults.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/replay-button/defaults.js +8 -0
- package/cjs/audio-player-composable/components/replay-button/defaults.js.map +1 -0
- package/cjs/audio-player-composable/components/replay-button/index.d.ts +3 -0
- package/cjs/audio-player-composable/components/replay-button/index.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/replay-button/index.js +15 -0
- package/cjs/audio-player-composable/components/replay-button/index.js.map +1 -0
- package/cjs/audio-player-composable/components/replay-button/replay-button.d.ts +3 -0
- package/cjs/audio-player-composable/components/replay-button/replay-button.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/replay-button/replay-button.js +39 -0
- package/cjs/audio-player-composable/components/replay-button/replay-button.js.map +1 -0
- package/cjs/audio-player-composable/components/replay-button/types.d.ts +5 -0
- package/cjs/audio-player-composable/components/replay-button/types.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/replay-button/types.js +3 -0
- package/cjs/audio-player-composable/components/replay-button/types.js.map +1 -0
- package/cjs/audio-player-composable/components/seek-bar/defaults.d.ts +22 -0
- package/cjs/audio-player-composable/components/seek-bar/defaults.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/seek-bar/defaults.js +23 -0
- package/cjs/audio-player-composable/components/seek-bar/defaults.js.map +1 -0
- package/cjs/audio-player-composable/components/seek-bar/index.d.ts +3 -0
- package/cjs/audio-player-composable/components/seek-bar/index.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/seek-bar/index.js +15 -0
- package/cjs/audio-player-composable/components/seek-bar/index.js.map +1 -0
- package/cjs/audio-player-composable/components/seek-bar/seek-bar.d.ts +3 -0
- package/cjs/audio-player-composable/components/seek-bar/seek-bar.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/seek-bar/seek-bar.js +101 -0
- package/cjs/audio-player-composable/components/seek-bar/seek-bar.js.map +1 -0
- package/cjs/audio-player-composable/components/seek-bar/style-presets.d.ts +4 -0
- package/cjs/audio-player-composable/components/seek-bar/style-presets.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/seek-bar/style-presets.js +41 -0
- package/cjs/audio-player-composable/components/seek-bar/style-presets.js.map +1 -0
- package/cjs/audio-player-composable/components/seek-bar/types.d.ts +11 -0
- package/cjs/audio-player-composable/components/seek-bar/types.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/seek-bar/types.js +3 -0
- package/cjs/audio-player-composable/components/seek-bar/types.js.map +1 -0
- package/cjs/audio-player-composable/components/seek-bar/utils.d.ts +6 -0
- package/cjs/audio-player-composable/components/seek-bar/utils.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/seek-bar/utils.js +53 -0
- package/cjs/audio-player-composable/components/seek-bar/utils.js.map +1 -0
- package/cjs/audio-player-composable/components/skip-next-button/defaults.d.ts +7 -0
- package/cjs/audio-player-composable/components/skip-next-button/defaults.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/skip-next-button/defaults.js +8 -0
- package/cjs/audio-player-composable/components/skip-next-button/defaults.js.map +1 -0
- package/cjs/audio-player-composable/components/skip-next-button/index.d.ts +3 -0
- package/cjs/audio-player-composable/components/skip-next-button/index.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/skip-next-button/index.js +15 -0
- package/cjs/audio-player-composable/components/skip-next-button/index.js.map +1 -0
- package/cjs/audio-player-composable/components/skip-next-button/skip-next-button.d.ts +2 -0
- package/cjs/audio-player-composable/components/skip-next-button/skip-next-button.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/skip-next-button/skip-next-button.js +37 -0
- package/cjs/audio-player-composable/components/skip-next-button/skip-next-button.js.map +1 -0
- package/cjs/audio-player-composable/components/skip-next-button/types.d.ts +3 -0
- package/cjs/audio-player-composable/components/skip-next-button/types.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/skip-next-button/types.js +3 -0
- package/cjs/audio-player-composable/components/skip-next-button/types.js.map +1 -0
- package/cjs/audio-player-composable/components/skip-previous-button/defaults.d.ts +7 -0
- package/cjs/audio-player-composable/components/skip-previous-button/defaults.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/skip-previous-button/defaults.js +8 -0
- package/cjs/audio-player-composable/components/skip-previous-button/defaults.js.map +1 -0
- package/cjs/audio-player-composable/components/skip-previous-button/index.d.ts +3 -0
- package/cjs/audio-player-composable/components/skip-previous-button/index.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/skip-previous-button/index.js +15 -0
- package/cjs/audio-player-composable/components/skip-previous-button/index.js.map +1 -0
- package/cjs/audio-player-composable/components/skip-previous-button/skip-previous-button.d.ts +2 -0
- package/cjs/audio-player-composable/components/skip-previous-button/skip-previous-button.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/skip-previous-button/skip-previous-button.js +37 -0
- package/cjs/audio-player-composable/components/skip-previous-button/skip-previous-button.js.map +1 -0
- package/cjs/audio-player-composable/components/skip-previous-button/types.d.ts +3 -0
- package/cjs/audio-player-composable/components/skip-previous-button/types.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/skip-previous-button/types.js +3 -0
- package/cjs/audio-player-composable/components/skip-previous-button/types.js.map +1 -0
- package/cjs/audio-player-composable/components/time-display/defaults.d.ts +8 -0
- package/cjs/audio-player-composable/components/time-display/defaults.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/time-display/defaults.js +9 -0
- package/cjs/audio-player-composable/components/time-display/defaults.js.map +1 -0
- package/cjs/audio-player-composable/components/time-display/index.d.ts +3 -0
- package/cjs/audio-player-composable/components/time-display/index.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/time-display/index.js +15 -0
- package/cjs/audio-player-composable/components/time-display/index.js.map +1 -0
- package/cjs/audio-player-composable/components/time-display/style-presets.d.ts +4 -0
- package/cjs/audio-player-composable/components/time-display/style-presets.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/time-display/style-presets.js +10 -0
- package/cjs/audio-player-composable/components/time-display/style-presets.js.map +1 -0
- package/cjs/audio-player-composable/components/time-display/time-display.d.ts +3 -0
- package/cjs/audio-player-composable/components/time-display/time-display.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/time-display/time-display.js +53 -0
- package/cjs/audio-player-composable/components/time-display/time-display.js.map +1 -0
- package/cjs/audio-player-composable/components/time-display/types.d.ts +14 -0
- package/cjs/audio-player-composable/components/time-display/types.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/time-display/types.js +3 -0
- package/cjs/audio-player-composable/components/time-display/types.js.map +1 -0
- package/cjs/audio-player-composable/components/time-display/utils.d.ts +4 -0
- package/cjs/audio-player-composable/components/time-display/utils.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/time-display/utils.js +24 -0
- package/cjs/audio-player-composable/components/time-display/utils.js.map +1 -0
- package/cjs/audio-player-composable/components/types.d.ts +9 -0
- package/cjs/audio-player-composable/components/types.d.ts.map +1 -0
- package/cjs/audio-player-composable/components/types.js +3 -0
- package/cjs/audio-player-composable/components/types.js.map +1 -0
- package/cjs/audio-player-composable/context.d.ts +6 -0
- package/cjs/audio-player-composable/context.d.ts.map +1 -0
- package/cjs/audio-player-composable/context.js +18 -0
- package/cjs/audio-player-composable/context.js.map +1 -0
- package/cjs/audio-player-composable/index.d.ts +11 -0
- package/cjs/audio-player-composable/index.d.ts.map +1 -0
- package/cjs/audio-player-composable/index.js +28 -0
- package/cjs/audio-player-composable/index.js.map +1 -0
- package/cjs/audio-player-composable/types.d.ts +78 -0
- package/cjs/audio-player-composable/types.d.ts.map +1 -0
- package/cjs/audio-player-composable/types.js +16 -0
- package/cjs/audio-player-composable/types.js.map +1 -0
- package/cjs/audio-player-composable/utils.d.ts +14 -0
- package/cjs/audio-player-composable/utils.d.ts.map +1 -0
- package/cjs/audio-player-composable/utils.js +64 -0
- package/cjs/audio-player-composable/utils.js.map +1 -0
- package/cjs/banner/banner-internal.d.ts.map +1 -1
- package/cjs/banner/banner-internal.js +3 -6
- package/cjs/banner/banner-internal.js.map +1 -1
- package/cjs/banner/banner.d.ts +1 -2
- package/cjs/banner/banner.d.ts.map +1 -1
- package/cjs/base-switch/base-switch.d.ts +4 -0
- package/cjs/base-switch/base-switch.d.ts.map +1 -0
- package/cjs/base-switch/base-switch.js +110 -0
- package/cjs/base-switch/base-switch.js.map +1 -0
- package/cjs/base-switch/index.d.ts +3 -0
- package/cjs/base-switch/index.d.ts.map +1 -0
- package/cjs/base-switch/index.js +6 -0
- package/cjs/base-switch/index.js.map +1 -0
- package/cjs/{checkbox → base-switch}/styled.d.ts +11 -11
- package/cjs/base-switch/styled.d.ts.map +1 -0
- package/cjs/base-switch/styled.js +79 -0
- package/cjs/base-switch/styled.js.map +1 -0
- package/cjs/base-switch/types.d.ts +41 -0
- package/cjs/base-switch/types.d.ts.map +1 -0
- package/cjs/base-switch/types.js +3 -0
- package/cjs/base-switch/types.js.map +1 -0
- package/cjs/block/block.d.ts +13 -1
- package/cjs/block/block.d.ts.map +1 -1
- package/cjs/block/block.js +6 -1
- package/cjs/block/block.js.map +1 -1
- package/cjs/button/button.d.ts +1 -1
- package/cjs/button/button.d.ts.map +1 -1
- package/cjs/button/defaults.d.ts +3 -0
- package/cjs/button/defaults.d.ts.map +1 -1
- package/cjs/button/defaults.js +3 -0
- package/cjs/button/defaults.js.map +1 -1
- package/cjs/button/styled.d.ts.map +1 -1
- package/cjs/button/styled.js +9 -1
- package/cjs/button/styled.js.map +1 -1
- package/cjs/byline/byline.d.ts +1 -2
- package/cjs/byline/byline.d.ts.map +1 -1
- package/cjs/byline/byline.js +2 -2
- package/cjs/byline/byline.js.map +1 -1
- package/cjs/byline/types.d.ts +1 -0
- package/cjs/byline/types.d.ts.map +1 -1
- package/cjs/caption/caption-inset.d.ts +1 -2
- package/cjs/caption/caption-inset.d.ts.map +1 -1
- package/cjs/caption/caption.d.ts +1 -2
- package/cjs/caption/caption.d.ts.map +1 -1
- package/cjs/card/card-inset.d.ts +1 -1
- package/cjs/card/card-inset.d.ts.map +1 -1
- package/cjs/card/card.d.ts +1 -1
- package/cjs/card/card.d.ts.map +1 -1
- package/cjs/checkbox/checkbox.d.ts +1 -1
- package/cjs/checkbox/checkbox.d.ts.map +1 -1
- package/cjs/checkbox/checkbox.js +3 -101
- package/cjs/checkbox/checkbox.js.map +1 -1
- package/cjs/checkbox/defaults.d.ts +3 -0
- package/cjs/checkbox/defaults.d.ts.map +1 -1
- package/cjs/checkbox/defaults.js +3 -0
- package/cjs/checkbox/defaults.js.map +1 -1
- package/cjs/checkbox/style-presets.d.ts.map +1 -1
- package/cjs/checkbox/style-presets.js +42 -24
- package/cjs/checkbox/style-presets.js.map +1 -1
- package/cjs/checkbox/types.d.ts +5 -34
- package/cjs/checkbox/types.d.ts.map +1 -1
- package/cjs/date-time/date-time.d.ts +1 -2
- package/cjs/date-time/date-time.d.ts.map +1 -1
- package/cjs/dialog/base-dialog-tests.d.ts.map +1 -1
- package/cjs/dialog/base-dialog-tests.js +3 -1
- package/cjs/dialog/base-dialog-tests.js.map +1 -1
- package/cjs/dialog/types.d.ts +2 -2
- package/cjs/dialog/types.d.ts.map +1 -1
- package/cjs/divider/divider.d.ts +1 -2
- package/cjs/divider/divider.d.ts.map +1 -1
- package/cjs/drawer/drawer.d.ts +1 -2
- package/cjs/drawer/drawer.d.ts.map +1 -1
- package/cjs/fieldset/fieldset.d.ts +1 -2
- package/cjs/fieldset/fieldset.d.ts.map +1 -1
- package/cjs/flag/flag.d.ts +1 -1
- package/cjs/flag/flag.d.ts.map +1 -1
- package/cjs/flag/flag.js +1 -1
- package/cjs/flag/flag.js.map +1 -1
- package/cjs/flag/styled.d.ts.map +1 -1
- package/cjs/flag/styled.js +6 -2
- package/cjs/flag/styled.js.map +1 -1
- package/cjs/flag/types.d.ts +8 -2
- package/cjs/flag/types.d.ts.map +1 -1
- package/cjs/flag/types.js.map +1 -1
- package/cjs/form/form-entry.d.ts.map +1 -1
- package/cjs/form/form-entry.js +2 -2
- package/cjs/form/form-entry.js.map +1 -1
- package/cjs/form/form-input.d.ts +2 -1
- package/cjs/form/form-input.d.ts.map +1 -1
- package/cjs/form/form-input.js +15 -11
- package/cjs/form/form-input.js.map +1 -1
- package/cjs/form/types.d.ts +3 -2
- package/cjs/form/types.d.ts.map +1 -1
- package/cjs/form/utils.d.ts +0 -1
- package/cjs/form/utils.d.ts.map +1 -1
- package/cjs/form/utils.js +1 -13
- package/cjs/form/utils.js.map +1 -1
- package/cjs/grid/cell.d.ts +1 -2
- package/cjs/grid/cell.d.ts.map +1 -1
- package/cjs/grid/grid.d.ts +1 -2
- package/cjs/grid/grid.d.ts.map +1 -1
- package/cjs/grid-layout/grid-layout.d.ts +3 -1
- package/cjs/grid-layout/grid-layout.d.ts.map +1 -1
- package/cjs/grid-layout/grid-layout.js +11 -1
- package/cjs/grid-layout/grid-layout.js.map +1 -1
- package/cjs/grid-layout/styled.d.ts +22 -2
- package/cjs/grid-layout/styled.d.ts.map +1 -1
- package/cjs/grid-layout/types.d.ts +6 -3
- package/cjs/grid-layout/types.d.ts.map +1 -1
- package/cjs/headline/headline.d.ts +1 -2
- package/cjs/headline/headline.d.ts.map +1 -1
- package/cjs/icons/filled/{material/icon-filled-forward10.d.ts → custom/icon-filled-forward-10.d.ts} +1 -1
- package/cjs/icons/filled/custom/icon-filled-forward-10.d.ts.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-forward-10.js +23 -0
- package/cjs/icons/filled/custom/icon-filled-forward-10.js.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-forward-15.d.ts +2 -0
- package/cjs/icons/filled/custom/icon-filled-forward-15.d.ts.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-forward-15.js +23 -0
- package/cjs/icons/filled/custom/icon-filled-forward-15.js.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-forward-20.d.ts +2 -0
- package/cjs/icons/filled/custom/icon-filled-forward-20.d.ts.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-forward-20.js +23 -0
- package/cjs/icons/filled/custom/icon-filled-forward-20.js.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-forward-25.d.ts +2 -0
- package/cjs/icons/filled/custom/icon-filled-forward-25.d.ts.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-forward-25.js +23 -0
- package/cjs/icons/filled/custom/icon-filled-forward-25.js.map +1 -0
- package/{esm/icons/filled/material/icon-filled-forward30.d.ts → cjs/icons/filled/custom/icon-filled-forward-30.d.ts} +1 -1
- package/cjs/icons/filled/custom/icon-filled-forward-30.d.ts.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-forward-30.js +23 -0
- package/cjs/icons/filled/custom/icon-filled-forward-30.js.map +1 -0
- package/cjs/icons/filled/{material/icon-filled-forward5.d.ts → custom/icon-filled-forward-5.d.ts} +1 -1
- package/cjs/icons/filled/custom/icon-filled-forward-5.d.ts.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-forward-5.js +23 -0
- package/cjs/icons/filled/custom/icon-filled-forward-5.js.map +1 -0
- package/{esm/icons/filled/material/icon-filled-replay10.d.ts → cjs/icons/filled/custom/icon-filled-replay-10.d.ts} +1 -1
- package/cjs/icons/filled/custom/icon-filled-replay-10.d.ts.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-replay-10.js +23 -0
- package/cjs/icons/filled/custom/icon-filled-replay-10.js.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-replay-15.d.ts +2 -0
- package/cjs/icons/filled/custom/icon-filled-replay-15.d.ts.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-replay-15.js +23 -0
- package/cjs/icons/filled/custom/icon-filled-replay-15.js.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-replay-20.d.ts +2 -0
- package/cjs/icons/filled/custom/icon-filled-replay-20.d.ts.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-replay-20.js +23 -0
- package/cjs/icons/filled/custom/icon-filled-replay-20.js.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-replay-25.d.ts +2 -0
- package/cjs/icons/filled/custom/icon-filled-replay-25.d.ts.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-replay-25.js +23 -0
- package/cjs/icons/filled/custom/icon-filled-replay-25.js.map +1 -0
- package/{esm/icons/filled/material/icon-filled-replay30.d.ts → cjs/icons/filled/custom/icon-filled-replay-30.d.ts} +1 -1
- package/cjs/icons/filled/custom/icon-filled-replay-30.d.ts.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-replay-30.js +23 -0
- package/cjs/icons/filled/custom/icon-filled-replay-30.js.map +1 -0
- package/cjs/icons/filled/{material/icon-filled-replay5.d.ts → custom/icon-filled-replay-5.d.ts} +1 -1
- package/cjs/icons/filled/custom/icon-filled-replay-5.d.ts.map +1 -0
- package/cjs/icons/filled/custom/icon-filled-replay-5.js +23 -0
- package/cjs/icons/filled/custom/icon-filled-replay-5.js.map +1 -0
- package/cjs/icons/filled/custom/indeterminate-progress-indicator.d.ts +1 -2
- package/cjs/icons/filled/custom/indeterminate-progress-indicator.d.ts.map +1 -1
- package/cjs/icons/filled/custom/index.d.ts +12 -0
- package/cjs/icons/filled/custom/index.d.ts.map +1 -1
- package/cjs/icons/filled/custom/index.js +12 -0
- package/cjs/icons/filled/custom/index.js.map +1 -1
- package/cjs/icons/filled/material/icon-filled-circle.d.ts +2 -0
- package/cjs/icons/filled/material/{icon-filled-replay5.js → icon-filled-circle.js} +5 -5
- package/cjs/icons/filled/material/index.d.ts +1 -6
- package/cjs/icons/filled/material/index.js +25 -35
- package/cjs/icons/outlined/{material/icon-outlined-forward10.d.ts → custom/icon-outlined-forward-10.d.ts} +1 -1
- package/cjs/icons/outlined/custom/icon-outlined-forward-10.d.ts.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-10.js +23 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-10.js.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-15.d.ts +2 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-15.d.ts.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-15.js +23 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-15.js.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-20.d.ts +2 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-20.d.ts.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-20.js +23 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-20.js.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-25.d.ts +2 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-25.d.ts.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-25.js +23 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-25.js.map +1 -0
- package/cjs/icons/outlined/{material/icon-outlined-forward30.d.ts → custom/icon-outlined-forward-30.d.ts} +1 -1
- package/cjs/icons/outlined/custom/icon-outlined-forward-30.d.ts.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-30.js +23 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-30.js.map +1 -0
- package/cjs/icons/outlined/{material/icon-outlined-forward5.d.ts → custom/icon-outlined-forward-5.d.ts} +1 -1
- package/cjs/icons/outlined/custom/icon-outlined-forward-5.d.ts.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-5.js +23 -0
- package/cjs/icons/outlined/custom/icon-outlined-forward-5.js.map +1 -0
- package/{esm/icons/outlined/material/icon-outlined-replay10.d.ts → cjs/icons/outlined/custom/icon-outlined-replay-10.d.ts} +1 -1
- package/cjs/icons/outlined/custom/icon-outlined-replay-10.d.ts.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-10.js +23 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-10.js.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-15.d.ts +2 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-15.d.ts.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-15.js +23 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-15.js.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-20.d.ts +2 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-20.d.ts.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-20.js +23 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-20.js.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-25.d.ts +2 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-25.d.ts.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-25.js +23 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-25.js.map +1 -0
- package/{esm/icons/outlined/material/icon-outlined-replay30.d.ts → cjs/icons/outlined/custom/icon-outlined-replay-30.d.ts} +1 -1
- package/cjs/icons/outlined/custom/icon-outlined-replay-30.d.ts.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-30.js +23 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-30.js.map +1 -0
- package/{esm/icons/outlined/material/icon-outlined-replay5.d.ts → cjs/icons/outlined/custom/icon-outlined-replay-5.d.ts} +1 -1
- package/cjs/icons/outlined/custom/icon-outlined-replay-5.d.ts.map +1 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-5.js +23 -0
- package/cjs/icons/outlined/custom/icon-outlined-replay-5.js.map +1 -0
- package/cjs/icons/outlined/custom/index.d.ts +12 -0
- package/cjs/icons/outlined/custom/index.d.ts.map +1 -1
- package/cjs/icons/outlined/custom/index.js +12 -0
- package/cjs/icons/outlined/custom/index.js.map +1 -1
- package/cjs/icons/outlined/material/icon-outlined-circle.d.ts +2 -0
- package/cjs/icons/{filled/material/icon-filled-replay30.js → outlined/material/icon-outlined-circle.js} +5 -5
- package/cjs/icons/outlined/material/index.d.ts +1 -6
- package/cjs/icons/outlined/material/index.js +25 -35
- package/cjs/icons/to-newskit-icon.d.ts.map +1 -1
- package/cjs/icons/to-newskit-icon.js +19 -12
- package/cjs/icons/to-newskit-icon.js.map +1 -1
- package/cjs/image/image.d.ts +1 -2
- package/cjs/image/image.d.ts.map +1 -1
- package/cjs/index.d.ts +2 -0
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +2 -0
- package/cjs/index.js.map +1 -1
- package/cjs/inline-message/inline-message.d.ts +1 -2
- package/cjs/inline-message/inline-message.d.ts.map +1 -1
- package/cjs/label/label.d.ts +1 -2
- package/cjs/label/label.d.ts.map +1 -1
- package/cjs/label/styled.d.ts +1 -6
- package/cjs/label/styled.d.ts.map +1 -1
- package/cjs/label/styled.js +5 -1
- package/cjs/label/styled.js.map +1 -1
- package/cjs/label/types.d.ts +14 -6
- package/cjs/label/types.d.ts.map +1 -1
- package/cjs/link/defaults.d.ts +1 -0
- package/cjs/link/defaults.d.ts.map +1 -1
- package/cjs/link/defaults.js +1 -0
- package/cjs/link/defaults.js.map +1 -1
- package/cjs/link/internal-link.js +3 -1
- package/cjs/link/internal-link.js.map +1 -1
- package/cjs/link/link-inline.d.ts +1 -1
- package/cjs/link/link-inline.d.ts.map +1 -1
- package/cjs/link/link-standalone.d.ts +1 -1
- package/cjs/link/link-standalone.d.ts.map +1 -1
- package/cjs/link/link.d.ts +2 -2
- package/cjs/link/link.d.ts.map +1 -1
- package/cjs/link/types.d.ts +13 -8
- package/cjs/link/types.d.ts.map +1 -1
- package/cjs/link/utils.d.ts +1 -1
- package/cjs/link/utils.d.ts.map +1 -1
- package/cjs/menu/defaults.d.ts +3 -0
- package/cjs/menu/defaults.d.ts.map +1 -1
- package/cjs/menu/defaults.js +3 -0
- package/cjs/menu/defaults.js.map +1 -1
- package/cjs/menu/menu.d.ts +1 -1
- package/cjs/menu/menu.d.ts.map +1 -1
- package/cjs/menu/styled.d.ts.map +1 -1
- package/cjs/menu/styled.js +3 -7
- package/cjs/menu/styled.js.map +1 -1
- package/cjs/modal/modal.d.ts +1 -2
- package/cjs/modal/modal.d.ts.map +1 -1
- package/cjs/ordered-list/ordered-list.d.ts +1 -2
- package/cjs/ordered-list/ordered-list.d.ts.map +1 -1
- package/cjs/ordered-list/ordered-list.js +1 -2
- package/cjs/ordered-list/ordered-list.js.map +1 -1
- package/cjs/overlay/overlay.d.ts +1 -2
- package/cjs/overlay/overlay.d.ts.map +1 -1
- package/cjs/radio-button/defaults.d.ts +66 -0
- package/cjs/radio-button/defaults.d.ts.map +1 -0
- package/cjs/radio-button/defaults.js +79 -0
- package/cjs/radio-button/defaults.js.map +1 -0
- package/cjs/radio-button/index.d.ts +4 -0
- package/cjs/radio-button/index.d.ts.map +1 -0
- package/cjs/radio-button/index.js +8 -0
- package/cjs/radio-button/index.js.map +1 -0
- package/cjs/radio-button/radio-button.d.ts +4 -0
- package/cjs/radio-button/radio-button.d.ts.map +1 -0
- package/cjs/radio-button/radio-button.js +66 -0
- package/cjs/radio-button/radio-button.js.map +1 -0
- package/cjs/radio-button/radio-group.d.ts +11 -0
- package/cjs/radio-button/radio-group.d.ts.map +1 -0
- package/cjs/radio-button/radio-group.js +67 -0
- package/cjs/radio-button/radio-group.js.map +1 -0
- package/cjs/radio-button/style-presets.d.ts +4 -0
- package/cjs/radio-button/style-presets.d.ts.map +1 -0
- package/cjs/radio-button/style-presets.js +151 -0
- package/cjs/radio-button/style-presets.js.map +1 -0
- package/cjs/radio-button/types.d.ts +17 -0
- package/cjs/radio-button/types.d.ts.map +1 -0
- package/cjs/radio-button/types.js +3 -0
- package/cjs/radio-button/types.js.map +1 -0
- package/cjs/scroll/scroll.d.ts +1 -1
- package/cjs/scroll/scroll.d.ts.map +1 -1
- package/cjs/select/index.d.ts +2 -2
- package/cjs/select/index.d.ts.map +1 -1
- package/cjs/select/index.js +5 -2
- package/cjs/select/index.js.map +1 -1
- package/cjs/select/select-panel.d.ts +7 -3
- package/cjs/select/select-panel.d.ts.map +1 -1
- package/cjs/select/select-panel.js +4 -12
- package/cjs/select/select-panel.js.map +1 -1
- package/cjs/select/select.d.ts +1 -1
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +41 -10
- package/cjs/select/select.js.map +1 -1
- package/cjs/select/styled.d.ts.map +1 -1
- package/cjs/select/styled.js +6 -2
- package/cjs/select/styled.js.map +1 -1
- package/cjs/select/types.d.ts +15 -1
- package/cjs/select/types.d.ts.map +1 -1
- package/cjs/select/use-virtualized-list.d.ts +16 -0
- package/cjs/select/use-virtualized-list.d.ts.map +1 -0
- package/cjs/select/use-virtualized-list.js +104 -0
- package/cjs/select/use-virtualized-list.js.map +1 -0
- package/cjs/share-bar/share-bar.d.ts +1 -1
- package/cjs/share-bar/share-bar.d.ts.map +1 -1
- package/cjs/slider/slider.d.ts +1 -2
- package/cjs/slider/slider.d.ts.map +1 -1
- package/cjs/stack/styled.d.ts.map +1 -1
- package/cjs/stack/styled.js +3 -2
- package/cjs/stack/styled.js.map +1 -1
- package/cjs/stack/types.d.ts +2 -1
- package/cjs/stack/types.d.ts.map +1 -1
- package/cjs/stack/types.js.map +1 -1
- package/cjs/standfirst/standfirst.d.ts +1 -2
- package/cjs/standfirst/standfirst.d.ts.map +1 -1
- package/cjs/structured-list/structured-list-item.d.ts +1 -1
- package/cjs/structured-list/structured-list-item.d.ts.map +1 -1
- package/cjs/structured-list/structured-list.d.ts +1 -1
- package/cjs/structured-list/structured-list.d.ts.map +1 -1
- package/cjs/tabs/defaults.d.ts +3 -0
- package/cjs/tabs/defaults.d.ts.map +1 -1
- package/cjs/tabs/defaults.js +3 -0
- package/cjs/tabs/defaults.js.map +1 -1
- package/cjs/tabs/tabs.d.ts +1 -1
- package/cjs/tabs/tabs.d.ts.map +1 -1
- package/cjs/tag/defaults.d.ts +3 -0
- package/cjs/tag/defaults.d.ts.map +1 -1
- package/cjs/tag/defaults.js +3 -0
- package/cjs/tag/defaults.js.map +1 -1
- package/cjs/tag/tag.d.ts +1 -2
- package/cjs/tag/tag.d.ts.map +1 -1
- package/cjs/tag/tag.js +5 -1
- package/cjs/tag/tag.js.map +1 -1
- package/cjs/text-block/text-block.d.ts.map +1 -1
- package/cjs/text-block/text-block.js +3 -2
- package/cjs/text-block/text-block.js.map +1 -1
- package/cjs/text-block/types.d.ts +2 -1
- package/cjs/text-block/types.d.ts.map +1 -1
- package/cjs/text-field/text-field.d.ts +1 -1
- package/cjs/text-field/text-field.d.ts.map +1 -1
- package/cjs/text-input/text-input.d.ts +4 -1
- package/cjs/text-input/text-input.d.ts.map +1 -1
- package/cjs/text-input/text-input.js +7 -7
- package/cjs/text-input/text-input.js.map +1 -1
- package/cjs/theme/compiler/index.d.ts.map +1 -1
- package/cjs/theme/compiler/index.js +2 -84
- package/cjs/theme/compiler/index.js.map +1 -1
- package/cjs/theme/presets/style-presets.js +8 -0
- package/cjs/theme/presets/style-presets.js.map +1 -1
- package/cjs/theme/presets/transition-presets.js +28 -15
- package/cjs/theme/presets/transition-presets.js.map +1 -1
- package/cjs/theme-checker/helper.d.ts.map +1 -1
- package/cjs/theme-checker/helper.js +1 -0
- package/cjs/theme-checker/helper.js.map +1 -1
- package/cjs/theme-checker/scenarios.d.ts +15 -4
- package/cjs/theme-checker/scenarios.d.ts.map +1 -1
- package/cjs/theme-checker/scenarios.js +75 -21
- package/cjs/theme-checker/scenarios.js.map +1 -1
- package/cjs/theme-checker/styled.d.ts.map +1 -1
- package/cjs/theme-checker/styled.js +1 -0
- package/cjs/theme-checker/styled.js.map +1 -1
- package/cjs/theme-checker/theme-checker.d.ts.map +1 -1
- package/cjs/theme-checker/theme-checker.js +4 -3
- package/cjs/theme-checker/theme-checker.js.map +1 -1
- package/cjs/title-bar/title-bar.d.ts +1 -2
- package/cjs/title-bar/title-bar.d.ts.map +1 -1
- package/cjs/toast/toast.d.ts +1 -2
- package/cjs/toast/toast.d.ts.map +1 -1
- package/cjs/toast/toast.js +2 -5
- package/cjs/toast/toast.js.map +1 -1
- package/cjs/typography/heading/heading.d.ts +12 -12
- package/cjs/typography/paragraph/paragraph.d.ts +2 -2
- package/cjs/unordered-list/unordered-list.d.ts +1 -2
- package/cjs/unordered-list/unordered-list.d.ts.map +1 -1
- package/cjs/unordered-list/unordered-list.js +1 -2
- package/cjs/unordered-list/unordered-list.js.map +1 -1
- package/cjs/utils/compose-event-handlers.d.ts +2 -0
- package/cjs/utils/compose-event-handlers.d.ts.map +1 -0
- package/cjs/utils/compose-event-handlers.js +16 -0
- package/cjs/utils/compose-event-handlers.js.map +1 -0
- package/cjs/utils/get-transition-duration.d.ts.map +1 -1
- package/cjs/utils/get-transition-duration.js +17 -0
- package/cjs/utils/get-transition-duration.js.map +1 -1
- package/cjs/utils/hooks/use-controlled.d.ts +5 -4
- package/cjs/utils/hooks/use-controlled.d.ts.map +1 -1
- package/cjs/utils/hooks/use-controlled.js +1 -1
- package/cjs/utils/hooks/use-controlled.js.map +1 -1
- package/cjs/utils/hooks/use-keypress.d.ts +2 -1
- package/cjs/utils/hooks/use-keypress.d.ts.map +1 -1
- package/cjs/utils/hooks/use-keypress.js +101 -31
- package/cjs/utils/hooks/use-keypress.js.map +1 -1
- package/cjs/utils/hooks/use-media-query/context.d.ts +2 -1
- package/cjs/utils/hooks/use-media-query/context.d.ts.map +1 -1
- package/cjs/utils/hooks/use-media-query/context.js.map +1 -1
- package/cjs/utils/logical-properties.d.ts +24 -0
- package/cjs/utils/logical-properties.d.ts.map +1 -0
- package/cjs/utils/logical-properties.js +54 -0
- package/cjs/utils/logical-properties.js.map +1 -0
- package/cjs/utils/react-children-utilities.d.ts +2 -0
- package/cjs/utils/react-children-utilities.d.ts.map +1 -1
- package/cjs/utils/react-children-utilities.js +18 -1
- package/cjs/utils/react-children-utilities.js.map +1 -1
- package/cjs/utils/recurse-unknown.d.ts +3 -0
- package/cjs/utils/recurse-unknown.d.ts.map +1 -0
- package/cjs/utils/recurse-unknown.js +88 -0
- package/cjs/utils/recurse-unknown.js.map +1 -0
- package/cjs/utils/style/base.js +1 -1
- package/cjs/utils/style/base.js.map +1 -1
- package/cjs/utils/style/error-logger.d.ts +5 -0
- package/cjs/utils/style/error-logger.d.ts.map +1 -0
- package/cjs/utils/style/error-logger.js +6 -0
- package/cjs/utils/style/error-logger.js.map +1 -0
- package/cjs/utils/style/style-preset.d.ts +1 -1
- package/cjs/utils/style/style-preset.d.ts.map +1 -1
- package/cjs/utils/style/style-preset.js +3 -3
- package/cjs/utils/style/style-preset.js.map +1 -1
- package/cjs/utils/style/transition-preset.d.ts +4 -1
- package/cjs/utils/style/transition-preset.d.ts.map +1 -1
- package/cjs/utils/style/transition-preset.js +85 -15
- package/cjs/utils/style/transition-preset.js.map +1 -1
- package/cjs/utils/style/utils.d.ts +2 -2
- package/cjs/utils/style/utils.d.ts.map +1 -1
- package/cjs/utils/style/utils.js +6 -2
- package/cjs/utils/style/utils.js.map +1 -1
- package/cjs/utils/{to-kabab-case.d.ts → to-kebab-case.d.ts} +1 -1
- package/cjs/utils/to-kebab-case.d.ts.map +1 -0
- package/cjs/utils/{to-kabab-case.js → to-kebab-case.js} +1 -1
- package/cjs/utils/{to-kabab-case.js.map → to-kebab-case.js.map} +1 -1
- package/cjs/utils/types.d.ts +1 -0
- package/cjs/utils/types.d.ts.map +1 -1
- package/cjs/utils/with-own-theme.d.ts +4 -1
- package/cjs/utils/with-own-theme.d.ts.map +1 -1
- package/cjs/utils/with-own-theme.js +3 -1
- package/cjs/utils/with-own-theme.js.map +1 -1
- package/cjs/version-number.json +1 -1
- package/cjs/video-player/video-player.d.ts +1 -1
- package/cjs/video-player/video-player.d.ts.map +1 -1
- package/cjs/volume-control/volume-control.d.ts +1 -2
- package/cjs/volume-control/volume-control.d.ts.map +1 -1
- package/cjs/volume-control/volume-control.js +2 -2
- package/cjs/volume-control/volume-control.js.map +1 -1
- package/cjs/with-enhancers/styled.d.ts.map +1 -1
- package/cjs/with-enhancers/styled.js +6 -2
- package/cjs/with-enhancers/styled.js.map +1 -1
- package/esm/assistive-text/assistive-text.d.ts +1 -2
- package/esm/assistive-text/assistive-text.d.ts.map +1 -1
- package/esm/audio-player/audio-player.d.ts +1 -2
- package/esm/audio-player/audio-player.d.ts.map +1 -1
- package/esm/audio-player-composable/audio-functions.d.ts +23 -0
- package/esm/audio-player-composable/audio-functions.d.ts.map +1 -0
- package/esm/audio-player-composable/audio-functions.js +223 -0
- package/esm/audio-player-composable/audio-functions.js.map +1 -0
- package/esm/audio-player-composable/audio-player-composable.d.ts +4 -0
- package/esm/audio-player-composable/audio-player-composable.d.ts.map +1 -0
- package/esm/audio-player-composable/audio-player-composable.js +196 -0
- package/esm/audio-player-composable/audio-player-composable.js.map +1 -0
- package/esm/audio-player-composable/components/audio-element.d.ts +4 -0
- package/esm/audio-player-composable/components/audio-element.d.ts.map +1 -0
- package/esm/audio-player-composable/components/audio-element.js +7 -0
- package/esm/audio-player-composable/components/audio-element.js.map +1 -0
- package/esm/audio-player-composable/components/forward-button/defaults.d.ts +7 -0
- package/esm/audio-player-composable/components/forward-button/defaults.d.ts.map +1 -0
- package/esm/audio-player-composable/components/forward-button/defaults.js +6 -0
- package/esm/audio-player-composable/components/forward-button/defaults.js.map +1 -0
- package/esm/audio-player-composable/components/forward-button/forward-button.d.ts +3 -0
- package/esm/audio-player-composable/components/forward-button/forward-button.d.ts.map +1 -0
- package/esm/audio-player-composable/components/forward-button/forward-button.js +33 -0
- package/esm/audio-player-composable/components/forward-button/forward-button.js.map +1 -0
- package/esm/audio-player-composable/components/forward-button/index.d.ts +3 -0
- package/esm/audio-player-composable/components/forward-button/index.d.ts.map +1 -0
- package/esm/audio-player-composable/components/forward-button/index.js +3 -0
- package/esm/audio-player-composable/components/forward-button/index.js.map +1 -0
- package/esm/audio-player-composable/components/forward-button/types.d.ts +5 -0
- package/esm/audio-player-composable/components/forward-button/types.d.ts.map +1 -0
- package/esm/audio-player-composable/components/forward-button/types.js +2 -0
- package/esm/audio-player-composable/components/forward-button/types.js.map +1 -0
- package/esm/audio-player-composable/components/play-pause-button/defaults.d.ts +7 -0
- package/esm/audio-player-composable/components/play-pause-button/defaults.d.ts.map +1 -0
- package/esm/audio-player-composable/components/play-pause-button/defaults.js +6 -0
- package/esm/audio-player-composable/components/play-pause-button/defaults.js.map +1 -0
- package/esm/audio-player-composable/components/play-pause-button/index.d.ts +3 -0
- package/esm/audio-player-composable/components/play-pause-button/index.d.ts.map +1 -0
- package/esm/audio-player-composable/components/play-pause-button/index.js +3 -0
- package/esm/audio-player-composable/components/play-pause-button/index.js.map +1 -0
- package/esm/audio-player-composable/components/play-pause-button/play-pause-button.d.ts +2 -0
- package/esm/audio-player-composable/components/play-pause-button/play-pause-button.d.ts.map +1 -0
- package/esm/audio-player-composable/components/play-pause-button/play-pause-button.js +46 -0
- package/esm/audio-player-composable/components/play-pause-button/play-pause-button.js.map +1 -0
- package/esm/audio-player-composable/components/play-pause-button/types.d.ts +3 -0
- package/esm/audio-player-composable/components/play-pause-button/types.d.ts.map +1 -0
- package/esm/audio-player-composable/components/play-pause-button/types.js +2 -0
- package/esm/audio-player-composable/components/play-pause-button/types.js.map +1 -0
- package/esm/audio-player-composable/components/replay-button/defaults.d.ts +7 -0
- package/esm/audio-player-composable/components/replay-button/defaults.d.ts.map +1 -0
- package/esm/audio-player-composable/components/replay-button/defaults.js +6 -0
- package/esm/audio-player-composable/components/replay-button/defaults.js.map +1 -0
- package/esm/audio-player-composable/components/replay-button/index.d.ts +3 -0
- package/esm/audio-player-composable/components/replay-button/index.d.ts.map +1 -0
- package/esm/audio-player-composable/components/replay-button/index.js +3 -0
- package/esm/audio-player-composable/components/replay-button/index.js.map +1 -0
- package/esm/audio-player-composable/components/replay-button/replay-button.d.ts +3 -0
- package/esm/audio-player-composable/components/replay-button/replay-button.d.ts.map +1 -0
- package/esm/audio-player-composable/components/replay-button/replay-button.js +33 -0
- package/esm/audio-player-composable/components/replay-button/replay-button.js.map +1 -0
- package/esm/audio-player-composable/components/replay-button/types.d.ts +5 -0
- package/esm/audio-player-composable/components/replay-button/types.d.ts.map +1 -0
- package/esm/audio-player-composable/components/replay-button/types.js +2 -0
- package/esm/audio-player-composable/components/replay-button/types.js.map +1 -0
- package/esm/audio-player-composable/components/seek-bar/defaults.d.ts +22 -0
- package/esm/audio-player-composable/components/seek-bar/defaults.d.ts.map +1 -0
- package/esm/audio-player-composable/components/seek-bar/defaults.js +21 -0
- package/esm/audio-player-composable/components/seek-bar/defaults.js.map +1 -0
- package/esm/audio-player-composable/components/seek-bar/index.d.ts +3 -0
- package/esm/audio-player-composable/components/seek-bar/index.d.ts.map +1 -0
- package/esm/audio-player-composable/components/seek-bar/index.js +3 -0
- package/esm/audio-player-composable/components/seek-bar/index.js.map +1 -0
- package/esm/audio-player-composable/components/seek-bar/seek-bar.d.ts +3 -0
- package/esm/audio-player-composable/components/seek-bar/seek-bar.d.ts.map +1 -0
- package/esm/audio-player-composable/components/seek-bar/seek-bar.js +76 -0
- package/esm/audio-player-composable/components/seek-bar/seek-bar.js.map +1 -0
- package/esm/audio-player-composable/components/seek-bar/style-presets.d.ts +4 -0
- package/esm/audio-player-composable/components/seek-bar/style-presets.d.ts.map +1 -0
- package/esm/audio-player-composable/components/seek-bar/style-presets.js +39 -0
- package/esm/audio-player-composable/components/seek-bar/style-presets.js.map +1 -0
- package/esm/audio-player-composable/components/seek-bar/types.d.ts +11 -0
- package/esm/audio-player-composable/components/seek-bar/types.d.ts.map +1 -0
- package/esm/audio-player-composable/components/seek-bar/types.js +2 -0
- package/esm/audio-player-composable/components/seek-bar/types.js.map +1 -0
- package/esm/audio-player-composable/components/seek-bar/utils.d.ts +6 -0
- package/esm/audio-player-composable/components/seek-bar/utils.d.ts.map +1 -0
- package/esm/audio-player-composable/components/seek-bar/utils.js +48 -0
- package/esm/audio-player-composable/components/seek-bar/utils.js.map +1 -0
- package/esm/audio-player-composable/components/skip-next-button/defaults.d.ts +7 -0
- package/esm/audio-player-composable/components/skip-next-button/defaults.d.ts.map +1 -0
- package/esm/audio-player-composable/components/skip-next-button/defaults.js +6 -0
- package/esm/audio-player-composable/components/skip-next-button/defaults.js.map +1 -0
- package/esm/audio-player-composable/components/skip-next-button/index.d.ts +3 -0
- package/esm/audio-player-composable/components/skip-next-button/index.d.ts.map +1 -0
- package/esm/audio-player-composable/components/skip-next-button/index.js +3 -0
- package/esm/audio-player-composable/components/skip-next-button/index.js.map +1 -0
- package/esm/audio-player-composable/components/skip-next-button/skip-next-button.d.ts +2 -0
- package/esm/audio-player-composable/components/skip-next-button/skip-next-button.d.ts.map +1 -0
- package/esm/audio-player-composable/components/skip-next-button/skip-next-button.js +31 -0
- package/esm/audio-player-composable/components/skip-next-button/skip-next-button.js.map +1 -0
- package/esm/audio-player-composable/components/skip-next-button/types.d.ts +3 -0
- package/esm/audio-player-composable/components/skip-next-button/types.d.ts.map +1 -0
- package/esm/audio-player-composable/components/skip-next-button/types.js +2 -0
- package/esm/audio-player-composable/components/skip-next-button/types.js.map +1 -0
- package/esm/audio-player-composable/components/skip-previous-button/defaults.d.ts +7 -0
- package/esm/audio-player-composable/components/skip-previous-button/defaults.d.ts.map +1 -0
- package/esm/audio-player-composable/components/skip-previous-button/defaults.js +6 -0
- package/esm/audio-player-composable/components/skip-previous-button/defaults.js.map +1 -0
- package/esm/audio-player-composable/components/skip-previous-button/index.d.ts +3 -0
- package/esm/audio-player-composable/components/skip-previous-button/index.d.ts.map +1 -0
- package/esm/audio-player-composable/components/skip-previous-button/index.js +3 -0
- package/esm/audio-player-composable/components/skip-previous-button/index.js.map +1 -0
- package/esm/audio-player-composable/components/skip-previous-button/skip-previous-button.d.ts +2 -0
- package/esm/audio-player-composable/components/skip-previous-button/skip-previous-button.d.ts.map +1 -0
- package/esm/audio-player-composable/components/skip-previous-button/skip-previous-button.js +31 -0
- package/esm/audio-player-composable/components/skip-previous-button/skip-previous-button.js.map +1 -0
- package/esm/audio-player-composable/components/skip-previous-button/types.d.ts +3 -0
- package/esm/audio-player-composable/components/skip-previous-button/types.d.ts.map +1 -0
- package/esm/audio-player-composable/components/skip-previous-button/types.js +2 -0
- package/esm/audio-player-composable/components/skip-previous-button/types.js.map +1 -0
- package/esm/audio-player-composable/components/time-display/defaults.d.ts +8 -0
- package/esm/audio-player-composable/components/time-display/defaults.d.ts.map +1 -0
- package/esm/audio-player-composable/components/time-display/defaults.js +7 -0
- package/esm/audio-player-composable/components/time-display/defaults.js.map +1 -0
- package/esm/audio-player-composable/components/time-display/index.d.ts +3 -0
- package/esm/audio-player-composable/components/time-display/index.d.ts.map +1 -0
- package/esm/audio-player-composable/components/time-display/index.js +3 -0
- package/esm/audio-player-composable/components/time-display/index.js.map +1 -0
- package/esm/audio-player-composable/components/time-display/style-presets.d.ts +4 -0
- package/esm/audio-player-composable/components/time-display/style-presets.d.ts.map +1 -0
- package/esm/audio-player-composable/components/time-display/style-presets.js +8 -0
- package/esm/audio-player-composable/components/time-display/style-presets.js.map +1 -0
- package/esm/audio-player-composable/components/time-display/time-display.d.ts +3 -0
- package/esm/audio-player-composable/components/time-display/time-display.d.ts.map +1 -0
- package/esm/audio-player-composable/components/time-display/time-display.js +47 -0
- package/esm/audio-player-composable/components/time-display/time-display.js.map +1 -0
- package/esm/audio-player-composable/components/time-display/types.d.ts +14 -0
- package/esm/audio-player-composable/components/time-display/types.d.ts.map +1 -0
- package/esm/audio-player-composable/components/time-display/types.js +2 -0
- package/esm/audio-player-composable/components/time-display/types.js.map +1 -0
- package/esm/audio-player-composable/components/time-display/utils.d.ts +4 -0
- package/esm/audio-player-composable/components/time-display/utils.d.ts.map +1 -0
- package/esm/audio-player-composable/components/time-display/utils.js +19 -0
- package/esm/audio-player-composable/components/time-display/utils.js.map +1 -0
- package/esm/audio-player-composable/components/types.d.ts +9 -0
- package/esm/audio-player-composable/components/types.d.ts.map +1 -0
- package/esm/audio-player-composable/components/types.js +2 -0
- package/esm/audio-player-composable/components/types.js.map +1 -0
- package/esm/audio-player-composable/context.d.ts +6 -0
- package/esm/audio-player-composable/context.d.ts.map +1 -0
- package/esm/audio-player-composable/context.js +14 -0
- package/esm/audio-player-composable/context.js.map +1 -0
- package/esm/audio-player-composable/index.d.ts +11 -0
- package/esm/audio-player-composable/index.d.ts.map +1 -0
- package/esm/audio-player-composable/index.js +12 -0
- package/esm/audio-player-composable/index.js.map +1 -0
- package/esm/audio-player-composable/types.d.ts +78 -0
- package/esm/audio-player-composable/types.d.ts.map +1 -0
- package/esm/audio-player-composable/types.js +13 -0
- package/esm/audio-player-composable/types.js.map +1 -0
- package/esm/audio-player-composable/utils.d.ts +14 -0
- package/esm/audio-player-composable/utils.d.ts.map +1 -0
- package/esm/audio-player-composable/utils.js +56 -0
- package/esm/audio-player-composable/utils.js.map +1 -0
- package/esm/banner/banner-internal.d.ts.map +1 -1
- package/esm/banner/banner-internal.js +3 -6
- package/esm/banner/banner-internal.js.map +1 -1
- package/esm/banner/banner.d.ts +1 -2
- package/esm/banner/banner.d.ts.map +1 -1
- package/esm/base-switch/base-switch.d.ts +4 -0
- package/esm/base-switch/base-switch.d.ts.map +1 -0
- package/esm/base-switch/base-switch.js +85 -0
- package/esm/base-switch/base-switch.js.map +1 -0
- package/esm/base-switch/index.d.ts +3 -0
- package/esm/base-switch/index.d.ts.map +1 -0
- package/esm/base-switch/index.js +2 -0
- package/esm/base-switch/index.js.map +1 -0
- package/esm/{checkbox → base-switch}/styled.d.ts +11 -11
- package/esm/base-switch/styled.d.ts.map +1 -0
- package/esm/base-switch/styled.js +76 -0
- package/esm/base-switch/styled.js.map +1 -0
- package/esm/base-switch/types.d.ts +41 -0
- package/esm/base-switch/types.d.ts.map +1 -0
- package/esm/base-switch/types.js +2 -0
- package/esm/base-switch/types.js.map +1 -0
- package/esm/block/block.d.ts +13 -1
- package/esm/block/block.d.ts.map +1 -1
- package/esm/block/block.js +6 -1
- package/esm/block/block.js.map +1 -1
- package/esm/button/button.d.ts +1 -1
- package/esm/button/button.d.ts.map +1 -1
- package/esm/button/defaults.d.ts +3 -0
- package/esm/button/defaults.d.ts.map +1 -1
- package/esm/button/defaults.js +3 -0
- package/esm/button/defaults.js.map +1 -1
- package/esm/button/styled.d.ts.map +1 -1
- package/esm/button/styled.js +10 -2
- package/esm/button/styled.js.map +1 -1
- package/esm/byline/byline.d.ts +1 -2
- package/esm/byline/byline.d.ts.map +1 -1
- package/esm/byline/byline.js +2 -2
- package/esm/byline/byline.js.map +1 -1
- package/esm/byline/types.d.ts +1 -0
- package/esm/byline/types.d.ts.map +1 -1
- package/esm/caption/caption-inset.d.ts +1 -2
- package/esm/caption/caption-inset.d.ts.map +1 -1
- package/esm/caption/caption.d.ts +1 -2
- package/esm/caption/caption.d.ts.map +1 -1
- package/esm/card/card-inset.d.ts +1 -1
- package/esm/card/card-inset.d.ts.map +1 -1
- package/esm/card/card.d.ts +1 -1
- package/esm/card/card.d.ts.map +1 -1
- package/esm/checkbox/checkbox.d.ts +1 -1
- package/esm/checkbox/checkbox.d.ts.map +1 -1
- package/esm/checkbox/checkbox.js +3 -82
- package/esm/checkbox/checkbox.js.map +1 -1
- package/esm/checkbox/defaults.d.ts +3 -0
- package/esm/checkbox/defaults.d.ts.map +1 -1
- package/esm/checkbox/defaults.js +3 -0
- package/esm/checkbox/defaults.js.map +1 -1
- package/esm/checkbox/style-presets.d.ts.map +1 -1
- package/esm/checkbox/style-presets.js +42 -24
- package/esm/checkbox/style-presets.js.map +1 -1
- package/esm/checkbox/types.d.ts +5 -34
- package/esm/checkbox/types.d.ts.map +1 -1
- package/esm/date-time/date-time.d.ts +1 -2
- package/esm/date-time/date-time.d.ts.map +1 -1
- package/esm/dialog/base-dialog-tests.d.ts.map +1 -1
- package/esm/dialog/base-dialog-tests.js +3 -1
- package/esm/dialog/base-dialog-tests.js.map +1 -1
- package/esm/dialog/types.d.ts +2 -2
- package/esm/dialog/types.d.ts.map +1 -1
- package/esm/divider/divider.d.ts +1 -2
- package/esm/divider/divider.d.ts.map +1 -1
- package/esm/drawer/drawer.d.ts +1 -2
- package/esm/drawer/drawer.d.ts.map +1 -1
- package/esm/fieldset/fieldset.d.ts +1 -2
- package/esm/fieldset/fieldset.d.ts.map +1 -1
- package/esm/flag/flag.d.ts +1 -1
- package/esm/flag/flag.d.ts.map +1 -1
- package/esm/flag/flag.js +1 -1
- package/esm/flag/flag.js.map +1 -1
- package/esm/flag/styled.d.ts.map +1 -1
- package/esm/flag/styled.js +6 -2
- package/esm/flag/styled.js.map +1 -1
- package/esm/flag/types.d.ts +8 -2
- package/esm/flag/types.d.ts.map +1 -1
- package/esm/flag/types.js.map +1 -1
- package/esm/form/form-entry.d.ts.map +1 -1
- package/esm/form/form-entry.js +2 -2
- package/esm/form/form-entry.js.map +1 -1
- package/esm/form/form-input.d.ts +2 -1
- package/esm/form/form-input.d.ts.map +1 -1
- package/esm/form/form-input.js +12 -8
- package/esm/form/form-input.js.map +1 -1
- package/esm/form/types.d.ts +3 -2
- package/esm/form/types.d.ts.map +1 -1
- package/esm/form/utils.d.ts +0 -1
- package/esm/form/utils.d.ts.map +1 -1
- package/esm/form/utils.js +0 -11
- package/esm/form/utils.js.map +1 -1
- package/esm/grid/cell.d.ts +1 -2
- package/esm/grid/cell.d.ts.map +1 -1
- package/esm/grid/grid.d.ts +1 -2
- package/esm/grid/grid.d.ts.map +1 -1
- package/esm/grid-layout/grid-layout.d.ts +3 -1
- package/esm/grid-layout/grid-layout.d.ts.map +1 -1
- package/esm/grid-layout/grid-layout.js +11 -1
- package/esm/grid-layout/grid-layout.js.map +1 -1
- package/esm/grid-layout/styled.d.ts +22 -2
- package/esm/grid-layout/styled.d.ts.map +1 -1
- package/esm/grid-layout/types.d.ts +6 -3
- package/esm/grid-layout/types.d.ts.map +1 -1
- package/esm/headline/headline.d.ts +1 -2
- package/esm/headline/headline.d.ts.map +1 -1
- package/esm/icons/filled/{material/icon-filled-forward10.d.ts → custom/icon-filled-forward-10.d.ts} +1 -1
- package/esm/icons/filled/custom/icon-filled-forward-10.d.ts.map +1 -0
- package/esm/icons/filled/custom/icon-filled-forward-10.js +17 -0
- package/esm/icons/filled/custom/icon-filled-forward-10.js.map +1 -0
- package/esm/icons/filled/custom/icon-filled-forward-15.d.ts +2 -0
- package/esm/icons/filled/custom/icon-filled-forward-15.d.ts.map +1 -0
- package/esm/icons/filled/custom/icon-filled-forward-15.js +17 -0
- package/esm/icons/filled/custom/icon-filled-forward-15.js.map +1 -0
- package/esm/icons/filled/custom/icon-filled-forward-20.d.ts +2 -0
- package/esm/icons/filled/custom/icon-filled-forward-20.d.ts.map +1 -0
- package/esm/icons/filled/custom/icon-filled-forward-20.js +17 -0
- package/esm/icons/filled/custom/icon-filled-forward-20.js.map +1 -0
- package/esm/icons/filled/custom/icon-filled-forward-25.d.ts +2 -0
- package/esm/icons/filled/custom/icon-filled-forward-25.d.ts.map +1 -0
- package/esm/icons/filled/custom/icon-filled-forward-25.js +17 -0
- package/esm/icons/filled/custom/icon-filled-forward-25.js.map +1 -0
- package/{cjs/icons/filled/material/icon-filled-forward30.d.ts → esm/icons/filled/custom/icon-filled-forward-30.d.ts} +1 -1
- package/esm/icons/filled/custom/icon-filled-forward-30.d.ts.map +1 -0
- package/esm/icons/filled/custom/icon-filled-forward-30.js +17 -0
- package/esm/icons/filled/custom/icon-filled-forward-30.js.map +1 -0
- package/esm/icons/filled/{material/icon-filled-forward5.d.ts → custom/icon-filled-forward-5.d.ts} +1 -1
- package/esm/icons/filled/custom/icon-filled-forward-5.d.ts.map +1 -0
- package/esm/icons/filled/custom/icon-filled-forward-5.js +17 -0
- package/esm/icons/filled/custom/icon-filled-forward-5.js.map +1 -0
- package/{cjs/icons/filled/material/icon-filled-replay10.d.ts → esm/icons/filled/custom/icon-filled-replay-10.d.ts} +1 -1
- package/esm/icons/filled/custom/icon-filled-replay-10.d.ts.map +1 -0
- package/esm/icons/filled/custom/icon-filled-replay-10.js +17 -0
- package/esm/icons/filled/custom/icon-filled-replay-10.js.map +1 -0
- package/esm/icons/filled/custom/icon-filled-replay-15.d.ts +2 -0
- package/esm/icons/filled/custom/icon-filled-replay-15.d.ts.map +1 -0
- package/esm/icons/filled/custom/icon-filled-replay-15.js +17 -0
- package/esm/icons/filled/custom/icon-filled-replay-15.js.map +1 -0
- package/esm/icons/filled/custom/icon-filled-replay-20.d.ts +2 -0
- package/esm/icons/filled/custom/icon-filled-replay-20.d.ts.map +1 -0
- package/esm/icons/filled/custom/icon-filled-replay-20.js +17 -0
- package/esm/icons/filled/custom/icon-filled-replay-20.js.map +1 -0
- package/esm/icons/filled/custom/icon-filled-replay-25.d.ts +2 -0
- package/esm/icons/filled/custom/icon-filled-replay-25.d.ts.map +1 -0
- package/esm/icons/filled/custom/icon-filled-replay-25.js +17 -0
- package/esm/icons/filled/custom/icon-filled-replay-25.js.map +1 -0
- package/{cjs/icons/filled/material/icon-filled-replay30.d.ts → esm/icons/filled/custom/icon-filled-replay-30.d.ts} +1 -1
- package/esm/icons/filled/custom/icon-filled-replay-30.d.ts.map +1 -0
- package/esm/icons/filled/custom/icon-filled-replay-30.js +17 -0
- package/esm/icons/filled/custom/icon-filled-replay-30.js.map +1 -0
- package/esm/icons/filled/{material/icon-filled-replay5.d.ts → custom/icon-filled-replay-5.d.ts} +1 -1
- package/esm/icons/filled/custom/icon-filled-replay-5.d.ts.map +1 -0
- package/esm/icons/filled/custom/icon-filled-replay-5.js +17 -0
- package/esm/icons/filled/custom/icon-filled-replay-5.js.map +1 -0
- package/esm/icons/filled/custom/indeterminate-progress-indicator.d.ts +1 -2
- package/esm/icons/filled/custom/indeterminate-progress-indicator.d.ts.map +1 -1
- package/esm/icons/filled/custom/index.d.ts +12 -0
- package/esm/icons/filled/custom/index.d.ts.map +1 -1
- package/esm/icons/filled/custom/index.js +12 -0
- package/esm/icons/filled/custom/index.js.map +1 -1
- package/esm/icons/filled/material/icon-filled-circle.d.ts +2 -0
- package/esm/icons/filled/material/{icon-filled-replay5.js → icon-filled-circle.js} +4 -4
- package/esm/icons/filled/material/index.d.ts +1 -6
- package/esm/icons/filled/material/index.js +1 -6
- package/esm/icons/outlined/{material/icon-outlined-forward10.d.ts → custom/icon-outlined-forward-10.d.ts} +1 -1
- package/esm/icons/outlined/custom/icon-outlined-forward-10.d.ts.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-10.js +17 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-10.js.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-15.d.ts +2 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-15.d.ts.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-15.js +17 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-15.js.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-20.d.ts +2 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-20.d.ts.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-20.js +17 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-20.js.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-25.d.ts +2 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-25.d.ts.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-25.js +17 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-25.js.map +1 -0
- package/esm/icons/outlined/{material/icon-outlined-forward30.d.ts → custom/icon-outlined-forward-30.d.ts} +1 -1
- package/esm/icons/outlined/custom/icon-outlined-forward-30.d.ts.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-30.js +17 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-30.js.map +1 -0
- package/esm/icons/outlined/{material/icon-outlined-forward5.d.ts → custom/icon-outlined-forward-5.d.ts} +1 -1
- package/esm/icons/outlined/custom/icon-outlined-forward-5.d.ts.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-5.js +17 -0
- package/esm/icons/outlined/custom/icon-outlined-forward-5.js.map +1 -0
- package/{cjs/icons/outlined/material/icon-outlined-replay10.d.ts → esm/icons/outlined/custom/icon-outlined-replay-10.d.ts} +1 -1
- package/esm/icons/outlined/custom/icon-outlined-replay-10.d.ts.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-10.js +17 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-10.js.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-15.d.ts +2 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-15.d.ts.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-15.js +17 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-15.js.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-20.d.ts +2 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-20.d.ts.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-20.js +17 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-20.js.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-25.d.ts +2 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-25.d.ts.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-25.js +17 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-25.js.map +1 -0
- package/{cjs/icons/outlined/material/icon-outlined-replay30.d.ts → esm/icons/outlined/custom/icon-outlined-replay-30.d.ts} +1 -1
- package/esm/icons/outlined/custom/icon-outlined-replay-30.d.ts.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-30.js +17 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-30.js.map +1 -0
- package/{cjs/icons/outlined/material/icon-outlined-replay5.d.ts → esm/icons/outlined/custom/icon-outlined-replay-5.d.ts} +1 -1
- package/esm/icons/outlined/custom/icon-outlined-replay-5.d.ts.map +1 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-5.js +17 -0
- package/esm/icons/outlined/custom/icon-outlined-replay-5.js.map +1 -0
- package/esm/icons/outlined/custom/index.d.ts +12 -0
- package/esm/icons/outlined/custom/index.d.ts.map +1 -1
- package/esm/icons/outlined/custom/index.js +12 -0
- package/esm/icons/outlined/custom/index.js.map +1 -1
- package/esm/icons/outlined/material/icon-outlined-circle.d.ts +2 -0
- package/esm/icons/{filled/material/icon-filled-replay30.js → outlined/material/icon-outlined-circle.js} +4 -4
- package/esm/icons/outlined/material/index.d.ts +1 -6
- package/esm/icons/outlined/material/index.js +1 -6
- package/esm/icons/to-newskit-icon.d.ts.map +1 -1
- package/esm/icons/to-newskit-icon.js +19 -12
- package/esm/icons/to-newskit-icon.js.map +1 -1
- package/esm/image/image.d.ts +1 -2
- package/esm/image/image.d.ts.map +1 -1
- package/esm/index.d.ts +2 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +2 -0
- package/esm/index.js.map +1 -1
- package/esm/inline-message/inline-message.d.ts +1 -2
- package/esm/inline-message/inline-message.d.ts.map +1 -1
- package/esm/label/label.d.ts +1 -2
- package/esm/label/label.d.ts.map +1 -1
- package/esm/label/styled.d.ts +1 -6
- package/esm/label/styled.d.ts.map +1 -1
- package/esm/label/styled.js +5 -1
- package/esm/label/styled.js.map +1 -1
- package/esm/label/types.d.ts +14 -6
- package/esm/label/types.d.ts.map +1 -1
- package/esm/link/defaults.d.ts +1 -0
- package/esm/link/defaults.d.ts.map +1 -1
- package/esm/link/defaults.js +1 -0
- package/esm/link/defaults.js.map +1 -1
- package/esm/link/internal-link.js +4 -2
- package/esm/link/internal-link.js.map +1 -1
- package/esm/link/link-inline.d.ts +1 -1
- package/esm/link/link-inline.d.ts.map +1 -1
- package/esm/link/link-standalone.d.ts +1 -1
- package/esm/link/link-standalone.d.ts.map +1 -1
- package/esm/link/link.d.ts +2 -2
- package/esm/link/link.d.ts.map +1 -1
- package/esm/link/types.d.ts +13 -8
- package/esm/link/types.d.ts.map +1 -1
- package/esm/link/utils.d.ts +1 -1
- package/esm/link/utils.d.ts.map +1 -1
- package/esm/menu/defaults.d.ts +3 -0
- package/esm/menu/defaults.d.ts.map +1 -1
- package/esm/menu/defaults.js +3 -0
- package/esm/menu/defaults.js.map +1 -1
- package/esm/menu/menu.d.ts +1 -1
- package/esm/menu/menu.d.ts.map +1 -1
- package/esm/menu/styled.d.ts.map +1 -1
- package/esm/menu/styled.js +4 -8
- package/esm/menu/styled.js.map +1 -1
- package/esm/modal/modal.d.ts +1 -2
- package/esm/modal/modal.d.ts.map +1 -1
- package/esm/ordered-list/ordered-list.d.ts +1 -2
- package/esm/ordered-list/ordered-list.d.ts.map +1 -1
- package/esm/ordered-list/ordered-list.js +1 -2
- package/esm/ordered-list/ordered-list.js.map +1 -1
- package/esm/overlay/overlay.d.ts +1 -2
- package/esm/overlay/overlay.d.ts.map +1 -1
- package/esm/radio-button/defaults.d.ts +66 -0
- package/esm/radio-button/defaults.d.ts.map +1 -0
- package/esm/radio-button/defaults.js +77 -0
- package/esm/radio-button/defaults.js.map +1 -0
- package/esm/radio-button/index.d.ts +4 -0
- package/esm/radio-button/index.d.ts.map +1 -0
- package/esm/radio-button/index.js +3 -0
- package/esm/radio-button/index.js.map +1 -0
- package/esm/radio-button/radio-button.d.ts +4 -0
- package/esm/radio-button/radio-button.d.ts.map +1 -0
- package/esm/radio-button/radio-button.js +60 -0
- package/esm/radio-button/radio-button.js.map +1 -0
- package/esm/radio-button/radio-group.d.ts +11 -0
- package/esm/radio-button/radio-group.d.ts.map +1 -0
- package/esm/radio-button/radio-group.js +44 -0
- package/esm/radio-button/radio-group.js.map +1 -0
- package/esm/radio-button/style-presets.d.ts +4 -0
- package/esm/radio-button/style-presets.d.ts.map +1 -0
- package/esm/radio-button/style-presets.js +149 -0
- package/esm/radio-button/style-presets.js.map +1 -0
- package/esm/radio-button/types.d.ts +17 -0
- package/esm/radio-button/types.d.ts.map +1 -0
- package/esm/radio-button/types.js +2 -0
- package/esm/radio-button/types.js.map +1 -0
- package/esm/scroll/scroll.d.ts +1 -1
- package/esm/scroll/scroll.d.ts.map +1 -1
- package/esm/select/index.d.ts +2 -2
- package/esm/select/index.d.ts.map +1 -1
- package/esm/select/index.js +2 -2
- package/esm/select/index.js.map +1 -1
- package/esm/select/select-panel.d.ts +7 -3
- package/esm/select/select-panel.d.ts.map +1 -1
- package/esm/select/select-panel.js +3 -11
- package/esm/select/select-panel.js.map +1 -1
- package/esm/select/select.d.ts +1 -1
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +42 -11
- package/esm/select/select.js.map +1 -1
- package/esm/select/styled.d.ts.map +1 -1
- package/esm/select/styled.js +6 -2
- package/esm/select/styled.js.map +1 -1
- package/esm/select/types.d.ts +15 -1
- package/esm/select/types.d.ts.map +1 -1
- package/esm/select/use-virtualized-list.d.ts +16 -0
- package/esm/select/use-virtualized-list.d.ts.map +1 -0
- package/esm/select/use-virtualized-list.js +81 -0
- package/esm/select/use-virtualized-list.js.map +1 -0
- package/esm/share-bar/share-bar.d.ts +1 -1
- package/esm/share-bar/share-bar.d.ts.map +1 -1
- package/esm/slider/slider.d.ts +1 -2
- package/esm/slider/slider.d.ts.map +1 -1
- package/esm/stack/styled.d.ts.map +1 -1
- package/esm/stack/styled.js +3 -2
- package/esm/stack/styled.js.map +1 -1
- package/esm/stack/types.d.ts +2 -1
- package/esm/stack/types.d.ts.map +1 -1
- package/esm/stack/types.js.map +1 -1
- package/esm/standfirst/standfirst.d.ts +1 -2
- package/esm/standfirst/standfirst.d.ts.map +1 -1
- package/esm/structured-list/structured-list-item.d.ts +1 -1
- package/esm/structured-list/structured-list-item.d.ts.map +1 -1
- package/esm/structured-list/structured-list.d.ts +1 -1
- package/esm/structured-list/structured-list.d.ts.map +1 -1
- package/esm/tabs/defaults.d.ts +3 -0
- package/esm/tabs/defaults.d.ts.map +1 -1
- package/esm/tabs/defaults.js +3 -0
- package/esm/tabs/defaults.js.map +1 -1
- package/esm/tabs/tabs.d.ts +1 -1
- package/esm/tabs/tabs.d.ts.map +1 -1
- package/esm/tag/defaults.d.ts +3 -0
- package/esm/tag/defaults.d.ts.map +1 -1
- package/esm/tag/defaults.js +3 -0
- package/esm/tag/defaults.js.map +1 -1
- package/esm/tag/tag.d.ts +1 -2
- package/esm/tag/tag.d.ts.map +1 -1
- package/esm/tag/tag.js +5 -1
- package/esm/tag/tag.js.map +1 -1
- package/esm/text-block/text-block.d.ts.map +1 -1
- package/esm/text-block/text-block.js +3 -2
- package/esm/text-block/text-block.js.map +1 -1
- package/esm/text-block/types.d.ts +2 -1
- package/esm/text-block/types.d.ts.map +1 -1
- package/esm/text-field/text-field.d.ts +1 -1
- package/esm/text-field/text-field.d.ts.map +1 -1
- package/esm/text-input/text-input.d.ts +4 -1
- package/esm/text-input/text-input.d.ts.map +1 -1
- package/esm/text-input/text-input.js +7 -7
- package/esm/text-input/text-input.js.map +1 -1
- package/esm/theme/compiler/index.d.ts.map +1 -1
- package/esm/theme/compiler/index.js +1 -83
- package/esm/theme/compiler/index.js.map +1 -1
- package/esm/theme/presets/style-presets.js +8 -0
- package/esm/theme/presets/style-presets.js.map +1 -1
- package/esm/theme/presets/transition-presets.js +28 -15
- package/esm/theme/presets/transition-presets.js.map +1 -1
- package/esm/theme-checker/helper.d.ts.map +1 -1
- package/esm/theme-checker/helper.js +1 -0
- package/esm/theme-checker/helper.js.map +1 -1
- package/esm/theme-checker/scenarios.d.ts +15 -4
- package/esm/theme-checker/scenarios.d.ts.map +1 -1
- package/esm/theme-checker/scenarios.js +74 -20
- package/esm/theme-checker/scenarios.js.map +1 -1
- package/esm/theme-checker/styled.d.ts.map +1 -1
- package/esm/theme-checker/styled.js +1 -0
- package/esm/theme-checker/styled.js.map +1 -1
- package/esm/theme-checker/theme-checker.d.ts.map +1 -1
- package/esm/theme-checker/theme-checker.js +3 -2
- package/esm/theme-checker/theme-checker.js.map +1 -1
- package/esm/title-bar/title-bar.d.ts +1 -2
- package/esm/title-bar/title-bar.d.ts.map +1 -1
- package/esm/toast/toast.d.ts +1 -2
- package/esm/toast/toast.d.ts.map +1 -1
- package/esm/toast/toast.js +2 -5
- package/esm/toast/toast.js.map +1 -1
- package/esm/typography/heading/heading.d.ts +12 -12
- package/esm/typography/paragraph/paragraph.d.ts +2 -2
- package/esm/unordered-list/unordered-list.d.ts +1 -2
- package/esm/unordered-list/unordered-list.d.ts.map +1 -1
- package/esm/unordered-list/unordered-list.js +1 -2
- package/esm/unordered-list/unordered-list.js.map +1 -1
- package/esm/utils/compose-event-handlers.d.ts +2 -0
- package/esm/utils/compose-event-handlers.d.ts.map +1 -0
- package/esm/utils/compose-event-handlers.js +12 -0
- package/esm/utils/compose-event-handlers.js.map +1 -0
- package/esm/utils/get-transition-duration.d.ts.map +1 -1
- package/esm/utils/get-transition-duration.js +17 -0
- package/esm/utils/get-transition-duration.js.map +1 -1
- package/esm/utils/hooks/use-controlled.d.ts +5 -4
- package/esm/utils/hooks/use-controlled.d.ts.map +1 -1
- package/esm/utils/hooks/use-controlled.js +1 -1
- package/esm/utils/hooks/use-controlled.js.map +1 -1
- package/esm/utils/hooks/use-keypress.d.ts +2 -1
- package/esm/utils/hooks/use-keypress.d.ts.map +1 -1
- package/esm/utils/hooks/use-keypress.js +101 -31
- package/esm/utils/hooks/use-keypress.js.map +1 -1
- package/esm/utils/hooks/use-media-query/context.d.ts +2 -1
- package/esm/utils/hooks/use-media-query/context.d.ts.map +1 -1
- package/esm/utils/hooks/use-media-query/context.js.map +1 -1
- package/esm/utils/logical-properties.d.ts +24 -0
- package/esm/utils/logical-properties.d.ts.map +1 -0
- package/esm/utils/logical-properties.js +49 -0
- package/esm/utils/logical-properties.js.map +1 -0
- package/esm/utils/react-children-utilities.d.ts +2 -0
- package/esm/utils/react-children-utilities.d.ts.map +1 -1
- package/esm/utils/react-children-utilities.js +15 -0
- package/esm/utils/react-children-utilities.js.map +1 -1
- package/esm/utils/recurse-unknown.d.ts +3 -0
- package/esm/utils/recurse-unknown.d.ts.map +1 -0
- package/esm/utils/recurse-unknown.js +84 -0
- package/esm/utils/recurse-unknown.js.map +1 -0
- package/esm/utils/style/base.js +1 -1
- package/esm/utils/style/base.js.map +1 -1
- package/esm/utils/style/error-logger.d.ts +5 -0
- package/esm/utils/style/error-logger.d.ts.map +1 -0
- package/esm/utils/style/error-logger.js +3 -0
- package/esm/utils/style/error-logger.js.map +1 -0
- package/esm/utils/style/style-preset.d.ts +1 -1
- package/esm/utils/style/style-preset.d.ts.map +1 -1
- package/esm/utils/style/style-preset.js +3 -3
- package/esm/utils/style/style-preset.js.map +1 -1
- package/esm/utils/style/transition-preset.d.ts +4 -1
- package/esm/utils/style/transition-preset.d.ts.map +1 -1
- package/esm/utils/style/transition-preset.js +85 -15
- package/esm/utils/style/transition-preset.js.map +1 -1
- package/esm/utils/style/utils.d.ts +2 -2
- package/esm/utils/style/utils.d.ts.map +1 -1
- package/esm/utils/style/utils.js +6 -2
- package/esm/utils/style/utils.js.map +1 -1
- package/esm/utils/{to-kabab-case.d.ts → to-kebab-case.d.ts} +1 -1
- package/esm/utils/to-kebab-case.d.ts.map +1 -0
- package/esm/utils/{to-kabab-case.js → to-kebab-case.js} +1 -1
- package/esm/utils/{to-kabab-case.js.map → to-kebab-case.js.map} +1 -1
- package/esm/utils/types.d.ts +1 -0
- package/esm/utils/types.d.ts.map +1 -1
- package/esm/utils/with-own-theme.d.ts +4 -1
- package/esm/utils/with-own-theme.d.ts.map +1 -1
- package/esm/utils/with-own-theme.js +3 -1
- package/esm/utils/with-own-theme.js.map +1 -1
- package/esm/version-number.json +1 -1
- package/esm/video-player/video-player.d.ts +1 -1
- package/esm/video-player/video-player.d.ts.map +1 -1
- package/esm/volume-control/volume-control.d.ts +1 -2
- package/esm/volume-control/volume-control.d.ts.map +1 -1
- package/esm/volume-control/volume-control.js +2 -2
- package/esm/volume-control/volume-control.js.map +1 -1
- package/esm/with-enhancers/styled.d.ts.map +1 -1
- package/esm/with-enhancers/styled.js +6 -2
- package/esm/with-enhancers/styled.js.map +1 -1
- package/package.json +3 -2
- package/cjs/checkbox/styled.d.ts.map +0 -1
- package/cjs/checkbox/styled.js +0 -74
- package/cjs/checkbox/styled.js.map +0 -1
- package/cjs/icons/filled/material/icon-filled-forward10.js +0 -11
- package/cjs/icons/filled/material/icon-filled-forward30.js +0 -11
- package/cjs/icons/filled/material/icon-filled-forward5.js +0 -11
- package/cjs/icons/filled/material/icon-filled-replay10.js +0 -11
- package/cjs/icons/outlined/material/icon-outlined-forward10.js +0 -11
- package/cjs/icons/outlined/material/icon-outlined-forward30.js +0 -11
- package/cjs/icons/outlined/material/icon-outlined-forward5.js +0 -11
- package/cjs/icons/outlined/material/icon-outlined-replay10.js +0 -11
- package/cjs/icons/outlined/material/icon-outlined-replay30.js +0 -11
- package/cjs/icons/outlined/material/icon-outlined-replay5.js +0 -11
- package/cjs/utils/to-kabab-case.d.ts.map +0 -1
- package/esm/checkbox/styled.d.ts.map +0 -1
- package/esm/checkbox/styled.js +0 -71
- package/esm/checkbox/styled.js.map +0 -1
- package/esm/icons/filled/material/icon-filled-forward10.js +0 -8
- package/esm/icons/filled/material/icon-filled-forward30.js +0 -8
- package/esm/icons/filled/material/icon-filled-forward5.js +0 -8
- package/esm/icons/filled/material/icon-filled-replay10.js +0 -8
- package/esm/icons/outlined/material/icon-outlined-forward10.js +0 -8
- package/esm/icons/outlined/material/icon-outlined-forward30.js +0 -8
- package/esm/icons/outlined/material/icon-outlined-forward5.js +0 -8
- package/esm/icons/outlined/material/icon-outlined-replay10.js +0 -8
- package/esm/icons/outlined/material/icon-outlined-replay30.js +0 -8
- package/esm/icons/outlined/material/icon-outlined-replay5.js +0 -8
- package/esm/utils/to-kabab-case.d.ts.map +0 -1
package/esm/stack/styled.js
CHANGED
|
@@ -4,6 +4,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { css, styled, handleResponsiveProp } from '../utils/style';
|
|
6
6
|
import { Flow, StackDistribution, } from './types';
|
|
7
|
+
import { logicalProps } from '../utils/logical-properties';
|
|
7
8
|
export var DEFAULT_PROPS = {
|
|
8
9
|
spaceStack: 'space000',
|
|
9
10
|
spaceInline: 'space000',
|
|
@@ -88,7 +89,7 @@ var getFlexDirection = function (flow, flowReverse) {
|
|
|
88
89
|
var reverse = flowReverse ? '-reverse' : '';
|
|
89
90
|
return (flexDir + reverse);
|
|
90
91
|
};
|
|
91
|
-
export var StyledMasterContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n\n ", "\n\n ", "\n\n ", "\n \n ", "\n\n ", "\n\n ", "\n\n ", "\n \n ", " \n\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n\n ", "\n\n ", "\n \n ", "\n\n ", "\n\n ", "\n\n ", "\n \n ", " \n\n ", "\n\n ", "\n"])), handleResponsiveProp({ inline: DEFAULT_PROPS.inline }, function (_a) {
|
|
92
|
+
export var StyledMasterContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n\n ", "\n\n ", "\n\n ", "\n \n ", "\n\n ", "\n\n ", "\n\n ", "\n \n ", " \n\n ", "\n\n ", "\n\n ", "\n"], ["\n ", "\n\n ", "\n\n ", "\n\n ", "\n \n ", "\n\n ", "\n\n ", "\n\n ", "\n \n ", " \n\n ", "\n\n ", "\n\n ", "\n"])), handleResponsiveProp({ inline: DEFAULT_PROPS.inline }, function (_a) {
|
|
92
93
|
var inline = _a.inline;
|
|
93
94
|
return ({
|
|
94
95
|
display: inline ? 'inline-flex' : 'flex',
|
|
@@ -156,7 +157,7 @@ export var StyledMasterContainer = styled.div(templateObject_2 || (templateObjec
|
|
|
156
157
|
spaceStack: spaceStack,
|
|
157
158
|
spaceInline: spaceInline,
|
|
158
159
|
});
|
|
159
|
-
}));
|
|
160
|
+
}), logicalProps('stack'));
|
|
160
161
|
export var StyledChildContainer = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: inline-flex;\n ", "\n\n ", "\n \n ", "\n"], ["\n display: inline-flex;\n ", "\n\n ", "\n \n ", "\n"])), handleResponsiveProp({
|
|
161
162
|
$wrap: DEFAULT_PROPS.wrap,
|
|
162
163
|
flow: DEFAULT_PROPS.flow,
|
package/esm/stack/styled.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/stack/styled.ts"],"names":[],"mappings":";;;;AAEA,OAAO,EAAC,GAAG,EAAE,MAAM,EAAa,oBAAoB,EAAC,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EACL,IAAI,EAGJ,iBAAiB,GAGlB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/stack/styled.ts"],"names":[],"mappings":";;;;AAEA,OAAO,EAAC,GAAG,EAAE,MAAM,EAAa,oBAAoB,EAAC,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EACL,IAAI,EAGJ,iBAAiB,GAGlB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AAEzD,MAAM,CAAC,IAAM,aAAa,GAAsB;IAC9C,UAAU,EAAE,UAAU;IACtB,WAAW,EAAE,UAAU;IACvB,IAA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AAC,cAAc;QACnB,IAAI,CAAC,aAAa;KACnB,CAAC,QAAQ,CAAC,IAAY,CAAC,CAAC;IAEzB,IAAM,YAAY,GAAG;QACnB,IAAI,CAAC,aAAa;QAClB,IAAI,CAAC,gBAAgB;QACrB,IAAI,CAAC,gBAAgB;KACtB,CAAC,QAAQ,CAAC,IAAY,CAAC,CAAC;IAEzB,IAAM,WAAW,GACf,CAAC,UAAU,IAAI,UAAU,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;QAC9C,CAAC,YAAY,IAAI,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;QAC7C,CAAC,CAAC,EAAE;QACJ,CAAC,CAAC;YACE,SAAS,EAAE,CAAC;YACZ,YAAY,EAAE,CAAC;SAChB,CAAC;IACR,OAAO,WAAW,CAAC;AACrB,CAAC,CACF,EACD,aAAa,CAAC,IAAI,CAAC,CAAC;AAEtB,MAAM,CAAC,IAAM,4BAA4B,GAAG,MAAM,CAChD,oBAAoB,CACrB,qEAAA,EAAE,KAAC,aAAa,CAAC,IAAI,CAAC,CAAC"}
|
package/esm/stack/types.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { MQ } from '../utils/style/types';
|
|
3
3
|
import { AlignSelfValues } from '../stack-child';
|
|
4
|
+
import { LogicalProps } from '../utils/logical-properties';
|
|
4
5
|
export declare type FlexWrap = boolean | 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
5
6
|
export interface CommonStackPropsWithoutMQ {
|
|
6
7
|
spaceStack: string;
|
|
@@ -26,7 +27,7 @@ export interface StyledStackProps extends CommonStackProps {
|
|
|
26
27
|
$wrap: MQ<FlexWrap>;
|
|
27
28
|
$height?: MQ<string>;
|
|
28
29
|
}
|
|
29
|
-
export interface StackProps extends Partial<CommonStackProps
|
|
30
|
+
export interface StackProps extends Partial<CommonStackProps>, LogicalProps {
|
|
30
31
|
wrap?: MQ<FlexWrap>;
|
|
31
32
|
list?: boolean;
|
|
32
33
|
ariaLabel?: string;
|
package/esm/stack/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/stack/types.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/stack/types.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AAEzD,oBAAY,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,cAAc,CAAC;AAEpE,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B,UAAU,EAAE,OAAO,GAAG,MAAM,CAAC;IAC7B,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EACA,IAAI,GACJ,eAAe,GACf,iBAAiB,GACjB,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,GAChB,mBAAmB,GACnB,mBAAmB,GACnB,oBAAoB,CAAC;IAEzB,iBAAiB,EACb,iBAAiB,GACjB,YAAY,GACZ,QAAQ,GACR,UAAU,GACV,cAAc,GACd,eAAe,GACf,cAAc,CAAC;IAEnB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,aAAK,KAAK,CAAC,CAAC,IAAI;KAAE,CAAC,IAAI,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAC,CAAC;AAE3C,aAA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AC3B,KAAK,eAAe;IACpB,GAAG,aAAa;IAChB,MAAM,WAAW;IACjB,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;CAC7B"}
|
package/esm/stack/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/stack/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/stack/types.ts"],"names":[],"mappings":"AA4EA,MAAM,CAAN,IAAY,IASX;AATD,WAAY,IAAI;IACd,sCAA8B,CAAA;IAC9B,0CAAkC,CAAA;IAClC,wCAAgC,CAAA;IAChC,4CAAoC,CAAA;IACpC,wCAAgC,CAAA;IAChC,8CAAsC,CAAA;IACtC,8CAAsC,CAAA;IACtC,gDAAwC,CAAA;AAC1C,CAAC,EATW,IAAI,KAAJ,IAAI,QASf;AAED,MAAM,CAAN,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,yCAAoB,CAAA;IACpB,qCAAgB,CAAA;IAChB,sCAAiB,CAAA;IACjB,iDAA4B,CAAA;IAC5B,mDAA8B,CAAA;IAC9B,iDAA4B,CAAA;AAC9B,CAAC,EAPW,iBAAiB,KAAjB,iBAAiB,QAO5B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { StandfirstProps } from './types';
|
|
3
|
-
export declare const Standfirst:
|
|
2
|
+
export declare const Standfirst: import("../utils/with-own-theme").NewsKitReactComponents<StandfirstProps>;
|
|
4
3
|
//# sourceMappingURL=standfirst.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standfirst.d.ts","sourceRoot":"","sources":["../../../src/standfirst/standfirst.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"standfirst.d.ts","sourceRoot":"","sources":["../../../src/standfirst/standfirst.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAyBxC,eAAO,MAAM,UAAU,2EAErB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StructuredListItemProps } from './types';
|
|
3
|
-
export declare const StructuredListItem:
|
|
3
|
+
export declare const StructuredListItem: import("../utils/with-own-theme").NewsKitReactComponents<StructuredListItemProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
4
4
|
//# sourceMappingURL=structured-list-item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-list-item.d.ts","sourceRoot":"","sources":["../../../src/structured-list/structured-list-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA0B,uBAAuB,EAAC,MAAM,SAAS,CAAC;AA6JzE,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"structured-list-item.d.ts","sourceRoot":"","sources":["../../../src/structured-list/structured-list-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAA0B,uBAAuB,EAAC,MAAM,SAAS,CAAC;AA6JzE,eAAO,MAAM,kBAAkB,4HAG7B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StructuredListCellProps, StructuredListProps } from './types';
|
|
3
3
|
export declare const StructuredListCell: React.FC<StructuredListCellProps>;
|
|
4
|
-
export declare const StructuredList:
|
|
4
|
+
export declare const StructuredList: import("../utils/with-own-theme").NewsKitReactComponents<StructuredListProps>;
|
|
5
5
|
//# sourceMappingURL=structured-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-list.d.ts","sourceRoot":"","sources":["../../../src/structured-list/structured-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,uBAAuB,EAEvB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAOjB,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAQhE,CAAC;AAiCF,eAAO,MAAM,cAAc,+
|
|
1
|
+
{"version":3,"file":"structured-list.d.ts","sourceRoot":"","sources":["../../../src/structured-list/structured-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,uBAAuB,EAEvB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAOjB,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAQhE,CAAC;AAiCF,eAAO,MAAM,cAAc,+EAGzB,CAAC"}
|
package/esm/tabs/defaults.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ declare const _default: {
|
|
|
7
7
|
minHeight: string;
|
|
8
8
|
iconSize: string;
|
|
9
9
|
spaceInline: string;
|
|
10
|
+
transitionPreset: string;
|
|
10
11
|
};
|
|
11
12
|
medium: {
|
|
12
13
|
stylePreset: string;
|
|
@@ -15,6 +16,7 @@ declare const _default: {
|
|
|
15
16
|
minHeight: string;
|
|
16
17
|
iconSize: string;
|
|
17
18
|
spaceInline: string;
|
|
19
|
+
transitionPreset: string;
|
|
18
20
|
};
|
|
19
21
|
large: {
|
|
20
22
|
stylePreset: string;
|
|
@@ -23,6 +25,7 @@ declare const _default: {
|
|
|
23
25
|
minHeight: string;
|
|
24
26
|
iconSize: string;
|
|
25
27
|
spaceInline: string;
|
|
28
|
+
transitionPreset: string;
|
|
26
29
|
};
|
|
27
30
|
};
|
|
28
31
|
tabs: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/tabs/defaults.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/tabs/defaults.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA6CE"}
|
package/esm/tabs/defaults.js
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
minHeight: 'sizing060',
|
|
8
8
|
iconSize: 'iconSize010',
|
|
9
9
|
spaceInline: 'space020',
|
|
10
|
+
transitionPreset: 'backgroundColorChange',
|
|
10
11
|
},
|
|
11
12
|
medium: {
|
|
12
13
|
stylePreset: 'tab',
|
|
@@ -15,6 +16,7 @@ export default {
|
|
|
15
16
|
minHeight: 'sizing080',
|
|
16
17
|
iconSize: 'iconSize020',
|
|
17
18
|
spaceInline: 'space020',
|
|
19
|
+
transitionPreset: 'backgroundColorChange',
|
|
18
20
|
},
|
|
19
21
|
large: {
|
|
20
22
|
stylePreset: 'tab',
|
|
@@ -23,6 +25,7 @@ export default {
|
|
|
23
25
|
minHeight: 'sizing090',
|
|
24
26
|
iconSize: 'iconSize030',
|
|
25
27
|
spaceInline: 'space020',
|
|
28
|
+
transitionPreset: 'backgroundColorChange',
|
|
26
29
|
},
|
|
27
30
|
},
|
|
28
31
|
tabs: {
|
package/esm/tabs/defaults.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../src/tabs/defaults.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,GAAG,EAAE;QACH,KAAK,EAAE;YACL,WAAW,EAAE,KAAK;YAClB,gBAAgB,EAAE,kBAAkB;YACpC,UAAU,EAAE,qBAAqB;YACjC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,aAAa;YACvB,WAAW,EAAE,UAAU;
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../src/tabs/defaults.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,GAAG,EAAE;QACH,KAAK,EAAE;YACL,WAAW,EAAE,KAAK;YAClB,gBAAgB,EAAE,kBAAkB;YACpC,UAAU,EAAE,qBAAqB;YACjC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,aAAa;YACvB,WAAW,EAAE,UAAU;YACvB,gBAAgB,EAAE,uBAAuB;SAC1C;QACD,MAAM,EAAE;YACN,WAAW,EAAE,KAAK;YAClB,gBAAgB,EAAE,kBAAkB;YACpC,UAAU,EAAE,qBAAqB;YACjC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,aAAa;YACvB,WAAW,EAAE,UAAU;YACvB,gBAAgB,EAAE,uBAAuB;SAC1C;QACD,KAAK,EAAE;YACL,WAAW,EAAE,KAAK;YAClB,gBAAgB,EAAE,kBAAkB;YACpC,UAAU,EAAE,qBAAqB;YACjC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,aAAa;YACvB,WAAW,EAAE,UAAU;YACvB,gBAAgB,EAAE,uBAAuB;SAC1C;KACF;IACD,IAAI,EAAE;QACJ,WAAW,EAAE,UAAU;QACvB,kBAAkB,EAAE;YAClB,KAAK,EAAE;gBACL,WAAW,EAAE,cAAc;gBAC3B,MAAM,EAAE,gBAAgB;aACzB;YACD,SAAS,EAAE;gBACT,WAAW,EAAE,kBAAkB;gBAC/B,MAAM,EAAE,gBAAgB;gBACxB,cAAc,EAAE,mBAAmB;gBACnC,YAAY,EAAE,0BAA0B;aACzC;SACF;KACF;CACF,CAAC"}
|
package/esm/tabs/tabs.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TabProps, TabsProps } from './types';
|
|
3
3
|
export declare const Tab: React.FC<TabProps>;
|
|
4
|
-
export declare const Tabs:
|
|
4
|
+
export declare const Tabs: import("../utils/with-own-theme").NewsKitReactComponents<TabsProps>;
|
|
5
5
|
//# sourceMappingURL=tabs.d.ts.map
|
package/esm/tabs/tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/tabs/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,EACL,QAAQ,EACR,SAAS,EAKV,MAAM,SAAS,CAAC;AAoCjB,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAAe,CAAC;AAiVnD,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/tabs/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,EACL,QAAQ,EACR,SAAS,EAKV,MAAM,SAAS,CAAC;AAoCjB,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAAe,CAAC;AAiVnD,eAAO,MAAM,IAAI,qEAAwD,CAAC"}
|
package/esm/tag/defaults.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ declare const _default: {
|
|
|
7
7
|
minHeight: string;
|
|
8
8
|
iconSize: string;
|
|
9
9
|
spaceInline: string;
|
|
10
|
+
transitionPreset: string;
|
|
10
11
|
};
|
|
11
12
|
medium: {
|
|
12
13
|
typographyPreset: string;
|
|
@@ -15,6 +16,7 @@ declare const _default: {
|
|
|
15
16
|
minHeight: string;
|
|
16
17
|
iconSize: string;
|
|
17
18
|
spaceInline: string;
|
|
19
|
+
transitionPreset: string;
|
|
18
20
|
};
|
|
19
21
|
large: {
|
|
20
22
|
typographyPreset: string;
|
|
@@ -23,6 +25,7 @@ declare const _default: {
|
|
|
23
25
|
minHeight: string;
|
|
24
26
|
iconSize: string;
|
|
25
27
|
spaceInline: string;
|
|
28
|
+
transitionPreset: string;
|
|
26
29
|
};
|
|
27
30
|
};
|
|
28
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/tag/defaults.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/tag/defaults.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA8BE"}
|
package/esm/tag/defaults.js
CHANGED
|
@@ -7,6 +7,7 @@ export default {
|
|
|
7
7
|
minHeight: 'sizing050',
|
|
8
8
|
iconSize: 'iconSize010',
|
|
9
9
|
spaceInline: 'space010',
|
|
10
|
+
transitionPreset: 'backgroundColorChange',
|
|
10
11
|
},
|
|
11
12
|
medium: {
|
|
12
13
|
typographyPreset: 'utilityButton020',
|
|
@@ -15,6 +16,7 @@ export default {
|
|
|
15
16
|
minHeight: 'sizing060',
|
|
16
17
|
iconSize: 'iconSize010',
|
|
17
18
|
spaceInline: 'space010',
|
|
19
|
+
transitionPreset: 'backgroundColorChange',
|
|
18
20
|
},
|
|
19
21
|
large: {
|
|
20
22
|
typographyPreset: 'utilityButton030',
|
|
@@ -23,6 +25,7 @@ export default {
|
|
|
23
25
|
minHeight: 'sizing070',
|
|
24
26
|
iconSize: 'iconSize020',
|
|
25
27
|
spaceInline: 'space010',
|
|
28
|
+
transitionPreset: 'backgroundColorChange',
|
|
26
29
|
},
|
|
27
30
|
},
|
|
28
31
|
};
|
package/esm/tag/defaults.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../src/tag/defaults.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,GAAG,EAAE;QACH,KAAK,EAAE;YACL,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,YAAY;YACzB,UAAU,EAAE,qBAAqB;YACjC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,aAAa;YACvB,WAAW,EAAE,UAAU;
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../src/tag/defaults.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,GAAG,EAAE;QACH,KAAK,EAAE;YACL,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,YAAY;YACzB,UAAU,EAAE,qBAAqB;YACjC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,aAAa;YACvB,WAAW,EAAE,UAAU;YACvB,gBAAgB,EAAE,uBAAuB;SAC1C;QACD,MAAM,EAAE;YACN,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,YAAY;YACzB,UAAU,EAAE,qBAAqB;YACjC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,aAAa;YACvB,WAAW,EAAE,UAAU;YACvB,gBAAgB,EAAE,uBAAuB;SAC1C;QACD,KAAK,EAAE;YACL,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,YAAY;YACzB,UAAU,EAAE,qBAAqB;YACjC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,aAAa;YACvB,WAAW,EAAE,UAAU;YACvB,gBAAgB,EAAE,uBAAuB;SAC1C;KACF;CACF,CAAC"}
|
package/esm/tag/tag.d.ts
CHANGED
package/esm/tag/tag.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/tag/tag.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/tag/tag.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAU,MAAM,SAAS,CAAC;AAmC1C,eAAO,MAAM,GAAG,oEAAuD,CAAC"}
|
package/esm/tag/tag.js
CHANGED
|
@@ -34,9 +34,13 @@ import { styled } from '../utils/style';
|
|
|
34
34
|
import defaults from './defaults';
|
|
35
35
|
import stylePresets from './style-presets';
|
|
36
36
|
import { withOwnTheme } from '../utils/with-own-theme';
|
|
37
|
-
|
|
37
|
+
import { getTransitionPreset } from '../utils/style/transition-preset';
|
|
38
|
+
var StyledFlag = styled(Flag)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", ";\n"], ["\n ", "\n ", ";\n"])), function (_a) {
|
|
38
39
|
var href = _a.href, disabled = _a.disabled;
|
|
39
40
|
return href && !disabled && { cursor: 'pointer' };
|
|
41
|
+
}, function (_a) {
|
|
42
|
+
var size = _a.size;
|
|
43
|
+
return getTransitionPreset("tag.".concat(size), '');
|
|
40
44
|
});
|
|
41
45
|
var ThemelessTag = function (_a) {
|
|
42
46
|
var _b = _a.overrides, overrides = _b === void 0 ? {} : _b, disabled = _a.disabled, href = _a.href, props = __rest(_a, ["overrides", "disabled", "href"]);
|
package/esm/tag/tag.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../src/tag/tag.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAW,OAAO,EAAC,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,SAAS,CAAC;AAC7B,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAC,EAAE,IAAI,SAAS,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAC,QAAQ,EAAC,MAAM,UAAU,CAAC;AAClC,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACtC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAC,YAAY,EAAC,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../src/tag/tag.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAW,OAAO,EAAC,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,SAAS,CAAC;AAC7B,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAC,EAAE,IAAI,SA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AK,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,GACjC,wBAAwB,CAAC,SAAS,CAAC,KAExC,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,GAAG,GAAG,YAAY,CAAC,YAAY,CAAC,CAAC,EAAC,QAAQ,UAAA,EAAE,YAAY,cAAA,EAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-block.d.ts","sourceRoot":"","sources":["../../../src/text-block/text-block.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,cAAc,EAAC,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"text-block.d.ts","sourceRoot":"","sources":["../../../src/text-block/text-block.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,cAAc,EAAC,MAAM,SAAS,CAAC;AAGvC,QAAA,MAAM,eAAe;;;sIAWpB,CAAC;AAEF,OAAO,EAAC,eAAe,IAAI,SAAS,EAAC,CAAC"}
|
|
@@ -4,7 +4,8 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { styled, getStylePresetFromTheme, getTypographyPresetFromTheme, } from '../utils/style';
|
|
6
6
|
import { isInlineElement } from '../utils/inline-tags';
|
|
7
|
-
|
|
7
|
+
import { logicalProps } from '../utils/logical-properties';
|
|
8
|
+
var StyledTextBlock = styled.p(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin: 0;\n ", ";\n ", ";\n ", ";\n ", "\n"], ["\n margin: 0;\n ", ";\n ", ";\n ", ";\n ", "\n"])), function (_a) {
|
|
8
9
|
var stylePreset = _a.stylePreset;
|
|
9
10
|
return stylePreset && getStylePresetFromTheme(stylePreset);
|
|
10
11
|
}, function (_a) {
|
|
@@ -16,7 +17,7 @@ var StyledTextBlock = styled.p(templateObject_1 || (templateObject_1 = __makeTem
|
|
|
16
17
|
}, function (_a) {
|
|
17
18
|
var as = _a.as, noCrop = _a.noCrop;
|
|
18
19
|
return as && !noCrop && isInlineElement(as) ? 'display: inline-block;' : '';
|
|
19
|
-
});
|
|
20
|
+
}, logicalProps());
|
|
20
21
|
export { StyledTextBlock as TextBlock };
|
|
21
22
|
var templateObject_1;
|
|
22
23
|
//# sourceMappingURL=text-block.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-block.js","sourceRoot":"","sources":["../../../src/text-block/text-block.tsx"],"names":[],"mappings":";;;;AAAA,OAAO,EACL,MAAM,EACN,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"text-block.js","sourceRoot":"","sources":["../../../src/text-block/text-block.tsx"],"names":[],"mappings":";;;;AAAA,OAAO,EACL,MAAM,EACN,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AAErD,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AAEzD,IAAM,eAAe,GAAG,MAAM,CAAC,CAAC,wHAAgB,oBAE5C,EAAsE,OACtE,EAIE,OACF,EACoE,OACpE,EAAc,IACjB,KATG,UAAC,EAAa;QAAZ,WAAW,iBAAA;IAAM,OAAA,WAAW,IAAI,uBAAuB,CAAC,WAAW,CAAC;AAAnD,CAAmD,EACtE,UAAC,EAA0B;QAAzB,gBAAgB,sBAAA,EAAE,MAAM,YAAA;IAC1B,OAAA,gBAAgB;QAChB,4BAA4B,CAAC,gBAAgB,EAAE,SAAS,EAAE;YACxD,QAAQ,EAAE,CAAC,MAAM;SAClB,CAAC;AAHF,CAGE,EACF,UAAC,EAAY;QAAX,EAAE,QAAA,EAAE,MAAM,YAAA;IACZ,OAAA,EAAE,IAAI,CAAC,MAAM,IAAI,eAAe,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE;AAApE,CAAoE,EACpE,YAAY,EAAE,CACjB,CAAC;AAEF,OAAO,EAAC,eAAe,IAAI,SAAS,EAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { LogicalProps } from '../utils/logical-properties';
|
|
2
3
|
import { MQ } from '../utils/style';
|
|
3
|
-
export interface TextBlockProps extends React.HTMLAttributes<HTMLElement
|
|
4
|
+
export interface TextBlockProps extends React.HTMLAttributes<HTMLElement>, LogicalProps {
|
|
4
5
|
typographyPreset?: MQ<string>;
|
|
5
6
|
stylePreset?: MQ<string>;
|
|
6
7
|
noCrop?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/text-block/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/text-block/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,MAAM,WAAW,cACf,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EACvC,YAAY;IACd,gBAAgB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IAC9B,WAAW,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,GAAG,KAAK,GAAG,MAAM,CAAC;CACrE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextFieldProps } from './types';
|
|
3
|
-
export declare const TextField:
|
|
3
|
+
export declare const TextField: import("../utils/with-own-theme").NewsKitReactComponents<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
4
4
|
//# sourceMappingURL=text-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-field.d.ts","sourceRoot":"","sources":["../../../src/text-field/text-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,cAAc,EAAgB,MAAM,SAAS,CAAC;AAoGtD,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"text-field.d.ts","sourceRoot":"","sources":["../../../src/text-field/text-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,cAAc,EAAgB,MAAM,SAAS,CAAC;AAoGtD,eAAO,MAAM,SAAS,kHAEpB,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextInputProps } from './types';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated This component has been deprecated and will be removed in a future release, use TextField instead
|
|
5
|
+
*/
|
|
6
|
+
export declare const TextInput: import("../utils/with-own-theme").NewsKitReactComponents<TextInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
4
7
|
//# sourceMappingURL=text-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-input.d.ts","sourceRoot":"","sources":["../../../src/text-input/text-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAC,cAAc,EAAgB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"text-input.d.ts","sourceRoot":"","sources":["../../../src/text-input/text-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAC,cAAc,EAAgB,MAAM,SAAS,CAAC;AAiNtD;;GAEG;AACH,eAAO,MAAM,SAAS,kHAGpB,CAAC"}
|
|
@@ -24,7 +24,7 @@ import React, { useEffect, useContext } from 'react';
|
|
|
24
24
|
import { useFormContext } from 'react-hook-form';
|
|
25
25
|
import composeRefs from '@seznam/compose-react-refs';
|
|
26
26
|
import { TextInputSize } from './types';
|
|
27
|
-
import {
|
|
27
|
+
import { useReactKeys } from '../utils/hooks';
|
|
28
28
|
import { FormValidationContext } from '../form/context';
|
|
29
29
|
import { StyledTextInputContainer, StyledInput, StyledAssistiveText, StyledLabel, InputIconContainer, IconContainer, StyledAssistiveTextContainer, } from './styled';
|
|
30
30
|
import { getToken } from '../utils/get-token';
|
|
@@ -33,9 +33,6 @@ import { IconFilledCheckCircle, IconFilledError } from '../icons';
|
|
|
33
33
|
import defaults from './defaults';
|
|
34
34
|
import stylePresets from './style-presets';
|
|
35
35
|
import { withOwnTheme } from '../utils/with-own-theme';
|
|
36
|
-
/**
|
|
37
|
-
* @deprecated This component has been deprecated and will be removed in a future release, use TextField instead
|
|
38
|
-
*/
|
|
39
36
|
var ThemelessTextInput = React.forwardRef(function (_a, ref) {
|
|
40
37
|
var _b, _c;
|
|
41
38
|
var _d = _a.overrides, overrides = _d === void 0 ? {} : _d, _e = _a.size, size = _e === void 0 ? TextInputSize.Medium : _e, label = _a.label, disabled = _a.disabled, icon = _a.icon, _f = _a.hideLabel, hideLabel = _f === void 0 ? false : _f, ariaLabel = _a.ariaLabel, placeholder = _a.placeholder, assistiveText = _a.assistiveText, rules = _a.rules, name = _a.name, _g = _a.spellCheck, spellCheck = _g === void 0 ? false : _g, props = __rest(_a, ["overrides", "size", "label", "disabled", "icon", "hideLabel", "ariaLabel", "placeholder", "assistiveText", "rules", "name", "spellCheck"]);
|
|
@@ -57,7 +54,7 @@ var ThemelessTextInput = React.forwardRef(function (_a, ref) {
|
|
|
57
54
|
}
|
|
58
55
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
59
56
|
}, [errorText, hadError, name]);
|
|
60
|
-
var id =
|
|
57
|
+
var id = useReactKeys(1)[0];
|
|
61
58
|
var assistiveTextId = (errorText && "".concat(id, "-error-text")) ||
|
|
62
59
|
(assistiveText && "".concat(id, "-assistive-text"));
|
|
63
60
|
var validationIconSize = getToken({ theme: theme, overrides: overrides }, "textInput.".concat(size, ".input.validationIcon"), 'input.validationIcon', 'iconSize');
|
|
@@ -67,14 +64,14 @@ var ThemelessTextInput = React.forwardRef(function (_a, ref) {
|
|
|
67
64
|
if (onBlur) {
|
|
68
65
|
onBlur(e);
|
|
69
66
|
}
|
|
70
|
-
//
|
|
67
|
+
// custom onBlur function
|
|
71
68
|
if (validationMode === 'onBlur' &&
|
|
72
69
|
!hadError &&
|
|
73
70
|
name &&
|
|
74
71
|
(errorText || e.target.value)) {
|
|
75
72
|
var updateForFieldsHadError = {};
|
|
76
73
|
updateForFieldsHadError[name] = { hadError: true };
|
|
77
|
-
setFieldsHadError(updateForFieldsHadError);
|
|
74
|
+
setFieldsHadError(__assign(__assign({}, fieldsHadError), updateForFieldsHadError));
|
|
78
75
|
}
|
|
79
76
|
// onBlur function passed in the props
|
|
80
77
|
if (props.onBlur) {
|
|
@@ -107,6 +104,9 @@ var ThemelessTextInput = React.forwardRef(function (_a, ref) {
|
|
|
107
104
|
React.createElement(StyledAssistiveTextContainer, { "$size": size, overrides: overrides }, (assistiveText || errorText) && !valid && (React.createElement(StyledAssistiveText, { "$size": size, id: assistiveTextId, disabled: disabled, overrides: overrides, invalid: !!errorText, valid: valid, role: errorText && 'alert', "aria-live": errorText && 'polite' }, errorText || assistiveText)))));
|
|
108
105
|
});
|
|
109
106
|
ThemelessTextInput.displayName = 'TextInput';
|
|
107
|
+
/**
|
|
108
|
+
* @deprecated This component has been deprecated and will be removed in a future release, use TextField instead
|
|
109
|
+
*/
|
|
110
110
|
export var TextInput = withOwnTheme(ThemelessTextInput)({
|
|
111
111
|
defaults: defaults,
|
|
112
112
|
stylePresets: stylePresets,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-input.js","sourceRoot":"","sources":["../../../src/text-input/text-input.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,OAAO,CAAC;AACnD,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAiB,aAAa,EAAC,MAAM,SAAS,CAAC;AACtD,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"text-input.js","sourceRoot":"","sources":["../../../src/text-input/text-input.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,OAAO,CAAC;AACnD,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAiB,aAAa,EAAC,MAAM,SAAS,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,qBAAqB,EAAC,MAAM,iBAAiB,CAAC;AAEtD,OAAO,EACL,wBAAwB,EACxB,WAAW,EACX,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,4BAA4B,GAC7B,MAAM,UAAU,CAAC;AAClB,OAAO,EAAC,QAAQ,EAAC,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAC,QAAQ,EAAC,MAAM,UAAU,CAAC;AAClC,OAAO,EAAC,qBAAqB,EAAE,eAAe,EAAC,MAAM,UAAU,CAAC;AAEhE,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAA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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/theme/compiler/index.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/theme/compiler/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,KAAK,EAAE,eAAe,EAAC,MAAM,UAAU,CAAC;AAChD,OAAO,EAAC,oBAAoB,EAAC,MAAM,SAAS,CAAC;AAI7C,eAAO,MAAM,YAAY,UAChB,eAAe,GAAG,KAAK,YACrB,oBAAoB,KAC5B,KAsBF,CAAC"}
|
|
@@ -20,90 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
24
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
25
|
-
if (ar || !(i in from)) {
|
|
26
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
27
|
-
ar[i] = from[i];
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
31
|
-
};
|
|
32
|
-
import { get } from '../../utils/get';
|
|
33
23
|
import { generateInkStylePresets } from './ink-style-preset-generator';
|
|
34
|
-
import {
|
|
35
|
-
var parseTokens = function (str) {
|
|
36
|
-
if (typeof str !== 'string') {
|
|
37
|
-
return [];
|
|
38
|
-
}
|
|
39
|
-
var result = [];
|
|
40
|
-
var res;
|
|
41
|
-
var regex = /{{([a-z0-9.]+)}}/gi;
|
|
42
|
-
// eslint-disable-next-line no-cond-assign
|
|
43
|
-
while ((res = regex.exec(str))) {
|
|
44
|
-
result.push(res[1]);
|
|
45
|
-
}
|
|
46
|
-
return result;
|
|
47
|
-
};
|
|
48
|
-
var parseAndGet = function (theme, value, errorLogger, stack) {
|
|
49
|
-
if (stack === void 0) { stack = []; }
|
|
50
|
-
if (stack.length > 4) {
|
|
51
|
-
errorLogger("Recursive loop detected, token stack: \"".concat(stack.join('", "'), "\"!"));
|
|
52
|
-
return '';
|
|
53
|
-
}
|
|
54
|
-
var tokens = parseTokens(value);
|
|
55
|
-
if (tokens.length) {
|
|
56
|
-
return tokens.reduce(function (result, tokenPath) {
|
|
57
|
-
var tokenValue = get(theme, tokenPath);
|
|
58
|
-
if (typeof tokenValue === 'undefined') {
|
|
59
|
-
errorLogger("Theme token \"".concat(tokenPath, "\" was not found when compiling theme!"));
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
62
|
-
// We recurse down with that token value to support things like colors
|
|
63
|
-
// e.g. (border color = interactiveNegative010 = red010 = #ff0000).
|
|
64
|
-
tokenValue = parseAndGet(theme, tokenValue, errorLogger, __spreadArray([
|
|
65
|
-
tokenPath
|
|
66
|
-
], stack, true));
|
|
67
|
-
}
|
|
68
|
-
return tokens.length > 1
|
|
69
|
-
? result.replace("{{".concat(tokenPath, "}}"), tokenValue)
|
|
70
|
-
: // eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
71
|
-
recurseUnknown(theme, tokenValue, errorLogger);
|
|
72
|
-
}, value);
|
|
73
|
-
}
|
|
74
|
-
// Not a token, return as is (e.g. hex code or px value).
|
|
75
|
-
return value;
|
|
76
|
-
};
|
|
77
|
-
var recurseUnknown = function (theme, value, errorLogger) {
|
|
78
|
-
if (typeof value === 'function') {
|
|
79
|
-
// Evaluation function, e.g. for calculating line height, run function and pass it the theme.
|
|
80
|
-
var fResult = value(theme);
|
|
81
|
-
// Result could be an object (with tokens), so recursively compile.
|
|
82
|
-
return recurseUnknown(theme, fResult, errorLogger);
|
|
83
|
-
}
|
|
84
|
-
if (typeof value === 'object' && !Array.isArray(value)) {
|
|
85
|
-
// Nested object, recurse down
|
|
86
|
-
return Object.entries(value).reduce(function (acc, _a) {
|
|
87
|
-
var k = _a[0], v = _a[1];
|
|
88
|
-
// Key could be a token, e.g. cropAdjustments fonts object
|
|
89
|
-
var key = parseAndGet(theme, k, errorLogger);
|
|
90
|
-
if (key === '__extends' || key === '__deepExtends') {
|
|
91
|
-
var extendsObjects = (typeof v === 'string' ? [v] : v).map(function (extendsToken) {
|
|
92
|
-
return parseAndGet(theme, extendsToken, errorLogger);
|
|
93
|
-
});
|
|
94
|
-
var mergeFn = key === '__deepExtends' ? deepMerge : Object.assign.bind(Object);
|
|
95
|
-
return mergeFn.apply(void 0, __spreadArray([{}, acc], extendsObjects, false));
|
|
96
|
-
}
|
|
97
|
-
acc[key] = recurseUnknown(theme, v, errorLogger);
|
|
98
|
-
if (acc[key] === '__delete') {
|
|
99
|
-
delete acc[key];
|
|
100
|
-
}
|
|
101
|
-
return acc;
|
|
102
|
-
}, {});
|
|
103
|
-
}
|
|
104
|
-
// Anything else, probably string, parse and get the token value
|
|
105
|
-
return parseAndGet(theme, value, errorLogger);
|
|
106
|
-
};
|
|
24
|
+
import { recurseUnknown } from '../../utils/recurse-unknown';
|
|
107
25
|
export var compileTheme = function (theme, options) {
|
|
108
26
|
if (options === void 0) { options = {}; }
|
|
109
27
|
if (!theme || theme.compiled === true) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/compiler/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/theme/compiler/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAGA,OAAO,EAAC,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAC,cAAc,EAAC,MAAM,6BAA6B,CAAC;AAE3D,MAAM,CAAC,IAAM,YAAY,GAAG,UAC1B,KAA8B,EAC9B,OAAkC;IAAlC,wBAAA,EAAA,YAAkC;IAElC,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,QAAQ,KAAK,IAAI,EAAE;QACrC,OAAO,KAAK,CAAC;KACd;IAED,sCAAsC;IACtC,IAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAEvE,IAAM,eAAe,yBAChB,KAAK,KACR,YAAY,wBACP,KAAK,CAAC,YAAY,GAClB,uBAAuB,CAAC,KAAK,CAAC,IAEpC,CAAC;IAEK,IAAA,KAAgC,eAAe,MAArC,EAAV,KAAK,mBAAG,EAAE,KAAA,EAAK,aAAa,UAAI,eAAe,EAAhD,SAA8B,CAAD,CAAoB;IACvD,6BACM,cAAc,CAAC,eAAe,EAAE,aAAa,EAAE,WAAW,CAAS,KACvE,KAAK,OAAA,EACL,QAAQ,EAAE,IAAI,IACd;AACJ,CAAC,CAAC"}
|
|
@@ -52,4 +52,12 @@ stylePresets.inputField = {
|
|
|
52
52
|
backgroundColor: '{{colors.interactiveInput010}}',
|
|
53
53
|
},
|
|
54
54
|
};
|
|
55
|
+
stylePresets.controlLabel = {
|
|
56
|
+
base: {
|
|
57
|
+
color: '{{colors.inkBase}}',
|
|
58
|
+
},
|
|
59
|
+
disabled: {
|
|
60
|
+
color: '{{colors.inkNonEssential}}',
|
|
61
|
+
},
|
|
62
|
+
};
|
|
55
63
|
//# sourceMappingURL=style-presets.js.map
|