@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"danger-button.styles.js","sourceRoot":"","sources":["../../../components/danger-button/danger-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAylChB,CAAC;AACH,eAAe,MAAM,CAAC","sourcesContent":["import { css } from 'lit';\nconst styles = css`@charset \"UTF-8\";\n.cre8-u-content-knockout-brand {\n color: var(----cre8-color-content-knockout-brand);\n}\n\n.cre8-u-is-hidden {\n display: none !important;\n visibility: hidden !important;\n}\n\n.cre8-u-is-vishidden {\n position: absolute !important;\n overflow: hidden;\n width: 1px;\n height: 1px;\n padding: 0;\n border: 0;\n clip: rect(1px, 1px, 1px, 1px);\n}\n\n@media all and (min-width: 23.4375rem) {\n .cre8-u-hide-sm {\n display: none !important;\n }\n}\n@media all and (min-width: 35rem) {\n .cre8-u-hide-sm-2 {\n display: none !important;\n }\n}\n@media all and (min-width: 48rem) {\n .cre8-u-hide-md {\n display: none !important;\n }\n}\n@media all and (min-width: 60rem) {\n .cre8-u-hide-lg {\n display: none !important;\n }\n}\n@media all and (min-width: 75rem) {\n .cre8-u-hide-xl {\n display: none !important;\n }\n}\n@media all and (max-width: 23.4375rem) {\n .cre8-u-show-sm {\n display: none !important;\n }\n}\n@media all and (max-width: 35rem) {\n .cre8-u-show-sm-2 {\n display: none !important;\n }\n}\n@media all and (max-width: 48rem) {\n .cre8-u-show-md {\n display: none !important;\n }\n}\n@media all and (max-width: 60rem) {\n .cre8-u-show-lg {\n display: none !important;\n }\n}\n@media all and (max-width: 75rem) {\n .cre8-u-show-xl {\n display: none !important;\n }\n}\n.cre8-u-margin-none {\n margin: 0 !important;\n}\n\n.cre8-u-margin-sm {\n margin: size(1) !important;\n}\n\n.cre8-u-margin-md {\n margin: size(2) !important;\n}\n\n.cre8-u-margin-lg {\n margin: size(3) !important;\n}\n\n.cre8-u-margin-xl {\n margin: size(4) !important;\n}\n\n.cre8-u-margin-xxl {\n margin: size(8) !important;\n}\n\n.cre8-u-margin-top-none {\n margin-top: 0 !important;\n}\n\n.cre8-u-margin-top-sm {\n margin-top: size(1) !important;\n}\n\n.cre8-u-margin-top-md {\n margin-top: size(2) !important;\n}\n\n.cre8-u-margin-top-lg {\n margin-top: size(3) !important;\n}\n\n.cre8-u-margin-top-xl {\n margin-top: size(4) !important;\n}\n\n.cre8-u-margin-top-xxl {\n margin-top: size(8) !important;\n}\n\n.cre8-u-margin-right-none {\n margin-right: 0 !important;\n}\n\n.cre8-u-margin-right-sm {\n margin-right: size(1) !important;\n}\n\n.cre8-u-margin-right-md {\n margin-right: size(2) !important;\n}\n\n.cre8-u-margin-right-lg {\n margin-right: size(3) !important;\n}\n\n.cre8-u-margin-right-xl {\n margin-right: size(4) !important;\n}\n\n.cre8-u-margin-right-xxl {\n margin-right: size(8) !important;\n}\n\n.cre8-u-margin-bottom-none {\n margin-bottom: 0 !important;\n}\n\n.cre8-u-margin-bottom-sm {\n margin-bottom: size(1) !important;\n}\n\n.cre8-u-margin-bottom-md {\n margin-bottom: size(2) !important;\n}\n\n.cre8-u-margin-bottom-lg {\n margin-bottom: size(3) !important;\n}\n\n.cre8-u-margin-bottom-xl {\n margin-bottom: size(4) !important;\n}\n\n.cre8-u-margin-bottom-xxl {\n margin-bottom: size(8) !important;\n}\n\n.cre8-u-margin-bottom-xl-xxl {\n margin-bottom: size(4) !important;\n}\n\n@media all and (min-width: 768px) {\n .cre8-u-margin-bottom-xl-xxl {\n margin-bottom: size(8) !important;\n }\n}\n.cre8-u-margin-left-none {\n margin-left: 0 !important;\n}\n\n.cre8-u-margin-left-sm {\n margin-left: size(1) !important;\n}\n\n.cre8-u-margin-left-md {\n margin-left: size(2) !important;\n}\n\n.cre8-u-margin-left-lg {\n margin-left: size(3) !important;\n}\n\n.cre8-u-margin-left-xl {\n margin-left: size(4) !important;\n}\n\n.cre8-u-margin-left-xxl {\n margin-left: size(8) !important;\n}\n\n.cre8-u-padding-none {\n padding: 0 !important;\n}\n\n.cre8-u-padding-sm {\n padding: size(1) !important;\n}\n\n.cre8-u-padding-md {\n padding: size(2) !important;\n}\n\n.cre8-u-padding-lg {\n padding: size(3) !important;\n}\n\n.cre8-u-padding-xl {\n padding: size(4) !important;\n}\n\n.cre8-u-padding-xxl {\n padding: size(8) !important;\n}\n\n.cre8-u-padding-top-none {\n padding-top: 0 !important;\n}\n\n.cre8-u-padding-top-sm {\n padding-top: size(1) !important;\n}\n\n.cre8-u-padding-top-md {\n padding-top: size(2) !important;\n}\n\n.cre8-u-padding-top-lg {\n padding-top: size(3) !important;\n}\n\n.cre8-u-padding-top-xl {\n padding-top: size(4) !important;\n}\n\n.cre8-u-padding-top-xxl {\n padding-top: size(8) !important;\n}\n\n.cre8-u-padding-right-none {\n padding-right: 0 !important;\n}\n\n.cre8-u-padding-right-sm {\n padding-right: size(1) !important;\n}\n\n.cre8-u-padding-right-md {\n padding-right: size(2) !important;\n}\n\n.cre8-u-padding-right-lg {\n padding-right: size(3) !important;\n}\n\n.cre8-u-padding-right-xl {\n padding-right: size(4) !important;\n}\n\n.cre8-u-padding-right-xxl {\n padding-right: size(8) !important;\n}\n\n.cre8-u-padding-bottom-none {\n padding-bottom: 0 !important;\n}\n\n.cre8-u-padding-bottom-sm {\n padding-bottom: size(1) !important;\n}\n\n.cre8-u-padding-bottom-md {\n padding-bottom: size(2) !important;\n}\n\n.cre8-u-padding-bottom-lg {\n padding-bottom: size(3) !important;\n}\n\n.cre8-u-padding-bottom-xl {\n padding-bottom: size(4) !important;\n}\n\n.cre8-u-padding-bottom-xxl {\n padding-bottom: size(8) !important;\n}\n\n.cre8-u-padding-left-none {\n padding-left: 0 !important;\n}\n\n.cre8-u-padding-left-sm {\n padding-left: size(1) !important;\n}\n\n.cre8-u-padding-left-md {\n padding-left: size(2) !important;\n}\n\n.cre8-u-padding-left-lg {\n padding-left: size(3) !important;\n}\n\n.cre8-u-padding-left-xl {\n padding-left: size(4) !important;\n}\n\n.cre8-u-padding-left-xxl {\n padding-left: size(8) !important;\n}\n\n.cre8-u-display-flex {\n display: flex !important;\n}\n\n.cre8-u-display-block {\n display: block !important;\n}\n\nbody {\n font-family: var(--cre8-typography-body-default-font-family);\n font-size: var(--cre8-typography-body-default-font-size);\n font-weight: var(--cre8-typography-body-default-font-weight);\n line-height: var(--cre8-typography-body-default-line-height);\n -webkit-text-decoration: var(--cre8-typography-body-default-text-decoration);\n text-decoration: var(--cre8-typography-body-default-text-decoration);\n text-transform: var(--cre8-typography-body-default-text-transform);\n display: flex;\n flex-direction: column;\n padding: 0;\n margin: 0;\n color: var(--cre8-color-content-default);\n background: var(--background-default);\n}\n\n@media all and (min-width: 60rem) {\n .page-container {\n background: linear-gradient(90deg, #fff 0, #fff 66.66%, #f8f8f9 0, #f8f8f9 0);\n }\n}\n.band__inner {\n margin-left: 2rem;\n margin-right: 2rem;\n}\n\n@media all and (min-width: 60rem) {\n .band__inner {\n margin-right: 0;\n }\n}\nimg {\n max-width: 100%;\n height: auto;\n}\n\n/**\n * Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/\n */\n*,\n::slotted(*),\n*:before,\n*:after {\n box-sizing: border-box;\n}\n\n:root {\n --size-base-unit: 0.5rem;\n}\n\n/**\n * RTL support for values logical properties can't automatically adjust for\n * 1) Percentage based horizontal translate values need to be flipped\n * 2) Background gradients using \"to-right\" or \"to-left\" need to be switched to using deg values.\n * 3) Inverse items that have 45degs\n */\n[dir=rtl] {\n --rtlTranslateX: 50%;\n /* 1 */\n --rtlGradientToRight: 270deg;\n /* 2 */\n --rtlRotate45Inverse: -45deg;\n /* 3 */\n}\n\n/**\n * Visible focus outline for elements on a light background\n */\n/**\n * Visible focus outline for elements with an error status\n */\n/**\n * Visible focus outline for elements on a dark background\n */\n/**\n* Focus state for themes that need a dashed outline for focus\n* state\n**/\n/**\n * Invisible focus outline for elements that need a more visible\n * focus state for high-contrast mode\n */\n/**\n * Visually hidden from display\n */\n/*\n=======\nAnimations\n=======\n*/\n:host {\n --cre8-z-index-1: 1;\n --cre8-z-index-50: 50;\n --cre8-z-index-100: 100;\n --cre8-z-index-200: 200;\n --cre8-z-index-1030: 1030;\n --cre8-anim-fade-quick: 0.35s;\n --cre8-anim-ease: ease;\n}\n\n@keyframes fadeIn {\n 100% {\n opacity: 1;\n }\n}\n@keyframes slideIn {\n 100% {\n transform: translateX(0);\n }\n}\n@keyframes slideInFwd {\n 100% {\n width: 272px;\n height: 272px;\n }\n}\n@keyframes slideOutRight {\n 100% {\n width: 272px;\n height: 272px;\n }\n}\n@keyframes slideUp {\n 100% {\n transform: translateY(0);\n }\n}\n@media (width >= 481px) {\n @keyframes slideInFwd {\n 100% {\n width: 417px;\n height: 417px;\n }\n }\n @keyframes slideOutRight {\n 100% {\n width: 417px;\n height: 417px;\n }\n }\n}\n@media (width >= 48rem) {\n @keyframes slideInFwd {\n 100% {\n width: 330px;\n height: 330px;\n }\n }\n @keyframes slideOutRight {\n 100% {\n width: 330px;\n height: 330px;\n transform: translateX(calc(100vw - 45px));\n }\n }\n}\n@media (width >= 60rem) {\n @keyframes slideInFwd {\n 100% {\n width: 460px;\n height: 460px;\n }\n }\n @keyframes slideOutRight {\n 100% {\n width: 460px;\n height: 460px;\n transform: translateX(calc(100vw - 45px));\n }\n }\n}\n@media (width >= 75rem) {\n @keyframes slideInFwd {\n 100% {\n width: 592px;\n height: 591px;\n }\n }\n @keyframes slideOutRight {\n 100% {\n width: 592px;\n height: 591px;\n transform: translateX(calc(100vw - 45px));\n }\n }\n}\n@media (width >= 87.5rem) {\n @keyframes slideOutRight {\n 100% {\n width: 592px;\n height: 591px;\n transform: translateX(calc(100vw - 120px));\n }\n }\n}\n@media (width >= 2200px) {\n @keyframes slideOutRight {\n 100% {\n width: 592px;\n height: 591px;\n transform: translateX(calc(100vw - 592px));\n }\n }\n}\nspan.ripple {\n position: absolute;\n border-radius: 50%;\n transform: scale(0);\n animation: ripple 600ms linear;\n background-color: var(--ripple-bg-color);\n}\n\n@keyframes ripple {\n to {\n transform: scale(4);\n opacity: 1;\n }\n}\n:root {\n --size-base-unit: 0.5rem;\n}\n\n/**\n * RTL support for values logical properties can't automatically adjust for\n * 1) Percentage based horizontal translate values need to be flipped\n * 2) Background gradients using \"to-right\" or \"to-left\" need to be switched to using deg values.\n * 3) Inverse items that have 45degs\n */\n[dir=rtl] {\n --rtlTranslateX: 50%;\n /* 1 */\n --rtlGradientToRight: 270deg;\n /* 2 */\n --rtlRotate45Inverse: -45deg;\n /* 3 */\n}\n\n/**\n * Visible focus outline for elements on a light background\n */\n/**\n * Visible focus outline for elements with an error status\n */\n/**\n * Visible focus outline for elements on a dark background\n */\n/**\n* Focus state for themes that need a dashed outline for focus\n* state\n**/\n/**\n * Invisible focus outline for elements that need a more visible\n * focus state for high-contrast mode\n */\n/**\n * Visually hidden from display\n */\n:host {\n display: inline-flex;\n}\n\n:host([fullWidth]) {\n display: flex;\n}\n\n/**\n * 1) Danger Button or link that has functionality to it\n */\n/**\n * Primary button\n */\n.cre8-c-danger-button {\n font-family: var(--cre8-typography-label-default-font-family);\n font-size: var(--cre8-typography-label-default-font-size);\n font-weight: var(--cre8-typography-label-default-font-weight);\n line-height: var(--cre8-typography-label-default-line-height);\n text-decoration: var(--cre8-typography-label-default-text-decoration);\n text-transform: var(--cre8-typography-label-default-text-transform);\n width: var(--cre8-button-width, auto);\n height: var(--cre8-button-height, auto);\n min-width: var(--cre8-button-min-width, auto);\n min-height: var(--cre8-button-min-height, auto);\n justify-content: center;\n text-align: center;\n margin-top: var(--cre8-button-margin-top, 0);\n margin-bottom: var(--cre8-button-margin-bottom, 0);\n margin-left: var(--cre8-button-margin-left, 0);\n margin-right: var(--cre8-button-margin-right, 0);\n display: inline-flex;\n align-items: center;\n border-width: var(--cre8-border-width-button-default);\n box-shadow: var(--cre8-shadow-button);\n padding-top: var(--cre8-button-padding-vertical-medium);\n padding-right: var(--cre8-button-padding-horizontal-medium);\n padding-bottom: var(--cre8-button-padding-vertical-medium);\n padding-left: var(--cre8-button-padding-horizontal-medium);\n margin: 0;\n cursor: pointer;\n border-style: var(--cre8-border-style-default);\n transition: revert;\n transform: revert;\n white-space: nowrap;\n}\n.cre8-c-danger-button:hover, .cre8-c-danger-button:focus, .cre8-c-danger-button:active, .cre8-c-danger-button:focus-visible {\n border-style: var(--cre8-border-style-default);\n box-shadow: none;\n transform: revert;\n transition: revert;\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary {\n background: var(--cre8-color-button-primary-danger-bg);\n border-width: var(--cre8-border-width-button-default);\n border-color: var(--cre8-color-button-primary-danger-border);\n border-radius: var(--cre8-border-radius-button);\n box-shadow: var(--cre8-shadow-button);\n color: var(--cre8-color-button-primary-danger-content);\n --cre8-icon-fill: var(--cre8-color-button-primary-danger-content);\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary:hover, .cre8-c-danger-button.cre8-c-danger-button--primary:focus {\n box-shadow: none;\n --cre8-icon-fill: var(--cre8-color-button-primary-danger-content-hover);\n color: var(--cre8-color-button-primary-danger-content-hover);\n border-color: var(--cre8-color-button-primary-danger-border-hover);\n background: var(--cre8-color-button-primary-danger-bg-hover);\n text-decoration: none;\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary:hover:focus, .cre8-c-danger-button.cre8-c-danger-button--primary:focus:focus {\n outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);\n outline-offset: 0.125rem;\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary:active, .cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--loading {\n box-shadow: none;\n color: var(--cre8-color-button-primary-danger-content-active);\n --cre8-icon-fill: var(--cre8-color-button-primary-danger-content-active);\n border-color: var(--cre8-color-button-primary-danger-border-active);\n background-color: var(--cre8-color-button-primary-danger-bg-active);\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary:focus-visible {\n outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);\n outline-offset: 0.125rem;\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--loading {\n cursor: not-allowed;\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary {\n /**\n * Disabled primary and secondary button\n */\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary:disabled {\n box-shadow: none;\n background-color: var(--cre8-color-button-primary-danger-bg-disabled);\n border-color: var(--cre8-color-button-primary-danger-border-disabled);\n color: var(--cre8-color-button-primary-danger-content-disabled);\n --cre8-icon-fill: var(--cre8-color-button-primary-danger-content-disabled);\n cursor: not-allowed;\n outline: none;\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary:disabled:hover, .cre8-c-danger-button.cre8-c-danger-button--primary:disabled:focus, .cre8-c-danger-button.cre8-c-danger-button--primary:disabled:active, .cre8-c-danger-button.cre8-c-danger-button--primary:disabled:focus-visible {\n outline: none;\n background-color: var(--cre8-color-button-primary-danger-bg-disabled);\n border-color: var(--cre8-color-button-primary-danger-border-disabled);\n color: var(--cre8-color-button-primary-danger-content-disabled);\n --cre8-icon-fill: var(--cre8-color-button-primary-danger-content-disabled);\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted {\n background-color: var(--cre8-color-button-primary-danger-inverse-bg);\n border-color: var(--cre8-color-button-primary-danger-inverse-border);\n color: var(--cre8-color-button-primary-danger-inverse-content);\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted:hover, .cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted:focus {\n background-color: var(--cre8-color-button-primary-danger-inverse-bg-hover);\n border-color: var(--cre8-color-button-primary-danger-inverse-border-hover);\n color: var(--cre8-color-button-primary-danger-inverse-content-hover);\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted:focus {\n outline-color: var(--cre8-color-button-primary-danger-inverse-outline);\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted:active {\n background-color: var(--cre8-color-button-primary-danger-inverse-bg-active);\n border-color: var(--cre8-color-button-primary-danger-inverse-border-active);\n color: var(--cre8-color-button-primary-danger-inverse-content-active);\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted:active.cre8-c-danger-button--loading {\n --cre8-icon-fill: var(--cre8-color-button-primary-danger-content-active);\n}\n.cre8-c-danger-button.cre8-c-danger-button--primary.cre8-c-danger-button--inverted:disabled {\n outline: none;\n cursor: not-allowed;\n background-color: var(--cre8-color-button-primary-danger-inverse-bg-disabled);\n border-color: var(--cre8-color-button-primary-danger-inverse-border-disabled);\n color: var(--cre8-color-button-primary-danger-inverse-content-disabled);\n}\n.cre8-c-danger-button {\n /**\n * Secondary button\n * The icon button shares the styles of the standard secondary button\n */\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary {\n background-color: var(--cre8-color-button-secondary-danger-bg);\n border-color: var(--cre8-color-button-secondary-danger-border);\n color: var(--cre8-color-button-secondary-danger-content);\n --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content);\n border-radius: var(--cre8-border-radius-button);\n border-width: var(--cre8-border-width-button-default);\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary:hover, .cre8-c-danger-button.cre8-c-danger-button--secondary:focus {\n background-color: var(--cre8-color-button-secondary-danger-bg-hover);\n border-color: var(--cre8-color-button-secondary-danger-border-hover);\n color: var(--cre8-color-button-secondary-danger-content-hover);\n --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-hover);\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary:hover:focus, .cre8-c-danger-button.cre8-c-danger-button--secondary:focus:focus {\n outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);\n outline-offset: 0.125rem;\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary:active, .cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--loading {\n transition: none;\n transform: none;\n background-color: var(--cre8-color-button-secondary-danger-bg-active);\n border-color: var(--cre8-color-button-secondary-danger-border-active);\n color: var(--cre8-color-button-secondary-danger-content-active);\n --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-active);\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary:focus-visible {\n outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);\n outline-offset: 0.125rem;\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--loading {\n cursor: not-allowed;\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary:disabled {\n box-shadow: none;\n background-color: var(--cre8-color-button-secondary-danger-bg-disabled);\n border-color: var(--cre8-color-button-secondary-danger-border-disabled);\n color: var(--cre8-color-button-secondary-danger-content-disabled);\n --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-disabled);\n outline: none;\n border-radius: var(--cre8-border-radius-button);\n border-width: var(--cre8-border-width-button-default);\n cursor: not-allowed;\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary:disabled:hover, .cre8-c-danger-button.cre8-c-danger-button--secondary:disabled:focus, .cre8-c-danger-button.cre8-c-danger-button--secondary:disabled:active, .cre8-c-danger-button.cre8-c-danger-button--secondary:disabled:focus-visible {\n outline: none;\n background-color: var(--cre8-color-button-secondary-danger-bg-disabled);\n border-color: var(--cre8-color-button-secondary-danger-border-disabled);\n color: var(--cre8-color-button-secondary-danger-content-disabled);\n --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-disabled);\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted {\n background-color: var(--cre8-color-button-secondary-danger-inverse-bg);\n border-color: var(--cre8-color-button-secondary-danger-inverse-border);\n color: var(--cre8-color-button-secondary-danger-inverse-content);\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted:hover, .cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted:focus {\n background-color: var(--cre8-color-button-secondary-danger-inverse-bg-hover);\n border-color: var(--cre8-color-button-secondary-danger-inverse-border-hover);\n color: var(--cre8-color-button-secondary-danger-inverse-content-hover);\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted:focus {\n outline-color: var(--cre8-color-button-secondary-danger-inverse-outline);\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted:active {\n background-color: var(--cre8-color-button-secondary-danger-inverse-bg-active);\n border-color: var(--cre8-color-button-secondary-danger-inverse-border-active);\n color: var(--cre8-color-button-secondary-danger-inverse-content-active);\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted:active.cre8-c-danger-button--loading {\n --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-active);\n}\n.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--inverted:disabled {\n outline: none;\n cursor: not-allowed;\n background-color: var(--cre8-color-button-secondary-danger-inverse-bg-disabled);\n border-color: var(--cre8-color-button-secondary-danger-inverse-border-disabled);\n color: var(--cre8-color-button-secondary-danger-inverse-content-disabled);\n}\n.cre8-c-danger-button {\n /**\n * Tertiary button\n */\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary {\n border-radius: var(--cre8-border-radius-button);\n background-color: var(--cre8-color-button-tertiary-danger-bg);\n border-width: var(--cre8-border-width-button-default);\n border-color: var(--cre8-color-button-tertiary-danger-border);\n color: var(--cre8-color-button-tertiary-danger-content);\n --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content);\n box-shadow: none;\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary:hover, .cre8-c-danger-button.cre8-c-danger-button--tertiary:focus {\n border-radius: var(--cre8-border-radius-button);\n background-color: var(--cre8-color-button-tertiary-danger-bg-hover);\n border-width: var(--cre8-border-width-button-default, --cre8-border-width-none);\n border-color: var(--cre8-color-button-tertiary-danger-border-hover);\n color: var(--cre8-color-button-tertiary-danger-content-hover);\n --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content-hover);\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary:hover:focus, .cre8-c-danger-button.cre8-c-danger-button--tertiary:focus:focus {\n outline: var(--cre8-border-width-focus) var(--cre8-border-style-button-tertiary-outline-focus) var(--cre8-color-border-active-outline);\n outline-offset: 0.125rem;\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary:active, .cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--loading {\n border-radius: var(--cre8-border-radius-button);\n background-color: var(--cre8-color-button-tertiary-danger-bg-active);\n border-color: var(--cre8-color-button-tertiary-danger-border-active);\n border-width: var(--cre8-border-width-button-default);\n color: var(--cre8-color-button-tertiary-danger-content-active);\n --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content-active);\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary:focus-visible {\n outline: var(--cre8-border-width-focus) var(--cre8-border-style-button-tertiary-outline-focus) var(--cre8-color-border-active-outline);\n outline-offset: 0.125rem;\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--loading {\n cursor: not-allowed;\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary:disabled {\n background-color: var(--cre8-color-button-tertiary-danger-bg-disabled);\n border-color: transparent;\n color: var(--cre8-color-button-tertiary-danger-content-disabled);\n --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content-disabled);\n outline: none;\n box-shadow: none;\n cursor: not-allowed;\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary:disabled:hover, .cre8-c-danger-button.cre8-c-danger-button--tertiary:disabled:focus {\n outline: none;\n box-shadow: none;\n background-color: var(--cre8-color-button-tertiary-danger-bg-disabled);\n color: var(--cre8-color-button-tertiary-danger-content-disabled);\n --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content-disabled);\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary:disabled:active, .cre8-c-danger-button.cre8-c-danger-button--tertiary:disabled:focus-visible {\n outline: none;\n box-shadow: none;\n background-color: var(--cre8-color-button-tertiary-danger-bg-disabled);\n color: var(--cre8-color-button-tertiary-danger-content-disabled);\n --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content-disabled);\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted {\n background-color: var(--cre8-color-button-tertiary-danger-inverse-bg);\n border-color: var(--cre8-color-button-tertiary-danger-inverse-border);\n color: var(--cre8-color-button-tertiary-danger-inverse-content);\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted:hover, .cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted:focus {\n background-color: var(--cre8-color-button-tertiary-danger-inverse-bg-hover);\n border-color: var(--cre8-color-button-tertiary-danger-inverse-border-hover);\n color: var(--cre8-color-button-tertiary-danger-inverse-content-hover);\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted:focus {\n outline-color: var(--cre8-color-button-tertiary-danger-inverse-outline);\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted:active {\n background-color: var(--cre8-color-button-tertiary-danger-inverse-bg-active);\n border-color: var(--cre8-color-button-tertiary-danger-inverse-border-active);\n color: var(--cre8-color-button-tertiary-danger-inverse-content-active);\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted:active.cre8-c-danger-button--loading {\n --cre8-icon-fill: var(--cre8-color-button-tertiary-danger-content-active);\n}\n.cre8-c-danger-button.cre8-c-danger-button--tertiary.cre8-c-danger-button--inverted:disabled {\n outline: none;\n cursor: not-allowed;\n background-color: var(--cre8-color-button-tertiary-danger-inverse-bg-disabled);\n border-color: var(--cre8-color-button-tertiary-danger-inverse-border-disabled);\n color: var(--cre8-color-button-tertiary-danger-inverse-content-disabled);\n}\n.cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--split-button-text {\n border-radius: var(--cre8-border-radius-button) var(--cre8-border-radius-none) var(--cre8-border-radius-none) var(--cre8-border-radius-button);\n border-color: var(--cre8-color-button-secondary-danger-border);\n border-width: var(--cre8-border-width-button-default);\n color: var(--cre8-color-button-secondary-danger-content);\n}\n.cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--split-button-text:active, .cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--split-button-text:focus-visible {\n outline: none;\n}\n.cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--split-button-text.cre8-c-danger-button--lg {\n padding: var(--cre8-button-padding-vertical-large) var(--cre8-button-padding-horizontal-large);\n}\n.cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--secondary.cre8-c-danger-button--split-button-text.cre8-c-danger-button--sm {\n padding: var(--cre8-button-padding-vertical-small) var(--cre8-button-padding-horizontal-small);\n}\n.cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--icon-only.cre8-c-danger-button--split-button-caret {\n padding: var(--cre8-button-padding-vertical-medium);\n border-radius: var(--cre8-border-radius-none) var(--cre8-border-radius-button) var(--cre8-border-radius-button) var(--cre8-border-radius-none);\n height: 100%;\n border-left: none !important;\n border-collapse: collapse;\n background: var(--cre8-color-button-secondary-danger-bg);\n border-color: var(--cre8-color-button-secondary-danger-border);\n border-width: var(--cre8-border-width-button-default);\n color: var(--cre8-color-button-secondary-danger-content);\n --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content);\n}\n.cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--icon-only.cre8-c-danger-button--split-button-caret:hover, .cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--icon-only.cre8-c-danger-button--split-button-caret:focus {\n background: var(--cre8-color-button-secondary-danger-bg-hover);\n border-color: var(--cre8-color-button-secondary-danger-border-hover);\n --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-hover);\n outline: none;\n border-left: none;\n border-collapse: collapse;\n}\n.cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--icon-only.cre8-c-danger-button--split-button-caret:active, .cre8-c-danger-button.cre8-c-danger-button.cre8-c-danger-button--icon-only.cre8-c-danger-button--split-button-caret:focus-visible {\n background: var(--cre8-color-button-secondary-danger-bg-active);\n border-color: var(--cre8-color-button-secondary-danger-border-active);\n --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-active);\n outline: none;\n border-left: none;\n border-collapse: collapse;\n}\n\n.cre8-c-danger-button--lg {\n padding: var(--cre8-button-padding-vertical-large);\n}\n\n.cre8-c-danger-button--sm {\n padding: var(--cre8-button-padding-vertical-small);\n}\n\n.cre8-c-danger-button--icon-only {\n padding: var(--cre8-button-padding-vertical-small);\n color: var(--cre8-icon-fill, currentColor);\n}\n\n/**\n * Full-width button\n */\n.cre8-c-danger-button--full-width {\n width: 100%;\n display: flex;\n}\n\n/**\n * Small button\n */\n.cre8-c-danger-button--sm {\n font-family: var(--cre8-typography-label-small-font-family);\n font-size: var(--cre8-typography-label-small-font-size);\n font-weight: var(--cre8-typography-label-small-font-weight);\n line-height: var(--cre8-typography-label-small-line-height);\n text-decoration: var(--cre8-typography-label-small-text-decoration);\n text-transform: var(--cre8-typography-label-small-text-transform);\n padding-top: var(--cre8-button-padding-vertical-small);\n padding-right: var(--cre8-button-padding-horizontal-small);\n padding-bottom: var(--cre8-button-padding-vertical-small);\n padding-left: var(--cre8-button-padding-horizontal-small);\n}\n\n/**\n * Large button\n */\n.cre8-c-danger-button--lg {\n font-family: var(--cre8-typography-label-large-font-family);\n font-size: var(--cre8-typography-label-large-font-size);\n font-weight: var(--cre8-typography-label-large-font-weight);\n line-height: var(--cre8-typography-label-large-line-height);\n text-decoration: var(--cre8-typography-label-large-text-decoration);\n text-transform: var(--cre8-typography-label-large-text-transform);\n padding-top: var(--cre8-button-padding-vertical-large);\n padding-right: var(--cre8-button-padding-horizontal-large);\n padding-bottom: var(--cre8-button-padding-vertical-large);\n padding-left: var(--cre8-button-padding-horizontal-large);\n}\n\n/**\n * Icon within small button\n */\n.cre8-c-danger-button--sm cre8-icon {\n --cre8-icon-height: var(--cre8-icon-size-small);\n --cre8-icon-width: var(--cre8-icon-size-small);\n /**\n * Button text directly after button icon within small button\n */\n}\n\n/**\n * Icon within large button\n */\n.cre8-c-danger-button--lg cre8-icon {\n --cre8-icon-height: var(--cre8-icon-size-large);\n --cre8-icon-width: var(--cre8-icon-size-large);\n}\n\n::slotted(*) {\n margin-right: 0;\n}\n\n/**\n * Button icon directly before button text\n */\ncre8-icon + .cre8-c-danger-button__text:not(.cre8-u-is-vishidden) {\n margin-left: 0.5rem;\n display: inline-flex;\n}\n\n/**\n * Button icon directly after button text\n */\n.cre8-c-danger-button__text:not(.cre8-u-is-vishidden) + cre8-icon {\n margin-left: 0.5rem;\n display: inline-flex;\n}\n\n/**\n * Button icon only\n */\n.cre8-c-danger-button:has(.cre8-c-danger-button__text.cre8-u-is-vishidden) + cre8-icon {\n border-radius: var(--cre8-border-radius-button);\n}\n\n.cre8-c-danger-button__text.cre8-u-is-vishidden + cre8-icon {\n margin-left: 0px;\n margin-right: 0px;\n display: flex;\n}\n\n.cre8-c-danger-button__text.cre8-u-is-vishidden {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.cre8-c-danger-button--primary.cre8-c-danger-button--loading {\n --cre8-icon-fill: var(--cre8-color-content-knockout);\n}\n\n.cre8-c-danger-button--secondary.cre8-c-danger-button--loading,\n.cre8-c-danger-button--tertiary.cre8-c-danger-button--loading {\n --cre8-icon-fill: var(--cre8-color-button-secondary-danger-content-active);\n}\n\n/**\n * Aria live span\n */\n.cre8-u-is-vishidden {\n --cre8-icon-height: 0px;\n --cre8-icon-width: 0px;\n max-width: fit-content;\n min-width: 0px;\n width: auto;\n height: auto;\n max-height: fit-content;\n min-width: 0px;\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\ncre8-icon.cre8-u-is-vishidden {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\ncre8-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\nspan.cre8-c-danger-button__icon {\n margin-left: 0.5rem;\n max-width: fit-content;\n min-width: 0px;\n width: auto;\n height: auto;\n max-height: fit-content;\n min-width: 0px;\n}`;\nexport default styles;\n"]}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { TemplateResult } from 'lit';
|
|
2
|
+
import { Cre8Element } from '../../cre8-element';
|
|
3
|
+
import '../../icon/icon';
|
|
4
|
+
import '../calendar-month-modal/calendar-month-modal';
|
|
5
|
+
import '../calendar-year-modal/calendar-year-modal';
|
|
6
|
+
import '../calendar-navigation/calendar-navigation';
|
|
7
|
+
import '../../button/button';
|
|
8
|
+
export interface DateConfig {
|
|
9
|
+
locale: string;
|
|
10
|
+
today: Date;
|
|
11
|
+
weekInfo: {
|
|
12
|
+
firstDay: number;
|
|
13
|
+
weekend: Array<number>;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export interface DateFormatOptions {
|
|
17
|
+
weekday: string;
|
|
18
|
+
year: string;
|
|
19
|
+
month: string;
|
|
20
|
+
day: string;
|
|
21
|
+
}
|
|
22
|
+
export declare enum CalendarModal {
|
|
23
|
+
Month = "month",
|
|
24
|
+
Year = "year",
|
|
25
|
+
None = "none"
|
|
26
|
+
}
|
|
27
|
+
export declare class Cre8Calendar extends Cre8Element {
|
|
28
|
+
static styles: import("lit").CSSResult[];
|
|
29
|
+
/**
|
|
30
|
+
* Query the navigation wrapper
|
|
31
|
+
*/
|
|
32
|
+
_navWrapper: HTMLElement;
|
|
33
|
+
hasShortcuts?: boolean;
|
|
34
|
+
_activeModal?: CalendarModal;
|
|
35
|
+
get activeModal(): CalendarModal;
|
|
36
|
+
set activeModal(activeModal: CalendarModal);
|
|
37
|
+
_fieldDate?: string;
|
|
38
|
+
get fieldDate(): string;
|
|
39
|
+
set fieldDate(newFieldDate: string);
|
|
40
|
+
_currentDate?: Date;
|
|
41
|
+
get currentDate(): Date;
|
|
42
|
+
set currentDate(newDate: Date);
|
|
43
|
+
locale: string;
|
|
44
|
+
weekDays: Array<string>;
|
|
45
|
+
dateConfig: DateConfig;
|
|
46
|
+
dateFormatOptions: DateFormatOptions;
|
|
47
|
+
constructor();
|
|
48
|
+
connectedCallback(): void;
|
|
49
|
+
disconnectedCallback(): void;
|
|
50
|
+
private _handleOnClickOutside;
|
|
51
|
+
private emitSelectedDate;
|
|
52
|
+
private changeYear;
|
|
53
|
+
private changeMonth;
|
|
54
|
+
private activateModal;
|
|
55
|
+
static formatMonthOrDayIndex(val: number): string;
|
|
56
|
+
static formatDate(val: number): string;
|
|
57
|
+
private numberOfDaysinMonth;
|
|
58
|
+
private getMonth;
|
|
59
|
+
private getMonthName;
|
|
60
|
+
private getYear;
|
|
61
|
+
static dateToString(date: Date): string;
|
|
62
|
+
private updateFocusForKeydown;
|
|
63
|
+
private _handleCalendarKeyDown;
|
|
64
|
+
private changeMonthFromNav;
|
|
65
|
+
private changeYearFromNav;
|
|
66
|
+
private getDaysOfWeekAbbreviations;
|
|
67
|
+
/**
|
|
68
|
+
* Create array of Day Buttons to fill in excess calendar space at the beginning of the month.
|
|
69
|
+
*
|
|
70
|
+
* 1. Map from empty array of length equal to the amount of access calendar "slots" in the beginning of the month.
|
|
71
|
+
* (i.e. if the month starts on Wednesday (getDay = 3), there are 3 days prior that week from last month.)
|
|
72
|
+
*
|
|
73
|
+
* 2. Based on the indice of array, get the given day button's date, where the date is
|
|
74
|
+
* the last day of last month minus the max of the array plus the indice plus one -> x = lastday - (max - (i + 1))
|
|
75
|
+
* (Note: (max - (i + 1) equals the keys of the array in reverse order:
|
|
76
|
+
* [max - i + 1] -> [3-1, 3-2, 3-3] -> [2,1,0] for an array of [3])
|
|
77
|
+
* (i.e. if the calendar is starting on Wednesday June 1st, the access days on the calendar will be
|
|
78
|
+
* Sunday May 29th (31 - (2)), Monday May 30th (31 - (1)), Tuesday May 31st (31 - (0)))
|
|
79
|
+
*
|
|
80
|
+
* 3. Build out day button with necessary props
|
|
81
|
+
* */
|
|
82
|
+
private getPreviousMonthDayButtons;
|
|
83
|
+
/**
|
|
84
|
+
* Create array of Day Buttons to fill out current month
|
|
85
|
+
*
|
|
86
|
+
* 1. Map from empty array of length equal to the amount days in this month
|
|
87
|
+
*
|
|
88
|
+
* 2. Get the date of the current month based on indice of array (i.e. 0 -> 1st, 1 -> 2nd ...)
|
|
89
|
+
*
|
|
90
|
+
* 3. Build out day button with necessary props
|
|
91
|
+
* */
|
|
92
|
+
private getCurrentMonthDayButtons;
|
|
93
|
+
/**
|
|
94
|
+
* Create array of Day Buttons to fill in excess calendar space at the end of the month.
|
|
95
|
+
*
|
|
96
|
+
* 1. Map from empty array of length equal to the amount of access calendar "slots" at the end of the month.
|
|
97
|
+
* The array have an amount of slots equal to the number of days in a week minus how many days have already past
|
|
98
|
+
* and since getDay returns the index of the day of the week (Sunday = 0, Monday = 1 ...) our equations is
|
|
99
|
+
* x = 7 - (getDay() + 1)
|
|
100
|
+
* Note: (we need to add 1 because indexing starts at 0)
|
|
101
|
+
* so if the month ends on Monday (getDay() = 1), 5 = 7 - (1 + 1), there are 5 days that week from the new month
|
|
102
|
+
*
|
|
103
|
+
* 2. Get the date from the next month based on indice of array (i.e. 0 -> 1st, 1 -> 2nd ...)
|
|
104
|
+
*
|
|
105
|
+
* 3. Build out day button with necessary props
|
|
106
|
+
* */
|
|
107
|
+
private getNextMonthDayButtons;
|
|
108
|
+
render(): TemplateResult<1>;
|
|
109
|
+
}
|
|
110
|
+
declare global {
|
|
111
|
+
interface HTMLElementTagNameMap {
|
|
112
|
+
'cre8-calendar': Cre8Calendar;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../../components/date-picker/calendar/calendar.ts"],"names":[],"mappings":"AAKA,OAAO,EACN,cAAc,EACd,MAAM,KAAK,CAAC;AAGb,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,iBAAiB,CAAC;AACzB,OAAO,8CAA8C,CAAC;AACtD,OAAO,4CAA4C,CAAC;AACpD,OAAO,4CAA4C,CAAC;AACpD,OAAO,qBAAqB,CAAC;AAE7B,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,IAAI,CAAC;IACZ,QAAQ,EAAE;QACR,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACxB,CAAC;CACH;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AAED,oBAAY,aAAa;IACvB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,CAAC,MAAM,4BAAY;IAGzB;;OAEG;IAEC,WAAW,EAAE,WAAW,CAAC;IAG7B,YAAY,CAAC,EAAE,OAAO,CAAC;IAEd,YAAY,CAAC,EAAE,aAAa,CAAsB;IAE3D,IACI,WAAW,IAIc,aAAa,CAFzC;IAED,IAAI,WAAW,CAAC,WAAW,EAAE,aAAa,EAEzC;IAEQ,UAAU,CAAC,EAAE,MAAM,CAAC;IAE7B,IACI,SAAS,IAIe,MAAM,CAFjC;IAED,IAAI,SAAS,CAAC,YAAY,EAAE,MAAM,EAUjC;IAEQ,YAAY,CAAC,EAAE,IAAI,CAAC;IAE7B,IACI,WAAW,IAIU,IAAI,CAF5B;IAED,IAAI,WAAW,CAAC,OAAO,EAAE,IAAI,EAI5B;IAEQ,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB,UAAU,EAAE,UAAU,CAAC;IAEvB,iBAAiB,EAAE,iBAAiB,CAAC;;IAiC9C,iBAAiB;IAKjB,oBAAoB,IAAI,IAAI;IAM5B,OAAO,CAAC,qBAAqB;IAmB7B,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,UAAU;IAOlB,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,aAAa;IAKrB,MAAM,CAAC,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAIjD,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAItC,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,YAAY;IAOpB,OAAO,CAAC,OAAO;IAIf,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;YAMzB,qBAAqB;IAWnC,OAAO,CAAC,sBAAsB;YAmDhB,kBAAkB;YAgBlB,iBAAiB;IAiB/B,OAAO,CAAC,0BAA0B;IAQlC;;;;;;;;;;;;;;SAcK;IACL,OAAO,CAAC,0BAA0B;IAoDlC;;;;;;;;SAQK;IACL,OAAO,CAAC,yBAAyB;IAqCjC;;;;;;;;;;;;;SAaK;IACL,OAAO,CAAC,sBAAsB;IA2D9B,MAAM;CAkFP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,YAAY,CAAC;KAC/B;CACF"}
|
|
@@ -0,0 +1,465 @@
|
|
|
1
|
+
/* eslint-disable max-statements */
|
|
2
|
+
/* eslint-disable indent */
|
|
3
|
+
/* eslint-disable lit/no-template-arrow */
|
|
4
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7
|
+
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;
|
|
8
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9
|
+
};
|
|
10
|
+
/* TODO: remove eslint disable on no-template-arrow */
|
|
11
|
+
import { html, nothing, } from 'lit';
|
|
12
|
+
import { property, query, state } from 'lit/decorators.js';
|
|
13
|
+
import styles from './calendar.styles.js';
|
|
14
|
+
import { Cre8Element } from '../../cre8-element';
|
|
15
|
+
import '../../icon/icon';
|
|
16
|
+
import '../calendar-month-modal/calendar-month-modal';
|
|
17
|
+
import '../calendar-year-modal/calendar-year-modal';
|
|
18
|
+
import '../calendar-navigation/calendar-navigation';
|
|
19
|
+
import '../../button/button';
|
|
20
|
+
export var CalendarModal;
|
|
21
|
+
(function (CalendarModal) {
|
|
22
|
+
CalendarModal["Month"] = "month";
|
|
23
|
+
CalendarModal["Year"] = "year";
|
|
24
|
+
CalendarModal["None"] = "none";
|
|
25
|
+
})(CalendarModal || (CalendarModal = {}));
|
|
26
|
+
export class Cre8Calendar extends Cre8Element {
|
|
27
|
+
get activeModal() {
|
|
28
|
+
return this._activeModal;
|
|
29
|
+
}
|
|
30
|
+
set activeModal(activeModal) {
|
|
31
|
+
this._activeModal = activeModal;
|
|
32
|
+
}
|
|
33
|
+
get fieldDate() {
|
|
34
|
+
return this._fieldDate;
|
|
35
|
+
}
|
|
36
|
+
set fieldDate(newFieldDate) {
|
|
37
|
+
const oldDate = this._fieldDate;
|
|
38
|
+
this.requestUpdate('fieldDate', oldDate);
|
|
39
|
+
const isNewDateValid = !!(newFieldDate && new Date(`${newFieldDate}T00:00`).getTime());
|
|
40
|
+
this.currentDate = isNewDateValid
|
|
41
|
+
? new Date(`${newFieldDate}T00:00`)
|
|
42
|
+
: new Date();
|
|
43
|
+
this._fieldDate = isNewDateValid ? newFieldDate : '';
|
|
44
|
+
}
|
|
45
|
+
get currentDate() {
|
|
46
|
+
return this._currentDate;
|
|
47
|
+
}
|
|
48
|
+
set currentDate(newDate) {
|
|
49
|
+
const oldDate = this._currentDate;
|
|
50
|
+
this._currentDate = newDate;
|
|
51
|
+
this.requestUpdate('currentDate', oldDate);
|
|
52
|
+
}
|
|
53
|
+
constructor() {
|
|
54
|
+
super();
|
|
55
|
+
this._activeModal = CalendarModal.None;
|
|
56
|
+
this._handleOnClickOutside = this._handleOnClickOutside.bind(this);
|
|
57
|
+
this.currentDate = (this.fieldDate && new Date(`${this.fieldDate}T00:00`)) ?? new Date();
|
|
58
|
+
this.locale = document.documentElement.getAttribute('lang') || 'en-US';
|
|
59
|
+
this.dateConfig = {
|
|
60
|
+
locale: this.locale,
|
|
61
|
+
today: new Date(),
|
|
62
|
+
weekInfo: {
|
|
63
|
+
firstDay: 7,
|
|
64
|
+
weekend: [6, 7],
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
this.weekDays = [
|
|
68
|
+
'Sunday',
|
|
69
|
+
'Monday',
|
|
70
|
+
'Tuesday',
|
|
71
|
+
'Wednesday',
|
|
72
|
+
'Thursday',
|
|
73
|
+
'Friday',
|
|
74
|
+
'Saturday',
|
|
75
|
+
];
|
|
76
|
+
this.dateFormatOptions = {
|
|
77
|
+
weekday: 'long',
|
|
78
|
+
year: 'numeric',
|
|
79
|
+
month: 'long',
|
|
80
|
+
day: 'numeric',
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
connectedCallback() {
|
|
84
|
+
super.connectedCallback();
|
|
85
|
+
window.addEventListener('click', this._handleOnClickOutside, false);
|
|
86
|
+
}
|
|
87
|
+
disconnectedCallback() {
|
|
88
|
+
super.disconnectedCallback();
|
|
89
|
+
window.removeEventListener('click', this._handleOnClickOutside, false);
|
|
90
|
+
}
|
|
91
|
+
/* Click Event Functions */
|
|
92
|
+
_handleOnClickOutside(event) {
|
|
93
|
+
if (!this.shadowRoot?.host) {
|
|
94
|
+
throw Error('Could not determine navigation context during click handler');
|
|
95
|
+
}
|
|
96
|
+
const didClickInside = event.composedPath().includes(this.shadowRoot.host);
|
|
97
|
+
if (!didClickInside) {
|
|
98
|
+
const outsideClickEvent = new CustomEvent('outsideClick', {
|
|
99
|
+
detail: {
|
|
100
|
+
composedPath: event.composedPath(),
|
|
101
|
+
},
|
|
102
|
+
});
|
|
103
|
+
this.dispatchEvent(outsideClickEvent);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
emitSelectedDate(date) {
|
|
107
|
+
const event = new CustomEvent('dateSelect', {
|
|
108
|
+
detail: {
|
|
109
|
+
date,
|
|
110
|
+
},
|
|
111
|
+
});
|
|
112
|
+
this.currentDate = new Date(`${date}T00:00`);
|
|
113
|
+
this.dispatchEvent(event);
|
|
114
|
+
}
|
|
115
|
+
changeYear(year) {
|
|
116
|
+
const oldDate = this.currentDate;
|
|
117
|
+
const newDate = new Date(oldDate.setFullYear(year));
|
|
118
|
+
this.currentDate = newDate;
|
|
119
|
+
this.activeModal = CalendarModal.None;
|
|
120
|
+
}
|
|
121
|
+
changeMonth(month) {
|
|
122
|
+
const oldDate = this.currentDate;
|
|
123
|
+
const newDate = new Date(oldDate.setMonth(month));
|
|
124
|
+
this.currentDate = newDate;
|
|
125
|
+
this.activeModal = CalendarModal.None;
|
|
126
|
+
}
|
|
127
|
+
activateModal(modal) {
|
|
128
|
+
this.activeModal = modal;
|
|
129
|
+
}
|
|
130
|
+
/* Helper/Get Functions */
|
|
131
|
+
static formatMonthOrDayIndex(val) {
|
|
132
|
+
return (val + 1).toString().padStart(2, '0');
|
|
133
|
+
}
|
|
134
|
+
static formatDate(val) {
|
|
135
|
+
return val.toString().padStart(2, '0');
|
|
136
|
+
}
|
|
137
|
+
numberOfDaysinMonth() {
|
|
138
|
+
return new Date(this.getYear(), this.getMonth() + 1, 0).getDate();
|
|
139
|
+
}
|
|
140
|
+
getMonth() {
|
|
141
|
+
return this.currentDate.getMonth();
|
|
142
|
+
}
|
|
143
|
+
getMonthName() {
|
|
144
|
+
const monthName = new Intl.DateTimeFormat(this.locale, {
|
|
145
|
+
month: 'long',
|
|
146
|
+
}).format(this.currentDate);
|
|
147
|
+
return monthName;
|
|
148
|
+
}
|
|
149
|
+
getYear() {
|
|
150
|
+
return this.currentDate.getFullYear();
|
|
151
|
+
}
|
|
152
|
+
static dateToString(date) {
|
|
153
|
+
return `${date.getFullYear()}-${Cre8Calendar.formatMonthOrDayIndex(date.getMonth())}-${Cre8Calendar.formatDate(date.getDate())}`;
|
|
154
|
+
}
|
|
155
|
+
async updateFocusForKeydown(newDate) {
|
|
156
|
+
this.currentDate = newDate;
|
|
157
|
+
await this.updateComplete;
|
|
158
|
+
const newFocus = this.shadowRoot?.querySelector(`button[datetime="${Cre8Calendar.dateToString(newDate)}"]`);
|
|
159
|
+
newFocus.setAttribute('tabindex', '0');
|
|
160
|
+
newFocus.focus();
|
|
161
|
+
}
|
|
162
|
+
_handleCalendarKeyDown(e) {
|
|
163
|
+
const oldFocus = this.shadowRoot?.querySelector(`button[datetime="${Cre8Calendar.dateToString(this.currentDate)}"]`);
|
|
164
|
+
if (e.key === 'ArrowUp') {
|
|
165
|
+
const newDate = new Date(this.getYear(), this.getMonth(), this.currentDate.getDate() - 7);
|
|
166
|
+
this.updateFocusForKeydown(newDate);
|
|
167
|
+
oldFocus.setAttribute('tabindex', '-1');
|
|
168
|
+
}
|
|
169
|
+
if (e.key === 'ArrowDown') {
|
|
170
|
+
const newDate = new Date(this.getYear(), this.getMonth(), this.currentDate.getDate() + 7);
|
|
171
|
+
this.updateFocusForKeydown(newDate);
|
|
172
|
+
oldFocus.setAttribute('tabindex', '-1');
|
|
173
|
+
}
|
|
174
|
+
if (e.key === 'ArrowLeft') {
|
|
175
|
+
const newDate = new Date(this.getYear(), this.getMonth(), this.currentDate.getDate() - 1);
|
|
176
|
+
this.updateFocusForKeydown(newDate);
|
|
177
|
+
oldFocus.setAttribute('tabindex', '-1');
|
|
178
|
+
}
|
|
179
|
+
if (e.key === 'ArrowRight') {
|
|
180
|
+
const newDate = new Date(this.getYear(), this.getMonth(), this.currentDate.getDate() + 1);
|
|
181
|
+
this.updateFocusForKeydown(newDate);
|
|
182
|
+
oldFocus.setAttribute('tabindex', '-1');
|
|
183
|
+
}
|
|
184
|
+
if (e.key === 'Tab' && !e.shiftKey) {
|
|
185
|
+
const outsideClickEvent = new CustomEvent('outsideClick', {
|
|
186
|
+
detail: {
|
|
187
|
+
composedPath: [],
|
|
188
|
+
},
|
|
189
|
+
});
|
|
190
|
+
// This allows the tab off to happen before the calendar closes
|
|
191
|
+
setTimeout(() => { this.dispatchEvent(outsideClickEvent); }, 20);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
async changeMonthFromNav(month) {
|
|
195
|
+
this.changeMonth(month);
|
|
196
|
+
await this.updateComplete;
|
|
197
|
+
const nav = this.shadowRoot?.querySelector('cre8-calendar-navigation');
|
|
198
|
+
const monthPickerButton = nav.shadowRoot?.querySelector('.cre8-c-calendar-navigation__month-modal-button');
|
|
199
|
+
await this.updateComplete;
|
|
200
|
+
const button = monthPickerButton.shadowRoot.querySelector('button');
|
|
201
|
+
button.focus();
|
|
202
|
+
}
|
|
203
|
+
async changeYearFromNav(year) {
|
|
204
|
+
this.changeYear(year);
|
|
205
|
+
await this.updateComplete;
|
|
206
|
+
const nav = this.shadowRoot?.querySelector('cre8-calendar-navigation');
|
|
207
|
+
const yearPickerButton = nav.shadowRoot?.querySelector('.cre8-c-calendar-navigation__year-modal-button');
|
|
208
|
+
await this.updateComplete;
|
|
209
|
+
const button = yearPickerButton.shadowRoot.querySelector('button');
|
|
210
|
+
button.focus();
|
|
211
|
+
}
|
|
212
|
+
/* Template Map Functions */
|
|
213
|
+
getDaysOfWeekAbbreviations() {
|
|
214
|
+
return this.weekDays.map((day) => html ` <td>
|
|
215
|
+
<span aria-label="${day}">${day[0]}</span>
|
|
216
|
+
</td>`);
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Create array of Day Buttons to fill in excess calendar space at the beginning of the month.
|
|
220
|
+
*
|
|
221
|
+
* 1. Map from empty array of length equal to the amount of access calendar "slots" in the beginning of the month.
|
|
222
|
+
* (i.e. if the month starts on Wednesday (getDay = 3), there are 3 days prior that week from last month.)
|
|
223
|
+
*
|
|
224
|
+
* 2. Based on the indice of array, get the given day button's date, where the date is
|
|
225
|
+
* the last day of last month minus the max of the array plus the indice plus one -> x = lastday - (max - (i + 1))
|
|
226
|
+
* (Note: (max - (i + 1) equals the keys of the array in reverse order:
|
|
227
|
+
* [max - i + 1] -> [3-1, 3-2, 3-3] -> [2,1,0] for an array of [3])
|
|
228
|
+
* (i.e. if the calendar is starting on Wednesday June 1st, the access days on the calendar will be
|
|
229
|
+
* Sunday May 29th (31 - (2)), Monday May 30th (31 - (1)), Tuesday May 31st (31 - (0)))
|
|
230
|
+
*
|
|
231
|
+
* 3. Build out day button with necessary props
|
|
232
|
+
* */
|
|
233
|
+
getPreviousMonthDayButtons() {
|
|
234
|
+
/* 1 */
|
|
235
|
+
return [
|
|
236
|
+
...Array(new Date(this.getYear(), this.getMonth(), 1).getDay()).keys(),
|
|
237
|
+
].map((i) => {
|
|
238
|
+
const priorMonthArrayLength = new Date(this.getYear(), this.getMonth(), 1).getDay();
|
|
239
|
+
const finalDayLastMonth = new Date(this.getYear(), this.getMonth(), 0);
|
|
240
|
+
const numberOfDaysinLastMonth = finalDayLastMonth.getDate();
|
|
241
|
+
/* 2 */
|
|
242
|
+
const priorMonthDay = new Date(finalDayLastMonth.getFullYear(), finalDayLastMonth.getMonth(), numberOfDaysinLastMonth - priorMonthArrayLength + (i + 1));
|
|
243
|
+
const isToday = this.dateConfig.today.getDate() === priorMonthDay.getDate()
|
|
244
|
+
&& this.dateConfig.today.getMonth() === priorMonthDay.getMonth()
|
|
245
|
+
&& this.dateConfig.today.getFullYear() === priorMonthDay.getFullYear();
|
|
246
|
+
const isSelected = new Date(`${this.fieldDate}T00:00`).getTime()
|
|
247
|
+
=== priorMonthDay.getTime();
|
|
248
|
+
/* 3 */
|
|
249
|
+
return html ` <td>
|
|
250
|
+
<button
|
|
251
|
+
class="cre8-c-calendar__day-button cre8-c-calendar__different-month"
|
|
252
|
+
datetime="${Cre8Calendar.dateToString(priorMonthDay)}"
|
|
253
|
+
?data-today="${isToday}"
|
|
254
|
+
?data-selected="${isSelected}"
|
|
255
|
+
tabindex="-1"
|
|
256
|
+
aria-label="${new Intl.DateTimeFormat(this.locale, {
|
|
257
|
+
weekday: 'long',
|
|
258
|
+
year: 'numeric',
|
|
259
|
+
month: 'long',
|
|
260
|
+
day: 'numeric',
|
|
261
|
+
}).format(new Date(`${Cre8Calendar.dateToString(priorMonthDay)}T00:00`))}"
|
|
262
|
+
@click="${() => this.emitSelectedDate(Cre8Calendar.dateToString(priorMonthDay))}"
|
|
263
|
+
>
|
|
264
|
+
${new Intl.NumberFormat(this.locale).format(priorMonthDay.getDate())}
|
|
265
|
+
</button>
|
|
266
|
+
</td>`;
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Create array of Day Buttons to fill out current month
|
|
271
|
+
*
|
|
272
|
+
* 1. Map from empty array of length equal to the amount days in this month
|
|
273
|
+
*
|
|
274
|
+
* 2. Get the date of the current month based on indice of array (i.e. 0 -> 1st, 1 -> 2nd ...)
|
|
275
|
+
*
|
|
276
|
+
* 3. Build out day button with necessary props
|
|
277
|
+
* */
|
|
278
|
+
getCurrentMonthDayButtons() {
|
|
279
|
+
/* 1 */
|
|
280
|
+
return [...Array(this.numberOfDaysinMonth()).keys()].map((i) => {
|
|
281
|
+
const dayOfTheMonth = i + 1;
|
|
282
|
+
/* 2 */
|
|
283
|
+
const current = new Date(this.getYear(), this.getMonth(), dayOfTheMonth);
|
|
284
|
+
const isToday = this.dateConfig.today.getDate() === dayOfTheMonth
|
|
285
|
+
&& this.dateConfig.today.getMonth() === this.getMonth()
|
|
286
|
+
&& this.dateConfig.today.getFullYear() === this.getYear();
|
|
287
|
+
const isSelected = new Date(`${this.fieldDate}T00:00`).getTime() === current.getTime();
|
|
288
|
+
/* 3 */
|
|
289
|
+
return html ` <td>
|
|
290
|
+
<button
|
|
291
|
+
class="cre8-c-calendar__day-button"
|
|
292
|
+
datetime="${Cre8Calendar.dateToString(current)}"
|
|
293
|
+
?data-today="${isToday}"
|
|
294
|
+
?data-selected="${isSelected}"
|
|
295
|
+
tabindex="${dayOfTheMonth === this.currentDate.getDate()
|
|
296
|
+
? '0'
|
|
297
|
+
: '-1'}"
|
|
298
|
+
aria-label="${new Intl.DateTimeFormat(this.locale, {
|
|
299
|
+
weekday: 'long',
|
|
300
|
+
year: 'numeric',
|
|
301
|
+
month: 'long',
|
|
302
|
+
day: 'numeric',
|
|
303
|
+
}).format(new Date(`${Cre8Calendar.dateToString(current)}T00:00`))}"
|
|
304
|
+
@click="${() => this.emitSelectedDate(Cre8Calendar.dateToString(current))}"
|
|
305
|
+
>
|
|
306
|
+
${new Intl.NumberFormat(this.locale).format(i + 1)}
|
|
307
|
+
</button>
|
|
308
|
+
</td>`;
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Create array of Day Buttons to fill in excess calendar space at the end of the month.
|
|
313
|
+
*
|
|
314
|
+
* 1. Map from empty array of length equal to the amount of access calendar "slots" at the end of the month.
|
|
315
|
+
* The array have an amount of slots equal to the number of days in a week minus how many days have already past
|
|
316
|
+
* and since getDay returns the index of the day of the week (Sunday = 0, Monday = 1 ...) our equations is
|
|
317
|
+
* x = 7 - (getDay() + 1)
|
|
318
|
+
* Note: (we need to add 1 because indexing starts at 0)
|
|
319
|
+
* so if the month ends on Monday (getDay() = 1), 5 = 7 - (1 + 1), there are 5 days that week from the new month
|
|
320
|
+
*
|
|
321
|
+
* 2. Get the date from the next month based on indice of array (i.e. 0 -> 1st, 1 -> 2nd ...)
|
|
322
|
+
*
|
|
323
|
+
* 3. Build out day button with necessary props
|
|
324
|
+
* */
|
|
325
|
+
getNextMonthDayButtons() {
|
|
326
|
+
/* 1 */
|
|
327
|
+
return [
|
|
328
|
+
...Array(6
|
|
329
|
+
- new Date(this.getYear(), this.getMonth(), this.numberOfDaysinMonth()).getDay()).keys(),
|
|
330
|
+
].map((i) => {
|
|
331
|
+
const lastDayThisMonth = new Date(this.getYear(), this.getMonth(), this.numberOfDaysinMonth());
|
|
332
|
+
const firstDayNextMonth = new Date(lastDayThisMonth.setDate(lastDayThisMonth.getDate() + 1));
|
|
333
|
+
/* 2 */
|
|
334
|
+
const nextMonthDay = new Date(firstDayNextMonth.getFullYear(), firstDayNextMonth.getMonth(), i + 1);
|
|
335
|
+
const isToday = this.dateConfig.today.getDate() === nextMonthDay.getDate()
|
|
336
|
+
&& this.dateConfig.today.getMonth() === nextMonthDay.getMonth()
|
|
337
|
+
&& this.dateConfig.today.getFullYear() === nextMonthDay.getFullYear();
|
|
338
|
+
const isSelected = new Date(`${this.fieldDate}T00:00`).getTime()
|
|
339
|
+
=== nextMonthDay.getTime();
|
|
340
|
+
/* 3 */
|
|
341
|
+
return html ` <td>
|
|
342
|
+
<button
|
|
343
|
+
class="cre8-c-calendar__day-button cre8-c-calendar__different-month"
|
|
344
|
+
datetime="${Cre8Calendar.dateToString(nextMonthDay)}"
|
|
345
|
+
?data-today="${isToday}"
|
|
346
|
+
?data-selected="${isSelected}"
|
|
347
|
+
tabindex="-1"
|
|
348
|
+
aria-label="${new Intl.DateTimeFormat(this.locale, {
|
|
349
|
+
weekday: 'long',
|
|
350
|
+
year: 'numeric',
|
|
351
|
+
month: 'long',
|
|
352
|
+
day: 'numeric',
|
|
353
|
+
}).format(new Date(`${Cre8Calendar.dateToString(nextMonthDay)}T00:00`))}"
|
|
354
|
+
@click="${() => this.emitSelectedDate(Cre8Calendar.dateToString(nextMonthDay))}"
|
|
355
|
+
>
|
|
356
|
+
${new Intl.NumberFormat(this.locale).format(nextMonthDay.getDate())}
|
|
357
|
+
</button>
|
|
358
|
+
</td>`;
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
render() {
|
|
362
|
+
const componentClassNames = this.componentClassNames('cre8-c-calendar', {});
|
|
363
|
+
return html ` <div class="${componentClassNames}">
|
|
364
|
+
${this._activeModal === CalendarModal.Month
|
|
365
|
+
? html `<cre8-calendar-month-modal
|
|
366
|
+
currentMonth="${this.getMonth()}"
|
|
367
|
+
@changeMonth="${(e) => this.changeMonthFromNav(e.detail.month)}"
|
|
368
|
+
></cre8-calendar-month-modal>`
|
|
369
|
+
: nothing}
|
|
370
|
+
${this._activeModal === CalendarModal.Year
|
|
371
|
+
? html `<cre8-calendar-year-modal
|
|
372
|
+
currentYear="${this.getYear()}"
|
|
373
|
+
@changeYear="${(e) => this.changeYearFromNav(e.detail.year)}"
|
|
374
|
+
></cre8-calendar-year-modal>`
|
|
375
|
+
: nothing}
|
|
376
|
+
${this._activeModal === CalendarModal.None
|
|
377
|
+
? html ` ${this.hasShortcuts
|
|
378
|
+
? html `<div class="cre8-c-calendar__header-shortcuts">
|
|
379
|
+
<cre8-button
|
|
380
|
+
text="Today"
|
|
381
|
+
variant="secondary"
|
|
382
|
+
size="sm"
|
|
383
|
+
@click="${() => this.emitSelectedDate(Cre8Calendar.dateToString(this.dateConfig.today))}"
|
|
384
|
+
></cre8-button>
|
|
385
|
+
<cre8-button
|
|
386
|
+
text="Tomorrow"
|
|
387
|
+
variant="secondary"
|
|
388
|
+
size="sm"
|
|
389
|
+
@click="${() => this.emitSelectedDate(Cre8Calendar.dateToString(new Date(this.dateConfig.today.setDate(this.dateConfig.today.getDate() + 1))))}"
|
|
390
|
+
></cre8-button>
|
|
391
|
+
<cre8-button
|
|
392
|
+
text="In 2 days"
|
|
393
|
+
variant="secondary"
|
|
394
|
+
size="sm"
|
|
395
|
+
@click="${() => this.emitSelectedDate(Cre8Calendar.dateToString(new Date(this.dateConfig.today.setDate(this.dateConfig.today.getDate() + 2))))}"
|
|
396
|
+
></cre8-button>
|
|
397
|
+
</div>`
|
|
398
|
+
: nothing}
|
|
399
|
+
<cre8-calendar-navigation
|
|
400
|
+
monthName="${this.getMonthName()}"
|
|
401
|
+
year="${this.getYear()}"
|
|
402
|
+
@activateModal="${(e) => this.activateModal(e.detail.modal)}"
|
|
403
|
+
@changeMonth="${(e) => this.changeMonth(this.getMonth() + e.detail.addend)}"
|
|
404
|
+
@changeYear="${(e) => this.changeYear(this.getYear() + e.detail.addend)}"
|
|
405
|
+
>
|
|
406
|
+
</cre8-calendar-navigation>
|
|
407
|
+
<table>
|
|
408
|
+
<thead>
|
|
409
|
+
<tr>
|
|
410
|
+
${this.getDaysOfWeekAbbreviations()}
|
|
411
|
+
</tr>
|
|
412
|
+
</thead>
|
|
413
|
+
<tbody>
|
|
414
|
+
<tr @keydown=${this._handleCalendarKeyDown}>
|
|
415
|
+
${this.getPreviousMonthDayButtons()}
|
|
416
|
+
${this.getCurrentMonthDayButtons()}
|
|
417
|
+
${this.getNextMonthDayButtons()}
|
|
418
|
+
</tr>
|
|
419
|
+
</tbody>
|
|
420
|
+
</table>`
|
|
421
|
+
: nothing}
|
|
422
|
+
</div>`;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
Cre8Calendar.styles = [styles];
|
|
426
|
+
__decorate([
|
|
427
|
+
query('.cre8-c-calendar__navigation-wrapper')
|
|
428
|
+
], Cre8Calendar.prototype, "_navWrapper", void 0);
|
|
429
|
+
__decorate([
|
|
430
|
+
property({ type: Boolean, reflect: true })
|
|
431
|
+
], Cre8Calendar.prototype, "hasShortcuts", void 0);
|
|
432
|
+
__decorate([
|
|
433
|
+
state()
|
|
434
|
+
], Cre8Calendar.prototype, "_activeModal", void 0);
|
|
435
|
+
__decorate([
|
|
436
|
+
property({ reflect: true, type: String })
|
|
437
|
+
], Cre8Calendar.prototype, "activeModal", null);
|
|
438
|
+
__decorate([
|
|
439
|
+
state()
|
|
440
|
+
], Cre8Calendar.prototype, "_fieldDate", void 0);
|
|
441
|
+
__decorate([
|
|
442
|
+
property({ reflect: true, type: Date })
|
|
443
|
+
], Cre8Calendar.prototype, "fieldDate", null);
|
|
444
|
+
__decorate([
|
|
445
|
+
state()
|
|
446
|
+
], Cre8Calendar.prototype, "_currentDate", void 0);
|
|
447
|
+
__decorate([
|
|
448
|
+
property({ reflect: true, type: Date })
|
|
449
|
+
], Cre8Calendar.prototype, "currentDate", null);
|
|
450
|
+
__decorate([
|
|
451
|
+
state()
|
|
452
|
+
], Cre8Calendar.prototype, "locale", void 0);
|
|
453
|
+
__decorate([
|
|
454
|
+
state()
|
|
455
|
+
], Cre8Calendar.prototype, "weekDays", void 0);
|
|
456
|
+
__decorate([
|
|
457
|
+
state()
|
|
458
|
+
], Cre8Calendar.prototype, "dateConfig", void 0);
|
|
459
|
+
__decorate([
|
|
460
|
+
state()
|
|
461
|
+
], Cre8Calendar.prototype, "dateFormatOptions", void 0);
|
|
462
|
+
if (customElements.get('cre8-calendar') === undefined) {
|
|
463
|
+
customElements.define('cre8-calendar', Cre8Calendar);
|
|
464
|
+
}
|
|
465
|
+
//# sourceMappingURL=calendar.js.map
|