@tmorrow/cre8-wc 1.2.4 → 1.2.6
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/lib/cdn-entry.d.ts +126 -0
- package/lib/cdn-entry.d.ts.map +1 -0
- package/lib/cdn-entry.js +131 -0
- package/lib/cdn-entry.js.map +1 -0
- package/lib/components/accordion/accordion.d.ts +39 -0
- package/lib/components/accordion/accordion.d.ts.map +1 -0
- package/lib/components/accordion/accordion.js +58 -666
- package/lib/components/accordion/accordion.js.map +1 -0
- package/lib/components/accordion/accordion.styles.d.ts +3 -0
- package/lib/components/accordion/accordion.styles.d.ts.map +1 -0
- package/lib/components/accordion/accordion.styles.js +630 -0
- package/lib/components/accordion/accordion.styles.js.map +1 -0
- package/lib/components/accordion-item/accordion-item.d.ts +141 -0
- package/lib/components/accordion-item/accordion-item.d.ts.map +1 -0
- package/lib/components/accordion-item/accordion-item.js +183 -904
- package/lib/components/accordion-item/accordion-item.js.map +1 -0
- package/lib/components/accordion-item/accordion-item.styles.d.ts +3 -0
- package/lib/components/accordion-item/accordion-item.styles.d.ts.map +1 -0
- package/lib/components/accordion-item/accordion-item.styles.js +811 -0
- package/lib/components/accordion-item/accordion-item.styles.js.map +1 -0
- package/lib/components/alert/alert.d.ts +60 -0
- package/lib/components/alert/alert.d.ts.map +1 -0
- package/lib/components/alert/alert.js +146 -866
- package/lib/components/alert/alert.js.map +1 -0
- package/lib/components/alert/alert.styles.d.ts +3 -0
- package/lib/components/alert/alert.styles.d.ts.map +1 -0
- package/lib/components/alert/alert.styles.js +749 -0
- package/lib/components/alert/alert.styles.js.map +1 -0
- package/lib/components/badge/badge.d.ts +62 -0
- package/lib/components/badge/badge.d.ts.map +1 -0
- package/lib/components/badge/badge.js +72 -764
- package/lib/components/badge/badge.js.map +1 -0
- package/lib/components/badge/badge.styles.d.ts +3 -0
- package/lib/components/badge/badge.styles.d.ts.map +1 -0
- package/lib/components/badge/badge.styles.js +719 -0
- package/lib/components/badge/badge.styles.js.map +1 -0
- package/lib/components/band/band.d.ts +29 -0
- package/lib/components/band/band.d.ts.map +1 -0
- package/lib/components/band/band.js +34 -641
- package/lib/components/band/band.js.map +1 -0
- package/lib/components/band/band.styles.d.ts +3 -0
- package/lib/components/band/band.styles.d.ts.map +1 -0
- package/lib/components/band/band.styles.js +614 -0
- package/lib/components/band/band.styles.js.map +1 -0
- package/lib/components/breadcrumbs/breadcrumbs.d.ts +32 -0
- package/lib/components/breadcrumbs/breadcrumbs.d.ts.map +1 -0
- package/lib/components/breadcrumbs/breadcrumbs.js +52 -625
- package/lib/components/breadcrumbs/breadcrumbs.js.map +1 -0
- package/lib/components/breadcrumbs/breadcrumbs.styles.d.ts +3 -0
- package/lib/components/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -0
- package/lib/components/breadcrumbs/breadcrumbs.styles.js +601 -0
- package/lib/components/breadcrumbs/breadcrumbs.styles.js.map +1 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.d.ts +17 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.d.ts.map +1 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.js +28 -641
- package/lib/components/breadcrumbs-item/breadcrumbs-item.js.map +1 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.d.ts +3 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.d.ts.map +1 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.js +616 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.js.map +1 -0
- package/lib/components/button/button.d.ts +229 -0
- package/lib/components/button/button.d.ts.map +1 -0
- package/lib/components/button/button.js +290 -1040
- package/lib/components/button/button.js.map +1 -0
- package/lib/components/button/button.styles.d.ts +3 -0
- package/lib/components/button/button.styles.d.ts.map +1 -0
- package/lib/components/button/button.styles.js +885 -0
- package/lib/components/button/button.styles.js.map +1 -0
- package/lib/components/button-group/button-group.d.ts +19 -0
- package/lib/components/button-group/button-group.d.ts.map +1 -0
- package/lib/components/button-group/button-group.js +30 -638
- package/lib/components/button-group/button-group.js.map +1 -0
- package/lib/components/button-group/button-group.styles.d.ts +3 -0
- package/lib/components/button-group/button-group.styles.d.ts.map +1 -0
- package/lib/components/button-group/button-group.styles.js +615 -0
- package/lib/components/button-group/button-group.styles.js.map +1 -0
- package/lib/components/card/card.d.ts +45 -0
- package/lib/components/card/card.d.ts.map +1 -0
- package/lib/components/card/card.js +57 -734
- package/lib/components/card/card.js.map +1 -0
- package/lib/components/card/card.styles.d.ts +3 -0
- package/lib/components/card/card.styles.d.ts.map +1 -0
- package/lib/components/card/card.styles.js +703 -0
- package/lib/components/card/card.styles.js.map +1 -0
- package/lib/components/chart/chart.d.ts +224 -0
- package/lib/components/chart/chart.d.ts.map +1 -0
- package/lib/components/chart/chart.js +528 -714
- package/lib/components/chart/chart.js.map +1 -0
- package/lib/components/chart/chart.styles.d.ts +3 -0
- package/lib/components/chart/chart.styles.d.ts.map +1 -0
- package/lib/components/chart/chart.styles.js +364 -0
- package/lib/components/chart/chart.styles.js.map +1 -0
- package/lib/components/checkbox-field/checkbox-field.d.ts +54 -0
- package/lib/components/checkbox-field/checkbox-field.d.ts.map +1 -0
- package/lib/components/checkbox-field/checkbox-field.js +64 -669
- package/lib/components/checkbox-field/checkbox-field.js.map +1 -0
- package/lib/components/checkbox-field/checkbox-field.styles.d.ts +3 -0
- package/lib/components/checkbox-field/checkbox-field.styles.d.ts.map +1 -0
- package/lib/components/checkbox-field/checkbox-field.styles.js +622 -0
- package/lib/components/checkbox-field/checkbox-field.styles.js.map +1 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.d.ts +172 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.d.ts.map +1 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.js +241 -1038
- package/lib/components/checkbox-field-item/checkbox-field-item.js.map +1 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.styles.d.ts +3 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.styles.d.ts.map +1 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.styles.js +867 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.styles.js.map +1 -0
- package/lib/components/contexts/form-internals-context.d.ts +35 -0
- package/lib/components/contexts/form-internals-context.d.ts.map +1 -0
- package/lib/components/contexts/form-internals-context.js +9 -0
- package/lib/components/contexts/form-internals-context.js.map +1 -0
- package/lib/components/cre8-element.d.ts +54 -0
- package/lib/components/cre8-element.d.ts.map +1 -0
- package/lib/components/cre8-element.js +57 -56
- package/lib/components/cre8-element.js.map +1 -0
- package/lib/components/cre8-form-element.d.ts +137 -0
- package/lib/components/cre8-form-element.d.ts.map +1 -0
- package/lib/components/cre8-form-element.js +213 -6
- package/lib/components/cre8-form-element.js.map +1 -0
- package/lib/components/danger-button/danger-button.d.ts +208 -0
- package/lib/components/danger-button/danger-button.d.ts.map +1 -0
- package/lib/components/danger-button/danger-button.js +271 -1257
- package/lib/components/danger-button/danger-button.js.map +1 -0
- package/lib/components/danger-button/danger-button.styles.d.ts +3 -0
- package/lib/components/danger-button/danger-button.styles.d.ts.map +1 -0
- package/lib/components/danger-button/danger-button.styles.js +1117 -0
- package/lib/components/danger-button/danger-button.styles.js.map +1 -0
- package/lib/components/date-picker/calendar/calendar.d.ts +115 -0
- package/lib/components/date-picker/calendar/calendar.d.ts.map +1 -0
- package/lib/components/date-picker/calendar/calendar.js +465 -0
- package/lib/components/date-picker/calendar/calendar.js.map +1 -0
- package/lib/components/date-picker/calendar/calendar.styles.d.ts +3 -0
- package/lib/components/date-picker/calendar/calendar.styles.d.ts.map +1 -0
- package/lib/components/date-picker/calendar/calendar.styles.js +689 -0
- package/lib/components/date-picker/calendar/calendar.styles.js.map +1 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.d.ts +22 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.d.ts.map +1 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.js +76 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.js.map +1 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.d.ts +3 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.d.ts.map +1 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.js +610 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.js.map +1 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.d.ts +19 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.d.ts.map +1 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.js +110 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.js.map +1 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.d.ts +3 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.d.ts.map +1 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.js +598 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.js.map +1 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.d.ts +28 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.d.ts.map +1 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.js +116 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.js.map +1 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.d.ts +3 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.d.ts.map +1 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.js +617 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.js.map +1 -0
- package/lib/components/date-picker/date-picker.d.ts +43 -0
- package/lib/components/date-picker/date-picker.d.ts.map +1 -0
- package/lib/components/date-picker/date-picker.js +97 -3320
- package/lib/components/date-picker/date-picker.js.map +1 -0
- package/lib/components/date-picker/date-picker.styles.d.ts +3 -0
- package/lib/components/date-picker/date-picker.styles.d.ts.map +1 -0
- package/lib/components/date-picker/date-picker.styles.js +4 -0
- package/lib/components/date-picker/date-picker.styles.js.map +1 -0
- package/lib/components/divider/divider.d.ts +29 -0
- package/lib/components/divider/divider.d.ts.map +1 -0
- package/lib/components/divider/divider.js +44 -653
- package/lib/components/divider/divider.js.map +1 -0
- package/lib/components/divider/divider.styles.d.ts +3 -0
- package/lib/components/divider/divider.styles.d.ts.map +1 -0
- package/lib/components/divider/divider.styles.js +623 -0
- package/lib/components/divider/divider.styles.js.map +1 -0
- package/lib/components/dropdown/dropdown.d.ts +35 -0
- package/lib/components/dropdown/dropdown.d.ts.map +1 -0
- package/lib/components/dropdown/dropdown.js +90 -713
- package/lib/components/dropdown/dropdown.js.map +1 -0
- package/lib/components/dropdown/dropdown.styles.d.ts +3 -0
- package/lib/components/dropdown/dropdown.styles.d.ts.map +1 -0
- package/lib/components/dropdown/dropdown.styles.js +659 -0
- package/lib/components/dropdown/dropdown.styles.js.map +1 -0
- package/lib/components/dropdown-item/dropdown-item.d.ts +19 -0
- package/lib/components/dropdown-item/dropdown-item.d.ts.map +1 -0
- package/lib/components/dropdown-item/dropdown-item.js +37 -640
- package/lib/components/dropdown-item/dropdown-item.js.map +1 -0
- package/lib/components/dropdown-item/dropdown-item.styles.d.ts +3 -0
- package/lib/components/dropdown-item/dropdown-item.styles.d.ts.map +1 -0
- package/lib/components/dropdown-item/dropdown-item.styles.js +614 -0
- package/lib/components/dropdown-item/dropdown-item.styles.js.map +1 -0
- package/lib/components/feature/feature.d.ts +28 -0
- package/lib/components/feature/feature.d.ts.map +1 -0
- package/lib/components/feature/feature.js +40 -679
- package/lib/components/feature/feature.js.map +1 -0
- package/lib/components/feature/feature.styles.d.ts +3 -0
- package/lib/components/feature/feature.styles.d.ts.map +1 -0
- package/lib/components/feature/feature.styles.js +648 -0
- package/lib/components/feature/feature.styles.js.map +1 -0
- package/lib/components/field/field.d.ts +209 -0
- package/lib/components/field/field.d.ts.map +1 -0
- package/lib/components/field/field.js +213 -854
- package/lib/components/field/field.js.map +1 -0
- package/lib/components/field/field.styles.d.ts +3 -0
- package/lib/components/field/field.styles.d.ts.map +1 -0
- package/lib/components/field/field.styles.js +710 -0
- package/lib/components/field/field.styles.js.map +1 -0
- package/lib/components/field-note/field-note.d.ts +37 -0
- package/lib/components/field-note/field-note.d.ts.map +1 -0
- package/lib/components/field-note/field-note.js +58 -674
- package/lib/components/field-note/field-note.js.map +1 -0
- package/lib/components/field-note/field-note.styles.d.ts +3 -0
- package/lib/components/field-note/field-note.styles.d.ts.map +1 -0
- package/lib/components/field-note/field-note.styles.js +628 -0
- package/lib/components/field-note/field-note.styles.js.map +1 -0
- package/lib/components/footer/footer.d.ts +17 -0
- package/lib/components/footer/footer.d.ts.map +1 -0
- package/lib/components/footer/footer.js +25 -620
- package/lib/components/footer/footer.js.map +1 -0
- package/lib/components/footer/footer.styles.d.ts +3 -0
- package/lib/components/footer/footer.styles.d.ts.map +1 -0
- package/lib/components/footer/footer.styles.js +606 -0
- package/lib/components/footer/footer.styles.js.map +1 -0
- package/lib/components/global-nav/global-nav.d.ts +33 -0
- package/lib/components/global-nav/global-nav.d.ts.map +1 -0
- package/lib/components/global-nav/global-nav.js +44 -638
- package/lib/components/global-nav/global-nav.js.map +1 -0
- package/lib/components/global-nav/global-nav.styles.d.ts +3 -0
- package/lib/components/global-nav/global-nav.styles.d.ts.map +1 -0
- package/lib/components/global-nav/global-nav.styles.js +605 -0
- package/lib/components/global-nav/global-nav.styles.js.map +1 -0
- package/lib/components/global-nav-item/global-nav-item.d.ts +71 -0
- package/lib/components/global-nav-item/global-nav-item.d.ts.map +1 -0
- package/lib/components/global-nav-item/global-nav-item.js +144 -768
- package/lib/components/global-nav-item/global-nav-item.js.map +1 -0
- package/lib/components/global-nav-item/global-nav-item.styles.d.ts +3 -0
- package/lib/components/global-nav-item/global-nav-item.styles.d.ts.map +1 -0
- package/lib/components/global-nav-item/global-nav-item.styles.js +665 -0
- package/lib/components/global-nav-item/global-nav-item.styles.js.map +1 -0
- package/lib/components/grid/grid.d.ts +49 -0
- package/lib/components/grid/grid.d.ts.map +1 -0
- package/lib/components/grid/grid.js +48 -976
- package/lib/components/grid/grid.js.map +1 -0
- package/lib/components/grid/grid.styles.d.ts +3 -0
- package/lib/components/grid/grid.styles.d.ts.map +1 -0
- package/lib/components/grid/grid.styles.js +935 -0
- package/lib/components/grid/grid.styles.js.map +1 -0
- package/lib/components/grid-item/grid-item.d.ts +15 -0
- package/lib/components/grid-item/grid-item.d.ts.map +1 -0
- package/lib/components/grid-item/grid-item.js +17 -602
- package/lib/components/grid-item/grid-item.js.map +1 -0
- package/lib/components/grid-item/grid-item.styles.d.ts +3 -0
- package/lib/components/grid-item/grid-item.styles.d.ts.map +1 -0
- package/lib/components/grid-item/grid-item.styles.js +592 -0
- package/lib/components/grid-item/grid-item.styles.js.map +1 -0
- package/lib/components/header/header.d.ts +20 -0
- package/lib/components/header/header.d.ts.map +1 -0
- package/lib/components/header/header.js +34 -670
- package/lib/components/header/header.js.map +1 -0
- package/lib/components/header/header.styles.d.ts +3 -0
- package/lib/components/header/header.styles.d.ts.map +1 -0
- package/lib/components/header/header.styles.js +645 -0
- package/lib/components/header/header.styles.js.map +1 -0
- package/lib/components/heading/heading.d.ts +81 -0
- package/lib/components/heading/heading.d.ts.map +1 -0
- package/lib/components/heading/heading.js +111 -977
- package/lib/components/heading/heading.js.map +1 -0
- package/lib/components/heading/heading.styles.d.ts +3 -0
- package/lib/components/heading/heading.styles.d.ts.map +1 -0
- package/lib/components/heading/heading.styles.js +907 -0
- package/lib/components/heading/heading.styles.js.map +1 -0
- package/lib/components/hero/hero.d.ts +39 -0
- package/lib/components/hero/hero.d.ts.map +1 -0
- package/lib/components/hero/hero.js +43 -760
- package/lib/components/hero/hero.js.map +1 -0
- package/lib/components/hero/hero.styles.d.ts +3 -0
- package/lib/components/hero/hero.styles.d.ts.map +1 -0
- package/lib/components/hero/hero.styles.js +724 -0
- package/lib/components/hero/hero.styles.js.map +1 -0
- package/lib/components/icon/icon.d.ts +78 -0
- package/lib/components/icon/icon.d.ts.map +1 -0
- package/lib/components/icon/icon.js +228 -1246
- package/lib/components/icon/icon.js.map +1 -0
- package/lib/components/icon/icon.styles.d.ts +3 -0
- package/lib/components/icon/icon.styles.d.ts.map +1 -0
- package/lib/components/icon/icon.styles.js +660 -0
- package/lib/components/icon/icon.styles.js.map +1 -0
- package/lib/components/inline-alert/inline-alert.d.ts +52 -0
- package/lib/components/inline-alert/inline-alert.d.ts.map +1 -0
- package/lib/components/inline-alert/inline-alert.js +114 -849
- package/lib/components/inline-alert/inline-alert.js.map +1 -0
- package/lib/components/inline-alert/inline-alert.styles.d.ts +3 -0
- package/lib/components/inline-alert/inline-alert.styles.d.ts.map +1 -0
- package/lib/components/inline-alert/inline-alert.styles.js +755 -0
- package/lib/components/inline-alert/inline-alert.styles.js.map +1 -0
- package/lib/components/layout/layout.d.ts +25 -0
- package/lib/components/layout/layout.d.ts.map +1 -0
- package/lib/components/layout/layout.js +30 -641
- package/lib/components/layout/layout.js.map +1 -0
- package/lib/components/layout/layout.styles.d.ts +3 -0
- package/lib/components/layout/layout.styles.d.ts.map +1 -0
- package/lib/components/layout/layout.styles.js +618 -0
- package/lib/components/layout/layout.styles.js.map +1 -0
- package/lib/components/layout-container/layout-container.d.ts +20 -0
- package/lib/components/layout-container/layout-container.d.ts.map +1 -0
- package/lib/components/layout-container/layout-container.js +30 -628
- package/lib/components/layout-container/layout-container.js.map +1 -0
- package/lib/components/layout-container/layout-container.styles.d.ts +3 -0
- package/lib/components/layout-container/layout-container.styles.d.ts.map +1 -0
- package/lib/components/layout-container/layout-container.styles.js +605 -0
- package/lib/components/layout-container/layout-container.styles.js.map +1 -0
- package/lib/components/layout-section/layout-section.d.ts +26 -0
- package/lib/components/layout-section/layout-section.d.ts.map +1 -0
- package/lib/components/layout-section/layout-section.js +41 -622
- package/lib/components/layout-section/layout-section.js.map +1 -0
- package/lib/components/layout-section/layout-section.styles.d.ts +3 -0
- package/lib/components/layout-section/layout-section.styles.d.ts.map +1 -0
- package/lib/components/layout-section/layout-section.styles.js +593 -0
- package/lib/components/layout-section/layout-section.styles.js.map +1 -0
- package/lib/components/linelength-container/linelength-container.d.ts +15 -0
- package/lib/components/linelength-container/linelength-container.d.ts.map +1 -0
- package/lib/components/linelength-container/linelength-container.js +17 -602
- package/lib/components/linelength-container/linelength-container.js.map +1 -0
- package/lib/components/linelength-container/linelength-container.styles.d.ts +3 -0
- package/lib/components/linelength-container/linelength-container.styles.d.ts.map +1 -0
- package/lib/components/linelength-container/linelength-container.styles.js +592 -0
- package/lib/components/linelength-container/linelength-container.styles.js.map +1 -0
- package/lib/components/link/link.d.ts +93 -0
- package/lib/components/link/link.d.ts.map +1 -0
- package/lib/components/link/link.js +123 -846
- package/lib/components/link/link.js.map +1 -0
- package/lib/components/link/link.styles.d.ts +3 -0
- package/lib/components/link/link.styles.d.ts.map +1 -0
- package/lib/components/link/link.styles.js +765 -0
- package/lib/components/link/link.styles.js.map +1 -0
- package/lib/components/link-list/link-list.d.ts +42 -0
- package/lib/components/link-list/link-list.d.ts.map +1 -0
- package/lib/components/link-list/link-list.js +48 -739
- package/lib/components/link-list/link-list.js.map +1 -0
- package/lib/components/link-list/link-list.styles.d.ts +3 -0
- package/lib/components/link-list/link-list.styles.d.ts.map +1 -0
- package/lib/components/link-list/link-list.styles.js +698 -0
- package/lib/components/link-list/link-list.styles.js.map +1 -0
- package/lib/components/link-list-item/link-list-item.d.ts +27 -0
- package/lib/components/link-list-item/link-list-item.d.ts.map +1 -0
- package/lib/components/link-list-item/link-list-item.js +40 -677
- package/lib/components/link-list-item/link-list-item.js.map +1 -0
- package/lib/components/link-list-item/link-list-item.styles.d.ts +3 -0
- package/lib/components/link-list-item/link-list-item.styles.d.ts.map +1 -0
- package/lib/components/link-list-item/link-list-item.styles.js +644 -0
- package/lib/components/link-list-item/link-list-item.styles.js.map +1 -0
- package/lib/components/list/list.d.ts +34 -0
- package/lib/components/list/list.d.ts.map +1 -0
- package/lib/components/list/list.js +35 -662
- package/lib/components/list/list.js.map +1 -0
- package/lib/components/list/list.styles.d.ts +3 -0
- package/lib/components/list/list.styles.d.ts.map +1 -0
- package/lib/components/list/list.styles.js +634 -0
- package/lib/components/list/list.styles.js.map +1 -0
- package/lib/components/list-item/list-item.d.ts +16 -0
- package/lib/components/list-item/list-item.d.ts.map +1 -0
- package/lib/components/list-item/list-item.js +25 -606
- package/lib/components/list-item/list-item.js.map +1 -0
- package/lib/components/list-item/list-item.styles.d.ts +3 -0
- package/lib/components/list-item/list-item.styles.d.ts.map +1 -0
- package/lib/components/list-item/list-item.styles.js +589 -0
- package/lib/components/list-item/list-item.styles.js.map +1 -0
- package/lib/components/loading-spinner/loading-spinner.d.ts +90 -0
- package/lib/components/loading-spinner/loading-spinner.d.ts.map +1 -0
- package/lib/components/loading-spinner/loading-spinner.js +124 -787
- package/lib/components/loading-spinner/loading-spinner.js.map +1 -0
- package/lib/components/loading-spinner/loading-spinner.styles.d.ts +3 -0
- package/lib/components/loading-spinner/loading-spinner.styles.d.ts.map +1 -0
- package/lib/components/loading-spinner/loading-spinner.styles.js +722 -0
- package/lib/components/loading-spinner/loading-spinner.styles.js.map +1 -0
- package/lib/components/logo/logo.d.ts +19 -0
- package/lib/components/logo/logo.d.ts.map +1 -0
- package/lib/components/logo/logo.js +28 -613
- package/lib/components/logo/logo.js.map +1 -0
- package/lib/components/logo/logo.styles.d.ts +3 -0
- package/lib/components/logo/logo.styles.d.ts.map +1 -0
- package/lib/components/logo/logo.styles.js +592 -0
- package/lib/components/logo/logo.styles.js.map +1 -0
- package/lib/components/main/main.d.ts +20 -0
- package/lib/components/main/main.d.ts.map +1 -0
- package/lib/components/main/main.js +29 -628
- package/lib/components/main/main.js.map +1 -0
- package/lib/components/main/main.styles.d.ts +3 -0
- package/lib/components/main/main.styles.d.ts.map +1 -0
- package/lib/components/main/main.styles.js +606 -0
- package/lib/components/main/main.styles.js.map +1 -0
- package/lib/components/modal/modal.d.ts +99 -0
- package/lib/components/modal/modal.d.ts.map +1 -0
- package/lib/components/modal/modal.js +170 -878
- package/lib/components/modal/modal.js.map +1 -0
- package/lib/components/modal/modal.styles.d.ts +3 -0
- package/lib/components/modal/modal.styles.d.ts.map +1 -0
- package/lib/components/modal/modal.styles.js +743 -0
- package/lib/components/modal/modal.styles.js.map +1 -0
- package/lib/components/multi-select/multi-select.d.ts +131 -0
- package/lib/components/multi-select/multi-select.d.ts.map +1 -0
- package/lib/components/multi-select/multi-select.js +294 -1030
- package/lib/components/multi-select/multi-select.js.map +1 -0
- package/lib/components/multi-select/multi-select.styles.d.ts +3 -0
- package/lib/components/multi-select/multi-select.styles.d.ts.map +1 -0
- package/lib/components/multi-select/multi-select.styles.js +829 -0
- package/lib/components/multi-select/multi-select.styles.js.map +1 -0
- package/lib/components/nav-container/nav-container.d.ts +15 -0
- package/lib/components/nav-container/nav-container.d.ts.map +1 -0
- package/lib/components/nav-container/nav-container.js +17 -631
- package/lib/components/nav-container/nav-container.js.map +1 -0
- package/lib/components/nav-container/nav-container.styles.d.ts +3 -0
- package/lib/components/nav-container/nav-container.styles.d.ts.map +1 -0
- package/lib/components/nav-container/nav-container.styles.js +621 -0
- package/lib/components/nav-container/nav-container.styles.js.map +1 -0
- package/lib/components/page-header/page-header.d.ts +19 -0
- package/lib/components/page-header/page-header.d.ts.map +1 -0
- package/lib/components/page-header/page-header.js +36 -664
- package/lib/components/page-header/page-header.js.map +1 -0
- package/lib/components/page-header/page-header.styles.d.ts +3 -0
- package/lib/components/page-header/page-header.styles.d.ts.map +1 -0
- package/lib/components/page-header/page-header.styles.js +639 -0
- package/lib/components/page-header/page-header.styles.js.map +1 -0
- package/lib/components/pagination/page-counter/page-counter.d.ts +20 -0
- package/lib/components/pagination/page-counter/page-counter.d.ts.map +1 -0
- package/lib/components/pagination/page-counter/page-counter.js +67 -0
- package/lib/components/pagination/page-counter/page-counter.js.map +1 -0
- package/lib/components/pagination/page-counter/page-counter.styles.d.ts +3 -0
- package/lib/components/pagination/page-counter/page-counter.styles.d.ts.map +1 -0
- package/lib/components/pagination/page-counter/page-counter.styles.js +602 -0
- package/lib/components/pagination/page-counter/page-counter.styles.js.map +1 -0
- package/lib/components/pagination/pagination.d.ts +126 -0
- package/lib/components/pagination/pagination.d.ts.map +1 -0
- package/lib/components/pagination/pagination.js +272 -1475
- package/lib/components/pagination/pagination.js.map +1 -0
- package/lib/components/pagination/pagination.styles.d.ts +3 -0
- package/lib/components/pagination/pagination.styles.d.ts.map +1 -0
- package/lib/components/pagination/pagination.styles.js +648 -0
- package/lib/components/pagination/pagination.styles.js.map +1 -0
- package/lib/components/percent-bar/percent-bar.d.ts +26 -0
- package/lib/components/percent-bar/percent-bar.d.ts.map +1 -0
- package/lib/components/percent-bar/percent-bar.js +53 -657
- package/lib/components/percent-bar/percent-bar.js.map +1 -0
- package/lib/components/percent-bar/percent-bar.styles.d.ts +3 -0
- package/lib/components/percent-bar/percent-bar.styles.d.ts.map +1 -0
- package/lib/components/percent-bar/percent-bar.styles.js +614 -0
- package/lib/components/percent-bar/percent-bar.styles.js.map +1 -0
- package/lib/components/popover/popover.d.ts +155 -0
- package/lib/components/popover/popover.d.ts.map +1 -0
- package/lib/components/popover/popover.js +293 -933
- package/lib/components/popover/popover.js.map +1 -0
- package/lib/components/popover/popover.styles.d.ts +3 -0
- package/lib/components/popover/popover.styles.d.ts.map +1 -0
- package/lib/components/popover/popover.styles.js +769 -0
- package/lib/components/popover/popover.styles.js.map +1 -0
- package/lib/components/primary-nav/primary-nav.d.ts +33 -0
- package/lib/components/primary-nav/primary-nav.d.ts.map +1 -0
- package/lib/components/primary-nav/primary-nav.js +44 -649
- package/lib/components/primary-nav/primary-nav.js.map +1 -0
- package/lib/components/primary-nav/primary-nav.styles.d.ts +3 -0
- package/lib/components/primary-nav/primary-nav.styles.d.ts.map +1 -0
- package/lib/components/primary-nav/primary-nav.styles.js +616 -0
- package/lib/components/primary-nav/primary-nav.styles.js.map +1 -0
- package/lib/components/primary-nav-item/primary-nav-item.d.ts +71 -0
- package/lib/components/primary-nav-item/primary-nav-item.d.ts.map +1 -0
- package/lib/components/primary-nav-item/primary-nav-item.js +146 -874
- package/lib/components/primary-nav-item/primary-nav-item.js.map +1 -0
- package/lib/components/primary-nav-item/primary-nav-item.styles.d.ts +3 -0
- package/lib/components/primary-nav-item/primary-nav-item.styles.d.ts.map +1 -0
- package/lib/components/primary-nav-item/primary-nav-item.styles.js +770 -0
- package/lib/components/primary-nav-item/primary-nav-item.styles.js.map +1 -0
- package/lib/components/progress-meter/progress-meter.d.ts +51 -0
- package/lib/components/progress-meter/progress-meter.d.ts.map +1 -0
- package/lib/components/progress-meter/progress-meter.js +72 -753
- package/lib/components/progress-meter/progress-meter.js.map +1 -0
- package/lib/components/progress-meter/progress-meter.styles.d.ts +3 -0
- package/lib/components/progress-meter/progress-meter.styles.d.ts.map +1 -0
- package/lib/components/progress-meter/progress-meter.styles.js +702 -0
- package/lib/components/progress-meter/progress-meter.styles.js.map +1 -0
- package/lib/components/progress-steps/progress-steps.d.ts +34 -0
- package/lib/components/progress-steps/progress-steps.d.ts.map +1 -0
- package/lib/components/progress-steps/progress-steps.js +38 -617
- package/lib/components/progress-steps/progress-steps.js.map +1 -0
- package/lib/components/progress-steps/progress-steps.styles.d.ts +3 -0
- package/lib/components/progress-steps/progress-steps.styles.d.ts.map +1 -0
- package/lib/components/progress-steps/progress-steps.styles.js +604 -0
- package/lib/components/progress-steps/progress-steps.styles.js.map +1 -0
- package/lib/components/progress-steps-item/progress-steps-item.d.ts +44 -0
- package/lib/components/progress-steps-item/progress-steps-item.d.ts.map +1 -0
- package/lib/components/progress-steps-item/progress-steps-item.js +51 -749
- package/lib/components/progress-steps-item/progress-steps-item.js.map +1 -0
- package/lib/components/progress-steps-item/progress-steps-item.styles.d.ts +3 -0
- package/lib/components/progress-steps-item/progress-steps-item.styles.d.ts.map +1 -0
- package/lib/components/progress-steps-item/progress-steps-item.styles.js +714 -0
- package/lib/components/progress-steps-item/progress-steps-item.styles.js.map +1 -0
- package/lib/components/radio-field/radio-field.d.ts +56 -0
- package/lib/components/radio-field/radio-field.d.ts.map +1 -0
- package/lib/components/radio-field/radio-field.js +59 -672
- package/lib/components/radio-field/radio-field.js.map +1 -0
- package/lib/components/radio-field/radio-field.styles.d.ts +3 -0
- package/lib/components/radio-field/radio-field.styles.d.ts.map +1 -0
- package/lib/components/radio-field/radio-field.styles.js +627 -0
- package/lib/components/radio-field/radio-field.styles.js.map +1 -0
- package/lib/components/radio-field-item/radio-field-item.d.ts +158 -0
- package/lib/components/radio-field-item/radio-field-item.d.ts.map +1 -0
- package/lib/components/radio-field-item/radio-field-item.js +213 -890
- package/lib/components/radio-field-item/radio-field-item.js.map +1 -0
- package/lib/components/radio-field-item/radio-field-item.styles.d.ts +3 -0
- package/lib/components/radio-field-item/radio-field-item.styles.d.ts.map +1 -0
- package/lib/components/radio-field-item/radio-field-item.styles.js +724 -0
- package/lib/components/radio-field-item/radio-field-item.styles.js.map +1 -0
- package/lib/components/remove-tag/remove-tag.d.ts +53 -0
- package/lib/components/remove-tag/remove-tag.d.ts.map +1 -0
- package/lib/components/remove-tag/remove-tag.js +86 -742
- package/lib/components/remove-tag/remove-tag.js.map +1 -0
- package/lib/components/remove-tag/remove-tag.styles.d.ts +3 -0
- package/lib/components/remove-tag/remove-tag.styles.d.ts.map +1 -0
- package/lib/components/remove-tag/remove-tag.styles.js +684 -0
- package/lib/components/remove-tag/remove-tag.styles.js.map +1 -0
- package/lib/components/section/section.d.ts +33 -0
- package/lib/components/section/section.d.ts.map +1 -0
- package/lib/components/section/section.js +46 -634
- package/lib/components/section/section.js.map +1 -0
- package/lib/components/section/section.styles.d.ts +3 -0
- package/lib/components/section/section.styles.d.ts.map +1 -0
- package/lib/components/section/section.styles.js +611 -0
- package/lib/components/section/section.styles.js.map +1 -0
- package/lib/components/select/select.d.ts +169 -0
- package/lib/components/select/select.d.ts.map +1 -0
- package/lib/components/select/select.js +235 -890
- package/lib/components/select/select.js.map +1 -0
- package/lib/components/select/select.styles.d.ts +3 -0
- package/lib/components/select/select.styles.d.ts.map +1 -0
- package/lib/components/select/select.styles.js +742 -0
- package/lib/components/select/select.styles.js.map +1 -0
- package/lib/components/select-tile/select-tile-checkbox-controller.d.ts +40 -0
- package/lib/components/select-tile/select-tile-checkbox-controller.d.ts.map +1 -0
- package/lib/components/select-tile/select-tile-checkbox-controller.js +60 -0
- package/lib/components/select-tile/select-tile-checkbox-controller.js.map +1 -0
- package/lib/components/select-tile/select-tile-radio-controller.d.ts +87 -0
- package/lib/components/select-tile/select-tile-radio-controller.d.ts.map +1 -0
- package/lib/components/select-tile/select-tile-radio-controller.js +167 -0
- package/lib/components/select-tile/select-tile-radio-controller.js.map +1 -0
- package/lib/components/select-tile/select-tile.d.ts +159 -0
- package/lib/components/select-tile/select-tile.d.ts.map +1 -0
- package/lib/components/select-tile/select-tile.js +228 -226
- package/lib/components/select-tile/select-tile.js.map +1 -0
- package/lib/components/select-tile/select-tile.styles.d.ts +3 -0
- package/lib/components/select-tile/select-tile.styles.d.ts.map +1 -0
- package/lib/components/select-tile/select-tile.styles.js +4 -0
- package/lib/components/select-tile/select-tile.styles.js.map +1 -0
- package/lib/components/select-tile-list/select-tile-list.d.ts +52 -0
- package/lib/components/select-tile-list/select-tile-list.d.ts.map +1 -0
- package/lib/components/select-tile-list/select-tile-list.js +73 -678
- package/lib/components/select-tile-list/select-tile-list.js.map +1 -0
- package/lib/components/select-tile-list/select-tile-list.styles.d.ts +3 -0
- package/lib/components/select-tile-list/select-tile-list.styles.d.ts.map +1 -0
- package/lib/components/select-tile-list/select-tile-list.styles.js +623 -0
- package/lib/components/select-tile-list/select-tile-list.styles.js.map +1 -0
- package/lib/components/skeleton-loader/skeleton-loader.d.ts +53 -0
- package/lib/components/skeleton-loader/skeleton-loader.d.ts.map +1 -0
- package/lib/components/skeleton-loader/skeleton-loader.js +68 -672
- package/lib/components/skeleton-loader/skeleton-loader.js.map +1 -0
- package/lib/components/skeleton-loader/skeleton-loader.styles.d.ts +3 -0
- package/lib/components/skeleton-loader/skeleton-loader.styles.d.ts.map +1 -0
- package/lib/components/skeleton-loader/skeleton-loader.styles.js +637 -0
- package/lib/components/skeleton-loader/skeleton-loader.styles.js.map +1 -0
- package/lib/components/split-button/split-button.d.ts +34 -0
- package/lib/components/split-button/split-button.d.ts.map +1 -0
- package/lib/components/split-button/split-button.js +49 -638
- package/lib/components/split-button/split-button.js.map +1 -0
- package/lib/components/split-button/split-button.styles.d.ts +3 -0
- package/lib/components/split-button/split-button.styles.d.ts.map +1 -0
- package/lib/components/split-button/split-button.styles.js +598 -0
- package/lib/components/split-button/split-button.styles.js.map +1 -0
- package/lib/components/submenu/submenu.d.ts +15 -0
- package/lib/components/submenu/submenu.d.ts.map +1 -0
- package/lib/components/submenu/submenu.js +17 -604
- package/lib/components/submenu/submenu.js.map +1 -0
- package/lib/components/submenu/submenu.styles.d.ts +3 -0
- package/lib/components/submenu/submenu.styles.d.ts.map +1 -0
- package/lib/components/submenu/submenu.styles.js +594 -0
- package/lib/components/submenu/submenu.styles.js.map +1 -0
- package/lib/components/submenu-item/submenu-item.d.ts +19 -0
- package/lib/components/submenu-item/submenu-item.d.ts.map +1 -0
- package/lib/components/submenu-item/submenu-item.js +32 -624
- package/lib/components/submenu-item/submenu-item.js.map +1 -0
- package/lib/components/submenu-item/submenu-item.styles.d.ts +3 -0
- package/lib/components/submenu-item/submenu-item.styles.d.ts.map +1 -0
- package/lib/components/submenu-item/submenu-item.styles.js +602 -0
- package/lib/components/submenu-item/submenu-item.styles.js.map +1 -0
- package/lib/components/tab/tab.d.ts +58 -0
- package/lib/components/tab/tab.d.ts.map +1 -0
- package/lib/components/tab/tab.js +73 -741
- package/lib/components/tab/tab.js.map +1 -0
- package/lib/components/tab/tab.styles.d.ts +3 -0
- package/lib/components/tab/tab.styles.d.ts.map +1 -0
- package/lib/components/tab/tab.styles.js +683 -0
- package/lib/components/tab/tab.styles.js.map +1 -0
- package/lib/components/tab-panel/tab-panel.d.ts +38 -0
- package/lib/components/tab-panel/tab-panel.d.ts.map +1 -0
- package/lib/components/tab-panel/tab-panel.js +49 -657
- package/lib/components/tab-panel/tab-panel.js.map +1 -0
- package/lib/components/tab-panel/tab-panel.styles.d.ts +3 -0
- package/lib/components/tab-panel/tab-panel.styles.d.ts.map +1 -0
- package/lib/components/tab-panel/tab-panel.styles.js +618 -0
- package/lib/components/tab-panel/tab-panel.styles.js.map +1 -0
- package/lib/components/table/table.d.ts +43 -0
- package/lib/components/table/table.d.ts.map +1 -0
- package/lib/components/table/table.js +46 -673
- package/lib/components/table/table.js.map +1 -0
- package/lib/components/table/table.styles.d.ts +3 -0
- package/lib/components/table/table.styles.d.ts.map +1 -0
- package/lib/components/table/table.styles.js +636 -0
- package/lib/components/table/table.styles.js.map +1 -0
- package/lib/components/table-body/table-body.d.ts +15 -0
- package/lib/components/table-body/table-body.d.ts.map +1 -0
- package/lib/components/table-body/table-body.js +19 -607
- package/lib/components/table-body/table-body.js.map +1 -0
- package/lib/components/table-body/table-body.styles.d.ts +3 -0
- package/lib/components/table-body/table-body.styles.d.ts.map +1 -0
- package/lib/components/table-body/table-body.styles.js +595 -0
- package/lib/components/table-body/table-body.styles.js.map +1 -0
- package/lib/components/table-cell/table-cell.d.ts +32 -0
- package/lib/components/table-cell/table-cell.d.ts.map +1 -0
- package/lib/components/table-cell/table-cell.js +39 -660
- package/lib/components/table-cell/table-cell.js.map +1 -0
- package/lib/components/table-cell/table-cell.styles.d.ts +3 -0
- package/lib/components/table-cell/table-cell.styles.d.ts.map +1 -0
- package/lib/components/table-cell/table-cell.styles.js +628 -0
- package/lib/components/table-cell/table-cell.styles.js.map +1 -0
- package/lib/components/table-header/table-header.d.ts +15 -0
- package/lib/components/table-header/table-header.d.ts.map +1 -0
- package/lib/components/table-header/table-header.js +19 -627
- package/lib/components/table-header/table-header.js.map +1 -0
- package/lib/components/table-header/table-header.styles.d.ts +3 -0
- package/lib/components/table-header/table-header.styles.d.ts.map +1 -0
- package/lib/components/table-header/table-header.styles.js +615 -0
- package/lib/components/table-header/table-header.styles.js.map +1 -0
- package/lib/components/table-header-cell/table-header-cell.d.ts +24 -0
- package/lib/components/table-header-cell/table-header-cell.d.ts.map +1 -0
- package/lib/components/table-header-cell/table-header-cell.js +35 -635
- package/lib/components/table-header-cell/table-header-cell.js.map +1 -0
- package/lib/components/table-header-cell/table-header-cell.styles.d.ts +3 -0
- package/lib/components/table-header-cell/table-header-cell.styles.d.ts.map +1 -0
- package/lib/components/table-header-cell/table-header-cell.styles.js +607 -0
- package/lib/components/table-header-cell/table-header-cell.styles.js.map +1 -0
- package/lib/components/table-object/table-object.d.ts +15 -0
- package/lib/components/table-object/table-object.d.ts.map +1 -0
- package/lib/components/table-object/table-object.js +21 -616
- package/lib/components/table-object/table-object.js.map +1 -0
- package/lib/components/table-object/table-object.styles.d.ts +3 -0
- package/lib/components/table-object/table-object.styles.d.ts.map +1 -0
- package/lib/components/table-object/table-object.styles.js +602 -0
- package/lib/components/table-object/table-object.styles.js.map +1 -0
- package/lib/components/table-row/table-row.d.ts +43 -0
- package/lib/components/table-row/table-row.d.ts.map +1 -0
- package/lib/components/table-row/table-row.js +74 -745
- package/lib/components/table-row/table-row.js.map +1 -0
- package/lib/components/table-row/table-row.styles.d.ts +3 -0
- package/lib/components/table-row/table-row.styles.d.ts.map +1 -0
- package/lib/components/table-row/table-row.styles.js +694 -0
- package/lib/components/table-row/table-row.styles.js.map +1 -0
- package/lib/components/tabs/tabs.d.ts +238 -0
- package/lib/components/tabs/tabs.d.ts.map +1 -0
- package/lib/components/tabs/tabs.js +441 -969
- package/lib/components/tabs/tabs.js.map +1 -0
- package/lib/components/tabs/tabs.styles.d.ts +3 -0
- package/lib/components/tabs/tabs.styles.d.ts.map +1 -0
- package/lib/components/tabs/tabs.styles.js +681 -0
- package/lib/components/tabs/tabs.styles.js.map +1 -0
- package/lib/components/tag/tag.d.ts +92 -0
- package/lib/components/tag/tag.d.ts.map +1 -0
- package/lib/components/tag/tag.js +222 -850
- package/lib/components/tag/tag.js.map +1 -0
- package/lib/components/tag/tag.styles.d.ts +3 -0
- package/lib/components/tag/tag.styles.d.ts.map +1 -0
- package/lib/components/tag/tag.styles.js +698 -0
- package/lib/components/tag/tag.styles.js.map +1 -0
- package/lib/components/tag-list/tag-list.d.ts +28 -0
- package/lib/components/tag-list/tag-list.d.ts.map +1 -0
- package/lib/components/tag-list/tag-list.js +40 -646
- package/lib/components/tag-list/tag-list.js.map +1 -0
- package/lib/components/tag-list/tag-list.styles.d.ts +3 -0
- package/lib/components/tag-list/tag-list.styles.d.ts.map +1 -0
- package/lib/components/tag-list/tag-list.styles.js +615 -0
- package/lib/components/tag-list/tag-list.styles.js.map +1 -0
- package/lib/components/tertiary-nav/tertiary-nav.d.ts +23 -0
- package/lib/components/tertiary-nav/tertiary-nav.d.ts.map +1 -0
- package/lib/components/tertiary-nav/tertiary-nav.js +40 -645
- package/lib/components/tertiary-nav/tertiary-nav.js.map +1 -0
- package/lib/components/tertiary-nav/tertiary-nav.styles.d.ts +3 -0
- package/lib/components/tertiary-nav/tertiary-nav.styles.d.ts.map +1 -0
- package/lib/components/tertiary-nav/tertiary-nav.styles.js +616 -0
- package/lib/components/tertiary-nav/tertiary-nav.styles.js.map +1 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.d.ts +29 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.d.ts.map +1 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.js +52 -677
- package/lib/components/tertiary-nav-item/tertiary-nav-item.js.map +1 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.d.ts +3 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.d.ts.map +1 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.js +638 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.js.map +1 -0
- package/lib/components/text-link/text-link.d.ts +43 -0
- package/lib/components/text-link/text-link.d.ts.map +1 -0
- package/lib/components/text-link/text-link.js +45 -692
- package/lib/components/text-link/text-link.js.map +1 -0
- package/lib/components/text-link/text-link.styles.d.ts +3 -0
- package/lib/components/text-link/text-link.styles.d.ts.map +1 -0
- package/lib/components/text-link/text-link.styles.js +655 -0
- package/lib/components/text-link/text-link.styles.js.map +1 -0
- package/lib/components/text-passage/text-passage-light-dom.d.ts +3 -0
- package/lib/components/text-passage/text-passage-light-dom.d.ts.map +1 -0
- package/lib/components/text-passage/text-passage-light-dom.js +145 -0
- package/lib/components/text-passage/text-passage-light-dom.js.map +1 -0
- package/lib/components/text-passage/text-passage-light-dom.styles.d.ts +3 -0
- package/lib/components/text-passage/text-passage-light-dom.styles.d.ts.map +1 -0
- package/lib/components/text-passage/text-passage-light-dom.styles.js +843 -0
- package/lib/components/text-passage/text-passage-light-dom.styles.js.map +1 -0
- package/lib/components/text-passage/text-passage.d.ts +44 -0
- package/lib/components/text-passage/text-passage.d.ts.map +1 -0
- package/lib/components/text-passage/text-passage.js +73 -1505
- package/lib/components/text-passage/text-passage.js.map +1 -0
- package/lib/components/text-passage/text-passage.styles.d.ts +3 -0
- package/lib/components/text-passage/text-passage.styles.d.ts.map +1 -0
- package/lib/components/text-passage/text-passage.styles.js +625 -0
- package/lib/components/text-passage/text-passage.styles.js.map +1 -0
- package/lib/components/tooltip/tooltip.d.ts +171 -0
- package/lib/components/tooltip/tooltip.d.ts.map +1 -0
- package/lib/components/tooltip/tooltip.js +270 -945
- package/lib/components/tooltip/tooltip.js.map +1 -0
- package/lib/components/tooltip/tooltip.styles.d.ts +3 -0
- package/lib/components/tooltip/tooltip.styles.d.ts.map +1 -0
- package/lib/components/tooltip/tooltip.styles.js +784 -0
- package/lib/components/tooltip/tooltip.styles.js.map +1 -0
- package/lib/components/utility-nav/utility-nav.d.ts +24 -0
- package/lib/components/utility-nav/utility-nav.d.ts.map +1 -0
- package/lib/components/utility-nav/utility-nav.js +40 -645
- package/lib/components/utility-nav/utility-nav.js.map +1 -0
- package/lib/components/utility-nav/utility-nav.styles.d.ts +3 -0
- package/lib/components/utility-nav/utility-nav.styles.d.ts.map +1 -0
- package/lib/components/utility-nav/utility-nav.styles.js +616 -0
- package/lib/components/utility-nav/utility-nav.styles.js.map +1 -0
- package/lib/components/utility-nav-item/utility-nav-item.d.ts +39 -0
- package/lib/components/utility-nav-item/utility-nav-item.d.ts.map +1 -0
- package/lib/components/utility-nav-item/utility-nav-item.js +70 -691
- package/lib/components/utility-nav-item/utility-nav-item.js.map +1 -0
- package/lib/components/utility-nav-item/utility-nav-item.styles.d.ts +3 -0
- package/lib/components/utility-nav-item/utility-nav-item.styles.d.ts.map +1 -0
- package/lib/components/utility-nav-item/utility-nav-item.styles.js +646 -0
- package/lib/components/utility-nav-item/utility-nav-item.styles.js.map +1 -0
- package/lib/design-tokens/brands/blue/css/tokens_blue.module.d.ts +3 -0
- package/lib/design-tokens/brands/blue/css/tokens_blue.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/blue/css/tokens_blue.module.js +737 -0
- package/lib/design-tokens/brands/blue/css/tokens_blue.module.js.map +1 -0
- package/lib/design-tokens/brands/bolt/tokens_bolt.theme.d.ts +3 -0
- package/lib/design-tokens/brands/bolt/tokens_bolt.theme.d.ts.map +1 -0
- package/lib/design-tokens/brands/bolt/tokens_bolt.theme.js +756 -0
- package/lib/design-tokens/brands/bolt/tokens_bolt.theme.js.map +1 -0
- package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.d.ts +3 -0
- package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.js +771 -0
- package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.js.map +1 -0
- package/lib/design-tokens/brands/cre8-a2ui/css/fonts.css +4 -8
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts +3 -0
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.js +776 -0
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.js.map +1 -0
- package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.d.ts +3 -0
- package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.js +737 -0
- package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.js.map +1 -0
- package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.d.ts +3 -0
- package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.js +983 -0
- package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.js.map +1 -0
- package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.d.ts +3 -0
- package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.js +737 -0
- package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.js.map +1 -0
- package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.d.ts +3 -0
- package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.js +736 -0
- package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.js.map +1 -0
- package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts +3 -0
- package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.js +737 -0
- package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.js.map +1 -0
- package/lib/design-tokens/brands/notion/tokens_notion.module.d.ts +3 -0
- package/lib/design-tokens/brands/notion/tokens_notion.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/notion/tokens_notion.module.js +91 -0
- package/lib/design-tokens/brands/notion/tokens_notion.module.js.map +1 -0
- package/lib/design-tokens/brands/prisma/tokens_prisma.module.d.ts +3 -0
- package/lib/design-tokens/brands/prisma/tokens_prisma.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/prisma/tokens_prisma.module.js +771 -0
- package/lib/design-tokens/brands/prisma/tokens_prisma.module.js.map +1 -0
- package/lib/design-tokens/brands/starbucks/tokens.module.d.ts +3 -0
- package/lib/design-tokens/brands/starbucks/tokens.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/starbucks/tokens.module.js +552 -0
- package/lib/design-tokens/brands/starbucks/tokens.module.js.map +1 -0
- package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.d.ts +3 -0
- package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.js +776 -0
- package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.js.map +1 -0
- package/lib/design-tokens/core/scss/theming/head.module.d.ts +3 -0
- package/lib/design-tokens/core/scss/theming/head.module.d.ts.map +1 -0
- package/lib/design-tokens/core/scss/theming/head.module.js +6 -0
- package/lib/design-tokens/core/scss/theming/head.module.js.map +1 -0
- package/lib/directives/if-truthy.d.ts +10 -0
- package/lib/directives/if-truthy.d.ts.map +1 -0
- package/lib/directives/if-truthy.js +24 -0
- package/lib/directives/if-truthy.js.map +1 -0
- package/lib/directives/spread.d.ts +10 -0
- package/lib/directives/spread.d.ts.map +1 -0
- package/lib/directives/spread.js +29 -0
- package/lib/directives/spread.js.map +1 -0
- package/lib/index.d.ts +88 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +86 -172
- package/lib/index.js.map +1 -0
- package/lib/scripts/convert-scss-to-ts.d.ts +2 -0
- package/lib/scripts/convert-scss-to-ts.d.ts.map +1 -0
- package/lib/scripts/convert-scss-to-ts.js +100 -0
- package/lib/scripts/convert-scss-to-ts.js.map +1 -0
- package/lib/scripts/generate-mcp-manifest.d.ts +8 -0
- package/lib/scripts/generate-mcp-manifest.d.ts.map +1 -0
- package/lib/scripts/generate-mcp-manifest.js +350 -0
- package/lib/scripts/generate-mcp-manifest.js.map +1 -0
- package/lib/scripts/generate-react-wrappers.d.ts +2 -0
- package/lib/scripts/generate-react-wrappers.d.ts.map +1 -0
- package/lib/scripts/generate-react-wrappers.js +292 -0
- package/lib/scripts/generate-react-wrappers.js.map +1 -0
- package/lib/toBeAccessible.d.ts +9 -0
- package/lib/toBeAccessible.d.ts.map +1 -0
- package/lib/toBeAccessible.js +18 -0
- package/lib/toBeAccessible.js.map +1 -0
- package/lib/utilities/is-mobile.d.ts +5 -0
- package/lib/utilities/is-mobile.d.ts.map +1 -0
- package/lib/utilities/is-mobile.js +10 -0
- package/lib/utilities/is-mobile.js.map +1 -0
- package/lib/utilities/story-helpers.d.ts +9 -0
- package/lib/utilities/story-helpers.d.ts.map +1 -0
- package/lib/utilities/story-helpers.js +14 -0
- package/lib/utilities/story-helpers.js.map +1 -0
- package/lib/vite.config.cdn.d.ts +18 -0
- package/lib/vite.config.cdn.d.ts.map +1 -0
- package/lib/vite.config.cdn.js +87 -0
- package/lib/vite.config.cdn.js.map +1 -0
- package/lib/vite.config.d.ts +3 -0
- package/lib/vite.config.d.ts.map +1 -0
- package/lib/vite.config.js +195 -0
- package/lib/vite.config.js.map +1 -0
- package/mcp-manifest.json +1 -1
- package/package.json +1 -1
|
@@ -1,1462 +1,249 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
height: 1px;
|
|
23
|
-
padding: 0;
|
|
24
|
-
border: 0;
|
|
25
|
-
clip: rect(1px, 1px, 1px, 1px);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@media all and (min-width: 23.4375rem) {
|
|
29
|
-
.cre8-u-hide-sm {
|
|
30
|
-
display: none !important;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
@media all and (min-width: 35rem) {
|
|
34
|
-
.cre8-u-hide-sm-2 {
|
|
35
|
-
display: none !important;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
@media all and (min-width: 48rem) {
|
|
39
|
-
.cre8-u-hide-md {
|
|
40
|
-
display: none !important;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
@media all and (min-width: 60rem) {
|
|
44
|
-
.cre8-u-hide-lg {
|
|
45
|
-
display: none !important;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
@media all and (min-width: 75rem) {
|
|
49
|
-
.cre8-u-hide-xl {
|
|
50
|
-
display: none !important;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
@media all and (max-width: 23.4375rem) {
|
|
54
|
-
.cre8-u-show-sm {
|
|
55
|
-
display: none !important;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
@media all and (max-width: 35rem) {
|
|
59
|
-
.cre8-u-show-sm-2 {
|
|
60
|
-
display: none !important;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
@media all and (max-width: 48rem) {
|
|
64
|
-
.cre8-u-show-md {
|
|
65
|
-
display: none !important;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
@media all and (max-width: 60rem) {
|
|
69
|
-
.cre8-u-show-lg {
|
|
70
|
-
display: none !important;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
@media all and (max-width: 75rem) {
|
|
74
|
-
.cre8-u-show-xl {
|
|
75
|
-
display: none !important;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
.cre8-u-margin-none {
|
|
79
|
-
margin: 0 !important;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.cre8-u-margin-sm {
|
|
83
|
-
margin: size(1) !important;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.cre8-u-margin-md {
|
|
87
|
-
margin: size(2) !important;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.cre8-u-margin-lg {
|
|
91
|
-
margin: size(3) !important;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.cre8-u-margin-xl {
|
|
95
|
-
margin: size(4) !important;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.cre8-u-margin-xxl {
|
|
99
|
-
margin: size(8) !important;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.cre8-u-margin-top-none {
|
|
103
|
-
margin-top: 0 !important;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.cre8-u-margin-top-sm {
|
|
107
|
-
margin-top: size(1) !important;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.cre8-u-margin-top-md {
|
|
111
|
-
margin-top: size(2) !important;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.cre8-u-margin-top-lg {
|
|
115
|
-
margin-top: size(3) !important;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.cre8-u-margin-top-xl {
|
|
119
|
-
margin-top: size(4) !important;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.cre8-u-margin-top-xxl {
|
|
123
|
-
margin-top: size(8) !important;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.cre8-u-margin-right-none {
|
|
127
|
-
margin-right: 0 !important;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.cre8-u-margin-right-sm {
|
|
131
|
-
margin-right: size(1) !important;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.cre8-u-margin-right-md {
|
|
135
|
-
margin-right: size(2) !important;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.cre8-u-margin-right-lg {
|
|
139
|
-
margin-right: size(3) !important;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.cre8-u-margin-right-xl {
|
|
143
|
-
margin-right: size(4) !important;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.cre8-u-margin-right-xxl {
|
|
147
|
-
margin-right: size(8) !important;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.cre8-u-margin-bottom-none {
|
|
151
|
-
margin-bottom: 0 !important;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.cre8-u-margin-bottom-sm {
|
|
155
|
-
margin-bottom: size(1) !important;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.cre8-u-margin-bottom-md {
|
|
159
|
-
margin-bottom: size(2) !important;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.cre8-u-margin-bottom-lg {
|
|
163
|
-
margin-bottom: size(3) !important;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.cre8-u-margin-bottom-xl {
|
|
167
|
-
margin-bottom: size(4) !important;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.cre8-u-margin-bottom-xxl {
|
|
171
|
-
margin-bottom: size(8) !important;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.cre8-u-margin-bottom-xl-xxl {
|
|
175
|
-
margin-bottom: size(4) !important;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
@media all and (min-width: 768px) {
|
|
179
|
-
.cre8-u-margin-bottom-xl-xxl {
|
|
180
|
-
margin-bottom: size(8) !important;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
.cre8-u-margin-left-none {
|
|
184
|
-
margin-left: 0 !important;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.cre8-u-margin-left-sm {
|
|
188
|
-
margin-left: size(1) !important;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.cre8-u-margin-left-md {
|
|
192
|
-
margin-left: size(2) !important;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.cre8-u-margin-left-lg {
|
|
196
|
-
margin-left: size(3) !important;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.cre8-u-margin-left-xl {
|
|
200
|
-
margin-left: size(4) !important;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.cre8-u-margin-left-xxl {
|
|
204
|
-
margin-left: size(8) !important;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.cre8-u-padding-none {
|
|
208
|
-
padding: 0 !important;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.cre8-u-padding-sm {
|
|
212
|
-
padding: size(1) !important;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.cre8-u-padding-md {
|
|
216
|
-
padding: size(2) !important;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.cre8-u-padding-lg {
|
|
220
|
-
padding: size(3) !important;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.cre8-u-padding-xl {
|
|
224
|
-
padding: size(4) !important;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.cre8-u-padding-xxl {
|
|
228
|
-
padding: size(8) !important;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.cre8-u-padding-top-none {
|
|
232
|
-
padding-top: 0 !important;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.cre8-u-padding-top-sm {
|
|
236
|
-
padding-top: size(1) !important;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.cre8-u-padding-top-md {
|
|
240
|
-
padding-top: size(2) !important;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.cre8-u-padding-top-lg {
|
|
244
|
-
padding-top: size(3) !important;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.cre8-u-padding-top-xl {
|
|
248
|
-
padding-top: size(4) !important;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.cre8-u-padding-top-xxl {
|
|
252
|
-
padding-top: size(8) !important;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.cre8-u-padding-right-none {
|
|
256
|
-
padding-right: 0 !important;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.cre8-u-padding-right-sm {
|
|
260
|
-
padding-right: size(1) !important;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.cre8-u-padding-right-md {
|
|
264
|
-
padding-right: size(2) !important;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.cre8-u-padding-right-lg {
|
|
268
|
-
padding-right: size(3) !important;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.cre8-u-padding-right-xl {
|
|
272
|
-
padding-right: size(4) !important;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.cre8-u-padding-right-xxl {
|
|
276
|
-
padding-right: size(8) !important;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.cre8-u-padding-bottom-none {
|
|
280
|
-
padding-bottom: 0 !important;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.cre8-u-padding-bottom-sm {
|
|
284
|
-
padding-bottom: size(1) !important;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
.cre8-u-padding-bottom-md {
|
|
288
|
-
padding-bottom: size(2) !important;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.cre8-u-padding-bottom-lg {
|
|
292
|
-
padding-bottom: size(3) !important;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.cre8-u-padding-bottom-xl {
|
|
296
|
-
padding-bottom: size(4) !important;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.cre8-u-padding-bottom-xxl {
|
|
300
|
-
padding-bottom: size(8) !important;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.cre8-u-padding-left-none {
|
|
304
|
-
padding-left: 0 !important;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
.cre8-u-padding-left-sm {
|
|
308
|
-
padding-left: size(1) !important;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
.cre8-u-padding-left-md {
|
|
312
|
-
padding-left: size(2) !important;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
.cre8-u-padding-left-lg {
|
|
316
|
-
padding-left: size(3) !important;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.cre8-u-padding-left-xl {
|
|
320
|
-
padding-left: size(4) !important;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.cre8-u-padding-left-xxl {
|
|
324
|
-
padding-left: size(8) !important;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.cre8-u-display-flex {
|
|
328
|
-
display: flex !important;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
.cre8-u-display-block {
|
|
332
|
-
display: block !important;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
body {
|
|
336
|
-
font-family: var(--cre8-typography-body-default-font-family);
|
|
337
|
-
font-size: var(--cre8-typography-body-default-font-size);
|
|
338
|
-
font-weight: var(--cre8-typography-body-default-font-weight);
|
|
339
|
-
line-height: var(--cre8-typography-body-default-line-height);
|
|
340
|
-
-webkit-text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
341
|
-
text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
342
|
-
text-transform: var(--cre8-typography-body-default-text-transform);
|
|
343
|
-
display: flex;
|
|
344
|
-
flex-direction: column;
|
|
345
|
-
padding: 0;
|
|
346
|
-
margin: 0;
|
|
347
|
-
color: var(--cre8-color-content-default);
|
|
348
|
-
background: var(--background-default);
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
@media all and (min-width: 60rem) {
|
|
352
|
-
.page-container {
|
|
353
|
-
background: linear-gradient(90deg, #fff 0, #fff 66.66%, #f8f8f9 0, #f8f8f9 0);
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
.band__inner {
|
|
357
|
-
margin-left: 2rem;
|
|
358
|
-
margin-right: 2rem;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
@media all and (min-width: 60rem) {
|
|
362
|
-
.band__inner {
|
|
363
|
-
margin-right: 0;
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
img {
|
|
367
|
-
max-width: 100%;
|
|
368
|
-
height: auto;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/
|
|
373
|
-
*/
|
|
374
|
-
*,
|
|
375
|
-
::slotted(*),
|
|
376
|
-
*:before,
|
|
377
|
-
*:after {
|
|
378
|
-
box-sizing: border-box;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
:root {
|
|
382
|
-
--size-base-unit: 0.5rem;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* RTL support for values logical properties can't automatically adjust for
|
|
387
|
-
* 1) Percentage based horizontal translate values need to be flipped
|
|
388
|
-
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
389
|
-
* 3) Inverse items that have 45degs
|
|
390
|
-
*/
|
|
391
|
-
[dir=rtl] {
|
|
392
|
-
--rtlTranslateX: 50%;
|
|
393
|
-
/* 1 */
|
|
394
|
-
--rtlGradientToRight: 270deg;
|
|
395
|
-
/* 2 */
|
|
396
|
-
--rtlRotate45Inverse: -45deg;
|
|
397
|
-
/* 3 */
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* Visible focus outline for elements on a light background
|
|
402
|
-
*/
|
|
403
|
-
/**
|
|
404
|
-
* Visible focus outline for elements with an error status
|
|
405
|
-
*/
|
|
406
|
-
/**
|
|
407
|
-
* Visible focus outline for elements on a dark background
|
|
408
|
-
*/
|
|
409
|
-
/**
|
|
410
|
-
* Focus state for themes that need a dashed outline for focus
|
|
411
|
-
* state
|
|
412
|
-
**/
|
|
413
|
-
/**
|
|
414
|
-
* Invisible focus outline for elements that need a more visible
|
|
415
|
-
* focus state for high-contrast mode
|
|
416
|
-
*/
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
/* eslint-disable import/prefer-default-export */
|
|
8
|
+
/* eslint-disable lit/no-template-map */
|
|
9
|
+
import { html, nothing, } from 'lit';
|
|
10
|
+
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
11
|
+
import { property, queryAll, state } from 'lit/decorators.js';
|
|
12
|
+
import svgCaretLeft from '@tmorrow/cre8-wc/icons/System/Regular/Caret_Left.svg?raw';
|
|
13
|
+
import svgFirstPage from '@tmorrow/cre8-wc/icons/System/Regular/Caret_Double_Left.svg?raw';
|
|
14
|
+
import svgLastPage from '@tmorrow/cre8-wc/icons/System/Regular/Caret_Double_Right.svg?raw';
|
|
15
|
+
import svgCaretRight from '@tmorrow/cre8-wc/icons/System/Regular/Caret_Right.svg?raw';
|
|
16
|
+
import svgEllipsis from '@tmorrow/cre8-wc/icons/System/Regular/Ellipsis.svg?raw';
|
|
17
|
+
import { Cre8Element } from '../cre8-element';
|
|
18
|
+
import { Cre8Button } from '../button/button';
|
|
19
|
+
import { isMobile, screenSizes } from '../../utilities/is-mobile';
|
|
20
|
+
import './page-counter/page-counter';
|
|
21
|
+
import styles from './pagination.styles.js';
|
|
417
22
|
/**
|
|
418
|
-
*
|
|
23
|
+
* The Pagination component is used to split up a large amount of results
|
|
24
|
+
* by showing only a certain amount on each page. You can cycle through
|
|
25
|
+
* the pages using Page Numbers, Next and Previous Buttons, or optional
|
|
26
|
+
* First Page and Last Page Buttons. This component is also used by Table
|
|
27
|
+
* to cycle through rows of results. Pagination has 3 display options:
|
|
28
|
+
*
|
|
29
|
+
* **default**: Can contain up to seven Page Numbers (ellipses included)
|
|
30
|
+
* at a time flanked by Next and Previous Buttons. When there are more than
|
|
31
|
+
* seven pages, numbers start getting replaced by ellipses. Use this option
|
|
32
|
+
* when you have a lot of horizontal space in a layout. It should not be used
|
|
33
|
+
* for mobile web layouts since its buttons are smaller than the minimum touch target of 44px.
|
|
34
|
+
* The component has built in responsivity to mobile page size so you dont have tohandle this
|
|
35
|
+
* seperately
|
|
36
|
+
*
|
|
37
|
+
*
|
|
38
|
+
* **compact** : Best used as a summary of where you are among pages or table rows flanked by
|
|
39
|
+
* Previous and Next Buttons. Use this option when you have limited horizontal space but still
|
|
40
|
+
* need to show where users are among results. Great for mobile layouts.
|
|
41
|
+
*
|
|
42
|
+
*
|
|
43
|
+
* **icon-only** : Use this option in very tight spaces when it’s not required to show users
|
|
44
|
+
* where they are among results. Great for mobile layouts.
|
|
45
|
+
*
|
|
46
|
+
*
|
|
47
|
+
* ## HOW TO USE
|
|
48
|
+
*
|
|
49
|
+
* Select an option from the “display” dropdown depending on layout width
|
|
50
|
+
* Select where your current page is from the “Page” dropdown
|
|
51
|
+
* To show less pages when using Full Numbers, use the "visiblePages” toggles
|
|
52
|
+
* To hide the First Page and Last Page Buttons, turn on the “hideFirstLastButton” toggle
|
|
53
|
+
* To change the states of page numbers or buttons, interact with the buttond to invoke each “State”
|
|
54
|
+
* When using Compact Numbers, you can choose between “compact” and “icon-only” formats
|
|
55
|
+
*
|
|
56
|
+
*
|
|
57
|
+
* ## ACCESSIBILITY NOTE
|
|
58
|
+
*
|
|
59
|
+
* To best orient people using screen readers, push focus to the top of
|
|
60
|
+
* the list of results after any of the pagination buttons have been triggered,
|
|
61
|
+
* **except for the currently selected one**. Focus target could be a visual results heading,
|
|
62
|
+
* or the top heading of the results container of the page selected
|
|
63
|
+
* via a programmatic selector, e.g. < section id=“results” aria-label="results-section" > or
|
|
64
|
+
* < div role= “group” aria-label=“results” >.
|
|
65
|
+
*
|
|
66
|
+
* @dependency cre8-button, cre8-icon, cre8-pagination-counter
|
|
67
|
+
* @csspart icon - distinguishes the page buttons from the icon buttons
|
|
68
|
+
* @cssproperty "--pagination-display" - controls the display css property
|
|
69
|
+
* @cssproperty "--pagination-justify-content" - controls horizontal alignment of pagination
|
|
70
|
+
* @cssproperty "--pagination-align-items" - controls vertical alignment of pagination
|
|
419
71
|
*/
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
width: 272px;
|
|
454
|
-
height: 272px;
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
@keyframes slideUp {
|
|
458
|
-
100% {
|
|
459
|
-
transform: translateY(0);
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
@media (width >= 481px) {
|
|
463
|
-
@keyframes slideInFwd {
|
|
464
|
-
100% {
|
|
465
|
-
width: 417px;
|
|
466
|
-
height: 417px;
|
|
72
|
+
export class Cre8Pagination extends Cre8Element {
|
|
73
|
+
constructor() {
|
|
74
|
+
super(...arguments);
|
|
75
|
+
this._currentPage = 99;
|
|
76
|
+
this._pageSize = 10;
|
|
77
|
+
/**
|
|
78
|
+
* Controls how many page buttons are displayVarianted on the page
|
|
79
|
+
* at once, if container size permits. recommended max = 5 pages
|
|
80
|
+
*
|
|
81
|
+
* @attr number
|
|
82
|
+
*/
|
|
83
|
+
this.visiblePages = 5;
|
|
84
|
+
this._handleKeydown = (page, _buttonName) => (e) => {
|
|
85
|
+
if (e.code === 'Enter') {
|
|
86
|
+
this._goToPage(page, _buttonName); /* 2 */
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
this._goToPage = (page, _buttonName) => () => {
|
|
90
|
+
const old = this._currentPage;
|
|
91
|
+
let focusButton;
|
|
92
|
+
this.buttons.forEach((_) => {
|
|
93
|
+
const b = new Cre8Button();
|
|
94
|
+
if (b.hideText && (b.text === _buttonName)) {
|
|
95
|
+
focusButton = b;
|
|
96
|
+
focusButton.shadowRoot.querySelector('.cre8-c-button').blur();
|
|
97
|
+
}
|
|
98
|
+
return null;
|
|
99
|
+
});
|
|
100
|
+
this._currentPage = page;
|
|
101
|
+
this.currentPage = this._currentPage;
|
|
102
|
+
this.requestUpdate('currentPage', old);
|
|
103
|
+
this.dispatchEvent(new CustomEvent('pagination.click', { detail: { buttonName: _buttonName ?? this.currentPage.toString(), value: this.currentPage } }));
|
|
104
|
+
};
|
|
467
105
|
}
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
106
|
+
/**
|
|
107
|
+
* how many elements will displayVariant per page, indicated by business to typically be 20
|
|
108
|
+
* @attr number
|
|
109
|
+
*/
|
|
110
|
+
get pageSize() {
|
|
111
|
+
return this._pageSize;
|
|
473
112
|
}
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
100% {
|
|
479
|
-
width: 330px;
|
|
480
|
-
height: 330px;
|
|
113
|
+
set pageSize(newSize) {
|
|
114
|
+
const oldSize = this._pageSize;
|
|
115
|
+
this._pageSize = newSize;
|
|
116
|
+
this.requestUpdate('pageSize', oldSize);
|
|
481
117
|
}
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
100% {
|
|
485
|
-
width: 330px;
|
|
486
|
-
height: 330px;
|
|
487
|
-
transform: translateX(calc(100vw - 45px));
|
|
118
|
+
get currentPage() {
|
|
119
|
+
return this._currentPage;
|
|
488
120
|
}
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
100% {
|
|
494
|
-
width: 460px;
|
|
495
|
-
height: 460px;
|
|
121
|
+
set currentPage(newPage) {
|
|
122
|
+
const oldPage = this._currentPage;
|
|
123
|
+
this._currentPage = newPage;
|
|
124
|
+
this.requestUpdate('currentPage', oldPage);
|
|
496
125
|
}
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
100% {
|
|
500
|
-
width: 460px;
|
|
501
|
-
height: 460px;
|
|
502
|
-
transform: translateX(calc(100vw - 45px));
|
|
126
|
+
connectedCallBack() {
|
|
127
|
+
super.connectedCallback();
|
|
503
128
|
}
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
129
|
+
get maxVisiblePages() {
|
|
130
|
+
const allowedVisiblePages = {
|
|
131
|
+
md: 5,
|
|
132
|
+
};
|
|
133
|
+
// lg and up
|
|
134
|
+
if (!isMobile(screenSizes.lg.toString())) {
|
|
135
|
+
return this.visiblePages;
|
|
136
|
+
}
|
|
137
|
+
if (!isMobile(screenSizes.md.toString())) {
|
|
138
|
+
return Math.min(allowedVisiblePages.md, this.visiblePages);
|
|
139
|
+
}
|
|
140
|
+
return 0;
|
|
511
141
|
}
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
100% {
|
|
515
|
-
width: 592px;
|
|
516
|
-
height: 591px;
|
|
517
|
-
transform: translateX(calc(100vw - 45px));
|
|
142
|
+
get totalPages() {
|
|
143
|
+
return Math.ceil(this.totalResults / this.pageSize);
|
|
518
144
|
}
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
@media (width >= 87.5rem) {
|
|
522
|
-
@keyframes slideOutRight {
|
|
523
|
-
100% {
|
|
524
|
-
width: 592px;
|
|
525
|
-
height: 591px;
|
|
526
|
-
transform: translateX(calc(100vw - 120px));
|
|
145
|
+
get hasNoPreviousPage() {
|
|
146
|
+
return this._currentPage <= 1;
|
|
527
147
|
}
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
@media (width >= 2200px) {
|
|
531
|
-
@keyframes slideOutRight {
|
|
532
|
-
100% {
|
|
533
|
-
width: 592px;
|
|
534
|
-
height: 591px;
|
|
535
|
-
transform: translateX(calc(100vw - 592px));
|
|
148
|
+
get hasNoNextPage() {
|
|
149
|
+
return this._currentPage >= this.totalPages;
|
|
536
150
|
}
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
span.ripple {
|
|
540
|
-
position: absolute;
|
|
541
|
-
border-radius: 50%;
|
|
542
|
-
transform: scale(0);
|
|
543
|
-
animation: ripple 600ms linear;
|
|
544
|
-
background-color: var(--ripple-bg-color);
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
@keyframes ripple {
|
|
548
|
-
to {
|
|
549
|
-
transform: scale(4);
|
|
550
|
-
opacity: 1;
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
:root {
|
|
554
|
-
--size-base-unit: 0.5rem;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
/**
|
|
558
|
-
* RTL support for values logical properties can't automatically adjust for
|
|
559
|
-
* 1) Percentage based horizontal translate values need to be flipped
|
|
560
|
-
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
561
|
-
* 3) Inverse items that have 45degs
|
|
562
|
-
*/
|
|
563
|
-
[dir=rtl] {
|
|
564
|
-
--rtlTranslateX: 50%;
|
|
565
|
-
/* 1 */
|
|
566
|
-
--rtlGradientToRight: 270deg;
|
|
567
|
-
/* 2 */
|
|
568
|
-
--rtlRotate45Inverse: -45deg;
|
|
569
|
-
/* 3 */
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
/**
|
|
573
|
-
* Visible focus outline for elements on a light background
|
|
574
|
-
*/
|
|
575
|
-
/**
|
|
576
|
-
* Visible focus outline for elements with an error status
|
|
577
|
-
*/
|
|
578
|
-
/**
|
|
579
|
-
* Visible focus outline for elements on a dark background
|
|
580
|
-
*/
|
|
581
|
-
/**
|
|
582
|
-
* Focus state for themes that need a dashed outline for focus
|
|
583
|
-
* state
|
|
584
|
-
**/
|
|
585
|
-
/**
|
|
586
|
-
* Invisible focus outline for elements that need a more visible
|
|
587
|
-
* focus state for high-contrast mode
|
|
588
|
-
*/
|
|
589
|
-
/**
|
|
590
|
-
* Visually hidden from display
|
|
591
|
-
*/
|
|
592
|
-
:host {
|
|
593
|
-
display: inline-flex;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* 1)
|
|
598
|
-
*/
|
|
599
|
-
.cre8-c-pagination__text {
|
|
600
|
-
font-family: var(--cre8-typography-label-small-font-family);
|
|
601
|
-
font-size: var(--cre8-typography-label-small-font-size);
|
|
602
|
-
font-weight: var(--cre8-typography-label-small-font-weight);
|
|
603
|
-
line-height: var(--cre8-typography-label-small-line-height);
|
|
604
|
-
text-decoration: var(--cre8-typography-label-small-text-decoration);
|
|
605
|
-
text-transform: var(--cre8-typography-label-small-text-transform);
|
|
606
|
-
padding: 0.5rem;
|
|
607
|
-
}`;
|
|
608
|
-
var _ = Object.defineProperty, c = (m, e, t, n) => {
|
|
609
|
-
for (var i = void 0, s = m.length - 1, d; s >= 0; s--)
|
|
610
|
-
(d = m[s]) && (i = d(e, t, i) || i);
|
|
611
|
-
return i && _(e, t, i), i;
|
|
612
|
-
};
|
|
613
|
-
const b = class b extends C {
|
|
614
|
-
constructor() {
|
|
615
|
-
super(...arguments), this.currentPage = 1, this.display = "default";
|
|
616
|
-
}
|
|
617
|
-
// Properties below are for future 'range' variant for table pagination
|
|
618
|
-
// private get _currentResults() {
|
|
619
|
-
// return this.pageSize * (this.currentPage - 1);
|
|
620
|
-
// }
|
|
621
|
-
// private get _firstInRange() {
|
|
622
|
-
// return this._currentResults + 1;
|
|
623
|
-
// }
|
|
624
|
-
// private get _lastInRange() {
|
|
625
|
-
// const last = this._firstInRange + (this.pageSize - 1);
|
|
626
|
-
// return last > this.totalResults ? this.totalResults : last;
|
|
627
|
-
// }
|
|
628
|
-
get _totalPages() {
|
|
629
|
-
return Math.ceil(this.totalResults / this.pageSize);
|
|
630
|
-
}
|
|
631
|
-
render() {
|
|
632
|
-
const e = this.componentClassNames("cre8-c-page-counter", {});
|
|
633
|
-
return a`
|
|
634
|
-
<div class='${e}'>
|
|
635
|
-
<span class="cre8-c-pagination__text" aria-live="polite">
|
|
636
|
-
${!this.display || this.display === "default" ? a`${this.currentPage}` : a`${this.currentPage} of ${this._totalPages}`}
|
|
637
|
-
</span>
|
|
638
|
-
</div>
|
|
639
|
-
`;
|
|
640
|
-
}
|
|
641
|
-
};
|
|
642
|
-
b.styles = [k];
|
|
643
|
-
let g = b;
|
|
644
|
-
c([
|
|
645
|
-
o({ type: Boolean, reflect: !0 })
|
|
646
|
-
], g.prototype, "rangeVariant");
|
|
647
|
-
c([
|
|
648
|
-
o()
|
|
649
|
-
], g.prototype, "currentPage");
|
|
650
|
-
c([
|
|
651
|
-
o()
|
|
652
|
-
], g.prototype, "totalResults");
|
|
653
|
-
c([
|
|
654
|
-
o()
|
|
655
|
-
], g.prototype, "pageSize");
|
|
656
|
-
c([
|
|
657
|
-
o()
|
|
658
|
-
], g.prototype, "display");
|
|
659
|
-
customElements.get("cre8-page-counter") === void 0 && customElements.define("cre8-page-counter", g);
|
|
660
|
-
const $ = z`.cre8-u-content-knockout-brand {
|
|
661
|
-
color: var(----cre8-color-content-knockout-brand);
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
.cre8-u-is-hidden {
|
|
665
|
-
display: none !important;
|
|
666
|
-
visibility: hidden !important;
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
.cre8-u-is-vishidden {
|
|
670
|
-
position: absolute !important;
|
|
671
|
-
overflow: hidden;
|
|
672
|
-
width: 1px;
|
|
673
|
-
height: 1px;
|
|
674
|
-
padding: 0;
|
|
675
|
-
border: 0;
|
|
676
|
-
clip: rect(1px, 1px, 1px, 1px);
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
@media all and (min-width: 23.4375rem) {
|
|
680
|
-
.cre8-u-hide-sm {
|
|
681
|
-
display: none !important;
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
@media all and (min-width: 35rem) {
|
|
685
|
-
.cre8-u-hide-sm-2 {
|
|
686
|
-
display: none !important;
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
@media all and (min-width: 48rem) {
|
|
690
|
-
.cre8-u-hide-md {
|
|
691
|
-
display: none !important;
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
@media all and (min-width: 60rem) {
|
|
695
|
-
.cre8-u-hide-lg {
|
|
696
|
-
display: none !important;
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
@media all and (min-width: 75rem) {
|
|
700
|
-
.cre8-u-hide-xl {
|
|
701
|
-
display: none !important;
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
@media all and (max-width: 23.4375rem) {
|
|
705
|
-
.cre8-u-show-sm {
|
|
706
|
-
display: none !important;
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
@media all and (max-width: 35rem) {
|
|
710
|
-
.cre8-u-show-sm-2 {
|
|
711
|
-
display: none !important;
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
@media all and (max-width: 48rem) {
|
|
715
|
-
.cre8-u-show-md {
|
|
716
|
-
display: none !important;
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
@media all and (max-width: 60rem) {
|
|
720
|
-
.cre8-u-show-lg {
|
|
721
|
-
display: none !important;
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
@media all and (max-width: 75rem) {
|
|
725
|
-
.cre8-u-show-xl {
|
|
726
|
-
display: none !important;
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
.cre8-u-margin-none {
|
|
730
|
-
margin: 0 !important;
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
.cre8-u-margin-sm {
|
|
734
|
-
margin: size(1) !important;
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
.cre8-u-margin-md {
|
|
738
|
-
margin: size(2) !important;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
.cre8-u-margin-lg {
|
|
742
|
-
margin: size(3) !important;
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
.cre8-u-margin-xl {
|
|
746
|
-
margin: size(4) !important;
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
.cre8-u-margin-xxl {
|
|
750
|
-
margin: size(8) !important;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
.cre8-u-margin-top-none {
|
|
754
|
-
margin-top: 0 !important;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
.cre8-u-margin-top-sm {
|
|
758
|
-
margin-top: size(1) !important;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
.cre8-u-margin-top-md {
|
|
762
|
-
margin-top: size(2) !important;
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
.cre8-u-margin-top-lg {
|
|
766
|
-
margin-top: size(3) !important;
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
.cre8-u-margin-top-xl {
|
|
770
|
-
margin-top: size(4) !important;
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
.cre8-u-margin-top-xxl {
|
|
774
|
-
margin-top: size(8) !important;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
.cre8-u-margin-right-none {
|
|
778
|
-
margin-right: 0 !important;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
.cre8-u-margin-right-sm {
|
|
782
|
-
margin-right: size(1) !important;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
.cre8-u-margin-right-md {
|
|
786
|
-
margin-right: size(2) !important;
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
.cre8-u-margin-right-lg {
|
|
790
|
-
margin-right: size(3) !important;
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
.cre8-u-margin-right-xl {
|
|
794
|
-
margin-right: size(4) !important;
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
.cre8-u-margin-right-xxl {
|
|
798
|
-
margin-right: size(8) !important;
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
.cre8-u-margin-bottom-none {
|
|
802
|
-
margin-bottom: 0 !important;
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
.cre8-u-margin-bottom-sm {
|
|
806
|
-
margin-bottom: size(1) !important;
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
.cre8-u-margin-bottom-md {
|
|
810
|
-
margin-bottom: size(2) !important;
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
.cre8-u-margin-bottom-lg {
|
|
814
|
-
margin-bottom: size(3) !important;
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
.cre8-u-margin-bottom-xl {
|
|
818
|
-
margin-bottom: size(4) !important;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
.cre8-u-margin-bottom-xxl {
|
|
822
|
-
margin-bottom: size(8) !important;
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
.cre8-u-margin-bottom-xl-xxl {
|
|
826
|
-
margin-bottom: size(4) !important;
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
@media all and (min-width: 768px) {
|
|
830
|
-
.cre8-u-margin-bottom-xl-xxl {
|
|
831
|
-
margin-bottom: size(8) !important;
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
.cre8-u-margin-left-none {
|
|
835
|
-
margin-left: 0 !important;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
.cre8-u-margin-left-sm {
|
|
839
|
-
margin-left: size(1) !important;
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
.cre8-u-margin-left-md {
|
|
843
|
-
margin-left: size(2) !important;
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
.cre8-u-margin-left-lg {
|
|
847
|
-
margin-left: size(3) !important;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
.cre8-u-margin-left-xl {
|
|
851
|
-
margin-left: size(4) !important;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
.cre8-u-margin-left-xxl {
|
|
855
|
-
margin-left: size(8) !important;
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
.cre8-u-padding-none {
|
|
859
|
-
padding: 0 !important;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
.cre8-u-padding-sm {
|
|
863
|
-
padding: size(1) !important;
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
.cre8-u-padding-md {
|
|
867
|
-
padding: size(2) !important;
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
.cre8-u-padding-lg {
|
|
871
|
-
padding: size(3) !important;
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
.cre8-u-padding-xl {
|
|
875
|
-
padding: size(4) !important;
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
.cre8-u-padding-xxl {
|
|
879
|
-
padding: size(8) !important;
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
.cre8-u-padding-top-none {
|
|
883
|
-
padding-top: 0 !important;
|
|
884
|
-
}
|
|
885
|
-
|
|
886
|
-
.cre8-u-padding-top-sm {
|
|
887
|
-
padding-top: size(1) !important;
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
.cre8-u-padding-top-md {
|
|
891
|
-
padding-top: size(2) !important;
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
.cre8-u-padding-top-lg {
|
|
895
|
-
padding-top: size(3) !important;
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
.cre8-u-padding-top-xl {
|
|
899
|
-
padding-top: size(4) !important;
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
.cre8-u-padding-top-xxl {
|
|
903
|
-
padding-top: size(8) !important;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
.cre8-u-padding-right-none {
|
|
907
|
-
padding-right: 0 !important;
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
.cre8-u-padding-right-sm {
|
|
911
|
-
padding-right: size(1) !important;
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
.cre8-u-padding-right-md {
|
|
915
|
-
padding-right: size(2) !important;
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
.cre8-u-padding-right-lg {
|
|
919
|
-
padding-right: size(3) !important;
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
.cre8-u-padding-right-xl {
|
|
923
|
-
padding-right: size(4) !important;
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
.cre8-u-padding-right-xxl {
|
|
927
|
-
padding-right: size(8) !important;
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
.cre8-u-padding-bottom-none {
|
|
931
|
-
padding-bottom: 0 !important;
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
.cre8-u-padding-bottom-sm {
|
|
935
|
-
padding-bottom: size(1) !important;
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
.cre8-u-padding-bottom-md {
|
|
939
|
-
padding-bottom: size(2) !important;
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
.cre8-u-padding-bottom-lg {
|
|
943
|
-
padding-bottom: size(3) !important;
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
.cre8-u-padding-bottom-xl {
|
|
947
|
-
padding-bottom: size(4) !important;
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
.cre8-u-padding-bottom-xxl {
|
|
951
|
-
padding-bottom: size(8) !important;
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
.cre8-u-padding-left-none {
|
|
955
|
-
padding-left: 0 !important;
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
.cre8-u-padding-left-sm {
|
|
959
|
-
padding-left: size(1) !important;
|
|
960
|
-
}
|
|
961
|
-
|
|
962
|
-
.cre8-u-padding-left-md {
|
|
963
|
-
padding-left: size(2) !important;
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
.cre8-u-padding-left-lg {
|
|
967
|
-
padding-left: size(3) !important;
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
.cre8-u-padding-left-xl {
|
|
971
|
-
padding-left: size(4) !important;
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
.cre8-u-padding-left-xxl {
|
|
975
|
-
padding-left: size(8) !important;
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
.cre8-u-display-flex {
|
|
979
|
-
display: flex !important;
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
.cre8-u-display-block {
|
|
983
|
-
display: block !important;
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
body {
|
|
987
|
-
font-family: var(--cre8-typography-body-default-font-family);
|
|
988
|
-
font-size: var(--cre8-typography-body-default-font-size);
|
|
989
|
-
font-weight: var(--cre8-typography-body-default-font-weight);
|
|
990
|
-
line-height: var(--cre8-typography-body-default-line-height);
|
|
991
|
-
-webkit-text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
992
|
-
text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
993
|
-
text-transform: var(--cre8-typography-body-default-text-transform);
|
|
994
|
-
display: flex;
|
|
995
|
-
flex-direction: column;
|
|
996
|
-
padding: 0;
|
|
997
|
-
margin: 0;
|
|
998
|
-
color: var(--cre8-color-content-default);
|
|
999
|
-
background: var(--background-default);
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
@media all and (min-width: 60rem) {
|
|
1003
|
-
.page-container {
|
|
1004
|
-
background: linear-gradient(90deg, #fff 0, #fff 66.66%, #f8f8f9 0, #f8f8f9 0);
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
.band__inner {
|
|
1008
|
-
margin-left: 2rem;
|
|
1009
|
-
margin-right: 2rem;
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
@media all and (min-width: 60rem) {
|
|
1013
|
-
.band__inner {
|
|
1014
|
-
margin-right: 0;
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
img {
|
|
1018
|
-
max-width: 100%;
|
|
1019
|
-
height: auto;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/
|
|
1024
|
-
*/
|
|
1025
|
-
*,
|
|
1026
|
-
::slotted(*),
|
|
1027
|
-
*:before,
|
|
1028
|
-
*:after {
|
|
1029
|
-
box-sizing: border-box;
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
:root {
|
|
1033
|
-
--size-base-unit: 0.5rem;
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
/**
|
|
1037
|
-
* RTL support for values logical properties can't automatically adjust for
|
|
1038
|
-
* 1) Percentage based horizontal translate values need to be flipped
|
|
1039
|
-
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
1040
|
-
* 3) Inverse items that have 45degs
|
|
1041
|
-
*/
|
|
1042
|
-
[dir=rtl] {
|
|
1043
|
-
--rtlTranslateX: 50%;
|
|
1044
|
-
/* 1 */
|
|
1045
|
-
--rtlGradientToRight: 270deg;
|
|
1046
|
-
/* 2 */
|
|
1047
|
-
--rtlRotate45Inverse: -45deg;
|
|
1048
|
-
/* 3 */
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
/**
|
|
1052
|
-
* Visible focus outline for elements on a light background
|
|
1053
|
-
*/
|
|
1054
|
-
/**
|
|
1055
|
-
* Visible focus outline for elements with an error status
|
|
1056
|
-
*/
|
|
1057
|
-
/**
|
|
1058
|
-
* Visible focus outline for elements on a dark background
|
|
1059
|
-
*/
|
|
1060
|
-
/**
|
|
1061
|
-
* Focus state for themes that need a dashed outline for focus
|
|
1062
|
-
* state
|
|
1063
|
-
**/
|
|
1064
|
-
/**
|
|
1065
|
-
* Invisible focus outline for elements that need a more visible
|
|
1066
|
-
* focus state for high-contrast mode
|
|
1067
|
-
*/
|
|
1068
|
-
/**
|
|
1069
|
-
* Visually hidden from display
|
|
1070
|
-
*/
|
|
1071
|
-
/*
|
|
1072
|
-
=======
|
|
1073
|
-
Animations
|
|
1074
|
-
=======
|
|
1075
|
-
*/
|
|
1076
|
-
:host {
|
|
1077
|
-
--cre8-z-index-1: 1;
|
|
1078
|
-
--cre8-z-index-50: 50;
|
|
1079
|
-
--cre8-z-index-100: 100;
|
|
1080
|
-
--cre8-z-index-200: 200;
|
|
1081
|
-
--cre8-z-index-1030: 1030;
|
|
1082
|
-
--cre8-anim-fade-quick: 0.35s;
|
|
1083
|
-
--cre8-anim-ease: ease;
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
@keyframes fadeIn {
|
|
1087
|
-
100% {
|
|
1088
|
-
opacity: 1;
|
|
1089
|
-
}
|
|
1090
|
-
}
|
|
1091
|
-
@keyframes slideIn {
|
|
1092
|
-
100% {
|
|
1093
|
-
transform: translateX(0);
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
@keyframes slideInFwd {
|
|
1097
|
-
100% {
|
|
1098
|
-
width: 272px;
|
|
1099
|
-
height: 272px;
|
|
1100
|
-
}
|
|
1101
|
-
}
|
|
1102
|
-
@keyframes slideOutRight {
|
|
1103
|
-
100% {
|
|
1104
|
-
width: 272px;
|
|
1105
|
-
height: 272px;
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
1108
|
-
@keyframes slideUp {
|
|
1109
|
-
100% {
|
|
1110
|
-
transform: translateY(0);
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
@media (width >= 481px) {
|
|
1114
|
-
@keyframes slideInFwd {
|
|
1115
|
-
100% {
|
|
1116
|
-
width: 417px;
|
|
1117
|
-
height: 417px;
|
|
151
|
+
_onHandleResize() {
|
|
152
|
+
this.requestUpdate();
|
|
1118
153
|
}
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
100% {
|
|
1122
|
-
width: 417px;
|
|
1123
|
-
height: 417px;
|
|
154
|
+
handleResize() {
|
|
155
|
+
this._onHandleResize.bind(this);
|
|
1124
156
|
}
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
}
|
|
1134
|
-
@keyframes slideOutRight {
|
|
1135
|
-
100% {
|
|
1136
|
-
width: 330px;
|
|
1137
|
-
height: 330px;
|
|
1138
|
-
transform: translateX(calc(100vw - 45px));
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1141
|
-
}
|
|
1142
|
-
@media (width >= 60rem) {
|
|
1143
|
-
@keyframes slideInFwd {
|
|
1144
|
-
100% {
|
|
1145
|
-
width: 460px;
|
|
1146
|
-
height: 460px;
|
|
1147
|
-
}
|
|
1148
|
-
}
|
|
1149
|
-
@keyframes slideOutRight {
|
|
1150
|
-
100% {
|
|
1151
|
-
width: 460px;
|
|
1152
|
-
height: 460px;
|
|
1153
|
-
transform: translateX(calc(100vw - 45px));
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
@media (width >= 75rem) {
|
|
1158
|
-
@keyframes slideInFwd {
|
|
1159
|
-
100% {
|
|
1160
|
-
width: 592px;
|
|
1161
|
-
height: 591px;
|
|
157
|
+
// get range of pages to display [3, 4, 5], [2, 3, 4, 5]
|
|
158
|
+
get pageRange() {
|
|
159
|
+
const left = Math.floor(this.maxVisiblePages / 2);
|
|
160
|
+
let startPage = this.currentPage - left;
|
|
161
|
+
startPage = Math.min(startPage, this.totalPages - this.maxVisiblePages + 1);
|
|
162
|
+
startPage = Math.max(startPage, 1);
|
|
163
|
+
const endPage = Math.min(startPage + this.maxVisiblePages - 1, this.totalPages);
|
|
164
|
+
return [...Array(this.totalPages)].map((_, index) => index + 1).slice(startPage - 1, endPage);
|
|
1162
165
|
}
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
166
|
+
async firstUpdated() {
|
|
167
|
+
await this.updateComplete;
|
|
168
|
+
if (this._pageSize !== this.pageSize) {
|
|
169
|
+
const old = this._pageSize;
|
|
170
|
+
this._pageSize = this.pageSize;
|
|
171
|
+
this.requestUpdate('pageSize', old);
|
|
172
|
+
}
|
|
173
|
+
this.windowWidth = window.innerWidth;
|
|
174
|
+
window.addEventListener('resize', () => {
|
|
175
|
+
if (this.windowWidth !== window.innerWidth) {
|
|
176
|
+
const oldWidth = this.windowWidth;
|
|
177
|
+
this.windowWidth = window.innerWidth;
|
|
178
|
+
this.handleResize();
|
|
179
|
+
this.requestUpdate('isResponsive', oldWidth);
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
if (this._currentPage !== this.currentPage) {
|
|
183
|
+
const old = this._currentPage;
|
|
184
|
+
this._currentPage = this.currentPage;
|
|
185
|
+
this.requestUpdate('currentPage', old);
|
|
186
|
+
}
|
|
1169
187
|
}
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
@keyframes slideOutRight {
|
|
1174
|
-
100% {
|
|
1175
|
-
width: 592px;
|
|
1176
|
-
height: 591px;
|
|
1177
|
-
transform: translateX(calc(100vw - 120px));
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
}
|
|
1181
|
-
@media (width >= 2200px) {
|
|
1182
|
-
@keyframes slideOutRight {
|
|
1183
|
-
100% {
|
|
1184
|
-
width: 592px;
|
|
1185
|
-
height: 591px;
|
|
1186
|
-
transform: translateX(calc(100vw - 592px));
|
|
188
|
+
disconnectedCallback() {
|
|
189
|
+
window.removeEventListener('resize', this.handleResize);
|
|
190
|
+
super.disconnectedCallback();
|
|
1187
191
|
}
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
span.ripple {
|
|
1191
|
-
position: absolute;
|
|
1192
|
-
border-radius: 50%;
|
|
1193
|
-
transform: scale(0);
|
|
1194
|
-
animation: ripple 600ms linear;
|
|
1195
|
-
background-color: var(--ripple-bg-color);
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
@keyframes ripple {
|
|
1199
|
-
to {
|
|
1200
|
-
transform: scale(4);
|
|
1201
|
-
opacity: 1;
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
:root {
|
|
1205
|
-
--size-base-unit: 0.5rem;
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
/**
|
|
1209
|
-
* RTL support for values logical properties can't automatically adjust for
|
|
1210
|
-
* 1) Percentage based horizontal translate values need to be flipped
|
|
1211
|
-
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
1212
|
-
* 3) Inverse items that have 45degs
|
|
1213
|
-
*/
|
|
1214
|
-
[dir=rtl] {
|
|
1215
|
-
--rtlTranslateX: 50%;
|
|
1216
|
-
/* 1 */
|
|
1217
|
-
--rtlGradientToRight: 270deg;
|
|
1218
|
-
/* 2 */
|
|
1219
|
-
--rtlRotate45Inverse: -45deg;
|
|
1220
|
-
/* 3 */
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
/**
|
|
1224
|
-
* Visible focus outline for elements on a light background
|
|
1225
|
-
*/
|
|
1226
|
-
/**
|
|
1227
|
-
* Visible focus outline for elements with an error status
|
|
1228
|
-
*/
|
|
1229
|
-
/**
|
|
1230
|
-
* Visible focus outline for elements on a dark background
|
|
1231
|
-
*/
|
|
1232
|
-
/**
|
|
1233
|
-
* Focus state for themes that need a dashed outline for focus
|
|
1234
|
-
* state
|
|
1235
|
-
**/
|
|
1236
|
-
/**
|
|
1237
|
-
* Invisible focus outline for elements that need a more visible
|
|
1238
|
-
* focus state for high-contrast mode
|
|
1239
|
-
*/
|
|
1240
|
-
/**
|
|
1241
|
-
* Visually hidden from display
|
|
1242
|
-
*/
|
|
1243
|
-
:host {
|
|
1244
|
-
display: var(--pagination-display, inline-flex);
|
|
1245
|
-
justify-content: var(--pagination-justify-content, center);
|
|
1246
|
-
align-items: var(--pagination-align-items, center);
|
|
1247
|
-
--cre8-button-width: 2rem;
|
|
1248
|
-
--cre8-button-height: 2rem;
|
|
1249
|
-
--cre8-button-min-width: 2rem;
|
|
1250
|
-
--cre8-button-min-height: 2rem;
|
|
1251
|
-
--cre8-button-padding-horizontal-small: 0px;
|
|
1252
|
-
--cre8-button-padding-vertical-small: 0px;
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
*, ::slotted(*), *:before, *:after {
|
|
1256
|
-
box-sizing: border-box;
|
|
1257
|
-
width: auto;
|
|
1258
|
-
height: auto;
|
|
1259
|
-
display: flex;
|
|
1260
|
-
justify-content: center;
|
|
1261
|
-
--cre8-button-margin-right: var(--cre8-spacing-2);
|
|
1262
|
-
--cre8-button-margin-left: var(--cre8-spacing-2);
|
|
1263
|
-
margin-right: var(--cre8-button-margin-right);
|
|
1264
|
-
margin-left: var(--cre8-button-margin-left);
|
|
1265
|
-
align-items: center;
|
|
1266
|
-
}
|
|
1267
|
-
|
|
1268
|
-
[aria-current=true], #current {
|
|
1269
|
-
--cre8-color-button-tertiary-bg: var( --cre8-color-bg-strong);
|
|
1270
|
-
--cre8-color-button-tertiary-content: var(--cre8-color-content-knockout);
|
|
1271
|
-
--cre8-color-button-tertiary-border: var(--cre8-color-border-transparent);
|
|
1272
|
-
}
|
|
1273
|
-
[aria-current=true]:hover, [aria-current=true]:active, #current:hover, #current:active {
|
|
1274
|
-
border-radius: var(--cre8-border-radius-button);
|
|
1275
|
-
--cre8-color-button-tertiary-bg-hover: var(--cre8-color-bg-strong);
|
|
1276
|
-
--cre8-color-button-tertiary-content-hover: var(--cre8-color-content-knockout);
|
|
1277
|
-
}
|
|
1278
|
-
[aria-current=true]:hover:focus, [aria-current=true]:hover:focus-visible, [aria-current=true]:hover:focus-within, [aria-current=true]:active:focus, [aria-current=true]:active:focus-visible, [aria-current=true]:active:focus-within, #current:hover:focus, #current:hover:focus-visible, #current:hover:focus-within, #current:active:focus, #current:active:focus-visible, #current:active:focus-within {
|
|
1279
|
-
border-radius: var(--cre8-border-radius-button);
|
|
1280
|
-
--cre8-color-button-tertiary-bg-active: var(--cre8-color-bg-strong);
|
|
1281
|
-
--cre8-color-button-tertiary-content-active: var(--cre8-color-content-knockout);
|
|
1282
|
-
outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
|
|
1283
|
-
outline-offset: 0.125rem;
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
.cre8-c-pagination--compact, .cre8-c-pagination--icon-only, .cre8-c-pagination--range {
|
|
1287
|
-
--cre8-button-width: 3rem;
|
|
1288
|
-
--cre8-button-height: 3rem;
|
|
1289
|
-
--cre8-button-min-width: 3rem;
|
|
1290
|
-
--cre8-button-min-height: 3rem;
|
|
1291
|
-
}
|
|
1292
|
-
|
|
1293
|
-
.cre8-c-pagionation__icon {
|
|
1294
|
-
fill: var(--cre8-color-button-tertiary-content);
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
.cre8-c-pagination__icon:has(cre8-button:disabled) {
|
|
1298
|
-
color: var(--cre8-color-button-tertiary-content-disabled);
|
|
1299
|
-
}
|
|
1300
|
-
|
|
1301
|
-
.cre8-c-pagination [aria-disabled=true] {
|
|
1302
|
-
fill: var(--cre8-color-content-default);
|
|
1303
|
-
--cre8-color-button-tertiary-content: var(--cre8-color-content-default);
|
|
1304
|
-
}`;
|
|
1305
|
-
var R = Object.defineProperty, L = Object.getOwnPropertyDescriptor, l = (m, e, t, n) => {
|
|
1306
|
-
for (var i = n > 1 ? void 0 : n ? L(e, t) : e, s = m.length - 1, d; s >= 0; s--)
|
|
1307
|
-
(d = m[s]) && (i = (n ? d(e, t, i) : d(i)) || i);
|
|
1308
|
-
return n && i && R(e, t, i), i;
|
|
1309
|
-
};
|
|
1310
|
-
const N = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
1311
|
-
<path d="M12.1508 14.7578C12.2184 14.8254 12.272 14.9056 12.3085 14.9939C12.3451 15.0822 12.3639 15.1768 12.3639 15.2724C12.3639 15.3679 12.3451 15.4625 12.3085 15.5508C12.272 15.6391 12.2184 15.7193 12.1508 15.7869C12.0832 15.8544 12.003 15.908 11.9147 15.9446C11.8265 15.9812 11.7318 16 11.6363 16C11.5407 16 11.4461 15.9812 11.3578 15.9446C11.2695 15.908 11.1893 15.8544 11.1218 15.7869L3.8494 8.51452C3.78178 8.44698 3.72814 8.36677 3.69154 8.27849C3.65495 8.1902 3.63611 8.09557 3.63611 8C3.63611 7.90443 3.65495 7.8098 3.69154 7.72151C3.72814 7.63323 3.78178 7.55302 3.8494 7.48548L11.1218 0.213121C11.2582 0.0766618 11.4433 -3.80414e-09 11.6363 0C11.8293 3.80414e-09 12.0143 0.0766618 12.1508 0.213121C12.2873 0.34958 12.3639 0.534658 12.3639 0.72764C12.3639 0.920622 12.2873 1.1057 12.1508 1.24216L5.39205 8L12.1508 14.7578Z"/>
|
|
1312
|
-
</svg>
|
|
1313
|
-
`, S = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
1314
|
-
<path d="M15.7869 14.7577C15.8544 14.8253 15.908 14.9055 15.9446 14.9937C15.9812 15.082 16 15.1766 16 15.2722C16 15.3678 15.9812 15.4624 15.9446 15.5507C15.908 15.6389 15.8544 15.7191 15.7869 15.7867C15.7193 15.8543 15.6391 15.9079 15.5508 15.9444C15.4625 15.981 15.3679 15.9998 15.2724 15.9998C15.1768 15.9998 15.0822 15.981 14.9939 15.9444C14.9056 15.9079 14.8254 15.8543 14.7579 15.7867L7.48557 8.51443C7.41795 8.44689 7.36432 8.36669 7.32772 8.2784C7.29112 8.19012 7.27228 8.09549 7.27228 7.99992C7.27228 7.90435 7.29112 7.80972 7.32772 7.72143C7.36432 7.63315 7.41795 7.55294 7.48557 7.4854L14.7579 0.213119C14.8943 0.076661 15.0794 -3.8041e-09 15.2724 0C15.4653 3.8041e-09 15.6504 0.076661 15.7869 0.213119C15.9233 0.349576 16 0.534653 16 0.727633C16 0.920613 15.9233 1.10569 15.7869 1.24215L9.0282 7.99992L15.7869 14.7577ZM1.75592 7.99992L8.5146 1.24215C8.65106 1.10569 8.72772 0.920613 8.72772 0.727633C8.72772 0.534653 8.65106 0.349576 8.5146 0.213119C8.37814 0.076661 8.19306 1.43782e-09 8.00008 0C7.8071 -1.43781e-09 7.62203 0.076661 7.48557 0.213119L0.213286 7.4854C0.145671 7.55294 0.0920317 7.63315 0.0554344 7.72143C0.0188371 7.80972 0 7.90435 0 7.99992C0 8.09549 0.0188371 8.19012 0.0554344 8.2784C0.0920317 8.36669 0.145671 8.44689 0.213286 8.51443L7.48557 15.7867C7.55314 15.8543 7.63335 15.9079 7.72163 15.9444C7.80991 15.981 7.90453 15.9998 8.00008 15.9998C8.09564 15.9998 8.19026 15.981 8.27854 15.9444C8.36682 15.9079 8.44703 15.8543 8.5146 15.7867C8.58217 15.7191 8.63576 15.6389 8.67233 15.5507C8.7089 15.4624 8.72772 15.3678 8.72772 15.2722C8.72772 15.1766 8.7089 15.082 8.67233 14.9937C8.63576 14.9055 8.58217 14.8253 8.5146 14.7577L1.75592 7.99992Z"/>
|
|
1315
|
-
</svg>
|
|
1316
|
-
`, T = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
1317
|
-
<path d="M8.51443 8.51443L1.24215 15.7867C1.10569 15.9232 0.920613 15.9998 0.727633 15.9998C0.534653 15.9998 0.349576 15.9232 0.213119 15.7867C0.076661 15.6503 3.8041e-09 15.4652 0 15.2722C-3.8041e-09 15.0792 0.076661 14.8941 0.213119 14.7577L6.9718 7.99992L0.213119 1.24215C0.076661 1.10569 0 0.920613 0 0.727633C0 0.534653 0.076661 0.349576 0.213119 0.213119C0.349576 0.076661 0.534653 0 0.727633 0C0.920613 0 1.10569 0.076661 1.24215 0.213119L8.51443 7.4854C8.58205 7.55294 8.63569 7.63315 8.67228 7.72143C8.70888 7.80972 8.72772 7.90435 8.72772 7.99992C8.72772 8.09549 8.70888 8.19012 8.67228 8.2784C8.63569 8.36669 8.58205 8.44689 8.51443 8.51443ZM15.7867 7.4854L8.51443 0.213119C8.37797 0.076661 8.1929 0 7.99992 0C7.80694 0 7.62186 0.076661 7.4854 0.213119C7.34894 0.349576 7.27228 0.534653 7.27228 0.727633C7.27228 0.920613 7.34894 1.10569 7.4854 1.24215L14.2441 7.99992L7.4854 14.7577C7.34894 14.8941 7.27228 15.0792 7.27228 15.2722C7.27228 15.4652 7.34894 15.6503 7.4854 15.7867C7.62186 15.9232 7.80694 15.9998 7.99992 15.9998C8.1929 15.9998 8.37797 15.9232 8.51443 15.7867L15.7867 8.51443C15.8543 8.44689 15.908 8.36669 15.9446 8.2784C15.9812 8.19012 16 8.09549 16 7.99992C16 7.90435 15.9812 7.80972 15.9446 7.72143C15.908 7.63315 15.8543 7.55294 15.7867 7.4854Z"/>
|
|
1318
|
-
</svg>
|
|
1319
|
-
`, I = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
1320
|
-
<path d="M12.1506 8.51452L4.87827 15.7869C4.8107 15.8544 4.73049 15.908 4.6422 15.9446C4.55392 15.9812 4.4593 16 4.36375 16C4.26819 16 4.17357 15.9812 4.08529 15.9446C3.99701 15.908 3.9168 15.8544 3.84923 15.7869C3.78166 15.7193 3.72806 15.6391 3.6915 15.5508C3.65493 15.4625 3.63611 15.3679 3.63611 15.2724C3.63611 15.1768 3.65493 15.0822 3.6915 14.9939C3.72806 14.9056 3.78166 14.8254 3.84923 14.7578L10.608 8L3.84923 1.24216C3.71277 1.1057 3.63611 0.920622 3.63611 0.72764C3.63611 0.534658 3.71277 0.34958 3.84923 0.213121C3.98569 0.0766618 4.17077 1.43783e-09 4.36375 0C4.55673 -1.43783e-09 4.74181 0.0766618 4.87827 0.213121L12.1506 7.48548C12.2182 7.55302 12.2719 7.63323 12.3085 7.72151C12.3451 7.8098 12.3639 7.90443 12.3639 8C12.3639 8.09557 12.3451 8.1902 12.3085 8.27849C12.2719 8.36677 12.2182 8.44698 12.1506 8.51452Z"/>
|
|
1321
|
-
</svg>
|
|
1322
|
-
`, w = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
1323
|
-
<path d="M8 5.71423C7.54793 5.71423 7.10601 5.84829 6.73013 6.09945C6.35424 6.3506 6.06128 6.70758 5.88828 7.12524C5.71528 7.5429 5.67001 8.00248 5.75821 8.44587C5.8464 8.88925 6.06409 9.29653 6.38376 9.61619C6.70342 9.93585 7.11069 10.1535 7.55408 10.2417C7.99747 10.3299 8.45705 10.2847 8.87471 10.1117C9.29237 9.93867 9.64934 9.64571 9.9005 9.26982C10.1517 8.89394 10.2857 8.45202 10.2857 7.99995C10.2857 7.39374 10.0449 6.81236 9.61624 6.3837C9.18759 5.95505 8.60621 5.71423 8 5.71423ZM8 9.1428C7.77396 9.1428 7.55301 9.07578 7.36506 8.9502C7.17712 8.82462 7.03064 8.64613 6.94414 8.4373C6.85764 8.22847 6.83501 7.99868 6.8791 7.77699C6.9232 7.55529 7.03205 7.35166 7.19188 7.19183C7.35171 7.03199 7.55535 6.92315 7.77704 6.87905C7.99873 6.83495 8.22852 6.85759 8.43735 6.94409C8.64618 7.03059 8.82467 7.17707 8.95025 7.36501C9.07583 7.55295 9.14286 7.77391 9.14286 7.99995C9.14286 8.30305 9.02245 8.59374 8.80812 8.80807C8.59379 9.0224 8.30311 9.1428 8 9.1428ZM2.28572 5.71423C1.83364 5.71423 1.39172 5.84829 1.01584 6.09945C0.639957 6.3506 0.346991 6.70758 0.173991 7.12524C0.000990357 7.5429 -0.0442744 8.00248 0.0439204 8.44587C0.132115 8.88925 0.349808 9.29653 0.669471 9.61619C0.989134 9.93585 1.39641 10.1535 1.83979 10.2417C2.28318 10.3299 2.74276 10.2847 3.16042 10.1117C3.57808 9.93867 3.93506 9.64571 4.18622 9.26982C4.43737 8.89394 4.57143 8.45202 4.57143 7.99995C4.57143 7.39374 4.33061 6.81236 3.90196 6.3837C3.4733 5.95505 2.89192 5.71423 2.28572 5.71423ZM2.28572 9.1428C2.05968 9.1428 1.83872 9.07578 1.65078 8.9502C1.46284 8.82462 1.31635 8.64613 1.22985 8.4373C1.14335 8.22847 1.12072 7.99868 1.16482 7.77699C1.20891 7.55529 1.31776 7.35166 1.47759 7.19183C1.63742 7.03199 1.84106 6.92315 2.06275 6.87905C2.28445 6.83495 2.51424 6.85759 2.72307 6.94409C2.9319 7.03059 3.11039 7.17707 3.23597 7.36501C3.36154 7.55295 3.42857 7.77391 3.42857 7.99995C3.42857 8.30305 3.30816 8.59374 3.09384 8.80807C2.87951 9.0224 2.58882 9.1428 2.28572 9.1428ZM13.7143 5.71423C13.2622 5.71423 12.8203 5.84829 12.4444 6.09945C12.0685 6.3506 11.7756 6.70758 11.6026 7.12524C11.4296 7.5429 11.3843 8.00248 11.4725 8.44587C11.5607 8.88925 11.7784 9.29653 12.098 9.61619C12.4177 9.93585 12.825 10.1535 13.2684 10.2417C13.7118 10.3299 14.1713 10.2847 14.589 10.1117C15.0066 9.93867 15.3636 9.64571 15.6148 9.26982C15.8659 8.89394 16 8.45202 16 7.99995C16 7.39374 15.7592 6.81236 15.3305 6.3837C14.9019 5.95505 14.3205 5.71423 13.7143 5.71423ZM13.7143 9.1428C13.4882 9.1428 13.2673 9.07578 13.0793 8.9502C12.8914 8.82462 12.7449 8.64613 12.6584 8.4373C12.5719 8.22847 12.5493 7.99868 12.5934 7.77699C12.6375 7.55529 12.7463 7.35166 12.9062 7.19183C13.066 7.03199 13.2696 6.92315 13.4913 6.87905C13.713 6.83495 13.9428 6.85759 14.1516 6.94409C14.3605 7.03059 14.539 7.17707 14.6645 7.36501C14.7901 7.55295 14.8571 7.77391 14.8571 7.99995C14.8571 8.30305 14.7367 8.59374 14.5224 8.80807C14.3081 9.0224 14.0174 9.1428 13.7143 9.1428Z"/>
|
|
1324
|
-
</svg>
|
|
1325
|
-
`, u = class u extends C {
|
|
1326
|
-
constructor() {
|
|
1327
|
-
super(...arguments), this._currentPage = 99, this._pageSize = 10, this.visiblePages = 5, this._handleKeydown = (e, t) => (n) => {
|
|
1328
|
-
n.code === "Enter" && this._goToPage(e, t);
|
|
1329
|
-
}, this._goToPage = (e, t) => () => {
|
|
1330
|
-
const n = this._currentPage;
|
|
1331
|
-
let i;
|
|
1332
|
-
this.buttons.forEach((s) => {
|
|
1333
|
-
const d = new x();
|
|
1334
|
-
return d.hideText && d.text === t && (i = d, i.shadowRoot.querySelector(".cre8-c-button").blur()), null;
|
|
1335
|
-
}), this._currentPage = e, this.currentPage = this._currentPage, this.requestUpdate("currentPage", n), this.dispatchEvent(new CustomEvent(
|
|
1336
|
-
"pagination.click",
|
|
1337
|
-
{ detail: { buttonName: t ?? this.currentPage.toString(), value: this.currentPage } }
|
|
1338
|
-
));
|
|
1339
|
-
};
|
|
1340
|
-
}
|
|
1341
|
-
get pageSize() {
|
|
1342
|
-
return this._pageSize;
|
|
1343
|
-
}
|
|
1344
|
-
set pageSize(e) {
|
|
1345
|
-
const t = this._pageSize;
|
|
1346
|
-
this._pageSize = e, this.requestUpdate("pageSize", t);
|
|
1347
|
-
}
|
|
1348
|
-
get currentPage() {
|
|
1349
|
-
return this._currentPage;
|
|
1350
|
-
}
|
|
1351
|
-
set currentPage(e) {
|
|
1352
|
-
const t = this._currentPage;
|
|
1353
|
-
this._currentPage = e, this.requestUpdate("currentPage", t);
|
|
1354
|
-
}
|
|
1355
|
-
connectedCallBack() {
|
|
1356
|
-
super.connectedCallback();
|
|
1357
|
-
}
|
|
1358
|
-
get maxVisiblePages() {
|
|
1359
|
-
const e = {
|
|
1360
|
-
md: 5
|
|
1361
|
-
};
|
|
1362
|
-
return v(y.lg.toString()) ? v(y.md.toString()) ? 0 : Math.min(e.md, this.visiblePages) : this.visiblePages;
|
|
1363
|
-
}
|
|
1364
|
-
get totalPages() {
|
|
1365
|
-
return Math.ceil(this.totalResults / this.pageSize);
|
|
1366
|
-
}
|
|
1367
|
-
get hasNoPreviousPage() {
|
|
1368
|
-
return this._currentPage <= 1;
|
|
1369
|
-
}
|
|
1370
|
-
get hasNoNextPage() {
|
|
1371
|
-
return this._currentPage >= this.totalPages;
|
|
1372
|
-
}
|
|
1373
|
-
_onHandleResize() {
|
|
1374
|
-
this.requestUpdate();
|
|
1375
|
-
}
|
|
1376
|
-
handleResize() {
|
|
1377
|
-
this._onHandleResize.bind(this);
|
|
1378
|
-
}
|
|
1379
|
-
// get range of pages to display [3, 4, 5], [2, 3, 4, 5]
|
|
1380
|
-
get pageRange() {
|
|
1381
|
-
const e = Math.floor(this.maxVisiblePages / 2);
|
|
1382
|
-
let t = this.currentPage - e;
|
|
1383
|
-
t = Math.min(t, this.totalPages - this.maxVisiblePages + 1), t = Math.max(t, 1);
|
|
1384
|
-
const n = Math.min(t + this.maxVisiblePages - 1, this.totalPages);
|
|
1385
|
-
return [...Array(this.totalPages)].map((i, s) => s + 1).slice(t - 1, n);
|
|
1386
|
-
}
|
|
1387
|
-
async firstUpdated() {
|
|
1388
|
-
if (await this.updateComplete, this._pageSize !== this.pageSize) {
|
|
1389
|
-
const e = this._pageSize;
|
|
1390
|
-
this._pageSize = this.pageSize, this.requestUpdate("pageSize", e);
|
|
1391
|
-
}
|
|
1392
|
-
if (this.windowWidth = window.innerWidth, window.addEventListener("resize", () => {
|
|
1393
|
-
if (this.windowWidth !== window.innerWidth) {
|
|
1394
|
-
const e = this.windowWidth;
|
|
1395
|
-
this.windowWidth = window.innerWidth, this.handleResize(), this.requestUpdate("isResponsive", e);
|
|
1396
|
-
}
|
|
1397
|
-
}), this._currentPage !== this.currentPage) {
|
|
1398
|
-
const e = this._currentPage;
|
|
1399
|
-
this._currentPage = this.currentPage, this.requestUpdate("currentPage", e);
|
|
1400
|
-
}
|
|
1401
|
-
}
|
|
1402
|
-
disconnectedCallback() {
|
|
1403
|
-
window.removeEventListener("resize", this.handleResize), super.disconnectedCallback();
|
|
1404
|
-
}
|
|
1405
|
-
displayTypes() {
|
|
1406
|
-
return a`<cre8-page-counter
|
|
192
|
+
displayTypes() {
|
|
193
|
+
return html `<cre8-page-counter
|
|
1407
194
|
currentPage=${this.currentPage}
|
|
1408
|
-
style="display:${this.display ===
|
|
195
|
+
style="display:${this.display === 'compact' ? 'flex' : 'none'};"
|
|
1409
196
|
totalResults=${this.totalResults}
|
|
1410
197
|
pageSize=${this._pageSize}
|
|
1411
198
|
display=${this.display}>
|
|
1412
199
|
</cre8-page-counter>`;
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
200
|
+
}
|
|
201
|
+
goToPage(page, buttonName) {
|
|
202
|
+
return this._goToPage(page, buttonName).bind(this);
|
|
203
|
+
}
|
|
204
|
+
handleKeydown(page, buttonName) {
|
|
205
|
+
return this._handleKeydown(page, buttonName);
|
|
206
|
+
}
|
|
207
|
+
render() {
|
|
208
|
+
const classNames = this.componentClassNames('cre8-c-pagination', {
|
|
209
|
+
'cre8-c-pagination--compact': this.display !== undefined && this.display === 'compact',
|
|
210
|
+
'cre8-c-pagination--icon-only': this.display !== undefined && this.display === 'icon-only',
|
|
211
|
+
});
|
|
212
|
+
return html `<nav
|
|
1426
213
|
aria-label="pagination"
|
|
1427
|
-
class=${
|
|
214
|
+
class=${classNames}>
|
|
1428
215
|
<slot></slot>
|
|
1429
|
-
${this.hideLastAndFirstButtons ?
|
|
216
|
+
${!this.hideLastAndFirstButtons ? html ` <cre8-button
|
|
1430
217
|
variant="tertiary"
|
|
1431
218
|
size="sm"
|
|
1432
219
|
text=""
|
|
1433
220
|
hideText
|
|
1434
221
|
part="icon"
|
|
1435
|
-
aria-disabled="${
|
|
222
|
+
aria-disabled="${ifDefined(this.hasNoPreviousPage)}"
|
|
1436
223
|
?disabled=${this.hasNoPreviousPage}
|
|
1437
|
-
@click=${this.goToPage(1,
|
|
1438
|
-
@keydown=${this.handleKeydown(1,
|
|
224
|
+
@click=${this.goToPage(1, 'First Page')}
|
|
225
|
+
@keydown=${this.handleKeydown(1, 'First Page')}
|
|
1439
226
|
|
|
1440
227
|
>
|
|
1441
228
|
<span slot="before">
|
|
1442
229
|
<cre8-icon
|
|
1443
230
|
className="cre8-c-pagination__icon"
|
|
1444
231
|
aria-label="First Page"
|
|
1445
|
-
svg=${
|
|
232
|
+
svg=${svgFirstPage}
|
|
1446
233
|
size="24">
|
|
1447
234
|
</cre8-icon>
|
|
1448
235
|
</span>
|
|
1449
|
-
</cre8-button>`}
|
|
236
|
+
</cre8-button>` : nothing}
|
|
1450
237
|
<cre8-button
|
|
1451
238
|
variant="tertiary"
|
|
1452
239
|
size="sm"
|
|
1453
240
|
hideText
|
|
1454
241
|
text=""
|
|
1455
242
|
part="icon"
|
|
1456
|
-
aria-disabled="${
|
|
243
|
+
aria-disabled="${ifDefined(this.hasNoPreviousPage)}"
|
|
1457
244
|
?disabled=${this.hasNoPreviousPage}
|
|
1458
|
-
@click=${this.goToPage(this._currentPage - 1,
|
|
1459
|
-
@keydown=${this.handleKeydown(this.currentPage - 1,
|
|
245
|
+
@click=${this.goToPage(this._currentPage - 1, 'Previous Page')}
|
|
246
|
+
@keydown=${this.handleKeydown(this.currentPage - 1, 'Previous Page')}
|
|
1460
247
|
|
|
1461
248
|
>
|
|
1462
249
|
<span slot="before">
|
|
@@ -1464,7 +251,7 @@ const N = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" x
|
|
|
1464
251
|
className="cre8-c-pagination__icon"
|
|
1465
252
|
aria-label="Previous Page"
|
|
1466
253
|
slot="before"
|
|
1467
|
-
svg=${
|
|
254
|
+
svg=${svgCaretLeft}
|
|
1468
255
|
size="24"
|
|
1469
256
|
|
|
1470
257
|
>
|
|
@@ -1473,59 +260,68 @@ const N = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" x
|
|
|
1473
260
|
</cre8-button>
|
|
1474
261
|
|
|
1475
262
|
${this.displayTypes()}
|
|
1476
|
-
${!this.display || this.display ===
|
|
263
|
+
${!this.display || this.display === 'default'
|
|
264
|
+
? html `${this.pageRange[this.pageRange.length - 1] > 1 && this.pageRange[0] !== 1
|
|
265
|
+
? html ` <cre8-icon
|
|
1477
266
|
aria-label="ellipsis"
|
|
1478
267
|
className="cre8-c-pagination__icon"
|
|
1479
|
-
slot="before" svg=${
|
|
268
|
+
slot="before" svg=${svgEllipsis}
|
|
1480
269
|
size="24">
|
|
1481
|
-
</cre8-icon>`
|
|
1482
|
-
|
|
270
|
+
</cre8-icon>`
|
|
271
|
+
: nothing}
|
|
272
|
+
${this.pageRange.map((page) => (page === this.currentPage
|
|
273
|
+
? html `<cre8-button variant="tertiary" tab-index="-1" text="${page}" class="icon-only" size="sm" id="current"></cre8-button>`
|
|
274
|
+
: html `<cre8-button
|
|
1483
275
|
variant="tertiary"
|
|
1484
276
|
size="sm"
|
|
1485
|
-
text="${
|
|
277
|
+
text="${page}"
|
|
1486
278
|
class="icon-only"
|
|
1487
|
-
id="${
|
|
1488
|
-
@click=${this.goToPage(
|
|
1489
|
-
@keydown=${this.handleKeydown(
|
|
1490
|
-
</cre8-button>`)}
|
|
1491
|
-
${this.pageRange[this.pageRange.length - 1] < this.totalPages
|
|
279
|
+
id="${page}"
|
|
280
|
+
@click=${this.goToPage(page, page.toString())}
|
|
281
|
+
@keydown=${this.handleKeydown(page, page.toString())}>
|
|
282
|
+
</cre8-button>`))}
|
|
283
|
+
${this.pageRange[this.pageRange.length - 1] < this.totalPages
|
|
284
|
+
? html ` <cre8-icon
|
|
1492
285
|
aria-label="ellipsis"
|
|
1493
286
|
className="cre8-c-pagination__icon"
|
|
1494
|
-
slot="before" svg=${
|
|
287
|
+
slot="before" svg=${svgEllipsis}
|
|
1495
288
|
size="24">
|
|
1496
|
-
</cre8-icon>`
|
|
289
|
+
</cre8-icon>`
|
|
290
|
+
: nothing}`
|
|
291
|
+
: nothing}
|
|
1497
292
|
<cre8-button
|
|
1498
293
|
variant="tertiary"
|
|
1499
294
|
size="sm"
|
|
1500
295
|
part="icon"
|
|
1501
296
|
hideText
|
|
1502
297
|
text=""
|
|
1503
|
-
aria-disabled="${
|
|
298
|
+
aria-disabled="${ifDefined(this.hasNoNextPage)}"
|
|
1504
299
|
?disabled=${this.hasNoNextPage}
|
|
1505
|
-
@click=${this.goToPage(this.currentPage + 1,
|
|
1506
|
-
@keydown=${this.handleKeydown(this.currentPage + 1,
|
|
300
|
+
@click=${this.goToPage(this.currentPage + 1, 'Next Page')}
|
|
301
|
+
@keydown=${this.handleKeydown(this.currentPage + 1, 'Next Page')}
|
|
1507
302
|
|
|
1508
303
|
>
|
|
1509
304
|
<span slot="before">
|
|
1510
305
|
<cre8-icon
|
|
1511
306
|
aria-label="Next Page"
|
|
1512
307
|
className="cre8-c-pagination__icon"
|
|
1513
|
-
slot="before" svg=${
|
|
308
|
+
slot="before" svg=${svgCaretRight}
|
|
1514
309
|
size="24">
|
|
1515
310
|
</cre8-icon>
|
|
1516
311
|
</span>
|
|
1517
312
|
</cre8-button>
|
|
1518
313
|
|
|
1519
|
-
${this.hideLastAndFirstButtons
|
|
314
|
+
${!this.hideLastAndFirstButtons
|
|
315
|
+
? html ` <cre8-button
|
|
1520
316
|
variant="tertiary"
|
|
1521
317
|
size="sm"
|
|
1522
318
|
hideText
|
|
1523
319
|
text=""
|
|
1524
320
|
part="icon"
|
|
1525
|
-
aria-disabled="${
|
|
321
|
+
aria-disabled="${ifDefined(this.hasNoNextPage)}"
|
|
1526
322
|
?disabled=${this.hasNoNextPage}
|
|
1527
|
-
@click=${this.goToPage(this.totalPages,
|
|
1528
|
-
@keydown=${this.handleKeydown(this.totalPages,
|
|
323
|
+
@click=${this.goToPage(this.totalPages, 'Last Page')}
|
|
324
|
+
@keydown=${this.handleKeydown(this.totalPages, 'Last Page')}
|
|
1529
325
|
|
|
1530
326
|
>
|
|
1531
327
|
<span slot="before">
|
|
@@ -1533,51 +329,52 @@ const N = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" x
|
|
|
1533
329
|
aria-label="Last Page"
|
|
1534
330
|
className="cre8-c-pagination__icon"
|
|
1535
331
|
slot="before"
|
|
1536
|
-
svg=${
|
|
332
|
+
svg=${svgLastPage}
|
|
1537
333
|
size="24"
|
|
1538
334
|
>
|
|
1539
335
|
</cre8-icon>
|
|
1540
336
|
</span>
|
|
1541
|
-
</cre8-button>`
|
|
337
|
+
</cre8-button>`
|
|
338
|
+
: nothing}
|
|
1542
339
|
|
|
1543
340
|
</nav>`;
|
|
1544
|
-
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
let r = u;
|
|
1550
|
-
l([
|
|
1551
|
-
f()
|
|
1552
|
-
], r.prototype, "_currentPage", 2);
|
|
1553
|
-
l([
|
|
1554
|
-
o({ reflect: !0, type: Number })
|
|
1555
|
-
], r.prototype, "totalResults", 2);
|
|
1556
|
-
l([
|
|
1557
|
-
o({ type: Number, reflect: !0 })
|
|
1558
|
-
], r.prototype, "pageSize", 1);
|
|
1559
|
-
l([
|
|
1560
|
-
f()
|
|
1561
|
-
], r.prototype, "_pageSize", 2);
|
|
1562
|
-
l([
|
|
1563
|
-
o({ reflect: !0, type: Number })
|
|
1564
|
-
], r.prototype, "visiblePages", 2);
|
|
1565
|
-
l([
|
|
1566
|
-
o({ type: String, reflect: !0 })
|
|
1567
|
-
], r.prototype, "display", 2);
|
|
1568
|
-
l([
|
|
1569
|
-
f()
|
|
1570
|
-
], r.prototype, "windowWidth", 2);
|
|
1571
|
-
l([
|
|
1572
|
-
P("cre8-button")
|
|
1573
|
-
], r.prototype, "buttons", 2);
|
|
1574
|
-
l([
|
|
1575
|
-
o({ type: Boolean, reflect: !0 })
|
|
1576
|
-
], r.prototype, "hideLastAndFirstButtons", 2);
|
|
1577
|
-
l([
|
|
1578
|
-
o({ reflect: !0, type: Number })
|
|
1579
|
-
], r.prototype, "currentPage", 1);
|
|
1580
|
-
customElements.get("cre8-pagination") === void 0 && customElements.define("cre8-pagination", r);
|
|
1581
|
-
export {
|
|
1582
|
-
r as Cre8Pagination
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
Cre8Pagination.styles = [styles];
|
|
344
|
+
Cre8Pagination.elementDefinitions = {
|
|
345
|
+
'cre8-button': Cre8Button,
|
|
1583
346
|
};
|
|
347
|
+
__decorate([
|
|
348
|
+
state()
|
|
349
|
+
], Cre8Pagination.prototype, "_currentPage", void 0);
|
|
350
|
+
__decorate([
|
|
351
|
+
property({ reflect: true, type: Number })
|
|
352
|
+
], Cre8Pagination.prototype, "totalResults", void 0);
|
|
353
|
+
__decorate([
|
|
354
|
+
property({ type: Number, reflect: true })
|
|
355
|
+
], Cre8Pagination.prototype, "pageSize", null);
|
|
356
|
+
__decorate([
|
|
357
|
+
state()
|
|
358
|
+
], Cre8Pagination.prototype, "_pageSize", void 0);
|
|
359
|
+
__decorate([
|
|
360
|
+
property({ reflect: true, type: Number })
|
|
361
|
+
], Cre8Pagination.prototype, "visiblePages", void 0);
|
|
362
|
+
__decorate([
|
|
363
|
+
property({ type: String, reflect: true })
|
|
364
|
+
], Cre8Pagination.prototype, "display", void 0);
|
|
365
|
+
__decorate([
|
|
366
|
+
state()
|
|
367
|
+
], Cre8Pagination.prototype, "windowWidth", void 0);
|
|
368
|
+
__decorate([
|
|
369
|
+
queryAll('cre8-button')
|
|
370
|
+
], Cre8Pagination.prototype, "buttons", void 0);
|
|
371
|
+
__decorate([
|
|
372
|
+
property({ type: Boolean, reflect: true })
|
|
373
|
+
], Cre8Pagination.prototype, "hideLastAndFirstButtons", void 0);
|
|
374
|
+
__decorate([
|
|
375
|
+
property({ reflect: true, type: Number })
|
|
376
|
+
], Cre8Pagination.prototype, "currentPage", null);
|
|
377
|
+
if (customElements.get('cre8-pagination') === undefined) {
|
|
378
|
+
customElements.define('cre8-pagination', Cre8Pagination);
|
|
379
|
+
}
|
|
380
|
+
//# sourceMappingURL=pagination.js.map
|