@tmorrow/cre8-wc 1.2.4 → 1.2.5
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,920 +1,243 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.cre8-u-is-vishidden {
|
|
17
|
-
position: absolute !important;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
width: 1px;
|
|
20
|
-
height: 1px;
|
|
21
|
-
padding: 0;
|
|
22
|
-
border: 0;
|
|
23
|
-
clip: rect(1px, 1px, 1px, 1px);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@media all and (min-width: 23.4375rem) {
|
|
27
|
-
.cre8-u-hide-sm {
|
|
28
|
-
display: none !important;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
@media all and (min-width: 35rem) {
|
|
32
|
-
.cre8-u-hide-sm-2 {
|
|
33
|
-
display: none !important;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
@media all and (min-width: 48rem) {
|
|
37
|
-
.cre8-u-hide-md {
|
|
38
|
-
display: none !important;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
@media all and (min-width: 60rem) {
|
|
42
|
-
.cre8-u-hide-lg {
|
|
43
|
-
display: none !important;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
@media all and (min-width: 75rem) {
|
|
47
|
-
.cre8-u-hide-xl {
|
|
48
|
-
display: none !important;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
@media all and (max-width: 23.4375rem) {
|
|
52
|
-
.cre8-u-show-sm {
|
|
53
|
-
display: none !important;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
@media all and (max-width: 35rem) {
|
|
57
|
-
.cre8-u-show-sm-2 {
|
|
58
|
-
display: none !important;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
@media all and (max-width: 48rem) {
|
|
62
|
-
.cre8-u-show-md {
|
|
63
|
-
display: none !important;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
@media all and (max-width: 60rem) {
|
|
67
|
-
.cre8-u-show-lg {
|
|
68
|
-
display: none !important;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
@media all and (max-width: 75rem) {
|
|
72
|
-
.cre8-u-show-xl {
|
|
73
|
-
display: none !important;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
.cre8-u-margin-none {
|
|
77
|
-
margin: 0 !important;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.cre8-u-margin-sm {
|
|
81
|
-
margin: size(1) !important;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.cre8-u-margin-md {
|
|
85
|
-
margin: size(2) !important;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.cre8-u-margin-lg {
|
|
89
|
-
margin: size(3) !important;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.cre8-u-margin-xl {
|
|
93
|
-
margin: size(4) !important;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.cre8-u-margin-xxl {
|
|
97
|
-
margin: size(8) !important;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.cre8-u-margin-top-none {
|
|
101
|
-
margin-top: 0 !important;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.cre8-u-margin-top-sm {
|
|
105
|
-
margin-top: size(1) !important;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.cre8-u-margin-top-md {
|
|
109
|
-
margin-top: size(2) !important;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.cre8-u-margin-top-lg {
|
|
113
|
-
margin-top: size(3) !important;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.cre8-u-margin-top-xl {
|
|
117
|
-
margin-top: size(4) !important;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.cre8-u-margin-top-xxl {
|
|
121
|
-
margin-top: size(8) !important;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.cre8-u-margin-right-none {
|
|
125
|
-
margin-right: 0 !important;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.cre8-u-margin-right-sm {
|
|
129
|
-
margin-right: size(1) !important;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.cre8-u-margin-right-md {
|
|
133
|
-
margin-right: size(2) !important;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.cre8-u-margin-right-lg {
|
|
137
|
-
margin-right: size(3) !important;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.cre8-u-margin-right-xl {
|
|
141
|
-
margin-right: size(4) !important;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.cre8-u-margin-right-xxl {
|
|
145
|
-
margin-right: size(8) !important;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.cre8-u-margin-bottom-none {
|
|
149
|
-
margin-bottom: 0 !important;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.cre8-u-margin-bottom-sm {
|
|
153
|
-
margin-bottom: size(1) !important;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.cre8-u-margin-bottom-md {
|
|
157
|
-
margin-bottom: size(2) !important;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.cre8-u-margin-bottom-lg {
|
|
161
|
-
margin-bottom: size(3) !important;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.cre8-u-margin-bottom-xl {
|
|
165
|
-
margin-bottom: size(4) !important;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.cre8-u-margin-bottom-xxl {
|
|
169
|
-
margin-bottom: size(8) !important;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.cre8-u-margin-bottom-xl-xxl {
|
|
173
|
-
margin-bottom: size(4) !important;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
@media all and (min-width: 768px) {
|
|
177
|
-
.cre8-u-margin-bottom-xl-xxl {
|
|
178
|
-
margin-bottom: size(8) !important;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
.cre8-u-margin-left-none {
|
|
182
|
-
margin-left: 0 !important;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.cre8-u-margin-left-sm {
|
|
186
|
-
margin-left: size(1) !important;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.cre8-u-margin-left-md {
|
|
190
|
-
margin-left: size(2) !important;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.cre8-u-margin-left-lg {
|
|
194
|
-
margin-left: size(3) !important;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.cre8-u-margin-left-xl {
|
|
198
|
-
margin-left: size(4) !important;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.cre8-u-margin-left-xxl {
|
|
202
|
-
margin-left: size(8) !important;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.cre8-u-padding-none {
|
|
206
|
-
padding: 0 !important;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.cre8-u-padding-sm {
|
|
210
|
-
padding: size(1) !important;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.cre8-u-padding-md {
|
|
214
|
-
padding: size(2) !important;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.cre8-u-padding-lg {
|
|
218
|
-
padding: size(3) !important;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.cre8-u-padding-xl {
|
|
222
|
-
padding: size(4) !important;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.cre8-u-padding-xxl {
|
|
226
|
-
padding: size(8) !important;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.cre8-u-padding-top-none {
|
|
230
|
-
padding-top: 0 !important;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.cre8-u-padding-top-sm {
|
|
234
|
-
padding-top: size(1) !important;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.cre8-u-padding-top-md {
|
|
238
|
-
padding-top: size(2) !important;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.cre8-u-padding-top-lg {
|
|
242
|
-
padding-top: size(3) !important;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.cre8-u-padding-top-xl {
|
|
246
|
-
padding-top: size(4) !important;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.cre8-u-padding-top-xxl {
|
|
250
|
-
padding-top: size(8) !important;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.cre8-u-padding-right-none {
|
|
254
|
-
padding-right: 0 !important;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.cre8-u-padding-right-sm {
|
|
258
|
-
padding-right: size(1) !important;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.cre8-u-padding-right-md {
|
|
262
|
-
padding-right: size(2) !important;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.cre8-u-padding-right-lg {
|
|
266
|
-
padding-right: size(3) !important;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.cre8-u-padding-right-xl {
|
|
270
|
-
padding-right: size(4) !important;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.cre8-u-padding-right-xxl {
|
|
274
|
-
padding-right: size(8) !important;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.cre8-u-padding-bottom-none {
|
|
278
|
-
padding-bottom: 0 !important;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.cre8-u-padding-bottom-sm {
|
|
282
|
-
padding-bottom: size(1) !important;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.cre8-u-padding-bottom-md {
|
|
286
|
-
padding-bottom: size(2) !important;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.cre8-u-padding-bottom-lg {
|
|
290
|
-
padding-bottom: size(3) !important;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.cre8-u-padding-bottom-xl {
|
|
294
|
-
padding-bottom: size(4) !important;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.cre8-u-padding-bottom-xxl {
|
|
298
|
-
padding-bottom: size(8) !important;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.cre8-u-padding-left-none {
|
|
302
|
-
padding-left: 0 !important;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.cre8-u-padding-left-sm {
|
|
306
|
-
padding-left: size(1) !important;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.cre8-u-padding-left-md {
|
|
310
|
-
padding-left: size(2) !important;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.cre8-u-padding-left-lg {
|
|
314
|
-
padding-left: size(3) !important;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.cre8-u-padding-left-xl {
|
|
318
|
-
padding-left: size(4) !important;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.cre8-u-padding-left-xxl {
|
|
322
|
-
padding-left: size(8) !important;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.cre8-u-display-flex {
|
|
326
|
-
display: flex !important;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.cre8-u-display-block {
|
|
330
|
-
display: block !important;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
body {
|
|
334
|
-
font-family: var(--cre8-typography-body-default-font-family);
|
|
335
|
-
font-size: var(--cre8-typography-body-default-font-size);
|
|
336
|
-
font-weight: var(--cre8-typography-body-default-font-weight);
|
|
337
|
-
line-height: var(--cre8-typography-body-default-line-height);
|
|
338
|
-
-webkit-text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
339
|
-
text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
340
|
-
text-transform: var(--cre8-typography-body-default-text-transform);
|
|
341
|
-
display: flex;
|
|
342
|
-
flex-direction: column;
|
|
343
|
-
padding: 0;
|
|
344
|
-
margin: 0;
|
|
345
|
-
color: var(--cre8-color-content-default);
|
|
346
|
-
background: var(--background-default);
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
@media all and (min-width: 60rem) {
|
|
350
|
-
.page-container {
|
|
351
|
-
background: linear-gradient(90deg, #fff 0, #fff 66.66%, #f8f8f9 0, #f8f8f9 0);
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
.band__inner {
|
|
355
|
-
margin-left: 2rem;
|
|
356
|
-
margin-right: 2rem;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
@media all and (min-width: 60rem) {
|
|
360
|
-
.band__inner {
|
|
361
|
-
margin-right: 0;
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
img {
|
|
365
|
-
max-width: 100%;
|
|
366
|
-
height: auto;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/
|
|
371
|
-
*/
|
|
372
|
-
*,
|
|
373
|
-
::slotted(*),
|
|
374
|
-
*:before,
|
|
375
|
-
*:after {
|
|
376
|
-
box-sizing: border-box;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
:root {
|
|
380
|
-
--size-base-unit: 0.5rem;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* RTL support for values logical properties can't automatically adjust for
|
|
385
|
-
* 1) Percentage based horizontal translate values need to be flipped
|
|
386
|
-
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
387
|
-
* 3) Inverse items that have 45degs
|
|
388
|
-
*/
|
|
389
|
-
[dir=rtl] {
|
|
390
|
-
--rtlTranslateX: 50%;
|
|
391
|
-
/* 1 */
|
|
392
|
-
--rtlGradientToRight: 270deg;
|
|
393
|
-
/* 2 */
|
|
394
|
-
--rtlRotate45Inverse: -45deg;
|
|
395
|
-
/* 3 */
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* Visible focus outline for elements on a light background
|
|
400
|
-
*/
|
|
401
|
-
/**
|
|
402
|
-
* Visible focus outline for elements with an error status
|
|
403
|
-
*/
|
|
404
|
-
/**
|
|
405
|
-
* Visible focus outline for elements on a dark background
|
|
406
|
-
*/
|
|
407
|
-
/**
|
|
408
|
-
* Focus state for themes that need a dashed outline for focus
|
|
409
|
-
* state
|
|
410
|
-
**/
|
|
411
|
-
/**
|
|
412
|
-
* Invisible focus outline for elements that need a more visible
|
|
413
|
-
* focus state for high-contrast mode
|
|
414
|
-
*/
|
|
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 { html, } from 'lit';
|
|
8
|
+
import { ifDefined } from 'lit-html/directives/if-defined.js';
|
|
9
|
+
import { property, query } from 'lit/decorators.js';
|
|
10
|
+
import { nanoid } from 'nanoid';
|
|
11
|
+
import { Cre8FormElement } from '../cre8-form-element';
|
|
12
|
+
import '../field-note/field-note';
|
|
13
|
+
import styles from './radio-field-item.styles.js';
|
|
415
14
|
/**
|
|
416
|
-
*
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
--cre8-z-index-1: 1;
|
|
425
|
-
--cre8-z-index-50: 50;
|
|
426
|
-
--cre8-z-index-100: 100;
|
|
427
|
-
--cre8-z-index-200: 200;
|
|
428
|
-
--cre8-z-index-1030: 1030;
|
|
429
|
-
--cre8-anim-fade-quick: 0.35s;
|
|
430
|
-
--cre8-anim-ease: ease;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
@keyframes fadeIn {
|
|
434
|
-
100% {
|
|
435
|
-
opacity: 1;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
@keyframes slideIn {
|
|
439
|
-
100% {
|
|
440
|
-
transform: translateX(0);
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
@keyframes slideInFwd {
|
|
444
|
-
100% {
|
|
445
|
-
width: 272px;
|
|
446
|
-
height: 272px;
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
@keyframes slideOutRight {
|
|
450
|
-
100% {
|
|
451
|
-
width: 272px;
|
|
452
|
-
height: 272px;
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
@keyframes slideUp {
|
|
456
|
-
100% {
|
|
457
|
-
transform: translateY(0);
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
@media (width >= 481px) {
|
|
461
|
-
@keyframes slideInFwd {
|
|
462
|
-
100% {
|
|
463
|
-
width: 417px;
|
|
464
|
-
height: 417px;
|
|
15
|
+
* A Radio Field Item adds a radio button to a Radio Field. Radio buttons let a user choose only one of several
|
|
16
|
+
* options. Do not use a single radio button, because once selected, it cannot be de-selected. If the user can only
|
|
17
|
+
* choose one, none or many options, use Checkbox instead.
|
|
18
|
+
*/
|
|
19
|
+
export class Cre8RadioFieldItem extends Cre8FormElement {
|
|
20
|
+
constructor() {
|
|
21
|
+
super(...arguments);
|
|
22
|
+
this.type = 'radio';
|
|
465
23
|
}
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
24
|
+
/**
|
|
25
|
+
* Connected callback lifecycle
|
|
26
|
+
* 1) Set the initial checked value to the checked property
|
|
27
|
+
* 2) Auto-generate the fieldId if a user doesn't provided so that the form field is accessible
|
|
28
|
+
* 3) If a field note exists, set the aria-describedby attribute to make sure the field note is read out
|
|
29
|
+
*/
|
|
30
|
+
connectedCallback() {
|
|
31
|
+
super.connectedCallback();
|
|
32
|
+
this.fieldId = this.fieldId || nanoid(); /* 2 */
|
|
33
|
+
if (this.fieldNote) {
|
|
34
|
+
this.ariaDescribedBy = this.ariaDescribedBy || nanoid(); /* 3 */
|
|
35
|
+
}
|
|
471
36
|
}
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
width: 330px;
|
|
478
|
-
height: 330px;
|
|
37
|
+
/**
|
|
38
|
+
* Reset the radio field
|
|
39
|
+
*/
|
|
40
|
+
resetField() {
|
|
41
|
+
this._internals.setFormValue(null);
|
|
479
42
|
}
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Reset the radio field items tab indeces
|
|
45
|
+
*/
|
|
46
|
+
resetTabIndeces(radioFieldItems) {
|
|
47
|
+
radioFieldItems.forEach((element) => {
|
|
48
|
+
element.shadowRoot.querySelector('.cre8-c-radio-field-item__input').setAttribute('tabindex', '0');
|
|
49
|
+
});
|
|
486
50
|
}
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
51
|
+
/**
|
|
52
|
+
* Remove checked
|
|
53
|
+
* 1) Remove checked property from all items and set tabindex to -1
|
|
54
|
+
* 2) Reset the form field to not checked
|
|
55
|
+
*/
|
|
56
|
+
removeChecked() {
|
|
57
|
+
if (this.parentNode) {
|
|
58
|
+
/* 1 */
|
|
59
|
+
const radioFieldItems = this.parentNode.querySelectorAll('cre8-radio-field-item');
|
|
60
|
+
radioFieldItems.forEach((element) => {
|
|
61
|
+
element.checked = false;
|
|
62
|
+
element.shadowRoot.querySelector('.cre8-c-radio-field-item__input').setAttribute('tabindex', '-1');
|
|
63
|
+
element.resetField(); /* 2 */
|
|
64
|
+
});
|
|
65
|
+
}
|
|
494
66
|
}
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
67
|
+
/**
|
|
68
|
+
* Reset form callback
|
|
69
|
+
* 1) Remove the checked state from all radio elements
|
|
70
|
+
* 2) Set the checked state to the initial checked state
|
|
71
|
+
* 3) Set the radio field input checked attribute to the initial checked state
|
|
72
|
+
*/
|
|
73
|
+
formResetCallback() {
|
|
74
|
+
this.removeChecked();
|
|
75
|
+
this.checked = this.initialChecked;
|
|
76
|
+
this.field.checked = this.initialChecked;
|
|
501
77
|
}
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
78
|
+
/**
|
|
79
|
+
* access role when radio-field-item embedded in radio-field
|
|
80
|
+
*/
|
|
81
|
+
_getRole() {
|
|
82
|
+
const radioFieldContainer = this.closest('cre8-radio-field');
|
|
83
|
+
if (radioFieldContainer) {
|
|
84
|
+
return 'listitem';
|
|
85
|
+
}
|
|
86
|
+
return '';
|
|
509
87
|
}
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
88
|
+
/**
|
|
89
|
+
* Toggle active state of primary nav item
|
|
90
|
+
* 1) Remove isActive state from all sibling elements
|
|
91
|
+
* 2) Toggle active state of element selected
|
|
92
|
+
*/
|
|
93
|
+
_clickHandler() {
|
|
94
|
+
this.removeChecked();
|
|
95
|
+
this.checked = !this.checked; /* 2 */
|
|
96
|
+
const radioInput = this.shadowRoot?.querySelector('.cre8-c-radio-field-item__input');
|
|
97
|
+
if (radioInput) {
|
|
98
|
+
radioInput.setAttribute('tabindex', '0');
|
|
99
|
+
}
|
|
100
|
+
return this.checked ? this._internals.setFormValue(this.value || 'on') : this._internals.setFormValue(null);
|
|
516
101
|
}
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
102
|
+
/**
|
|
103
|
+
* Handle sibling element updates during handleKeyDown function
|
|
104
|
+
* 1) Prevent default keyboard functionality to disable scroll with up/down keys
|
|
105
|
+
* 2) Trigger removeChecked
|
|
106
|
+
* 3) Focus sibling shadowRoot element
|
|
107
|
+
* 4) Click sibling shadowRoot element
|
|
108
|
+
* 5) Set sibling element `tabindex` to `0`
|
|
109
|
+
* 6) Set sibling element `checked` value
|
|
110
|
+
*/
|
|
111
|
+
_updateSibling(event, sibling, element) {
|
|
112
|
+
event.preventDefault();
|
|
113
|
+
this.removeChecked();
|
|
114
|
+
element.focus();
|
|
115
|
+
element.click();
|
|
116
|
+
element.setAttribute('tabindex', '0');
|
|
117
|
+
sibling.setAttribute('checked', '');
|
|
525
118
|
}
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
--rtlGradientToRight: 270deg;
|
|
565
|
-
/* 2 */
|
|
566
|
-
--rtlRotate45Inverse: -45deg;
|
|
567
|
-
/* 3 */
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
/**
|
|
571
|
-
* Visible focus outline for elements on a light background
|
|
572
|
-
*/
|
|
573
|
-
/**
|
|
574
|
-
* Visible focus outline for elements with an error status
|
|
575
|
-
*/
|
|
576
|
-
/**
|
|
577
|
-
* Visible focus outline for elements on a dark background
|
|
578
|
-
*/
|
|
579
|
-
/**
|
|
580
|
-
* Focus state for themes that need a dashed outline for focus
|
|
581
|
-
* state
|
|
582
|
-
**/
|
|
583
|
-
/**
|
|
584
|
-
* Invisible focus outline for elements that need a more visible
|
|
585
|
-
* focus state for high-contrast mode
|
|
586
|
-
*/
|
|
587
|
-
/**
|
|
588
|
-
* Visually hidden from display
|
|
589
|
-
*/
|
|
590
|
-
/*------------------------------------*\\
|
|
591
|
-
#RADIO-FIELD-ITEM
|
|
592
|
-
\\*------------------------------------*/
|
|
593
|
-
:host {
|
|
594
|
-
display: inline-flex;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* 1) Form field that is compose of a radio input, label, and optional fieldnote.
|
|
599
|
-
*/
|
|
600
|
-
.cre8-c-radio-field-item {
|
|
601
|
-
display: flex;
|
|
602
|
-
position: relative;
|
|
603
|
-
align-items: center;
|
|
604
|
-
margin-bottom: 0.5rem;
|
|
605
|
-
min-height: 1.5rem;
|
|
606
|
-
/**
|
|
607
|
-
* 1) Form field that is compose of a radio input, label, and optional fieldnote.
|
|
608
|
-
*/
|
|
609
|
-
}
|
|
610
|
-
:host(:last-child) .cre8-c-radio-field-item {
|
|
611
|
-
margin-bottom: 0;
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
/**
|
|
615
|
-
* Radio field item input
|
|
616
|
-
*/
|
|
617
|
-
.cre8-c-radio-field-item__input {
|
|
618
|
-
opacity: 0;
|
|
619
|
-
cursor: pointer;
|
|
620
|
-
position: absolute;
|
|
621
|
-
top: 0;
|
|
622
|
-
left: 0;
|
|
623
|
-
height: 1.5rem;
|
|
624
|
-
min-width: 1.5rem;
|
|
625
|
-
margin: 0;
|
|
626
|
-
z-index: 1;
|
|
627
|
-
}
|
|
628
|
-
.cre8-c-radio-field-item--disabled .cre8-c-radio-field-item__input {
|
|
629
|
-
cursor: not-allowed;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* Radio field item custom radio container
|
|
634
|
-
*/
|
|
635
|
-
.cre8-c-radio-field-item__custom-radio {
|
|
636
|
-
display: flex;
|
|
637
|
-
position: absolute;
|
|
638
|
-
top: 0;
|
|
639
|
-
left: 0;
|
|
640
|
-
height: 1.5rem;
|
|
641
|
-
width: 1.5rem;
|
|
642
|
-
cursor: pointer;
|
|
643
|
-
align-items: center;
|
|
644
|
-
justify-content: center;
|
|
645
|
-
border-radius: var(--cre8-border-radius-round);
|
|
646
|
-
border-width: var(--cre8-border-width-default);
|
|
647
|
-
border-style: var(--cre8-border-style-default);
|
|
648
|
-
background-color: var(--cre8-color-bg-default);
|
|
649
|
-
border-color: var(--cre8-color-border-strong);
|
|
650
|
-
/**
|
|
651
|
-
* Radio field item custom radio focus visible custom outline
|
|
652
|
-
*/
|
|
653
|
-
}
|
|
654
|
-
.cre8-c-radio-field-item__input:focus-visible + .cre8-c-radio-field-item__custom-radio {
|
|
655
|
-
outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
|
|
656
|
-
outline-offset: 0.125rem;
|
|
657
|
-
}
|
|
658
|
-
.cre8-c-radio-field-item--error .cre8-c-radio-field-item__input:focus-visible + .cre8-c-radio-field-item__custom-radio {
|
|
659
|
-
outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-error);
|
|
660
|
-
outline-offset: 0.125rem;
|
|
661
|
-
border-color: var(--cre8-color-border-error);
|
|
662
|
-
}
|
|
663
|
-
.cre8-c-radio-field-item__custom-radio {
|
|
664
|
-
/**
|
|
665
|
-
* Radio field item custom radio within radio field with error
|
|
666
|
-
*/
|
|
667
|
-
}
|
|
668
|
-
.cre8-c-radio-field-item--error .cre8-c-radio-field-item__custom-radio {
|
|
669
|
-
border-color: var(--cre8-color-border-error);
|
|
670
|
-
}
|
|
671
|
-
.cre8-c-radio-field-item__custom-radio {
|
|
672
|
-
/**
|
|
673
|
-
* Radio field item custom radio within radio field disabled
|
|
674
|
-
*/
|
|
675
|
-
}
|
|
676
|
-
.cre8-c-radio-field-item--disabled .cre8-c-radio-field-item__custom-radio {
|
|
677
|
-
cursor: not-allowed;
|
|
678
|
-
background-color: var(--cre8-color-bg-disabled);
|
|
679
|
-
border-color: var(--cre8-color-border-disabled);
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
* Radio field item inner circle
|
|
684
|
-
*/
|
|
685
|
-
.cre8-c-radio-field-item__inner-circle {
|
|
686
|
-
display: none;
|
|
687
|
-
cursor: pointer;
|
|
688
|
-
height: 0.75rem;
|
|
689
|
-
width: 0.75rem;
|
|
690
|
-
background: var(--cre8-color-content-brand);
|
|
691
|
-
border-radius: var(--cre8-border-radius-round);
|
|
692
|
-
/**
|
|
693
|
-
* Radio field item inner circle error
|
|
694
|
-
*/
|
|
695
|
-
}
|
|
696
|
-
.cre8-c-radio-field-item--error .cre8-c-radio-field-item__inner-circle {
|
|
697
|
-
background: var(--cre8-color-bg-error-strong);
|
|
698
|
-
}
|
|
699
|
-
.cre8-c-radio-field-item__inner-circle {
|
|
700
|
-
/**
|
|
701
|
-
* Radio field item inner circle disabled
|
|
702
|
-
*/
|
|
703
|
-
}
|
|
704
|
-
.cre8-c-radio-field-item--disabled .cre8-c-radio-field-item__inner-circle {
|
|
705
|
-
background: var(--cre8-color-content-disabled);
|
|
706
|
-
}
|
|
707
|
-
.cre8-c-radio-field-item__inner-circle {
|
|
708
|
-
/**
|
|
709
|
-
* Radio field item inner circle will display if the input is checked
|
|
710
|
-
*/
|
|
711
|
-
}
|
|
712
|
-
.cre8-c-radio-field-item__input:checked + .cre8-c-radio-field-item__custom-radio .cre8-c-radio-field-item__inner-circle {
|
|
713
|
-
display: flex;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
/**
|
|
717
|
-
* Radio field item input
|
|
718
|
-
*/
|
|
719
|
-
.cre8-c-radio-field-item__label {
|
|
720
|
-
margin-left: 2rem;
|
|
721
|
-
font-family: var(--cre8-typography-label-small-font-family);
|
|
722
|
-
font-size: var(--cre8-typography-label-small-font-size);
|
|
723
|
-
font-weight: var(--cre8-typography-label-small-font-weight);
|
|
724
|
-
line-height: var(--cre8-typography-label-small-line-height);
|
|
725
|
-
text-decoration: var(--cre8-typography-label-small-text-decoration);
|
|
726
|
-
text-transform: var(--cre8-typography-label-small-text-transform);
|
|
727
|
-
}`;
|
|
728
|
-
var y = Object.defineProperty, r = (c, e, i, o) => {
|
|
729
|
-
for (var n = void 0, l = c.length - 1, m; l >= 0; l--)
|
|
730
|
-
(m = c[l]) && (n = m(e, i, n) || n);
|
|
731
|
-
return n && y(e, i, n), n;
|
|
732
|
-
};
|
|
733
|
-
const s = class s extends f {
|
|
734
|
-
constructor() {
|
|
735
|
-
super(...arguments), this.type = "radio";
|
|
736
|
-
}
|
|
737
|
-
/**
|
|
738
|
-
* Connected callback lifecycle
|
|
739
|
-
* 1) Set the initial checked value to the checked property
|
|
740
|
-
* 2) Auto-generate the fieldId if a user doesn't provided so that the form field is accessible
|
|
741
|
-
* 3) If a field note exists, set the aria-describedby attribute to make sure the field note is read out
|
|
742
|
-
*/
|
|
743
|
-
connectedCallback() {
|
|
744
|
-
super.connectedCallback(), this.fieldId = this.fieldId || u(), this.fieldNote && (this.ariaDescribedBy = this.ariaDescribedBy || u());
|
|
745
|
-
}
|
|
746
|
-
/**
|
|
747
|
-
* Reset the radio field
|
|
748
|
-
*/
|
|
749
|
-
resetField() {
|
|
750
|
-
this._internals.setFormValue(null);
|
|
751
|
-
}
|
|
752
|
-
/**
|
|
753
|
-
* Reset the radio field items tab indeces
|
|
754
|
-
*/
|
|
755
|
-
resetTabIndeces(e) {
|
|
756
|
-
e.forEach((i) => {
|
|
757
|
-
i.shadowRoot.querySelector(".cre8-c-radio-field-item__input").setAttribute("tabindex", "0");
|
|
758
|
-
});
|
|
759
|
-
}
|
|
760
|
-
/**
|
|
761
|
-
* Remove checked
|
|
762
|
-
* 1) Remove checked property from all items and set tabindex to -1
|
|
763
|
-
* 2) Reset the form field to not checked
|
|
764
|
-
*/
|
|
765
|
-
removeChecked() {
|
|
766
|
-
this.parentNode && this.parentNode.querySelectorAll("cre8-radio-field-item").forEach((i) => {
|
|
767
|
-
i.checked = !1, i.shadowRoot.querySelector(".cre8-c-radio-field-item__input").setAttribute("tabindex", "-1"), i.resetField();
|
|
768
|
-
});
|
|
769
|
-
}
|
|
770
|
-
/**
|
|
771
|
-
* Reset form callback
|
|
772
|
-
* 1) Remove the checked state from all radio elements
|
|
773
|
-
* 2) Set the checked state to the initial checked state
|
|
774
|
-
* 3) Set the radio field input checked attribute to the initial checked state
|
|
775
|
-
*/
|
|
776
|
-
formResetCallback() {
|
|
777
|
-
this.removeChecked(), this.checked = this.initialChecked, this.field.checked = this.initialChecked;
|
|
778
|
-
}
|
|
779
|
-
/**
|
|
780
|
-
* access role when radio-field-item embedded in radio-field
|
|
781
|
-
*/
|
|
782
|
-
_getRole() {
|
|
783
|
-
return this.closest("cre8-radio-field") ? "listitem" : "";
|
|
784
|
-
}
|
|
785
|
-
/**
|
|
786
|
-
* Toggle active state of primary nav item
|
|
787
|
-
* 1) Remove isActive state from all sibling elements
|
|
788
|
-
* 2) Toggle active state of element selected
|
|
789
|
-
*/
|
|
790
|
-
_clickHandler() {
|
|
791
|
-
this.removeChecked(), this.checked = !this.checked;
|
|
792
|
-
const e = this.shadowRoot?.querySelector(".cre8-c-radio-field-item__input");
|
|
793
|
-
return e && e.setAttribute("tabindex", "0"), this.checked ? this._internals.setFormValue(this.value || "on") : this._internals.setFormValue(null);
|
|
794
|
-
}
|
|
795
|
-
/**
|
|
796
|
-
* Handle sibling element updates during handleKeyDown function
|
|
797
|
-
* 1) Prevent default keyboard functionality to disable scroll with up/down keys
|
|
798
|
-
* 2) Trigger removeChecked
|
|
799
|
-
* 3) Focus sibling shadowRoot element
|
|
800
|
-
* 4) Click sibling shadowRoot element
|
|
801
|
-
* 5) Set sibling element `tabindex` to `0`
|
|
802
|
-
* 6) Set sibling element `checked` value
|
|
803
|
-
*/
|
|
804
|
-
_updateSibling(e, i, o) {
|
|
805
|
-
e.preventDefault(), this.removeChecked(), o.focus(), o.click(), o.setAttribute("tabindex", "0"), i.setAttribute("checked", "");
|
|
806
|
-
}
|
|
807
|
-
/**
|
|
808
|
-
* Handle keydown
|
|
809
|
-
* 1) If left or up arrow key is struck and radio field item exists before current item,
|
|
810
|
-
* remove checked from all items and add it to the next item
|
|
811
|
-
* 2) If right or down arrow key is struck and radio field item exists after current item,
|
|
812
|
-
* remove checked from all items and add checked to the next item. Focus on this item
|
|
813
|
-
* and set tabindex for when focusing out of radio field and back onto checked item.
|
|
814
|
-
* 3) If the element is in focused, then for event emission the current
|
|
815
|
-
* focues element should be clicked to emit event.
|
|
816
|
-
* 4) If the Tab key is pressed, and none of the items are checked
|
|
817
|
-
* then jump away from field set to the next tabbable item
|
|
818
|
-
*/
|
|
819
|
-
handleKeyDown(e) {
|
|
820
|
-
if (e.code === "ArrowLeft" || e.code === "ArrowUp") {
|
|
821
|
-
const i = this.previousElementSibling, o = i?.shadowRoot?.querySelector(
|
|
822
|
-
".cre8-c-radio-field-item__input:not([disabled])"
|
|
823
|
-
);
|
|
824
|
-
o && this._updateSibling(e, i, o);
|
|
825
|
-
} else if (e.code === "ArrowRight" || e.code === "ArrowDown") {
|
|
826
|
-
const i = this.nextElementSibling, o = i?.shadowRoot?.querySelector(
|
|
827
|
-
".cre8-c-radio-field-item__input:not([disabled])"
|
|
828
|
-
);
|
|
829
|
-
o && this._updateSibling(e, i, o);
|
|
830
|
-
} else if (e.code === "Tab" && !this.checked) {
|
|
831
|
-
const i = this.parentNode.querySelectorAll("cre8-radio-field-item");
|
|
832
|
-
i.forEach((o) => {
|
|
833
|
-
o.shadowRoot.querySelector(".cre8-c-radio-field-item__input").setAttribute("tabindex", "-1");
|
|
834
|
-
}), setTimeout(this.resetTabIndeces, 100, i);
|
|
119
|
+
/**
|
|
120
|
+
* Handle keydown
|
|
121
|
+
* 1) If left or up arrow key is struck and radio field item exists before current item,
|
|
122
|
+
* remove checked from all items and add it to the next item
|
|
123
|
+
* 2) If right or down arrow key is struck and radio field item exists after current item,
|
|
124
|
+
* remove checked from all items and add checked to the next item. Focus on this item
|
|
125
|
+
* and set tabindex for when focusing out of radio field and back onto checked item.
|
|
126
|
+
* 3) If the element is in focused, then for event emission the current
|
|
127
|
+
* focues element should be clicked to emit event.
|
|
128
|
+
* 4) If the Tab key is pressed, and none of the items are checked
|
|
129
|
+
* then jump away from field set to the next tabbable item
|
|
130
|
+
*/
|
|
131
|
+
handleKeyDown(e) {
|
|
132
|
+
if (e.code === 'ArrowLeft' || e.code === 'ArrowUp') {
|
|
133
|
+
/* 1 */
|
|
134
|
+
const previous = this.previousElementSibling;
|
|
135
|
+
const previousElement = previous?.shadowRoot?.querySelector('.cre8-c-radio-field-item__input:not([disabled])');
|
|
136
|
+
if (previousElement) {
|
|
137
|
+
this._updateSibling(e, previous, previousElement);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
else if (e.code === 'ArrowRight' || e.code === 'ArrowDown') {
|
|
141
|
+
/* 2 */
|
|
142
|
+
const next = this.nextElementSibling;
|
|
143
|
+
const nextElement = next?.shadowRoot?.querySelector('.cre8-c-radio-field-item__input:not([disabled])');
|
|
144
|
+
if (nextElement) {
|
|
145
|
+
this._updateSibling(e, next, nextElement);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
else if (e.code === 'Tab' && !this.checked) {
|
|
149
|
+
const radioFieldItems = this.parentNode.querySelectorAll('cre8-radio-field-item');
|
|
150
|
+
radioFieldItems.forEach((element) => {
|
|
151
|
+
element.shadowRoot.querySelector('.cre8-c-radio-field-item__input').setAttribute('tabindex', '-1');
|
|
152
|
+
});
|
|
153
|
+
// After making tabbing away from the feildset,
|
|
154
|
+
// reset the items to be tabbable again so the user can come back to the fieldset
|
|
155
|
+
setTimeout(this.resetTabIndeces, 100, radioFieldItems);
|
|
156
|
+
}
|
|
835
157
|
}
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
<div role=${
|
|
158
|
+
render() {
|
|
159
|
+
const componentClassNames = this.componentClassNames('cre8-c-radio-field-item', {
|
|
160
|
+
'cre8-c-radio-field-item--error': this.isError,
|
|
161
|
+
'cre8-c-radio-field-item--success': this.isSuccess,
|
|
162
|
+
'cre8-c-radio-field-item--disabled': this.disabled,
|
|
163
|
+
});
|
|
164
|
+
const isChecked = this.checked === true || this.initialChecked === true;
|
|
165
|
+
return html `
|
|
166
|
+
<div role=${ifDefined(this._getRole())} class="${componentClassNames}" @keydown=${this.handleKeyDown}>
|
|
845
167
|
<input
|
|
846
168
|
class="cre8-c-radio-field-item__input"
|
|
847
169
|
type="radio"
|
|
848
170
|
@input=${this._clickHandler}
|
|
849
171
|
id=${this.fieldId}
|
|
850
|
-
aria-describedby="${
|
|
851
|
-
required=${
|
|
852
|
-
aria-invalid=${this.required ? !!this.isError :
|
|
172
|
+
aria-describedby="${ifDefined(this.ariaDescribedBy)}"
|
|
173
|
+
required=${ifDefined(this.required)}
|
|
174
|
+
aria-invalid=${this.required ? !!this.isError : ifDefined(this.isError)}
|
|
853
175
|
name=${this.name}
|
|
854
176
|
.value=${this.value}
|
|
855
|
-
disabled="${
|
|
856
|
-
.checked="${
|
|
177
|
+
disabled="${ifDefined(this.disabled)}"
|
|
178
|
+
.checked="${isChecked}"
|
|
857
179
|
/>
|
|
858
180
|
<span class="cre8-c-radio-field-item__custom-radio">
|
|
859
181
|
<div class="cre8-c-radio-field-item__inner-circle"></div>
|
|
860
182
|
</span>
|
|
861
183
|
<label class="cre8-c-radio-field-item__label" for=${this.fieldId}>${this.label}</label>
|
|
862
184
|
</div>
|
|
863
|
-
${this.fieldNote
|
|
185
|
+
${this.fieldNote
|
|
186
|
+
? html `<cre8-field-note
|
|
864
187
|
?inverted=${this.fieldNoteKnockout}
|
|
865
|
-
id=${
|
|
866
|
-
iconName=${
|
|
188
|
+
id=${ifDefined(this.ariaDescribedBy)}
|
|
189
|
+
iconName=${ifDefined(this.fieldNoteIconName)}
|
|
867
190
|
?isSuccess=${this.isSuccess}
|
|
868
191
|
?isError=${this.isError}
|
|
869
192
|
>
|
|
870
193
|
${this.fieldNote}
|
|
871
|
-
</cre8-field-note>`
|
|
194
|
+
</cre8-field-note>`
|
|
195
|
+
: ''}
|
|
872
196
|
`;
|
|
873
|
-
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
customElements.
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
};
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
Cre8RadioFieldItem.styles = [styles];
|
|
200
|
+
__decorate([
|
|
201
|
+
property()
|
|
202
|
+
], Cre8RadioFieldItem.prototype, "ariaDescribedBy", void 0);
|
|
203
|
+
__decorate([
|
|
204
|
+
property({ type: Boolean, reflect: true })
|
|
205
|
+
], Cre8RadioFieldItem.prototype, "checked", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
property({ type: Boolean, reflect: true })
|
|
208
|
+
], Cre8RadioFieldItem.prototype, "disabled", void 0);
|
|
209
|
+
__decorate([
|
|
210
|
+
query('input')
|
|
211
|
+
], Cre8RadioFieldItem.prototype, "field", void 0);
|
|
212
|
+
__decorate([
|
|
213
|
+
property()
|
|
214
|
+
], Cre8RadioFieldItem.prototype, "fieldId", void 0);
|
|
215
|
+
__decorate([
|
|
216
|
+
property()
|
|
217
|
+
], Cre8RadioFieldItem.prototype, "fieldNote", void 0);
|
|
218
|
+
__decorate([
|
|
219
|
+
property()
|
|
220
|
+
], Cre8RadioFieldItem.prototype, "fieldNoteIconName", void 0);
|
|
221
|
+
__decorate([
|
|
222
|
+
property({ type: Boolean, reflect: true })
|
|
223
|
+
], Cre8RadioFieldItem.prototype, "fieldNoteKnockout", void 0);
|
|
224
|
+
__decorate([
|
|
225
|
+
property({ type: Boolean, reflect: true })
|
|
226
|
+
], Cre8RadioFieldItem.prototype, "fieldNoteIsError", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
property({ type: Boolean, reflect: true })
|
|
229
|
+
], Cre8RadioFieldItem.prototype, "isError", void 0);
|
|
230
|
+
__decorate([
|
|
231
|
+
property({ type: Boolean, reflect: true })
|
|
232
|
+
], Cre8RadioFieldItem.prototype, "isSuccess", void 0);
|
|
233
|
+
__decorate([
|
|
234
|
+
property()
|
|
235
|
+
], Cre8RadioFieldItem.prototype, "label", void 0);
|
|
236
|
+
__decorate([
|
|
237
|
+
property({ type: Boolean, reflect: true })
|
|
238
|
+
], Cre8RadioFieldItem.prototype, "required", void 0);
|
|
239
|
+
if (customElements.get('cre8-radio-field-item') === undefined) {
|
|
240
|
+
customElements.define('cre8-radio-field-item', Cre8RadioFieldItem);
|
|
241
|
+
}
|
|
242
|
+
export default Cre8RadioFieldItem;
|
|
243
|
+
//# sourceMappingURL=radio-field-item.js.map
|