newskit 5.3.0 → 5.4.2
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 +7 -6
- package/cjs/audio-player-composable/audio-functions.d.ts.map +1 -1
- package/cjs/audio-player-composable/audio-functions.js +13 -54
- package/cjs/audio-player-composable/audio-functions.js.map +1 -1
- package/cjs/audio-player-composable/audio-player-composable.d.ts +1 -1
- package/cjs/audio-player-composable/audio-player-composable.d.ts.map +1 -1
- package/cjs/audio-player-composable/audio-player-composable.js +116 -38
- package/cjs/audio-player-composable/audio-player-composable.js.map +1 -1
- package/cjs/audio-player-composable/components/audio-element.d.ts +3 -2
- package/cjs/audio-player-composable/components/audio-element.d.ts.map +1 -1
- package/cjs/audio-player-composable/components/audio-element.js +3 -5
- package/cjs/audio-player-composable/components/audio-element.js.map +1 -1
- 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/play-pause-button.d.ts +1 -3
- package/cjs/audio-player-composable/components/play-pause-button/play-pause-button.d.ts.map +1 -1
- package/cjs/audio-player-composable/components/play-pause-button/play-pause-button.js +48 -17
- package/cjs/audio-player-composable/components/play-pause-button/play-pause-button.js.map +1 -1
- package/cjs/audio-player-composable/components/play-pause-button/types.d.ts +2 -6
- package/cjs/audio-player-composable/components/play-pause-button/types.d.ts.map +1 -1
- 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/seek-bar.d.ts +2 -3
- package/cjs/audio-player-composable/components/seek-bar/seek-bar.d.ts.map +1 -1
- package/cjs/audio-player-composable/components/seek-bar/seek-bar.js.map +1 -1
- package/cjs/audio-player-composable/components/seek-bar/types.d.ts +1 -1
- package/cjs/audio-player-composable/components/seek-bar/types.d.ts.map +1 -1
- 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/time-display.d.ts +2 -4
- package/cjs/audio-player-composable/components/time-display/time-display.d.ts.map +1 -1
- package/cjs/audio-player-composable/components/time-display/time-display.js +26 -5
- package/cjs/audio-player-composable/components/time-display/time-display.js.map +1 -1
- package/cjs/audio-player-composable/components/time-display/types.d.ts +5 -4
- package/cjs/audio-player-composable/components/time-display/types.d.ts.map +1 -1
- package/cjs/audio-player-composable/components/time-display/utils.d.ts +2 -2
- package/cjs/audio-player-composable/components/time-display/utils.d.ts.map +1 -1
- package/cjs/audio-player-composable/components/time-display/utils.js +0 -1
- package/cjs/audio-player-composable/components/time-display/utils.js.map +1 -1
- 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 +4 -46
- package/cjs/audio-player-composable/context.d.ts.map +1 -1
- package/cjs/audio-player-composable/context.js.map +1 -1
- package/cjs/audio-player-composable/index.d.ts +8 -6
- package/cjs/audio-player-composable/index.d.ts.map +1 -1
- package/cjs/audio-player-composable/index.js +10 -10
- package/cjs/audio-player-composable/index.js.map +1 -1
- package/cjs/audio-player-composable/types.d.ts +44 -13
- package/cjs/audio-player-composable/types.d.ts.map +1 -1
- package/cjs/audio-player-composable/types.js +1 -1
- package/cjs/audio-player-composable/types.js.map +1 -1
- package/cjs/audio-player-composable/utils.d.ts +10 -0
- package/cjs/audio-player-composable/utils.d.ts.map +1 -1
- package/cjs/audio-player-composable/utils.js +33 -1
- package/cjs/audio-player-composable/utils.js.map +1 -1
- package/cjs/banner/banner.d.ts +1 -2
- package/cjs/banner/banner.d.ts.map +1 -1
- package/cjs/button/button.d.ts +1 -1
- package/cjs/button/button.d.ts.map +1 -1
- package/cjs/byline/byline.d.ts +1 -2
- package/cjs/byline/byline.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/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 +1 -1
- 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/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 +1 -1
- package/cjs/form/form-input.d.ts.map +1 -1
- package/cjs/form/form-input.js +5 -8
- package/cjs/form/form-input.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/styled.d.ts +2 -1
- package/cjs/grid-layout/styled.d.ts.map +1 -1
- package/cjs/grid-layout/types.d.ts +2 -1
- 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/index.d.ts +0 -6
- package/cjs/icons/filled/material/index.js +18 -30
- 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/index.d.ts +0 -6
- package/cjs/icons/outlined/material/index.js +18 -30
- package/cjs/icons/to-newskit-icon.d.ts.map +1 -1
- 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/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/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/utils.d.ts +1 -1
- package/cjs/link/utils.d.ts.map +1 -1
- package/cjs/menu/menu.d.ts +1 -1
- package/cjs/menu/menu.d.ts.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/overlay/overlay.d.ts +1 -2
- package/cjs/overlay/overlay.d.ts.map +1 -1
- package/cjs/radio-button/radio-button.d.ts +1 -1
- package/cjs/radio-button/radio-button.d.ts.map +1 -1
- package/cjs/scroll/scroll.d.ts +1 -1
- package/cjs/scroll/scroll.d.ts.map +1 -1
- package/cjs/scroll/scroll.js +4 -4
- package/cjs/scroll/scroll.js.map +1 -1
- package/cjs/scroll/utils.d.ts +2 -0
- package/cjs/scroll/utils.d.ts.map +1 -0
- package/cjs/scroll/utils.js +5 -0
- package/cjs/scroll/utils.js.map +1 -0
- package/cjs/select/select.d.ts +1 -1
- package/cjs/select/select.d.ts.map +1 -1
- 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/slider/slider.js +2 -2
- package/cjs/slider/slider.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/tabs.d.ts +1 -1
- package/cjs/tabs/tabs.d.ts.map +1 -1
- package/cjs/tag/tag.d.ts +1 -2
- package/cjs/tag/tag.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 +5 -5
- package/cjs/text-input/text-input.js.map +1 -1
- package/cjs/theme-checker/scenarios.d.ts.map +1 -1
- package/cjs/theme-checker/scenarios.js +32 -0
- package/cjs/theme-checker/scenarios.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/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/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-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/style/transition-preset.d.ts +1 -1
- package/cjs/utils/style/transition-preset.d.ts.map +1 -1
- package/cjs/utils/style/transition-preset.js +40 -8
- package/cjs/utils/style/transition-preset.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/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 +7 -6
- package/esm/audio-player-composable/audio-functions.d.ts.map +1 -1
- package/esm/audio-player-composable/audio-functions.js +13 -54
- package/esm/audio-player-composable/audio-functions.js.map +1 -1
- package/esm/audio-player-composable/audio-player-composable.d.ts +1 -1
- package/esm/audio-player-composable/audio-player-composable.d.ts.map +1 -1
- package/esm/audio-player-composable/audio-player-composable.js +117 -39
- package/esm/audio-player-composable/audio-player-composable.js.map +1 -1
- package/esm/audio-player-composable/components/audio-element.d.ts +3 -2
- package/esm/audio-player-composable/components/audio-element.d.ts.map +1 -1
- package/esm/audio-player-composable/components/audio-element.js +3 -5
- package/esm/audio-player-composable/components/audio-element.js.map +1 -1
- 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/play-pause-button.d.ts +1 -3
- package/esm/audio-player-composable/components/play-pause-button/play-pause-button.d.ts.map +1 -1
- package/esm/audio-player-composable/components/play-pause-button/play-pause-button.js +30 -18
- package/esm/audio-player-composable/components/play-pause-button/play-pause-button.js.map +1 -1
- package/esm/audio-player-composable/components/play-pause-button/types.d.ts +2 -6
- package/esm/audio-player-composable/components/play-pause-button/types.d.ts.map +1 -1
- 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/seek-bar.d.ts +2 -3
- package/esm/audio-player-composable/components/seek-bar/seek-bar.d.ts.map +1 -1
- package/esm/audio-player-composable/components/seek-bar/seek-bar.js.map +1 -1
- package/esm/audio-player-composable/components/seek-bar/types.d.ts +1 -1
- package/esm/audio-player-composable/components/seek-bar/types.d.ts.map +1 -1
- 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/time-display.d.ts +2 -4
- package/esm/audio-player-composable/components/time-display/time-display.d.ts.map +1 -1
- package/esm/audio-player-composable/components/time-display/time-display.js +25 -3
- package/esm/audio-player-composable/components/time-display/time-display.js.map +1 -1
- package/esm/audio-player-composable/components/time-display/types.d.ts +5 -4
- package/esm/audio-player-composable/components/time-display/types.d.ts.map +1 -1
- package/esm/audio-player-composable/components/time-display/utils.d.ts +2 -2
- package/esm/audio-player-composable/components/time-display/utils.d.ts.map +1 -1
- package/esm/audio-player-composable/components/time-display/utils.js +0 -1
- package/esm/audio-player-composable/components/time-display/utils.js.map +1 -1
- 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 +4 -46
- package/esm/audio-player-composable/context.d.ts.map +1 -1
- package/esm/audio-player-composable/context.js.map +1 -1
- package/esm/audio-player-composable/index.d.ts +8 -6
- package/esm/audio-player-composable/index.d.ts.map +1 -1
- package/esm/audio-player-composable/index.js +8 -6
- package/esm/audio-player-composable/index.js.map +1 -1
- package/esm/audio-player-composable/types.d.ts +44 -13
- package/esm/audio-player-composable/types.d.ts.map +1 -1
- package/esm/audio-player-composable/types.js +1 -1
- package/esm/audio-player-composable/types.js.map +1 -1
- package/esm/audio-player-composable/utils.d.ts +10 -0
- package/esm/audio-player-composable/utils.d.ts.map +1 -1
- package/esm/audio-player-composable/utils.js +30 -0
- package/esm/audio-player-composable/utils.js.map +1 -1
- package/esm/banner/banner.d.ts +1 -2
- package/esm/banner/banner.d.ts.map +1 -1
- package/esm/button/button.d.ts +1 -1
- package/esm/button/button.d.ts.map +1 -1
- package/esm/byline/byline.d.ts +1 -2
- package/esm/byline/byline.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/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 +1 -1
- 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/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 +1 -1
- package/esm/form/form-input.d.ts.map +1 -1
- package/esm/form/form-input.js +4 -7
- package/esm/form/form-input.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/styled.d.ts +2 -1
- package/esm/grid-layout/styled.d.ts.map +1 -1
- package/esm/grid-layout/types.d.ts +2 -1
- 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/index.d.ts +0 -6
- package/esm/icons/filled/material/index.js +0 -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/index.d.ts +0 -6
- package/esm/icons/outlined/material/index.js +0 -6
- package/esm/icons/to-newskit-icon.d.ts.map +1 -1
- 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/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/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/utils.d.ts +1 -1
- package/esm/link/utils.d.ts.map +1 -1
- package/esm/menu/menu.d.ts +1 -1
- package/esm/menu/menu.d.ts.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/overlay/overlay.d.ts +1 -2
- package/esm/overlay/overlay.d.ts.map +1 -1
- package/esm/radio-button/radio-button.d.ts +1 -1
- package/esm/radio-button/radio-button.d.ts.map +1 -1
- package/esm/scroll/scroll.d.ts +1 -1
- package/esm/scroll/scroll.d.ts.map +1 -1
- package/esm/scroll/scroll.js +2 -2
- package/esm/scroll/scroll.js.map +1 -1
- package/esm/scroll/utils.d.ts +2 -0
- package/esm/scroll/utils.d.ts.map +1 -0
- package/esm/scroll/utils.js +2 -0
- package/esm/scroll/utils.js.map +1 -0
- package/esm/select/select.d.ts +1 -1
- package/esm/select/select.d.ts.map +1 -1
- 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/slider/slider.js +2 -2
- package/esm/slider/slider.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/tabs.d.ts +1 -1
- package/esm/tabs/tabs.d.ts.map +1 -1
- package/esm/tag/tag.d.ts +1 -2
- package/esm/tag/tag.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 +5 -5
- package/esm/text-input/text-input.js.map +1 -1
- package/esm/theme-checker/scenarios.d.ts.map +1 -1
- package/esm/theme-checker/scenarios.js +32 -0
- package/esm/theme-checker/scenarios.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/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/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-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/style/transition-preset.d.ts +1 -1
- package/esm/utils/style/transition-preset.d.ts.map +1 -1
- package/esm/utils/style/transition-preset.js +40 -8
- package/esm/utils/style/transition-preset.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/package.json +1 -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/filled/material/icon-filled-replay30.js +0 -11
- package/cjs/icons/filled/material/icon-filled-replay5.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/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/filled/material/icon-filled-replay30.js +0 -8
- package/esm/icons/filled/material/icon-filled-replay5.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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./forward-button"), exports);
|
|
14
|
+
__exportStar(require("./types"), exports);
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/forward-button/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAAiC;AACjC,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/forward-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,UAAU,CAAC;AAE5D,oBAAY,6BAA6B,GAAG,kCAAkC,GAAG;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/forward-button/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/play-pause-button/defaults.ts"],"names":[],"mappings":";;;;;AAAA,wBAIE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/play-pause-button/defaults.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,0BAA0B,EAAE;QAC1B,WAAW,EAAE,wBAAwB;KACtC;CACF,CAAC"}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { PlayPauseButtonProps } from './types';
|
|
3
|
-
export declare const AudioPlayerPlayPauseButton: React.FC<PlayPauseButtonProps>;
|
|
1
|
+
export declare const AudioPlayerPlayPauseButton: import("../../../utils/with-own-theme").NewsKitReactComponents<import("../types").AudioPlayerIconButtonWithShortcuts>;
|
|
4
2
|
//# sourceMappingURL=play-pause-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"play-pause-button.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/play-pause-button/play-pause-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"play-pause-button.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/play-pause-button/play-pause-button.tsx"],"names":[],"mappings":"AAyDA,eAAO,MAAM,0BAA0B,uHAE1B,CAAC"}
|
|
@@ -10,31 +10,62 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
};
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
if (
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
+
}) : function(o, v) {
|
|
23
|
+
o["default"] = v;
|
|
24
|
+
});
|
|
25
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
|
+
if (mod && mod.__esModule) return mod;
|
|
27
|
+
var result = {};
|
|
28
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
29
|
+
__setModuleDefault(result, mod);
|
|
30
|
+
return result;
|
|
23
31
|
};
|
|
24
32
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
33
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
34
|
};
|
|
27
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
36
|
exports.AudioPlayerPlayPauseButton = void 0;
|
|
29
|
-
var react_1 =
|
|
37
|
+
var react_1 = __importStar(require("react"));
|
|
30
38
|
var icon_button_1 = require("../../../icon-button");
|
|
31
39
|
var types_1 = require("../../../button/types");
|
|
32
40
|
var context_1 = require("../../context");
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
var defaults_1 = __importDefault(require("./defaults"));
|
|
42
|
+
var with_own_theme_1 = require("../../../utils/with-own-theme");
|
|
43
|
+
var utils_1 = require("../../utils");
|
|
44
|
+
var defaultKeyboardShortcuts = ['k', ' '];
|
|
45
|
+
var ThemelessAudioPlayerPlayPauseButton = react_1.default.memo(function (props) {
|
|
46
|
+
var _a = (0, context_1.useAudioPlayerContext)(), getPlayPauseButtonProps = _a.getPlayPauseButtonProps, togglePlay = _a.togglePlay;
|
|
47
|
+
var propsFromContext = getPlayPauseButtonProps && getPlayPauseButtonProps(props);
|
|
48
|
+
var overrides = (0, utils_1.useButtonOverrides)(props, 'audioPlayerPlayPauseButton');
|
|
49
|
+
var toggleAction = (0, react_1.useCallback)(function (_a) {
|
|
50
|
+
var target = _a.target, key = _a.key;
|
|
51
|
+
var tagName = target.tagName;
|
|
52
|
+
var actionKeys = [' ', 'Enter'];
|
|
53
|
+
var actionElements = ['BUTTON', 'INPUT', 'A'];
|
|
54
|
+
var isActionKey = actionKeys.includes(key);
|
|
55
|
+
var isActionElement = target && actionElements.includes(tagName);
|
|
56
|
+
if (typeof togglePlay === 'function' &&
|
|
57
|
+
(!isActionKey ||
|
|
58
|
+
// pressing Space or Enter when the focused element is a Button, A or Input will not trigger the toggle
|
|
59
|
+
(isActionKey && !isActionElement))) {
|
|
60
|
+
togglePlay();
|
|
61
|
+
}
|
|
62
|
+
}, [togglePlay]);
|
|
63
|
+
(0, utils_1.useKeyboardShortcutsOnButton)({
|
|
64
|
+
props: propsFromContext,
|
|
65
|
+
defaults: defaultKeyboardShortcuts,
|
|
66
|
+
action: toggleAction,
|
|
67
|
+
});
|
|
68
|
+
return (react_1.default.createElement(icon_button_1.IconButton, __assign({ "data-testid": "audio-player-play-pause-button", size: types_1.ButtonSize.Large, overrides: overrides }, propsFromContext)));
|
|
39
69
|
});
|
|
70
|
+
exports.AudioPlayerPlayPauseButton = (0, with_own_theme_1.withOwnTheme)(ThemelessAudioPlayerPlayPauseButton)({ defaults: defaults_1.default });
|
|
40
71
|
//# sourceMappingURL=play-pause-button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"play-pause-button.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/play-pause-button/play-pause-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"play-pause-button.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/play-pause-button/play-pause-button.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAyC;AACzC,oDAAgD;AAChD,+CAAiD;AACjD,yCAAoD;AACpD,wDAAkC;AAClC,gEAA2D;AAC3D,qCAA6E;AAG7E,IAAM,wBAAwB,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAE5C,IAAM,mCAAmC,GAA8C,eAAK,CAAC,IAAI,CAC/F,UAAA,KAAK;IACG,IAAA,KAAwC,IAAA,+BAAqB,GAAE,EAA9D,uBAAuB,6BAAA,EAAE,UAAU,gBAA2B,CAAC;IAEtE,IAAM,gBAAgB,GACpB,uBAAwB,IAAI,uBAAuB,CAAC,KAAK,CAAC,CAAC;IAE7D,IAAM,SAAS,GAAG,IAAA,0BAAkB,EAAC,KAAK,EAAE,4BAA4B,CAAC,CAAC;IAE1E,IAAM,YAAY,GAAG,IAAA,mBAAW,EAC9B,UAAC,EAA4B;YAA3B,MAAM,YAAA,EAAE,GAAG,SAAA;QACJ,IAAA,OAAO,GAAI,MAAqB,QAAzB,CAA0B;QACxC,IAAM,UAAU,GAAG,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAClC,IAAM,cAAc,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;QAChD,IAAM,WAAW,GAAG,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAC7C,IAAM,eAAe,GAAG,MAAM,IAAI,cAAc,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAEnE,IACE,OAAO,UAAU,KAAK,UAAU;YAChC,CAAC,CAAC,WAAW;gBACX,uGAAuG;gBACvG,CAAC,WAAW,IAAI,CAAC,eAAe,CAAC,CAAC,EACpC;YACA,UAAU,EAAE,CAAC;SACd;IACH,CAAC,EACD,CAAC,UAAU,CAAC,CACb,CAAC;IAEF,IAAA,oCAA4B,EAAC;QAC3B,KAAK,EAAE,gBAAmD;QAC1D,QAAQ,EAAE,wBAAwB;QAClC,MAAM,EAAE,YAAY;KACrB,CAAC,CAAC;IAEH,OAAO,CACL,8BAAC,wBAAU,4BACG,gCAAgC,EAC5C,IAAI,EAAE,kBAAU,CAAC,KAAK,EACtB,SAAS,EAAE,SAAS,IAChB,gBAAgB,EACpB,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEW,QAAA,0BAA0B,GAAG,IAAA,6BAAY,EACpD,mCAAmC,CACpC,CAAC,EAAC,QAAQ,oBAAA,EAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
3
|
-
size?: ButtonSize;
|
|
4
|
-
onClick?: () => void;
|
|
5
|
-
overrides?: ButtonProps['overrides'];
|
|
6
|
-
}
|
|
1
|
+
import { AudioPlayerIconButtonWithShortcuts } from '../types';
|
|
2
|
+
export declare type AudioPlayerPlayPauseButtonProps = AudioPlayerIconButtonWithShortcuts;
|
|
7
3
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/play-pause-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/play-pause-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,UAAU,CAAC;AAE5D,oBAAY,+BAA+B,GAAG,kCAAkC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/replay-button/defaults.ts"],"names":[],"mappings":";;;;;AAAA,wBAIE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/replay-button/defaults.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,uBAAuB,EAAE;QACvB,WAAW,EAAE,0BAA0B;KACxC;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/replay-button/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./replay-button"), exports);
|
|
14
|
+
__exportStar(require("./types"), exports);
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/replay-button/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAgC;AAChC,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replay-button.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/replay-button/replay-button.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAC,4BAA4B,EAAC,MAAM,SAAS,CAAC;AA6BrD,eAAO,MAAM,uBAAuB,8FAIlC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.AudioPlayerReplayButton = void 0;
|
|
18
|
+
var react_1 = __importDefault(require("react"));
|
|
19
|
+
var types_1 = require("../../../button/types");
|
|
20
|
+
var icon_button_1 = require("../../../icon-button");
|
|
21
|
+
var with_own_theme_1 = require("../../../utils/with-own-theme");
|
|
22
|
+
var context_1 = require("../../context");
|
|
23
|
+
var utils_1 = require("../../utils");
|
|
24
|
+
var defaults_1 = __importDefault(require("./defaults"));
|
|
25
|
+
var defaultKeyboardShortcuts = ['j'];
|
|
26
|
+
var ThemelessAudioPlayerReplayButton = react_1.default.memo(function (props) {
|
|
27
|
+
var getReplayButtonProps = (0, context_1.useAudioPlayerContext)().getReplayButtonProps;
|
|
28
|
+
var overrides = (0, utils_1.useButtonOverrides)(props, 'audioPlayerReplayButton');
|
|
29
|
+
var propsFromContext = getReplayButtonProps && getReplayButtonProps(props);
|
|
30
|
+
(0, utils_1.useKeyboardShortcutsOnButton)({
|
|
31
|
+
props: propsFromContext,
|
|
32
|
+
defaults: defaultKeyboardShortcuts,
|
|
33
|
+
});
|
|
34
|
+
return (react_1.default.createElement(icon_button_1.IconButton, __assign({ "data-testid": "audio-player-replay-button", size: types_1.ButtonSize.Medium, overrides: overrides }, propsFromContext)));
|
|
35
|
+
});
|
|
36
|
+
exports.AudioPlayerReplayButton = (0, with_own_theme_1.withOwnTheme)(ThemelessAudioPlayerReplayButton)({
|
|
37
|
+
defaults: defaults_1.default,
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=replay-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replay-button.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/replay-button/replay-button.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,+CAAiD;AACjD,oDAAgD;AAChD,gEAA2D;AAC3D,yCAAoD;AACpD,qCAA6E;AAC7E,wDAAkC;AAGlC,IAAM,wBAAwB,GAAG,CAAC,GAAG,CAAC,CAAC;AAEvC,IAAM,gCAAgC,GAA2C,eAAK,CAAC,IAAI,CACzF,UAAA,KAAK;IACI,IAAA,oBAAoB,GAAI,IAAA,+BAAqB,GAAE,qBAA3B,CAA4B;IAEvD,IAAM,SAAS,GAAG,IAAA,0BAAkB,EAAC,KAAK,EAAE,yBAAyB,CAAC,CAAC;IAEvE,IAAM,gBAAgB,GACpB,oBAAqB,IAAI,oBAAoB,CAAC,KAAK,CAAC,CAAC;IAEvD,IAAA,oCAA4B,EAAC;QAC3B,KAAK,EAAE,gBAAgD;QACvD,QAAQ,EAAE,wBAAwB;KACnC,CAAC,CAAC;IAEH,OAAO,CACL,8BAAC,wBAAU,4BACG,4BAA4B,EACxC,IAAI,EAAE,kBAAU,CAAC,MAAM,EACvB,SAAS,EAAE,SAAS,IAChB,gBAAgB,EACpB,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEW,QAAA,uBAAuB,GAAG,IAAA,6BAAY,EACjD,gCAAgC,CACjC,CAAC;IACA,QAAQ,oBAAA;CACT,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/replay-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,UAAU,CAAC;AAE5D,oBAAY,4BAA4B,GAAG,kCAAkC,GAAG;IAC9E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/replay-button/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export declare const AudioPlayerSeekBar: React.FC<SeekBarProps>;
|
|
1
|
+
import { AudioPlayerSeekBarProps } from './types';
|
|
2
|
+
export declare const AudioPlayerSeekBar: import("../../../utils/with-own-theme").NewsKitReactComponents<AudioPlayerSeekBarProps>;
|
|
4
3
|
//# sourceMappingURL=seek-bar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seek-bar.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/seek-bar/seek-bar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"seek-bar.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/seek-bar/seek-bar.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,uBAAuB,EAAC,MAAM,SAAS,CAAC;AA8IhD,eAAO,MAAM,kBAAkB,yFAG7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seek-bar.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/seek-bar/seek-bar.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAyC;AACzC,2CAA+C;AAC/C,yCAAoD;AAEpD,0CAAoD;AACpD,kEAA6D;AAC7D,8CAAkD;AAClD,8DAAsE;AACtE,sDAAkD;AAClD,wCAAoD;AACpD,iDAAmD;AACnD,gEAA2D;AAC3D,kEAA2C;AAC3C,wCAAwC;AACxC,wDAAkC;AAClC,iCAA8D;AAE9D,IAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"seek-bar.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/seek-bar/seek-bar.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAyC;AACzC,2CAA+C;AAC/C,yCAAoD;AAEpD,0CAAoD;AACpD,kEAA6D;AAC7D,8CAAkD;AAClD,8DAAsE;AACtE,sDAAkD;AAClD,wCAAoD;AACpD,iDAAmD;AACnD,gEAA2D;AAC3D,kEAA2C;AAC3C,wCAAwC;AACxC,wDAAkC;AAClC,iCAA8D;AAE9D,IAAM,gBAAgB,GAAsC,UAAC,EAE5D;QADC,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA;IAEP,IAAQ,sBAAsB,GAAI,SAAS,OAAb,CAAc;IAEnD,IAAM,KAAK,GAAG,IAAA,gBAAQ,GAAE,CAAC;IAEF,IAAQ,qBAAqB,GAChD,KAAK,CAAC,iBAAiB,0BADyB,CACxB;IAErB,IAAA,eAAe,GAAI,IAAA,+BAAqB,GAAE,gBAA3B,CAA4B;IAE5C,IAAA,KACJ,eAAgB,IAAI,eAAe,EAAE,EADhC,QAAQ,cAAA,EAAE,WAAW,iBAAA,EAAE,QAAQ,cAAA,EAAE,QAAQ,cACT,CAAC;IAEjC,IAAA,mBAAmB,GAAI,IAAA,oBAAY,EAAC,CAAC,CAAC,GAAnB,CAAoB;IAE9C,IAAM,WAAW,GAA+B,IAAA,mBAAW,EACzD,UAAC,EAAuD;YAA/C,UAAU,WAAA,EAAY,aAAa,cAAA,EAAE,SAAS,eAAA;QACrD,IAAM,sBAAsB,GAAG,IAAA,oBAAQ,EACrC,EAAC,KAAK,OAAA,EAAE,SAAS,WAAA,EAAC,EAClB,iCAAiC,EACjC,cAAc,EACd,aAAa,CACd,CAAC;QAEF,IAAM,+BAA+B,GAAG,IAAA,oBAAQ,EAC9C,EAAC,KAAK,OAAA,EAAE,SAAS,WAAA,EAAC,EAClB,qCAAqC,EACrC,kBAAkB,EAClB,aAAa,CACd,CAAC;QACF,IAAM,oBAAoB,GAAG,IAAA,oBAAQ,EACnC,EAAC,KAAK,OAAA,EAAE,SAAS,WAAA,EAAC,EAClB,8BAA8B,EAC9B,WAAW,EACX,aAAa,CACd,CAAC;QAEI,IAAA,KAAmB,IAAA,uBAAe,EACtC,IAAA,4BAAoB,EAClB,KAAK,EACL,MAAM,EACN,iBAAiB,EACjB,sBAAsB,CACvB,EACD,IAAA,4BAAoB,EAClB,KAAK,EACL,MAAM,EACN,iBAAiB,EACjB,+BAA+B,CAChC,EACD,IAAA,4BAAoB,EAClB,KAAK,EACL,MAAM,EACN,iBAAiB,EACjB,oBAAoB,CACrB,EACD,CAAC,WAAW,CAAC,EACb,QAAQ,CACT,EArBM,MAAM,YAAA,EAAE,MAAM,YAqBpB,CAAC;QAEF,OAAO,CACL,8BAAC,oBAAW,eACN,UAAU,IACd,MAAM,EAAE,CAAC,WAAW,CAAC,EACrB,OAAO,EAAE,SAAS,EAClB,SAAS,EAAE,UAAA,CAAC;gBACV,IAAM,YAAY,GAAG,EAAE,CAAC;gBACxB,0BAA0B;gBAC1B,IAAI,CAAC,CAAC,OAAO,KAAK,YAAY;oBAAE,CAAC,CAAC,cAAc,EAAE,CAAC;YACrD,CAAC,EACD,KAAK,EAAE;gBACL,UAAU,EAAE,IAAA,gCAAkB,EAAC;oBAC7B,MAAM,QAAA;oBACN,MAAM,QAAA;oBACN,GAAG,EAAE,CAAC;oBACN,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;iBAC1B,CAAC;aACH,iBACW,oBAAoB,EAChC,SAAS,wBACJ,qBAAqB,GACrB,IAAA,wCAAwB,EAAC,sBAAsB,CAAC,MAGpD,aAAa,CACF,CACf,CAAC;IACJ,CAAC,EACD;QACE,QAAQ;QACR,QAAQ;QACR,SAAS;QACT,qBAAqB;QACrB,sBAAsB;QACtB,KAAK;QACL,WAAW;KACZ,CACF,CAAC;IAEF,OAAO,CACL;QACE,8BAAC,eAAM,IACL,GAAG,EAAE,CAAC,EACN,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,EAC9B,MAAM,EAAE,CAAC,WAAW,CAAC,EACrB,IAAI,EAAE,CAAC,EACP,SAAS,EAAC,UAAU,EACpB,aAAa,EAAE,yBAAkB,IAAA,4BAAoB,EAAC;gBACpD,WAAW;aACZ,CAAC,iBAAO,IAAA,4BAAoB,EAAC,CAAC,QAAQ,CAAC,CAAC,CAAE,EAC3C,QAAQ,EAAE,UAAC,EAAO;oBAAN,KAAK,QAAA;gBAAM,OAAA,QAAQ,CAAC,KAAK,CAAC;YAAf,CAAe,EACtC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAC,cAAc,EACzB,eAAe,EAAE,mBAAmB,EACpC,SAAS,wBACJ,qBAAqB,GACrB,IAAA,wCAAwB,EAAC,sBAAsB,CAAC,IAErD;QACF,8BAAC,qCAAgB,IAAC,EAAE,EAAE,mBAAmB,iBAAc,MAAM,mDAE1C,CAClB,CACJ,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,kBAAkB,GAAG,IAAA,6BAAY,EAAC,gBAAgB,CAAC,CAAC;IAC/D,QAAQ,oBAAA;IACR,YAAY,yBAAA;CACb,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/seek-bar/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,oBAAY,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/seek-bar/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,oBAAY,uBAAuB,GAAG;IACpC,SAAS,CAAC,EAAE;QACV,MAAM,CAAC,EAAE,mBAAmB,CAAC;QAC7B,SAAS,CAAC,EAAE;YACV,WAAW,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;SAC1B,CAAC;KACH,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/skip-next-button/defaults.ts"],"names":[],"mappings":";;;;;AAAA,wBAIE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/skip-next-button/defaults.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,yBAAyB,EAAE;QACzB,WAAW,EAAE,0BAA0B;KACxC;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/skip-next-button/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./skip-next-button"), exports);
|
|
14
|
+
__exportStar(require("./types"), exports);
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/skip-next-button/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmC;AACnC,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skip-next-button.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/skip-next-button/skip-next-button.tsx"],"names":[],"mappings":"AAoCA,eAAO,MAAM,yBAAyB,uHAEzB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.AudioPlayerSkipNextButton = void 0;
|
|
18
|
+
var react_1 = __importDefault(require("react"));
|
|
19
|
+
var icon_button_1 = require("../../../icon-button");
|
|
20
|
+
var types_1 = require("../../../button/types");
|
|
21
|
+
var context_1 = require("../../context");
|
|
22
|
+
var defaults_1 = __importDefault(require("./defaults"));
|
|
23
|
+
var with_own_theme_1 = require("../../../utils/with-own-theme");
|
|
24
|
+
var utils_1 = require("../../utils");
|
|
25
|
+
var defaultKeyboardShortcuts = ['shift + n'];
|
|
26
|
+
var ThemelessAudioPlayerSkipNextButton = react_1.default.memo(function (props) {
|
|
27
|
+
var getSkipNextButtonProps = (0, context_1.useAudioPlayerContext)().getSkipNextButtonProps;
|
|
28
|
+
var overrides = (0, utils_1.useButtonOverrides)(props, 'audioPlayerSkipNextButton');
|
|
29
|
+
var propsFromContext = getSkipNextButtonProps && getSkipNextButtonProps(props);
|
|
30
|
+
(0, utils_1.useKeyboardShortcutsOnButton)({
|
|
31
|
+
props: propsFromContext,
|
|
32
|
+
defaults: defaultKeyboardShortcuts,
|
|
33
|
+
});
|
|
34
|
+
return (react_1.default.createElement(icon_button_1.IconButton, __assign({ "data-testid": "audio-player-skip-next-button", size: types_1.ButtonSize.Medium, overrides: overrides }, propsFromContext)));
|
|
35
|
+
});
|
|
36
|
+
exports.AudioPlayerSkipNextButton = (0, with_own_theme_1.withOwnTheme)(ThemelessAudioPlayerSkipNextButton)({ defaults: defaults_1.default });
|
|
37
|
+
//# sourceMappingURL=skip-next-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skip-next-button.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/skip-next-button/skip-next-button.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,oDAAgD;AAChD,+CAAiD;AACjD,yCAAoD;AACpD,wDAAkC;AAClC,gEAA2D;AAC3D,qCAA6E;AAG7E,IAAM,wBAAwB,GAAG,CAAC,WAAW,CAAC,CAAC;AAE/C,IAAM,kCAAkC,GAA6C,eAAK,CAAC,IAAI,CAC7F,UAAA,KAAK;IACI,IAAA,sBAAsB,GAAI,IAAA,+BAAqB,GAAE,uBAA3B,CAA4B;IAEzD,IAAM,SAAS,GAAG,IAAA,0BAAkB,EAAC,KAAK,EAAE,2BAA2B,CAAC,CAAC;IAEzE,IAAM,gBAAgB,GACpB,sBAAuB,IAAI,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAE3D,IAAA,oCAA4B,EAAC;QAC3B,KAAK,EAAE,gBAAkD;QACzD,QAAQ,EAAE,wBAAwB;KACnC,CAAC,CAAC;IAEH,OAAO,CACL,8BAAC,wBAAU,4BACG,+BAA+B,EAC3C,IAAI,EAAE,kBAAU,CAAC,MAAM,EACvB,SAAS,EAAE,SAAS,IAChB,gBAAgB,EACpB,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEW,QAAA,yBAAyB,GAAG,IAAA,6BAAY,EACnD,kCAAkC,CACnC,CAAC,EAAC,QAAQ,oBAAA,EAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/skip-next-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,UAAU,CAAC;AAE5D,oBAAY,8BAA8B,GAAG,kCAAkC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/skip-next-button/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/skip-previous-button/defaults.ts"],"names":[],"mappings":";;;;;AAAA,wBAIE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/skip-previous-button/defaults.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,6BAA6B,EAAE;QAC7B,WAAW,EAAE,0BAA0B;KACxC;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/skip-previous-button/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./skip-previous-button"), exports);
|
|
14
|
+
__exportStar(require("./types"), exports);
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/skip-previous-button/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAuC;AACvC,0CAAwB"}
|
package/cjs/audio-player-composable/components/skip-previous-button/skip-previous-button.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skip-previous-button.d.ts","sourceRoot":"","sources":["../../../../../src/audio-player-composable/components/skip-previous-button/skip-previous-button.tsx"],"names":[],"mappings":"AAuCA,eAAO,MAAM,6BAA6B,uHAE7B,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.AudioPlayerSkipPreviousButton = void 0;
|
|
18
|
+
var react_1 = __importDefault(require("react"));
|
|
19
|
+
var icon_button_1 = require("../../../icon-button");
|
|
20
|
+
var types_1 = require("../../../button/types");
|
|
21
|
+
var context_1 = require("../../context");
|
|
22
|
+
var defaults_1 = __importDefault(require("./defaults"));
|
|
23
|
+
var with_own_theme_1 = require("../../../utils/with-own-theme");
|
|
24
|
+
var utils_1 = require("../../utils");
|
|
25
|
+
var defaultKeyboardShortcuts = ['shift + p'];
|
|
26
|
+
var ThemelessAudioPlayerSkipPreviousButton = react_1.default.memo(function (props) {
|
|
27
|
+
var getSkipPreviousButtonProps = (0, context_1.useAudioPlayerContext)().getSkipPreviousButtonProps;
|
|
28
|
+
var overrides = (0, utils_1.useButtonOverrides)(props, 'audioPlayerSkipPreviousButton');
|
|
29
|
+
var propsFromContext = getSkipPreviousButtonProps && getSkipPreviousButtonProps(props);
|
|
30
|
+
(0, utils_1.useKeyboardShortcutsOnButton)({
|
|
31
|
+
props: propsFromContext,
|
|
32
|
+
defaults: defaultKeyboardShortcuts,
|
|
33
|
+
});
|
|
34
|
+
return (react_1.default.createElement(icon_button_1.IconButton, __assign({ "data-testid": "audio-player-skip-previous-button", size: types_1.ButtonSize.Medium, overrides: overrides }, propsFromContext)));
|
|
35
|
+
});
|
|
36
|
+
exports.AudioPlayerSkipPreviousButton = (0, with_own_theme_1.withOwnTheme)(ThemelessAudioPlayerSkipPreviousButton)({ defaults: defaults_1.default });
|
|
37
|
+
//# sourceMappingURL=skip-previous-button.js.map
|