newskit 6.9.0 → 7.1.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/accordion/accordion.d.ts.map +1 -1
- package/cjs/accordion/accordion.js +1 -1
- package/cjs/accordion/accordion.js.map +1 -1
- package/cjs/accordion/defaults.d.ts +1 -1
- package/cjs/accordion/defaults.js +5 -5
- package/cjs/accordion/defaults.js.map +1 -1
- package/cjs/accordion/style-presets.d.ts.map +1 -1
- package/cjs/accordion/style-presets.js +4 -1
- package/cjs/accordion/style-presets.js.map +1 -1
- package/cjs/accordion/styled.d.ts +4 -0
- package/cjs/accordion/styled.d.ts.map +1 -1
- package/cjs/accordion/styled.js +3 -2
- package/cjs/accordion/styled.js.map +1 -1
- package/cjs/accordion/types.d.ts +4 -4
- package/cjs/accordion/types.d.ts.map +1 -1
- package/cjs/assistive-text/assistive-text.d.ts.map +1 -1
- package/cjs/assistive-text/assistive-text.js +3 -2
- package/cjs/assistive-text/assistive-text.js.map +1 -1
- package/cjs/assistive-text/styled.d.ts.map +1 -1
- package/cjs/assistive-text/styled.js +3 -4
- package/cjs/assistive-text/styled.js.map +1 -1
- package/cjs/audio-player-composable/audio-player-composable.js +2 -2
- package/cjs/audio-player-composable/audio-player-composable.js.map +1 -1
- package/cjs/audio-player-composable/components/play-pause-button/play-pause-button.js +1 -1
- package/cjs/audio-player-composable/components/play-pause-button/play-pause-button.js.map +1 -1
- package/cjs/audio-player-composable/components/playback-speed-control/defaults.d.ts +2 -1
- package/cjs/audio-player-composable/components/playback-speed-control/defaults.d.ts.map +1 -1
- package/cjs/audio-player-composable/components/playback-speed-control/defaults.js +2 -1
- package/cjs/audio-player-composable/components/playback-speed-control/defaults.js.map +1 -1
- package/cjs/audio-player-composable/components/time-display/defaults.js +1 -1
- package/cjs/audio-player-composable/components/time-display/defaults.js.map +1 -1
- package/cjs/audio-player-composable/components/volume-control/defaults.d.ts +1 -1
- package/cjs/audio-player-composable/components/volume-control/defaults.js +2 -2
- package/cjs/audio-player-composable/components/volume-control/defaults.js.map +1 -1
- package/cjs/audio-player-composable/components/volume-control/style-presets.d.ts.map +1 -1
- package/cjs/audio-player-composable/components/volume-control/style-presets.js +15 -3
- package/cjs/audio-player-composable/components/volume-control/style-presets.js.map +1 -1
- package/cjs/audio-player-composable/components/volume-control/styled.d.ts +0 -1
- package/cjs/audio-player-composable/components/volume-control/styled.d.ts.map +1 -1
- package/cjs/banner/banner-internal.d.ts.map +1 -1
- package/cjs/banner/banner-internal.js +21 -1
- package/cjs/banner/banner-internal.js.map +1 -1
- package/cjs/banner/defaults.d.ts +4 -2
- package/cjs/banner/defaults.d.ts.map +1 -1
- package/cjs/banner/defaults.js +5 -3
- package/cjs/banner/defaults.js.map +1 -1
- package/cjs/banner/styled.d.ts.map +1 -1
- package/cjs/banner/styled.js +2 -5
- package/cjs/banner/styled.js.map +1 -1
- package/cjs/banner/types.d.ts +0 -4
- package/cjs/banner/types.d.ts.map +1 -1
- package/cjs/base-floating-element/base-floating-element.d.ts.map +1 -1
- package/cjs/base-floating-element/base-floating-element.js +17 -6
- package/cjs/base-floating-element/base-floating-element.js.map +1 -1
- package/cjs/base-floating-element/styled.js +1 -1
- package/cjs/base-floating-element/styled.js.map +1 -1
- package/cjs/base-floating-element/types.d.ts +1 -1
- package/cjs/base-floating-element/types.d.ts.map +1 -1
- package/cjs/base-floating-element/utils.js +1 -1
- package/cjs/base-floating-element/utils.js.map +1 -1
- package/cjs/block/block.d.ts +0 -4
- package/cjs/block/block.d.ts.map +1 -1
- package/cjs/block/block.js +1 -4
- package/cjs/block/block.js.map +1 -1
- package/cjs/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/cjs/breadcrumbs/breadcrumbs.js +1 -1
- package/cjs/breadcrumbs/breadcrumbs.js.map +1 -1
- package/cjs/breadcrumbs/style-presets.d.ts.map +1 -1
- package/cjs/breadcrumbs/style-presets.js +2 -0
- package/cjs/breadcrumbs/style-presets.js.map +1 -1
- package/cjs/button/defaults.d.ts +6 -3
- package/cjs/button/defaults.d.ts.map +1 -1
- package/cjs/button/defaults.js +6 -3
- package/cjs/button/defaults.js.map +1 -1
- package/cjs/button/style-presets.d.ts.map +1 -1
- package/cjs/button/style-presets.js +4 -3
- package/cjs/button/style-presets.js.map +1 -1
- package/cjs/caption/caption.d.ts.map +1 -1
- package/cjs/caption/caption.js +16 -11
- package/cjs/caption/caption.js.map +1 -1
- package/cjs/caption/defaults.d.ts +0 -13
- package/cjs/caption/defaults.d.ts.map +1 -1
- package/cjs/caption/defaults.js +1 -14
- package/cjs/caption/defaults.js.map +1 -1
- package/cjs/caption/index.d.ts +0 -1
- package/cjs/caption/index.d.ts.map +1 -1
- package/cjs/caption/index.js +0 -1
- package/cjs/caption/index.js.map +1 -1
- package/cjs/caption/types.d.ts +0 -5
- package/cjs/caption/types.d.ts.map +1 -1
- package/cjs/card/card.d.ts.map +1 -1
- package/cjs/card/card.js +1 -1
- package/cjs/card/card.js.map +1 -1
- package/cjs/card/defaults.d.ts +21 -4
- package/cjs/card/defaults.d.ts.map +1 -1
- package/cjs/card/defaults.js +29 -12
- package/cjs/card/defaults.js.map +1 -1
- package/cjs/card/style-presets.d.ts.map +1 -1
- package/cjs/card/style-presets.js +5 -1
- package/cjs/card/style-presets.js.map +1 -1
- package/cjs/card/styled.d.ts.map +1 -1
- package/cjs/card/styled.js +7 -5
- package/cjs/card/styled.js.map +1 -1
- package/cjs/card/types.d.ts +4 -12
- package/cjs/card/types.d.ts.map +1 -1
- package/cjs/dialog/styled.d.ts.map +1 -1
- package/cjs/dialog/styled.js +8 -7
- package/cjs/dialog/styled.js.map +1 -1
- package/cjs/dialog/types.d.ts +4 -7
- package/cjs/dialog/types.d.ts.map +1 -1
- package/cjs/divider/style-presets.js +1 -1
- package/cjs/divider/style-presets.js.map +1 -1
- package/cjs/drawer/defaults.d.ts +6 -3
- package/cjs/drawer/defaults.d.ts.map +1 -1
- package/cjs/drawer/defaults.js +6 -3
- package/cjs/drawer/defaults.js.map +1 -1
- package/cjs/fieldset/styled.d.ts.map +1 -1
- package/cjs/fieldset/styled.js +1 -1
- package/cjs/fieldset/styled.js.map +1 -1
- package/cjs/fieldset/types.d.ts +0 -4
- package/cjs/fieldset/types.d.ts.map +1 -1
- package/cjs/flag/defaults.d.ts +6 -3
- package/cjs/flag/defaults.d.ts.map +1 -1
- package/cjs/flag/defaults.js +6 -3
- package/cjs/flag/defaults.js.map +1 -1
- package/cjs/flag/styled.d.ts +0 -1
- package/cjs/flag/styled.d.ts.map +1 -1
- package/cjs/flag/types.d.ts +0 -4
- package/cjs/flag/types.d.ts.map +1 -1
- package/cjs/grid-layout/grid-layout.d.ts +0 -1
- package/cjs/grid-layout/grid-layout.d.ts.map +1 -1
- package/cjs/grid-layout/styled.d.ts +0 -1
- package/cjs/grid-layout/styled.d.ts.map +1 -1
- package/cjs/grid-layout/styled.js +2 -2
- package/cjs/grid-layout/styled.js.map +1 -1
- package/cjs/grid-layout/types.d.ts +0 -4
- package/cjs/grid-layout/types.d.ts.map +1 -1
- package/cjs/icon-button/defaults.d.ts +6 -3
- package/cjs/icon-button/defaults.d.ts.map +1 -1
- package/cjs/icon-button/defaults.js +6 -3
- package/cjs/icon-button/defaults.js.map +1 -1
- package/cjs/icon-button/icon-button.d.ts.map +1 -1
- package/cjs/icon-button/icon-button.js.map +1 -1
- package/cjs/icon-button/style-presets.d.ts.map +1 -1
- package/cjs/icon-button/style-presets.js +4 -3
- package/cjs/icon-button/style-presets.js.map +1 -1
- package/cjs/icons/filled/material/icon-filled-arrow-back.d.ts +2 -0
- package/cjs/icons/filled/material/icon-filled-arrow-back.js +11 -0
- package/cjs/icons/filled/material/icon-filled-arrow-forward.d.ts +2 -0
- package/cjs/icons/filled/material/icon-filled-arrow-forward.js +11 -0
- package/cjs/icons/filled/material/icon-filled-first-page.d.ts +2 -0
- package/cjs/icons/filled/material/icon-filled-first-page.js +11 -0
- package/cjs/icons/filled/material/icon-filled-last-page.d.ts +2 -0
- package/cjs/icons/filled/material/icon-filled-last-page.js +11 -0
- package/cjs/icons/filled/material/icon-filled-more-horiz.d.ts +2 -0
- package/cjs/icons/filled/material/icon-filled-more-horiz.js +11 -0
- package/cjs/icons/filled/material/icon-filled-remove-red-eye.d.ts +2 -0
- package/cjs/icons/filled/material/icon-filled-remove-red-eye.js +11 -0
- package/cjs/icons/filled/material/icon-filled-star.d.ts +2 -0
- package/cjs/icons/filled/material/icon-filled-star.js +11 -0
- package/cjs/icons/filled/material/index.d.ts +7 -0
- package/cjs/icons/filled/material/index.js +16 -2
- package/cjs/icons/outlined/material/icon-outlined-arrow-back.d.ts +2 -0
- package/cjs/icons/outlined/material/icon-outlined-arrow-back.js +11 -0
- package/cjs/icons/outlined/material/icon-outlined-arrow-forward.d.ts +2 -0
- package/cjs/icons/outlined/material/icon-outlined-arrow-forward.js +11 -0
- package/cjs/icons/outlined/material/icon-outlined-first-page.d.ts +2 -0
- package/cjs/icons/outlined/material/icon-outlined-first-page.js +11 -0
- package/cjs/icons/outlined/material/icon-outlined-last-page.d.ts +2 -0
- package/cjs/icons/outlined/material/icon-outlined-last-page.js +11 -0
- package/cjs/icons/outlined/material/icon-outlined-more-horiz.d.ts +2 -0
- package/cjs/icons/outlined/material/icon-outlined-more-horiz.js +11 -0
- package/cjs/icons/outlined/material/icon-outlined-remove-red-eye.d.ts +2 -0
- package/cjs/icons/outlined/material/icon-outlined-remove-red-eye.js +11 -0
- package/cjs/icons/outlined/material/icon-outlined-star.d.ts +2 -0
- package/cjs/icons/outlined/material/icon-outlined-star.js +11 -0
- package/cjs/icons/outlined/material/index.d.ts +7 -0
- package/cjs/icons/outlined/material/index.js +16 -2
- package/cjs/index.d.ts +1 -0
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +1 -0
- package/cjs/index.js.map +1 -1
- package/cjs/inline-message/defaults.d.ts +2 -1
- package/cjs/inline-message/defaults.d.ts.map +1 -1
- package/cjs/inline-message/defaults.js +2 -1
- package/cjs/inline-message/defaults.js.map +1 -1
- package/cjs/link/index.d.ts +0 -1
- package/cjs/link/index.d.ts.map +1 -1
- package/cjs/link/index.js +0 -1
- package/cjs/link/index.js.map +1 -1
- package/cjs/link/link-inline.js +1 -1
- package/cjs/link/link-inline.js.map +1 -1
- package/cjs/link/style-presets.d.ts.map +1 -1
- package/cjs/link/style-presets.js +15 -14
- package/cjs/link/style-presets.js.map +1 -1
- package/cjs/menu/defaults.d.ts +104 -24
- package/cjs/menu/defaults.d.ts.map +1 -1
- package/cjs/menu/defaults.js +53 -28
- package/cjs/menu/defaults.js.map +1 -1
- package/cjs/menu/menu-item.d.ts.map +1 -1
- package/cjs/menu/menu-item.js +2 -2
- package/cjs/menu/menu-item.js.map +1 -1
- package/cjs/menu/menu-sub.d.ts +0 -1
- package/cjs/menu/menu-sub.d.ts.map +1 -1
- package/cjs/menu/menu-sub.js +3 -3
- package/cjs/menu/menu-sub.js.map +1 -1
- package/cjs/menu/style-presets.d.ts.map +1 -1
- package/cjs/menu/style-presets.js +17 -5
- package/cjs/menu/style-presets.js.map +1 -1
- package/cjs/menu/styled.d.ts +2 -2
- package/cjs/menu/styled.d.ts.map +1 -1
- package/cjs/menu/styled.js +9 -8
- package/cjs/menu/styled.js.map +1 -1
- package/cjs/menu/types.d.ts +1 -2
- package/cjs/menu/types.d.ts.map +1 -1
- package/cjs/modal/defaults.d.ts +6 -3
- package/cjs/modal/defaults.d.ts.map +1 -1
- package/cjs/modal/defaults.js +6 -3
- package/cjs/modal/defaults.js.map +1 -1
- package/cjs/modal/styled.js +1 -1
- package/cjs/modal/styled.js.map +1 -1
- package/cjs/newskit-provider/newskit-provider.d.ts +5 -2
- package/cjs/newskit-provider/newskit-provider.d.ts.map +1 -1
- package/cjs/newskit-provider/newskit-provider.js +2 -2
- package/cjs/newskit-provider/newskit-provider.js.map +1 -1
- package/cjs/ordered-list/ordered-list.d.ts.map +1 -1
- package/cjs/ordered-list/ordered-list.js +1 -1
- package/cjs/ordered-list/ordered-list.js.map +1 -1
- package/cjs/pagination/components/button/index.d.ts +2 -0
- package/cjs/pagination/components/button/index.d.ts.map +1 -0
- package/cjs/pagination/components/button/index.js +14 -0
- package/cjs/pagination/components/button/index.js.map +1 -0
- package/cjs/pagination/components/button/pagination-button.d.ts +5 -0
- package/cjs/pagination/components/button/pagination-button.d.ts.map +1 -0
- package/cjs/{link/link.js → pagination/components/button/pagination-button.js} +7 -9
- package/cjs/pagination/components/button/pagination-button.js.map +1 -0
- package/cjs/pagination/components/first-item/first-item.d.ts +14 -0
- package/cjs/pagination/components/first-item/first-item.d.ts.map +1 -0
- package/cjs/pagination/components/first-item/first-item.js +61 -0
- package/cjs/pagination/components/first-item/first-item.js.map +1 -0
- package/cjs/pagination/components/first-item/index.d.ts +3 -0
- package/cjs/pagination/components/first-item/index.d.ts.map +1 -0
- package/cjs/pagination/components/first-item/index.js +15 -0
- package/cjs/pagination/components/first-item/index.js.map +1 -0
- package/cjs/pagination/components/first-item/types.d.ts +14 -0
- package/cjs/pagination/components/first-item/types.d.ts.map +1 -0
- package/cjs/pagination/components/first-item/types.js +3 -0
- package/cjs/pagination/components/first-item/types.js.map +1 -0
- package/cjs/pagination/components/item/index.d.ts +2 -0
- package/cjs/pagination/components/item/index.d.ts.map +1 -0
- package/cjs/pagination/components/item/index.js +14 -0
- package/cjs/pagination/components/item/index.js.map +1 -0
- package/cjs/pagination/components/item/pagination-item.d.ts +4 -0
- package/cjs/pagination/components/item/pagination-item.d.ts.map +1 -0
- package/cjs/pagination/components/item/pagination-item.js +77 -0
- package/cjs/pagination/components/item/pagination-item.js.map +1 -0
- package/cjs/pagination/components/items/index.d.ts +2 -0
- package/cjs/pagination/components/items/index.d.ts.map +1 -0
- package/cjs/pagination/components/items/index.js +14 -0
- package/cjs/pagination/components/items/index.js.map +1 -0
- package/cjs/pagination/components/items/pagination-items.d.ts +4 -0
- package/cjs/pagination/components/items/pagination-items.d.ts.map +1 -0
- package/cjs/pagination/components/items/pagination-items.js +95 -0
- package/cjs/pagination/components/items/pagination-items.js.map +1 -0
- package/cjs/pagination/components/last-item/index.d.ts +3 -0
- package/cjs/pagination/components/last-item/index.d.ts.map +1 -0
- package/cjs/pagination/components/last-item/index.js +15 -0
- package/cjs/pagination/components/last-item/index.js.map +1 -0
- package/cjs/pagination/components/last-item/last-item.d.ts +14 -0
- package/cjs/pagination/components/last-item/last-item.d.ts.map +1 -0
- package/cjs/pagination/components/last-item/last-item.js +65 -0
- package/cjs/pagination/components/last-item/last-item.js.map +1 -0
- package/cjs/pagination/components/last-item/types.d.ts +14 -0
- package/cjs/pagination/components/last-item/types.d.ts.map +1 -0
- package/cjs/pagination/components/last-item/types.js +3 -0
- package/cjs/pagination/components/last-item/types.js.map +1 -0
- package/cjs/pagination/components/list-item/index.d.ts +2 -0
- package/cjs/pagination/components/list-item/index.d.ts.map +1 -0
- package/cjs/pagination/components/list-item/index.js +14 -0
- package/cjs/pagination/components/list-item/index.js.map +1 -0
- package/cjs/pagination/components/list-item/list-item.d.ts +3 -0
- package/cjs/pagination/components/list-item/list-item.d.ts.map +1 -0
- package/cjs/pagination/components/list-item/list-item.js +25 -0
- package/cjs/pagination/components/list-item/list-item.js.map +1 -0
- package/cjs/pagination/components/next-item/index.d.ts +3 -0
- package/cjs/pagination/components/next-item/index.d.ts.map +1 -0
- package/cjs/pagination/components/next-item/index.js +15 -0
- package/cjs/pagination/components/next-item/index.js.map +1 -0
- package/cjs/pagination/components/next-item/next-item.d.ts +14 -0
- package/cjs/pagination/components/next-item/next-item.d.ts.map +1 -0
- package/cjs/pagination/components/next-item/next-item.js +70 -0
- package/cjs/pagination/components/next-item/next-item.js.map +1 -0
- package/cjs/pagination/components/next-item/types.d.ts +14 -0
- package/cjs/pagination/components/next-item/types.d.ts.map +1 -0
- package/cjs/pagination/components/next-item/types.js +3 -0
- package/cjs/pagination/components/next-item/types.js.map +1 -0
- package/cjs/pagination/components/prev-item/index.d.ts +3 -0
- package/cjs/pagination/components/prev-item/index.d.ts.map +1 -0
- package/cjs/pagination/components/prev-item/index.js +15 -0
- package/cjs/pagination/components/prev-item/index.js.map +1 -0
- package/cjs/pagination/components/prev-item/prev-item.d.ts +14 -0
- package/cjs/pagination/components/prev-item/prev-item.d.ts.map +1 -0
- package/cjs/pagination/components/prev-item/prev-item.js +66 -0
- package/cjs/pagination/components/prev-item/prev-item.js.map +1 -0
- package/cjs/pagination/components/prev-item/types.d.ts +14 -0
- package/cjs/pagination/components/prev-item/types.d.ts.map +1 -0
- package/cjs/pagination/components/prev-item/types.js +3 -0
- package/cjs/pagination/components/prev-item/types.js.map +1 -0
- package/cjs/pagination/components/types.d.ts +8 -0
- package/cjs/pagination/components/types.d.ts.map +1 -0
- package/cjs/pagination/components/types.js +3 -0
- package/cjs/pagination/components/types.js.map +1 -0
- package/cjs/pagination/context.d.ts +6 -0
- package/cjs/pagination/context.d.ts.map +1 -0
- package/cjs/pagination/context.js +18 -0
- package/cjs/pagination/context.js.map +1 -0
- package/cjs/pagination/defaults.d.ts +186 -0
- package/cjs/pagination/defaults.d.ts.map +1 -0
- package/cjs/pagination/defaults.js +188 -0
- package/cjs/pagination/defaults.js.map +1 -0
- package/cjs/pagination/index.d.ts +13 -0
- package/cjs/pagination/index.d.ts.map +1 -0
- package/cjs/pagination/index.js +25 -0
- package/cjs/pagination/index.js.map +1 -0
- package/cjs/pagination/pagination.d.ts +4 -0
- package/cjs/pagination/pagination.d.ts.map +1 -0
- package/cjs/pagination/pagination.js +147 -0
- package/cjs/pagination/pagination.js.map +1 -0
- package/cjs/pagination/style-presets.d.ts +4 -0
- package/cjs/pagination/style-presets.d.ts.map +1 -0
- package/cjs/pagination/style-presets.js +59 -0
- package/cjs/pagination/style-presets.js.map +1 -0
- package/cjs/pagination/styled.d.ts +19 -0
- package/cjs/pagination/styled.d.ts.map +1 -0
- package/cjs/pagination/styled.js +29 -0
- package/cjs/pagination/styled.js.map +1 -0
- package/cjs/pagination/types.d.ts +95 -0
- package/cjs/pagination/types.d.ts.map +1 -0
- package/cjs/pagination/types.js +3 -0
- package/cjs/pagination/types.js.map +1 -0
- package/cjs/pagination/utils.d.ts +4 -0
- package/cjs/pagination/utils.d.ts.map +1 -0
- package/cjs/pagination/utils.js +102 -0
- package/cjs/pagination/utils.js.map +1 -0
- package/cjs/popover/defaults.d.ts +1 -1
- package/cjs/popover/defaults.js +1 -1
- package/cjs/popover/defaults.js.map +1 -1
- package/cjs/popover/popover.d.ts +4 -4
- package/cjs/popover/style-presets.d.ts.map +1 -1
- package/cjs/popover/style-presets.js +17 -4
- package/cjs/popover/style-presets.js.map +1 -1
- package/cjs/popover/types.d.ts +4 -4
- package/cjs/popover/types.d.ts.map +1 -1
- package/cjs/scroll/defaults.d.ts +4 -2
- package/cjs/scroll/defaults.d.ts.map +1 -1
- package/cjs/scroll/defaults.js +4 -2
- package/cjs/scroll/defaults.js.map +1 -1
- package/cjs/select/defaults.d.ts +15 -9
- package/cjs/select/defaults.d.ts.map +1 -1
- package/cjs/select/defaults.js +19 -13
- package/cjs/select/defaults.js.map +1 -1
- package/cjs/select/styled.d.ts.map +1 -1
- package/cjs/select/styled.js +6 -12
- package/cjs/select/styled.js.map +1 -1
- package/cjs/select/types.d.ts +0 -12
- package/cjs/select/types.d.ts.map +1 -1
- package/cjs/slider/defaults.js +1 -1
- package/cjs/slider/style-presets.js +2 -2
- package/cjs/slider/style-presets.js.map +1 -1
- package/cjs/structured-list/defaults.d.ts +2 -1
- package/cjs/structured-list/defaults.d.ts.map +1 -1
- package/cjs/structured-list/defaults.js +2 -1
- package/cjs/structured-list/defaults.js.map +1 -1
- package/cjs/structured-list/structured-list-item.d.ts.map +1 -1
- package/cjs/structured-list/structured-list-item.js +5 -1
- package/cjs/structured-list/structured-list-item.js.map +1 -1
- package/cjs/structured-list/structured-list.d.ts.map +1 -1
- package/cjs/structured-list/structured-list.js +2 -1
- package/cjs/structured-list/structured-list.js.map +1 -1
- package/cjs/structured-list/styled.d.ts.map +1 -1
- package/cjs/structured-list/styled.js +1 -1
- package/cjs/structured-list/styled.js.map +1 -1
- package/cjs/structured-list/types.d.ts +3 -3
- package/cjs/structured-list/types.d.ts.map +1 -1
- package/cjs/tabs/defaults.d.ts +6 -3
- package/cjs/tabs/defaults.d.ts.map +1 -1
- package/cjs/tabs/defaults.js +6 -3
- package/cjs/tabs/defaults.js.map +1 -1
- package/cjs/tabs/style-presets.js +1 -1
- package/cjs/tabs/style-presets.js.map +1 -1
- package/cjs/tag/defaults.d.ts +6 -3
- package/cjs/tag/defaults.d.ts.map +1 -1
- package/cjs/tag/defaults.js +6 -3
- package/cjs/tag/defaults.js.map +1 -1
- package/cjs/tag/style-presets.d.ts.map +1 -1
- package/cjs/tag/style-presets.js +4 -3
- package/cjs/tag/style-presets.js.map +1 -1
- package/cjs/text-field/defaults.d.ts +6 -3
- package/cjs/text-field/defaults.d.ts.map +1 -1
- package/cjs/text-field/defaults.js +8 -5
- package/cjs/text-field/defaults.js.map +1 -1
- package/cjs/text-field/styled.d.ts.map +1 -1
- package/cjs/text-field/styled.js +1 -4
- package/cjs/text-field/styled.js.map +1 -1
- package/cjs/text-field/types.d.ts +1 -6
- package/cjs/text-field/types.d.ts.map +1 -1
- package/cjs/theme/css-variables.d.ts +14 -0
- package/cjs/theme/css-variables.d.ts.map +1 -0
- package/cjs/theme/css-variables.js +85 -0
- package/cjs/theme/css-variables.js.map +1 -0
- package/cjs/theme/emotion.d.ts +1 -0
- package/cjs/theme/emotion.d.ts.map +1 -1
- package/cjs/theme/emotion.js +9 -2
- package/cjs/theme/emotion.js.map +1 -1
- package/cjs/theme/foundations/colors.d.ts +1 -0
- package/cjs/theme/foundations/colors.d.ts.map +1 -1
- package/cjs/theme/foundations/colors.js +8 -8
- package/cjs/theme/foundations/colors.js.map +1 -1
- package/cjs/theme/foundations/fonts.d.ts +0 -12
- package/cjs/theme/foundations/fonts.d.ts.map +1 -1
- package/cjs/theme/foundations/outlines.d.ts +2 -0
- package/cjs/theme/foundations/outlines.d.ts.map +1 -1
- package/cjs/theme/foundations/outlines.js +2 -0
- package/cjs/theme/foundations/outlines.js.map +1 -1
- package/cjs/theme/foundations/overlays.js +4 -4
- package/cjs/theme/foundations/overlays.js.map +1 -1
- package/cjs/theme/newskit-dark.d.ts +5 -0
- package/cjs/theme/newskit-dark.d.ts.map +1 -1
- package/cjs/theme/newskit-dark.js +7 -2
- package/cjs/theme/newskit-dark.js.map +1 -1
- package/cjs/theme/presets/style-presets.d.ts.map +1 -1
- package/cjs/theme/presets/style-presets.js +13 -0
- package/cjs/theme/presets/style-presets.js.map +1 -1
- package/cjs/theme-checker/helper.d.ts.map +1 -1
- package/cjs/theme-checker/helper.js +2 -1
- package/cjs/theme-checker/helper.js.map +1 -1
- package/cjs/theme-checker/scenarios.d.ts.map +1 -1
- package/cjs/theme-checker/scenarios.js +11 -2
- package/cjs/theme-checker/scenarios.js.map +1 -1
- package/cjs/theme-checker/themes/sun-theme/fonts.json +9 -5
- package/cjs/theme-checker/themes/sun-theme/sun-theme.d.ts +8 -4
- package/cjs/theme-checker/themes/sun-theme/sun-theme.d.ts.map +1 -1
- package/cjs/theme-checker/themes/tnl-theme/fonts.json +6 -6
- package/cjs/theme-checker/themes/virgin-theme/fonts.json +8 -3
- package/cjs/theme-checker/themes/virgin-theme/virgin-theme.d.ts +8 -3
- package/cjs/theme-checker/themes/virgin-theme/virgin-theme.d.ts.map +1 -1
- package/cjs/title-bar/defaults.d.ts +5 -1
- package/cjs/title-bar/defaults.d.ts.map +1 -1
- package/cjs/title-bar/defaults.js +7 -3
- package/cjs/title-bar/defaults.js.map +1 -1
- package/cjs/title-bar/styled.d.ts.map +1 -1
- package/cjs/title-bar/styled.js +2 -1
- package/cjs/title-bar/styled.js.map +1 -1
- package/cjs/title-bar/types.d.ts +0 -4
- package/cjs/title-bar/types.d.ts.map +1 -1
- package/cjs/toast/defaults.d.ts +2 -1
- package/cjs/toast/defaults.d.ts.map +1 -1
- package/cjs/toast/defaults.js +2 -1
- package/cjs/toast/defaults.js.map +1 -1
- package/cjs/toast/styled.d.ts.map +1 -1
- package/cjs/toast/styled.js +1 -1
- package/cjs/toast/styled.js.map +1 -1
- package/cjs/toast/types.d.ts +0 -4
- package/cjs/toast/types.d.ts.map +1 -1
- package/cjs/tooltip/defaults.d.ts +1 -1
- package/cjs/tooltip/defaults.js +3 -3
- package/cjs/tooltip/defaults.js.map +1 -1
- package/cjs/utils/inverse-focus-visible.d.ts +8 -0
- package/cjs/utils/inverse-focus-visible.d.ts.map +1 -0
- package/cjs/utils/inverse-focus-visible.js +11 -0
- package/cjs/utils/inverse-focus-visible.js.map +1 -0
- package/cjs/utils/logical-properties.js +1 -1
- package/cjs/utils/logical-properties.js.map +1 -1
- package/cjs/utils/recurse-unknown.d.ts.map +1 -1
- package/cjs/utils/recurse-unknown.js +4 -1
- package/cjs/utils/recurse-unknown.js.map +1 -1
- package/cjs/utils/style/getters.d.ts.map +1 -1
- package/cjs/utils/style/getters.js +22 -25
- package/cjs/utils/style/getters.js.map +1 -1
- package/cjs/utils/text-crop.d.ts +1 -26
- package/cjs/utils/text-crop.d.ts.map +1 -1
- package/cjs/utils/text-crop.js +12 -28
- package/cjs/utils/text-crop.js.map +1 -1
- package/cjs/version-number.json +1 -1
- package/cjs/video-player/defaults.d.ts +13 -5
- package/cjs/video-player/defaults.d.ts.map +1 -1
- package/cjs/video-player/defaults.js +15 -7
- package/cjs/video-player/defaults.js.map +1 -1
- package/cjs/video-player/styled.d.ts.map +1 -1
- package/cjs/video-player/styled.js +2 -2
- package/cjs/video-player/styled.js.map +1 -1
- package/cjs/video-player/types.d.ts +5 -11
- package/cjs/video-player/types.d.ts.map +1 -1
- package/cjs/with-enhancers/styled.d.ts.map +1 -1
- package/cjs/with-enhancers/styled.js +2 -2
- package/cjs/with-enhancers/styled.js.map +1 -1
- package/cjs/with-enhancers/with-enhancers.js +2 -2
- package/cjs/with-enhancers/with-enhancers.js.map +1 -1
- package/esm/accordion/accordion.d.ts.map +1 -1
- package/esm/accordion/accordion.js +2 -2
- package/esm/accordion/accordion.js.map +1 -1
- package/esm/accordion/defaults.d.ts +1 -1
- package/esm/accordion/defaults.js +5 -5
- package/esm/accordion/defaults.js.map +1 -1
- package/esm/accordion/style-presets.d.ts.map +1 -1
- package/esm/accordion/style-presets.js +4 -1
- package/esm/accordion/style-presets.js.map +1 -1
- package/esm/accordion/styled.d.ts +4 -0
- package/esm/accordion/styled.d.ts.map +1 -1
- package/esm/accordion/styled.js +2 -1
- package/esm/accordion/styled.js.map +1 -1
- package/esm/accordion/types.d.ts +4 -4
- package/esm/accordion/types.d.ts.map +1 -1
- package/esm/assistive-text/assistive-text.d.ts.map +1 -1
- package/esm/assistive-text/assistive-text.js +4 -3
- package/esm/assistive-text/assistive-text.js.map +1 -1
- package/esm/assistive-text/styled.d.ts.map +1 -1
- package/esm/assistive-text/styled.js +4 -5
- package/esm/assistive-text/styled.js.map +1 -1
- package/esm/audio-player-composable/audio-player-composable.js +2 -2
- package/esm/audio-player-composable/audio-player-composable.js.map +1 -1
- package/esm/audio-player-composable/components/play-pause-button/play-pause-button.js +1 -1
- package/esm/audio-player-composable/components/play-pause-button/play-pause-button.js.map +1 -1
- package/esm/audio-player-composable/components/playback-speed-control/defaults.d.ts +2 -1
- package/esm/audio-player-composable/components/playback-speed-control/defaults.d.ts.map +1 -1
- package/esm/audio-player-composable/components/playback-speed-control/defaults.js +2 -1
- package/esm/audio-player-composable/components/playback-speed-control/defaults.js.map +1 -1
- package/esm/audio-player-composable/components/time-display/defaults.js +1 -1
- package/esm/audio-player-composable/components/time-display/defaults.js.map +1 -1
- package/esm/audio-player-composable/components/volume-control/defaults.d.ts +1 -1
- package/esm/audio-player-composable/components/volume-control/defaults.js +2 -2
- package/esm/audio-player-composable/components/volume-control/defaults.js.map +1 -1
- package/esm/audio-player-composable/components/volume-control/style-presets.d.ts.map +1 -1
- package/esm/audio-player-composable/components/volume-control/style-presets.js +15 -3
- package/esm/audio-player-composable/components/volume-control/style-presets.js.map +1 -1
- package/esm/audio-player-composable/components/volume-control/styled.d.ts +0 -1
- package/esm/audio-player-composable/components/volume-control/styled.d.ts.map +1 -1
- package/esm/banner/banner-internal.d.ts.map +1 -1
- package/esm/banner/banner-internal.js +21 -1
- package/esm/banner/banner-internal.js.map +1 -1
- package/esm/banner/defaults.d.ts +4 -2
- package/esm/banner/defaults.d.ts.map +1 -1
- package/esm/banner/defaults.js +5 -3
- package/esm/banner/defaults.js.map +1 -1
- package/esm/banner/styled.d.ts.map +1 -1
- package/esm/banner/styled.js +2 -5
- package/esm/banner/styled.js.map +1 -1
- package/esm/banner/types.d.ts +0 -4
- package/esm/banner/types.d.ts.map +1 -1
- package/esm/base-floating-element/base-floating-element.d.ts.map +1 -1
- package/esm/base-floating-element/base-floating-element.js +17 -6
- package/esm/base-floating-element/base-floating-element.js.map +1 -1
- package/esm/base-floating-element/styled.js +2 -2
- package/esm/base-floating-element/styled.js.map +1 -1
- package/esm/base-floating-element/types.d.ts +1 -1
- package/esm/base-floating-element/types.d.ts.map +1 -1
- package/esm/base-floating-element/utils.js +1 -1
- package/esm/base-floating-element/utils.js.map +1 -1
- package/esm/block/block.d.ts +0 -4
- package/esm/block/block.d.ts.map +1 -1
- package/esm/block/block.js +2 -5
- package/esm/block/block.js.map +1 -1
- package/esm/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/esm/breadcrumbs/breadcrumbs.js +1 -1
- package/esm/breadcrumbs/breadcrumbs.js.map +1 -1
- package/esm/breadcrumbs/style-presets.d.ts.map +1 -1
- package/esm/breadcrumbs/style-presets.js +2 -0
- package/esm/breadcrumbs/style-presets.js.map +1 -1
- package/esm/button/defaults.d.ts +6 -3
- package/esm/button/defaults.d.ts.map +1 -1
- package/esm/button/defaults.js +6 -3
- package/esm/button/defaults.js.map +1 -1
- package/esm/button/style-presets.d.ts.map +1 -1
- package/esm/button/style-presets.js +4 -3
- package/esm/button/style-presets.js.map +1 -1
- package/esm/caption/caption.d.ts.map +1 -1
- package/esm/caption/caption.js +16 -11
- package/esm/caption/caption.js.map +1 -1
- package/esm/caption/defaults.d.ts +0 -13
- package/esm/caption/defaults.d.ts.map +1 -1
- package/esm/caption/defaults.js +1 -14
- package/esm/caption/defaults.js.map +1 -1
- package/esm/caption/index.d.ts +0 -1
- package/esm/caption/index.d.ts.map +1 -1
- package/esm/caption/index.js +0 -1
- package/esm/caption/index.js.map +1 -1
- package/esm/caption/types.d.ts +0 -5
- package/esm/caption/types.d.ts.map +1 -1
- package/esm/card/card.d.ts.map +1 -1
- package/esm/card/card.js +1 -1
- package/esm/card/card.js.map +1 -1
- package/esm/card/defaults.d.ts +21 -4
- package/esm/card/defaults.d.ts.map +1 -1
- package/esm/card/defaults.js +29 -12
- package/esm/card/defaults.js.map +1 -1
- package/esm/card/style-presets.d.ts.map +1 -1
- package/esm/card/style-presets.js +5 -1
- package/esm/card/style-presets.js.map +1 -1
- package/esm/card/styled.d.ts.map +1 -1
- package/esm/card/styled.js +8 -6
- package/esm/card/styled.js.map +1 -1
- package/esm/card/types.d.ts +4 -12
- package/esm/card/types.d.ts.map +1 -1
- package/esm/dialog/styled.d.ts.map +1 -1
- package/esm/dialog/styled.js +9 -8
- package/esm/dialog/styled.js.map +1 -1
- package/esm/dialog/types.d.ts +4 -7
- package/esm/dialog/types.d.ts.map +1 -1
- package/esm/divider/style-presets.js +1 -1
- package/esm/divider/style-presets.js.map +1 -1
- package/esm/drawer/defaults.d.ts +6 -3
- package/esm/drawer/defaults.d.ts.map +1 -1
- package/esm/drawer/defaults.js +6 -3
- package/esm/drawer/defaults.js.map +1 -1
- package/esm/fieldset/styled.d.ts.map +1 -1
- package/esm/fieldset/styled.js +2 -2
- package/esm/fieldset/styled.js.map +1 -1
- package/esm/fieldset/types.d.ts +0 -4
- package/esm/fieldset/types.d.ts.map +1 -1
- package/esm/flag/defaults.d.ts +6 -3
- package/esm/flag/defaults.d.ts.map +1 -1
- package/esm/flag/defaults.js +6 -3
- package/esm/flag/defaults.js.map +1 -1
- package/esm/flag/styled.d.ts +0 -1
- package/esm/flag/styled.d.ts.map +1 -1
- package/esm/flag/types.d.ts +0 -4
- package/esm/flag/types.d.ts.map +1 -1
- package/esm/grid-layout/grid-layout.d.ts +0 -1
- package/esm/grid-layout/grid-layout.d.ts.map +1 -1
- package/esm/grid-layout/styled.d.ts +0 -1
- package/esm/grid-layout/styled.d.ts.map +1 -1
- package/esm/grid-layout/styled.js +3 -3
- package/esm/grid-layout/styled.js.map +1 -1
- package/esm/grid-layout/types.d.ts +0 -4
- package/esm/grid-layout/types.d.ts.map +1 -1
- package/esm/icon-button/defaults.d.ts +6 -3
- package/esm/icon-button/defaults.d.ts.map +1 -1
- package/esm/icon-button/defaults.js +6 -3
- package/esm/icon-button/defaults.js.map +1 -1
- package/esm/icon-button/icon-button.d.ts.map +1 -1
- package/esm/icon-button/icon-button.js.map +1 -1
- package/esm/icon-button/style-presets.d.ts.map +1 -1
- package/esm/icon-button/style-presets.js +4 -3
- package/esm/icon-button/style-presets.js.map +1 -1
- package/esm/icons/filled/material/icon-filled-arrow-back.d.ts +2 -0
- package/esm/icons/filled/material/icon-filled-arrow-back.js +8 -0
- package/esm/icons/filled/material/icon-filled-arrow-forward.d.ts +2 -0
- package/esm/icons/filled/material/icon-filled-arrow-forward.js +8 -0
- package/esm/icons/filled/material/icon-filled-first-page.d.ts +2 -0
- package/esm/icons/filled/material/icon-filled-first-page.js +8 -0
- package/esm/icons/filled/material/icon-filled-last-page.d.ts +2 -0
- package/esm/icons/filled/material/icon-filled-last-page.js +8 -0
- package/esm/icons/filled/material/icon-filled-more-horiz.d.ts +2 -0
- package/esm/icons/filled/material/icon-filled-more-horiz.js +8 -0
- package/esm/icons/filled/material/icon-filled-remove-red-eye.d.ts +2 -0
- package/esm/icons/filled/material/icon-filled-remove-red-eye.js +8 -0
- package/esm/icons/filled/material/icon-filled-star.d.ts +2 -0
- package/esm/icons/filled/material/icon-filled-star.js +8 -0
- package/esm/icons/filled/material/index.d.ts +7 -0
- package/esm/icons/filled/material/index.js +7 -0
- package/esm/icons/outlined/material/icon-outlined-arrow-back.d.ts +2 -0
- package/esm/icons/outlined/material/icon-outlined-arrow-back.js +8 -0
- package/esm/icons/outlined/material/icon-outlined-arrow-forward.d.ts +2 -0
- package/esm/icons/outlined/material/icon-outlined-arrow-forward.js +8 -0
- package/esm/icons/outlined/material/icon-outlined-first-page.d.ts +2 -0
- package/esm/icons/outlined/material/icon-outlined-first-page.js +8 -0
- package/esm/icons/outlined/material/icon-outlined-last-page.d.ts +2 -0
- package/esm/icons/outlined/material/icon-outlined-last-page.js +8 -0
- package/esm/icons/outlined/material/icon-outlined-more-horiz.d.ts +2 -0
- package/esm/icons/outlined/material/icon-outlined-more-horiz.js +8 -0
- package/esm/icons/outlined/material/icon-outlined-remove-red-eye.d.ts +2 -0
- package/esm/icons/outlined/material/icon-outlined-remove-red-eye.js +8 -0
- package/esm/icons/outlined/material/icon-outlined-star.d.ts +2 -0
- package/esm/icons/outlined/material/icon-outlined-star.js +8 -0
- package/esm/icons/outlined/material/index.d.ts +7 -0
- package/esm/icons/outlined/material/index.js +7 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/esm/inline-message/defaults.d.ts +2 -1
- package/esm/inline-message/defaults.d.ts.map +1 -1
- package/esm/inline-message/defaults.js +2 -1
- package/esm/inline-message/defaults.js.map +1 -1
- package/esm/link/index.d.ts +0 -1
- package/esm/link/index.d.ts.map +1 -1
- package/esm/link/index.js +0 -1
- package/esm/link/index.js.map +1 -1
- package/esm/link/link-inline.js +1 -1
- package/esm/link/link-inline.js.map +1 -1
- package/esm/link/style-presets.d.ts.map +1 -1
- package/esm/link/style-presets.js +15 -14
- package/esm/link/style-presets.js.map +1 -1
- package/esm/menu/defaults.d.ts +104 -24
- package/esm/menu/defaults.d.ts.map +1 -1
- package/esm/menu/defaults.js +53 -28
- package/esm/menu/defaults.js.map +1 -1
- package/esm/menu/menu-item.d.ts.map +1 -1
- package/esm/menu/menu-item.js +2 -2
- package/esm/menu/menu-item.js.map +1 -1
- package/esm/menu/menu-sub.d.ts +0 -1
- package/esm/menu/menu-sub.d.ts.map +1 -1
- package/esm/menu/menu-sub.js +3 -3
- package/esm/menu/menu-sub.js.map +1 -1
- package/esm/menu/style-presets.d.ts.map +1 -1
- package/esm/menu/style-presets.js +17 -5
- package/esm/menu/style-presets.js.map +1 -1
- package/esm/menu/styled.d.ts +2 -2
- package/esm/menu/styled.d.ts.map +1 -1
- package/esm/menu/styled.js +9 -8
- package/esm/menu/styled.js.map +1 -1
- package/esm/menu/types.d.ts +1 -2
- package/esm/menu/types.d.ts.map +1 -1
- package/esm/modal/defaults.d.ts +6 -3
- package/esm/modal/defaults.d.ts.map +1 -1
- package/esm/modal/defaults.js +6 -3
- package/esm/modal/defaults.js.map +1 -1
- package/esm/modal/styled.js +2 -2
- package/esm/modal/styled.js.map +1 -1
- package/esm/newskit-provider/newskit-provider.d.ts +5 -2
- package/esm/newskit-provider/newskit-provider.d.ts.map +1 -1
- package/esm/newskit-provider/newskit-provider.js +2 -2
- package/esm/newskit-provider/newskit-provider.js.map +1 -1
- package/esm/ordered-list/ordered-list.d.ts.map +1 -1
- package/esm/ordered-list/ordered-list.js +1 -1
- package/esm/ordered-list/ordered-list.js.map +1 -1
- package/esm/pagination/components/button/index.d.ts +2 -0
- package/esm/pagination/components/button/index.d.ts.map +1 -0
- package/esm/pagination/components/button/index.js +2 -0
- package/esm/pagination/components/button/index.js.map +1 -0
- package/esm/pagination/components/button/pagination-button.d.ts +5 -0
- package/esm/pagination/components/button/pagination-button.d.ts.map +1 -0
- package/esm/pagination/components/button/pagination-button.js +17 -0
- package/esm/pagination/components/button/pagination-button.js.map +1 -0
- package/esm/pagination/components/first-item/first-item.d.ts +14 -0
- package/esm/pagination/components/first-item/first-item.d.ts.map +1 -0
- package/esm/pagination/components/first-item/first-item.js +55 -0
- package/esm/pagination/components/first-item/first-item.js.map +1 -0
- package/esm/pagination/components/first-item/index.d.ts +3 -0
- package/esm/pagination/components/first-item/index.d.ts.map +1 -0
- package/esm/pagination/components/first-item/index.js +3 -0
- package/esm/pagination/components/first-item/index.js.map +1 -0
- package/esm/pagination/components/first-item/types.d.ts +14 -0
- package/esm/pagination/components/first-item/types.d.ts.map +1 -0
- package/esm/pagination/components/first-item/types.js +2 -0
- package/esm/pagination/components/first-item/types.js.map +1 -0
- package/esm/pagination/components/item/index.d.ts +2 -0
- package/esm/pagination/components/item/index.d.ts.map +1 -0
- package/esm/pagination/components/item/index.js +2 -0
- package/esm/pagination/components/item/index.js.map +1 -0
- package/esm/pagination/components/item/pagination-item.d.ts +4 -0
- package/esm/pagination/components/item/pagination-item.d.ts.map +1 -0
- package/esm/pagination/components/item/pagination-item.js +71 -0
- package/esm/pagination/components/item/pagination-item.js.map +1 -0
- package/esm/pagination/components/items/index.d.ts +2 -0
- package/esm/pagination/components/items/index.d.ts.map +1 -0
- package/esm/pagination/components/items/index.js +2 -0
- package/esm/pagination/components/items/index.js.map +1 -0
- package/esm/pagination/components/items/pagination-items.d.ts +4 -0
- package/esm/pagination/components/items/pagination-items.d.ts.map +1 -0
- package/esm/pagination/components/items/pagination-items.js +88 -0
- package/esm/pagination/components/items/pagination-items.js.map +1 -0
- package/esm/pagination/components/last-item/index.d.ts +3 -0
- package/esm/pagination/components/last-item/index.d.ts.map +1 -0
- package/esm/pagination/components/last-item/index.js +3 -0
- package/esm/pagination/components/last-item/index.js.map +1 -0
- package/esm/pagination/components/last-item/last-item.d.ts +14 -0
- package/esm/pagination/components/last-item/last-item.d.ts.map +1 -0
- package/esm/pagination/components/last-item/last-item.js +59 -0
- package/esm/pagination/components/last-item/last-item.js.map +1 -0
- package/esm/pagination/components/last-item/types.d.ts +14 -0
- package/esm/pagination/components/last-item/types.d.ts.map +1 -0
- package/esm/pagination/components/last-item/types.js +2 -0
- package/esm/pagination/components/last-item/types.js.map +1 -0
- package/esm/pagination/components/list-item/index.d.ts +2 -0
- package/esm/pagination/components/list-item/index.d.ts.map +1 -0
- package/esm/pagination/components/list-item/index.js +2 -0
- package/esm/pagination/components/list-item/index.js.map +1 -0
- package/esm/pagination/components/list-item/list-item.d.ts +3 -0
- package/esm/pagination/components/list-item/list-item.d.ts.map +1 -0
- package/esm/pagination/components/list-item/list-item.js +18 -0
- package/esm/pagination/components/list-item/list-item.js.map +1 -0
- package/esm/pagination/components/next-item/index.d.ts +3 -0
- package/esm/pagination/components/next-item/index.d.ts.map +1 -0
- package/esm/pagination/components/next-item/index.js +3 -0
- package/esm/pagination/components/next-item/index.js.map +1 -0
- package/esm/pagination/components/next-item/next-item.d.ts +14 -0
- package/esm/pagination/components/next-item/next-item.d.ts.map +1 -0
- package/esm/pagination/components/next-item/next-item.js +64 -0
- package/esm/pagination/components/next-item/next-item.js.map +1 -0
- package/esm/pagination/components/next-item/types.d.ts +14 -0
- package/esm/pagination/components/next-item/types.d.ts.map +1 -0
- package/esm/pagination/components/next-item/types.js +2 -0
- package/esm/pagination/components/next-item/types.js.map +1 -0
- package/esm/pagination/components/prev-item/index.d.ts +3 -0
- package/esm/pagination/components/prev-item/index.d.ts.map +1 -0
- package/esm/pagination/components/prev-item/index.js +3 -0
- package/esm/pagination/components/prev-item/index.js.map +1 -0
- package/esm/pagination/components/prev-item/prev-item.d.ts +14 -0
- package/esm/pagination/components/prev-item/prev-item.d.ts.map +1 -0
- package/esm/pagination/components/prev-item/prev-item.js +60 -0
- package/esm/pagination/components/prev-item/prev-item.js.map +1 -0
- package/esm/pagination/components/prev-item/types.d.ts +14 -0
- package/esm/pagination/components/prev-item/types.d.ts.map +1 -0
- package/esm/pagination/components/prev-item/types.js +2 -0
- package/esm/pagination/components/prev-item/types.js.map +1 -0
- package/esm/pagination/components/types.d.ts +8 -0
- package/esm/pagination/components/types.d.ts.map +1 -0
- package/esm/pagination/components/types.js +2 -0
- package/esm/pagination/components/types.js.map +1 -0
- package/esm/pagination/context.d.ts +6 -0
- package/esm/pagination/context.d.ts.map +1 -0
- package/esm/pagination/context.js +14 -0
- package/esm/pagination/context.js.map +1 -0
- package/esm/pagination/defaults.d.ts +186 -0
- package/esm/pagination/defaults.d.ts.map +1 -0
- package/esm/pagination/defaults.js +186 -0
- package/esm/pagination/defaults.js.map +1 -0
- package/esm/pagination/index.d.ts +13 -0
- package/esm/pagination/index.d.ts.map +1 -0
- package/esm/pagination/index.js +13 -0
- package/esm/pagination/index.js.map +1 -0
- package/esm/pagination/pagination.d.ts +4 -0
- package/esm/pagination/pagination.d.ts.map +1 -0
- package/esm/pagination/pagination.js +122 -0
- package/esm/pagination/pagination.js.map +1 -0
- package/esm/pagination/style-presets.d.ts +4 -0
- package/esm/pagination/style-presets.d.ts.map +1 -0
- package/esm/pagination/style-presets.js +57 -0
- package/esm/pagination/style-presets.js.map +1 -0
- package/esm/pagination/styled.d.ts +19 -0
- package/esm/pagination/styled.d.ts.map +1 -0
- package/esm/pagination/styled.js +26 -0
- package/esm/pagination/styled.js.map +1 -0
- package/esm/pagination/types.d.ts +95 -0
- package/esm/pagination/types.d.ts.map +1 -0
- package/esm/pagination/types.js +2 -0
- package/esm/pagination/types.js.map +1 -0
- package/esm/pagination/utils.d.ts +4 -0
- package/esm/pagination/utils.d.ts.map +1 -0
- package/esm/pagination/utils.js +97 -0
- package/esm/pagination/utils.js.map +1 -0
- package/esm/popover/defaults.d.ts +1 -1
- package/esm/popover/defaults.js +1 -1
- package/esm/popover/defaults.js.map +1 -1
- package/esm/popover/popover.d.ts +4 -4
- package/esm/popover/style-presets.d.ts.map +1 -1
- package/esm/popover/style-presets.js +17 -4
- package/esm/popover/style-presets.js.map +1 -1
- package/esm/popover/types.d.ts +4 -4
- package/esm/popover/types.d.ts.map +1 -1
- package/esm/scroll/defaults.d.ts +4 -2
- package/esm/scroll/defaults.d.ts.map +1 -1
- package/esm/scroll/defaults.js +4 -2
- package/esm/scroll/defaults.js.map +1 -1
- package/esm/select/defaults.d.ts +15 -9
- package/esm/select/defaults.d.ts.map +1 -1
- package/esm/select/defaults.js +19 -13
- package/esm/select/defaults.js.map +1 -1
- package/esm/select/styled.d.ts.map +1 -1
- package/esm/select/styled.js +7 -13
- package/esm/select/styled.js.map +1 -1
- package/esm/select/types.d.ts +0 -12
- package/esm/select/types.d.ts.map +1 -1
- package/esm/slider/defaults.js +1 -1
- package/esm/slider/style-presets.js +2 -2
- package/esm/slider/style-presets.js.map +1 -1
- package/esm/structured-list/defaults.d.ts +2 -1
- package/esm/structured-list/defaults.d.ts.map +1 -1
- package/esm/structured-list/defaults.js +2 -1
- package/esm/structured-list/defaults.js.map +1 -1
- package/esm/structured-list/structured-list-item.d.ts.map +1 -1
- package/esm/structured-list/structured-list-item.js +5 -1
- package/esm/structured-list/structured-list-item.js.map +1 -1
- package/esm/structured-list/structured-list.d.ts.map +1 -1
- package/esm/structured-list/structured-list.js +2 -1
- package/esm/structured-list/structured-list.js.map +1 -1
- package/esm/structured-list/styled.d.ts.map +1 -1
- package/esm/structured-list/styled.js +3 -3
- package/esm/structured-list/styled.js.map +1 -1
- package/esm/structured-list/types.d.ts +3 -3
- package/esm/structured-list/types.d.ts.map +1 -1
- package/esm/tabs/defaults.d.ts +6 -3
- package/esm/tabs/defaults.d.ts.map +1 -1
- package/esm/tabs/defaults.js +6 -3
- package/esm/tabs/defaults.js.map +1 -1
- package/esm/tabs/style-presets.js +1 -1
- package/esm/tabs/style-presets.js.map +1 -1
- package/esm/tag/defaults.d.ts +6 -3
- package/esm/tag/defaults.d.ts.map +1 -1
- package/esm/tag/defaults.js +6 -3
- package/esm/tag/defaults.js.map +1 -1
- package/esm/tag/style-presets.d.ts.map +1 -1
- package/esm/tag/style-presets.js +4 -3
- package/esm/tag/style-presets.js.map +1 -1
- package/esm/text-field/defaults.d.ts +6 -3
- package/esm/text-field/defaults.d.ts.map +1 -1
- package/esm/text-field/defaults.js +8 -5
- package/esm/text-field/defaults.js.map +1 -1
- package/esm/text-field/styled.d.ts.map +1 -1
- package/esm/text-field/styled.js +2 -5
- package/esm/text-field/styled.js.map +1 -1
- package/esm/text-field/types.d.ts +1 -6
- package/esm/text-field/types.d.ts.map +1 -1
- package/esm/theme/css-variables.d.ts +14 -0
- package/esm/theme/css-variables.d.ts.map +1 -0
- package/esm/theme/css-variables.js +77 -0
- package/esm/theme/css-variables.js.map +1 -0
- package/esm/theme/emotion.d.ts +1 -0
- package/esm/theme/emotion.d.ts.map +1 -1
- package/esm/theme/emotion.js +9 -2
- package/esm/theme/emotion.js.map +1 -1
- package/esm/theme/foundations/colors.d.ts +1 -0
- package/esm/theme/foundations/colors.d.ts.map +1 -1
- package/esm/theme/foundations/colors.js +8 -8
- package/esm/theme/foundations/colors.js.map +1 -1
- package/esm/theme/foundations/fonts.d.ts +0 -12
- package/esm/theme/foundations/fonts.d.ts.map +1 -1
- package/esm/theme/foundations/outlines.d.ts +2 -0
- package/esm/theme/foundations/outlines.d.ts.map +1 -1
- package/esm/theme/foundations/outlines.js +2 -0
- package/esm/theme/foundations/outlines.js.map +1 -1
- package/esm/theme/foundations/overlays.js +4 -4
- package/esm/theme/foundations/overlays.js.map +1 -1
- package/esm/theme/newskit-dark.d.ts +5 -0
- package/esm/theme/newskit-dark.d.ts.map +1 -1
- package/esm/theme/newskit-dark.js +7 -2
- package/esm/theme/newskit-dark.js.map +1 -1
- package/esm/theme/presets/style-presets.d.ts.map +1 -1
- package/esm/theme/presets/style-presets.js +13 -0
- package/esm/theme/presets/style-presets.js.map +1 -1
- package/esm/theme-checker/helper.d.ts.map +1 -1
- package/esm/theme-checker/helper.js +2 -1
- package/esm/theme-checker/helper.js.map +1 -1
- package/esm/theme-checker/scenarios.d.ts.map +1 -1
- package/esm/theme-checker/scenarios.js +12 -3
- package/esm/theme-checker/scenarios.js.map +1 -1
- package/esm/theme-checker/themes/sun-theme/fonts.json +9 -5
- package/esm/theme-checker/themes/sun-theme/sun-theme.d.ts +8 -4
- package/esm/theme-checker/themes/sun-theme/sun-theme.d.ts.map +1 -1
- package/esm/theme-checker/themes/tnl-theme/fonts.json +6 -6
- package/esm/theme-checker/themes/virgin-theme/fonts.json +8 -3
- package/esm/theme-checker/themes/virgin-theme/virgin-theme.d.ts +8 -3
- package/esm/theme-checker/themes/virgin-theme/virgin-theme.d.ts.map +1 -1
- package/esm/title-bar/defaults.d.ts +5 -1
- package/esm/title-bar/defaults.d.ts.map +1 -1
- package/esm/title-bar/defaults.js +7 -3
- package/esm/title-bar/defaults.js.map +1 -1
- package/esm/title-bar/styled.d.ts.map +1 -1
- package/esm/title-bar/styled.js +3 -2
- package/esm/title-bar/styled.js.map +1 -1
- package/esm/title-bar/types.d.ts +0 -4
- package/esm/title-bar/types.d.ts.map +1 -1
- package/esm/toast/defaults.d.ts +2 -1
- package/esm/toast/defaults.d.ts.map +1 -1
- package/esm/toast/defaults.js +2 -1
- package/esm/toast/defaults.js.map +1 -1
- package/esm/toast/styled.d.ts.map +1 -1
- package/esm/toast/styled.js +1 -1
- package/esm/toast/styled.js.map +1 -1
- package/esm/toast/types.d.ts +0 -4
- package/esm/toast/types.d.ts.map +1 -1
- package/esm/tooltip/defaults.d.ts +1 -1
- package/esm/tooltip/defaults.js +3 -3
- package/esm/tooltip/defaults.js.map +1 -1
- package/esm/utils/inverse-focus-visible.d.ts +8 -0
- package/esm/utils/inverse-focus-visible.d.ts.map +1 -0
- package/esm/utils/inverse-focus-visible.js +8 -0
- package/esm/utils/inverse-focus-visible.js.map +1 -0
- package/esm/utils/logical-properties.js +1 -1
- package/esm/utils/logical-properties.js.map +1 -1
- package/esm/utils/recurse-unknown.d.ts.map +1 -1
- package/esm/utils/recurse-unknown.js +4 -1
- package/esm/utils/recurse-unknown.js.map +1 -1
- package/esm/utils/style/getters.d.ts.map +1 -1
- package/esm/utils/style/getters.js +22 -25
- package/esm/utils/style/getters.js.map +1 -1
- package/esm/utils/text-crop.d.ts +1 -26
- package/esm/utils/text-crop.d.ts.map +1 -1
- package/esm/utils/text-crop.js +11 -26
- package/esm/utils/text-crop.js.map +1 -1
- package/esm/version-number.json +1 -1
- package/esm/video-player/defaults.d.ts +13 -5
- package/esm/video-player/defaults.d.ts.map +1 -1
- package/esm/video-player/defaults.js +15 -7
- package/esm/video-player/defaults.js.map +1 -1
- package/esm/video-player/styled.d.ts.map +1 -1
- package/esm/video-player/styled.js +2 -2
- package/esm/video-player/styled.js.map +1 -1
- package/esm/video-player/types.d.ts +5 -11
- package/esm/video-player/types.d.ts.map +1 -1
- package/esm/with-enhancers/styled.d.ts.map +1 -1
- package/esm/with-enhancers/styled.js +3 -3
- package/esm/with-enhancers/styled.js.map +1 -1
- package/esm/with-enhancers/with-enhancers.js +2 -2
- package/esm/with-enhancers/with-enhancers.js.map +1 -1
- package/package.json +1 -1
- package/cjs/caption/caption-inset.d.ts +0 -3
- package/cjs/caption/caption-inset.d.ts.map +0 -1
- package/cjs/caption/caption-inset.js +0 -14
- package/cjs/caption/caption-inset.js.map +0 -1
- package/cjs/link/link.d.ts +0 -8
- package/cjs/link/link.d.ts.map +0 -1
- package/cjs/link/link.js.map +0 -1
- package/cjs/utils/get-font-props.d.ts +0 -20
- package/cjs/utils/get-font-props.d.ts.map +0 -1
- package/cjs/utils/get-font-props.js +0 -49
- package/cjs/utils/get-font-props.js.map +0 -1
- package/esm/caption/caption-inset.d.ts +0 -3
- package/esm/caption/caption-inset.d.ts.map +0 -1
- package/esm/caption/caption-inset.js +0 -8
- package/esm/caption/caption-inset.js.map +0 -1
- package/esm/link/link.d.ts +0 -8
- package/esm/link/link.d.ts.map +0 -1
- package/esm/link/link.js +0 -20
- package/esm/link/link.js.map +0 -1
- package/esm/utils/get-font-props.d.ts +0 -20
- package/esm/utils/get-font-props.d.ts.map +0 -1
- package/esm/utils/get-font-props.js +0 -45
- package/esm/utils/get-font-props.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/pagination/components/prev-item/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconButtonProps } from '../../button/types';
|
|
3
|
+
import { Optional } from '../../utils/types';
|
|
4
|
+
export declare type PaginationIconButtonProps = Optional<IconButtonProps, 'aria-label'>;
|
|
5
|
+
export declare type PaginationIconButtonWithoutClickProps = Omit<PaginationIconButtonProps, 'onClick'> & {
|
|
6
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement> | KeyboardEvent) => void;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/pagination/components/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE3C,oBAAY,yBAAyB,GAAG,QAAQ,CAAC,eAAe,EAAE,YAAY,CAAC,CAAC;AAEhF,oBAAY,qCAAqC,GAAG,IAAI,CACtD,yBAAyB,EACzB,SAAS,CACV,GAAG;IACF,OAAO,CAAC,EAAE,CACR,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,GAAG,aAAa,KACvD,IAAI,CAAC;CACX,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/pagination/components/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PaginationProviderContext } from './types';
|
|
3
|
+
export declare const PaginationContext: import("react").Context<Partial<PaginationProviderContext>>;
|
|
4
|
+
export declare const PaginationProvider: import("react").Provider<Partial<PaginationProviderContext>>;
|
|
5
|
+
export declare const usePaginationContext: () => Partial<PaginationProviderContext>;
|
|
6
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/pagination/context.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,yBAAyB,EAAC,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,iBAAiB,6DAEzB,CAAC;AAEN,eAAO,MAAM,kBAAkB,8DAA6B,CAAC;AAE7D,eAAO,MAAM,oBAAoB,0CAgBhC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.usePaginationContext = exports.PaginationProvider = exports.PaginationContext = void 0;
|
|
4
|
+
var react_1 = require("react");
|
|
5
|
+
exports.PaginationContext = (0, react_1.createContext)({});
|
|
6
|
+
exports.PaginationProvider = exports.PaginationContext.Provider;
|
|
7
|
+
var usePaginationContext = function () {
|
|
8
|
+
var context = (0, react_1.useContext)(exports.PaginationContext);
|
|
9
|
+
/* istanbul ignore if */
|
|
10
|
+
if (process.env.NODE_ENV !== 'production' &&
|
|
11
|
+
Object.keys(context).length === 0) {
|
|
12
|
+
// eslint-disable-next-line no-console
|
|
13
|
+
console.error('You are using a component which needs to be a child of <Pagination />', context);
|
|
14
|
+
}
|
|
15
|
+
return context;
|
|
16
|
+
};
|
|
17
|
+
exports.usePaginationContext = usePaginationContext;
|
|
18
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/pagination/context.tsx"],"names":[],"mappings":";;;AAAA,+BAAgD;AAGnC,QAAA,iBAAiB,GAAG,IAAA,qBAAa,EAE5C,EAAE,CAAC,CAAC;AAEO,QAAA,kBAAkB,GAAG,yBAAiB,CAAC,QAAQ,CAAC;AAEtD,IAAM,oBAAoB,GAAG;IAClC,IAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,yBAAiB,CAAC,CAAC;IAE9C,wBAAwB;IACxB,IACE,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY;QACrC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,KAAK,CAAC,EACjC;QACA,sCAAsC;QACtC,OAAO,CAAC,KAAK,CACX,uEAAuE,EACvE,OAAO,CACR,CAAC;KACH;IAED,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAhBW,QAAA,oBAAoB,wBAgB/B"}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
pagination: {
|
|
3
|
+
small: {};
|
|
4
|
+
medium: {};
|
|
5
|
+
large: {};
|
|
6
|
+
};
|
|
7
|
+
paginationItem: {
|
|
8
|
+
small: {
|
|
9
|
+
typographyPreset: string;
|
|
10
|
+
stylePreset: string;
|
|
11
|
+
paddingInline: string;
|
|
12
|
+
paddingBlock: string;
|
|
13
|
+
marginInline: string;
|
|
14
|
+
minHeight: string;
|
|
15
|
+
minWidth: string;
|
|
16
|
+
};
|
|
17
|
+
medium: {
|
|
18
|
+
typographyPreset: string;
|
|
19
|
+
stylePreset: string;
|
|
20
|
+
paddingInline: string;
|
|
21
|
+
paddingBlock: string;
|
|
22
|
+
marginInline: string;
|
|
23
|
+
minHeight: string;
|
|
24
|
+
minWidth: string;
|
|
25
|
+
};
|
|
26
|
+
large: {
|
|
27
|
+
typographyPreset: string;
|
|
28
|
+
stylePreset: string;
|
|
29
|
+
paddingInline: string;
|
|
30
|
+
paddingBlock: string;
|
|
31
|
+
marginInline: string;
|
|
32
|
+
minHeight: string;
|
|
33
|
+
minWidth: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
paginationItemFirst: {
|
|
37
|
+
small: {
|
|
38
|
+
iconSize: string;
|
|
39
|
+
stylePreset: string;
|
|
40
|
+
paddingInline: string;
|
|
41
|
+
paddingBlock: string;
|
|
42
|
+
marginInline: string;
|
|
43
|
+
width: string;
|
|
44
|
+
};
|
|
45
|
+
medium: {
|
|
46
|
+
iconSize: string;
|
|
47
|
+
stylePreset: string;
|
|
48
|
+
paddingInline: string;
|
|
49
|
+
paddingBlock: string;
|
|
50
|
+
marginInline: string;
|
|
51
|
+
width: string;
|
|
52
|
+
};
|
|
53
|
+
large: {
|
|
54
|
+
iconSize: string;
|
|
55
|
+
stylePreset: string;
|
|
56
|
+
paddingInline: string;
|
|
57
|
+
paddingBlock: string;
|
|
58
|
+
marginInline: string;
|
|
59
|
+
width: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
paginationItemPrev: {
|
|
63
|
+
small: {
|
|
64
|
+
iconSize: string;
|
|
65
|
+
stylePreset: string;
|
|
66
|
+
paddingInline: string;
|
|
67
|
+
paddingBlock: string;
|
|
68
|
+
marginInline: string;
|
|
69
|
+
width: string;
|
|
70
|
+
};
|
|
71
|
+
medium: {
|
|
72
|
+
iconSize: string;
|
|
73
|
+
stylePreset: string;
|
|
74
|
+
paddingInline: string;
|
|
75
|
+
paddingBlock: string;
|
|
76
|
+
marginInline: string;
|
|
77
|
+
width: string;
|
|
78
|
+
};
|
|
79
|
+
large: {
|
|
80
|
+
iconSize: string;
|
|
81
|
+
stylePreset: string;
|
|
82
|
+
paddingInline: string;
|
|
83
|
+
paddingBlock: string;
|
|
84
|
+
marginInline: string;
|
|
85
|
+
width: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
paginationItemNext: {
|
|
89
|
+
small: {
|
|
90
|
+
iconSize: string;
|
|
91
|
+
stylePreset: string;
|
|
92
|
+
paddingInline: string;
|
|
93
|
+
paddingBlock: string;
|
|
94
|
+
marginInline: string;
|
|
95
|
+
width: string;
|
|
96
|
+
};
|
|
97
|
+
medium: {
|
|
98
|
+
iconSize: string;
|
|
99
|
+
stylePreset: string;
|
|
100
|
+
paddingInline: string;
|
|
101
|
+
paddingBlock: string;
|
|
102
|
+
marginInline: string;
|
|
103
|
+
width: string;
|
|
104
|
+
};
|
|
105
|
+
large: {
|
|
106
|
+
iconSize: string;
|
|
107
|
+
stylePreset: string;
|
|
108
|
+
marginInline: string;
|
|
109
|
+
width: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
paginationItemLast: {
|
|
113
|
+
small: {
|
|
114
|
+
iconSize: string;
|
|
115
|
+
stylePreset: string;
|
|
116
|
+
paddingInline: string;
|
|
117
|
+
paddingBlock: string;
|
|
118
|
+
marginInline: string;
|
|
119
|
+
width: string;
|
|
120
|
+
};
|
|
121
|
+
medium: {
|
|
122
|
+
iconSize: string;
|
|
123
|
+
stylePreset: string;
|
|
124
|
+
paddingInline: string;
|
|
125
|
+
paddingBlock: string;
|
|
126
|
+
marginInline: string;
|
|
127
|
+
width: string;
|
|
128
|
+
};
|
|
129
|
+
large: {
|
|
130
|
+
iconSize: string;
|
|
131
|
+
stylePreset: string;
|
|
132
|
+
paddingInline: string;
|
|
133
|
+
paddingBlock: string;
|
|
134
|
+
marginInline: string;
|
|
135
|
+
width: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
paginationItemTruncation: {
|
|
139
|
+
small: {
|
|
140
|
+
iconSize: string;
|
|
141
|
+
stylePreset: string;
|
|
142
|
+
marginInline: string;
|
|
143
|
+
width: string;
|
|
144
|
+
};
|
|
145
|
+
medium: {
|
|
146
|
+
iconSize: string;
|
|
147
|
+
stylePreset: string;
|
|
148
|
+
marginInline: string;
|
|
149
|
+
width: string;
|
|
150
|
+
};
|
|
151
|
+
large: {
|
|
152
|
+
iconSize: string;
|
|
153
|
+
stylePreset: string;
|
|
154
|
+
marginInline: string;
|
|
155
|
+
width: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
paginationItemNonInteractive: {
|
|
159
|
+
small: {
|
|
160
|
+
typographyPreset: string;
|
|
161
|
+
stylePreset: string;
|
|
162
|
+
iconSize: string;
|
|
163
|
+
paddingInline: string;
|
|
164
|
+
marginInline: string;
|
|
165
|
+
marginBlockEnd: string;
|
|
166
|
+
};
|
|
167
|
+
medium: {
|
|
168
|
+
typographyPreset: string;
|
|
169
|
+
stylePreset: string;
|
|
170
|
+
iconSize: string;
|
|
171
|
+
paddingInline: string;
|
|
172
|
+
marginInline: string;
|
|
173
|
+
marginBlockEnd: string;
|
|
174
|
+
};
|
|
175
|
+
large: {
|
|
176
|
+
typographyPreset: string;
|
|
177
|
+
stylePreset: string;
|
|
178
|
+
iconSize: string;
|
|
179
|
+
paddingInline: string;
|
|
180
|
+
marginInline: string;
|
|
181
|
+
marginBlockEnd: string;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
export default _default;
|
|
186
|
+
//# sourceMappingURL=defaults.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/pagination/defaults.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAwLE"}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
// Can be used to set padding around the entire component (eg paddingInline: 'space020')
|
|
5
|
+
pagination: {
|
|
6
|
+
small: {},
|
|
7
|
+
medium: {},
|
|
8
|
+
large: {},
|
|
9
|
+
},
|
|
10
|
+
paginationItem: {
|
|
11
|
+
small: {
|
|
12
|
+
typographyPreset: 'utilityButton010',
|
|
13
|
+
stylePreset: 'paginationItem',
|
|
14
|
+
paddingInline: 'space020',
|
|
15
|
+
paddingBlock: 'space000',
|
|
16
|
+
marginInline: 'space010',
|
|
17
|
+
minHeight: 'sizing050',
|
|
18
|
+
minWidth: 'sizing050',
|
|
19
|
+
},
|
|
20
|
+
medium: {
|
|
21
|
+
typographyPreset: 'utilityButton020',
|
|
22
|
+
stylePreset: 'paginationItem',
|
|
23
|
+
paddingInline: 'space020',
|
|
24
|
+
paddingBlock: 'space000',
|
|
25
|
+
marginInline: 'space010',
|
|
26
|
+
minHeight: 'sizing060',
|
|
27
|
+
minWidth: 'sizing060',
|
|
28
|
+
},
|
|
29
|
+
large: {
|
|
30
|
+
typographyPreset: 'utilityButton030',
|
|
31
|
+
stylePreset: 'paginationItem',
|
|
32
|
+
paddingInline: 'space020',
|
|
33
|
+
paddingBlock: 'space000',
|
|
34
|
+
marginInline: 'space010',
|
|
35
|
+
minHeight: 'sizing070',
|
|
36
|
+
minWidth: 'sizing070',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
paginationItemFirst: {
|
|
40
|
+
small: {
|
|
41
|
+
iconSize: 'iconSize010',
|
|
42
|
+
stylePreset: 'paginationItem',
|
|
43
|
+
paddingInline: 'space020',
|
|
44
|
+
paddingBlock: 'space000',
|
|
45
|
+
marginInline: 'space010',
|
|
46
|
+
width: 'sizing050',
|
|
47
|
+
},
|
|
48
|
+
medium: {
|
|
49
|
+
iconSize: 'iconSize020',
|
|
50
|
+
stylePreset: 'paginationItem',
|
|
51
|
+
paddingInline: 'space020',
|
|
52
|
+
paddingBlock: 'space000',
|
|
53
|
+
marginInline: 'space010',
|
|
54
|
+
width: 'sizing060',
|
|
55
|
+
},
|
|
56
|
+
large: {
|
|
57
|
+
iconSize: 'iconSize020',
|
|
58
|
+
stylePreset: 'paginationItem',
|
|
59
|
+
paddingInline: 'space020',
|
|
60
|
+
paddingBlock: 'space000',
|
|
61
|
+
marginInline: 'space010',
|
|
62
|
+
width: 'sizing070',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
paginationItemPrev: {
|
|
66
|
+
small: {
|
|
67
|
+
iconSize: 'iconSize010',
|
|
68
|
+
stylePreset: 'paginationItem',
|
|
69
|
+
paddingInline: 'space020',
|
|
70
|
+
paddingBlock: 'space000',
|
|
71
|
+
marginInline: 'space010',
|
|
72
|
+
width: 'sizing050',
|
|
73
|
+
},
|
|
74
|
+
medium: {
|
|
75
|
+
iconSize: 'iconSize020',
|
|
76
|
+
stylePreset: 'paginationItem',
|
|
77
|
+
paddingInline: 'space020',
|
|
78
|
+
paddingBlock: 'space000',
|
|
79
|
+
marginInline: 'space010',
|
|
80
|
+
width: 'sizing060',
|
|
81
|
+
},
|
|
82
|
+
large: {
|
|
83
|
+
iconSize: 'iconSize020',
|
|
84
|
+
stylePreset: 'paginationItem',
|
|
85
|
+
paddingInline: 'space020',
|
|
86
|
+
paddingBlock: 'space000',
|
|
87
|
+
marginInline: 'space010',
|
|
88
|
+
width: 'sizing070',
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
paginationItemNext: {
|
|
92
|
+
small: {
|
|
93
|
+
iconSize: 'iconSize010',
|
|
94
|
+
stylePreset: 'paginationItem',
|
|
95
|
+
paddingInline: 'space020',
|
|
96
|
+
paddingBlock: 'space000',
|
|
97
|
+
marginInline: 'space010',
|
|
98
|
+
width: 'sizing050',
|
|
99
|
+
},
|
|
100
|
+
medium: {
|
|
101
|
+
iconSize: 'iconSize020',
|
|
102
|
+
stylePreset: 'paginationItem',
|
|
103
|
+
paddingInline: 'space020',
|
|
104
|
+
paddingBlock: 'space000',
|
|
105
|
+
marginInline: 'space010',
|
|
106
|
+
width: 'sizing060',
|
|
107
|
+
},
|
|
108
|
+
large: {
|
|
109
|
+
iconSize: 'iconSize020',
|
|
110
|
+
stylePreset: 'paginationItem',
|
|
111
|
+
marginInline: 'space000',
|
|
112
|
+
width: 'sizing070',
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
paginationItemLast: {
|
|
116
|
+
small: {
|
|
117
|
+
iconSize: 'iconSize010',
|
|
118
|
+
stylePreset: 'paginationItem',
|
|
119
|
+
paddingInline: 'space020',
|
|
120
|
+
paddingBlock: 'space000',
|
|
121
|
+
marginInline: 'space010',
|
|
122
|
+
width: 'sizing050',
|
|
123
|
+
},
|
|
124
|
+
medium: {
|
|
125
|
+
iconSize: 'iconSize020',
|
|
126
|
+
stylePreset: 'paginationItem',
|
|
127
|
+
paddingInline: 'space020',
|
|
128
|
+
paddingBlock: 'space000',
|
|
129
|
+
marginInline: 'space010',
|
|
130
|
+
width: 'sizing060',
|
|
131
|
+
},
|
|
132
|
+
large: {
|
|
133
|
+
iconSize: 'iconSize020',
|
|
134
|
+
stylePreset: 'paginationItem',
|
|
135
|
+
paddingInline: 'space020',
|
|
136
|
+
paddingBlock: 'space000',
|
|
137
|
+
marginInline: 'space010',
|
|
138
|
+
width: 'sizing070',
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
paginationItemTruncation: {
|
|
142
|
+
small: {
|
|
143
|
+
iconSize: 'iconSize010',
|
|
144
|
+
stylePreset: 'paginationItemNonInteractive',
|
|
145
|
+
marginInline: 'space000',
|
|
146
|
+
width: 'sizing050',
|
|
147
|
+
},
|
|
148
|
+
medium: {
|
|
149
|
+
iconSize: 'iconSize020',
|
|
150
|
+
stylePreset: 'paginationItemNonInteractive',
|
|
151
|
+
marginInline: 'space000',
|
|
152
|
+
width: 'sizing060',
|
|
153
|
+
},
|
|
154
|
+
large: {
|
|
155
|
+
iconSize: 'iconSize020',
|
|
156
|
+
stylePreset: 'paginationItemNonInteractive',
|
|
157
|
+
marginInline: 'space000',
|
|
158
|
+
width: 'sizing070',
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
paginationItemNonInteractive: {
|
|
162
|
+
small: {
|
|
163
|
+
typographyPreset: 'utilityBody010',
|
|
164
|
+
stylePreset: 'paginationItemNonInteractive',
|
|
165
|
+
iconSize: 'iconSize010',
|
|
166
|
+
paddingInline: 'space000',
|
|
167
|
+
marginInline: 'space010',
|
|
168
|
+
marginBlockEnd: 'space000',
|
|
169
|
+
},
|
|
170
|
+
medium: {
|
|
171
|
+
typographyPreset: 'utilityBody020',
|
|
172
|
+
stylePreset: 'paginationItemNonInteractive',
|
|
173
|
+
iconSize: 'iconSize020',
|
|
174
|
+
paddingInline: 'space000',
|
|
175
|
+
marginInline: 'space010',
|
|
176
|
+
marginBlockEnd: 'space000',
|
|
177
|
+
},
|
|
178
|
+
large: {
|
|
179
|
+
typographyPreset: 'utilityBody030',
|
|
180
|
+
stylePreset: 'paginationItemNonInteractive',
|
|
181
|
+
iconSize: 'iconSize020',
|
|
182
|
+
paddingInline: 'space000',
|
|
183
|
+
marginInline: 'space010',
|
|
184
|
+
marginBlockEnd: 'space000',
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
};
|
|
188
|
+
//# sourceMappingURL=defaults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../src/pagination/defaults.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './components/list-item';
|
|
2
|
+
export * from './components/items';
|
|
3
|
+
export * from './components/first-item';
|
|
4
|
+
export * from './components/last-item';
|
|
5
|
+
export * from './components/item';
|
|
6
|
+
export * from './components/button';
|
|
7
|
+
export * from './components/next-item';
|
|
8
|
+
export * from './components/prev-item';
|
|
9
|
+
export * from './context';
|
|
10
|
+
export * from './pagination';
|
|
11
|
+
export * from './types';
|
|
12
|
+
export * from './utils';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pagination/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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("./components/list-item"), exports);
|
|
14
|
+
__exportStar(require("./components/items"), exports);
|
|
15
|
+
__exportStar(require("./components/first-item"), exports);
|
|
16
|
+
__exportStar(require("./components/last-item"), exports);
|
|
17
|
+
__exportStar(require("./components/item"), exports);
|
|
18
|
+
__exportStar(require("./components/button"), exports);
|
|
19
|
+
__exportStar(require("./components/next-item"), exports);
|
|
20
|
+
__exportStar(require("./components/prev-item"), exports);
|
|
21
|
+
__exportStar(require("./context"), exports);
|
|
22
|
+
__exportStar(require("./pagination"), exports);
|
|
23
|
+
__exportStar(require("./types"), exports);
|
|
24
|
+
__exportStar(require("./utils"), exports);
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/pagination/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAuC;AACvC,qDAAmC;AACnC,0DAAwC;AACxC,yDAAuC;AACvC,oDAAkC;AAClC,sDAAoC;AACpC,yDAAuC;AACvC,yDAAuC;AACvC,4CAA0B;AAC1B,+CAA6B;AAC7B,0CAAwB;AACxB,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../src/pagination/pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAK7D,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AA+JxC,eAAO,MAAM,UAAU,oGAGrB,CAAC"}
|
|
@@ -0,0 +1,147 @@
|
|
|
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 __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;
|
|
31
|
+
};
|
|
32
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
33
|
+
var t = {};
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
37
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
38
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
39
|
+
t[p[i]] = s[p[i]];
|
|
40
|
+
}
|
|
41
|
+
return t;
|
|
42
|
+
};
|
|
43
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
44
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
45
|
+
};
|
|
46
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47
|
+
exports.Pagination = void 0;
|
|
48
|
+
var react_1 = __importStar(require("react"));
|
|
49
|
+
var with_own_theme_1 = require("../utils/with-own-theme");
|
|
50
|
+
var styled_1 = require("./styled");
|
|
51
|
+
var defaults_1 = __importDefault(require("./defaults"));
|
|
52
|
+
var style_presets_1 = __importDefault(require("./style-presets"));
|
|
53
|
+
var context_1 = require("./context");
|
|
54
|
+
var compose_event_handlers_1 = require("../utils/compose-event-handlers");
|
|
55
|
+
var utils_1 = require("../utils");
|
|
56
|
+
var ThemelessPagination = react_1.default.forwardRef(function (_a, ref) {
|
|
57
|
+
var children = _a.children, _b = _a.size, size = _b === void 0 ? 'medium' : _b, pageSize = _a.pageSize, pageProp = _a.page, // undefined if uncontrolled externally
|
|
58
|
+
_c = _a.defaultPage, // undefined if uncontrolled externally
|
|
59
|
+
defaultPage = _c === void 0 ? 1 : _c, totalItems = _a.totalItems, buildHref = _a.buildHref, onPageChange = _a.onPageChange, rest = __rest(_a, ["children", "size", "pageSize", "page", "defaultPage", "totalItems", "buildHref", "onPageChange"]);
|
|
60
|
+
// Only warn once (on component mount)
|
|
61
|
+
(0, react_1.useEffect)(function () {
|
|
62
|
+
if (process.env.NODE_ENV !== 'production' &&
|
|
63
|
+
Boolean(buildHref) === Boolean(onPageChange)) {
|
|
64
|
+
// eslint-disable-next-line no-console
|
|
65
|
+
console.warn('Pagination must have either buildHref OR onPageChange set.');
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
/* istanbul ignore next */
|
|
69
|
+
var _d = (0, utils_1.useControlled)({
|
|
70
|
+
defaultValue: defaultPage,
|
|
71
|
+
controlledValue: pageProp,
|
|
72
|
+
}), _e = _d[0], page = _e === void 0 ? 1 : _e, setPage = _d[1];
|
|
73
|
+
var lastPage = Math.ceil(totalItems / pageSize);
|
|
74
|
+
var changePage = (0, react_1.useCallback)(function (pageNumber) {
|
|
75
|
+
setPage(pageNumber);
|
|
76
|
+
if (onPageChange) {
|
|
77
|
+
onPageChange(pageNumber);
|
|
78
|
+
}
|
|
79
|
+
}, [setPage, onPageChange]);
|
|
80
|
+
var getFirstItemProps = (0, react_1.useCallback)(function (_a) {
|
|
81
|
+
var getterProps = __rest(_a, []);
|
|
82
|
+
return (__assign(__assign({ disabled: page < 2 }, getterProps), { onClick: (0, compose_event_handlers_1.composeEventHandlers)([
|
|
83
|
+
function () { return changePage(1); },
|
|
84
|
+
/* istanbul ignore next */
|
|
85
|
+
getterProps === null || getterProps === void 0 ? void 0 : getterProps.onClick,
|
|
86
|
+
]) }));
|
|
87
|
+
}, [page, changePage]);
|
|
88
|
+
var getPrevItemProps = (0, react_1.useCallback)(function (_a) {
|
|
89
|
+
var getterProps = __rest(_a, []);
|
|
90
|
+
return (__assign(__assign({ disabled: page < 2 }, getterProps), { onClick: (0, compose_event_handlers_1.composeEventHandlers)([
|
|
91
|
+
function () { return changePage(page - 1); },
|
|
92
|
+
/* istanbul ignore next */
|
|
93
|
+
getterProps === null || getterProps === void 0 ? void 0 : getterProps.onClick,
|
|
94
|
+
]) }));
|
|
95
|
+
}, [page, changePage]);
|
|
96
|
+
var getNextItemProps = (0, react_1.useCallback)(function (_a) {
|
|
97
|
+
var getterProps = __rest(_a, []);
|
|
98
|
+
return (__assign(__assign({ disabled: page >= lastPage }, getterProps), { onClick: (0, compose_event_handlers_1.composeEventHandlers)([
|
|
99
|
+
function () { return changePage(page + 1); },
|
|
100
|
+
/* istanbul ignore next */
|
|
101
|
+
getterProps === null || getterProps === void 0 ? void 0 : getterProps.onClick,
|
|
102
|
+
]) }));
|
|
103
|
+
}, [page, changePage, lastPage]);
|
|
104
|
+
var getLastItemProps = (0, react_1.useCallback)(function (_a) {
|
|
105
|
+
var getterProps = __rest(_a, []);
|
|
106
|
+
return (__assign(__assign({ disabled: page >= lastPage }, getterProps), { onClick: (0, compose_event_handlers_1.composeEventHandlers)([
|
|
107
|
+
function () { return changePage(lastPage); },
|
|
108
|
+
/* istanbul ignore next */
|
|
109
|
+
getterProps === null || getterProps === void 0 ? void 0 : getterProps.onClick,
|
|
110
|
+
]) }));
|
|
111
|
+
}, [page, changePage, lastPage]);
|
|
112
|
+
var value = (0, react_1.useMemo)(function () { return ({
|
|
113
|
+
size: size,
|
|
114
|
+
pageSize: pageSize,
|
|
115
|
+
totalItems: totalItems,
|
|
116
|
+
defaultPage: defaultPage,
|
|
117
|
+
page: page,
|
|
118
|
+
lastPage: lastPage,
|
|
119
|
+
changePage: changePage,
|
|
120
|
+
buildHref: buildHref,
|
|
121
|
+
getFirstItemProps: getFirstItemProps,
|
|
122
|
+
getPrevItemProps: getPrevItemProps,
|
|
123
|
+
getNextItemProps: getNextItemProps,
|
|
124
|
+
getLastItemProps: getLastItemProps,
|
|
125
|
+
}); }, [
|
|
126
|
+
size,
|
|
127
|
+
pageSize,
|
|
128
|
+
totalItems,
|
|
129
|
+
defaultPage,
|
|
130
|
+
page,
|
|
131
|
+
lastPage,
|
|
132
|
+
changePage,
|
|
133
|
+
buildHref,
|
|
134
|
+
getFirstItemProps,
|
|
135
|
+
getPrevItemProps,
|
|
136
|
+
getNextItemProps,
|
|
137
|
+
getLastItemProps,
|
|
138
|
+
]);
|
|
139
|
+
return (react_1.default.createElement(context_1.PaginationProvider, { value: value },
|
|
140
|
+
react_1.default.createElement(styled_1.StyledNav, __assign({ path: "pagination", size: size, "aria-label": "pagination", "data-testid": "pagination-container", ref: ref }, rest),
|
|
141
|
+
react_1.default.createElement(styled_1.StyledUnorderedList, null, children))));
|
|
142
|
+
});
|
|
143
|
+
exports.Pagination = (0, with_own_theme_1.withOwnTheme)(ThemelessPagination)({
|
|
144
|
+
defaults: defaults_1.default,
|
|
145
|
+
stylePresets: style_presets_1.default,
|
|
146
|
+
});
|
|
147
|
+
//# sourceMappingURL=pagination.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.js","sourceRoot":"","sources":["../../../src/pagination/pagination.tsx"],"names":[],"mappings":"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"}
|