@tmorrow/cre8-wc 1.2.4 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cdn-entry.d.ts +126 -0
- package/lib/cdn-entry.d.ts.map +1 -0
- package/lib/cdn-entry.js +131 -0
- package/lib/cdn-entry.js.map +1 -0
- package/lib/components/accordion/accordion.d.ts +39 -0
- package/lib/components/accordion/accordion.d.ts.map +1 -0
- package/lib/components/accordion/accordion.js +58 -666
- package/lib/components/accordion/accordion.js.map +1 -0
- package/lib/components/accordion/accordion.styles.d.ts +3 -0
- package/lib/components/accordion/accordion.styles.d.ts.map +1 -0
- package/lib/components/accordion/accordion.styles.js +630 -0
- package/lib/components/accordion/accordion.styles.js.map +1 -0
- package/lib/components/accordion-item/accordion-item.d.ts +141 -0
- package/lib/components/accordion-item/accordion-item.d.ts.map +1 -0
- package/lib/components/accordion-item/accordion-item.js +183 -904
- package/lib/components/accordion-item/accordion-item.js.map +1 -0
- package/lib/components/accordion-item/accordion-item.styles.d.ts +3 -0
- package/lib/components/accordion-item/accordion-item.styles.d.ts.map +1 -0
- package/lib/components/accordion-item/accordion-item.styles.js +811 -0
- package/lib/components/accordion-item/accordion-item.styles.js.map +1 -0
- package/lib/components/alert/alert.d.ts +60 -0
- package/lib/components/alert/alert.d.ts.map +1 -0
- package/lib/components/alert/alert.js +146 -866
- package/lib/components/alert/alert.js.map +1 -0
- package/lib/components/alert/alert.styles.d.ts +3 -0
- package/lib/components/alert/alert.styles.d.ts.map +1 -0
- package/lib/components/alert/alert.styles.js +749 -0
- package/lib/components/alert/alert.styles.js.map +1 -0
- package/lib/components/badge/badge.d.ts +62 -0
- package/lib/components/badge/badge.d.ts.map +1 -0
- package/lib/components/badge/badge.js +72 -764
- package/lib/components/badge/badge.js.map +1 -0
- package/lib/components/badge/badge.styles.d.ts +3 -0
- package/lib/components/badge/badge.styles.d.ts.map +1 -0
- package/lib/components/badge/badge.styles.js +719 -0
- package/lib/components/badge/badge.styles.js.map +1 -0
- package/lib/components/band/band.d.ts +29 -0
- package/lib/components/band/band.d.ts.map +1 -0
- package/lib/components/band/band.js +34 -641
- package/lib/components/band/band.js.map +1 -0
- package/lib/components/band/band.styles.d.ts +3 -0
- package/lib/components/band/band.styles.d.ts.map +1 -0
- package/lib/components/band/band.styles.js +614 -0
- package/lib/components/band/band.styles.js.map +1 -0
- package/lib/components/breadcrumbs/breadcrumbs.d.ts +32 -0
- package/lib/components/breadcrumbs/breadcrumbs.d.ts.map +1 -0
- package/lib/components/breadcrumbs/breadcrumbs.js +52 -625
- package/lib/components/breadcrumbs/breadcrumbs.js.map +1 -0
- package/lib/components/breadcrumbs/breadcrumbs.styles.d.ts +3 -0
- package/lib/components/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -0
- package/lib/components/breadcrumbs/breadcrumbs.styles.js +601 -0
- package/lib/components/breadcrumbs/breadcrumbs.styles.js.map +1 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.d.ts +17 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.d.ts.map +1 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.js +28 -641
- package/lib/components/breadcrumbs-item/breadcrumbs-item.js.map +1 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.d.ts +3 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.d.ts.map +1 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.js +616 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.js.map +1 -0
- package/lib/components/button/button.d.ts +229 -0
- package/lib/components/button/button.d.ts.map +1 -0
- package/lib/components/button/button.js +290 -1040
- package/lib/components/button/button.js.map +1 -0
- package/lib/components/button/button.styles.d.ts +3 -0
- package/lib/components/button/button.styles.d.ts.map +1 -0
- package/lib/components/button/button.styles.js +885 -0
- package/lib/components/button/button.styles.js.map +1 -0
- package/lib/components/button-group/button-group.d.ts +19 -0
- package/lib/components/button-group/button-group.d.ts.map +1 -0
- package/lib/components/button-group/button-group.js +30 -638
- package/lib/components/button-group/button-group.js.map +1 -0
- package/lib/components/button-group/button-group.styles.d.ts +3 -0
- package/lib/components/button-group/button-group.styles.d.ts.map +1 -0
- package/lib/components/button-group/button-group.styles.js +615 -0
- package/lib/components/button-group/button-group.styles.js.map +1 -0
- package/lib/components/card/card.d.ts +45 -0
- package/lib/components/card/card.d.ts.map +1 -0
- package/lib/components/card/card.js +57 -734
- package/lib/components/card/card.js.map +1 -0
- package/lib/components/card/card.styles.d.ts +3 -0
- package/lib/components/card/card.styles.d.ts.map +1 -0
- package/lib/components/card/card.styles.js +703 -0
- package/lib/components/card/card.styles.js.map +1 -0
- package/lib/components/chart/chart.d.ts +224 -0
- package/lib/components/chart/chart.d.ts.map +1 -0
- package/lib/components/chart/chart.js +528 -714
- package/lib/components/chart/chart.js.map +1 -0
- package/lib/components/chart/chart.styles.d.ts +3 -0
- package/lib/components/chart/chart.styles.d.ts.map +1 -0
- package/lib/components/chart/chart.styles.js +364 -0
- package/lib/components/chart/chart.styles.js.map +1 -0
- package/lib/components/checkbox-field/checkbox-field.d.ts +54 -0
- package/lib/components/checkbox-field/checkbox-field.d.ts.map +1 -0
- package/lib/components/checkbox-field/checkbox-field.js +64 -669
- package/lib/components/checkbox-field/checkbox-field.js.map +1 -0
- package/lib/components/checkbox-field/checkbox-field.styles.d.ts +3 -0
- package/lib/components/checkbox-field/checkbox-field.styles.d.ts.map +1 -0
- package/lib/components/checkbox-field/checkbox-field.styles.js +622 -0
- package/lib/components/checkbox-field/checkbox-field.styles.js.map +1 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.d.ts +172 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.d.ts.map +1 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.js +241 -1038
- package/lib/components/checkbox-field-item/checkbox-field-item.js.map +1 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.styles.d.ts +3 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.styles.d.ts.map +1 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.styles.js +867 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.styles.js.map +1 -0
- package/lib/components/contexts/form-internals-context.d.ts +35 -0
- package/lib/components/contexts/form-internals-context.d.ts.map +1 -0
- package/lib/components/contexts/form-internals-context.js +9 -0
- package/lib/components/contexts/form-internals-context.js.map +1 -0
- package/lib/components/cre8-element.d.ts +54 -0
- package/lib/components/cre8-element.d.ts.map +1 -0
- package/lib/components/cre8-element.js +57 -56
- package/lib/components/cre8-element.js.map +1 -0
- package/lib/components/cre8-form-element.d.ts +137 -0
- package/lib/components/cre8-form-element.d.ts.map +1 -0
- package/lib/components/cre8-form-element.js +213 -6
- package/lib/components/cre8-form-element.js.map +1 -0
- package/lib/components/danger-button/danger-button.d.ts +208 -0
- package/lib/components/danger-button/danger-button.d.ts.map +1 -0
- package/lib/components/danger-button/danger-button.js +271 -1257
- package/lib/components/danger-button/danger-button.js.map +1 -0
- package/lib/components/danger-button/danger-button.styles.d.ts +3 -0
- package/lib/components/danger-button/danger-button.styles.d.ts.map +1 -0
- package/lib/components/danger-button/danger-button.styles.js +1117 -0
- package/lib/components/danger-button/danger-button.styles.js.map +1 -0
- package/lib/components/date-picker/calendar/calendar.d.ts +115 -0
- package/lib/components/date-picker/calendar/calendar.d.ts.map +1 -0
- package/lib/components/date-picker/calendar/calendar.js +465 -0
- package/lib/components/date-picker/calendar/calendar.js.map +1 -0
- package/lib/components/date-picker/calendar/calendar.styles.d.ts +3 -0
- package/lib/components/date-picker/calendar/calendar.styles.d.ts.map +1 -0
- package/lib/components/date-picker/calendar/calendar.styles.js +689 -0
- package/lib/components/date-picker/calendar/calendar.styles.js.map +1 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.d.ts +22 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.d.ts.map +1 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.js +76 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.js.map +1 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.d.ts +3 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.d.ts.map +1 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.js +610 -0
- package/lib/components/date-picker/calendar-month-modal/calendar-month-modal.styles.js.map +1 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.d.ts +19 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.d.ts.map +1 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.js +110 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.js.map +1 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.d.ts +3 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.d.ts.map +1 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.js +598 -0
- package/lib/components/date-picker/calendar-navigation/calendar-navigation.styles.js.map +1 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.d.ts +28 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.d.ts.map +1 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.js +116 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.js.map +1 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.d.ts +3 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.d.ts.map +1 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.js +617 -0
- package/lib/components/date-picker/calendar-year-modal/calendar-year-modal.styles.js.map +1 -0
- package/lib/components/date-picker/date-picker.d.ts +43 -0
- package/lib/components/date-picker/date-picker.d.ts.map +1 -0
- package/lib/components/date-picker/date-picker.js +97 -3320
- package/lib/components/date-picker/date-picker.js.map +1 -0
- package/lib/components/date-picker/date-picker.styles.d.ts +3 -0
- package/lib/components/date-picker/date-picker.styles.d.ts.map +1 -0
- package/lib/components/date-picker/date-picker.styles.js +4 -0
- package/lib/components/date-picker/date-picker.styles.js.map +1 -0
- package/lib/components/divider/divider.d.ts +29 -0
- package/lib/components/divider/divider.d.ts.map +1 -0
- package/lib/components/divider/divider.js +44 -653
- package/lib/components/divider/divider.js.map +1 -0
- package/lib/components/divider/divider.styles.d.ts +3 -0
- package/lib/components/divider/divider.styles.d.ts.map +1 -0
- package/lib/components/divider/divider.styles.js +623 -0
- package/lib/components/divider/divider.styles.js.map +1 -0
- package/lib/components/dropdown/dropdown.d.ts +35 -0
- package/lib/components/dropdown/dropdown.d.ts.map +1 -0
- package/lib/components/dropdown/dropdown.js +90 -713
- package/lib/components/dropdown/dropdown.js.map +1 -0
- package/lib/components/dropdown/dropdown.styles.d.ts +3 -0
- package/lib/components/dropdown/dropdown.styles.d.ts.map +1 -0
- package/lib/components/dropdown/dropdown.styles.js +659 -0
- package/lib/components/dropdown/dropdown.styles.js.map +1 -0
- package/lib/components/dropdown-item/dropdown-item.d.ts +19 -0
- package/lib/components/dropdown-item/dropdown-item.d.ts.map +1 -0
- package/lib/components/dropdown-item/dropdown-item.js +37 -640
- package/lib/components/dropdown-item/dropdown-item.js.map +1 -0
- package/lib/components/dropdown-item/dropdown-item.styles.d.ts +3 -0
- package/lib/components/dropdown-item/dropdown-item.styles.d.ts.map +1 -0
- package/lib/components/dropdown-item/dropdown-item.styles.js +614 -0
- package/lib/components/dropdown-item/dropdown-item.styles.js.map +1 -0
- package/lib/components/feature/feature.d.ts +28 -0
- package/lib/components/feature/feature.d.ts.map +1 -0
- package/lib/components/feature/feature.js +40 -679
- package/lib/components/feature/feature.js.map +1 -0
- package/lib/components/feature/feature.styles.d.ts +3 -0
- package/lib/components/feature/feature.styles.d.ts.map +1 -0
- package/lib/components/feature/feature.styles.js +648 -0
- package/lib/components/feature/feature.styles.js.map +1 -0
- package/lib/components/field/field.d.ts +209 -0
- package/lib/components/field/field.d.ts.map +1 -0
- package/lib/components/field/field.js +213 -854
- package/lib/components/field/field.js.map +1 -0
- package/lib/components/field/field.styles.d.ts +3 -0
- package/lib/components/field/field.styles.d.ts.map +1 -0
- package/lib/components/field/field.styles.js +710 -0
- package/lib/components/field/field.styles.js.map +1 -0
- package/lib/components/field-note/field-note.d.ts +37 -0
- package/lib/components/field-note/field-note.d.ts.map +1 -0
- package/lib/components/field-note/field-note.js +58 -674
- package/lib/components/field-note/field-note.js.map +1 -0
- package/lib/components/field-note/field-note.styles.d.ts +3 -0
- package/lib/components/field-note/field-note.styles.d.ts.map +1 -0
- package/lib/components/field-note/field-note.styles.js +628 -0
- package/lib/components/field-note/field-note.styles.js.map +1 -0
- package/lib/components/footer/footer.d.ts +17 -0
- package/lib/components/footer/footer.d.ts.map +1 -0
- package/lib/components/footer/footer.js +25 -620
- package/lib/components/footer/footer.js.map +1 -0
- package/lib/components/footer/footer.styles.d.ts +3 -0
- package/lib/components/footer/footer.styles.d.ts.map +1 -0
- package/lib/components/footer/footer.styles.js +606 -0
- package/lib/components/footer/footer.styles.js.map +1 -0
- package/lib/components/global-nav/global-nav.d.ts +33 -0
- package/lib/components/global-nav/global-nav.d.ts.map +1 -0
- package/lib/components/global-nav/global-nav.js +44 -638
- package/lib/components/global-nav/global-nav.js.map +1 -0
- package/lib/components/global-nav/global-nav.styles.d.ts +3 -0
- package/lib/components/global-nav/global-nav.styles.d.ts.map +1 -0
- package/lib/components/global-nav/global-nav.styles.js +605 -0
- package/lib/components/global-nav/global-nav.styles.js.map +1 -0
- package/lib/components/global-nav-item/global-nav-item.d.ts +71 -0
- package/lib/components/global-nav-item/global-nav-item.d.ts.map +1 -0
- package/lib/components/global-nav-item/global-nav-item.js +144 -768
- package/lib/components/global-nav-item/global-nav-item.js.map +1 -0
- package/lib/components/global-nav-item/global-nav-item.styles.d.ts +3 -0
- package/lib/components/global-nav-item/global-nav-item.styles.d.ts.map +1 -0
- package/lib/components/global-nav-item/global-nav-item.styles.js +665 -0
- package/lib/components/global-nav-item/global-nav-item.styles.js.map +1 -0
- package/lib/components/grid/grid.d.ts +49 -0
- package/lib/components/grid/grid.d.ts.map +1 -0
- package/lib/components/grid/grid.js +48 -976
- package/lib/components/grid/grid.js.map +1 -0
- package/lib/components/grid/grid.styles.d.ts +3 -0
- package/lib/components/grid/grid.styles.d.ts.map +1 -0
- package/lib/components/grid/grid.styles.js +935 -0
- package/lib/components/grid/grid.styles.js.map +1 -0
- package/lib/components/grid-item/grid-item.d.ts +15 -0
- package/lib/components/grid-item/grid-item.d.ts.map +1 -0
- package/lib/components/grid-item/grid-item.js +17 -602
- package/lib/components/grid-item/grid-item.js.map +1 -0
- package/lib/components/grid-item/grid-item.styles.d.ts +3 -0
- package/lib/components/grid-item/grid-item.styles.d.ts.map +1 -0
- package/lib/components/grid-item/grid-item.styles.js +592 -0
- package/lib/components/grid-item/grid-item.styles.js.map +1 -0
- package/lib/components/header/header.d.ts +20 -0
- package/lib/components/header/header.d.ts.map +1 -0
- package/lib/components/header/header.js +34 -670
- package/lib/components/header/header.js.map +1 -0
- package/lib/components/header/header.styles.d.ts +3 -0
- package/lib/components/header/header.styles.d.ts.map +1 -0
- package/lib/components/header/header.styles.js +645 -0
- package/lib/components/header/header.styles.js.map +1 -0
- package/lib/components/heading/heading.d.ts +81 -0
- package/lib/components/heading/heading.d.ts.map +1 -0
- package/lib/components/heading/heading.js +111 -977
- package/lib/components/heading/heading.js.map +1 -0
- package/lib/components/heading/heading.styles.d.ts +3 -0
- package/lib/components/heading/heading.styles.d.ts.map +1 -0
- package/lib/components/heading/heading.styles.js +907 -0
- package/lib/components/heading/heading.styles.js.map +1 -0
- package/lib/components/hero/hero.d.ts +39 -0
- package/lib/components/hero/hero.d.ts.map +1 -0
- package/lib/components/hero/hero.js +43 -760
- package/lib/components/hero/hero.js.map +1 -0
- package/lib/components/hero/hero.styles.d.ts +3 -0
- package/lib/components/hero/hero.styles.d.ts.map +1 -0
- package/lib/components/hero/hero.styles.js +724 -0
- package/lib/components/hero/hero.styles.js.map +1 -0
- package/lib/components/icon/icon.d.ts +78 -0
- package/lib/components/icon/icon.d.ts.map +1 -0
- package/lib/components/icon/icon.js +228 -1246
- package/lib/components/icon/icon.js.map +1 -0
- package/lib/components/icon/icon.styles.d.ts +3 -0
- package/lib/components/icon/icon.styles.d.ts.map +1 -0
- package/lib/components/icon/icon.styles.js +660 -0
- package/lib/components/icon/icon.styles.js.map +1 -0
- package/lib/components/inline-alert/inline-alert.d.ts +52 -0
- package/lib/components/inline-alert/inline-alert.d.ts.map +1 -0
- package/lib/components/inline-alert/inline-alert.js +114 -849
- package/lib/components/inline-alert/inline-alert.js.map +1 -0
- package/lib/components/inline-alert/inline-alert.styles.d.ts +3 -0
- package/lib/components/inline-alert/inline-alert.styles.d.ts.map +1 -0
- package/lib/components/inline-alert/inline-alert.styles.js +755 -0
- package/lib/components/inline-alert/inline-alert.styles.js.map +1 -0
- package/lib/components/layout/layout.d.ts +25 -0
- package/lib/components/layout/layout.d.ts.map +1 -0
- package/lib/components/layout/layout.js +30 -641
- package/lib/components/layout/layout.js.map +1 -0
- package/lib/components/layout/layout.styles.d.ts +3 -0
- package/lib/components/layout/layout.styles.d.ts.map +1 -0
- package/lib/components/layout/layout.styles.js +618 -0
- package/lib/components/layout/layout.styles.js.map +1 -0
- package/lib/components/layout-container/layout-container.d.ts +20 -0
- package/lib/components/layout-container/layout-container.d.ts.map +1 -0
- package/lib/components/layout-container/layout-container.js +30 -628
- package/lib/components/layout-container/layout-container.js.map +1 -0
- package/lib/components/layout-container/layout-container.styles.d.ts +3 -0
- package/lib/components/layout-container/layout-container.styles.d.ts.map +1 -0
- package/lib/components/layout-container/layout-container.styles.js +605 -0
- package/lib/components/layout-container/layout-container.styles.js.map +1 -0
- package/lib/components/layout-section/layout-section.d.ts +26 -0
- package/lib/components/layout-section/layout-section.d.ts.map +1 -0
- package/lib/components/layout-section/layout-section.js +41 -622
- package/lib/components/layout-section/layout-section.js.map +1 -0
- package/lib/components/layout-section/layout-section.styles.d.ts +3 -0
- package/lib/components/layout-section/layout-section.styles.d.ts.map +1 -0
- package/lib/components/layout-section/layout-section.styles.js +593 -0
- package/lib/components/layout-section/layout-section.styles.js.map +1 -0
- package/lib/components/linelength-container/linelength-container.d.ts +15 -0
- package/lib/components/linelength-container/linelength-container.d.ts.map +1 -0
- package/lib/components/linelength-container/linelength-container.js +17 -602
- package/lib/components/linelength-container/linelength-container.js.map +1 -0
- package/lib/components/linelength-container/linelength-container.styles.d.ts +3 -0
- package/lib/components/linelength-container/linelength-container.styles.d.ts.map +1 -0
- package/lib/components/linelength-container/linelength-container.styles.js +592 -0
- package/lib/components/linelength-container/linelength-container.styles.js.map +1 -0
- package/lib/components/link/link.d.ts +93 -0
- package/lib/components/link/link.d.ts.map +1 -0
- package/lib/components/link/link.js +123 -846
- package/lib/components/link/link.js.map +1 -0
- package/lib/components/link/link.styles.d.ts +3 -0
- package/lib/components/link/link.styles.d.ts.map +1 -0
- package/lib/components/link/link.styles.js +765 -0
- package/lib/components/link/link.styles.js.map +1 -0
- package/lib/components/link-list/link-list.d.ts +42 -0
- package/lib/components/link-list/link-list.d.ts.map +1 -0
- package/lib/components/link-list/link-list.js +48 -739
- package/lib/components/link-list/link-list.js.map +1 -0
- package/lib/components/link-list/link-list.styles.d.ts +3 -0
- package/lib/components/link-list/link-list.styles.d.ts.map +1 -0
- package/lib/components/link-list/link-list.styles.js +698 -0
- package/lib/components/link-list/link-list.styles.js.map +1 -0
- package/lib/components/link-list-item/link-list-item.d.ts +27 -0
- package/lib/components/link-list-item/link-list-item.d.ts.map +1 -0
- package/lib/components/link-list-item/link-list-item.js +40 -677
- package/lib/components/link-list-item/link-list-item.js.map +1 -0
- package/lib/components/link-list-item/link-list-item.styles.d.ts +3 -0
- package/lib/components/link-list-item/link-list-item.styles.d.ts.map +1 -0
- package/lib/components/link-list-item/link-list-item.styles.js +644 -0
- package/lib/components/link-list-item/link-list-item.styles.js.map +1 -0
- package/lib/components/list/list.d.ts +34 -0
- package/lib/components/list/list.d.ts.map +1 -0
- package/lib/components/list/list.js +35 -662
- package/lib/components/list/list.js.map +1 -0
- package/lib/components/list/list.styles.d.ts +3 -0
- package/lib/components/list/list.styles.d.ts.map +1 -0
- package/lib/components/list/list.styles.js +634 -0
- package/lib/components/list/list.styles.js.map +1 -0
- package/lib/components/list-item/list-item.d.ts +16 -0
- package/lib/components/list-item/list-item.d.ts.map +1 -0
- package/lib/components/list-item/list-item.js +25 -606
- package/lib/components/list-item/list-item.js.map +1 -0
- package/lib/components/list-item/list-item.styles.d.ts +3 -0
- package/lib/components/list-item/list-item.styles.d.ts.map +1 -0
- package/lib/components/list-item/list-item.styles.js +589 -0
- package/lib/components/list-item/list-item.styles.js.map +1 -0
- package/lib/components/loading-spinner/loading-spinner.d.ts +90 -0
- package/lib/components/loading-spinner/loading-spinner.d.ts.map +1 -0
- package/lib/components/loading-spinner/loading-spinner.js +124 -787
- package/lib/components/loading-spinner/loading-spinner.js.map +1 -0
- package/lib/components/loading-spinner/loading-spinner.styles.d.ts +3 -0
- package/lib/components/loading-spinner/loading-spinner.styles.d.ts.map +1 -0
- package/lib/components/loading-spinner/loading-spinner.styles.js +722 -0
- package/lib/components/loading-spinner/loading-spinner.styles.js.map +1 -0
- package/lib/components/logo/logo.d.ts +19 -0
- package/lib/components/logo/logo.d.ts.map +1 -0
- package/lib/components/logo/logo.js +28 -613
- package/lib/components/logo/logo.js.map +1 -0
- package/lib/components/logo/logo.styles.d.ts +3 -0
- package/lib/components/logo/logo.styles.d.ts.map +1 -0
- package/lib/components/logo/logo.styles.js +592 -0
- package/lib/components/logo/logo.styles.js.map +1 -0
- package/lib/components/main/main.d.ts +20 -0
- package/lib/components/main/main.d.ts.map +1 -0
- package/lib/components/main/main.js +29 -628
- package/lib/components/main/main.js.map +1 -0
- package/lib/components/main/main.styles.d.ts +3 -0
- package/lib/components/main/main.styles.d.ts.map +1 -0
- package/lib/components/main/main.styles.js +606 -0
- package/lib/components/main/main.styles.js.map +1 -0
- package/lib/components/modal/modal.d.ts +99 -0
- package/lib/components/modal/modal.d.ts.map +1 -0
- package/lib/components/modal/modal.js +170 -878
- package/lib/components/modal/modal.js.map +1 -0
- package/lib/components/modal/modal.styles.d.ts +3 -0
- package/lib/components/modal/modal.styles.d.ts.map +1 -0
- package/lib/components/modal/modal.styles.js +743 -0
- package/lib/components/modal/modal.styles.js.map +1 -0
- package/lib/components/multi-select/multi-select.d.ts +131 -0
- package/lib/components/multi-select/multi-select.d.ts.map +1 -0
- package/lib/components/multi-select/multi-select.js +294 -1030
- package/lib/components/multi-select/multi-select.js.map +1 -0
- package/lib/components/multi-select/multi-select.styles.d.ts +3 -0
- package/lib/components/multi-select/multi-select.styles.d.ts.map +1 -0
- package/lib/components/multi-select/multi-select.styles.js +829 -0
- package/lib/components/multi-select/multi-select.styles.js.map +1 -0
- package/lib/components/nav-container/nav-container.d.ts +15 -0
- package/lib/components/nav-container/nav-container.d.ts.map +1 -0
- package/lib/components/nav-container/nav-container.js +17 -631
- package/lib/components/nav-container/nav-container.js.map +1 -0
- package/lib/components/nav-container/nav-container.styles.d.ts +3 -0
- package/lib/components/nav-container/nav-container.styles.d.ts.map +1 -0
- package/lib/components/nav-container/nav-container.styles.js +621 -0
- package/lib/components/nav-container/nav-container.styles.js.map +1 -0
- package/lib/components/page-header/page-header.d.ts +19 -0
- package/lib/components/page-header/page-header.d.ts.map +1 -0
- package/lib/components/page-header/page-header.js +36 -664
- package/lib/components/page-header/page-header.js.map +1 -0
- package/lib/components/page-header/page-header.styles.d.ts +3 -0
- package/lib/components/page-header/page-header.styles.d.ts.map +1 -0
- package/lib/components/page-header/page-header.styles.js +639 -0
- package/lib/components/page-header/page-header.styles.js.map +1 -0
- package/lib/components/pagination/page-counter/page-counter.d.ts +20 -0
- package/lib/components/pagination/page-counter/page-counter.d.ts.map +1 -0
- package/lib/components/pagination/page-counter/page-counter.js +67 -0
- package/lib/components/pagination/page-counter/page-counter.js.map +1 -0
- package/lib/components/pagination/page-counter/page-counter.styles.d.ts +3 -0
- package/lib/components/pagination/page-counter/page-counter.styles.d.ts.map +1 -0
- package/lib/components/pagination/page-counter/page-counter.styles.js +602 -0
- package/lib/components/pagination/page-counter/page-counter.styles.js.map +1 -0
- package/lib/components/pagination/pagination.d.ts +126 -0
- package/lib/components/pagination/pagination.d.ts.map +1 -0
- package/lib/components/pagination/pagination.js +272 -1475
- package/lib/components/pagination/pagination.js.map +1 -0
- package/lib/components/pagination/pagination.styles.d.ts +3 -0
- package/lib/components/pagination/pagination.styles.d.ts.map +1 -0
- package/lib/components/pagination/pagination.styles.js +648 -0
- package/lib/components/pagination/pagination.styles.js.map +1 -0
- package/lib/components/percent-bar/percent-bar.d.ts +26 -0
- package/lib/components/percent-bar/percent-bar.d.ts.map +1 -0
- package/lib/components/percent-bar/percent-bar.js +53 -657
- package/lib/components/percent-bar/percent-bar.js.map +1 -0
- package/lib/components/percent-bar/percent-bar.styles.d.ts +3 -0
- package/lib/components/percent-bar/percent-bar.styles.d.ts.map +1 -0
- package/lib/components/percent-bar/percent-bar.styles.js +614 -0
- package/lib/components/percent-bar/percent-bar.styles.js.map +1 -0
- package/lib/components/popover/popover.d.ts +155 -0
- package/lib/components/popover/popover.d.ts.map +1 -0
- package/lib/components/popover/popover.js +293 -933
- package/lib/components/popover/popover.js.map +1 -0
- package/lib/components/popover/popover.styles.d.ts +3 -0
- package/lib/components/popover/popover.styles.d.ts.map +1 -0
- package/lib/components/popover/popover.styles.js +769 -0
- package/lib/components/popover/popover.styles.js.map +1 -0
- package/lib/components/primary-nav/primary-nav.d.ts +33 -0
- package/lib/components/primary-nav/primary-nav.d.ts.map +1 -0
- package/lib/components/primary-nav/primary-nav.js +44 -649
- package/lib/components/primary-nav/primary-nav.js.map +1 -0
- package/lib/components/primary-nav/primary-nav.styles.d.ts +3 -0
- package/lib/components/primary-nav/primary-nav.styles.d.ts.map +1 -0
- package/lib/components/primary-nav/primary-nav.styles.js +616 -0
- package/lib/components/primary-nav/primary-nav.styles.js.map +1 -0
- package/lib/components/primary-nav-item/primary-nav-item.d.ts +71 -0
- package/lib/components/primary-nav-item/primary-nav-item.d.ts.map +1 -0
- package/lib/components/primary-nav-item/primary-nav-item.js +146 -874
- package/lib/components/primary-nav-item/primary-nav-item.js.map +1 -0
- package/lib/components/primary-nav-item/primary-nav-item.styles.d.ts +3 -0
- package/lib/components/primary-nav-item/primary-nav-item.styles.d.ts.map +1 -0
- package/lib/components/primary-nav-item/primary-nav-item.styles.js +770 -0
- package/lib/components/primary-nav-item/primary-nav-item.styles.js.map +1 -0
- package/lib/components/progress-meter/progress-meter.d.ts +51 -0
- package/lib/components/progress-meter/progress-meter.d.ts.map +1 -0
- package/lib/components/progress-meter/progress-meter.js +72 -753
- package/lib/components/progress-meter/progress-meter.js.map +1 -0
- package/lib/components/progress-meter/progress-meter.styles.d.ts +3 -0
- package/lib/components/progress-meter/progress-meter.styles.d.ts.map +1 -0
- package/lib/components/progress-meter/progress-meter.styles.js +702 -0
- package/lib/components/progress-meter/progress-meter.styles.js.map +1 -0
- package/lib/components/progress-steps/progress-steps.d.ts +34 -0
- package/lib/components/progress-steps/progress-steps.d.ts.map +1 -0
- package/lib/components/progress-steps/progress-steps.js +38 -617
- package/lib/components/progress-steps/progress-steps.js.map +1 -0
- package/lib/components/progress-steps/progress-steps.styles.d.ts +3 -0
- package/lib/components/progress-steps/progress-steps.styles.d.ts.map +1 -0
- package/lib/components/progress-steps/progress-steps.styles.js +604 -0
- package/lib/components/progress-steps/progress-steps.styles.js.map +1 -0
- package/lib/components/progress-steps-item/progress-steps-item.d.ts +44 -0
- package/lib/components/progress-steps-item/progress-steps-item.d.ts.map +1 -0
- package/lib/components/progress-steps-item/progress-steps-item.js +51 -749
- package/lib/components/progress-steps-item/progress-steps-item.js.map +1 -0
- package/lib/components/progress-steps-item/progress-steps-item.styles.d.ts +3 -0
- package/lib/components/progress-steps-item/progress-steps-item.styles.d.ts.map +1 -0
- package/lib/components/progress-steps-item/progress-steps-item.styles.js +714 -0
- package/lib/components/progress-steps-item/progress-steps-item.styles.js.map +1 -0
- package/lib/components/radio-field/radio-field.d.ts +56 -0
- package/lib/components/radio-field/radio-field.d.ts.map +1 -0
- package/lib/components/radio-field/radio-field.js +59 -672
- package/lib/components/radio-field/radio-field.js.map +1 -0
- package/lib/components/radio-field/radio-field.styles.d.ts +3 -0
- package/lib/components/radio-field/radio-field.styles.d.ts.map +1 -0
- package/lib/components/radio-field/radio-field.styles.js +627 -0
- package/lib/components/radio-field/radio-field.styles.js.map +1 -0
- package/lib/components/radio-field-item/radio-field-item.d.ts +158 -0
- package/lib/components/radio-field-item/radio-field-item.d.ts.map +1 -0
- package/lib/components/radio-field-item/radio-field-item.js +213 -890
- package/lib/components/radio-field-item/radio-field-item.js.map +1 -0
- package/lib/components/radio-field-item/radio-field-item.styles.d.ts +3 -0
- package/lib/components/radio-field-item/radio-field-item.styles.d.ts.map +1 -0
- package/lib/components/radio-field-item/radio-field-item.styles.js +724 -0
- package/lib/components/radio-field-item/radio-field-item.styles.js.map +1 -0
- package/lib/components/remove-tag/remove-tag.d.ts +53 -0
- package/lib/components/remove-tag/remove-tag.d.ts.map +1 -0
- package/lib/components/remove-tag/remove-tag.js +86 -742
- package/lib/components/remove-tag/remove-tag.js.map +1 -0
- package/lib/components/remove-tag/remove-tag.styles.d.ts +3 -0
- package/lib/components/remove-tag/remove-tag.styles.d.ts.map +1 -0
- package/lib/components/remove-tag/remove-tag.styles.js +684 -0
- package/lib/components/remove-tag/remove-tag.styles.js.map +1 -0
- package/lib/components/section/section.d.ts +33 -0
- package/lib/components/section/section.d.ts.map +1 -0
- package/lib/components/section/section.js +46 -634
- package/lib/components/section/section.js.map +1 -0
- package/lib/components/section/section.styles.d.ts +3 -0
- package/lib/components/section/section.styles.d.ts.map +1 -0
- package/lib/components/section/section.styles.js +611 -0
- package/lib/components/section/section.styles.js.map +1 -0
- package/lib/components/select/select.d.ts +169 -0
- package/lib/components/select/select.d.ts.map +1 -0
- package/lib/components/select/select.js +235 -890
- package/lib/components/select/select.js.map +1 -0
- package/lib/components/select/select.styles.d.ts +3 -0
- package/lib/components/select/select.styles.d.ts.map +1 -0
- package/lib/components/select/select.styles.js +742 -0
- package/lib/components/select/select.styles.js.map +1 -0
- package/lib/components/select-tile/select-tile-checkbox-controller.d.ts +40 -0
- package/lib/components/select-tile/select-tile-checkbox-controller.d.ts.map +1 -0
- package/lib/components/select-tile/select-tile-checkbox-controller.js +60 -0
- package/lib/components/select-tile/select-tile-checkbox-controller.js.map +1 -0
- package/lib/components/select-tile/select-tile-radio-controller.d.ts +87 -0
- package/lib/components/select-tile/select-tile-radio-controller.d.ts.map +1 -0
- package/lib/components/select-tile/select-tile-radio-controller.js +167 -0
- package/lib/components/select-tile/select-tile-radio-controller.js.map +1 -0
- package/lib/components/select-tile/select-tile.d.ts +159 -0
- package/lib/components/select-tile/select-tile.d.ts.map +1 -0
- package/lib/components/select-tile/select-tile.js +228 -226
- package/lib/components/select-tile/select-tile.js.map +1 -0
- package/lib/components/select-tile/select-tile.styles.d.ts +3 -0
- package/lib/components/select-tile/select-tile.styles.d.ts.map +1 -0
- package/lib/components/select-tile/select-tile.styles.js +4 -0
- package/lib/components/select-tile/select-tile.styles.js.map +1 -0
- package/lib/components/select-tile-list/select-tile-list.d.ts +52 -0
- package/lib/components/select-tile-list/select-tile-list.d.ts.map +1 -0
- package/lib/components/select-tile-list/select-tile-list.js +73 -678
- package/lib/components/select-tile-list/select-tile-list.js.map +1 -0
- package/lib/components/select-tile-list/select-tile-list.styles.d.ts +3 -0
- package/lib/components/select-tile-list/select-tile-list.styles.d.ts.map +1 -0
- package/lib/components/select-tile-list/select-tile-list.styles.js +623 -0
- package/lib/components/select-tile-list/select-tile-list.styles.js.map +1 -0
- package/lib/components/skeleton-loader/skeleton-loader.d.ts +53 -0
- package/lib/components/skeleton-loader/skeleton-loader.d.ts.map +1 -0
- package/lib/components/skeleton-loader/skeleton-loader.js +68 -672
- package/lib/components/skeleton-loader/skeleton-loader.js.map +1 -0
- package/lib/components/skeleton-loader/skeleton-loader.styles.d.ts +3 -0
- package/lib/components/skeleton-loader/skeleton-loader.styles.d.ts.map +1 -0
- package/lib/components/skeleton-loader/skeleton-loader.styles.js +637 -0
- package/lib/components/skeleton-loader/skeleton-loader.styles.js.map +1 -0
- package/lib/components/split-button/split-button.d.ts +34 -0
- package/lib/components/split-button/split-button.d.ts.map +1 -0
- package/lib/components/split-button/split-button.js +49 -638
- package/lib/components/split-button/split-button.js.map +1 -0
- package/lib/components/split-button/split-button.styles.d.ts +3 -0
- package/lib/components/split-button/split-button.styles.d.ts.map +1 -0
- package/lib/components/split-button/split-button.styles.js +598 -0
- package/lib/components/split-button/split-button.styles.js.map +1 -0
- package/lib/components/submenu/submenu.d.ts +15 -0
- package/lib/components/submenu/submenu.d.ts.map +1 -0
- package/lib/components/submenu/submenu.js +17 -604
- package/lib/components/submenu/submenu.js.map +1 -0
- package/lib/components/submenu/submenu.styles.d.ts +3 -0
- package/lib/components/submenu/submenu.styles.d.ts.map +1 -0
- package/lib/components/submenu/submenu.styles.js +594 -0
- package/lib/components/submenu/submenu.styles.js.map +1 -0
- package/lib/components/submenu-item/submenu-item.d.ts +19 -0
- package/lib/components/submenu-item/submenu-item.d.ts.map +1 -0
- package/lib/components/submenu-item/submenu-item.js +32 -624
- package/lib/components/submenu-item/submenu-item.js.map +1 -0
- package/lib/components/submenu-item/submenu-item.styles.d.ts +3 -0
- package/lib/components/submenu-item/submenu-item.styles.d.ts.map +1 -0
- package/lib/components/submenu-item/submenu-item.styles.js +602 -0
- package/lib/components/submenu-item/submenu-item.styles.js.map +1 -0
- package/lib/components/tab/tab.d.ts +58 -0
- package/lib/components/tab/tab.d.ts.map +1 -0
- package/lib/components/tab/tab.js +73 -741
- package/lib/components/tab/tab.js.map +1 -0
- package/lib/components/tab/tab.styles.d.ts +3 -0
- package/lib/components/tab/tab.styles.d.ts.map +1 -0
- package/lib/components/tab/tab.styles.js +683 -0
- package/lib/components/tab/tab.styles.js.map +1 -0
- package/lib/components/tab-panel/tab-panel.d.ts +38 -0
- package/lib/components/tab-panel/tab-panel.d.ts.map +1 -0
- package/lib/components/tab-panel/tab-panel.js +49 -657
- package/lib/components/tab-panel/tab-panel.js.map +1 -0
- package/lib/components/tab-panel/tab-panel.styles.d.ts +3 -0
- package/lib/components/tab-panel/tab-panel.styles.d.ts.map +1 -0
- package/lib/components/tab-panel/tab-panel.styles.js +618 -0
- package/lib/components/tab-panel/tab-panel.styles.js.map +1 -0
- package/lib/components/table/table.d.ts +43 -0
- package/lib/components/table/table.d.ts.map +1 -0
- package/lib/components/table/table.js +46 -673
- package/lib/components/table/table.js.map +1 -0
- package/lib/components/table/table.styles.d.ts +3 -0
- package/lib/components/table/table.styles.d.ts.map +1 -0
- package/lib/components/table/table.styles.js +636 -0
- package/lib/components/table/table.styles.js.map +1 -0
- package/lib/components/table-body/table-body.d.ts +15 -0
- package/lib/components/table-body/table-body.d.ts.map +1 -0
- package/lib/components/table-body/table-body.js +19 -607
- package/lib/components/table-body/table-body.js.map +1 -0
- package/lib/components/table-body/table-body.styles.d.ts +3 -0
- package/lib/components/table-body/table-body.styles.d.ts.map +1 -0
- package/lib/components/table-body/table-body.styles.js +595 -0
- package/lib/components/table-body/table-body.styles.js.map +1 -0
- package/lib/components/table-cell/table-cell.d.ts +32 -0
- package/lib/components/table-cell/table-cell.d.ts.map +1 -0
- package/lib/components/table-cell/table-cell.js +39 -660
- package/lib/components/table-cell/table-cell.js.map +1 -0
- package/lib/components/table-cell/table-cell.styles.d.ts +3 -0
- package/lib/components/table-cell/table-cell.styles.d.ts.map +1 -0
- package/lib/components/table-cell/table-cell.styles.js +628 -0
- package/lib/components/table-cell/table-cell.styles.js.map +1 -0
- package/lib/components/table-header/table-header.d.ts +15 -0
- package/lib/components/table-header/table-header.d.ts.map +1 -0
- package/lib/components/table-header/table-header.js +19 -627
- package/lib/components/table-header/table-header.js.map +1 -0
- package/lib/components/table-header/table-header.styles.d.ts +3 -0
- package/lib/components/table-header/table-header.styles.d.ts.map +1 -0
- package/lib/components/table-header/table-header.styles.js +615 -0
- package/lib/components/table-header/table-header.styles.js.map +1 -0
- package/lib/components/table-header-cell/table-header-cell.d.ts +24 -0
- package/lib/components/table-header-cell/table-header-cell.d.ts.map +1 -0
- package/lib/components/table-header-cell/table-header-cell.js +35 -635
- package/lib/components/table-header-cell/table-header-cell.js.map +1 -0
- package/lib/components/table-header-cell/table-header-cell.styles.d.ts +3 -0
- package/lib/components/table-header-cell/table-header-cell.styles.d.ts.map +1 -0
- package/lib/components/table-header-cell/table-header-cell.styles.js +607 -0
- package/lib/components/table-header-cell/table-header-cell.styles.js.map +1 -0
- package/lib/components/table-object/table-object.d.ts +15 -0
- package/lib/components/table-object/table-object.d.ts.map +1 -0
- package/lib/components/table-object/table-object.js +21 -616
- package/lib/components/table-object/table-object.js.map +1 -0
- package/lib/components/table-object/table-object.styles.d.ts +3 -0
- package/lib/components/table-object/table-object.styles.d.ts.map +1 -0
- package/lib/components/table-object/table-object.styles.js +602 -0
- package/lib/components/table-object/table-object.styles.js.map +1 -0
- package/lib/components/table-row/table-row.d.ts +43 -0
- package/lib/components/table-row/table-row.d.ts.map +1 -0
- package/lib/components/table-row/table-row.js +74 -745
- package/lib/components/table-row/table-row.js.map +1 -0
- package/lib/components/table-row/table-row.styles.d.ts +3 -0
- package/lib/components/table-row/table-row.styles.d.ts.map +1 -0
- package/lib/components/table-row/table-row.styles.js +694 -0
- package/lib/components/table-row/table-row.styles.js.map +1 -0
- package/lib/components/tabs/tabs.d.ts +238 -0
- package/lib/components/tabs/tabs.d.ts.map +1 -0
- package/lib/components/tabs/tabs.js +441 -969
- package/lib/components/tabs/tabs.js.map +1 -0
- package/lib/components/tabs/tabs.styles.d.ts +3 -0
- package/lib/components/tabs/tabs.styles.d.ts.map +1 -0
- package/lib/components/tabs/tabs.styles.js +681 -0
- package/lib/components/tabs/tabs.styles.js.map +1 -0
- package/lib/components/tag/tag.d.ts +92 -0
- package/lib/components/tag/tag.d.ts.map +1 -0
- package/lib/components/tag/tag.js +222 -850
- package/lib/components/tag/tag.js.map +1 -0
- package/lib/components/tag/tag.styles.d.ts +3 -0
- package/lib/components/tag/tag.styles.d.ts.map +1 -0
- package/lib/components/tag/tag.styles.js +698 -0
- package/lib/components/tag/tag.styles.js.map +1 -0
- package/lib/components/tag-list/tag-list.d.ts +28 -0
- package/lib/components/tag-list/tag-list.d.ts.map +1 -0
- package/lib/components/tag-list/tag-list.js +40 -646
- package/lib/components/tag-list/tag-list.js.map +1 -0
- package/lib/components/tag-list/tag-list.styles.d.ts +3 -0
- package/lib/components/tag-list/tag-list.styles.d.ts.map +1 -0
- package/lib/components/tag-list/tag-list.styles.js +615 -0
- package/lib/components/tag-list/tag-list.styles.js.map +1 -0
- package/lib/components/tertiary-nav/tertiary-nav.d.ts +23 -0
- package/lib/components/tertiary-nav/tertiary-nav.d.ts.map +1 -0
- package/lib/components/tertiary-nav/tertiary-nav.js +40 -645
- package/lib/components/tertiary-nav/tertiary-nav.js.map +1 -0
- package/lib/components/tertiary-nav/tertiary-nav.styles.d.ts +3 -0
- package/lib/components/tertiary-nav/tertiary-nav.styles.d.ts.map +1 -0
- package/lib/components/tertiary-nav/tertiary-nav.styles.js +616 -0
- package/lib/components/tertiary-nav/tertiary-nav.styles.js.map +1 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.d.ts +29 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.d.ts.map +1 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.js +52 -677
- package/lib/components/tertiary-nav-item/tertiary-nav-item.js.map +1 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.d.ts +3 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.d.ts.map +1 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.js +638 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.js.map +1 -0
- package/lib/components/text-link/text-link.d.ts +43 -0
- package/lib/components/text-link/text-link.d.ts.map +1 -0
- package/lib/components/text-link/text-link.js +45 -692
- package/lib/components/text-link/text-link.js.map +1 -0
- package/lib/components/text-link/text-link.styles.d.ts +3 -0
- package/lib/components/text-link/text-link.styles.d.ts.map +1 -0
- package/lib/components/text-link/text-link.styles.js +655 -0
- package/lib/components/text-link/text-link.styles.js.map +1 -0
- package/lib/components/text-passage/text-passage-light-dom.d.ts +3 -0
- package/lib/components/text-passage/text-passage-light-dom.d.ts.map +1 -0
- package/lib/components/text-passage/text-passage-light-dom.js +145 -0
- package/lib/components/text-passage/text-passage-light-dom.js.map +1 -0
- package/lib/components/text-passage/text-passage-light-dom.styles.d.ts +3 -0
- package/lib/components/text-passage/text-passage-light-dom.styles.d.ts.map +1 -0
- package/lib/components/text-passage/text-passage-light-dom.styles.js +843 -0
- package/lib/components/text-passage/text-passage-light-dom.styles.js.map +1 -0
- package/lib/components/text-passage/text-passage.d.ts +44 -0
- package/lib/components/text-passage/text-passage.d.ts.map +1 -0
- package/lib/components/text-passage/text-passage.js +73 -1505
- package/lib/components/text-passage/text-passage.js.map +1 -0
- package/lib/components/text-passage/text-passage.styles.d.ts +3 -0
- package/lib/components/text-passage/text-passage.styles.d.ts.map +1 -0
- package/lib/components/text-passage/text-passage.styles.js +625 -0
- package/lib/components/text-passage/text-passage.styles.js.map +1 -0
- package/lib/components/tooltip/tooltip.d.ts +171 -0
- package/lib/components/tooltip/tooltip.d.ts.map +1 -0
- package/lib/components/tooltip/tooltip.js +270 -945
- package/lib/components/tooltip/tooltip.js.map +1 -0
- package/lib/components/tooltip/tooltip.styles.d.ts +3 -0
- package/lib/components/tooltip/tooltip.styles.d.ts.map +1 -0
- package/lib/components/tooltip/tooltip.styles.js +784 -0
- package/lib/components/tooltip/tooltip.styles.js.map +1 -0
- package/lib/components/utility-nav/utility-nav.d.ts +24 -0
- package/lib/components/utility-nav/utility-nav.d.ts.map +1 -0
- package/lib/components/utility-nav/utility-nav.js +40 -645
- package/lib/components/utility-nav/utility-nav.js.map +1 -0
- package/lib/components/utility-nav/utility-nav.styles.d.ts +3 -0
- package/lib/components/utility-nav/utility-nav.styles.d.ts.map +1 -0
- package/lib/components/utility-nav/utility-nav.styles.js +616 -0
- package/lib/components/utility-nav/utility-nav.styles.js.map +1 -0
- package/lib/components/utility-nav-item/utility-nav-item.d.ts +39 -0
- package/lib/components/utility-nav-item/utility-nav-item.d.ts.map +1 -0
- package/lib/components/utility-nav-item/utility-nav-item.js +70 -691
- package/lib/components/utility-nav-item/utility-nav-item.js.map +1 -0
- package/lib/components/utility-nav-item/utility-nav-item.styles.d.ts +3 -0
- package/lib/components/utility-nav-item/utility-nav-item.styles.d.ts.map +1 -0
- package/lib/components/utility-nav-item/utility-nav-item.styles.js +646 -0
- package/lib/components/utility-nav-item/utility-nav-item.styles.js.map +1 -0
- package/lib/design-tokens/brands/blue/css/tokens_blue.module.d.ts +3 -0
- package/lib/design-tokens/brands/blue/css/tokens_blue.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/blue/css/tokens_blue.module.js +737 -0
- package/lib/design-tokens/brands/blue/css/tokens_blue.module.js.map +1 -0
- package/lib/design-tokens/brands/bolt/tokens_bolt.theme.d.ts +3 -0
- package/lib/design-tokens/brands/bolt/tokens_bolt.theme.d.ts.map +1 -0
- package/lib/design-tokens/brands/bolt/tokens_bolt.theme.js +756 -0
- package/lib/design-tokens/brands/bolt/tokens_bolt.theme.js.map +1 -0
- package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.d.ts +3 -0
- package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.js +771 -0
- package/lib/design-tokens/brands/cre8/css/tokens_cre8.module.js.map +1 -0
- package/lib/design-tokens/brands/cre8-a2ui/css/fonts.css +4 -8
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts +3 -0
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.js +776 -0
- package/lib/design-tokens/brands/cre8-a2ui/css/tokens_cre8-a2ui.module.js.map +1 -0
- package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.d.ts +3 -0
- package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.js +737 -0
- package/lib/design-tokens/brands/cre8-legacy/css/tokens_cre8-legacy.module.js.map +1 -0
- package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.d.ts +3 -0
- package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.js +983 -0
- package/lib/design-tokens/brands/femmecubator/css/tokens_femmecubator2.module.js.map +1 -0
- package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.d.ts +3 -0
- package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.js +737 -0
- package/lib/design-tokens/brands/legacy/css/tokens_legacy.module.js.map +1 -0
- package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.d.ts +3 -0
- package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.js +736 -0
- package/lib/design-tokens/brands/marketing/css/tokens_marketing.module.js.map +1 -0
- package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts +3 -0
- package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.js +737 -0
- package/lib/design-tokens/brands/minimalist/css/tokens_minimalist.module.js.map +1 -0
- package/lib/design-tokens/brands/notion/tokens_notion.module.d.ts +3 -0
- package/lib/design-tokens/brands/notion/tokens_notion.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/notion/tokens_notion.module.js +91 -0
- package/lib/design-tokens/brands/notion/tokens_notion.module.js.map +1 -0
- package/lib/design-tokens/brands/prisma/tokens_prisma.module.d.ts +3 -0
- package/lib/design-tokens/brands/prisma/tokens_prisma.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/prisma/tokens_prisma.module.js +771 -0
- package/lib/design-tokens/brands/prisma/tokens_prisma.module.js.map +1 -0
- package/lib/design-tokens/brands/starbucks/tokens.module.d.ts +3 -0
- package/lib/design-tokens/brands/starbucks/tokens.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/starbucks/tokens.module.js +552 -0
- package/lib/design-tokens/brands/starbucks/tokens.module.js.map +1 -0
- package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.d.ts +3 -0
- package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.d.ts.map +1 -0
- package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.js +776 -0
- package/lib/design-tokens/brands/starbucks/tokens_starbucks.module.js.map +1 -0
- package/lib/design-tokens/core/scss/theming/head.module.d.ts +3 -0
- package/lib/design-tokens/core/scss/theming/head.module.d.ts.map +1 -0
- package/lib/design-tokens/core/scss/theming/head.module.js +6 -0
- package/lib/design-tokens/core/scss/theming/head.module.js.map +1 -0
- package/lib/directives/if-truthy.d.ts +10 -0
- package/lib/directives/if-truthy.d.ts.map +1 -0
- package/lib/directives/if-truthy.js +24 -0
- package/lib/directives/if-truthy.js.map +1 -0
- package/lib/directives/spread.d.ts +10 -0
- package/lib/directives/spread.d.ts.map +1 -0
- package/lib/directives/spread.js +29 -0
- package/lib/directives/spread.js.map +1 -0
- package/lib/index.d.ts +88 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +86 -172
- package/lib/index.js.map +1 -0
- package/lib/scripts/convert-scss-to-ts.d.ts +2 -0
- package/lib/scripts/convert-scss-to-ts.d.ts.map +1 -0
- package/lib/scripts/convert-scss-to-ts.js +100 -0
- package/lib/scripts/convert-scss-to-ts.js.map +1 -0
- package/lib/scripts/generate-mcp-manifest.d.ts +8 -0
- package/lib/scripts/generate-mcp-manifest.d.ts.map +1 -0
- package/lib/scripts/generate-mcp-manifest.js +350 -0
- package/lib/scripts/generate-mcp-manifest.js.map +1 -0
- package/lib/scripts/generate-react-wrappers.d.ts +2 -0
- package/lib/scripts/generate-react-wrappers.d.ts.map +1 -0
- package/lib/scripts/generate-react-wrappers.js +292 -0
- package/lib/scripts/generate-react-wrappers.js.map +1 -0
- package/lib/toBeAccessible.d.ts +9 -0
- package/lib/toBeAccessible.d.ts.map +1 -0
- package/lib/toBeAccessible.js +18 -0
- package/lib/toBeAccessible.js.map +1 -0
- package/lib/utilities/is-mobile.d.ts +5 -0
- package/lib/utilities/is-mobile.d.ts.map +1 -0
- package/lib/utilities/is-mobile.js +10 -0
- package/lib/utilities/is-mobile.js.map +1 -0
- package/lib/utilities/story-helpers.d.ts +9 -0
- package/lib/utilities/story-helpers.d.ts.map +1 -0
- package/lib/utilities/story-helpers.js +14 -0
- package/lib/utilities/story-helpers.js.map +1 -0
- package/lib/vite.config.cdn.d.ts +18 -0
- package/lib/vite.config.cdn.d.ts.map +1 -0
- package/lib/vite.config.cdn.js +87 -0
- package/lib/vite.config.cdn.js.map +1 -0
- package/lib/vite.config.d.ts +3 -0
- package/lib/vite.config.d.ts.map +1 -0
- package/lib/vite.config.js +195 -0
- package/lib/vite.config.js.map +1 -0
- package/mcp-manifest.json +1 -1
- package/package.json +1 -1
|
@@ -1,889 +1,169 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
@
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
@media all and (min-width: 75rem) {
|
|
48
|
-
.cre8-u-hide-xl {
|
|
49
|
-
display: none !important;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
@media all and (max-width: 23.4375rem) {
|
|
53
|
-
.cre8-u-show-sm {
|
|
54
|
-
display: none !important;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
@media all and (max-width: 35rem) {
|
|
58
|
-
.cre8-u-show-sm-2 {
|
|
59
|
-
display: none !important;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
@media all and (max-width: 48rem) {
|
|
63
|
-
.cre8-u-show-md {
|
|
64
|
-
display: none !important;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
@media all and (max-width: 60rem) {
|
|
68
|
-
.cre8-u-show-lg {
|
|
69
|
-
display: none !important;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
@media all and (max-width: 75rem) {
|
|
73
|
-
.cre8-u-show-xl {
|
|
74
|
-
display: none !important;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
.cre8-u-margin-none {
|
|
78
|
-
margin: 0 !important;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.cre8-u-margin-sm {
|
|
82
|
-
margin: size(1) !important;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.cre8-u-margin-md {
|
|
86
|
-
margin: size(2) !important;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.cre8-u-margin-lg {
|
|
90
|
-
margin: size(3) !important;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.cre8-u-margin-xl {
|
|
94
|
-
margin: size(4) !important;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.cre8-u-margin-xxl {
|
|
98
|
-
margin: size(8) !important;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.cre8-u-margin-top-none {
|
|
102
|
-
margin-top: 0 !important;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.cre8-u-margin-top-sm {
|
|
106
|
-
margin-top: size(1) !important;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.cre8-u-margin-top-md {
|
|
110
|
-
margin-top: size(2) !important;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.cre8-u-margin-top-lg {
|
|
114
|
-
margin-top: size(3) !important;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.cre8-u-margin-top-xl {
|
|
118
|
-
margin-top: size(4) !important;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.cre8-u-margin-top-xxl {
|
|
122
|
-
margin-top: size(8) !important;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.cre8-u-margin-right-none {
|
|
126
|
-
margin-right: 0 !important;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.cre8-u-margin-right-sm {
|
|
130
|
-
margin-right: size(1) !important;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.cre8-u-margin-right-md {
|
|
134
|
-
margin-right: size(2) !important;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.cre8-u-margin-right-lg {
|
|
138
|
-
margin-right: size(3) !important;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.cre8-u-margin-right-xl {
|
|
142
|
-
margin-right: size(4) !important;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.cre8-u-margin-right-xxl {
|
|
146
|
-
margin-right: size(8) !important;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.cre8-u-margin-bottom-none {
|
|
150
|
-
margin-bottom: 0 !important;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.cre8-u-margin-bottom-sm {
|
|
154
|
-
margin-bottom: size(1) !important;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.cre8-u-margin-bottom-md {
|
|
158
|
-
margin-bottom: size(2) !important;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.cre8-u-margin-bottom-lg {
|
|
162
|
-
margin-bottom: size(3) !important;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.cre8-u-margin-bottom-xl {
|
|
166
|
-
margin-bottom: size(4) !important;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.cre8-u-margin-bottom-xxl {
|
|
170
|
-
margin-bottom: size(8) !important;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.cre8-u-margin-bottom-xl-xxl {
|
|
174
|
-
margin-bottom: size(4) !important;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
@media all and (min-width: 768px) {
|
|
178
|
-
.cre8-u-margin-bottom-xl-xxl {
|
|
179
|
-
margin-bottom: size(8) !important;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
.cre8-u-margin-left-none {
|
|
183
|
-
margin-left: 0 !important;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.cre8-u-margin-left-sm {
|
|
187
|
-
margin-left: size(1) !important;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.cre8-u-margin-left-md {
|
|
191
|
-
margin-left: size(2) !important;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.cre8-u-margin-left-lg {
|
|
195
|
-
margin-left: size(3) !important;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.cre8-u-margin-left-xl {
|
|
199
|
-
margin-left: size(4) !important;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.cre8-u-margin-left-xxl {
|
|
203
|
-
margin-left: size(8) !important;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.cre8-u-padding-none {
|
|
207
|
-
padding: 0 !important;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.cre8-u-padding-sm {
|
|
211
|
-
padding: size(1) !important;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.cre8-u-padding-md {
|
|
215
|
-
padding: size(2) !important;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.cre8-u-padding-lg {
|
|
219
|
-
padding: size(3) !important;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.cre8-u-padding-xl {
|
|
223
|
-
padding: size(4) !important;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.cre8-u-padding-xxl {
|
|
227
|
-
padding: size(8) !important;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.cre8-u-padding-top-none {
|
|
231
|
-
padding-top: 0 !important;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.cre8-u-padding-top-sm {
|
|
235
|
-
padding-top: size(1) !important;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.cre8-u-padding-top-md {
|
|
239
|
-
padding-top: size(2) !important;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.cre8-u-padding-top-lg {
|
|
243
|
-
padding-top: size(3) !important;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.cre8-u-padding-top-xl {
|
|
247
|
-
padding-top: size(4) !important;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.cre8-u-padding-top-xxl {
|
|
251
|
-
padding-top: size(8) !important;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.cre8-u-padding-right-none {
|
|
255
|
-
padding-right: 0 !important;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.cre8-u-padding-right-sm {
|
|
259
|
-
padding-right: size(1) !important;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.cre8-u-padding-right-md {
|
|
263
|
-
padding-right: size(2) !important;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.cre8-u-padding-right-lg {
|
|
267
|
-
padding-right: size(3) !important;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.cre8-u-padding-right-xl {
|
|
271
|
-
padding-right: size(4) !important;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.cre8-u-padding-right-xxl {
|
|
275
|
-
padding-right: size(8) !important;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.cre8-u-padding-bottom-none {
|
|
279
|
-
padding-bottom: 0 !important;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.cre8-u-padding-bottom-sm {
|
|
283
|
-
padding-bottom: size(1) !important;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.cre8-u-padding-bottom-md {
|
|
287
|
-
padding-bottom: size(2) !important;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.cre8-u-padding-bottom-lg {
|
|
291
|
-
padding-bottom: size(3) !important;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.cre8-u-padding-bottom-xl {
|
|
295
|
-
padding-bottom: size(4) !important;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.cre8-u-padding-bottom-xxl {
|
|
299
|
-
padding-bottom: size(8) !important;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.cre8-u-padding-left-none {
|
|
303
|
-
padding-left: 0 !important;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.cre8-u-padding-left-sm {
|
|
307
|
-
padding-left: size(1) !important;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.cre8-u-padding-left-md {
|
|
311
|
-
padding-left: size(2) !important;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
.cre8-u-padding-left-lg {
|
|
315
|
-
padding-left: size(3) !important;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
.cre8-u-padding-left-xl {
|
|
319
|
-
padding-left: size(4) !important;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.cre8-u-padding-left-xxl {
|
|
323
|
-
padding-left: size(8) !important;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.cre8-u-display-flex {
|
|
327
|
-
display: flex !important;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.cre8-u-display-block {
|
|
331
|
-
display: block !important;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
body {
|
|
335
|
-
font-family: var(--cre8-typography-body-default-font-family);
|
|
336
|
-
font-size: var(--cre8-typography-body-default-font-size);
|
|
337
|
-
font-weight: var(--cre8-typography-body-default-font-weight);
|
|
338
|
-
line-height: var(--cre8-typography-body-default-line-height);
|
|
339
|
-
-webkit-text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
340
|
-
text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
341
|
-
text-transform: var(--cre8-typography-body-default-text-transform);
|
|
342
|
-
display: flex;
|
|
343
|
-
flex-direction: column;
|
|
344
|
-
padding: 0;
|
|
345
|
-
margin: 0;
|
|
346
|
-
color: var(--cre8-color-content-default);
|
|
347
|
-
background: var(--background-default);
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
@media all and (min-width: 60rem) {
|
|
351
|
-
.page-container {
|
|
352
|
-
background: linear-gradient(90deg, #fff 0, #fff 66.66%, #f8f8f9 0, #f8f8f9 0);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
.band__inner {
|
|
356
|
-
margin-left: 2rem;
|
|
357
|
-
margin-right: 2rem;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
@media all and (min-width: 60rem) {
|
|
361
|
-
.band__inner {
|
|
362
|
-
margin-right: 0;
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
img {
|
|
366
|
-
max-width: 100%;
|
|
367
|
-
height: auto;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/
|
|
372
|
-
*/
|
|
373
|
-
*,
|
|
374
|
-
::slotted(*),
|
|
375
|
-
*:before,
|
|
376
|
-
*:after {
|
|
377
|
-
box-sizing: border-box;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
:root {
|
|
381
|
-
--size-base-unit: 0.5rem;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* RTL support for values logical properties can't automatically adjust for
|
|
386
|
-
* 1) Percentage based horizontal translate values need to be flipped
|
|
387
|
-
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
388
|
-
* 3) Inverse items that have 45degs
|
|
389
|
-
*/
|
|
390
|
-
[dir=rtl] {
|
|
391
|
-
--rtlTranslateX: 50%;
|
|
392
|
-
/* 1 */
|
|
393
|
-
--rtlGradientToRight: 270deg;
|
|
394
|
-
/* 2 */
|
|
395
|
-
--rtlRotate45Inverse: -45deg;
|
|
396
|
-
/* 3 */
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* Visible focus outline for elements on a light background
|
|
401
|
-
*/
|
|
402
|
-
/**
|
|
403
|
-
* Visible focus outline for elements with an error status
|
|
404
|
-
*/
|
|
405
|
-
/**
|
|
406
|
-
* Visible focus outline for elements on a dark background
|
|
407
|
-
*/
|
|
408
|
-
/**
|
|
409
|
-
* Focus state for themes that need a dashed outline for focus
|
|
410
|
-
* state
|
|
411
|
-
**/
|
|
412
|
-
/**
|
|
413
|
-
* Invisible focus outline for elements that need a more visible
|
|
414
|
-
* focus state for high-contrast mode
|
|
415
|
-
*/
|
|
416
|
-
/**
|
|
417
|
-
* Visually hidden from display
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import svgCaretUp from '@tmorrow/cre8-wc/icons/System/Regular/Caret_Up.svg?raw';
|
|
8
|
+
import { html, } from 'lit';
|
|
9
|
+
import { property, state } from 'lit/decorators.js';
|
|
10
|
+
import { ifDefined } from 'lit-html/directives/if-defined.js';
|
|
11
|
+
import classnames from 'classnames';
|
|
12
|
+
import { Cre8Element } from '../cre8-element';
|
|
13
|
+
import '../icon/icon';
|
|
14
|
+
import '../button/button';
|
|
15
|
+
import styles from './accordion-item.styles.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* The accordion item component delivers large amounts of content in a small space
|
|
19
|
+
* through progressive disclosure. That is, the user gets key details about the
|
|
20
|
+
* underlying content and can choose to expand that content within the constraints
|
|
21
|
+
* of the accordion item. Accordion Items work especially well on mobile interfaces or
|
|
22
|
+
* whenever vertical space is at a premium.
|
|
23
|
+
*
|
|
24
|
+
* ## HOW TO USE
|
|
25
|
+
* Avoid “nested” accordion items—that is, collapsible content within collapsible content.
|
|
26
|
+
* This type of pattern goes against UX best practices.
|
|
27
|
+
*
|
|
28
|
+
* The Cre8 accordion item header allows for two sizes:
|
|
29
|
+
* 'sm' [cre8-typography-title-default] or 'lg' [cre8-typography-title-large]
|
|
30
|
+
*
|
|
31
|
+
* A chevron is used to indicate the “expand/collapse” action, though the entire
|
|
32
|
+
* header area is clickable for the same action.
|
|
33
|
+
*
|
|
34
|
+
* **NOTE**: The header of the accordion item uses h tags so be sure to choose the headingTagVariant that
|
|
35
|
+
* fits into the hierarchy of your html page layout. THIS WILL NOT CHANGE THE APPEARANCE OF THE HEADER.
|
|
36
|
+
*
|
|
37
|
+
* @slot The body of the accordion item will be any valid html
|
|
38
|
+
* inserted between the cre8-accordion-item opening and closing tags.
|
|
39
|
+
*
|
|
40
|
+
*
|
|
41
|
+
* @csspart ::part('header') - The container around the interactive header.
|
|
42
|
+
* @csspart ::part('button') - The button containing the header text and the animated icon.
|
|
43
|
+
* @csspart ::part('icon') - The animated icon that revolves on click.
|
|
44
|
+
* @csspart ::part('body') - The container around the expanding body section.
|
|
45
|
+
* @csspart ::part('body-inner') - The container around the slot into which any user provided HTML is inserted.
|
|
46
|
+
*
|
|
418
47
|
*/
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
}
|
|
450
|
-
@keyframes slideOutRight {
|
|
451
|
-
100% {
|
|
452
|
-
width: 272px;
|
|
453
|
-
height: 272px;
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
@keyframes slideUp {
|
|
457
|
-
100% {
|
|
458
|
-
transform: translateY(0);
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
@media (width >= 481px) {
|
|
462
|
-
@keyframes slideInFwd {
|
|
463
|
-
100% {
|
|
464
|
-
width: 417px;
|
|
465
|
-
height: 417px;
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
@keyframes slideOutRight {
|
|
469
|
-
100% {
|
|
470
|
-
width: 417px;
|
|
471
|
-
height: 417px;
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
@media (width >= 48rem) {
|
|
476
|
-
@keyframes slideInFwd {
|
|
477
|
-
100% {
|
|
478
|
-
width: 330px;
|
|
479
|
-
height: 330px;
|
|
48
|
+
export class Cre8AccordionItem extends Cre8Element {
|
|
49
|
+
constructor() {
|
|
50
|
+
super();
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* When true, the Accordion Item is opens, when false it closes;
|
|
54
|
+
* @prop {boolean} isActive
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
this.isActive = false;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* Users can choose between two header sizes: 'sm' [title-default] or 'lg' [title-large].
|
|
61
|
+
* @prop {'sm' | 'lg'} size
|
|
62
|
+
*
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
this.size = 'sm';
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* Purely meant to help the user structure the HTML page hierarchy. Does not change the
|
|
69
|
+
* header size. Defaults to 'h3'
|
|
70
|
+
* @prop {'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'} headingTagVariant
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
this.headingTagVariant = 'h3';
|
|
75
|
+
const randomId = Math.floor(Math.random() * 900000) + 100000;
|
|
76
|
+
this._ariaControls = `cre8-accordion-item-details-${randomId}`;
|
|
77
|
+
this.accordionItemId = this.accordionItemId ?? `cre8-accordion-item-${randomId}`;
|
|
480
78
|
}
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
79
|
+
connectedCallback() {
|
|
80
|
+
super.connectedCallback();
|
|
81
|
+
this._setContentHeight();
|
|
82
|
+
if (this.isActive) {
|
|
83
|
+
this._fullyOpen = true;
|
|
84
|
+
this._setContentHeight();
|
|
85
|
+
}
|
|
487
86
|
}
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
width: 460px;
|
|
500
|
-
height: 460px;
|
|
501
|
-
transform: translateX(calc(100vw - 45px));
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
@media (width >= 75rem) {
|
|
506
|
-
@keyframes slideInFwd {
|
|
507
|
-
100% {
|
|
508
|
-
width: 592px;
|
|
509
|
-
height: 591px;
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
@keyframes slideOutRight {
|
|
513
|
-
100% {
|
|
514
|
-
width: 592px;
|
|
515
|
-
height: 591px;
|
|
516
|
-
transform: translateX(calc(100vw - 45px));
|
|
87
|
+
async _setContentHeight() {
|
|
88
|
+
await this.updateComplete;
|
|
89
|
+
if ((this.isActive && !this._fullyOpen) || (!this.isActive && this._fullyOpen)) {
|
|
90
|
+
this._height = `${this.shadowRoot?.querySelector('.cre8-c-accordion-item__body-inner')?.scrollHeight}px`;
|
|
91
|
+
}
|
|
92
|
+
else if (this.isActive && this._fullyOpen) {
|
|
93
|
+
this._height = 'auto';
|
|
94
|
+
}
|
|
95
|
+
else if (!this.isActive && !this._fullyOpen) {
|
|
96
|
+
this._height = '0';
|
|
97
|
+
}
|
|
517
98
|
}
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
99
|
+
_toggleAccordionItem() {
|
|
100
|
+
this.isActive = !this.isActive;
|
|
101
|
+
if (this.isActive) {
|
|
102
|
+
this._setContentHeight();
|
|
103
|
+
setTimeout(() => {
|
|
104
|
+
this._fullyOpen = true;
|
|
105
|
+
this._setContentHeight();
|
|
106
|
+
}, 350);
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
this._setContentHeight();
|
|
110
|
+
setTimeout(() => {
|
|
111
|
+
this._fullyOpen = false;
|
|
112
|
+
this._setContentHeight();
|
|
113
|
+
}, 50);
|
|
114
|
+
}
|
|
526
115
|
}
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
border-radius: 50%;
|
|
541
|
-
transform: scale(0);
|
|
542
|
-
animation: ripple 600ms linear;
|
|
543
|
-
background-color: var(--ripple-bg-color);
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
@keyframes ripple {
|
|
547
|
-
to {
|
|
548
|
-
transform: scale(4);
|
|
549
|
-
opacity: 1;
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
:root {
|
|
553
|
-
--size-base-unit: 0.5rem;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* RTL support for values logical properties can't automatically adjust for
|
|
558
|
-
* 1) Percentage based horizontal translate values need to be flipped
|
|
559
|
-
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
560
|
-
* 3) Inverse items that have 45degs
|
|
561
|
-
*/
|
|
562
|
-
[dir=rtl] {
|
|
563
|
-
--rtlTranslateX: 50%;
|
|
564
|
-
/* 1 */
|
|
565
|
-
--rtlGradientToRight: 270deg;
|
|
566
|
-
/* 2 */
|
|
567
|
-
--rtlRotate45Inverse: -45deg;
|
|
568
|
-
/* 3 */
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/**
|
|
572
|
-
* Visible focus outline for elements on a light background
|
|
573
|
-
*/
|
|
574
|
-
/**
|
|
575
|
-
* Visible focus outline for elements with an error status
|
|
576
|
-
*/
|
|
577
|
-
/**
|
|
578
|
-
* Visible focus outline for elements on a dark background
|
|
579
|
-
*/
|
|
580
|
-
/**
|
|
581
|
-
* Focus state for themes that need a dashed outline for focus
|
|
582
|
-
* state
|
|
583
|
-
**/
|
|
584
|
-
/**
|
|
585
|
-
* Invisible focus outline for elements that need a more visible
|
|
586
|
-
* focus state for high-contrast mode
|
|
587
|
-
*/
|
|
588
|
-
/**
|
|
589
|
-
* Visually hidden from display
|
|
590
|
-
*/
|
|
591
|
-
/**
|
|
592
|
-
* Accordion Item panel button
|
|
593
|
-
* 1) Icon rotating on open was causing scrollbar to continuously appear/disappear
|
|
594
|
-
* during the animation, overflow-x: hidden; prevents this from happening
|
|
595
|
-
*/
|
|
596
|
-
:host {
|
|
597
|
-
display: block;
|
|
598
|
-
}
|
|
599
|
-
:host ::slotted(*) {
|
|
600
|
-
text-align: left;
|
|
601
|
-
width: 100%;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.cre8-c-accordion-item {
|
|
605
|
-
border-bottom: var(--cre8-accordion-item-border-bottom);
|
|
606
|
-
border-radius: var(--cre8-border-radius-none);
|
|
607
|
-
--cre8-u-icon-display: flex;
|
|
608
|
-
--cre8-u-icon-align-items: center;
|
|
609
|
-
--cre8-u-icon-justify-content: center;
|
|
610
|
-
padding: 1.5rem 0.5rem;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
.cre8-c-accordion-item--small cre8-heading button {
|
|
614
|
-
font-family: var(--cre8-typography-title-default-mobile-font-family);
|
|
615
|
-
font-size: var(--cre8-typography-title-default-mobile-font-size);
|
|
616
|
-
font-weight: var(--cre8-typography-title-default-mobile-font-weight);
|
|
617
|
-
line-height: var(--cre8-typography-title-default-mobile-line-height);
|
|
618
|
-
text-decoration: var(--cre8-typography-title-default-mobile-text-decoration);
|
|
619
|
-
text-transform: var(--cre8-typography-title-default-mobile-text-transform);
|
|
620
|
-
}
|
|
621
|
-
@media all and (min-width: 768px) {
|
|
622
|
-
.cre8-c-accordion-item--small cre8-heading button {
|
|
623
|
-
font-family: var(--cre8-typography-title-default-font-family);
|
|
624
|
-
font-size: var(--cre8-typography-title-default-font-size);
|
|
625
|
-
font-weight: var(--cre8-typography-title-default-font-weight);
|
|
626
|
-
line-height: var(--cre8-typography-title-default-line-height);
|
|
627
|
-
text-decoration: var(--cre8-typography-title-default-text-decoration);
|
|
628
|
-
text-transform: var(--cre8-typography-title-default-text-transform);
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
.cre8-c-accordion-item--large cre8-heading button {
|
|
633
|
-
font-family: var(--cre8-typography-title-large-mobile-font-family);
|
|
634
|
-
font-size: var(--cre8-typography-title-large-mobile-font-size);
|
|
635
|
-
font-weight: var(--cre8-typography-title-large-mobile-font-weight);
|
|
636
|
-
line-height: var(--cre8-typography-title-large-mobile-line-height);
|
|
637
|
-
text-decoration: var(--cre8-typography-title-large-mobile-text-decoration);
|
|
638
|
-
text-transform: var(--cre8-typography-title-large-mobile-text-transform);
|
|
639
|
-
}
|
|
640
|
-
@media all and (min-width: 768px) {
|
|
641
|
-
.cre8-c-accordion-item--large cre8-heading button {
|
|
642
|
-
font-family: var(--cre8-typography-title-large-font-family);
|
|
643
|
-
font-size: var(--cre8-typography-title-large-font-size);
|
|
644
|
-
font-weight: var(--cre8-typography-title-large-font-weight);
|
|
645
|
-
line-height: var(--cre8-typography-title-large-line-height);
|
|
646
|
-
text-decoration: var(--cre8-typography-title-large-text-decoration);
|
|
647
|
-
text-transform: var(--cre8-typography-title-large-text-transform);
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
.cre8-c-accordion-item__body {
|
|
652
|
-
margin-right: 0rem;
|
|
653
|
-
margin-left: 0rem;
|
|
654
|
-
padding: 0rem;
|
|
655
|
-
overflow: hidden;
|
|
656
|
-
visibility: hidden;
|
|
657
|
-
transition: height var(--cre8-anim-fade-quick) var(--cre8-anim-ease), visibility var(--cre8-anim-fade-quick) var(--cre8-anim-ease);
|
|
658
|
-
}
|
|
659
|
-
.cre8-c-accordion-item.cre8-is-active .cre8-c-accordion-item__body {
|
|
660
|
-
visibility: visible;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
.cre8-c-accordion-item__body-inner {
|
|
664
|
-
display: flex;
|
|
665
|
-
font-family: var(--cre8-typography-body-default-font-family);
|
|
666
|
-
font-size: var(--cre8-typography-body-default-font-size);
|
|
667
|
-
font-weight: var(--cre8-typography-body-default-font-weight);
|
|
668
|
-
line-height: var(--cre8-typography-body-default-line-height);
|
|
669
|
-
text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
670
|
-
text-transform: var(--cre8-typography-body-default-text-transform);
|
|
671
|
-
padding: 0.5rem 3rem 0rem 0.5rem;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
cre8-icon {
|
|
675
|
-
display: flex;
|
|
676
|
-
align-items: center;
|
|
677
|
-
justify-content: center;
|
|
678
|
-
height: 1.5rem;
|
|
679
|
-
min-height: 1.5rem;
|
|
680
|
-
min-width: 1.5rem;
|
|
681
|
-
transition: transform var(--cre8-anim-fade-quick) var(--cre8-anim-ease);
|
|
682
|
-
width: 1.5rem;
|
|
683
|
-
}
|
|
684
|
-
.cre8-c-accordion-item.cre8-is-active cre8-icon {
|
|
685
|
-
transform: rotate(180deg);
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
.cre8-c-accordion-item__icon {
|
|
689
|
-
align-items: center;
|
|
690
|
-
background: var(--cre8-color-bg-brand-strong);
|
|
691
|
-
border-radius: var(--cre8-border-radius-round);
|
|
692
|
-
color: var(--cre8-color-content-knockout);
|
|
693
|
-
display: flex;
|
|
694
|
-
height: 2rem;
|
|
695
|
-
justify-content: center;
|
|
696
|
-
margin-left: 0.5rem;
|
|
697
|
-
margin-right: 0.125rem;
|
|
698
|
-
min-height: 2rem;
|
|
699
|
-
min-width: 2rem;
|
|
700
|
-
width: 2rem;
|
|
701
|
-
}
|
|
702
|
-
.cre8-c-accordion-item.cre8-is-active .cre8-c-accordion-item__icon {
|
|
703
|
-
background: var(--cre8-color-button-secondary-bg);
|
|
704
|
-
border: var(--cre8-border-width-default) var(--cre8-border-style-default) var(--cre8-color-button-secondary-border);
|
|
705
|
-
color: var(--cre8-color-button-secondary-content);
|
|
706
|
-
}
|
|
707
|
-
.cre8-c-accordion-item.cre8-is-active .cre8-c-accordion-item__icon:hover {
|
|
708
|
-
border-color: var(--cre8-color-button-secondary-border-hover);
|
|
709
|
-
background-color: var(--cre8-color-button-secondary-bg-hover);
|
|
710
|
-
color: var(--cre8-color-button-secondary-content-hover);
|
|
711
|
-
}
|
|
712
|
-
.cre8-c-accordion-item.cre8-is-active .cre8-c-accordion-item__icon:focus {
|
|
713
|
-
border-radius: var(--cre8-border-radius-default);
|
|
714
|
-
box-shadow: 0rem 0rem 0rem 0.125rem var(--cre8-color-border-active-outline);
|
|
715
|
-
outline: none;
|
|
716
|
-
}
|
|
717
|
-
.cre8-c-accordion-item.cre8-is-active .cre8-c-accordion-item__icon:focus .cre8-c-accordion-item__icon {
|
|
718
|
-
border-color: var(--cre8-color-button-secondary-border-active);
|
|
719
|
-
color: var(--cre8-color-button-secondary-content-active);
|
|
720
|
-
background-color: var(--cre8-color-button-secondary-bg-active);
|
|
721
|
-
}
|
|
722
|
-
.cre8-c-accordion-item.cre8-is-active .cre8-c-accordion-item__icon:focus .cre8-c-accordion-item__tertiary-icon {
|
|
723
|
-
border-color: var(--cre8-color-border-transparent);
|
|
724
|
-
color: var(--cre8-color-button-tertiary-content-active);
|
|
725
|
-
background-color: var(--cre8-color-bg-transparent);
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
.cre8-c-accordion-item__button {
|
|
729
|
-
color: var(--cre8-color-content-default);
|
|
730
|
-
display: block;
|
|
731
|
-
appearance: none;
|
|
732
|
-
background-color: var(--cre8-color-bg-transparent);
|
|
733
|
-
border: var(--cre8-border-width-none);
|
|
734
|
-
cursor: pointer;
|
|
735
|
-
padding: 0.25rem 0.5rem;
|
|
736
|
-
overflow-x: hidden;
|
|
737
|
-
transition: color var(--cre8-anim-fade-quick) var(--cre8-anim-ease);
|
|
738
|
-
width: 100%;
|
|
739
|
-
}
|
|
740
|
-
.cre8-c-accordion-item__button.cre8-brand-color {
|
|
741
|
-
color: var(--cre8-color-content-brand-strong);
|
|
742
|
-
}
|
|
743
|
-
.cre8-c-accordion-item__button.cre8-u-justify-content-start {
|
|
744
|
-
justify-content: flex-start;
|
|
745
|
-
}
|
|
746
|
-
.cre8-c-accordion-item__button.cre8-u-justify-content-start .cre8-c-accordion-item__icon-before {
|
|
747
|
-
margin-left: 0rem;
|
|
748
|
-
}
|
|
749
|
-
.cre8-c-accordion-item__button:hover .cre8-c-accordion-item__icon {
|
|
750
|
-
border-color: var(--cre8-color-button-primary-border-hover);
|
|
751
|
-
background-color: var(--cre8-color-button-primary-bg-hover);
|
|
752
|
-
color: var(--cre8-color-button-primary-content-hover);
|
|
753
|
-
}
|
|
754
|
-
.cre8-c-accordion-item.cre8-is-active .cre8-c-accordion-item__button:hover .cre8-c-accordion-item__icon {
|
|
755
|
-
border-color: var(--cre8-color-button-secondary-border-hover);
|
|
756
|
-
background-color: var(--cre8-color-button-secondary-bg-hover);
|
|
757
|
-
color: var(--cre8-color-button-secondary-content-hover);
|
|
758
|
-
}
|
|
759
|
-
.cre8-c-accordion-item__button:hover .cre8-c-accordion-item__tertiary-icon {
|
|
760
|
-
border-color: var(--cre8-color-border-transparent);
|
|
761
|
-
color: var(--cre8-color-button-tertiary-content-hover);
|
|
762
|
-
background-color: var(--cre8-color-bg-transparent);
|
|
763
|
-
}
|
|
764
|
-
.cre8-c-accordion-item__button:focus {
|
|
765
|
-
border-radius: var(--cre8-border-radius-default);
|
|
766
|
-
box-shadow: 0rem 0rem 0rem 0.125rem var(--cre8-color-border-active-outline);
|
|
767
|
-
outline: none;
|
|
768
|
-
}
|
|
769
|
-
.cre8-c-accordion-item__button:focus .cre8-c-accordion-item__icon {
|
|
770
|
-
border-color: var(--cre8-color-button-primary-border-active);
|
|
771
|
-
color: var(--cre8-color-button-primary-content-active);
|
|
772
|
-
background-color: var(--cre8-color-button-primary-bg-active);
|
|
773
|
-
}
|
|
774
|
-
.cre8-c-accordion-item__button:focus .cre8-c-accordion-item__tertiary-icon {
|
|
775
|
-
border-color: var(--cre8-color-border-transparent);
|
|
776
|
-
color: var(--cre8-color-button-tertiary-content-active);
|
|
777
|
-
background-color: var(--cre8-color-bg-transparent);
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
.cre8-c-accordion-item--icon-before .cre8-c-accordion-item__body {
|
|
781
|
-
margin-left: 2.5rem;
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
.cre8-c-accordion-item__icon-before {
|
|
785
|
-
margin-right: 0.75rem;
|
|
786
|
-
}
|
|
787
|
-
.cre8-c-accordion-item__icon-before h4[slot=header] {
|
|
788
|
-
display: block;
|
|
789
|
-
pointer-events: none;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
.cre8-c-accordion-item__button slot {
|
|
793
|
-
display: contents;
|
|
794
|
-
text-align: initial;
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
.cre8-c-accordion-item--icon-before-heading-text {
|
|
798
|
-
display: flex;
|
|
799
|
-
text-align: left;
|
|
800
|
-
flex-direction: row;
|
|
801
|
-
justify-content: flex-start;
|
|
802
|
-
align-items: center;
|
|
803
|
-
width: 100%;
|
|
804
|
-
min-width: 100%;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
.cre8-c-accordion-item--icon-after-heading-text {
|
|
808
|
-
display: flex;
|
|
809
|
-
text-align: left;
|
|
810
|
-
flex-direction: row;
|
|
811
|
-
justify-content: space-between;
|
|
812
|
-
align-items: center;
|
|
813
|
-
width: 100%;
|
|
814
|
-
min-width: 100%;
|
|
815
|
-
}`;
|
|
816
|
-
var y = Object.defineProperty, t = (l, i, n, v) => {
|
|
817
|
-
for (var o = void 0, c = l.length - 1, s; c >= 0; c--)
|
|
818
|
-
(s = l[c]) && (o = s(i, n, o) || o);
|
|
819
|
-
return o && y(i, n, o), o;
|
|
820
|
-
};
|
|
821
|
-
const m = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
822
|
-
<path d="M15.7867 12.1506C15.7192 12.2183 15.639 12.2719 15.5507 12.3085C15.4624 12.3451 15.3678 12.3639 15.2722 12.3639C15.1766 12.3639 15.082 12.3451 14.9937 12.3085C14.9054 12.2719 14.8252 12.2183 14.7577 12.1506L7.99992 5.39197L1.24215 12.1506C1.10569 12.2871 0.920613 12.3638 0.727633 12.3638C0.534652 12.3638 0.349576 12.2871 0.213119 12.1506C0.076661 12.0142 3.8041e-09 11.8291 0 11.6361C-3.8041e-09 11.4432 0.076661 11.2581 0.213119 11.1216L7.4854 3.84933C7.55294 3.78172 7.63315 3.72808 7.72143 3.69148C7.80972 3.65488 7.90435 3.63605 7.99992 3.63605C8.09548 3.63605 8.19012 3.65488 8.2784 3.69148C8.36668 3.72808 8.44689 3.78172 8.51443 3.84933L15.7867 11.1216C15.8543 11.1892 15.908 11.2694 15.9446 11.3576C15.9812 11.4459 16 11.5406 16 11.6361C16 11.7317 15.9812 11.8263 15.9446 11.9146C15.908 12.0029 15.8543 12.0831 15.7867 12.1506Z"/>
|
|
823
|
-
</svg>
|
|
824
|
-
`, d = class d extends f {
|
|
825
|
-
constructor() {
|
|
826
|
-
super(), this.isActive = !1, this.size = "sm", this.headingTagVariant = "h3";
|
|
827
|
-
const i = Math.floor(Math.random() * 9e5) + 1e5;
|
|
828
|
-
this._ariaControls = `cre8-accordion-item-details-${i}`, this.accordionItemId = this.accordionItemId ?? `cre8-accordion-item-${i}`;
|
|
829
|
-
}
|
|
830
|
-
connectedCallback() {
|
|
831
|
-
super.connectedCallback(), this._setContentHeight(), this.isActive && (this._fullyOpen = !0, this._setContentHeight());
|
|
832
|
-
}
|
|
833
|
-
async _setContentHeight() {
|
|
834
|
-
await this.updateComplete, this.isActive && !this._fullyOpen || !this.isActive && this._fullyOpen ? this._height = `${this.shadowRoot?.querySelector(".cre8-c-accordion-item__body-inner")?.scrollHeight}px` : this.isActive && this._fullyOpen ? this._height = "auto" : !this.isActive && !this._fullyOpen && (this._height = "0");
|
|
835
|
-
}
|
|
836
|
-
_toggleAccordionItem() {
|
|
837
|
-
this.isActive = !this.isActive, this.isActive ? (this._setContentHeight(), setTimeout(() => {
|
|
838
|
-
this._fullyOpen = !0, this._setContentHeight();
|
|
839
|
-
}, 350)) : (this._setContentHeight(), setTimeout(() => {
|
|
840
|
-
this._fullyOpen = !1, this._setContentHeight();
|
|
841
|
-
}, 50));
|
|
842
|
-
}
|
|
843
|
-
render() {
|
|
844
|
-
const i = this.componentClassNames("cre8-c-accordion-item", {
|
|
845
|
-
"cre8-is-active": this.isActive,
|
|
846
|
-
"cre8-c-accordion-item--icon-before": this.iconBefore,
|
|
847
|
-
"cre8-c-accordion-item--small": this.size === "sm",
|
|
848
|
-
"cre8-c-accordion-item--large": this.size === "lg"
|
|
849
|
-
}), n = u("cre8-c-accordion-item__button", {
|
|
850
|
-
"cre8-is-active": this.isActive,
|
|
851
|
-
"cre8-u-justify-content-start": this.iconBefore,
|
|
852
|
-
"cre8-brand-color": this.brandHeader === !0
|
|
853
|
-
});
|
|
854
|
-
return a` <div id=${this.accordionItemId} class="${i}">
|
|
116
|
+
render() {
|
|
117
|
+
const componentClassNames = this.componentClassNames('cre8-c-accordion-item', {
|
|
118
|
+
'cre8-is-active': this.isActive,
|
|
119
|
+
'cre8-c-accordion-item--icon-before': this.iconBefore,
|
|
120
|
+
'cre8-c-accordion-item--small': this.size === 'sm',
|
|
121
|
+
'cre8-c-accordion-item--large': this.size === 'lg',
|
|
122
|
+
});
|
|
123
|
+
const buttonClassNames = classnames('cre8-c-accordion-item__button', {
|
|
124
|
+
'cre8-is-active': this.isActive,
|
|
125
|
+
'cre8-u-justify-content-start': this.iconBefore,
|
|
126
|
+
'cre8-brand-color': this.brandHeader === true,
|
|
127
|
+
});
|
|
128
|
+
return html ` <div id=${this.accordionItemId} class="${componentClassNames}">
|
|
855
129
|
<cre8-heading
|
|
856
|
-
type=${this.size ===
|
|
130
|
+
type=${this.size === 'lg' ? 'title-large' : 'title-default'}
|
|
857
131
|
part="heading"
|
|
858
|
-
?brandColor=${this.brandHeader}
|
|
859
|
-
tagVariant="${this.headingTagVariant ??
|
|
132
|
+
?brandColor=${(this.brandHeader)}
|
|
133
|
+
tagVariant="${this.headingTagVariant ?? 'h3'}"
|
|
860
134
|
class="cre8-c-accordion-item__header"
|
|
861
135
|
>
|
|
862
136
|
<button
|
|
863
|
-
class="${
|
|
864
|
-
aria-expanded="${
|
|
137
|
+
class="${buttonClassNames}"
|
|
138
|
+
aria-expanded="${ifDefined(this.isActive)}"
|
|
865
139
|
aria-controls="${this._ariaControls}"
|
|
866
140
|
part="button"
|
|
867
141
|
role="button"
|
|
868
142
|
id="${this.id}"
|
|
869
143
|
@click=${this._toggleAccordionItem}
|
|
870
144
|
>
|
|
871
|
-
${this.iconBefore
|
|
145
|
+
${this.iconBefore
|
|
146
|
+
? html `
|
|
872
147
|
<div class="cre8-c-accordion-item--icon-before-heading-text">
|
|
873
148
|
<div
|
|
874
|
-
class=${this.tertiaryIcon
|
|
149
|
+
class=${this.tertiaryIcon
|
|
150
|
+
? 'cre8-c-accordion-item__tertiary-icon cre8-c-accordion-item__icon-before'
|
|
151
|
+
: 'cre8-c-accordion-item__icon cre8-c-accordion-item__icon-before'}
|
|
875
152
|
>
|
|
876
|
-
<cre8-icon rotate="180" svg=${
|
|
153
|
+
<cre8-icon rotate="180" svg=${svgCaretUp} aria-hidden="true"></cre8-icon>
|
|
877
154
|
</div>
|
|
878
|
-
${this.heading ??
|
|
155
|
+
${this.heading ?? html ` <slot name="heading"></slot>`}
|
|
879
156
|
</div>
|
|
880
|
-
`
|
|
157
|
+
`
|
|
158
|
+
: html `
|
|
881
159
|
<div class="cre8-c-accordion-item--icon-after-heading-text">
|
|
882
|
-
${this.heading ??
|
|
160
|
+
${this.heading ?? html ` <slot name="heading"></slot>`}
|
|
883
161
|
<div
|
|
884
|
-
class=${this.tertiaryIcon
|
|
162
|
+
class=${this.tertiaryIcon
|
|
163
|
+
? 'cre8-c-accordion-item__tertiary-icon cre8-c-accordion-item__icon-after'
|
|
164
|
+
: 'cre8-c-accordion-item__icon cre8-c-accordion-item__icon-after'}
|
|
885
165
|
>
|
|
886
|
-
<cre8-icon rotate="180" svg='${
|
|
166
|
+
<cre8-icon rotate="180" svg='${svgCaretUp}' aria-hidden="true"></cre8-icon>
|
|
887
167
|
</div>
|
|
888
168
|
</div>`}
|
|
889
169
|
</button>
|
|
@@ -900,45 +180,44 @@ const m = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" x
|
|
|
900
180
|
</div>
|
|
901
181
|
</div>
|
|
902
182
|
</div>`;
|
|
903
|
-
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
customElements.
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
};
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
Cre8AccordionItem.styles = [styles];
|
|
186
|
+
__decorate([
|
|
187
|
+
property({ type: Boolean, reflect: true })
|
|
188
|
+
], Cre8AccordionItem.prototype, "isActive", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
property({ type: String, reflect: true })
|
|
191
|
+
], Cre8AccordionItem.prototype, "accordionItemId", void 0);
|
|
192
|
+
__decorate([
|
|
193
|
+
property({ type: Boolean, reflect: true })
|
|
194
|
+
], Cre8AccordionItem.prototype, "iconBefore", void 0);
|
|
195
|
+
__decorate([
|
|
196
|
+
property({ type: Boolean, reflect: true })
|
|
197
|
+
], Cre8AccordionItem.prototype, "tertiaryIcon", void 0);
|
|
198
|
+
__decorate([
|
|
199
|
+
property({ reflect: true })
|
|
200
|
+
], Cre8AccordionItem.prototype, "size", void 0);
|
|
201
|
+
__decorate([
|
|
202
|
+
property({ reflect: true })
|
|
203
|
+
], Cre8AccordionItem.prototype, "headingTagVariant", void 0);
|
|
204
|
+
__decorate([
|
|
205
|
+
property({ type: String })
|
|
206
|
+
], Cre8AccordionItem.prototype, "heading", void 0);
|
|
207
|
+
__decorate([
|
|
208
|
+
property({ type: Boolean })
|
|
209
|
+
], Cre8AccordionItem.prototype, "brandHeader", void 0);
|
|
210
|
+
__decorate([
|
|
211
|
+
property({ attribute: 'aria-controls' })
|
|
212
|
+
], Cre8AccordionItem.prototype, "_ariaControls", void 0);
|
|
213
|
+
__decorate([
|
|
214
|
+
state()
|
|
215
|
+
], Cre8AccordionItem.prototype, "_height", void 0);
|
|
216
|
+
__decorate([
|
|
217
|
+
state()
|
|
218
|
+
], Cre8AccordionItem.prototype, "_fullyOpen", void 0);
|
|
219
|
+
if (customElements.get('cre8-accordion-item') === undefined) {
|
|
220
|
+
customElements.define('cre8-accordion-item', Cre8AccordionItem);
|
|
221
|
+
}
|
|
222
|
+
export default Cre8AccordionItem;
|
|
223
|
+
//# sourceMappingURL=accordion-item.js.map
|