newskit 7.0.0 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/assistive-text/assistive-text.js +1 -1
- package/cjs/assistive-text/assistive-text.js.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 +13 -2
- package/cjs/base-floating-element/base-floating-element.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/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 +3 -0
- package/cjs/card/defaults.d.ts.map +1 -1
- package/cjs/card/defaults.js +3 -0
- package/cjs/card/defaults.js.map +1 -1
- package/cjs/card/style-presets.d.ts.map +1 -1
- package/cjs/card/style-presets.js +4 -6
- package/cjs/card/style-presets.js.map +1 -1
- package/cjs/card/styled.d.ts.map +1 -1
- package/cjs/card/styled.js +3 -1
- package/cjs/card/styled.js.map +1 -1
- package/cjs/card-composable/card-composable.d.ts +97 -0
- package/cjs/card-composable/card-composable.d.ts.map +1 -0
- package/cjs/card-composable/card-composable.js +93 -0
- package/cjs/card-composable/card-composable.js.map +1 -0
- package/cjs/card-composable/context.d.ts +8 -0
- package/cjs/card-composable/context.d.ts.map +1 -0
- package/cjs/card-composable/context.js +18 -0
- package/cjs/card-composable/context.js.map +1 -0
- package/cjs/card-composable/defaults.d.ts +12 -0
- package/cjs/card-composable/defaults.d.ts.map +1 -0
- package/cjs/card-composable/defaults.js +13 -0
- package/cjs/card-composable/defaults.js.map +1 -0
- package/cjs/card-composable/index.d.ts +3 -0
- package/cjs/card-composable/index.d.ts.map +1 -0
- package/cjs/card-composable/index.js +14 -0
- package/cjs/card-composable/index.js.map +1 -0
- package/cjs/card-composable/style-presets.d.ts +4 -0
- package/cjs/card-composable/style-presets.d.ts.map +1 -0
- package/cjs/card-composable/style-presets.js +4 -0
- package/cjs/card-composable/style-presets.js.map +1 -0
- package/cjs/card-composable/styled.d.ts +143 -0
- package/cjs/card-composable/styled.d.ts.map +1 -0
- package/cjs/card-composable/styled.js +25 -0
- package/cjs/card-composable/styled.js.map +1 -0
- package/cjs/card-composable/types.d.ts +26 -0
- package/cjs/card-composable/types.d.ts.map +1 -0
- package/cjs/card-composable/types.js +3 -0
- package/cjs/card-composable/types.js.map +1 -0
- package/cjs/date-time/date-time.d.ts +1 -1
- package/cjs/date-time/date-time.d.ts.map +1 -1
- package/cjs/date-time/date-time.js +12 -5
- package/cjs/date-time/date-time.js.map +1 -1
- package/cjs/date-time/types.d.ts +1 -0
- package/cjs/date-time/types.d.ts.map +1 -1
- package/cjs/form/context.d.ts +2 -18
- package/cjs/form/context.d.ts.map +1 -1
- package/cjs/form/utils.d.ts +2 -2
- package/cjs/icons/filled/custom/icon-filled-figma.d.ts.map +1 -1
- package/cjs/icons/filled/custom/icon-filled-figma.js +5 -5
- package/cjs/icons/filled/custom/icon-filled-figma.js.map +1 -1
- package/cjs/icons/filled/custom/index.d.ts +7 -7
- package/cjs/icons/filled/custom/index.d.ts.map +1 -1
- package/cjs/icons/filled/custom/index.js +7 -7
- package/cjs/icons/filled/custom/index.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-control-point.d.ts +2 -0
- package/cjs/icons/filled/material/icon-filled-control-point.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 +8 -0
- package/cjs/icons/filled/material/index.js +18 -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-control-point.d.ts +2 -0
- package/cjs/icons/outlined/material/icon-outlined-control-point.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 +8 -0
- package/cjs/icons/outlined/material/index.js +18 -2
- package/cjs/index.d.ts +2 -0
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +2 -0
- package/cjs/index.js.map +1 -1
- package/cjs/menu/style-presets.d.ts.map +1 -1
- package/cjs/menu/style-presets.js +16 -5
- package/cjs/menu/style-presets.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/pagination/components/button/pagination-button.js +24 -0
- 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/style-presets.d.ts.map +1 -1
- package/cjs/popover/style-presets.js +13 -0
- package/cjs/popover/style-presets.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/types.d.ts +1 -0
- package/cjs/structured-list/types.d.ts.map +1 -1
- package/cjs/tabs/style-presets.js +1 -1
- package/cjs/tabs/style-presets.js.map +1 -1
- package/cjs/theme/foundations/colors.js +1 -1
- package/cjs/theme/foundations/outlines.d.ts +1 -0
- package/cjs/theme/foundations/outlines.d.ts.map +1 -1
- package/cjs/theme/foundations/outlines.js +1 -0
- package/cjs/theme/foundations/outlines.js.map +1 -1
- package/cjs/theme/presets/style-presets.d.ts.map +1 -1
- package/cjs/theme/presets/style-presets.js +19 -0
- package/cjs/theme/presets/style-presets.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/version-number.json +1 -1
- package/esm/assistive-text/assistive-text.js +1 -1
- package/esm/assistive-text/assistive-text.js.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 +13 -2
- package/esm/base-floating-element/base-floating-element.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/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 +3 -0
- package/esm/card/defaults.d.ts.map +1 -1
- package/esm/card/defaults.js +3 -0
- package/esm/card/defaults.js.map +1 -1
- package/esm/card/style-presets.d.ts.map +1 -1
- package/esm/card/style-presets.js +4 -6
- package/esm/card/style-presets.js.map +1 -1
- package/esm/card/styled.d.ts.map +1 -1
- package/esm/card/styled.js +3 -1
- package/esm/card/styled.js.map +1 -1
- package/esm/card-composable/card-composable.d.ts +97 -0
- package/esm/card-composable/card-composable.d.ts.map +1 -0
- package/esm/card-composable/card-composable.js +68 -0
- package/esm/card-composable/card-composable.js.map +1 -0
- package/esm/card-composable/context.d.ts +8 -0
- package/esm/card-composable/context.d.ts.map +1 -0
- package/esm/card-composable/context.js +14 -0
- package/esm/card-composable/context.js.map +1 -0
- package/esm/card-composable/defaults.d.ts +12 -0
- package/esm/card-composable/defaults.d.ts.map +1 -0
- package/esm/card-composable/defaults.js +11 -0
- package/esm/card-composable/defaults.js.map +1 -0
- package/esm/card-composable/index.d.ts +3 -0
- package/esm/card-composable/index.d.ts.map +1 -0
- package/esm/card-composable/index.js +2 -0
- package/esm/card-composable/index.js.map +1 -0
- package/esm/card-composable/style-presets.d.ts +4 -0
- package/esm/card-composable/style-presets.d.ts.map +1 -0
- package/esm/card-composable/style-presets.js +2 -0
- package/esm/card-composable/style-presets.js.map +1 -0
- package/esm/card-composable/styled.d.ts +143 -0
- package/esm/card-composable/styled.d.ts.map +1 -0
- package/esm/card-composable/styled.js +22 -0
- package/esm/card-composable/styled.js.map +1 -0
- package/esm/card-composable/types.d.ts +26 -0
- package/esm/card-composable/types.d.ts.map +1 -0
- package/esm/card-composable/types.js +2 -0
- package/esm/card-composable/types.js.map +1 -0
- package/esm/date-time/date-time.d.ts +1 -1
- package/esm/date-time/date-time.d.ts.map +1 -1
- package/esm/date-time/date-time.js +12 -5
- package/esm/date-time/date-time.js.map +1 -1
- package/esm/date-time/types.d.ts +1 -0
- package/esm/date-time/types.d.ts.map +1 -1
- package/esm/form/context.d.ts +2 -18
- package/esm/form/context.d.ts.map +1 -1
- package/esm/form/utils.d.ts +2 -2
- package/esm/icons/filled/custom/icon-filled-figma.d.ts.map +1 -1
- package/esm/icons/filled/custom/icon-filled-figma.js +5 -5
- package/esm/icons/filled/custom/icon-filled-figma.js.map +1 -1
- package/esm/icons/filled/custom/index.d.ts +7 -7
- package/esm/icons/filled/custom/index.d.ts.map +1 -1
- package/esm/icons/filled/custom/index.js +7 -7
- package/esm/icons/filled/custom/index.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-control-point.d.ts +2 -0
- package/esm/icons/filled/material/icon-filled-control-point.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 +8 -0
- package/esm/icons/filled/material/index.js +8 -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-control-point.d.ts +2 -0
- package/esm/icons/outlined/material/icon-outlined-control-point.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 +8 -0
- package/esm/icons/outlined/material/index.js +8 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +2 -0
- package/esm/index.js.map +1 -1
- package/esm/menu/style-presets.d.ts.map +1 -1
- package/esm/menu/style-presets.js +16 -5
- package/esm/menu/style-presets.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/style-presets.d.ts.map +1 -1
- package/esm/popover/style-presets.js +13 -0
- package/esm/popover/style-presets.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/types.d.ts +1 -0
- package/esm/structured-list/types.d.ts.map +1 -1
- package/esm/tabs/style-presets.js +1 -1
- package/esm/tabs/style-presets.js.map +1 -1
- package/esm/theme/foundations/colors.js +1 -1
- package/esm/theme/foundations/outlines.d.ts +1 -0
- package/esm/theme/foundations/outlines.d.ts.map +1 -1
- package/esm/theme/foundations/outlines.js +1 -0
- package/esm/theme/foundations/outlines.js.map +1 -1
- package/esm/theme/presets/style-presets.d.ts.map +1 -1
- package/esm/theme/presets/style-presets.js +19 -0
- package/esm/theme/presets/style-presets.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/version-number.json +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { NewsKitIconProps } from '../../../icons';
|
|
3
|
+
import { MQ } from '../../../utils';
|
|
4
|
+
import { Override } from '../../../utils/overrides';
|
|
5
|
+
import { PaginationIconButtonWithoutClickProps } from '../types';
|
|
6
|
+
export declare type PaginationNextItemProps = PaginationIconButtonWithoutClickProps & {
|
|
7
|
+
children?: Exclude<React.ReactNode, 'undefined'>;
|
|
8
|
+
overrides?: {
|
|
9
|
+
stylePreset?: MQ<string>;
|
|
10
|
+
typographyPreset?: MQ<string>;
|
|
11
|
+
icon?: Override<NewsKitIconProps>;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/pagination/components/next-item/types.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAC,qCAAqC,EAAC,MAAM,UAAU,CAAC;AAE/D,oBAAY,uBAAuB,GAAG,qCAAqC,GAAG;IAC5E,QAAQ,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IACjD,SAAS,CAAC,EAAE;QACV,WAAW,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;QACzB,gBAAgB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;QAC9B,IAAI,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;KACnC,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/pagination/components/next-item/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/pagination/components/prev-item/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pagination/components/prev-item/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NewsKitIconProps } from '../../../icons';
|
|
3
|
+
import { Override } from '../../../utils/overrides';
|
|
4
|
+
export declare const PaginationPrevItem: React.ForwardRefExoticComponent<Omit<import("../types").PaginationIconButtonProps, "onClick"> & {
|
|
5
|
+
onClick?: ((event: KeyboardEvent | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
overrides?: {
|
|
9
|
+
stylePreset?: import("../../..").MQ<string> | undefined;
|
|
10
|
+
typographyPreset?: import("../../..").MQ<string> | undefined;
|
|
11
|
+
icon?: Override<NewsKitIconProps>;
|
|
12
|
+
} | undefined;
|
|
13
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
//# sourceMappingURL=prev-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prev-item.d.ts","sourceRoot":"","sources":["../../../../../src/pagination/components/prev-item/prev-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAwB,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAMvE,OAAO,EAAwB,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AASzE,eAAO,MAAM,kBAAkB;;;;;;;;;2CAiD7B,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import React from 'react';
|
|
24
|
+
import { useTheme } from '../../../theme';
|
|
25
|
+
import { IconFilledChevronLeft } from '../../../icons';
|
|
26
|
+
import { usePaginationContext } from '../../context';
|
|
27
|
+
import { PaginationListItem } from '../list-item';
|
|
28
|
+
import { PaginationItem } from '../item/pagination-item';
|
|
29
|
+
import { filterOutFalsyProperties } from '../../../utils/filter-object';
|
|
30
|
+
import { getComponentOverrides } from '../../../utils/overrides';
|
|
31
|
+
var itemType = 'paginationItemPrev';
|
|
32
|
+
var DefaultIcon = function (props) { return (React.createElement(IconFilledChevronLeft, __assign({}, props))); };
|
|
33
|
+
export var PaginationPrevItem = React.forwardRef(function (_a, ref) {
|
|
34
|
+
var children = _a.children, overrides = _a.overrides, eventContext = _a.eventContext, props = __rest(_a, ["children", "overrides", "eventContext"]);
|
|
35
|
+
var theme = useTheme();
|
|
36
|
+
var _b = usePaginationContext(), getPrevItemProps = _b.getPrevItemProps,
|
|
37
|
+
/* istanbul ignore next */
|
|
38
|
+
_c = _b.size,
|
|
39
|
+
/* istanbul ignore next */
|
|
40
|
+
size = _c === void 0 ? 'medium' : _c, buildHref = _b.buildHref,
|
|
41
|
+
/* istanbul ignore next */
|
|
42
|
+
_d = _b.page,
|
|
43
|
+
/* istanbul ignore next */
|
|
44
|
+
page = _d === void 0 ? 1 : _d;
|
|
45
|
+
var PaginationIcon = getComponentOverrides(overrides === null || overrides === void 0 ? void 0 : overrides.icon, DefaultIcon, {
|
|
46
|
+
overrides: __assign(__assign({}, theme.componentDefaults.paginationItemPrev[size]), filterOutFalsyProperties(overrides)),
|
|
47
|
+
})[0];
|
|
48
|
+
var propsFromContext = getPrevItemProps && getPrevItemProps(props);
|
|
49
|
+
var prevPage = Math.max(page - 1, 1);
|
|
50
|
+
var href = buildHref && buildHref(prevPage);
|
|
51
|
+
return (React.createElement(PaginationListItem, { key: "prev" },
|
|
52
|
+
React.createElement(PaginationItem
|
|
53
|
+
// @ts-ignore
|
|
54
|
+
, __assign({
|
|
55
|
+
// @ts-ignore
|
|
56
|
+
itemType: itemType, "data-testid": "pagination-prev-item", eventOriginator: "pagination-prev-item", eventContext: eventContext, pageNumber: prevPage }, propsFromContext, { overrides: overrides, ref: ref, href: href, size: size }),
|
|
57
|
+
React.createElement(PaginationIcon, null),
|
|
58
|
+
children)));
|
|
59
|
+
});
|
|
60
|
+
//# sourceMappingURL=prev-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prev-item.js","sourceRoot":"","sources":["../../../../../src/pagination/components/prev-item/prev-item.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAC,qBAAqB,EAAmB,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAC,oBAAoB,EAAC,MAAM,eAAe,CAAC;AACnD,OAAO,EAAC,kBAAkB,EAAC,MAAM,cAAc,CAAC;AAChD,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAC,wBAAwB,EAAC,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAC,qBAAqB,EAAW,MAAM,0BAA0B,CAAC;AAGzE,IAAM,QAAQ,GAAG,oBAA0C,CAAC;AAE5D,IAAM,WAAW,GAAG,UAAC,KAAuB,IAAK,OAAA,CAC/C,oBAAC,qBAAqB,eAAK,KAAK,EAAI,CACrC,EAFgD,CAEhD,CAAC;AAEF,MAAM,CAAC,IAAM,kBAAkB,GAAG,KAAK,CAAC,UAAU,CAGhD,UAAC,EAA6C,EAAE,GAAG;IAAjD,IAAA,QAAQ,cAAA,EAAE,SAAS,eAAA,EAAE,YAAY,kBAAA,EAAK,KAAK,cAA5C,yCAA6C,CAAD;IAC7C,IAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACnB,IAAA,KAOF,oBAAoB,EAAE,EANxB,gBAAgB,sBAAA;IAChB,0BAA0B;IAC1B,YAAe;IADf,0BAA0B;IAC1B,IAAI,mBAAG,QAAQ,KAAA,EACf,SAAS,eAAA;IACT,0BAA0B;IAC1B,YAAQ;IADR,0BAA0B;IAC1B,IAAI,mBAAG,CAAC,KACgB,CAAC;IAEpB,IAAA,cAAc,GAAI,qBAAqB,CAC5C,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,IAAkC,EAC7C,WAAW,EACX;QACE,SAAS,wBACJ,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,IAAI,CAAC,GAChD,wBAAwB,CAAC,SAAS,CAAC,CACvC;KACF,CACF,GAToB,CASnB;IAEF,IAAM,gBAAgB,GAAG,gBAAiB,IAAI,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAEtE,IAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IACvC,IAAM,IAAI,GAAG,SAAU,IAAI,SAAS,CAAC,QAAQ,CAAC,CAAC;IAC/C,OAAO,CACL,oBAAC,kBAAkB,IAAC,GAAG,EAAC,MAAM;QAC5B,oBAAC,cAAc;QACb,aAAa;;YAAb,aAAa;YACb,QAAQ,EAAE,QAAQ,iBACN,sBAAsB,EAClC,eAAe,EAAC,sBAAsB,EACtC,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,QAAQ,IAChB,gBAAgB,IACpB,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI;YAEV,oBAAC,cAAc,OAAG;YACjB,QAAQ,CACM,CACE,CACtB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { NewsKitIconProps } from '../../../icons';
|
|
3
|
+
import { MQ } from '../../../utils';
|
|
4
|
+
import { Override } from '../../../utils/overrides';
|
|
5
|
+
import { PaginationIconButtonWithoutClickProps } from '../types';
|
|
6
|
+
export declare type PaginationPrevItemProps = PaginationIconButtonWithoutClickProps & {
|
|
7
|
+
children?: Exclude<React.ReactNode, 'undefined'>;
|
|
8
|
+
overrides?: {
|
|
9
|
+
stylePreset?: MQ<string>;
|
|
10
|
+
typographyPreset?: MQ<string>;
|
|
11
|
+
icon?: Override<NewsKitIconProps>;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/pagination/components/prev-item/types.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAC,qCAAqC,EAAC,MAAM,UAAU,CAAC;AAE/D,oBAAY,uBAAuB,GAAG,qCAAqC,GAAG;IAC5E,QAAQ,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IACjD,SAAS,CAAC,EAAE;QACV,WAAW,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;QACzB,gBAAgB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC;QAC9B,IAAI,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;KACnC,CAAC;CACH,CAAC"}
|
|
@@ -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,14 @@
|
|
|
1
|
+
import { createContext, useContext } from 'react';
|
|
2
|
+
export var PaginationContext = createContext({});
|
|
3
|
+
export var PaginationProvider = PaginationContext.Provider;
|
|
4
|
+
export var usePaginationContext = function () {
|
|
5
|
+
var context = useContext(PaginationContext);
|
|
6
|
+
/* istanbul ignore if */
|
|
7
|
+
if (process.env.NODE_ENV !== 'production' &&
|
|
8
|
+
Object.keys(context).length === 0) {
|
|
9
|
+
// eslint-disable-next-line no-console
|
|
10
|
+
console.error('You are using a component which needs to be a child of <Pagination />', context);
|
|
11
|
+
}
|
|
12
|
+
return context;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/pagination/context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,UAAU,EAAC,MAAM,OAAO,CAAC;AAGhD,MAAM,CAAC,IAAM,iBAAiB,GAAG,aAAa,CAE5C,EAAE,CAAC,CAAC;AAEN,MAAM,CAAC,IAAM,kBAAkB,GAAG,iBAAiB,CAAC,QAAQ,CAAC;AAE7D,MAAM,CAAC,IAAM,oBAAoB,GAAG;IAClC,IAAM,OAAO,GAAG,UAAU,CAAC,iBAAiB,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"}
|
|
@@ -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,186 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
// Can be used to set padding around the entire component (eg paddingInline: 'space020')
|
|
3
|
+
pagination: {
|
|
4
|
+
small: {},
|
|
5
|
+
medium: {},
|
|
6
|
+
large: {},
|
|
7
|
+
},
|
|
8
|
+
paginationItem: {
|
|
9
|
+
small: {
|
|
10
|
+
typographyPreset: 'utilityButton010',
|
|
11
|
+
stylePreset: 'paginationItem',
|
|
12
|
+
paddingInline: 'space020',
|
|
13
|
+
paddingBlock: 'space000',
|
|
14
|
+
marginInline: 'space010',
|
|
15
|
+
minHeight: 'sizing050',
|
|
16
|
+
minWidth: 'sizing050',
|
|
17
|
+
},
|
|
18
|
+
medium: {
|
|
19
|
+
typographyPreset: 'utilityButton020',
|
|
20
|
+
stylePreset: 'paginationItem',
|
|
21
|
+
paddingInline: 'space020',
|
|
22
|
+
paddingBlock: 'space000',
|
|
23
|
+
marginInline: 'space010',
|
|
24
|
+
minHeight: 'sizing060',
|
|
25
|
+
minWidth: 'sizing060',
|
|
26
|
+
},
|
|
27
|
+
large: {
|
|
28
|
+
typographyPreset: 'utilityButton030',
|
|
29
|
+
stylePreset: 'paginationItem',
|
|
30
|
+
paddingInline: 'space020',
|
|
31
|
+
paddingBlock: 'space000',
|
|
32
|
+
marginInline: 'space010',
|
|
33
|
+
minHeight: 'sizing070',
|
|
34
|
+
minWidth: 'sizing070',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
paginationItemFirst: {
|
|
38
|
+
small: {
|
|
39
|
+
iconSize: 'iconSize010',
|
|
40
|
+
stylePreset: 'paginationItem',
|
|
41
|
+
paddingInline: 'space020',
|
|
42
|
+
paddingBlock: 'space000',
|
|
43
|
+
marginInline: 'space010',
|
|
44
|
+
width: 'sizing050',
|
|
45
|
+
},
|
|
46
|
+
medium: {
|
|
47
|
+
iconSize: 'iconSize020',
|
|
48
|
+
stylePreset: 'paginationItem',
|
|
49
|
+
paddingInline: 'space020',
|
|
50
|
+
paddingBlock: 'space000',
|
|
51
|
+
marginInline: 'space010',
|
|
52
|
+
width: 'sizing060',
|
|
53
|
+
},
|
|
54
|
+
large: {
|
|
55
|
+
iconSize: 'iconSize020',
|
|
56
|
+
stylePreset: 'paginationItem',
|
|
57
|
+
paddingInline: 'space020',
|
|
58
|
+
paddingBlock: 'space000',
|
|
59
|
+
marginInline: 'space010',
|
|
60
|
+
width: 'sizing070',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
paginationItemPrev: {
|
|
64
|
+
small: {
|
|
65
|
+
iconSize: 'iconSize010',
|
|
66
|
+
stylePreset: 'paginationItem',
|
|
67
|
+
paddingInline: 'space020',
|
|
68
|
+
paddingBlock: 'space000',
|
|
69
|
+
marginInline: 'space010',
|
|
70
|
+
width: 'sizing050',
|
|
71
|
+
},
|
|
72
|
+
medium: {
|
|
73
|
+
iconSize: 'iconSize020',
|
|
74
|
+
stylePreset: 'paginationItem',
|
|
75
|
+
paddingInline: 'space020',
|
|
76
|
+
paddingBlock: 'space000',
|
|
77
|
+
marginInline: 'space010',
|
|
78
|
+
width: 'sizing060',
|
|
79
|
+
},
|
|
80
|
+
large: {
|
|
81
|
+
iconSize: 'iconSize020',
|
|
82
|
+
stylePreset: 'paginationItem',
|
|
83
|
+
paddingInline: 'space020',
|
|
84
|
+
paddingBlock: 'space000',
|
|
85
|
+
marginInline: 'space010',
|
|
86
|
+
width: 'sizing070',
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
paginationItemNext: {
|
|
90
|
+
small: {
|
|
91
|
+
iconSize: 'iconSize010',
|
|
92
|
+
stylePreset: 'paginationItem',
|
|
93
|
+
paddingInline: 'space020',
|
|
94
|
+
paddingBlock: 'space000',
|
|
95
|
+
marginInline: 'space010',
|
|
96
|
+
width: 'sizing050',
|
|
97
|
+
},
|
|
98
|
+
medium: {
|
|
99
|
+
iconSize: 'iconSize020',
|
|
100
|
+
stylePreset: 'paginationItem',
|
|
101
|
+
paddingInline: 'space020',
|
|
102
|
+
paddingBlock: 'space000',
|
|
103
|
+
marginInline: 'space010',
|
|
104
|
+
width: 'sizing060',
|
|
105
|
+
},
|
|
106
|
+
large: {
|
|
107
|
+
iconSize: 'iconSize020',
|
|
108
|
+
stylePreset: 'paginationItem',
|
|
109
|
+
marginInline: 'space000',
|
|
110
|
+
width: 'sizing070',
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
paginationItemLast: {
|
|
114
|
+
small: {
|
|
115
|
+
iconSize: 'iconSize010',
|
|
116
|
+
stylePreset: 'paginationItem',
|
|
117
|
+
paddingInline: 'space020',
|
|
118
|
+
paddingBlock: 'space000',
|
|
119
|
+
marginInline: 'space010',
|
|
120
|
+
width: 'sizing050',
|
|
121
|
+
},
|
|
122
|
+
medium: {
|
|
123
|
+
iconSize: 'iconSize020',
|
|
124
|
+
stylePreset: 'paginationItem',
|
|
125
|
+
paddingInline: 'space020',
|
|
126
|
+
paddingBlock: 'space000',
|
|
127
|
+
marginInline: 'space010',
|
|
128
|
+
width: 'sizing060',
|
|
129
|
+
},
|
|
130
|
+
large: {
|
|
131
|
+
iconSize: 'iconSize020',
|
|
132
|
+
stylePreset: 'paginationItem',
|
|
133
|
+
paddingInline: 'space020',
|
|
134
|
+
paddingBlock: 'space000',
|
|
135
|
+
marginInline: 'space010',
|
|
136
|
+
width: 'sizing070',
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
paginationItemTruncation: {
|
|
140
|
+
small: {
|
|
141
|
+
iconSize: 'iconSize010',
|
|
142
|
+
stylePreset: 'paginationItemNonInteractive',
|
|
143
|
+
marginInline: 'space000',
|
|
144
|
+
width: 'sizing050',
|
|
145
|
+
},
|
|
146
|
+
medium: {
|
|
147
|
+
iconSize: 'iconSize020',
|
|
148
|
+
stylePreset: 'paginationItemNonInteractive',
|
|
149
|
+
marginInline: 'space000',
|
|
150
|
+
width: 'sizing060',
|
|
151
|
+
},
|
|
152
|
+
large: {
|
|
153
|
+
iconSize: 'iconSize020',
|
|
154
|
+
stylePreset: 'paginationItemNonInteractive',
|
|
155
|
+
marginInline: 'space000',
|
|
156
|
+
width: 'sizing070',
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
paginationItemNonInteractive: {
|
|
160
|
+
small: {
|
|
161
|
+
typographyPreset: 'utilityBody010',
|
|
162
|
+
stylePreset: 'paginationItemNonInteractive',
|
|
163
|
+
iconSize: 'iconSize010',
|
|
164
|
+
paddingInline: 'space000',
|
|
165
|
+
marginInline: 'space010',
|
|
166
|
+
marginBlockEnd: 'space000',
|
|
167
|
+
},
|
|
168
|
+
medium: {
|
|
169
|
+
typographyPreset: 'utilityBody020',
|
|
170
|
+
stylePreset: 'paginationItemNonInteractive',
|
|
171
|
+
iconSize: 'iconSize020',
|
|
172
|
+
paddingInline: 'space000',
|
|
173
|
+
marginInline: 'space010',
|
|
174
|
+
marginBlockEnd: 'space000',
|
|
175
|
+
},
|
|
176
|
+
large: {
|
|
177
|
+
typographyPreset: 'utilityBody030',
|
|
178
|
+
stylePreset: 'paginationItemNonInteractive',
|
|
179
|
+
iconSize: 'iconSize020',
|
|
180
|
+
paddingInline: 'space000',
|
|
181
|
+
marginInline: 'space010',
|
|
182
|
+
marginBlockEnd: 'space000',
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
};
|
|
186
|
+
//# 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,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.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","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 @@
|
|
|
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"}
|