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
|
@@ -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"}
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.UnorderedList = void 0;
|
|
7
7
|
var react_1 = __importDefault(require("react"));
|
|
8
8
|
var component_1 = require("../utils/component");
|
|
9
|
-
var get_ssr_id_1 = require("../utils/get-ssr-id");
|
|
10
9
|
var text_block_1 = require("../text-block");
|
|
11
10
|
var theme_1 = require("../theme");
|
|
12
11
|
var get_token_1 = require("../utils/get-token");
|
|
@@ -25,7 +24,7 @@ var ThemelessUnorderedList = function (_a) {
|
|
|
25
24
|
return (react_1.default.createElement(styled_1.StyledUl, { role: "list" }, react_1.default.Children.map(children, function (node) {
|
|
26
25
|
if (!(0, component_1.isValidNode)(node))
|
|
27
26
|
return null;
|
|
28
|
-
return (react_1.default.createElement(styled_1.StyledListItem,
|
|
27
|
+
return (react_1.default.createElement(styled_1.StyledListItem, null,
|
|
29
28
|
react_1.default.createElement(styled_1.StyledBlock, { spaceStack: itemSpaceToken },
|
|
30
29
|
ListItemMarker && (react_1.default.createElement(styled_1.StyledMarkerBlock, { spaceInline: markerSpaceToken, "aria-hidden": "true", markerAlign: markerAlign },
|
|
31
30
|
react_1.default.createElement(ListItemMarker, { overrides: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unordered-list.js","sourceRoot":"","sources":["../../../src/unordered-list/unordered-list.tsx"],"names":[],"mappings":";;;;;;AAAA,gDAA0B;AAC1B,gDAA+C;AAC/C,
|
|
1
|
+
{"version":3,"file":"unordered-list.js","sourceRoot":"","sources":["../../../src/unordered-list/unordered-list.tsx"],"names":[],"mappings":";;;;;;AAAA,gDAA0B;AAC1B,gDAA+C;AAC/C,4CAAwC;AAExC,kCAAkC;AAClC,gDAA4C;AAE5C,mCAKkB;AAClB,wDAAkC;AAClC,0DAAqD;AAErD,IAAM,sBAAsB,GAAiC,UAAC,EAK7D;QAJC,QAAQ,cAAA,EACQ,cAAc,oBAAA,EAC9B,WAAW,iBAAA,EACX,SAAS,eAAA;IAET,IAAM,KAAK,GAAG,IAAA,gBAAQ,GAAE,CAAC;IACzB,IAAM,cAAc,GAAG,IAAA,oBAAQ,EAC7B,EAAC,KAAK,OAAA,EAAE,SAAS,WAAA,EAAC,EAClB,eAAe,EACf,EAAE,EACF,YAAY,CACb,CAAC;IACF,IAAM,gBAAgB,GAAG,IAAA,oBAAQ,EAC/B,EAAC,KAAK,OAAA,EAAE,SAAS,WAAA,EAAC,EAClB,sBAAsB,EACtB,QAAQ,EACR,aAAa,CACd,CAAC;IACF,IAAM,eAAe,GAAG,IAAA,oBAAQ,EAC9B,EAAC,KAAK,OAAA,EAAE,SAAS,WAAA,EAAC,EAClB,sBAAsB,EACtB,QAAQ,EACR,MAAM,CACP,CAAC;IACF,IAAM,4BAA4B,GAAG,IAAA,oBAAQ,EAC3C,EAAC,KAAK,OAAA,EAAE,SAAS,WAAA,EAAC,EAClB,uBAAuB,EACvB,SAAS,EACT,kBAAkB,CACnB,CAAC;IACF,IAAM,uBAAuB,GAAG,IAAA,oBAAQ,EACtC,EAAC,KAAK,OAAA,EAAE,SAAS,WAAA,EAAC,EAClB,uBAAuB,EACvB,SAAS,EACT,aAAa,CACd,CAAC;IACF,IAAM,sBAAsB,GAAG,IAAA,oBAAQ,EACrC,EAAC,KAAK,OAAA,EAAE,SAAS,WAAA,EAAC,EAClB,sBAAsB,EACtB,QAAQ,EACR,aAAa,CACd,CAAC;IAEF,OAAO,CACL,8BAAC,iBAAQ,IAAC,IAAI,EAAC,MAAM,IAClB,eAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAA,IAAI;QAChC,IAAI,CAAC,IAAA,uBAAW,EAAC,IAAI,CAAC;YAAE,OAAO,IAAI,CAAC;QAEpC,OAAO,CACL,8BAAC,uBAAc;YACb,8BAAC,oBAAW,IAAC,UAAU,EAAE,cAAc;gBACpC,cAAc,IAAI,CACjB,8BAAC,0BAAiB,IAChB,WAAW,EAAE,gBAAgB,iBACjB,MAAM,EAClB,WAAW,EAAE,WAAW;oBAExB,8BAAC,cAAc,IACb,SAAS,EAAE;4BACT,IAAI,EAAE,eAAe;4BACrB,WAAW,EAAE,sBAAsB;yBACpC,GACD,CACgB,CACrB;gBACD,8BAAC,sBAAS,IACR,gBAAgB,EAAE,4BAA4B,EAC9C,WAAW,EAAE,uBAAuB,IAEnC,IAAI,CACK,CACA,CACC,CAClB,CAAC;IACJ,CAAC,CAAC,CACO,CACZ,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,aAAa,GAAG,IAAA,6BAAY,EAAC,sBAAsB,CAAC,CAAC;IAChE,QAAQ,oBAAA;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,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.composeEventHandlers = void 0;
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5
|
+
var composeEventHandlers = function (listeners) {
|
|
6
|
+
if (listeners === void 0) { listeners = []; }
|
|
7
|
+
return function (event) {
|
|
8
|
+
listeners.forEach(function (listener) {
|
|
9
|
+
if (typeof listener === 'function') {
|
|
10
|
+
listener(event);
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
exports.composeEventHandlers = composeEventHandlers;
|
|
16
|
+
//# 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;AACvD,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;AANW,QAAA,oBAAoB,wBAM/B"}
|
|
@@ -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"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getTransitionDuration = exports.getTransitionDurationFromTheme = exports.getMotionDurationValue = void 0;
|
|
4
4
|
var get_token_1 = require("./get-token");
|
|
5
|
+
var responsive_helpers_1 = require("./responsive-helpers");
|
|
5
6
|
var utils_1 = require("./style/utils");
|
|
6
7
|
var getMotionDurationValue = function (transitionDuration) {
|
|
7
8
|
var splitStr = transitionDuration.split(/(\d+)/);
|
|
@@ -82,10 +83,26 @@ var getTransitionDurationFromTheme = function (themeToken) { return function (pr
|
|
|
82
83
|
return extractDurationFromPreset(tokensArray, props.theme);
|
|
83
84
|
}; };
|
|
84
85
|
exports.getTransitionDurationFromTheme = getTransitionDurationFromTheme;
|
|
86
|
+
// getTransitionDuration is passed to timeout in CSSTransitions which defines the entire timeframe of the transition.
|
|
87
|
+
// Reduced motion is not added here because it has no visual changes and might cause issues in rendering transitions.
|
|
85
88
|
var getTransitionDuration = function (defaultPath, overridePath) { return function (props) {
|
|
86
89
|
var token = (0, get_token_1.getToken)(props, defaultPath, overridePath, 'transitionPreset');
|
|
87
90
|
if (!token)
|
|
88
91
|
return { enter: 0, exit: 0, appear: 0 };
|
|
92
|
+
if ((0, responsive_helpers_1.isResponsive)(token, props.theme.breakpoints)) {
|
|
93
|
+
return Object.entries(token).reduce(function (acc, _a) {
|
|
94
|
+
var transitionPresetToken = _a[1];
|
|
95
|
+
var tokensArray = (0, utils_1.isArrayLikeObject)(transitionPresetToken)
|
|
96
|
+
? Object.values(transitionPresetToken)
|
|
97
|
+
: [transitionPresetToken];
|
|
98
|
+
var currentDuration = extractDurationFromPreset(tokensArray, props.theme);
|
|
99
|
+
return {
|
|
100
|
+
appear: Math.max(currentDuration.appear, acc.appear),
|
|
101
|
+
enter: Math.max(currentDuration.enter, acc.enter),
|
|
102
|
+
exit: Math.max(currentDuration.exit, acc.exit),
|
|
103
|
+
};
|
|
104
|
+
}, { enter: 0, exit: 0, appear: 0 });
|
|
105
|
+
}
|
|
89
106
|
var tokensArray = (0, utils_1.isArrayLikeObject)(token)
|
|
90
107
|
? Object.values(token)
|
|
91
108
|
: [token];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transition-duration.js","sourceRoot":"","sources":["../../../src/utils/get-transition-duration.ts"],"names":[],"mappings":";;;AACA,yCAAqC;
|
|
1
|
+
{"version":3,"file":"get-transition-duration.js","sourceRoot":"","sources":["../../../src/utils/get-transition-duration.ts"],"names":[],"mappings":";;;AACA,yCAAqC;AACrC,2DAAkD;AAGlD,uCAAiE;AAI1D,IAAM,sBAAsB,GAAG,UAAC,kBAA0B;IAC/D,IAAM,QAAQ,GAAG,kBAAkB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACnD,IAAM,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAE3C,IAAI,CAAC,QAAQ,EAAE;QACb,OAAO,CAAC,CAAC;KACV;IAED,IAAM,IAAI,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAC3C,0BAA0B;IAC1B,IAAI,IAAI,KAAK,IAAI,EAAE;QACjB,OAAO,QAAQ,CAAC;KACjB;IACD,0BAA0B;IAC1B,IAAI,IAAI,KAAK,GAAG,EAAE;QACh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AAC,MAAM,CAAC;gBACpD,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC;gBACjD,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC;aAC/C,CAAC;QACJ,CAAC,EACD,EAAC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAgB,CAC9C,CAAC;KACH;IAED,IAAM,WAAW,GAAa,IAAA,yBAAiB,EAAC,KAAK,CAAC;QACpD,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;QACtB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAEZ,OAAO,yBAAyB,CAAC,WAAW,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;AAC7D,CAAC,EAnCI,CAmCJ,CAAC;AAtCW,QAAA,qBAAqB,yBAsChC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
controlledValue:
|
|
3
|
-
defaultValue:
|
|
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"}
|
|
@@ -9,7 +9,7 @@ function useControlled(_a) {
|
|
|
9
9
|
var controlledValue = _a.controlledValue, defaultValue = _a.defaultValue;
|
|
10
10
|
var isControlled = react_1.default.useRef(controlledValue !== undefined).current;
|
|
11
11
|
var _b = react_1.default.useState(defaultValue), valueState = _b[0], setValue = _b[1];
|
|
12
|
-
var value =
|
|
12
|
+
var value = isControlled ? controlledValue : valueState;
|
|
13
13
|
var setValueIfUncontrolled = react_1.default.useCallback(function (newValue) {
|
|
14
14
|
if (!isControlled) {
|
|
15
15
|
setValue(newValue);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-controlled.js","sourceRoot":"","sources":["../../../../src/utils/hooks/use-controlled.ts"],"names":[],"mappings":";;;;;;AAAA,gDAA0B;
|
|
1
|
+
{"version":3,"file":"use-controlled.js","sourceRoot":"","sources":["../../../../src/utils/hooks/use-controlled.ts"],"names":[],"mappings":";;;;;;AAAA,gDAA0B;AAO1B,SAAgB,aAAa,CAAc,EAGnB;QAFtB,eAAe,qBAAA,EACf,YAAY,kBAAA;IAEL,IAAS,YAAY,GAAI,eAAK,CAAC,MAAM,CAAC,eAAe,KAAK,SAAS,CAAC,QAA/C,CAAgD;IACtE,IAAA,KAAyB,eAAK,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,eAAK,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;AAlBD,sCAkBC"}
|
|
@@ -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"}
|
|
@@ -10,64 +10,134 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
};
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
14
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
15
|
+
if (ar || !(i in from)) {
|
|
16
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
17
|
+
ar[i] = from[i];
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
21
|
+
};
|
|
13
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
23
|
exports.useKeypress = void 0;
|
|
15
24
|
var react_1 = require("react");
|
|
16
|
-
var
|
|
17
|
-
// Fixing inconsistencies from older browsers: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values
|
|
18
|
-
// event.key: [IE, rest browsers]
|
|
19
|
-
ScrollLock: ['Scroll', 'ScrollLock'],
|
|
20
|
-
Escape: ['Esc', 'Escape'],
|
|
21
|
-
Delete: ['Del', 'Delete'],
|
|
22
|
-
ArrowDown: ['Down', 'ArrowDown'],
|
|
23
|
-
ArrowLeft: ['Left', 'ArrowLeft'],
|
|
24
|
-
ArrowRight: ['Right', 'ArrowRight'],
|
|
25
|
-
ArrowUp: ['Up', 'ArrowUp'],
|
|
26
|
-
' ': ['Spacebar', ' '],
|
|
27
|
-
'.': ['Decimal', '.'],
|
|
28
|
-
'*': ['Multiply', '*'],
|
|
29
|
-
'+': ['Add', '+'],
|
|
30
|
-
'-': ['Subtract', '-'],
|
|
31
|
-
'/': ['Divide', '/'],
|
|
32
|
-
Meta: ['Win', 'Meta'],
|
|
33
|
-
CrSel: ['Crsel', 'CrSel'],
|
|
34
|
-
ExSel: ['Exsel', 'ExSel'],
|
|
35
|
-
ContextMenu: ['Apps', 'ContextMenu'],
|
|
36
|
-
};
|
|
25
|
+
var compose_event_handlers_1 = require("../compose-event-handlers");
|
|
37
26
|
var isKeyboardEvent = function (event) {
|
|
38
27
|
return 'key' in event;
|
|
39
28
|
};
|
|
29
|
+
/*
|
|
30
|
+
This store together with addEventIfNotExist and removeEvent track if the event with the same
|
|
31
|
+
keyShortcut is already attached to the element. This is needed to prevent adding the same event twice.
|
|
32
|
+
|
|
33
|
+
In context of audio-player if you add 2 buttons for SkipBackward with same
|
|
34
|
+
keyShortcut it will attach event only for the first one.
|
|
35
|
+
*/
|
|
36
|
+
var eventsStore = new WeakMap();
|
|
37
|
+
var addEventIfNotExist = function (_a) {
|
|
38
|
+
var element = _a.element, keyShortcut = _a.keyShortcut, keyUp = _a.keyUp, keyDown = _a.keyDown;
|
|
39
|
+
var attachedShortcuts = eventsStore.get(element);
|
|
40
|
+
var attachEvents = function () {
|
|
41
|
+
element.addEventListener('keydown', keyDown, false);
|
|
42
|
+
element.addEventListener('keyup', keyUp, false);
|
|
43
|
+
};
|
|
44
|
+
if (!attachedShortcuts) {
|
|
45
|
+
eventsStore.set(element, [keyShortcut]);
|
|
46
|
+
attachEvents();
|
|
47
|
+
}
|
|
48
|
+
else if (Array.isArray(attachedShortcuts) &&
|
|
49
|
+
attachedShortcuts.indexOf(keyShortcut) === -1) {
|
|
50
|
+
eventsStore.set(element, __spreadArray(__spreadArray([], attachedShortcuts, true), [keyShortcut], false));
|
|
51
|
+
attachEvents();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
var removeEvent = function (_a) {
|
|
55
|
+
var element = _a.element, keyShortcut = _a.keyShortcut, keyUp = _a.keyUp, keyDown = _a.keyDown;
|
|
56
|
+
var attachedShortcuts = eventsStore.get(element);
|
|
57
|
+
if (attachedShortcuts) {
|
|
58
|
+
eventsStore.set(element, attachedShortcuts.filter(function (shortcut) { return shortcut !== keyShortcut; }));
|
|
59
|
+
}
|
|
60
|
+
element.removeEventListener('keyup', keyUp, false);
|
|
61
|
+
element.removeEventListener('keydown', keyDown, false);
|
|
62
|
+
};
|
|
63
|
+
/*
|
|
64
|
+
In order to use multiple keys at once, you need to use keyDown and keyUp simultaneously.
|
|
65
|
+
- on KeyDown event, keys code is stored in a object ( keyStore )
|
|
66
|
+
- on KeyUp event, keys code is removed from the object
|
|
67
|
+
|
|
68
|
+
When the keyStore values match the key argument , the callback is called.
|
|
69
|
+
https://www.gavsblog.com/blog/detect-single-and-multiple-keypress-events-javascript
|
|
70
|
+
*/
|
|
40
71
|
var useKeypress = function (key, action, opts) {
|
|
72
|
+
var keyStore = (0, react_1.useRef)({});
|
|
73
|
+
var keyLowerCase = (typeof key === 'string' ? [key] : key).map(function (k) {
|
|
74
|
+
return k.toLowerCase();
|
|
75
|
+
});
|
|
41
76
|
(0, react_1.useEffect)(function () {
|
|
42
77
|
var defaultOptions = {
|
|
43
78
|
enabled: true,
|
|
44
79
|
eventType: 'keyup',
|
|
80
|
+
preventDefault: true,
|
|
45
81
|
};
|
|
46
82
|
var options = __assign(__assign({}, defaultOptions), opts);
|
|
47
|
-
var enabled = options.enabled, eventType = options.eventType, target = options.target;
|
|
83
|
+
var enabled = options.enabled, eventType = options.eventType, target = options.target, preventDefault = options.preventDefault;
|
|
48
84
|
var handle = function (e) {
|
|
85
|
+
/* istanbul ignore if */
|
|
49
86
|
if (!isKeyboardEvent(e)) {
|
|
50
87
|
return;
|
|
51
88
|
}
|
|
52
89
|
if (e.defaultPrevented) {
|
|
53
90
|
return;
|
|
54
91
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
92
|
+
if (e.type === eventType) {
|
|
93
|
+
var pressedKey = Object.entries(keyStore.current)
|
|
94
|
+
.filter(function (_a) {
|
|
95
|
+
var value = _a[1];
|
|
96
|
+
return value;
|
|
97
|
+
})
|
|
98
|
+
.map(function (_a) {
|
|
99
|
+
var activeKey = _a[0];
|
|
100
|
+
return activeKey.toLowerCase();
|
|
101
|
+
})
|
|
102
|
+
.join(' + ');
|
|
103
|
+
var keyIsMatched = keyLowerCase.includes(pressedKey);
|
|
104
|
+
if (action && keyIsMatched) {
|
|
105
|
+
action(e);
|
|
106
|
+
if (preventDefault) {
|
|
107
|
+
e.preventDefault();
|
|
108
|
+
e.stopPropagation();
|
|
109
|
+
}
|
|
110
|
+
}
|
|
61
111
|
}
|
|
62
112
|
};
|
|
63
113
|
var targetNode = target && target.current ? target.current : document;
|
|
114
|
+
var addToStore = function (e) {
|
|
115
|
+
keyStore.current[e.key] = true;
|
|
116
|
+
};
|
|
117
|
+
var removeFromStore = function (e) {
|
|
118
|
+
delete keyStore.current[e.key];
|
|
119
|
+
};
|
|
120
|
+
var onKeyDown = (0, compose_event_handlers_1.composeEventHandlers)([addToStore, handle]);
|
|
121
|
+
var onKeyUp = (0, compose_event_handlers_1.composeEventHandlers)([handle, removeFromStore]);
|
|
64
122
|
if (enabled && typeof targetNode !== 'undefined') {
|
|
65
|
-
|
|
123
|
+
addEventIfNotExist({
|
|
124
|
+
element: targetNode,
|
|
125
|
+
keyShortcut: keyLowerCase.toString(),
|
|
126
|
+
keyUp: onKeyUp,
|
|
127
|
+
keyDown: onKeyDown,
|
|
128
|
+
});
|
|
66
129
|
}
|
|
67
130
|
return function () {
|
|
68
|
-
|
|
131
|
+
if (targetNode) {
|
|
132
|
+
removeEvent({
|
|
133
|
+
element: targetNode,
|
|
134
|
+
keyShortcut: keyLowerCase.toString(),
|
|
135
|
+
keyUp: onKeyUp,
|
|
136
|
+
keyDown: onKeyDown,
|
|
137
|
+
});
|
|
138
|
+
}
|
|
69
139
|
};
|
|
70
|
-
}, [
|
|
140
|
+
}, [keyLowerCase, action, opts]);
|
|
71
141
|
};
|
|
72
142
|
exports.useKeypress = useKeypress;
|
|
73
143
|
//# 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.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AY,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;AAjFW,QAAA,WAAW,eAiFtB"}
|
|
@@ -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,gDAA0B;AAC1B,wCAAwD;AACxD,+DAAgE;
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../src/utils/hooks/use-media-query/context.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,wCAAwD;AACxD,+DAAgE;AAGhE,iCAIiB;AAEJ,QAAA,SAAS,GAAG,eAAK,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;AAEjD,SAAgB,kBAAkB,CAAC,EAAuC;QAAtC,QAAQ,cAAA;IAC1C,IAAM,KAAK,GAAG,IAAA,gBAAQ,GAAE,CAAC;IAClB,IAAA,WAAW,GAAI,KAAK,YAAT,CAAU;IAC5B,IAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,WAAW,CAAqB,CAAC;IAEpE,IAAM,eAAe,GAAiB,cAAc,CAAC,MAAM,CACzD,UAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,GAAG;;QAC7B,IAAM,iBAAiB,GAAG,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAEtE,IAAM,YAAY,GAAG,IAAA,2CAAsB,EACzC,aAAa,EACb,iBAAiB,CAClB,CAAC;YACA,KAAK,OAAA;SACN,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;QAC1B,6BAAW,GAAG,gBAAG,aAAa,IAAG,YAAY,OAAE;IACjD,CAAC,EACD,EAAkB,C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sB,CAC5E,CAAC;AACJ,CAAC;AAhED,gDAgEC;AAEM,IAAM,sBAAsB,GAAG,UACpC,aAAqC;IAErC,IAAM,gBAAgB,GAAG,eAAK,CAAC,UAAU,CAAa,UAAC,KAAK,EAAE,GAAG,IAAK,OAAA,CACpE,8BAAC,kBAAkB;QACjB,8BAAC,aAAa,aAAC,GAAG,EAAE,GAAG,IAAM,KAAK,EAAI,CACnB,CACtB,EAJqE,CAIrE,CAAC,CAAC;IAEH,OAAQ,gBAAyD,CAAC;AACpE,CAAC,CAAC;AAVW,QAAA,sBAAsB,0BAUjC"}
|
|
@@ -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,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.omitLogicalPropsFromOverrides = exports.logicalProps = void 0;
|
|
4
|
+
var style_1 = require("./style");
|
|
5
|
+
var deep_merge_1 = require("./deep-merge");
|
|
6
|
+
var get_1 = require("./get");
|
|
7
|
+
var filter_object_1 = require("./filter-object");
|
|
8
|
+
var getResponsiveSpace = function (cssProperty, props, defaultsPath) {
|
|
9
|
+
var defaultToken;
|
|
10
|
+
if (defaultsPath) {
|
|
11
|
+
defaultToken = (0, get_1.get)(props.theme.componentDefaults, "".concat(defaultsPath, ".").concat(cssProperty));
|
|
12
|
+
}
|
|
13
|
+
var overrideToken = (0, get_1.get)(props, props.overrides ? "overrides.".concat(cssProperty) : cssProperty);
|
|
14
|
+
return (0, style_1.getXFromTheme)('spacePresets')(cssProperty, overrideToken || defaultToken)(props);
|
|
15
|
+
};
|
|
16
|
+
var generateLogicalProps = function (prefix, defaultsPath) { return function (props) {
|
|
17
|
+
var inlineStart = getResponsiveSpace("".concat(prefix, "InlineStart"), props, defaultsPath);
|
|
18
|
+
var inlineEnd = getResponsiveSpace("".concat(prefix, "InlineEnd"), props, defaultsPath);
|
|
19
|
+
var inline = getResponsiveSpace("".concat(prefix, "Inline"), props, defaultsPath);
|
|
20
|
+
var blockStart = getResponsiveSpace("".concat(prefix, "BlockStart"), props, defaultsPath);
|
|
21
|
+
var blockEnd = getResponsiveSpace("".concat(prefix, "BlockEnd"), props, defaultsPath);
|
|
22
|
+
var block = getResponsiveSpace("".concat(prefix, "Block"), props, defaultsPath);
|
|
23
|
+
return (0, deep_merge_1.deepMerge)(inlineStart, inlineEnd, inline, blockStart, blockEnd, block);
|
|
24
|
+
}; };
|
|
25
|
+
var logicalMargins = function (props, defaultsPath) {
|
|
26
|
+
return generateLogicalProps('margin', defaultsPath)(props);
|
|
27
|
+
};
|
|
28
|
+
var logicalPadding = function (props, defaultsPath) {
|
|
29
|
+
return generateLogicalProps('padding', defaultsPath)(props);
|
|
30
|
+
};
|
|
31
|
+
var logicalProps = function (defaultsPath) { return function (props) {
|
|
32
|
+
var margin = logicalMargins(props, defaultsPath);
|
|
33
|
+
var padding = logicalPadding(props, defaultsPath);
|
|
34
|
+
return (0, deep_merge_1.deepMerge)(margin, padding);
|
|
35
|
+
}; };
|
|
36
|
+
exports.logicalProps = logicalProps;
|
|
37
|
+
var omitLogicalPropsFromOverrides = function (overrides) {
|
|
38
|
+
return (0, filter_object_1.rejectObject)(overrides, [
|
|
39
|
+
'marginInlineStart',
|
|
40
|
+
'marginInlineEnd',
|
|
41
|
+
'marginInline',
|
|
42
|
+
'marginBlockStart',
|
|
43
|
+
'marginBlockEnd',
|
|
44
|
+
'marginBlock',
|
|
45
|
+
'paddingInlineStart',
|
|
46
|
+
'paddingInlineEnd',
|
|
47
|
+
'paddingInline',
|
|
48
|
+
'paddingBlockStart',
|
|
49
|
+
'paddingBlockEnd',
|
|
50
|
+
'paddingBlock',
|
|
51
|
+
]);
|
|
52
|
+
};
|
|
53
|
+
exports.omitLogicalPropsFromOverrides = omitLogicalPropsFromOverrides;
|
|
54
|
+
//# sourceMappingURL=logical-properties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logical-properties.js","sourceRoot":"","sources":["../../../src/utils/logical-properties.ts"],"names":[],"mappings":";;;AAAA,iCAAqD;AAErD,2CAAuC;AACvC,6BAA0B;AAC1B,iDAA6C;AAsB7C,IAAM,kBAAkB,GAAG,UACzB,WAAmB,EACnB,KAAwC,EACxC,YAAqB;IAErB,IAAI,YAAY,CAAC;IACjB,IAAI,YAAY,EAAE;QAChB,YAAY,GAAG,IAAA,SAAG,EAChB,KAAK,CAAC,KAAK,CAAC,iBAAiB,EAC7B,UAAG,YAAY,cAAI,WAAW,CAAE,CACjC,CAAC;KACH;IAED,IAAM,aAAa,GAAG,IAAA,SAAG,EACvB,KAAK,EACL,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,oBAAa,WAAW,CAAE,CAAC,CAAC,CAAC,WAAW,CAC3D,CAAC;IAEF,OAAO,IAAA,qBAAa,EAAC,cAAc,CAAC,CAClC,WAAW,EACX,a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YAAY,CAAC,CAAC;IACnD,IAAM,OAAO,GAAG,cAAc,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;IACpD,OAAO,IAAA,sBAAS,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACpC,CAAC,EANsD,CAMtD,CAAC;AANW,QAAA,YAAY,gBAMvB;AAEK,IAAM,6BAA6B,GAAG,UAC3C,SAAkC;IAElC,OAAA,IAAA,4BAAY,EAAC,SAAS,EAAE;QACtB,mBAAmB;QACnB,iBAAiB;QACjB,cAAc;QACd,kBAAkB;QAClB,gBAAgB;QAChB,aAAa;QACb,oBAAoB;QACpB,kBAAkB;QAClB,eAAe;QACf,mBAAmB;QACnB,iBAAiB;QACjB,cAAc;KACf,CAAC;AAbF,CAaE,CAAC;AAhBQ,QAAA,6BAA6B,iCAgBrC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare type MapFunction = (child: React.ReactNode, index?: number, children?: readonly React.ReactNode[]) => React.ReactNode;
|
|
3
3
|
export declare const deepMap: (children: React.ReactNode, deepMapFn: MapFunction) => React.ReactNode[];
|
|
4
|
+
export declare const childIsString: (child: React.ReactNode) => boolean;
|
|
5
|
+
export declare const childrenIsString: (children: React.ReactNode) => boolean;
|
|
4
6
|
//# sourceMappingURL=react-children-utilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-children-utilities.d.ts","sourceRoot":"","sources":["../../../src/utils/react-children-utilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"react-children-utilities.d.ts","sourceRoot":"","sources":["../../../src/utils/react-children-utilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAyB1B,oBAAY,WAAW,GAAG,CACxB,KAAK,EAAE,KAAK,CAAC,SAAS,EACtB,KAAK,CAAC,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,SAAS,KAAK,CAAC,SAAS,EAAE,KAClC,KAAK,CAAC,SAAS,CAAC;AAErB,eAAO,MAAM,OAAO,aACR,MAAM,SAAS,aACd,WAAW,KACrB,MAAM,SAAS,EAkBf,CAAC;AAEJ,eAAO,MAAM,aAAa,UAAW,MAAM,SAAS,KAAG,OAStD,CAAC;AAEF,eAAO,MAAM,gBAAgB,aAAc,MAAM,SAAS,KAAG,OAEF,CAAC"}
|