@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,901 +1,193 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.cre8-u-show-md {
|
|
62
|
-
display: none !important;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
@media all and (max-width: 60rem) {
|
|
66
|
-
.cre8-u-show-lg {
|
|
67
|
-
display: none !important;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
@media all and (max-width: 75rem) {
|
|
71
|
-
.cre8-u-show-xl {
|
|
72
|
-
display: none !important;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
.cre8-u-margin-none {
|
|
76
|
-
margin: 0 !important;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.cre8-u-margin-sm {
|
|
80
|
-
margin: size(1) !important;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.cre8-u-margin-md {
|
|
84
|
-
margin: size(2) !important;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.cre8-u-margin-lg {
|
|
88
|
-
margin: size(3) !important;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.cre8-u-margin-xl {
|
|
92
|
-
margin: size(4) !important;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.cre8-u-margin-xxl {
|
|
96
|
-
margin: size(8) !important;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.cre8-u-margin-top-none {
|
|
100
|
-
margin-top: 0 !important;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.cre8-u-margin-top-sm {
|
|
104
|
-
margin-top: size(1) !important;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.cre8-u-margin-top-md {
|
|
108
|
-
margin-top: size(2) !important;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.cre8-u-margin-top-lg {
|
|
112
|
-
margin-top: size(3) !important;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.cre8-u-margin-top-xl {
|
|
116
|
-
margin-top: size(4) !important;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.cre8-u-margin-top-xxl {
|
|
120
|
-
margin-top: size(8) !important;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.cre8-u-margin-right-none {
|
|
124
|
-
margin-right: 0 !important;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.cre8-u-margin-right-sm {
|
|
128
|
-
margin-right: size(1) !important;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.cre8-u-margin-right-md {
|
|
132
|
-
margin-right: size(2) !important;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.cre8-u-margin-right-lg {
|
|
136
|
-
margin-right: size(3) !important;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.cre8-u-margin-right-xl {
|
|
140
|
-
margin-right: size(4) !important;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.cre8-u-margin-right-xxl {
|
|
144
|
-
margin-right: size(8) !important;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.cre8-u-margin-bottom-none {
|
|
148
|
-
margin-bottom: 0 !important;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.cre8-u-margin-bottom-sm {
|
|
152
|
-
margin-bottom: size(1) !important;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.cre8-u-margin-bottom-md {
|
|
156
|
-
margin-bottom: size(2) !important;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.cre8-u-margin-bottom-lg {
|
|
160
|
-
margin-bottom: size(3) !important;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.cre8-u-margin-bottom-xl {
|
|
164
|
-
margin-bottom: size(4) !important;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.cre8-u-margin-bottom-xxl {
|
|
168
|
-
margin-bottom: size(8) !important;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.cre8-u-margin-bottom-xl-xxl {
|
|
172
|
-
margin-bottom: size(4) !important;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
@media all and (min-width: 768px) {
|
|
176
|
-
.cre8-u-margin-bottom-xl-xxl {
|
|
177
|
-
margin-bottom: size(8) !important;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
.cre8-u-margin-left-none {
|
|
181
|
-
margin-left: 0 !important;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.cre8-u-margin-left-sm {
|
|
185
|
-
margin-left: size(1) !important;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.cre8-u-margin-left-md {
|
|
189
|
-
margin-left: size(2) !important;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.cre8-u-margin-left-lg {
|
|
193
|
-
margin-left: size(3) !important;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.cre8-u-margin-left-xl {
|
|
197
|
-
margin-left: size(4) !important;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.cre8-u-margin-left-xxl {
|
|
201
|
-
margin-left: size(8) !important;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.cre8-u-padding-none {
|
|
205
|
-
padding: 0 !important;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.cre8-u-padding-sm {
|
|
209
|
-
padding: size(1) !important;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.cre8-u-padding-md {
|
|
213
|
-
padding: size(2) !important;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.cre8-u-padding-lg {
|
|
217
|
-
padding: size(3) !important;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.cre8-u-padding-xl {
|
|
221
|
-
padding: size(4) !important;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.cre8-u-padding-xxl {
|
|
225
|
-
padding: size(8) !important;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.cre8-u-padding-top-none {
|
|
229
|
-
padding-top: 0 !important;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.cre8-u-padding-top-sm {
|
|
233
|
-
padding-top: size(1) !important;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.cre8-u-padding-top-md {
|
|
237
|
-
padding-top: size(2) !important;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.cre8-u-padding-top-lg {
|
|
241
|
-
padding-top: size(3) !important;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.cre8-u-padding-top-xl {
|
|
245
|
-
padding-top: size(4) !important;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.cre8-u-padding-top-xxl {
|
|
249
|
-
padding-top: size(8) !important;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.cre8-u-padding-right-none {
|
|
253
|
-
padding-right: 0 !important;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.cre8-u-padding-right-sm {
|
|
257
|
-
padding-right: size(1) !important;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.cre8-u-padding-right-md {
|
|
261
|
-
padding-right: size(2) !important;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.cre8-u-padding-right-lg {
|
|
265
|
-
padding-right: size(3) !important;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.cre8-u-padding-right-xl {
|
|
269
|
-
padding-right: size(4) !important;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.cre8-u-padding-right-xxl {
|
|
273
|
-
padding-right: size(8) !important;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.cre8-u-padding-bottom-none {
|
|
277
|
-
padding-bottom: 0 !important;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.cre8-u-padding-bottom-sm {
|
|
281
|
-
padding-bottom: size(1) !important;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.cre8-u-padding-bottom-md {
|
|
285
|
-
padding-bottom: size(2) !important;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.cre8-u-padding-bottom-lg {
|
|
289
|
-
padding-bottom: size(3) !important;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.cre8-u-padding-bottom-xl {
|
|
293
|
-
padding-bottom: size(4) !important;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.cre8-u-padding-bottom-xxl {
|
|
297
|
-
padding-bottom: size(8) !important;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.cre8-u-padding-left-none {
|
|
301
|
-
padding-left: 0 !important;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
.cre8-u-padding-left-sm {
|
|
305
|
-
padding-left: size(1) !important;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.cre8-u-padding-left-md {
|
|
309
|
-
padding-left: size(2) !important;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
.cre8-u-padding-left-lg {
|
|
313
|
-
padding-left: size(3) !important;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.cre8-u-padding-left-xl {
|
|
317
|
-
padding-left: size(4) !important;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.cre8-u-padding-left-xxl {
|
|
321
|
-
padding-left: size(8) !important;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.cre8-u-display-flex {
|
|
325
|
-
display: flex !important;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.cre8-u-display-block {
|
|
329
|
-
display: block !important;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
body {
|
|
333
|
-
font-family: var(--cre8-typography-body-default-font-family);
|
|
334
|
-
font-size: var(--cre8-typography-body-default-font-size);
|
|
335
|
-
font-weight: var(--cre8-typography-body-default-font-weight);
|
|
336
|
-
line-height: var(--cre8-typography-body-default-line-height);
|
|
337
|
-
-webkit-text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
338
|
-
text-decoration: var(--cre8-typography-body-default-text-decoration);
|
|
339
|
-
text-transform: var(--cre8-typography-body-default-text-transform);
|
|
340
|
-
display: flex;
|
|
341
|
-
flex-direction: column;
|
|
342
|
-
padding: 0;
|
|
343
|
-
margin: 0;
|
|
344
|
-
color: var(--cre8-color-content-default);
|
|
345
|
-
background: var(--background-default);
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
@media all and (min-width: 60rem) {
|
|
349
|
-
.page-container {
|
|
350
|
-
background: linear-gradient(90deg, #fff 0, #fff 66.66%, #f8f8f9 0, #f8f8f9 0);
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
.band__inner {
|
|
354
|
-
margin-left: 2rem;
|
|
355
|
-
margin-right: 2rem;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
@media all and (min-width: 60rem) {
|
|
359
|
-
.band__inner {
|
|
360
|
-
margin-right: 0;
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
img {
|
|
364
|
-
max-width: 100%;
|
|
365
|
-
height: auto;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* Border-Box http:/paulirish.com/2012/box-sizing-border-box-ftw/
|
|
370
|
-
*/
|
|
371
|
-
*,
|
|
372
|
-
::slotted(*),
|
|
373
|
-
*:before,
|
|
374
|
-
*:after {
|
|
375
|
-
box-sizing: border-box;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
:root {
|
|
379
|
-
--size-base-unit: 0.5rem;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* RTL support for values logical properties can't automatically adjust for
|
|
384
|
-
* 1) Percentage based horizontal translate values need to be flipped
|
|
385
|
-
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
386
|
-
* 3) Inverse items that have 45degs
|
|
387
|
-
*/
|
|
388
|
-
[dir=rtl] {
|
|
389
|
-
--rtlTranslateX: 50%;
|
|
390
|
-
/* 1 */
|
|
391
|
-
--rtlGradientToRight: 270deg;
|
|
392
|
-
/* 2 */
|
|
393
|
-
--rtlRotate45Inverse: -45deg;
|
|
394
|
-
/* 3 */
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* Visible focus outline for elements on a light background
|
|
399
|
-
*/
|
|
400
|
-
/**
|
|
401
|
-
* Visible focus outline for elements with an error status
|
|
402
|
-
*/
|
|
403
|
-
/**
|
|
404
|
-
* Visible focus outline for elements on a dark background
|
|
405
|
-
*/
|
|
406
|
-
/**
|
|
407
|
-
* Focus state for themes that need a dashed outline for focus
|
|
408
|
-
* state
|
|
409
|
-
**/
|
|
410
|
-
/**
|
|
411
|
-
* Invisible focus outline for elements that need a more visible
|
|
412
|
-
* focus state for high-contrast mode
|
|
413
|
-
*/
|
|
414
|
-
/**
|
|
415
|
-
* Visually hidden from display
|
|
416
|
-
*/
|
|
417
|
-
/*
|
|
418
|
-
=======
|
|
419
|
-
Animations
|
|
420
|
-
=======
|
|
421
|
-
*/
|
|
422
|
-
:host {
|
|
423
|
-
--cre8-z-index-1: 1;
|
|
424
|
-
--cre8-z-index-50: 50;
|
|
425
|
-
--cre8-z-index-100: 100;
|
|
426
|
-
--cre8-z-index-200: 200;
|
|
427
|
-
--cre8-z-index-1030: 1030;
|
|
428
|
-
--cre8-anim-fade-quick: 0.35s;
|
|
429
|
-
--cre8-anim-ease: ease;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
@keyframes fadeIn {
|
|
433
|
-
100% {
|
|
434
|
-
opacity: 1;
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
@keyframes slideIn {
|
|
438
|
-
100% {
|
|
439
|
-
transform: translateX(0);
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
@keyframes slideInFwd {
|
|
443
|
-
100% {
|
|
444
|
-
width: 272px;
|
|
445
|
-
height: 272px;
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
@keyframes slideOutRight {
|
|
449
|
-
100% {
|
|
450
|
-
width: 272px;
|
|
451
|
-
height: 272px;
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
@keyframes slideUp {
|
|
455
|
-
100% {
|
|
456
|
-
transform: translateY(0);
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
@media (width >= 481px) {
|
|
460
|
-
@keyframes slideInFwd {
|
|
461
|
-
100% {
|
|
462
|
-
width: 417px;
|
|
463
|
-
height: 417px;
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
@keyframes slideOutRight {
|
|
467
|
-
100% {
|
|
468
|
-
width: 417px;
|
|
469
|
-
height: 417px;
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
@media (width >= 48rem) {
|
|
474
|
-
@keyframes slideInFwd {
|
|
475
|
-
100% {
|
|
476
|
-
width: 330px;
|
|
477
|
-
height: 330px;
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
@keyframes slideOutRight {
|
|
481
|
-
100% {
|
|
482
|
-
width: 330px;
|
|
483
|
-
height: 330px;
|
|
484
|
-
transform: translateX(calc(100vw - 45px));
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
@media (width >= 60rem) {
|
|
489
|
-
@keyframes slideInFwd {
|
|
490
|
-
100% {
|
|
491
|
-
width: 460px;
|
|
492
|
-
height: 460px;
|
|
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 { property, query } from 'lit/decorators.js';
|
|
9
|
+
import svgError from '@tmorrow/cre8-wc/icons/System/Regular/Error.svg?raw';
|
|
10
|
+
import svgWarningFilled from '@tmorrow/cre8-wc/icons/System/Filled/Warning.svg?raw';
|
|
11
|
+
import svgCheckCircle from '@tmorrow/cre8-wc/icons/System/Filled/Check.svg?raw';
|
|
12
|
+
import svgInfoFilled from '@tmorrow/cre8-wc/icons/System/Filled/Info.svg?raw';
|
|
13
|
+
import svgHelp from '@tmorrow/cre8-wc/icons/System/Regular/Help.svg?raw';
|
|
14
|
+
import svgClose from '@tmorrow/cre8-wc/icons/System/Regular/Close.svg?raw';
|
|
15
|
+
import { Cre8Element } from '../cre8-element';
|
|
16
|
+
import '../icon/icon.js';
|
|
17
|
+
import '@a11y/focus-trap';
|
|
18
|
+
import styles from './modal.styles.js';
|
|
19
|
+
/**
|
|
20
|
+
* Modal component should be used in all modal situations.
|
|
21
|
+
* It is natuarally composable and can even have a custom header and remove the close button.
|
|
22
|
+
* (note: adding `slot="header"` will insert the given element into the header section of the modal,
|
|
23
|
+
* same for `slot="footer"` and no given slot name will inset it into the body)
|
|
24
|
+
*
|
|
25
|
+
* If it is desired to create a utility modal. Cre8Modal requires a status value (see props table below,
|
|
26
|
+
* and a UtilityModalTitle since all utility modals have a cre8-heading)
|
|
27
|
+
* @slot - The component content
|
|
28
|
+
*/
|
|
29
|
+
export class Cre8Modal extends Cre8Element {
|
|
30
|
+
constructor() {
|
|
31
|
+
super(...arguments);
|
|
32
|
+
/**
|
|
33
|
+
* Close Button Text
|
|
34
|
+
*/
|
|
35
|
+
this.closeButtonText = 'close';
|
|
36
|
+
/**
|
|
37
|
+
* Close Button Icon
|
|
38
|
+
*/
|
|
39
|
+
this.closeButtonIcon = 'close';
|
|
40
|
+
/*
|
|
41
|
+
* Maps modal icons and modal status variants to what the alt text of the related icon should be
|
|
42
|
+
* see: (https://digital.#.com/patterns-and-Components/informational-display/alerts-and-notifications#query=alerts)
|
|
43
|
+
* this provides the recommendated alt text of different statuses
|
|
44
|
+
*/
|
|
45
|
+
this.mapStatusToIconModal = (status) => {
|
|
46
|
+
switch (status) {
|
|
47
|
+
case 'error':
|
|
48
|
+
return html `<cre8-icon class="cre8-modal-icon" svg=${svgError} aria-hidden='true'></cre8-icon>`;
|
|
49
|
+
case 'success':
|
|
50
|
+
return html `<cre8-icon class="cre8-modal-icon" svg=${svgCheckCircle} aria-hidden='true'></cre8-icon>`;
|
|
51
|
+
case 'warning':
|
|
52
|
+
return html `<cre8-icon class="cre8-modal-icon" svg=${svgWarningFilled} aria-hidden='true'></cre8-icon>`;
|
|
53
|
+
case 'help':
|
|
54
|
+
return html `<cre8-icon class="cre8-modal-icon" svg=${svgHelp} aria-hidden='true'></cre8-icon>`;
|
|
55
|
+
case 'info':
|
|
56
|
+
return html `<cre8-icon class="cre8-modal-icon" svg=${svgInfoFilled} aria-hidden='true'></cre8-icon>`;
|
|
57
|
+
default:
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
493
61
|
}
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
62
|
+
/**
|
|
63
|
+
* Handle keydown
|
|
64
|
+
* 1) Close the modal when escape is hit when the user is focused within the modal
|
|
65
|
+
*/
|
|
66
|
+
handleKeydown(e) {
|
|
67
|
+
if (e.code === 'Escape' && !this.notDismissible) {
|
|
68
|
+
this.handleCloseModal(); /* 2 */
|
|
69
|
+
}
|
|
500
70
|
}
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
71
|
+
/**
|
|
72
|
+
* Handle on close
|
|
73
|
+
* 1) On close, set the modal to not active and dispatch event telling the parent the modal was closed.
|
|
74
|
+
*/
|
|
75
|
+
handleCloseModal() {
|
|
76
|
+
this.isActive = false;
|
|
77
|
+
this.dispatch({
|
|
78
|
+
eventName: 'close-modal',
|
|
79
|
+
detailObj: {
|
|
80
|
+
isActive: this.isActive,
|
|
81
|
+
},
|
|
82
|
+
});
|
|
508
83
|
}
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
84
|
+
/**
|
|
85
|
+
* Handle "click outside"
|
|
86
|
+
* 1) onClick of the area around the modal window, close the modal.
|
|
87
|
+
*/
|
|
88
|
+
handleOnClickOutside(e) {
|
|
89
|
+
const eventTarget = e.target;
|
|
90
|
+
if (this.isActive && this._modalWindow && eventTarget.classList.contains('cre8-c-modal') && !this.notDismissible) {
|
|
91
|
+
this.handleCloseModal();
|
|
92
|
+
}
|
|
515
93
|
}
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
94
|
+
/**
|
|
95
|
+
* Lifecycle method to focus on modal
|
|
96
|
+
* 1) If there is a changed property, and this.isActive === true, then focus on the modal window.
|
|
97
|
+
* 2) Disable the body from scrolling behind while the modal is open.
|
|
98
|
+
*/
|
|
99
|
+
updated(changedProperties) {
|
|
100
|
+
if (this.isActive === true) {
|
|
101
|
+
setTimeout(() => {
|
|
102
|
+
this._modalWindow.focus();
|
|
103
|
+
}, 200);
|
|
104
|
+
} /* 1 */
|
|
105
|
+
if (changedProperties.has('isActive')) {
|
|
106
|
+
const body = document.querySelector('body');
|
|
107
|
+
if (this.isActive) {
|
|
108
|
+
body.style.overflow = 'hidden';
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
body.style.removeProperty('overflow');
|
|
112
|
+
}
|
|
113
|
+
} /* 2 */
|
|
524
114
|
}
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
span.ripple {
|
|
537
|
-
position: absolute;
|
|
538
|
-
border-radius: 50%;
|
|
539
|
-
transform: scale(0);
|
|
540
|
-
animation: ripple 600ms linear;
|
|
541
|
-
background-color: var(--ripple-bg-color);
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
@keyframes ripple {
|
|
545
|
-
to {
|
|
546
|
-
transform: scale(4);
|
|
547
|
-
opacity: 1;
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
:root {
|
|
551
|
-
--size-base-unit: 0.5rem;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* RTL support for values logical properties can't automatically adjust for
|
|
556
|
-
* 1) Percentage based horizontal translate values need to be flipped
|
|
557
|
-
* 2) Background gradients using "to-right" or "to-left" need to be switched to using deg values.
|
|
558
|
-
* 3) Inverse items that have 45degs
|
|
559
|
-
*/
|
|
560
|
-
[dir=rtl] {
|
|
561
|
-
--rtlTranslateX: 50%;
|
|
562
|
-
/* 1 */
|
|
563
|
-
--rtlGradientToRight: 270deg;
|
|
564
|
-
/* 2 */
|
|
565
|
-
--rtlRotate45Inverse: -45deg;
|
|
566
|
-
/* 3 */
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
/**
|
|
570
|
-
* Visible focus outline for elements on a light background
|
|
571
|
-
*/
|
|
572
|
-
/**
|
|
573
|
-
* Visible focus outline for elements with an error status
|
|
574
|
-
*/
|
|
575
|
-
/**
|
|
576
|
-
* Visible focus outline for elements on a dark background
|
|
577
|
-
*/
|
|
578
|
-
/**
|
|
579
|
-
* Focus state for themes that need a dashed outline for focus
|
|
580
|
-
* state
|
|
581
|
-
**/
|
|
582
|
-
/**
|
|
583
|
-
* Invisible focus outline for elements that need a more visible
|
|
584
|
-
* focus state for high-contrast mode
|
|
585
|
-
*/
|
|
586
|
-
/**
|
|
587
|
-
* Visually hidden from display
|
|
588
|
-
*/
|
|
589
|
-
/*------------------------------------*\\
|
|
590
|
-
#MODAL
|
|
591
|
-
\\*------------------------------------*/
|
|
592
|
-
:host {
|
|
593
|
-
display: block;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* 1) Modal Composable Component
|
|
598
|
-
*/
|
|
599
|
-
.cre8-c-modal {
|
|
600
|
-
position: fixed;
|
|
601
|
-
height: 100vh;
|
|
602
|
-
width: 100vw;
|
|
603
|
-
top: 0;
|
|
604
|
-
left: 0;
|
|
605
|
-
display: none;
|
|
606
|
-
justify-content: center;
|
|
607
|
-
align-items: center;
|
|
608
|
-
background: rgba(0, 0, 0, 0.25);
|
|
609
|
-
z-index: 1000;
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
.cre8-c-modal.cre8-is-active {
|
|
613
|
-
display: flex;
|
|
614
|
-
visibility: visible;
|
|
615
|
-
opacity: 1;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
/**
|
|
619
|
-
* Modal Focus Trap for Window (keeps focus in modal until closed)
|
|
620
|
-
*/
|
|
621
|
-
.cre8-c-modal__focus-trap {
|
|
622
|
-
display: contents;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
/**
|
|
626
|
-
* Modal Window
|
|
627
|
-
*/
|
|
628
|
-
.cre8-c-modal__window {
|
|
629
|
-
display: flex;
|
|
630
|
-
flex-direction: column;
|
|
631
|
-
flex-shrink: 0;
|
|
632
|
-
position: fixed;
|
|
633
|
-
background: var(--cre8-color-bg-default);
|
|
634
|
-
width: 34rem;
|
|
635
|
-
max-width: 100%;
|
|
636
|
-
border-radius: var(--cre8-border-radius-container);
|
|
637
|
-
overflow: hidden;
|
|
638
|
-
overflow-y: auto;
|
|
639
|
-
/**
|
|
640
|
-
* Modal Window for mobile user screen widths
|
|
641
|
-
*/
|
|
642
|
-
}
|
|
643
|
-
@media all and (max-width: 768px) {
|
|
644
|
-
.cre8-c-modal__window {
|
|
645
|
-
position: inherit;
|
|
646
|
-
height: 100%;
|
|
647
|
-
width: 100%;
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
.cre8-c-modal__window:focus-visible {
|
|
651
|
-
outline: var(--cre8-border-width-focus) solid var(--cre8-color-border-active-outline);
|
|
652
|
-
outline-offset: 0.125rem;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
/**
|
|
656
|
-
* Modal Window Header
|
|
657
|
-
*/
|
|
658
|
-
.cre8-c-modal__header {
|
|
659
|
-
display: flex;
|
|
660
|
-
padding: 2rem 3rem 1rem;
|
|
661
|
-
align-items: center;
|
|
662
|
-
/**
|
|
663
|
-
* Modal Header with Error state
|
|
664
|
-
* 1) Icon fill prop is a custom property of cre8-icon-legacy that apply the color as a fill to the whole icon
|
|
665
|
-
*/
|
|
666
|
-
}
|
|
667
|
-
.cre8-c-modal--error .cre8-c-modal__header .cre8-modal-icon {
|
|
668
|
-
color: var(--cre8-color-content-error-icon);
|
|
669
|
-
/* 1 */
|
|
670
|
-
}
|
|
671
|
-
.cre8-c-modal__header {
|
|
672
|
-
/**
|
|
673
|
-
* Modal Header with Warning state
|
|
674
|
-
* 1) Icon fill prop is a custom property of cre8-icon-legacy that apply the color as a fill to the whole icon
|
|
675
|
-
*/
|
|
676
|
-
}
|
|
677
|
-
.cre8-c-modal--warning .cre8-c-modal__header .cre8-modal-icon {
|
|
678
|
-
color: var(--cre8-color-content-warning-icon);
|
|
679
|
-
/* 1 */
|
|
680
|
-
}
|
|
681
|
-
.cre8-c-modal__header {
|
|
682
|
-
/**
|
|
683
|
-
* Modal Header with Success state
|
|
684
|
-
* 1) Icon fill prop is a custom property of cre8-icon-legacy that apply the color as a fill to the whole icon
|
|
685
|
-
*/
|
|
686
|
-
}
|
|
687
|
-
.cre8-c-modal--success .cre8-c-modal__header .cre8-modal-icon {
|
|
688
|
-
color: var(--cre8-color-content-success-icon);
|
|
689
|
-
/* 1 */
|
|
690
|
-
}
|
|
691
|
-
.cre8-c-modal__header {
|
|
692
|
-
/**
|
|
693
|
-
* Modal Header with Info or Help State
|
|
694
|
-
* 1) Icon fill prop is a custom property of cre8-icon-legacy that apply the color as a fill to the whole icon
|
|
695
|
-
*/
|
|
696
|
-
}
|
|
697
|
-
.cre8-c-modal--info .cre8-c-modal__header .cre8-modal-icon, .cre8-c-modal--help .cre8-c-modal__header .cre8-modal-icon {
|
|
698
|
-
color: var(--cre8-color-content-info-icon);
|
|
699
|
-
/* 1 */
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* Modal Heading
|
|
704
|
-
*/
|
|
705
|
-
.cre8-c-modal__header-inner {
|
|
706
|
-
display: flex;
|
|
707
|
-
align-items: center;
|
|
708
|
-
gap: 1rem;
|
|
709
|
-
}
|
|
710
|
-
.cre8-c-modal__header-inner cre8-icon .cre8-modal-icon {
|
|
711
|
-
height: 2rem;
|
|
712
|
-
width: 2rem;
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
/**
|
|
716
|
-
* Modal Window Body
|
|
717
|
-
*/
|
|
718
|
-
.cre8-c-modal__body {
|
|
719
|
-
max-height: 240px;
|
|
720
|
-
overflow: auto;
|
|
721
|
-
padding: 0 3rem;
|
|
722
|
-
/**
|
|
723
|
-
* Modal Window Body for mobile user screen widths
|
|
724
|
-
*/
|
|
725
|
-
}
|
|
726
|
-
@media all and (max-width: 768px) {
|
|
727
|
-
.cre8-c-modal__body {
|
|
728
|
-
height: 100%;
|
|
729
|
-
max-height: max-content;
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
/**
|
|
734
|
-
* Modal Window Footer
|
|
735
|
-
*/
|
|
736
|
-
.cre8-c-modal__footer {
|
|
737
|
-
padding: 1.5rem 3rem calc(100vh - 95dvh);
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
/**
|
|
741
|
-
* Modal Window Close button
|
|
742
|
-
*/
|
|
743
|
-
.cre8-c-modal__close-button {
|
|
744
|
-
margin-left: auto;
|
|
745
|
-
}`;
|
|
746
|
-
var u = Object.defineProperty, r = (l, e, o, b) => {
|
|
747
|
-
for (var n = void 0, d = l.length - 1, c; d >= 0; d--)
|
|
748
|
-
(c = l[d]) && (n = c(e, o, n) || n);
|
|
749
|
-
return n && u(e, o, n), n;
|
|
750
|
-
};
|
|
751
|
-
const C = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
752
|
-
<path d="M8 0C6.41775 0 4.87103 0.469192 3.55544 1.34824C2.23985 2.22729 1.21447 3.47672 0.608967 4.93853C0.00346628 6.40034 -0.15496 8.00887 0.153721 9.56072C0.462403 11.1126 1.22433 12.538 2.34315 13.6569C3.46197 14.7757 4.88743 15.5376 6.43928 15.8463C7.99113 16.155 9.59966 15.9965 11.0615 15.391C12.5233 14.7855 13.7727 13.7602 14.6518 12.4446C15.5308 11.129 16 9.58225 16 8C15.9978 5.87895 15.1542 3.84542 13.6544 2.34562C12.1546 0.845814 10.121 0.00223986 8 0ZM8 14.7692C6.66117 14.7692 5.35241 14.3722 4.23922 13.6284C3.12603 12.8846 2.2584 11.8274 1.74605 10.5905C1.2337 9.35356 1.09965 7.99249 1.36084 6.67939C1.62203 5.36629 2.26674 4.16012 3.21343 3.21343C4.16013 2.26674 5.36629 1.62203 6.67939 1.36084C7.99249 1.09965 9.35356 1.2337 10.5905 1.74605C11.8274 2.25839 12.8846 3.12602 13.6284 4.23922C14.3722 5.35241 14.7692 6.66117 14.7692 8C14.7672 9.79468 14.0534 11.5153 12.7843 12.7843C11.5153 14.0534 9.79469 14.7672 8 14.7692ZM7.38462 8.61538V4.30769C7.38462 4.14448 7.44945 3.98796 7.56486 3.87255C7.68027 3.75714 7.83679 3.69231 8 3.69231C8.16321 3.69231 8.31974 3.75714 8.43514 3.87255C8.55055 3.98796 8.61539 4.14448 8.61539 4.30769V8.61538C8.61539 8.77859 8.55055 8.93512 8.43514 9.05053C8.31974 9.16593 8.16321 9.23077 8 9.23077C7.83679 9.23077 7.68027 9.16593 7.56486 9.05053C7.44945 8.93512 7.38462 8.77859 7.38462 8.61538ZM8.92308 11.3846C8.92308 11.5672 8.86894 11.7456 8.76751 11.8974C8.66608 12.0492 8.52192 12.1676 8.35325 12.2374C8.18458 12.3073 7.99898 12.3256 7.81992 12.29C7.64086 12.2543 7.47638 12.1664 7.34729 12.0373C7.21819 11.9082 7.13028 11.7438 7.09466 11.5647C7.05904 11.3856 7.07732 11.2 7.14719 11.0314C7.21706 10.8627 7.33537 10.7185 7.48717 10.6171C7.63897 10.5157 7.81743 10.4615 8 10.4615C8.24482 10.4615 8.4796 10.5588 8.65271 10.7319C8.82583 10.905 8.92308 11.1398 8.92308 11.3846Z"/>
|
|
753
|
-
</svg>
|
|
754
|
-
`, f = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
755
|
-
<path d="M15.7714 12.5776L9.52528 1.73028C9.36919 1.46453 9.14637 1.24418 8.87889 1.09107C8.61141 0.937966 8.30856 0.857422 8.00036 0.857422C7.69216 0.857422 7.38931 0.937966 7.12182 1.09107C6.85434 1.24418 6.63152 1.46453 6.47543 1.73028L0.229326 12.5776C0.079145 12.8346 0 13.127 0 13.4247C0 13.7224 0.079145 14.0147 0.229326 14.2718C0.383411 14.5391 0.605857 14.7607 0.873837 14.9137C1.14182 15.0667 1.44568 15.1457 1.75425 15.1425H14.2465C14.5548 15.1454 14.8584 15.0663 15.1261 14.9133C15.3938 14.7603 15.616 14.5389 15.77 14.2718C15.9204 14.0149 15.9997 13.7226 16 13.4249C16.0002 13.1272 15.9214 12.8348 15.7714 12.5776ZM7.42896 6.57146C7.42896 6.41992 7.48916 6.27458 7.59632 6.16742C7.70347 6.06026 7.84881 6.00006 8.00036 6.00006C8.1519 6.00006 8.29724 6.06026 8.4044 6.16742C8.51155 6.27458 8.57176 6.41992 8.57176 6.57146V9.42846C8.57176 9.58 8.51155 9.72534 8.4044 9.8325C8.29724 9.93966 8.1519 9.99986 8.00036 9.99986C7.84881 9.99986 7.70347 9.93966 7.59632 9.8325C7.48916 9.72534 7.42896 9.58 7.42896 9.42846V6.57146ZM8.00036 12.8569C7.83084 12.8569 7.66513 12.8066 7.52418 12.7124C7.38323 12.6182 7.27337 12.4844 7.2085 12.3278C7.14363 12.1711 7.12665 11.9988 7.15973 11.8325C7.1928 11.6663 7.27443 11.5136 7.3943 11.3937C7.51416 11.2738 7.66688 11.1922 7.83314 11.1591C7.9994 11.1261 8.17174 11.143 8.32835 11.2079C8.48497 11.2728 8.61883 11.3826 8.71301 11.5236C8.80719 11.6645 8.85746 11.8302 8.85746 11.9998C8.85746 12.2271 8.76715 12.4451 8.60642 12.6058C8.44568 12.7666 8.22767 12.8569 8.00036 12.8569Z"/>
|
|
756
|
-
</svg>
|
|
757
|
-
`, w = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
758
|
-
<path d="M8 0C6.41775 0 4.87103 0.469192 3.55544 1.34824C2.23985 2.22729 1.21447 3.47672 0.608967 4.93853C0.00346628 6.40034 -0.15496 8.00887 0.153721 9.56072C0.462403 11.1126 1.22433 12.538 2.34315 13.6569C3.46197 14.7757 4.88743 15.5376 6.43928 15.8463C7.99113 16.155 9.59966 15.9965 11.0615 15.391C12.5233 14.7855 13.7727 13.7602 14.6518 12.4446C15.5308 11.129 16 9.58225 16 8C15.9978 5.87895 15.1542 3.84542 13.6544 2.34562C12.1546 0.845814 10.121 0.00223986 8 0ZM11.5123 6.58923L7.20462 10.8969C7.14746 10.9541 7.07959 10.9995 7.00489 11.0305C6.93018 11.0615 6.8501 11.0774 6.76923 11.0774C6.68836 11.0774 6.60828 11.0615 6.53358 11.0305C6.45887 10.9995 6.391 10.9541 6.33385 10.8969L4.48769 9.05077C4.37222 8.9353 4.30735 8.77868 4.30735 8.61538C4.30735 8.45208 4.37222 8.29547 4.48769 8.18C4.60317 8.06453 4.75978 7.99966 4.92308 7.99966C5.08638 7.99966 5.24299 8.06453 5.35846 8.18L6.76923 9.59154L10.6415 5.71846C10.6987 5.66128 10.7666 5.61593 10.8413 5.58499C10.916 5.55404 10.9961 5.53812 11.0769 5.53812C11.1578 5.53812 11.2378 5.55404 11.3126 5.58499C11.3873 5.61593 11.4551 5.66128 11.5123 5.71846C11.5695 5.77564 11.6148 5.84351 11.6458 5.91822C11.6767 5.99292 11.6927 6.07299 11.6927 6.15384C11.6927 6.2347 11.6767 6.31477 11.6458 6.38947C11.6148 6.46418 11.5695 6.53205 11.5123 6.58923Z"/>
|
|
759
|
-
</svg>
|
|
760
|
-
`, x = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
761
|
-
<path d="M8 0C6.41775 0 4.87103 0.469192 3.55544 1.34824C2.23985 2.22729 1.21447 3.47672 0.608967 4.93853C0.00346628 6.40034 -0.15496 8.00887 0.153721 9.56072C0.462403 11.1126 1.22433 12.538 2.34315 13.6569C3.46197 14.7757 4.88743 15.5376 6.43928 15.8463C7.99113 16.155 9.59966 15.9965 11.0615 15.391C12.5233 14.7855 13.7727 13.7602 14.6518 12.4446C15.5308 11.129 16 9.58225 16 8C15.9978 5.87895 15.1542 3.84542 13.6544 2.34562C12.1546 0.845814 10.121 0.00223986 8 0ZM7.69231 3.69231C7.87488 3.69231 8.05334 3.74644 8.20514 3.84787C8.35694 3.9493 8.47526 4.09347 8.54512 4.26214C8.61499 4.43081 8.63327 4.61641 8.59765 4.79547C8.56203 4.97453 8.47412 5.139 8.34502 5.2681C8.21593 5.39719 8.05145 5.48511 7.87239 5.52072C7.69333 5.55634 7.50773 5.53806 7.33906 5.46819C7.17039 5.39833 7.02623 5.28002 6.9248 5.12822C6.82337 4.97642 6.76923 4.79795 6.76923 4.61538C6.76923 4.37057 6.86649 4.13578 7.0396 3.96267C7.21271 3.78956 7.44749 3.69231 7.69231 3.69231ZM8.61539 12.3077C8.28897 12.3077 7.97591 12.178 7.7451 11.9472C7.51429 11.7164 7.38462 11.4033 7.38462 11.0769V8C7.22141 8 7.06488 7.93516 6.94947 7.81976C6.83407 7.70435 6.76923 7.54782 6.76923 7.38461C6.76923 7.2214 6.83407 7.06488 6.94947 6.94947C7.06488 6.83406 7.22141 6.76923 7.38462 6.76923C7.71104 6.76923 8.02409 6.8989 8.2549 7.12971C8.48572 7.36053 8.61539 7.67358 8.61539 8V11.0769C8.7786 11.0769 8.93512 11.1418 9.05053 11.2572C9.16594 11.3726 9.23077 11.5291 9.23077 11.6923C9.23077 11.8555 9.16594 12.012 9.05053 12.1274C8.93512 12.2429 8.7786 12.3077 8.61539 12.3077Z"/>
|
|
762
|
-
</svg>
|
|
763
|
-
`, v = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
764
|
-
<path d="M8.92308 12C8.92308 12.1826 8.86894 12.361 8.76751 12.5128C8.66608 12.6646 8.52192 12.7829 8.35325 12.8528C8.18458 12.9227 7.99898 12.941 7.81992 12.9053C7.64086 12.8697 7.47638 12.7818 7.34729 12.6527C7.21819 12.5236 7.13028 12.3591 7.09466 12.1801C7.05904 12.001 7.07732 11.8154 7.14719 11.6468C7.21706 11.4781 7.33537 11.3339 7.48717 11.2325C7.63897 11.1311 7.81743 11.0769 8 11.0769C8.24482 11.0769 8.4796 11.1742 8.65271 11.3473C8.82583 11.5204 8.92308 11.7552 8.92308 12ZM8 3.69231C6.30308 3.69231 4.92308 4.93461 4.92308 6.46154V6.76923C4.92308 6.93244 4.98791 7.08896 5.10332 7.20437C5.21873 7.31978 5.37525 7.38461 5.53846 7.38461C5.70167 7.38461 5.8582 7.31978 5.97361 7.20437C6.08901 7.08896 6.15385 6.93244 6.15385 6.76923V6.46154C6.15385 5.61538 6.98231 4.92308 8 4.92308C9.01769 4.92308 9.84616 5.61538 9.84616 6.46154C9.84616 7.30769 9.01769 8 8 8C7.83679 8 7.68027 8.06483 7.56486 8.18024C7.44945 8.29565 7.38462 8.45217 7.38462 8.61538V9.23077C7.38462 9.39398 7.44945 9.5505 7.56486 9.66591C7.68027 9.78132 7.83679 9.84615 8 9.84615C8.16321 9.84615 8.31974 9.78132 8.43514 9.66591C8.55055 9.5505 8.61539 9.39398 8.61539 9.23077V9.17538C10.0185 8.91769 11.0769 7.79846 11.0769 6.46154C11.0769 4.93461 9.69692 3.69231 8 3.69231ZM16 8C16 9.58225 15.5308 11.129 14.6518 12.4446C13.7727 13.7602 12.5233 14.7855 11.0615 15.391C9.59966 15.9965 7.99113 16.155 6.43928 15.8463C4.88743 15.5376 3.46197 14.7757 2.34315 13.6569C1.22433 12.538 0.462403 11.1126 0.153721 9.56072C-0.15496 8.00887 0.00346628 6.40034 0.608967 4.93853C1.21447 3.47672 2.23985 2.22729 3.55544 1.34824C4.87103 0.469192 6.41775 0 8 0C10.121 0.00223986 12.1546 0.845814 13.6544 2.34562C15.1542 3.84542 15.9978 5.87895 16 8ZM14.7692 8C14.7692 6.66117 14.3722 5.35241 13.6284 4.23922C12.8846 3.12602 11.8274 2.25839 10.5905 1.74605C9.35356 1.2337 7.99249 1.09965 6.67939 1.36084C5.36629 1.62203 4.16013 2.26674 3.21343 3.21343C2.26674 4.16012 1.62203 5.36629 1.36084 6.67939C1.09965 7.99249 1.2337 9.35356 1.74605 10.5905C2.2584 11.8274 3.12603 12.8846 4.23922 13.6284C5.35241 14.3722 6.66117 14.7692 8 14.7692C9.79469 14.7672 11.5153 14.0534 12.7843 12.7843C14.0534 11.5153 14.7672 9.79468 14.7692 8Z"/>
|
|
765
|
-
</svg>
|
|
766
|
-
`, y = `<svg fill="currentColor" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
767
|
-
<path d="M15.7656 14.6336C15.8399 14.708 15.8988 14.7962 15.9391 14.8933C15.9793 14.9904 16 15.0945 16 15.1996C16 15.3047 15.9793 15.4088 15.9391 15.5059C15.8988 15.603 15.8399 15.6912 15.7656 15.7656C15.6912 15.8399 15.603 15.8988 15.5059 15.9391C15.4088 15.9793 15.3047 16 15.1996 16C15.0945 16 14.9904 15.9793 14.8933 15.9391C14.7962 15.8988 14.708 15.8399 14.6336 15.7656L8 9.13094L1.36637 15.7656C1.21626 15.9157 1.01268 16 0.8004 16C0.588121 16 0.384536 15.9157 0.234432 15.7656C0.0843276 15.6155 4.18453e-09 15.4119 0 15.1996C-4.18453e-09 14.9873 0.0843276 14.7837 0.234432 14.6336L6.86906 8L0.234432 1.36637C0.0843276 1.21626 0 1.01268 0 0.8004C0 0.588121 0.0843276 0.384536 0.234432 0.234432C0.384536 0.0843276 0.588121 0 0.8004 0C1.01268 0 1.21626 0.0843276 1.36637 0.234432L8 6.86906L14.6336 0.234432C14.7837 0.0843276 14.9873 -4.18453e-09 15.1996 0C15.4119 4.18453e-09 15.6155 0.0843276 15.7656 0.234432C15.9157 0.384536 16 0.588121 16 0.8004C16 1.01268 15.9157 1.21626 15.7656 1.36637L9.13094 8L15.7656 14.6336Z"/>
|
|
768
|
-
</svg>
|
|
769
|
-
`, s = class s extends g {
|
|
770
|
-
constructor() {
|
|
771
|
-
super(...arguments), this.closeButtonText = "close", this.closeButtonIcon = "close", this.mapStatusToIconModal = (e) => {
|
|
772
|
-
switch (e) {
|
|
773
|
-
case "error":
|
|
774
|
-
return i`<cre8-icon class="cre8-modal-icon" svg=${C} aria-hidden='true'></cre8-icon>`;
|
|
775
|
-
case "success":
|
|
776
|
-
return i`<cre8-icon class="cre8-modal-icon" svg=${w} aria-hidden='true'></cre8-icon>`;
|
|
777
|
-
case "warning":
|
|
778
|
-
return i`<cre8-icon class="cre8-modal-icon" svg=${f} aria-hidden='true'></cre8-icon>`;
|
|
779
|
-
case "help":
|
|
780
|
-
return i`<cre8-icon class="cre8-modal-icon" svg=${v} aria-hidden='true'></cre8-icon>`;
|
|
781
|
-
case "info":
|
|
782
|
-
return i`<cre8-icon class="cre8-modal-icon" svg=${x} aria-hidden='true'></cre8-icon>`;
|
|
783
|
-
default:
|
|
784
|
-
return null;
|
|
785
|
-
}
|
|
786
|
-
};
|
|
787
|
-
}
|
|
788
|
-
/**
|
|
789
|
-
* Handle keydown
|
|
790
|
-
* 1) Close the modal when escape is hit when the user is focused within the modal
|
|
791
|
-
*/
|
|
792
|
-
handleKeydown(e) {
|
|
793
|
-
e.code === "Escape" && !this.notDismissible && this.handleCloseModal();
|
|
794
|
-
}
|
|
795
|
-
/**
|
|
796
|
-
* Handle on close
|
|
797
|
-
* 1) On close, set the modal to not active and dispatch event telling the parent the modal was closed.
|
|
798
|
-
*/
|
|
799
|
-
handleCloseModal() {
|
|
800
|
-
this.isActive = !1, this.dispatch({
|
|
801
|
-
eventName: "close-modal",
|
|
802
|
-
detailObj: {
|
|
803
|
-
isActive: this.isActive
|
|
804
|
-
}
|
|
805
|
-
});
|
|
806
|
-
}
|
|
807
|
-
/**
|
|
808
|
-
* Handle "click outside"
|
|
809
|
-
* 1) onClick of the area around the modal window, close the modal.
|
|
810
|
-
*/
|
|
811
|
-
handleOnClickOutside(e) {
|
|
812
|
-
const o = e.target;
|
|
813
|
-
this.isActive && this._modalWindow && o.classList.contains("cre8-c-modal") && !this.notDismissible && this.handleCloseModal();
|
|
814
|
-
}
|
|
815
|
-
/**
|
|
816
|
-
* Lifecycle method to focus on modal
|
|
817
|
-
* 1) If there is a changed property, and this.isActive === true, then focus on the modal window.
|
|
818
|
-
* 2) Disable the body from scrolling behind while the modal is open.
|
|
819
|
-
*/
|
|
820
|
-
updated(e) {
|
|
821
|
-
if (this.isActive === !0 && setTimeout(() => {
|
|
822
|
-
this._modalWindow.focus();
|
|
823
|
-
}, 200), e.has("isActive")) {
|
|
824
|
-
const o = document.querySelector("body");
|
|
825
|
-
this.isActive ? o.style.overflow = "hidden" : o.style.removeProperty("overflow");
|
|
115
|
+
/**
|
|
116
|
+
* Lifecycle method on removal from the DOM
|
|
117
|
+
* Removed body overflow and handle close (isActive set to false)
|
|
118
|
+
*/
|
|
119
|
+
disconnectedCallback() {
|
|
120
|
+
this.isActive = false;
|
|
121
|
+
const body = document.querySelector('body');
|
|
122
|
+
body.style.removeProperty('overflow');
|
|
826
123
|
}
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
"cre8-c-modal--error": this.status === "error",
|
|
839
|
-
"cre8-c-modal--warning": this.status === "warning",
|
|
840
|
-
"cre8-c-modal--success": this.status === "success",
|
|
841
|
-
"cre8-c-modal--info": this.status === "info",
|
|
842
|
-
"cre8-c-modal--help": this.status === "help"
|
|
843
|
-
});
|
|
844
|
-
return i`
|
|
845
|
-
<div class="${e}" @click="${this.handleOnClickOutside}" @keydown=${this.handleKeydown}>
|
|
124
|
+
render() {
|
|
125
|
+
const componentClassNames = this.componentClassNames('cre8-c-modal', {
|
|
126
|
+
'cre8-is-active': this.isActive,
|
|
127
|
+
'cre8-c-modal--error': this.status === 'error',
|
|
128
|
+
'cre8-c-modal--warning': this.status === 'warning',
|
|
129
|
+
'cre8-c-modal--success': this.status === 'success',
|
|
130
|
+
'cre8-c-modal--info': this.status === 'info',
|
|
131
|
+
'cre8-c-modal--help': this.status === 'help',
|
|
132
|
+
});
|
|
133
|
+
return html `
|
|
134
|
+
<div class="${componentClassNames}" @click="${this.handleOnClickOutside}" @keydown=${this.handleKeydown}>
|
|
846
135
|
<focus-trap class="cre8-c-modal__focus-trap" ?inactive=${!this.isActive}>
|
|
847
136
|
<div class="cre8-c-modal__window" role="dialog" aria-label=${this.ariaLabel} tabindex=${this.isActive ? 0 : -1}>
|
|
848
137
|
<div class="cre8-c-modal__header">
|
|
849
|
-
${this.status
|
|
138
|
+
${this.status
|
|
139
|
+
? html `<div class="cre8-c-modal__header-inner">
|
|
850
140
|
${this.mapStatusToIconModal(this.status)}
|
|
851
|
-
<cre8-heading type="title-large" ?brandColor=${
|
|
852
|
-
</div>`
|
|
853
|
-
|
|
141
|
+
<cre8-heading type="title-large" ?brandColor=${true}>${this.utilityModalTitle}</cre8-heading>
|
|
142
|
+
</div>`
|
|
143
|
+
: html `<slot name="header"></slot>`}
|
|
144
|
+
${!this.notDismissible
|
|
145
|
+
? html `<cre8-button
|
|
854
146
|
class="cre8-c-modal__close-button"
|
|
855
147
|
variant="tertiary"
|
|
856
|
-
svg=${
|
|
148
|
+
svg=${svgClose}
|
|
857
149
|
iconPosition="after"
|
|
858
150
|
?inverted=${!this.status}
|
|
859
151
|
@click=${this.handleCloseModal}
|
|
860
|
-
></cre8-button>`
|
|
152
|
+
></cre8-button>`
|
|
153
|
+
: ''}
|
|
861
154
|
</div>
|
|
862
155
|
<div class="cre8-c-modal__body">
|
|
863
156
|
<slot></slot>
|
|
864
157
|
</div>
|
|
865
|
-
${this.slotNotEmpty(
|
|
158
|
+
${this.slotNotEmpty('footer') && html `<div class="cre8-c-modal__footer"><slot name="footer"></slot></div>`}
|
|
866
159
|
</div>
|
|
867
160
|
</focus-trap>
|
|
868
161
|
</div>
|
|
869
162
|
`;
|
|
870
|
-
|
|
871
|
-
}
|
|
872
|
-
|
|
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
|
-
customElements.
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
};
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
Cre8Modal.styles = [styles];
|
|
166
|
+
__decorate([
|
|
167
|
+
query('.cre8-c-modal__window')
|
|
168
|
+
], Cre8Modal.prototype, "_modalWindow", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
property({ type: Boolean, reflect: true })
|
|
171
|
+
], Cre8Modal.prototype, "isActive", void 0);
|
|
172
|
+
__decorate([
|
|
173
|
+
property()
|
|
174
|
+
], Cre8Modal.prototype, "status", void 0);
|
|
175
|
+
__decorate([
|
|
176
|
+
property()
|
|
177
|
+
], Cre8Modal.prototype, "utilityModalTitle", void 0);
|
|
178
|
+
__decorate([
|
|
179
|
+
property({ type: Boolean, reflect: true })
|
|
180
|
+
], Cre8Modal.prototype, "notDismissible", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
property()
|
|
183
|
+
], Cre8Modal.prototype, "closeButtonText", void 0);
|
|
184
|
+
__decorate([
|
|
185
|
+
property()
|
|
186
|
+
], Cre8Modal.prototype, "closeButtonIcon", void 0);
|
|
187
|
+
__decorate([
|
|
188
|
+
property()
|
|
189
|
+
], Cre8Modal.prototype, "ariaLabel", void 0);
|
|
190
|
+
if (customElements.get('cre8-modal') === undefined) {
|
|
191
|
+
customElements.define('cre8-modal', Cre8Modal);
|
|
192
|
+
}
|
|
193
|
+
//# sourceMappingURL=modal.js.map
|