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/toast/toast.d.ts
CHANGED
package/esm/toast/toast.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/toast/toast.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/toast/toast.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,SAAS,CAAC;AAqFnC,eAAO,MAAM,KAAK,sEAAyD,CAAC"}
|
package/esm/toast/toast.js
CHANGED
|
@@ -30,6 +30,7 @@ import { splitAriaProps } from '../utils/a11y';
|
|
|
30
30
|
import defaults from './defaults';
|
|
31
31
|
import stylePresets from './style-presets';
|
|
32
32
|
import { withOwnTheme } from '../utils/with-own-theme';
|
|
33
|
+
import { childrenIsString } from '../utils/react-children-utilities';
|
|
33
34
|
var ThemelessToast = function (_a) {
|
|
34
35
|
var overrides = _a.overrides, children = _a.children, icon = _a.icon, actions = _a.actions, title = _a.title, _b = _a.ariaLive, ariaLive = _b === void 0 ? 'polite' : _b, _c = _a.role, role = _c === void 0 ? 'status' : _c, restProps = __rest(_a, ["overrides", "children", "icon", "actions", "title", "ariaLive", "role"]);
|
|
35
36
|
var theme = useTheme();
|
|
@@ -40,11 +41,7 @@ var ThemelessToast = function (_a) {
|
|
|
40
41
|
icon && (React.createElement(StyledIconContainer, { "aria-hidden": "true", overrides: overrides }, icon)),
|
|
41
42
|
React.createElement(StyledContentContainer, __assign({ role: role, "aria-live": ariaLive }, aria, { overrides: overrides, actions: actions }),
|
|
42
43
|
title && (React.createElement(StyledTitleContainer, { overrides: overrides }, title)),
|
|
43
|
-
React.createElement(StyledMessageContainer, { overrides: overrides, as:
|
|
44
|
-
(Array.isArray(children) &&
|
|
45
|
-
children.some(function (child) { return typeof child === 'string'; }))
|
|
46
|
-
? 'p'
|
|
47
|
-
: 'div' }, children))),
|
|
44
|
+
React.createElement(StyledMessageContainer, { overrides: overrides, as: childrenIsString(children) ? 'p' : 'div' }, children))),
|
|
48
45
|
actions && (React.createElement(StyledDividerContainer, { overrides: overrides },
|
|
49
46
|
React.createElement(Divider, { vertical: true, overrides: dividerOverrides }))),
|
|
50
47
|
actions && (React.createElement(StyledActionsContainer, null, renderIfReactComponent(actions)))));
|
package/esm/toast/toast.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.js","sourceRoot":"","sources":["../../../src/toast/toast.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,OAAO,EAAmB,MAAM,YAAY,CAAC;AACrD,OAAO,EAAC,sBAAsB,EAAC,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,UAAU,CAAC;AAClB,OAAO,EAAC,QAAQ,EAAC,MAAM,UAAU,CAAC;AAClC,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAC,YAAY,EAAC,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"toast.js","sourceRoot":"","sources":["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AAO,CACL,oBAAC,oBAAoB,4BACP,iBAAiB,EAC7B,SAAS,EAAE,SAAS,IAChB,IAAI;QAER,oBAAC,yBAAyB;YACvB,IAAI,IAAI,CACP,oBAAC,mBAAmB,mBAAa,MAAM,EAAC,SAAS,EAAE,SAAS,IACzD,IAAI,CACe,CACvB;YACD,oBAAC,sBAAsB,aACrB,IAAI,EAAE,IAAI,eACC,QAAQ,IACf,IAAI,IACR,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO;gBAEf,KAAK,IAAI,CACR,oBAAC,oBAAoB,IAAC,SAAS,EAAE,SAAS,IACvC,KAAK,CACe,CACxB;gBACD,oBAAC,sBAAsB,IACrB,SAAS,EAAE,SAAS,EACpB,EAAE,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,IAE3C,QAAQ,CACc,CACF,CACC;QAC3B,OAAO,IAAI,CACV,oBAAC,sBAAsB,IAAC,SAAS,EAAE,SAAS;YAC1C,oBAAC,OAAO,IAAC,QAAQ,QAAC,SAAS,EAAE,gBAAgB,GAAI,CAC1B,CAC1B;QACA,OAAO,IAAI,CACV,oBAAC,sBAAsB,QACpB,sBAAsB,CAAC,OAAO,CAAC,CACT,CAC1B,CACoB,CACxB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,KAAK,GAAG,YAAY,CAAC,cAAc,CAAC,CAAC,EAAC,QAAQ,UAAA,EAAE,YAAY,cAAA,EAAC,CAAC,CAAC"}
|
|
@@ -6,51 +6,51 @@ export declare type HeadingOverrides = {
|
|
|
6
6
|
typographyPreset?: MQ<string>;
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
-
export declare const Heading1: import("
|
|
9
|
+
export declare const Heading1: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
10
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
11
|
as?: import("react").ElementType<any> | undefined;
|
|
12
12
|
} & HeadingOverrides & import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement>>;
|
|
13
|
-
export declare const H1: import("
|
|
13
|
+
export declare const H1: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
14
14
|
theme?: import("@emotion/react").Theme | undefined;
|
|
15
15
|
as?: import("react").ElementType<any> | undefined;
|
|
16
16
|
} & HeadingOverrides & import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement>>;
|
|
17
|
-
export declare const Heading2: import("
|
|
17
|
+
export declare const Heading2: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
18
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
19
|
as?: import("react").ElementType<any> | undefined;
|
|
20
20
|
} & HeadingOverrides & import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement>>;
|
|
21
|
-
export declare const H2: import("
|
|
21
|
+
export declare const H2: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
22
22
|
theme?: import("@emotion/react").Theme | undefined;
|
|
23
23
|
as?: import("react").ElementType<any> | undefined;
|
|
24
24
|
} & HeadingOverrides & import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement>>;
|
|
25
|
-
export declare const Heading3: import("
|
|
25
|
+
export declare const Heading3: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
26
26
|
theme?: import("@emotion/react").Theme | undefined;
|
|
27
27
|
as?: import("react").ElementType<any> | undefined;
|
|
28
28
|
} & HeadingOverrides & import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement>>;
|
|
29
|
-
export declare const H3: import("
|
|
29
|
+
export declare const H3: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
30
30
|
theme?: import("@emotion/react").Theme | undefined;
|
|
31
31
|
as?: import("react").ElementType<any> | undefined;
|
|
32
32
|
} & HeadingOverrides & import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement>>;
|
|
33
|
-
export declare const Heading4: import("
|
|
33
|
+
export declare const Heading4: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
34
34
|
theme?: import("@emotion/react").Theme | undefined;
|
|
35
35
|
as?: import("react").ElementType<any> | undefined;
|
|
36
36
|
} & HeadingOverrides & import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement>>;
|
|
37
|
-
export declare const H4: import("
|
|
37
|
+
export declare const H4: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
38
38
|
theme?: import("@emotion/react").Theme | undefined;
|
|
39
39
|
as?: import("react").ElementType<any> | undefined;
|
|
40
40
|
} & HeadingOverrides & import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement>>;
|
|
41
|
-
export declare const Heading5: import("
|
|
41
|
+
export declare const Heading5: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
42
42
|
theme?: import("@emotion/react").Theme | undefined;
|
|
43
43
|
as?: import("react").ElementType<any> | undefined;
|
|
44
44
|
} & HeadingOverrides & import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement>>;
|
|
45
|
-
export declare const H5: import("
|
|
45
|
+
export declare const H5: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
46
46
|
theme?: import("@emotion/react").Theme | undefined;
|
|
47
47
|
as?: import("react").ElementType<any> | undefined;
|
|
48
48
|
} & HeadingOverrides & import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement>>;
|
|
49
|
-
export declare const Heading6: import("
|
|
49
|
+
export declare const Heading6: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
50
50
|
theme?: import("@emotion/react").Theme | undefined;
|
|
51
51
|
as?: import("react").ElementType<any> | undefined;
|
|
52
52
|
} & HeadingOverrides & import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement>>;
|
|
53
|
-
export declare const H6: import("
|
|
53
|
+
export declare const H6: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
54
54
|
theme?: import("@emotion/react").Theme | undefined;
|
|
55
55
|
as?: import("react").ElementType<any> | undefined;
|
|
56
56
|
} & HeadingOverrides & import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement>>;
|
|
@@ -13,11 +13,11 @@ export interface ParagraphProps {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
export declare const ParagraphText:
|
|
16
|
+
export declare const ParagraphText: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
17
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
18
18
|
as?: React.ElementType<any> | undefined;
|
|
19
19
|
} & ParagraphProps & React.ClassAttributes<HTMLParagraphElement> & React.HTMLAttributes<HTMLParagraphElement>>;
|
|
20
|
-
export declare const ParagraphDropCap:
|
|
20
|
+
export declare const ParagraphDropCap: import("../../utils/with-own-theme").NewsKitReactComponents<{
|
|
21
21
|
theme?: import("@emotion/react").Theme | undefined;
|
|
22
22
|
as?: React.ElementType<any> | undefined;
|
|
23
23
|
} & ParagraphProps & React.ClassAttributes<HTMLSpanElement> & React.HTMLAttributes<HTMLSpanElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { UnorderedListProps } from './types';
|
|
3
|
-
export declare const UnorderedList:
|
|
2
|
+
export declare const UnorderedList: import("../utils/with-own-theme").NewsKitReactComponents<UnorderedListProps>;
|
|
4
3
|
//# sourceMappingURL=unordered-list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unordered-list.d.ts","sourceRoot":"","sources":["../../../src/unordered-list/unordered-list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"unordered-list.d.ts","sourceRoot":"","sources":["../../../src/unordered-list/unordered-list.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AA0F3C,eAAO,MAAM,aAAa,8EAExB,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { isValidNode } from '../utils/component';
|
|
3
|
-
import { getSSRId } from '../utils/get-ssr-id';
|
|
4
3
|
import { TextBlock } from '../text-block';
|
|
5
4
|
import { useTheme } from '../theme';
|
|
6
5
|
import { getToken } from '../utils/get-token';
|
|
@@ -19,7 +18,7 @@ var ThemelessUnorderedList = function (_a) {
|
|
|
19
18
|
return (React.createElement(StyledUl, { role: "list" }, React.Children.map(children, function (node) {
|
|
20
19
|
if (!isValidNode(node))
|
|
21
20
|
return null;
|
|
22
|
-
return (React.createElement(StyledListItem,
|
|
21
|
+
return (React.createElement(StyledListItem, null,
|
|
23
22
|
React.createElement(StyledBlock, { spaceStack: itemSpaceToken },
|
|
24
23
|
ListItemMarker && (React.createElement(StyledMarkerBlock, { spaceInline: markerSpaceToken, "aria-hidden": "true", markerAlign: markerAlign },
|
|
25
24
|
React.createElement(ListItemMarker, { overrides: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unordered-list.js","sourceRoot":"","sources":["../../../src/unordered-list/unordered-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"unordered-list.js","sourceRoot":"","sources":["../../../src/unordered-list/unordered-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AAExC,OAAO,EAAC,QAAQ,EAAC,MAAM,UAAU,CAAC;AAClC,OAAO,EAAC,QAAQ,EAAC,MAAM,o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,UAAA,IAAI;QAChC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;YAAE,OAAO,IAAI,CAAC;QAEpC,OAAO,CACL,oBAAC,cAAc;YACb,oBAAC,WAAW,IAAC,UAAU,EAAE,cAAc;gBACpC,cAAc,IAAI,CACjB,oBAAC,iBAAiB,IAChB,WAAW,EAAE,gBAAgB,iBACjB,MAAM,EAClB,WAAW,EAAE,WAAW;oBAExB,oBAAC,cAAc,IACb,SAAS,EAAE;4BACT,IAAI,EAAE,eAAe;4BACrB,WAAW,EAAE,sBAAsB;yBACpC,GACD,CACgB,CACrB;gBACD,oBAAC,SAAS,IACR,gBAAgB,EAAE,4BAA4B,EAC9C,WAAW,EAAE,uBAAuB,IAEnC,IAAI,CACK,CACA,CACC,CAClB,CAAC;IACJ,CAAC,CAAC,CACO,CACZ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,IAAM,aAAa,GAAG,YAAY,CAAC,sBAAsB,CAAC,CAAC;IAChE,QAAQ,UAAA;CACT,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compose-event-handlers.d.ts","sourceRoot":"","sources":["../../../src/utils/compose-event-handlers.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,oBAAoB,eAAe,GAAG,EAAE,aAAkB,GAAG,SAMzE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2
|
+
export var composeEventHandlers = function (listeners) {
|
|
3
|
+
if (listeners === void 0) { listeners = []; }
|
|
4
|
+
return function (event) {
|
|
5
|
+
listeners.forEach(function (listener) {
|
|
6
|
+
if (typeof listener === 'function') {
|
|
7
|
+
listener(event);
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=compose-event-handlers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compose-event-handlers.js","sourceRoot":"","sources":["../../../src/utils/compose-event-handlers.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,MAAM,CAAC,IAAM,oBAAoB,GAAG,UAAC,SAAqB;IAArB,0BAAA,EAAA,cAAqB;IAAK,OAAA,UAAC,KAAU;QACxE,SAAS,CAAC,OAAO,CAAC,UAAA,QAAQ;YACxB,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;gBAClC,QAAQ,CAAC,KAAK,CAAC,CAAC;aACjB;QACH,CAAC,CAAC,CAAC;IACL,CAAC;AAN8D,CAM9D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transition-duration.d.ts","sourceRoot":"","sources":["../../../src/utils/get-transition-duration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-transition-duration.d.ts","sourceRoot":"","sources":["../../../src/utils/get-transition-duration.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AAGxC,aAAK,WAAW,GAAG;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,CAAC;AAEjE,eAAO,MAAM,sBAAsB,uBAAwB,MAAM,WAmBhE,CAAC;AA4EF,eAAO,MAAM,8BAA8B,eAC7B,MAAM,GAAG,MAAM,EAAE,aAClB,SAAS,GAAG;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAC,gBAK7C,CAAC;AAIF,eAAO,MAAM,qBAAqB,2FAGrB,SAAS,GAAG;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAC,gBAmC7C,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getToken } from './get-token';
|
|
2
|
+
import { isResponsive } from './responsive-helpers';
|
|
2
3
|
import { isArrayLikeObject, unifyTransition } from './style/utils';
|
|
3
4
|
export var getMotionDurationValue = function (transitionDuration) {
|
|
4
5
|
var splitStr = transitionDuration.split(/(\d+)/);
|
|
@@ -77,10 +78,26 @@ export var getTransitionDurationFromTheme = function (themeToken) { return funct
|
|
|
77
78
|
var tokensArray = typeof themeToken === 'string' ? [themeToken] : themeToken;
|
|
78
79
|
return extractDurationFromPreset(tokensArray, props.theme);
|
|
79
80
|
}; };
|
|
81
|
+
// getTransitionDuration is passed to timeout in CSSTransitions which defines the entire timeframe of the transition.
|
|
82
|
+
// Reduced motion is not added here because it has no visual changes and might cause issues in rendering transitions.
|
|
80
83
|
export var getTransitionDuration = function (defaultPath, overridePath) { return function (props) {
|
|
81
84
|
var token = getToken(props, defaultPath, overridePath, 'transitionPreset');
|
|
82
85
|
if (!token)
|
|
83
86
|
return { enter: 0, exit: 0, appear: 0 };
|
|
87
|
+
if (isResponsive(token, props.theme.breakpoints)) {
|
|
88
|
+
return Object.entries(token).reduce(function (acc, _a) {
|
|
89
|
+
var transitionPresetToken = _a[1];
|
|
90
|
+
var tokensArray = isArrayLikeObject(transitionPresetToken)
|
|
91
|
+
? Object.values(transitionPresetToken)
|
|
92
|
+
: [transitionPresetToken];
|
|
93
|
+
var currentDuration = extractDurationFromPreset(tokensArray, props.theme);
|
|
94
|
+
return {
|
|
95
|
+
appear: Math.max(currentDuration.appear, acc.appear),
|
|
96
|
+
enter: Math.max(currentDuration.enter, acc.enter),
|
|
97
|
+
exit: Math.max(currentDuration.exit, acc.exit),
|
|
98
|
+
};
|
|
99
|
+
}, { enter: 0, exit: 0, appear: 0 });
|
|
100
|
+
}
|
|
84
101
|
var tokensArray = isArrayLikeObject(token)
|
|
85
102
|
? Object.values(token)
|
|
86
103
|
: [token];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transition-duration.js","sourceRoot":"","sources":["../../../src/utils/get-transition-duration.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"get-transition-duration.js","sourceRoot":"","sources":["../../../src/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:
|
|
4
|
-
}
|
|
1
|
+
export interface UseControlledProps<T = unknown> {
|
|
2
|
+
controlledValue: T | undefined;
|
|
3
|
+
defaultValue: T | undefined;
|
|
4
|
+
}
|
|
5
|
+
export declare function useControlled<T = unknown>({ controlledValue, defaultValue, }: UseControlledProps<T>): [T | undefined, (state: T) => void];
|
|
5
6
|
//# sourceMappingURL=use-controlled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-controlled.d.ts","sourceRoot":"","sources":["../../../../src/utils/hooks/use-controlled.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"use-controlled.d.ts","sourceRoot":"","sources":["../../../../src/utils/hooks/use-controlled.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,OAAO;IAC7C,eAAe,EAAE,CAAC,GAAG,SAAS,CAAC;IAC/B,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;CAC7B;AAED,wBAAgB,aAAa,CAAC,CAAC,GAAG,OAAO,EAAE,EACzC,eAAe,EACf,YAAY,GACb,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC,CAe7D"}
|
|
@@ -3,7 +3,7 @@ export function useControlled(_a) {
|
|
|
3
3
|
var controlledValue = _a.controlledValue, defaultValue = _a.defaultValue;
|
|
4
4
|
var isControlled = React.useRef(controlledValue !== undefined).current;
|
|
5
5
|
var _b = React.useState(defaultValue), valueState = _b[0], setValue = _b[1];
|
|
6
|
-
var value =
|
|
6
|
+
var value = isControlled ? controlledValue : valueState;
|
|
7
7
|
var setValueIfUncontrolled = React.useCallback(function (newValue) {
|
|
8
8
|
if (!isControlled) {
|
|
9
9
|
setValue(newValue);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-controlled.js","sourceRoot":"","sources":["../../../../src/utils/hooks/use-controlled.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"use-controlled.js","sourceRoot":"","sources":["../../../../src/utils/hooks/use-controlled.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,MAAM,UAAU,aAAa,CAAc,EAGnB;QAFtB,eAAe,qBAAA,EACf,YAAY,kBAAA;IAEL,IAAS,YAAY,GAAI,KAAK,CAAC,MAAM,CAAC,eAAe,KAAK,SAAS,CAAC,QAA/C,CAAgD;IACtE,IAAA,KAAyB,KAAK,CAAC,QAAQ,CAAC,YAAY,CAAC,EAApD,UAAU,QAAA,EAAE,QAAQ,QAAgC,CAAC;IAC5D,IAAM,KAAK,GAAG,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,UAAU,CAAC;IAE1D,IAAM,sBAAsB,GAAG,KAAK,CAAC,WAAW,CAC9C,UAAA,QAAQ;QACN,IAAI,CAAC,YAAY,EAAE;YACjB,QAAQ,CAAC,QAAQ,CAAC,CAAC;SACpB;IACH,CAAC,EACD,CAAC,YAAY,CAAC,CACf,CAAC;IAEF,OAAO,CAAC,KAAK,EAAE,sBAAsB,CAAC,CAAC;AACzC,CAAC"}
|
|
@@ -3,7 +3,8 @@ interface Options {
|
|
|
3
3
|
enabled?: boolean;
|
|
4
4
|
eventType?: 'keydown' | 'keyup';
|
|
5
5
|
target?: RefObject<HTMLElement>;
|
|
6
|
+
preventDefault?: boolean;
|
|
6
7
|
}
|
|
7
|
-
export declare const useKeypress: (key: string, action: ((e: KeyboardEvent) => void) | undefined, opts?: Options | undefined) => void;
|
|
8
|
+
export declare const useKeypress: (key: string | string[], action: ((e: KeyboardEvent) => void) | undefined, opts?: Options | undefined) => void;
|
|
8
9
|
export {};
|
|
9
10
|
//# sourceMappingURL=use-keypress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-keypress.d.ts","sourceRoot":"","sources":["../../../../src/utils/hooks/use-keypress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"use-keypress.d.ts","sourceRoot":"","sources":["../../../../src/utils/hooks/use-keypress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAoB,MAAM,OAAO,CAAC;AAGnD,UAAU,OAAO;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAChC,MAAM,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AA0ED,eAAO,MAAM,WAAW,QACjB,MAAM,GAAG,MAAM,EAAE,eACT,aAAa,KAAK,IAAI,kDA+EpC,CAAC"}
|
|
@@ -9,61 +9,131 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
ArrowLeft: ['Left', 'ArrowLeft'],
|
|
21
|
-
ArrowRight: ['Right', 'ArrowRight'],
|
|
22
|
-
ArrowUp: ['Up', 'ArrowUp'],
|
|
23
|
-
' ': ['Spacebar', ' '],
|
|
24
|
-
'.': ['Decimal', '.'],
|
|
25
|
-
'*': ['Multiply', '*'],
|
|
26
|
-
'+': ['Add', '+'],
|
|
27
|
-
'-': ['Subtract', '-'],
|
|
28
|
-
'/': ['Divide', '/'],
|
|
29
|
-
Meta: ['Win', 'Meta'],
|
|
30
|
-
CrSel: ['Crsel', 'CrSel'],
|
|
31
|
-
ExSel: ['Exsel', 'ExSel'],
|
|
32
|
-
ContextMenu: ['Apps', 'ContextMenu'],
|
|
12
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
13
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
14
|
+
if (ar || !(i in from)) {
|
|
15
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
16
|
+
ar[i] = from[i];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
33
20
|
};
|
|
21
|
+
import { useEffect, useRef } from 'react';
|
|
22
|
+
import { composeEventHandlers } from '../compose-event-handlers';
|
|
34
23
|
var isKeyboardEvent = function (event) {
|
|
35
24
|
return 'key' in event;
|
|
36
25
|
};
|
|
26
|
+
/*
|
|
27
|
+
This store together with addEventIfNotExist and removeEvent track if the event with the same
|
|
28
|
+
keyShortcut is already attached to the element. This is needed to prevent adding the same event twice.
|
|
29
|
+
|
|
30
|
+
In context of audio-player if you add 2 buttons for SkipBackward with same
|
|
31
|
+
keyShortcut it will attach event only for the first one.
|
|
32
|
+
*/
|
|
33
|
+
var eventsStore = new WeakMap();
|
|
34
|
+
var addEventIfNotExist = function (_a) {
|
|
35
|
+
var element = _a.element, keyShortcut = _a.keyShortcut, keyUp = _a.keyUp, keyDown = _a.keyDown;
|
|
36
|
+
var attachedShortcuts = eventsStore.get(element);
|
|
37
|
+
var attachEvents = function () {
|
|
38
|
+
element.addEventListener('keydown', keyDown, false);
|
|
39
|
+
element.addEventListener('keyup', keyUp, false);
|
|
40
|
+
};
|
|
41
|
+
if (!attachedShortcuts) {
|
|
42
|
+
eventsStore.set(element, [keyShortcut]);
|
|
43
|
+
attachEvents();
|
|
44
|
+
}
|
|
45
|
+
else if (Array.isArray(attachedShortcuts) &&
|
|
46
|
+
attachedShortcuts.indexOf(keyShortcut) === -1) {
|
|
47
|
+
eventsStore.set(element, __spreadArray(__spreadArray([], attachedShortcuts, true), [keyShortcut], false));
|
|
48
|
+
attachEvents();
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
var removeEvent = function (_a) {
|
|
52
|
+
var element = _a.element, keyShortcut = _a.keyShortcut, keyUp = _a.keyUp, keyDown = _a.keyDown;
|
|
53
|
+
var attachedShortcuts = eventsStore.get(element);
|
|
54
|
+
if (attachedShortcuts) {
|
|
55
|
+
eventsStore.set(element, attachedShortcuts.filter(function (shortcut) { return shortcut !== keyShortcut; }));
|
|
56
|
+
}
|
|
57
|
+
element.removeEventListener('keyup', keyUp, false);
|
|
58
|
+
element.removeEventListener('keydown', keyDown, false);
|
|
59
|
+
};
|
|
60
|
+
/*
|
|
61
|
+
In order to use multiple keys at once, you need to use keyDown and keyUp simultaneously.
|
|
62
|
+
- on KeyDown event, keys code is stored in a object ( keyStore )
|
|
63
|
+
- on KeyUp event, keys code is removed from the object
|
|
64
|
+
|
|
65
|
+
When the keyStore values match the key argument , the callback is called.
|
|
66
|
+
https://www.gavsblog.com/blog/detect-single-and-multiple-keypress-events-javascript
|
|
67
|
+
*/
|
|
37
68
|
export var useKeypress = function (key, action, opts) {
|
|
69
|
+
var keyStore = useRef({});
|
|
70
|
+
var keyLowerCase = (typeof key === 'string' ? [key] : key).map(function (k) {
|
|
71
|
+
return k.toLowerCase();
|
|
72
|
+
});
|
|
38
73
|
useEffect(function () {
|
|
39
74
|
var defaultOptions = {
|
|
40
75
|
enabled: true,
|
|
41
76
|
eventType: 'keyup',
|
|
77
|
+
preventDefault: true,
|
|
42
78
|
};
|
|
43
79
|
var options = __assign(__assign({}, defaultOptions), opts);
|
|
44
|
-
var enabled = options.enabled, eventType = options.eventType, target = options.target;
|
|
80
|
+
var enabled = options.enabled, eventType = options.eventType, target = options.target, preventDefault = options.preventDefault;
|
|
45
81
|
var handle = function (e) {
|
|
82
|
+
/* istanbul ignore if */
|
|
46
83
|
if (!isKeyboardEvent(e)) {
|
|
47
84
|
return;
|
|
48
85
|
}
|
|
49
86
|
if (e.defaultPrevented) {
|
|
50
87
|
return;
|
|
51
88
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
89
|
+
if (e.type === eventType) {
|
|
90
|
+
var pressedKey = Object.entries(keyStore.current)
|
|
91
|
+
.filter(function (_a) {
|
|
92
|
+
var value = _a[1];
|
|
93
|
+
return value;
|
|
94
|
+
})
|
|
95
|
+
.map(function (_a) {
|
|
96
|
+
var activeKey = _a[0];
|
|
97
|
+
return activeKey.toLowerCase();
|
|
98
|
+
})
|
|
99
|
+
.join(' + ');
|
|
100
|
+
var keyIsMatched = keyLowerCase.includes(pressedKey);
|
|
101
|
+
if (action && keyIsMatched) {
|
|
102
|
+
action(e);
|
|
103
|
+
if (preventDefault) {
|
|
104
|
+
e.preventDefault();
|
|
105
|
+
e.stopPropagation();
|
|
106
|
+
}
|
|
107
|
+
}
|
|
58
108
|
}
|
|
59
109
|
};
|
|
60
110
|
var targetNode = target && target.current ? target.current : document;
|
|
111
|
+
var addToStore = function (e) {
|
|
112
|
+
keyStore.current[e.key] = true;
|
|
113
|
+
};
|
|
114
|
+
var removeFromStore = function (e) {
|
|
115
|
+
delete keyStore.current[e.key];
|
|
116
|
+
};
|
|
117
|
+
var onKeyDown = composeEventHandlers([addToStore, handle]);
|
|
118
|
+
var onKeyUp = composeEventHandlers([handle, removeFromStore]);
|
|
61
119
|
if (enabled && typeof targetNode !== 'undefined') {
|
|
62
|
-
|
|
120
|
+
addEventIfNotExist({
|
|
121
|
+
element: targetNode,
|
|
122
|
+
keyShortcut: keyLowerCase.toString(),
|
|
123
|
+
keyUp: onKeyUp,
|
|
124
|
+
keyDown: onKeyDown,
|
|
125
|
+
});
|
|
63
126
|
}
|
|
64
127
|
return function () {
|
|
65
|
-
|
|
128
|
+
if (targetNode) {
|
|
129
|
+
removeEvent({
|
|
130
|
+
element: targetNode,
|
|
131
|
+
keyShortcut: keyLowerCase.toString(),
|
|
132
|
+
keyUp: onKeyUp,
|
|
133
|
+
keyDown: onKeyDown,
|
|
134
|
+
});
|
|
135
|
+
}
|
|
66
136
|
};
|
|
67
|
-
}, [
|
|
137
|
+
}, [keyLowerCase, action, opts]);
|
|
68
138
|
};
|
|
69
139
|
//# sourceMappingURL=use-keypress.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-keypress.js","sourceRoot":"","sources":["../../../../src/utils/hooks/use-keypress.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-keypress.js","sourceRoot":"","sources":["../../../../src/utils/hooks/use-keypress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AACnD,OAAO,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAS/D,IAAM,eAAe,GAAG,UAAC,KAAY;IACnC,OAAA,KAAK,IAAI,KAAK;AAAd,CAAc,CAAC;AAEjB;;;;;;EAME;AACF,IAAM,WAAW,GAAG,IAAI,OAAO,EAAoC,CAAC;AAEpE,IAAM,kBAAkB,GAAG,UAAC,EAU3B;QATC,OAAO,aAAA,EACP,WAAW,iBAAA,EACX,KAAK,WAAA,EACL,OAAO,aAAA;IAOP,IAAM,iBAAiB,GAAG,WAAW,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAEnD,IAAM,YAAY,GAAG;QACnB,OAAO,CAAC,gBAAgB,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;QACpD,OAAO,CAAC,gBAAgB,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;IAClD,CAAC,CAAC;IAEF,IAAI,CAAC,iBAAiB,EAAE;QACtB,WAAW,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;QACxC,YAAY,EAAE,CAAC;KAChB;SAAM,IACL,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC;QAChC,iBAAiB,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,EAC7C;QACA,WAAW,CAAC,GAAG,CAAC,OAAO,kCAAM,iBAAiB,UAAE,WA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S,GAAG,oBAAoB,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC;QAC7D,IAAM,OAAO,GAAG,oBAAoB,CAAC,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC;QAEhE,IAAI,OAAO,IAAI,OAAO,UAAU,KAAK,WAAW,EAAE;YAChD,kBAAkB,CAAC;gBACjB,OAAO,EAAE,UAAU;gBACnB,WAAW,EAAE,YAAY,CAAC,QAAQ,EAAE;gBACpC,KAAK,EAAE,OAAO;gBACd,OAAO,EAAE,SAAS;aACnB,CAAC,CAAC;SACJ;QAED,OAAO;YACL,IAAI,UAAU,EAAE;gBACd,WAAW,CAAC;oBACV,OAAO,EAAE,UAAU;oBACnB,WAAW,EAAE,YAAY,CAAC,QAAQ,EAAE;oBACpC,KAAK,EAAE,OAAO;oBACd,OAAO,EAAE,SAAS;iBACnB,CAAC,CAAC;aACJ;QACH,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACnC,CAAC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { NewsKitReactComponents } from '../../with-own-theme';
|
|
2
3
|
export declare const MQContext: React.Context<{}>;
|
|
3
4
|
export declare function MediaQueryProvider({ children }: {
|
|
4
5
|
children: React.ReactNode;
|
|
5
6
|
}): JSX.Element;
|
|
6
|
-
export declare const withMediaQueryProvider: <P extends {}>(BaseComponent: React.ComponentType<P>) =>
|
|
7
|
+
export declare const withMediaQueryProvider: <P extends {}>(BaseComponent: React.ComponentType<P>) => NewsKitReactComponents<P>;
|
|
7
8
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/utils/hooks/use-media-query/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/utils/hooks/use-media-query/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,sBAAsB,EAAC,MAAM,sBAAsB,CAAC;AAQ5D,eAAO,MAAM,SAAS,mBAA0B,CAAC;AAEjD,wBAAgB,kBAAkB,CAAC,EAAC,QAAQ,EAAC,EAAE;IAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAC,eAgEzE;AAED,eAAO,MAAM,sBAAsB,oFAUlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../src/utils/hooks/use-media-query/context.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAiB,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../src/utils/hooks/use-media-query/context.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAiB,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,SAAS,CAAC;AAEjB,MAAM,CAAC,IAAM,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;AAEjD,MAAM,UAAU,kBAAkB,CAAC,EAAuC;QAAtC,QAAQ,cAAA;IAC1C,IAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IAClB,IAAA,WAAW,GAAI,KAAK,YAAT,CAAU;IAC5B,IAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,WA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M,EAAE,SAAS,CAAC,CAAC;gBAEtC,mBAAmB,CAAC,IAAI,CAAC;oBACvB,MAAM,QAAA;oBACN,SAAS,WAAA;iBACV,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;SACJ;QAED,OAAO;YACL,mBAAmB,CAAC,OAAO,CAAC,UAAC,EAAmB;oBAAlB,MAAM,YAAA,EAAE,SAAS,eAAA;gBAC7C,qBAAqB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;YAC3C,CAAC,CAAC,CAAC;QACL,CAAC,CAAC;QACF,uDAAuD;IACzD,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,oBAAC,SAAS,CAAC,QAAQ,IAAC,KAAK,EAAE,eAAe,IAAG,QAAQ,CAAsB,CAC5E,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,IAAM,sBAAsB,GAAG,UACpC,aAAqC;IAErC,IAAM,gBAAgB,GAAG,KAAK,CAAC,UAAU,CAAa,UAAC,KAAK,EAAE,GAAG,IAAK,OAAA,CACpE,oBAAC,kBAAkB;QACjB,oBAAC,aAAa,aAAC,GAAG,EAAE,GAAG,IAAM,KAAK,EAAI,CACnB,CACtB,EAJqE,CAIrE,CAAC,CAAC;IAEH,OAAQ,gBAAyD,CAAC;AACpE,CAAC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CSSObject, MQ } from './style';
|
|
2
|
+
import { ThemeProp } from './style-types';
|
|
3
|
+
interface LogicalMargins {
|
|
4
|
+
marginInlineStart?: MQ<string>;
|
|
5
|
+
marginInlineEnd?: MQ<string>;
|
|
6
|
+
marginInline?: MQ<string>;
|
|
7
|
+
marginBlockStart?: MQ<string>;
|
|
8
|
+
marginBlockEnd?: MQ<string>;
|
|
9
|
+
marginBlock?: MQ<string>;
|
|
10
|
+
}
|
|
11
|
+
interface LogicalPadding {
|
|
12
|
+
paddingInlineStart?: MQ<string>;
|
|
13
|
+
paddingInlineEnd?: MQ<string>;
|
|
14
|
+
paddingInline?: MQ<string>;
|
|
15
|
+
paddingBlockStart?: MQ<string>;
|
|
16
|
+
paddingBlockEnd?: MQ<string>;
|
|
17
|
+
paddingBlock?: MQ<string>;
|
|
18
|
+
}
|
|
19
|
+
export interface LogicalProps extends LogicalMargins, LogicalPadding {
|
|
20
|
+
}
|
|
21
|
+
export declare const logicalProps: (defaultsPath?: string | undefined) => (props: ThemeProp) => CSSObject;
|
|
22
|
+
export declare const omitLogicalPropsFromOverrides: (overrides: Record<string, unknown>) => Partial<Record<string, unknown>>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=logical-properties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logical-properties.d.ts","sourceRoot":"","sources":["../../../src/utils/logical-properties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAiB,EAAE,EAAC,MAAM,SAAS,CAAC;AACrD,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AAKxC,UAAU,cAAc;IACtB,iBAAiB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IAC/B,eAAe,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IAC7B,YAAY,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IAC1B,gBAAgB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IAC9B,cAAc,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IAC5B,WAAW,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED,UAAU,cAAc;IACtB,kBAAkB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IAChC,gBAAgB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IAC9B,aAAa,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IAC3B,iBAAiB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IAC/B,eAAe,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;IAC7B,YAAY,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,YAAa,SAAQ,cAAc,EAAE,cAAc;CAAG;AA0EvE,eAAO,MAAM,YAAY,iDAChB,SAAS,KACf,SAIF,CAAC;AAEF,eAAO,MAAM,6BAA6B,cAC7B,OAAO,MAAM,EAAE,OAAO,CAAC,qCAehC,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { getXFromTheme } from './style';
|
|
2
|
+
import { deepMerge } from './deep-merge';
|
|
3
|
+
import { get } from './get';
|
|
4
|
+
import { rejectObject } from './filter-object';
|
|
5
|
+
var getResponsiveSpace = function (cssProperty, props, defaultsPath) {
|
|
6
|
+
var defaultToken;
|
|
7
|
+
if (defaultsPath) {
|
|
8
|
+
defaultToken = get(props.theme.componentDefaults, "".concat(defaultsPath, ".").concat(cssProperty));
|
|
9
|
+
}
|
|
10
|
+
var overrideToken = get(props, props.overrides ? "overrides.".concat(cssProperty) : cssProperty);
|
|
11
|
+
return getXFromTheme('spacePresets')(cssProperty, overrideToken || defaultToken)(props);
|
|
12
|
+
};
|
|
13
|
+
var generateLogicalProps = function (prefix, defaultsPath) { return function (props) {
|
|
14
|
+
var inlineStart = getResponsiveSpace("".concat(prefix, "InlineStart"), props, defaultsPath);
|
|
15
|
+
var inlineEnd = getResponsiveSpace("".concat(prefix, "InlineEnd"), props, defaultsPath);
|
|
16
|
+
var inline = getResponsiveSpace("".concat(prefix, "Inline"), props, defaultsPath);
|
|
17
|
+
var blockStart = getResponsiveSpace("".concat(prefix, "BlockStart"), props, defaultsPath);
|
|
18
|
+
var blockEnd = getResponsiveSpace("".concat(prefix, "BlockEnd"), props, defaultsPath);
|
|
19
|
+
var block = getResponsiveSpace("".concat(prefix, "Block"), props, defaultsPath);
|
|
20
|
+
return deepMerge(inlineStart, inlineEnd, inline, blockStart, blockEnd, block);
|
|
21
|
+
}; };
|
|
22
|
+
var logicalMargins = function (props, defaultsPath) {
|
|
23
|
+
return generateLogicalProps('margin', defaultsPath)(props);
|
|
24
|
+
};
|
|
25
|
+
var logicalPadding = function (props, defaultsPath) {
|
|
26
|
+
return generateLogicalProps('padding', defaultsPath)(props);
|
|
27
|
+
};
|
|
28
|
+
export var logicalProps = function (defaultsPath) { return function (props) {
|
|
29
|
+
var margin = logicalMargins(props, defaultsPath);
|
|
30
|
+
var padding = logicalPadding(props, defaultsPath);
|
|
31
|
+
return deepMerge(margin, padding);
|
|
32
|
+
}; };
|
|
33
|
+
export var omitLogicalPropsFromOverrides = function (overrides) {
|
|
34
|
+
return rejectObject(overrides, [
|
|
35
|
+
'marginInlineStart',
|
|
36
|
+
'marginInlineEnd',
|
|
37
|
+
'marginInline',
|
|
38
|
+
'marginBlockStart',
|
|
39
|
+
'marginBlockEnd',
|
|
40
|
+
'marginBlock',
|
|
41
|
+
'paddingInlineStart',
|
|
42
|
+
'paddingInlineEnd',
|
|
43
|
+
'paddingInline',
|
|
44
|
+
'paddingBlockStart',
|
|
45
|
+
'paddingBlockEnd',
|
|
46
|
+
'paddingBlock',
|
|
47
|
+
]);
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=logical-properties.js.map
|