@tmorrow/cre8-wc 1.0.14
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/LICENSE +28 -0
- package/README.md +5 -0
- package/cdn/cre8-wc.esm.js +24106 -0
- package/cdn/cre8-wc.esm.js.map +1 -0
- package/cdn/cre8-wc.min.js +10029 -0
- package/cdn/cre8-wc.min.js.map +1 -0
- package/dist/Image.png +0 -0
- package/dist/cre8.png +0 -0
- package/dist/cre8.svg +6 -0
- package/dist/favicon.svg +7 -0
- package/dist/index.html +173 -0
- package/dist/index.json +1 -0
- package/dist/leaf.png +0 -0
- package/dist/leafDS.png +0 -0
- package/dist/leafLogo.svg +1 -0
- package/dist/project.json +1 -0
- package/dist/sb-addons/a11y-1/manager-bundle.js +3 -0
- package/dist/sb-addons/a11y-1/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/essentials-actions-3/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/essentials-backgrounds-4/manager-bundle.js +12 -0
- package/dist/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/essentials-controls-2/manager-bundle.js +62 -0
- package/dist/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt +18 -0
- package/dist/sb-addons/essentials-measure-7/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/essentials-outline-8/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/essentials-toolbars-6/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/essentials-viewport-5/manager-bundle.js +3 -0
- package/dist/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/etchteam-css-variables-theme-0/manager-bundle.js +3 -0
- package/dist/sb-addons/etchteam-css-variables-theme-0/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/storybook-10/manager-bundle.js +9 -0
- package/dist/sb-addons/storybook-10/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/sb-addons/whitespace-html-esm-preset-9/manager-bundle.js +194 -0
- package/dist/sb-addons/whitespace-html-esm-preset-9/manager-bundle.js.LEGAL.txt +20 -0
- package/dist/sb-common-assets/fonts.css +31 -0
- package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/dist/sb-manager/WithTooltip-V3YHNWJZ-MXTFSDU5.js +1 -0
- package/dist/sb-manager/chunk-5QAFKPS7.js +7 -0
- package/dist/sb-manager/chunk-7PRFHFSS.js +9 -0
- package/dist/sb-manager/chunk-XE6LDGTE.js +406 -0
- package/dist/sb-manager/chunk-YDUB7CS6.js +348 -0
- package/dist/sb-manager/chunk-ZEU7PDD3.js +1 -0
- package/dist/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +156 -0
- package/dist/sb-manager/globals-module-info.js +1 -0
- package/dist/sb-manager/globals.js +1 -0
- package/dist/sb-manager/index.js +1 -0
- package/dist/sb-manager/runtime.js +1 -0
- package/dist/sb-manager/syntaxhighlighter-MJWPISIS-JOSCT6CQ.js +1 -0
- package/dist/sb-preview/globals.js +1 -0
- package/dist/sb-preview/runtime.js +112 -0
- package/dist/stories.json +1 -0
- package/lib/cdn-entry.d.ts +106 -0
- package/lib/cdn-entry.d.ts.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.styles.d.ts +3 -0
- package/lib/components/accordion/accordion.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/accordion-item/accordion-item.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/alert/alert.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/badge/badge.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/band/band.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/breadcrumbs/breadcrumbs.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/breadcrumbs-item/breadcrumbs-item.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/button/button.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/button-group/button-group.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/card/card.styles.d.ts.map +1 -0
- package/lib/components/chart/chart.d.ts +18 -0
- package/lib/components/chart/chart.d.ts.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/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.styles.d.ts +3 -0
- package/lib/components/checkbox-field/checkbox-field.styles.d.ts.map +1 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.d.ts +177 -0
- package/lib/components/checkbox-field-item/checkbox-field-item.d.ts.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/components/cre8-element/components/cre8-element.js +58 -0
- package/lib/components/components/cre8-form-element/components/cre8-form-element.js +47 -0
- package/lib/components/cre8-element.d.ts +54 -0
- package/lib/components/cre8-element.d.ts.map +1 -0
- package/lib/components/cre8-field/cre8-field.js +10 -0
- package/lib/components/cre8-form-element.d.ts +62 -0
- package/lib/components/cre8-form-element.d.ts.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.styles.d.ts +3 -0
- package/lib/components/danger-button/danger-button.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/date-picker/calendar/calendar.styles.d.ts.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.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-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.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-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.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/date-picker.d.ts +40 -0
- package/lib/components/date-picker/date-picker.d.ts.map +1 -0
- package/lib/components/date-picker/date-picker.js +9 -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/divider/divider.d.ts +29 -0
- package/lib/components/divider/divider.d.ts.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/dropdown/dropdown.d.ts +35 -0
- package/lib/components/dropdown/dropdown.d.ts.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-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.styles.d.ts +3 -0
- package/lib/components/dropdown-item/dropdown-item.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/feature/feature.styles.d.ts.map +1 -0
- package/lib/components/field/field.d.ts +210 -0
- package/lib/components/field/field.d.ts.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-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.styles.d.ts +3 -0
- package/lib/components/field-note/field-note.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/footer/footer.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/global-nav/global-nav.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/global-nav-item/global-nav-item.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/grid/grid.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/grid-item/grid-item.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/header/header.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/heading/heading.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/hero/hero.styles.d.ts.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 +9 -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/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.styles.d.ts +3 -0
- package/lib/components/inline-alert/inline-alert.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/layout/layout.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/layout-container/layout-container.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/layout-section/layout-section.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/linelength-container/linelength-container.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/link/link.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/link-list/link-list.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/link-list-item/link-list-item.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/list/list.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/list-item/list-item.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/loading-spinner/loading-spinner.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/logo/logo.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/main/main.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/modal/modal.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/multi-select/multi-select.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/nav-container/nav-container.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/page-header/page-header.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/pagination/page-counter/page-counter.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/pagination/pagination.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/percent-bar/percent-bar.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/popover/popover.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/primary-nav/primary-nav.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/primary-nav-item/primary-nav-item.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/progress-meter/progress-meter.styles.d.ts.map +1 -0
- package/lib/components/progress-steps/progress-steps.d.ts +3 -0
- package/lib/components/progress-steps/progress-steps.d.ts.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-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.styles.d.ts +3 -0
- package/lib/components/progress-steps-item/progress-steps-item.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/radio-field/radio-field.styles.d.ts.map +1 -0
- package/lib/components/radio-field-item/radio-field-item.d.ts +162 -0
- package/lib/components/radio-field-item/radio-field-item.d.ts.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/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.styles.d.ts +3 -0
- package/lib/components/remove-tag/remove-tag.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/section/section.styles.d.ts.map +1 -0
- package/lib/components/select/select.d.ts +173 -0
- package/lib/components/select/select.d.ts.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-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-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.d.ts +163 -0
- package/lib/components/select-tile/select-tile.d.ts.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-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.styles.d.ts +3 -0
- package/lib/components/select-tile-list/select-tile-list.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/skeleton-loader/skeleton-loader.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/split-button/split-button.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/submenu/submenu.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/submenu-item/submenu-item.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/tab/tab.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/tab-panel/tab-panel.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/table/table.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/table-body/table-body.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/table-cell/table-cell.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/table-header/table-header.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/table-header-cell/table-header-cell.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/table-object/table-object.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/table-row/table-row.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/tabs/tabs.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/tag/tag.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/tag-list/tag-list.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/tertiary-nav/tertiary-nav.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/tertiary-nav-item/tertiary-nav-item.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/text-link/text-link.styles.d.ts.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.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.d.ts +44 -0
- package/lib/components/text-passage/text-passage.d.ts.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/tooltip/tooltip.d.ts +171 -0
- package/lib/components/tooltip/tooltip.d.ts.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/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.styles.d.ts +3 -0
- package/lib/components/utility-nav/utility-nav.styles.d.ts.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.styles.d.ts +3 -0
- package/lib/components/utility-nav-item/utility-nav-item.styles.d.ts.map +1 -0
- package/lib/date-picker-C8EEd7H8.js +2366 -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/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/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-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/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/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/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/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/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/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_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 copy/blue/_base.scss +142 -0
- package/lib/design-tokens/brands copy/blue/badge.scss +5 -0
- package/lib/design-tokens/brands copy/blue/bg.scss +35 -0
- package/lib/design-tokens/brands copy/blue/border-style.scss +5 -0
- package/lib/design-tokens/brands copy/blue/border.scss +21 -0
- package/lib/design-tokens/brands copy/blue/borderRadius.scss +15 -0
- package/lib/design-tokens/brands copy/blue/borderWidth.scss +11 -0
- package/lib/design-tokens/brands copy/blue/breakpoint.scss +9 -0
- package/lib/design-tokens/brands copy/blue/button.scss +225 -0
- package/lib/design-tokens/brands copy/blue/content.scss +29 -0
- package/lib/design-tokens/brands copy/blue/css/tokens_blue.module.d.ts +3 -0
- package/lib/design-tokens/brands copy/blue/css/tokens_blue.module.d.ts.map +1 -0
- package/lib/design-tokens/brands copy/blue/desktop-menu.scss +5 -0
- package/lib/design-tokens/brands copy/blue/fontFamilies.scss +5 -0
- package/lib/design-tokens/brands copy/blue/fontSize.scss +17 -0
- package/lib/design-tokens/brands copy/blue/fontWeights.scss +7 -0
- package/lib/design-tokens/brands copy/blue/footer.scss +9 -0
- package/lib/design-tokens/brands copy/blue/header.scss +81 -0
- package/lib/design-tokens/brands copy/blue/icon-size.scss +6 -0
- package/lib/design-tokens/brands copy/blue/letterSpacing.scss +9 -0
- package/lib/design-tokens/brands copy/blue/lineHeights.scss +15 -0
- package/lib/design-tokens/brands copy/blue/link.scss +4 -0
- package/lib/design-tokens/brands copy/blue/paragraphIndent.scss +4 -0
- package/lib/design-tokens/brands copy/blue/paragraphSpacing.scss +4 -0
- package/lib/design-tokens/brands copy/blue/progress-meter.scss +4 -0
- package/lib/design-tokens/brands copy/blue/shadow.scss +8 -0
- package/lib/design-tokens/brands copy/blue/spacing.scss +21 -0
- package/lib/design-tokens/brands copy/blue/textCase.scss +5 -0
- package/lib/design-tokens/brands copy/blue/textDecoration.scss +5 -0
- package/lib/design-tokens/brands copy/blue/tokens-all-blue.scss +628 -0
- package/lib/design-tokens/brands copy/blue/tokens-brand.scss +31 -0
- package/lib/design-tokens/brands copy/blue-v1/_base.scss +76 -0
- package/lib/design-tokens/brands copy/blue-v1/badge.scss +5 -0
- package/lib/design-tokens/brands copy/blue-v1/bg.scss +34 -0
- package/lib/design-tokens/brands copy/blue-v1/border-style.scss +5 -0
- package/lib/design-tokens/brands copy/blue-v1/border.scss +21 -0
- package/lib/design-tokens/brands copy/blue-v1/borderRadius.scss +15 -0
- package/lib/design-tokens/brands copy/blue-v1/borderWidth.scss +11 -0
- package/lib/design-tokens/brands copy/blue-v1/breakpoint.scss +9 -0
- package/lib/design-tokens/brands copy/blue-v1/button.scss +199 -0
- package/lib/design-tokens/brands copy/blue-v1/content.scss +29 -0
- package/lib/design-tokens/brands copy/blue-v1/desktop-menu.scss +5 -0
- package/lib/design-tokens/brands copy/blue-v1/fontFamilies.scss +5 -0
- package/lib/design-tokens/brands copy/blue-v1/fontSize.scss +17 -0
- package/lib/design-tokens/brands copy/blue-v1/fontWeights.scss +9 -0
- package/lib/design-tokens/brands copy/blue-v1/footer.scss +9 -0
- package/lib/design-tokens/brands copy/blue-v1/header.scss +79 -0
- package/lib/design-tokens/brands copy/blue-v1/icon-size.scss +6 -0
- package/lib/design-tokens/brands copy/blue-v1/letterSpacing.scss +9 -0
- package/lib/design-tokens/brands copy/blue-v1/lineHeights.scss +15 -0
- package/lib/design-tokens/brands copy/blue-v1/link.scss +4 -0
- package/lib/design-tokens/brands copy/blue-v1/paragraphIndent.scss +4 -0
- package/lib/design-tokens/brands copy/blue-v1/paragraphSpacing.scss +4 -0
- package/lib/design-tokens/brands copy/blue-v1/shadow.scss +8 -0
- package/lib/design-tokens/brands copy/blue-v1/spacing.scss +21 -0
- package/lib/design-tokens/brands copy/blue-v1/textCase.scss +5 -0
- package/lib/design-tokens/brands copy/blue-v1/textDecoration.scss +5 -0
- package/lib/design-tokens/brands copy/blue-v1/tokens-all-blue-v1.scss +534 -0
- package/lib/design-tokens/brands copy/blue-v1/tokens-brand.scss +30 -0
- package/lib/design-tokens/brands copy/cre8/_base.scss +157 -0
- package/lib/design-tokens/brands copy/cre8/badge.scss +5 -0
- package/lib/design-tokens/brands copy/cre8/bg.scss +34 -0
- package/lib/design-tokens/brands copy/cre8/border-style.scss +5 -0
- package/lib/design-tokens/brands copy/cre8/border.scss +18 -0
- package/lib/design-tokens/brands copy/cre8/borderRadius.scss +15 -0
- package/lib/design-tokens/brands copy/cre8/borderWidth.scss +11 -0
- package/lib/design-tokens/brands copy/cre8/breakpoint.scss +9 -0
- package/lib/design-tokens/brands copy/cre8/button.scss +211 -0
- package/lib/design-tokens/brands copy/cre8/content.scss +29 -0
- package/lib/design-tokens/brands copy/cre8/desktop-menu.scss +5 -0
- package/lib/design-tokens/brands copy/cre8/fontFamilies.scss +4 -0
- package/lib/design-tokens/brands copy/cre8/fontSize.scss +17 -0
- package/lib/design-tokens/brands copy/cre8/fontWeights.scss +7 -0
- package/lib/design-tokens/brands copy/cre8/footer.scss +8 -0
- package/lib/design-tokens/brands copy/cre8/header.scss +81 -0
- package/lib/design-tokens/brands copy/cre8/icon-size.scss +6 -0
- package/lib/design-tokens/brands copy/cre8/letterSpacing.scss +10 -0
- package/lib/design-tokens/brands copy/cre8/lineHeights.scss +22 -0
- package/lib/design-tokens/brands copy/cre8/link.scss +4 -0
- package/lib/design-tokens/brands copy/cre8/paragraphIndent.scss +4 -0
- package/lib/design-tokens/brands copy/cre8/paragraphSpacing.scss +4 -0
- package/lib/design-tokens/brands copy/cre8/progress-meter.scss +4 -0
- package/lib/design-tokens/brands copy/cre8/shadow.scss +8 -0
- package/lib/design-tokens/brands copy/cre8/spacing.scss +21 -0
- package/lib/design-tokens/brands copy/cre8/textCase.scss +5 -0
- package/lib/design-tokens/brands copy/cre8/textDecoration.scss +5 -0
- package/lib/design-tokens/brands copy/cre8/tokens-all-cre8.scss +631 -0
- package/lib/design-tokens/brands copy/cre8/tokens-brand.scss +31 -0
- package/lib/design-tokens/brands copy/femmecubator/base.scss +64 -0
- package/lib/design-tokens/brands copy/femmecubator/border.scss +15 -0
- package/lib/design-tokens/brands copy/femmecubator/color.scss +56 -0
- package/lib/design-tokens/brands copy/femmecubator/spacing.scss +13 -0
- package/lib/design-tokens/brands copy/femmecubator/tokens-all-femmecubator.scss +139 -0
- package/lib/design-tokens/brands copy/femmecubator/tokens-brand.scss +8 -0
- package/lib/design-tokens/brands copy/legacy/_base.scss +103 -0
- package/lib/design-tokens/brands copy/legacy/badge.scss +5 -0
- package/lib/design-tokens/brands copy/legacy/bg.scss +34 -0
- package/lib/design-tokens/brands copy/legacy/border-style.scss +5 -0
- package/lib/design-tokens/brands copy/legacy/border.scss +17 -0
- package/lib/design-tokens/brands copy/legacy/borderRadius.scss +15 -0
- package/lib/design-tokens/brands copy/legacy/borderWidth.scss +11 -0
- package/lib/design-tokens/brands copy/legacy/breakpoint.scss +9 -0
- package/lib/design-tokens/brands copy/legacy/button.scss +225 -0
- package/lib/design-tokens/brands copy/legacy/content.scss +29 -0
- package/lib/design-tokens/brands copy/legacy/desktop-menu.scss +5 -0
- package/lib/design-tokens/brands copy/legacy/fontFamilies.scss +4 -0
- package/lib/design-tokens/brands copy/legacy/fontSize.scss +17 -0
- package/lib/design-tokens/brands copy/legacy/fontWeights.scss +10 -0
- package/lib/design-tokens/brands copy/legacy/footer.scss +9 -0
- package/lib/design-tokens/brands copy/legacy/header.scss +81 -0
- package/lib/design-tokens/brands copy/legacy/icon-size.scss +6 -0
- package/lib/design-tokens/brands copy/legacy/letterSpacing.scss +9 -0
- package/lib/design-tokens/brands copy/legacy/lineHeights.scss +19 -0
- package/lib/design-tokens/brands copy/legacy/paragraphIndent.scss +4 -0
- package/lib/design-tokens/brands copy/legacy/paragraphSpacing.scss +4 -0
- package/lib/design-tokens/brands copy/legacy/progress-meter.scss +4 -0
- package/lib/design-tokens/brands copy/legacy/shadow.scss +8 -0
- package/lib/design-tokens/brands copy/legacy/spacing.scss +20 -0
- package/lib/design-tokens/brands copy/legacy/textCase.scss +5 -0
- package/lib/design-tokens/brands copy/legacy/textDecoration.scss +5 -0
- package/lib/design-tokens/brands copy/legacy/tokens-all-legacy.scss +588 -0
- package/lib/design-tokens/brands copy/legacy/tokens-brand.scss +30 -0
- package/lib/design-tokens/brands copy/marketing/_base.scss +137 -0
- package/lib/design-tokens/brands copy/marketing/asset.scss +7 -0
- package/lib/design-tokens/brands copy/marketing/badge.scss +5 -0
- package/lib/design-tokens/brands copy/marketing/bg.scss +35 -0
- package/lib/design-tokens/brands copy/marketing/border-style.scss +5 -0
- package/lib/design-tokens/brands copy/marketing/border.scss +21 -0
- package/lib/design-tokens/brands copy/marketing/borderRadius.scss +15 -0
- package/lib/design-tokens/brands copy/marketing/borderWidth.scss +11 -0
- package/lib/design-tokens/brands copy/marketing/breakpoint.scss +9 -0
- package/lib/design-tokens/brands copy/marketing/button.scss +225 -0
- package/lib/design-tokens/brands copy/marketing/content.scss +29 -0
- package/lib/design-tokens/brands copy/marketing/desktop-menu.scss +5 -0
- package/lib/design-tokens/brands copy/marketing/fontFamilies.scss +4 -0
- package/lib/design-tokens/brands copy/marketing/fontSize.scss +17 -0
- package/lib/design-tokens/brands copy/marketing/fontWeights.scss +7 -0
- package/lib/design-tokens/brands copy/marketing/footer.scss +9 -0
- package/lib/design-tokens/brands copy/marketing/header.scss +81 -0
- package/lib/design-tokens/brands copy/marketing/icon-size.scss +6 -0
- package/lib/design-tokens/brands copy/marketing/letterSpacing.scss +9 -0
- package/lib/design-tokens/brands copy/marketing/lineHeights.scss +22 -0
- package/lib/design-tokens/brands copy/marketing/link.scss +4 -0
- package/lib/design-tokens/brands copy/marketing/paragraphIndent.scss +4 -0
- package/lib/design-tokens/brands copy/marketing/paragraphSpacing.scss +4 -0
- package/lib/design-tokens/brands copy/marketing/progress-meter.scss +4 -0
- package/lib/design-tokens/brands copy/marketing/shadow.scss +8 -0
- package/lib/design-tokens/brands copy/marketing/spacing.scss +21 -0
- package/lib/design-tokens/brands copy/marketing/textCase.scss +5 -0
- package/lib/design-tokens/brands copy/marketing/textDecoration.scss +5 -0
- package/lib/design-tokens/brands copy/marketing/tokens-all-marketing.scss +633 -0
- package/lib/design-tokens/brands copy/marketing/tokens-brand.scss +32 -0
- package/lib/design-tokens/brands copy/minimalist/_base.scss +81 -0
- package/lib/design-tokens/brands copy/minimalist/asset.scss +6 -0
- package/lib/design-tokens/brands copy/minimalist/badge.scss +5 -0
- package/lib/design-tokens/brands copy/minimalist/bg.scss +34 -0
- package/lib/design-tokens/brands copy/minimalist/border-style.scss +5 -0
- package/lib/design-tokens/brands copy/minimalist/border.scss +17 -0
- package/lib/design-tokens/brands copy/minimalist/borderRadius.scss +15 -0
- package/lib/design-tokens/brands copy/minimalist/borderWidth.scss +11 -0
- package/lib/design-tokens/brands copy/minimalist/breakpoint.scss +9 -0
- package/lib/design-tokens/brands copy/minimalist/button.scss +225 -0
- package/lib/design-tokens/brands copy/minimalist/content.scss +29 -0
- package/lib/design-tokens/brands copy/minimalist/desktop-menu.scss +5 -0
- package/lib/design-tokens/brands copy/minimalist/fontFamilies.scss +4 -0
- package/lib/design-tokens/brands copy/minimalist/fontFamily.scss +4 -0
- package/lib/design-tokens/brands copy/minimalist/fontSize.scss +17 -0
- package/lib/design-tokens/brands copy/minimalist/fontWeights.scss +6 -0
- package/lib/design-tokens/brands copy/minimalist/footer.scss +9 -0
- package/lib/design-tokens/brands copy/minimalist/header.scss +81 -0
- package/lib/design-tokens/brands copy/minimalist/icon-size.scss +6 -0
- package/lib/design-tokens/brands copy/minimalist/letterSpacing.scss +9 -0
- package/lib/design-tokens/brands copy/minimalist/lineHeights.scss +20 -0
- package/lib/design-tokens/brands copy/minimalist/paragraphIndent.scss +4 -0
- package/lib/design-tokens/brands copy/minimalist/paragraphSpacing.scss +4 -0
- package/lib/design-tokens/brands copy/minimalist/progress-meter.scss +4 -0
- package/lib/design-tokens/brands copy/minimalist/shadow.scss +8 -0
- package/lib/design-tokens/brands copy/minimalist/spacing.scss +20 -0
- package/lib/design-tokens/brands copy/minimalist/textCase.scss +5 -0
- package/lib/design-tokens/brands copy/minimalist/textDecoration.scss +5 -0
- package/lib/design-tokens/brands copy/minimalist/tokens-all-minimalist.scss +567 -0
- package/lib/design-tokens/brands copy/minimalist/tokens-brand.scss +32 -0
- package/lib/design-tokens/core/scss/theming/animation.scss +152 -0
- package/lib/design-tokens/core/scss/theming/body.scss +29 -0
- package/lib/design-tokens/core/scss/theming/breakpoints.scss +21 -0
- package/lib/design-tokens/core/scss/theming/colors.scss +10 -0
- package/lib/design-tokens/core/scss/theming/component.scss +8 -0
- package/lib/design-tokens/core/scss/theming/display.scss +17 -0
- package/lib/design-tokens/core/scss/theming/functions.scss +4 -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.scss +7 -0
- package/lib/design-tokens/core/scss/theming/media.scss +8 -0
- package/lib/design-tokens/core/scss/theming/reset.scss +9 -0
- package/lib/design-tokens/core/scss/theming/spacing.scss +504 -0
- package/lib/design-tokens/core/scss/theming/typography-usage.scss +449 -0
- package/lib/design-tokens/core/scss/theming/variables.scss +407 -0
- package/lib/design-tokens/core/scss/theming/visibility.scss +122 -0
- package/lib/design-tokens/layouts/breakpoints.scss +9 -0
- package/lib/design-tokens/mixins/typography-usage.scss +452 -0
- package/lib/design-tokens/tokens_netflix.theme.d.ts +3 -0
- package/lib/design-tokens/tokens_netflix.theme.d.ts.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/spread.d.ts +10 -0
- package/lib/directives/spread.d.ts.map +1 -0
- package/lib/field-J4OEwkTq.js +315 -0
- package/lib/icon-ClNBixxp.js +707 -0
- package/lib/icons/add.svg +3 -0
- package/lib/icons/arrow-back.svg +10 -0
- package/lib/icons/arrow-down.svg +3 -0
- package/lib/icons/arrow-fat-up-fill.svg +1 -0
- package/lib/icons/arrow-forward.svg +10 -0
- package/lib/icons/arrow-left.svg +3 -0
- package/lib/icons/arrow-right.svg +3 -0
- package/lib/icons/arrow-up.svg +3 -0
- package/lib/icons/assistant.svg +3 -0
- package/lib/icons/attention.svg +3 -0
- package/lib/icons/bold-arrow-up.svg +5 -0
- package/lib/icons/calendar.svg +5 -0
- package/lib/icons/caret-down.svg +4 -0
- package/lib/icons/check-circle.svg +3 -0
- package/lib/icons/check.svg +3 -0
- package/lib/icons/close.svg +3 -0
- package/lib/icons/contacts.svg +3 -0
- package/lib/icons/cre8-icons.svg +358 -0
- package/lib/icons/delta-down.svg +3 -0
- package/lib/icons/delta-up.svg +3 -0
- package/lib/icons/download.svg +5 -0
- package/lib/icons/edit.svg +5 -0
- package/lib/icons/ellipsis.svg +3 -0
- package/lib/icons/email.svg +3 -0
- package/lib/icons/envelope.svg +3 -0
- package/lib/icons/error-alt copy.svg +1 -0
- package/lib/icons/error-alt.svg +1 -0
- package/lib/icons/error-round.svg +3 -0
- package/lib/icons/error.svg +3 -0
- package/lib/icons/express-scripts copy.svg +8 -0
- package/lib/icons/express-scripts.svg +8 -0
- package/lib/icons/external-file.svg +3 -0
- package/lib/icons/external.svg +5 -0
- package/lib/icons/facebook copy.svg +3 -0
- package/lib/icons/facebook.svg +3 -0
- package/lib/icons/find-drug.svg +3 -0
- package/lib/icons/globe.svg +3 -0
- package/lib/icons/hand-heart.svg +5 -0
- package/lib/icons/help.svg +3 -0
- package/lib/icons/icon1.svg +72 -0
- package/lib/icons/info.svg +3 -0
- package/lib/icons/instagram copy.svg +10 -0
- package/lib/icons/instagram.svg +10 -0
- package/lib/icons/keyboard-arrow-down.svg +3 -0
- package/lib/icons/keyboard-arrow-left.svg +3 -0
- package/lib/icons/keyboard-arrow-right.svg +3 -0
- package/lib/icons/keyboard-arrow-up.svg +3 -0
- package/lib/icons/language.svg +3 -0
- package/lib/icons/light-bulb.svg +8 -0
- package/lib/icons/link.svg +4 -0
- package/lib/icons/linkedin copy.svg +3 -0
- package/lib/icons/linkedin.svg +3 -0
- package/lib/icons/location-on.svg +3 -0
- package/lib/icons/menu.svg +5 -0
- package/lib/icons/minus.svg +6 -0
- package/lib/icons/neutral.svg +3 -0
- package/lib/icons/new-rx-icon.svg +15 -0
- package/lib/icons/new-rx.svg +15 -0
- package/lib/icons/notifications.svg +3 -0
- package/lib/icons/open copy.svg +3 -0
- package/lib/icons/open.svg +3 -0
- package/lib/icons/order-status.svg +5 -0
- package/lib/icons/pause copy.svg +3 -0
- package/lib/icons/pause.svg +3 -0
- package/lib/icons/payment.svg +4 -0
- package/lib/icons/people.svg +3 -0
- package/lib/icons/person-bubble copy.svg +9 -0
- package/lib/icons/person-bubble.svg +9 -0
- package/lib/icons/person.svg +3 -0
- package/lib/icons/pinterest copy.svg +3 -0
- package/lib/icons/pinterest.svg +3 -0
- package/lib/icons/play-arrow.svg +3 -0
- package/lib/icons/play-circle-outline.svg +10 -0
- package/lib/icons/products.svg +6 -0
- package/lib/icons/progress-spinner.svg +5 -0
- package/lib/icons/refresh.svg +5 -0
- package/lib/icons/replay.svg +3 -0
- package/lib/icons/rss-feed copy.svg +4 -0
- package/lib/icons/rss-feed.svg +4 -0
- package/lib/icons/rx copy.svg +3 -0
- package/lib/icons/rx.svg +3 -0
- package/lib/icons/scheduler.svg +3 -0
- package/lib/icons/search.svg +10 -0
- package/lib/icons/settings.svg +3 -0
- package/lib/icons/share.svg +3 -0
- package/lib/icons/shop.svg +3 -0
- package/lib/icons/site.svg +4 -0
- package/lib/icons/spinner.svg +5 -0
- package/lib/icons/square.svg +3 -0
- package/lib/icons/success.svg +3 -0
- package/lib/icons/swap copy.svg +3 -0
- package/lib/icons/swap.svg +3 -0
- package/lib/icons/thumb-up copy.svg +3 -0
- package/lib/icons/thumb-up.svg +3 -0
- package/lib/icons/trending-flat copy.svg +3 -0
- package/lib/icons/trending-flat.svg +3 -0
- package/lib/icons/trending-up copy.svg +3 -0
- package/lib/icons/trending-up.svg +3 -0
- package/lib/icons/twitter copy.svg +3 -0
- package/lib/icons/twitter.svg +3 -0
- package/lib/icons/vaccine.svg +10 -0
- package/lib/icons/warning.svg +3 -0
- package/lib/icons/wellness.svg +7 -0
- package/lib/index.d.ts +84 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +11685 -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/extract-tokens.d.ts +3 -0
- package/lib/scripts/extract-tokens.d.ts.map +1 -0
- package/lib/scripts/generateWesparkleThemes.d.ts +3 -0
- package/lib/scripts/generateWesparkleThemes.d.ts.map +1 -0
- package/lib/toBeAccessible.d.ts +9 -0
- package/lib/toBeAccessible.d.ts.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/story-helpers.d.ts +9 -0
- package/lib/utilities/story-helpers.d.ts.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.d.ts +3 -0
- package/lib/vite.config.d.ts.map +1 -0
- package/package.json +150 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { Cre8FormElement } from '../cre8-form-element';
|
|
2
|
+
import '../field-note/field-note';
|
|
3
|
+
export interface Cre8SelectOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number | string;
|
|
6
|
+
}
|
|
7
|
+
export interface Cre8SelectOptionGroup {
|
|
8
|
+
optGroupLabel: string;
|
|
9
|
+
options: Cre8SelectOption[];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The Select control is designed and built to be used for selecting between choices in a form.
|
|
13
|
+
* It is not a Dropdown control which is generally used for displaying lists of choices
|
|
14
|
+
* that act as links or actions, like filter options.
|
|
15
|
+
*
|
|
16
|
+
* Consider the use of a Select control carefully.
|
|
17
|
+
* When you have less than 5 options for the user to choose from,
|
|
18
|
+
* Radio or Checkbox inputs may be a better choice to display all of the options at once.
|
|
19
|
+
* Users have to slow down to scan a list with more than 15 options,
|
|
20
|
+
* so using an option group to give the options hierarchy may help users find their choice faster.
|
|
21
|
+
* Alternately, a text input field might be a more appropriate control to use when there are too many options,
|
|
22
|
+
* especially when used with typeahead/auto-complete.
|
|
23
|
+
*
|
|
24
|
+
* ## How to use
|
|
25
|
+
* 1. The collapsed default state always shows a default placeholder value or a selected value.
|
|
26
|
+
* 2. Sort list items in a logical order, such as grouping highly related options together,
|
|
27
|
+
* placing most common options first, using alphabetical or numeric orders or dates in chronological order.
|
|
28
|
+
* 3. A list that includes 6+ items should show a scrollbar.
|
|
29
|
+
* 4. Users should be able to use a keystroke to quickly jump
|
|
30
|
+
* to selecting an option that begins with the entered letter.
|
|
31
|
+
* 5. Utilize appropriate native controls for when a user is on a mobile device rather than our custom Select.
|
|
32
|
+
* 6. Adhere to our common form field conventions and always include a Label,
|
|
33
|
+
* provide short and clear error messages in context, avoid using the Read-only
|
|
34
|
+
* and Disabled states as much as possible, and utilize the info/formatting tip
|
|
35
|
+
* or helpful link rather than placeholder text.
|
|
36
|
+
*
|
|
37
|
+
* @slot fieldNote - Container for optional field note content
|
|
38
|
+
*/
|
|
39
|
+
export declare class Cre8Select extends Cre8FormElement {
|
|
40
|
+
readonly type = "select";
|
|
41
|
+
static styles: import("lit").CSSResult[];
|
|
42
|
+
/**
|
|
43
|
+
* A mix of Cre8SelectOption and Cre8SelectOptionGroup definitions:
|
|
44
|
+
* - Cre8SelectOption
|
|
45
|
+
* - label: option label text - `string`
|
|
46
|
+
* - value: option value - `number | string`
|
|
47
|
+
* - Cre8SelectOptionGroup
|
|
48
|
+
* - optGroupLabel: optgroup label text - `string`
|
|
49
|
+
* - options: Array of multiple Cre8SelectOption items - `Cre8SelectOption[]`
|
|
50
|
+
*/
|
|
51
|
+
items: Array<Cre8SelectOption | Cre8SelectOptionGroup>;
|
|
52
|
+
/**
|
|
53
|
+
* The required label that appears above the select
|
|
54
|
+
* @attr {string}
|
|
55
|
+
*/
|
|
56
|
+
label: string;
|
|
57
|
+
/**
|
|
58
|
+
* The name property on the select
|
|
59
|
+
* @attr {string}
|
|
60
|
+
*/
|
|
61
|
+
name?: string;
|
|
62
|
+
/**
|
|
63
|
+
* The unique id of the select
|
|
64
|
+
* @attr {string}
|
|
65
|
+
*/
|
|
66
|
+
fieldId?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Optional field note text can be added to provide additional field guidance.
|
|
69
|
+
* @attr {string}
|
|
70
|
+
*/
|
|
71
|
+
fieldNote?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Used to connect the field note in text field to the text menu for accessibility
|
|
74
|
+
* @attr {string}
|
|
75
|
+
*/
|
|
76
|
+
ariaDescribedBy?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Additional aria-describedby connection to id for additional success and error notes to be accessible
|
|
79
|
+
* @attr {string}
|
|
80
|
+
*/
|
|
81
|
+
validationAriaDescribedBy?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The required attribute on the select
|
|
84
|
+
* @attr {boolean}
|
|
85
|
+
*/
|
|
86
|
+
required?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* The disabled attribute on the select
|
|
89
|
+
* @attr {boolean}
|
|
90
|
+
*/
|
|
91
|
+
disabled?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Changes the component's treatment to represent an error state
|
|
94
|
+
* @attr {boolean}
|
|
95
|
+
*/
|
|
96
|
+
isError?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* The error field note that appears below the default field note
|
|
99
|
+
* @attr {string}
|
|
100
|
+
*/
|
|
101
|
+
errorNote?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Changes the component's treatment to represent a success state
|
|
104
|
+
* @attr {boolean}
|
|
105
|
+
*/
|
|
106
|
+
isSuccess?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* The success field note that appears below the default field note
|
|
109
|
+
* @attr {string}
|
|
110
|
+
*/
|
|
111
|
+
successNote?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Select input querySelector
|
|
114
|
+
*/
|
|
115
|
+
field: HTMLSelectElement;
|
|
116
|
+
/**
|
|
117
|
+
* Get all select option elements
|
|
118
|
+
*/
|
|
119
|
+
private _selectOptions;
|
|
120
|
+
/**
|
|
121
|
+
* Selected item value
|
|
122
|
+
*/
|
|
123
|
+
private selectedItem;
|
|
124
|
+
/**
|
|
125
|
+
* Initialize aria attributes
|
|
126
|
+
*/
|
|
127
|
+
private _initializeAria;
|
|
128
|
+
/**
|
|
129
|
+
* Aria describedby string based on field notes and error/success notes
|
|
130
|
+
* 1) If both validationAriaDescribedBy (error/success note) and field note exists,
|
|
131
|
+
* render both in the input's `aria-describedby` attribute
|
|
132
|
+
* 2) Otherwise, if only validationAriaDescribedBy exists, then render only that as
|
|
133
|
+
* the `aria-describedby` attribute (input without field note initially, but then error/success is added).
|
|
134
|
+
* 3) Otherwise, render only the `ariaDescribedBy` property (field note only)
|
|
135
|
+
*/
|
|
136
|
+
private _fieldNoteAria;
|
|
137
|
+
/**
|
|
138
|
+
* First updatedLifecycle
|
|
139
|
+
* 1) Get the option in the items array with selected set to true. Set that as the selected item
|
|
140
|
+
* 2) The default value is set to the `option` with the `selected` if one exists. Otherwise, use the
|
|
141
|
+
* select the first item value like the native select.
|
|
142
|
+
*/
|
|
143
|
+
firstUpdated(): void;
|
|
144
|
+
/**
|
|
145
|
+
* Set form data
|
|
146
|
+
* 1) Set the element internals to the selected item value if it exists,
|
|
147
|
+
* otherwise the default selected item is the first one
|
|
148
|
+
*/
|
|
149
|
+
private _setFormData;
|
|
150
|
+
/**
|
|
151
|
+
* Handle On Change
|
|
152
|
+
* 1. Set the value when the select is changed.
|
|
153
|
+
* 2. Fire the custom event with the current value.
|
|
154
|
+
*/
|
|
155
|
+
private _handleOnChange;
|
|
156
|
+
/**
|
|
157
|
+
* Render the select options
|
|
158
|
+
*/
|
|
159
|
+
private _renderSelectOptions;
|
|
160
|
+
/**
|
|
161
|
+
* Render the success or error field notes
|
|
162
|
+
* 1. If there is a successNote, then return the field note with the success message and state.
|
|
163
|
+
* 2. If there is a errorNote, then return the field note with the error message and state.
|
|
164
|
+
*/
|
|
165
|
+
private _renderSuccessErrorFieldNote;
|
|
166
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
167
|
+
}
|
|
168
|
+
declare global {
|
|
169
|
+
interface HTMLElementTagNameMap {
|
|
170
|
+
'cre8-select': Cre8Select;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
//# sourceMappingURL=select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../components/select/select.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,0BAA0B,CAAC;AAGlC,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,gBAAgB,EAAE,CAAC;CAC7B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,qBAAa,UAAW,SAAQ,eAAe;IAC3C,QAAQ,CAAC,IAAI,YAAY;IAEzB,MAAM,CAAC,MAAM,4BAAY;IAE3B;;;;;;;;OAQG;IAEC,KAAK,EAAE,KAAK,CAAC,gBAAgB,GAAC,qBAAqB,CAAC,CAAM;IAE9D;;;OAGG;IAEC,KAAK,EAAE,MAAM,CAAW;IAE5B;;;OAGG;IAEC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEpB;;;MAGE;IAEI,OAAO,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IAEC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IAEC,eAAe,CAAC,EAAE,MAAM,CAAC;IAE7B;;;OAGG;IAEC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IAEvC;;;OAGG;IAEC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IAEC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IAEC,OAAO,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IAEC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IAEC,SAAS,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IAEC,WAAW,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IAEC,KAAK,EAAG,iBAAiB,CAAC;IAG9B;;OAEG;IAEH,OAAO,CAAC,cAAc,CAAsB;IAG5C;;OAEG;IACH,OAAO,CAAC,YAAY,CAAS;IAE7B;;OAEG;IACH,OAAO,CAAC,eAAe;IAUvB;;;;;;;OAOG;IACH,OAAO,CAAC,cAAc;IAUtB;;;;;OAKG;IACH,YAAY;IAaV;;;;KAIC;IACH,OAAO,CAAC,YAAY;IAOpB;;;;OAIG;IACH,OAAO,CAAC,eAAe;IAmBvB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAc5B;;;;OAIG;IACH,OAAO,CAAC,4BAA4B;IA4BpC,MAAM;CAoCP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAC;KAC3B;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.styles.d.ts","sourceRoot":"","sources":["../../../components/select/select.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAoEX,CAAC;AACF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ReactiveController } from 'lit';
|
|
2
|
+
import { Cre8FormElement } from '../cre8-form-element';
|
|
3
|
+
type FormElement = Cre8FormElement & {
|
|
4
|
+
form: HTMLFormElement;
|
|
5
|
+
name?: string;
|
|
6
|
+
checked?: boolean;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* This Controller handles the special checkbox logic.
|
|
10
|
+
* This should be a lot simpler than the radio version.
|
|
11
|
+
*
|
|
12
|
+
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/checkbox_role
|
|
13
|
+
*/
|
|
14
|
+
export declare class SelectTileCheckboxController implements ReactiveController {
|
|
15
|
+
private host;
|
|
16
|
+
constructor(host: FormElement);
|
|
17
|
+
hostConnected(): void;
|
|
18
|
+
hostDisconnected(): void;
|
|
19
|
+
/**
|
|
20
|
+
* Handle clicking on the radio button
|
|
21
|
+
* @see _checkAndFocus
|
|
22
|
+
*/
|
|
23
|
+
private _clickHandler;
|
|
24
|
+
/**
|
|
25
|
+
* Set the element to `checked`
|
|
26
|
+
* 2) Set us to checked.
|
|
27
|
+
*/
|
|
28
|
+
private _checkAndFocus;
|
|
29
|
+
/**
|
|
30
|
+
* Handle keydown
|
|
31
|
+
*/
|
|
32
|
+
private _handleKeyDown;
|
|
33
|
+
/**
|
|
34
|
+
* Handle Enter and Space
|
|
35
|
+
* @see _checkAndFocus
|
|
36
|
+
*/
|
|
37
|
+
private _handleEnterSpace;
|
|
38
|
+
}
|
|
39
|
+
export default SelectTileCheckboxController;
|
|
40
|
+
//# sourceMappingURL=select-tile-checkbox-controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-tile-checkbox-controller.d.ts","sourceRoot":"","sources":["../../../components/select-tile/select-tile-checkbox-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,KAAK,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,KAAK,WAAW,GAAG,eAAe,GAAG;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAGjG;;;;;GAKG;AACH,qBAAa,4BAA6B,YAAW,kBAAkB;IACnE,OAAO,CAAC,IAAI,CAAc;gBAEd,IAAI,EAAE,WAAW;IAK7B,aAAa,IAAI,IAAI;IAQrB,gBAAgB,IAAI,IAAI;IAQ1B;;;OAGG;IACD,OAAO,CAAC,aAAa,CAGnB;IAEJ;;;OAGG;IACD,OAAO,CAAC,cAAc,CAIpB;IAEJ;;OAEG;IACD,OAAO,CAAC,cAAc,CAKpB;IAEJ;;;OAGG;IACD,OAAO,CAAC,iBAAiB,CAGvB;CACL;AAED,eAAe,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ReactiveController } from 'lit';
|
|
2
|
+
import { Cre8FormElement } from '../cre8-form-element';
|
|
3
|
+
type FormElement = Cre8FormElement & {
|
|
4
|
+
form: HTMLFormElement;
|
|
5
|
+
name?: string;
|
|
6
|
+
checked?: boolean;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* This Controller handles the special radio button logic.
|
|
10
|
+
*
|
|
11
|
+
* - Handle clicks and key presses, which involves
|
|
12
|
+
* - Unchecking other select-tile's when this one is checked, if they are in the same form.
|
|
13
|
+
* - Changing focus between `0` and `-1`, and moving focus correctly on key press
|
|
14
|
+
* - checking/unchecking on spacebar
|
|
15
|
+
*
|
|
16
|
+
* See also https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/radio_role
|
|
17
|
+
* and https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/radiogroup_role
|
|
18
|
+
*
|
|
19
|
+
* Also see https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-autonomous-drawbacks
|
|
20
|
+
*
|
|
21
|
+
* This started out as a copy of radio-field-item.ts.
|
|
22
|
+
*
|
|
23
|
+
* Part of the reason I extracted this was to see if I could share this logic with radio-field-item,
|
|
24
|
+
* but that would be separate refactor.
|
|
25
|
+
*
|
|
26
|
+
* It might also be good for the "checkbox" mode of select-tile.
|
|
27
|
+
*
|
|
28
|
+
* And it might also just be a cleaner separation of concerns.
|
|
29
|
+
*/
|
|
30
|
+
export declare class SelectTileRadioController implements ReactiveController {
|
|
31
|
+
private host;
|
|
32
|
+
constructor(host: FormElement);
|
|
33
|
+
hostConnected(): void;
|
|
34
|
+
hostDisconnected(): void;
|
|
35
|
+
hostUpdate(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Find all elements that are in the same "radio button group", following the HTML 5 spec,
|
|
38
|
+
* except that we're looking at `[role="radio"]` instead of `input[type="radio"]`.
|
|
39
|
+
*
|
|
40
|
+
* - They have the attribute role="radio" set
|
|
41
|
+
* - They have the same form owner, or both have no form owner
|
|
42
|
+
* - They're in the same tree (same document, don't look at shadow dom)
|
|
43
|
+
* - They both have non-empty name attributes, and the names are the same
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
findAllElementsInSameRadioButtonGroup({ excludeDisabled }?: {
|
|
47
|
+
excludeDisabled?: boolean;
|
|
48
|
+
}): Element[];
|
|
49
|
+
/**
|
|
50
|
+
* Remove checked
|
|
51
|
+
* 1) Reset the form field to not checked
|
|
52
|
+
* 2) Remove checked property from all items and set tabindex to -1
|
|
53
|
+
*/
|
|
54
|
+
removeChecked(): void;
|
|
55
|
+
/**
|
|
56
|
+
* Handle clicking on the radio button
|
|
57
|
+
* @see _checkAndFocus
|
|
58
|
+
*/
|
|
59
|
+
private _clickHandler;
|
|
60
|
+
/**
|
|
61
|
+
* Set the element to `checked`
|
|
62
|
+
* 1) Remove `checked` and set tabindex to -1 on all elements in our radio group
|
|
63
|
+
* 2) Set us to checked.
|
|
64
|
+
* 3) Set our tabindex to 0
|
|
65
|
+
*/
|
|
66
|
+
private _checkAndFocus;
|
|
67
|
+
/**
|
|
68
|
+
* Handle keydown
|
|
69
|
+
* 1) If left or up arrow key is struck and radio field item exists before current item,
|
|
70
|
+
* remove checked from all items and add it to the next item
|
|
71
|
+
* 2) If right or down arrow key is struck and radio field item exists after current item,
|
|
72
|
+
* remove checked from all items and add checked to the next item.
|
|
73
|
+
* Focus on this item and set tabindex for when focusing out of radio field and back onto checked item.
|
|
74
|
+
* 3) If the element is in focused, then for event emission the
|
|
75
|
+
* current focues element should be clicked to emit event.
|
|
76
|
+
* 4) If the Enter key is pressed, then check the radio if no other radio items are checked
|
|
77
|
+
*/
|
|
78
|
+
private _handleKeyDown;
|
|
79
|
+
private _handleArrowKeys;
|
|
80
|
+
/**
|
|
81
|
+
* Handle Enter and Space
|
|
82
|
+
* @see _checkAndFocus
|
|
83
|
+
*/
|
|
84
|
+
private _handleEnterSpace;
|
|
85
|
+
}
|
|
86
|
+
export default SelectTileRadioController;
|
|
87
|
+
//# sourceMappingURL=select-tile-radio-controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-tile-radio-controller.d.ts","sourceRoot":"","sources":["../../../components/select-tile/select-tile-radio-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,KAAK,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGvD,KAAK,WAAW,GAAG,eAAe,GAAG;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAcjG;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,yBAA0B,YAAW,kBAAkB;IAChE,OAAO,CAAC,IAAI,CAAc;gBAEd,IAAI,EAAE,WAAW;IAK7B,aAAa,IAAI,IAAI;IAUrB,gBAAgB,IAAI,IAAI;IASxB,UAAU,IAAI,IAAI;IAIlB;;;;;;;;;OASG;IACH,qCAAqC,CAAC,EAAE,eAAe,EAAE,GAAE;QAAE,eAAe,CAAC,EAAE,OAAO,CAAA;KAAM;IAqB/F;;;;QAII;IACD,aAAa;IAQf;;;OAGG;IACD,OAAO,CAAC,aAAa,CAGnB;IAEJ;;;;;OAKG;IACD,OAAO,CAAC,cAAc,CAUpB;IAEJ;;;;;;;;;;OAUG;IACD,OAAO,CAAC,cAAc,CASpB;IAEF,OAAO,CAAC,gBAAgB,CAmBtB;IAEJ;;;OAGG;IACD,OAAO,CAAC,iBAAiB,CAGvB;CACL;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { Cre8FormElement } from '../cre8-form-element';
|
|
3
|
+
import '../icon/icon';
|
|
4
|
+
/**
|
|
5
|
+
* The Select Tile component is a short block of content inside a visual
|
|
6
|
+
* container that can be used in place of checkboxes, radio buttons, and
|
|
7
|
+
* links. It allows you to add more descriptive and visually appealing
|
|
8
|
+
* content for these actions while letting you compare different choices
|
|
9
|
+
* either side-by-side or on top of each other.
|
|
10
|
+
*
|
|
11
|
+
* Typically you could use the "header" slot for an icon, and the "title"
|
|
12
|
+
* and "body" slots for a content title and body text below it.
|
|
13
|
+
*
|
|
14
|
+
* The css parts are shown here wrapped in ::part() because otherwise Storybook
|
|
15
|
+
* won't render them and the slots if they have the same name.
|
|
16
|
+
* See https://developer.mozilla.org/en-US/docs/Web/CSS/::part
|
|
17
|
+
*
|
|
18
|
+
* @fires change
|
|
19
|
+
* @fires input
|
|
20
|
+
* @slot "" - The default slot goes into the center, main part of the Select Tile.
|
|
21
|
+
* Consider using title and body instead.
|
|
22
|
+
* @slot "header" - The top or left part of the Select Tile
|
|
23
|
+
* @slot footer - The bottom or right part of the Select Tile
|
|
24
|
+
* @slot title - The title part of the Select Tile, use with body slot and
|
|
25
|
+
* instead of the default slot for appropriate typography.
|
|
26
|
+
* @slot "body" - The "body" part of the Select Tile, which appears under
|
|
27
|
+
* the title slot and receives apporpriate typography.
|
|
28
|
+
*
|
|
29
|
+
* @csspart ::part(select-tile) - The main wrapping element
|
|
30
|
+
* @csspart ::part(header) - The header element wrapping the left or top element
|
|
31
|
+
* @csspart ::part(footer) - The footer element wrapping the right element
|
|
32
|
+
* @csspart ::part(body) - The main body of the select-tile, wrapper around the default slot
|
|
33
|
+
* @csspart ::part(body-title) - The element that wraps the "title" slot
|
|
34
|
+
* @csspart ::part(body-body) - The element that wraps the "body" slot
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
export declare class Cre8SelectTile extends Cre8FormElement {
|
|
38
|
+
static shadowRootOptions: {
|
|
39
|
+
delegatesFocus: boolean;
|
|
40
|
+
clonable?: boolean;
|
|
41
|
+
customElementRegistry?: CustomElementRegistry;
|
|
42
|
+
mode: ShadowRootMode;
|
|
43
|
+
serializable?: boolean;
|
|
44
|
+
slotAssignment?: SlotAssignmentMode;
|
|
45
|
+
};
|
|
46
|
+
private _controller;
|
|
47
|
+
/**
|
|
48
|
+
* Should this Select Tile behave as a radio button or a checkbox?
|
|
49
|
+
*/
|
|
50
|
+
type: 'radio' | 'checkbox';
|
|
51
|
+
/**
|
|
52
|
+
* Get the radio field item input
|
|
53
|
+
*/
|
|
54
|
+
field: HTMLInputElement;
|
|
55
|
+
static styles: import("lit").CSSResult[];
|
|
56
|
+
/**
|
|
57
|
+
* Style variants
|
|
58
|
+
* - **bare** renders a select-tile without a border and without padding around the content
|
|
59
|
+
* - **horizontal** renders a select-tile with header, body, footer oriented in a row rather than a column
|
|
60
|
+
* - **horizontal-bare** renders a select-tile with header, body, footer
|
|
61
|
+
* oriented in a row rather than a column without a border and without padding around the content
|
|
62
|
+
*/
|
|
63
|
+
variant?: 'bare' | 'horizontal' | 'horizontal-bare';
|
|
64
|
+
/**
|
|
65
|
+
* Which breakpoint, if any, to switch to verticial.
|
|
66
|
+
* Only useful for horizontal variants. Defaults to 'sm'.
|
|
67
|
+
*/
|
|
68
|
+
variantBreakToVertical: 'sm' | 'sm-2' | 'md' | 'lg' | 'xl' | 'xxl' | 'none';
|
|
69
|
+
/**
|
|
70
|
+
* Where does the checkmark or radio button go?
|
|
71
|
+
* It disappears on 'none'. Only top-right is supported for vertical variants.
|
|
72
|
+
*/
|
|
73
|
+
checkPosition: 'left' | 'right' | 'top-right' | 'none';
|
|
74
|
+
/**
|
|
75
|
+
* In radio mode, whether to use the circle with the dot, or the rounded check.
|
|
76
|
+
*/
|
|
77
|
+
radioVariant: 'dot' | 'check';
|
|
78
|
+
/**
|
|
79
|
+
* Align variants
|
|
80
|
+
* <cre8-text-passage size="sm">
|
|
81
|
+
* <ul>
|
|
82
|
+
* <li>**center** renders a select-tile that has center aligned content/text</li>
|
|
83
|
+
* </ul>
|
|
84
|
+
* </cre8-text-passage>
|
|
85
|
+
*/
|
|
86
|
+
align?: 'center';
|
|
87
|
+
/**
|
|
88
|
+
* Error State
|
|
89
|
+
*/
|
|
90
|
+
isError?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Disabled State
|
|
93
|
+
*/
|
|
94
|
+
disabled?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Required attribute
|
|
97
|
+
*/
|
|
98
|
+
required?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Checked State.
|
|
101
|
+
* Note: the `checked` attribute sets the `defaultChecked` property, as well
|
|
102
|
+
* as sets the initial value for the `checked` property.
|
|
103
|
+
*/
|
|
104
|
+
checked?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* The default checked state when the element first renders or is reset.
|
|
107
|
+
*
|
|
108
|
+
* Note: the attribute is named `checked` and the property is
|
|
109
|
+
* named `defaultChecked`. This is the same as a regular radio button.
|
|
110
|
+
*/
|
|
111
|
+
defaultChecked: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Select Tile FieldId
|
|
114
|
+
*/
|
|
115
|
+
fieldId?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Name of the form control.
|
|
118
|
+
*/
|
|
119
|
+
name?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Radio item fieldnote aria describe by
|
|
122
|
+
*/
|
|
123
|
+
private ariaDescribedBy?;
|
|
124
|
+
/**
|
|
125
|
+
* Radio item fieldnote isSuccess
|
|
126
|
+
*/
|
|
127
|
+
isSuccess?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* The form associated with this field
|
|
130
|
+
*
|
|
131
|
+
* TOOD: maybe this goes on Cre8FormElement
|
|
132
|
+
*/
|
|
133
|
+
get form(): HTMLFormElement;
|
|
134
|
+
/**
|
|
135
|
+
* Connected callback lifecycle
|
|
136
|
+
* 1) Auto-generate the fieldId if a user doesn't provided so that the form field is accessible
|
|
137
|
+
* 2) Initialize the correct controller
|
|
138
|
+
*/
|
|
139
|
+
connectedCallback(): void;
|
|
140
|
+
/**
|
|
141
|
+
* Reset form callback
|
|
142
|
+
* 1) Remove the checked state from all radio elements
|
|
143
|
+
* 2) Set the checked state to the initial checked state
|
|
144
|
+
* 3) Set the radio field input checked attribute to the initial checked state
|
|
145
|
+
*/
|
|
146
|
+
formResetCallback(): void;
|
|
147
|
+
/**
|
|
148
|
+
* Whenever the "checked" property changes, update our form value, aria-checked,
|
|
149
|
+
* and the checked property of `this.field`.
|
|
150
|
+
*
|
|
151
|
+
*/
|
|
152
|
+
updated(changedProps: PropertyValues): void;
|
|
153
|
+
renderInput(): import("lit-html").TemplateResult<1>;
|
|
154
|
+
renderCheckboxIcon(): import("lit-html").TemplateResult<1>;
|
|
155
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
156
|
+
}
|
|
157
|
+
declare global {
|
|
158
|
+
interface HTMLElementTagNameMap {
|
|
159
|
+
'cre8-select-tile': Cre8SelectTile;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
export default Cre8SelectTile;
|
|
163
|
+
//# sourceMappingURL=select-tile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-tile.d.ts","sourceRoot":"","sources":["../../../components/select-tile/select-tile.ts"],"names":[],"mappings":"AACA,OAAO,EACS,cAAc,EAC7B,MAAM,KAAK,CAAC;AAKb,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,cAAc,CAAC;AAMlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCE;AACN,qBAAa,cAAe,SAAQ,eAAe;IAC/C,MAAM,CAAC,iBAAiB;;;;;;;MAA6D;IAErF,OAAO,CAAC,WAAW,CAAmF;IAEtG;;OAEG;IAEC,IAAI,EAAE,OAAO,GAAG,UAAU,CAAW;IAEzC;;OAEG;IAEC,KAAK,EAAG,gBAAgB,CAAC;IAE7B,MAAM,CAAC,MAAM,4BAAY;IAEzB;;;;;;OAMG;IAEC,OAAO,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,iBAAiB,CAAC;IAExD;;;OAGG;IAEC,sBAAsB,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAQ;IAEvF;;;OAGG;IAEC,aAAa,EAAE,MAAM,GAAG,OAAO,GAAG,WAAW,GAAG,MAAM,CAAW;IAErE;;OAEG;IAEC,YAAY,EAAE,KAAK,GAAG,OAAO,CAAS;IAE1C;;;;;;;OAOG;IAEC,KAAK,CAAC,EAAE,QAAQ,CAAC;IAErB;;OAEG;IAEC,OAAO,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IAEC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IAEC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;OAIG;IAEC,OAAO,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;;OAKG;IAEC,cAAc,EAAE,OAAO,CAAC;IAE5B;;OAEG;IAEC,OAAO,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IAEC,IAAI,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IAEH,OAAO,CAAC,eAAe,CAAC,CAAS;IAEjC;;OAEG;IAEC,SAAS,CAAC,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,IAAI,IAAI,oBAEP;IAED;;;;OAIG;IACH,iBAAiB;IAWjB;;;;;OAKG;IACH,iBAAiB,IAAI,IAAI;IAMzB;;;;OAIG;IACH,OAAO,CAAC,YAAY,EAAE,cAAc;IAwBpC,WAAW;IAgBX,kBAAkB;IASlB,MAAM;CA8DT;AAMD,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,kBAAkB,EAAE,cAAc,CAAC;KACtC;CACJ;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-tile.styles.d.ts","sourceRoot":"","sources":["../../../components/select-tile/select-tile.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAwaX,CAAC;AACF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Cre8Element } from '../cre8-element';
|
|
2
|
+
import '../field-note/field-note';
|
|
3
|
+
/**
|
|
4
|
+
* Select Tile List is a container design to hold multiple Select Tile Components.
|
|
5
|
+
*
|
|
6
|
+
* @slot "" - The default slot norminally contains multiple `<select-tile />` Components.
|
|
7
|
+
* @cssprop "--cre8-select-tile-list-item-width" - Width of each child. Not used for horizontal.
|
|
8
|
+
*/
|
|
9
|
+
export declare class Cre8SelectTileList extends Cre8Element {
|
|
10
|
+
static styles: import("lit").CSSResult[];
|
|
11
|
+
/**
|
|
12
|
+
* Whether to show the tiles side by side (columns) or stacked vertically (rows).
|
|
13
|
+
*/
|
|
14
|
+
variant: 'columns' | 'rows';
|
|
15
|
+
/**
|
|
16
|
+
* Select Tile container label
|
|
17
|
+
*/
|
|
18
|
+
label?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Select Tile container fieldnote
|
|
21
|
+
*/
|
|
22
|
+
fieldNote?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Select Tile container fieldnote aria describe by
|
|
25
|
+
*/
|
|
26
|
+
ariaDescribedBy?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Select Tile container fieldnote icon name
|
|
29
|
+
*/
|
|
30
|
+
fieldNoteIconName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Select Tile container fieldnote knockout
|
|
33
|
+
*/
|
|
34
|
+
fieldNoteKnockout?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Select Tile container fieldnote isSuccess
|
|
37
|
+
*/
|
|
38
|
+
fieldNoteIsSuccess?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Select Tile container fieldnote isError
|
|
41
|
+
*/
|
|
42
|
+
fieldNoteIsError?: boolean;
|
|
43
|
+
connectedCallback(): void;
|
|
44
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
45
|
+
}
|
|
46
|
+
declare global {
|
|
47
|
+
interface HTMLElementTagNameMap {
|
|
48
|
+
'cre8-select-tile-list': Cre8SelectTileList;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
export default Cre8SelectTileList;
|
|
52
|
+
//# sourceMappingURL=select-tile-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-tile-list.d.ts","sourceRoot":"","sources":["../../../components/select-tile-list/select-tile-list.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,0BAA0B,CAAC;AAGlC;;;;;GAKG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IAC/C,MAAM,CAAC,MAAM,4BAAY;IAE3B;;OAEG;IAEC,OAAO,EAAE,SAAS,GAAG,MAAM,CAAa;IAE5C;;OAEG;IAEC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IAEC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IAEC,eAAe,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IAEC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IAEC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IAEC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAEjC;;OAEG;IAEC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE/B,iBAAiB;IAOjB,MAAM;CA+BP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,uBAAuB,EAAE,kBAAkB,CAAC;KAC7C;CACF;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-tile-list.styles.d.ts","sourceRoot":"","sources":["../../../components/select-tile-list/select-tile-list.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAsCX,CAAC;AACF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Cre8Element } from '../cre8-element';
|
|
2
|
+
/**
|
|
3
|
+
* Skeleton Loader allows for the ability to create placeholder UI loading states.
|
|
4
|
+
* Developers are encouraged to pass into the Skeleton Loader their own parameters
|
|
5
|
+
* to create simple (or complex) loading screens.
|
|
6
|
+
*
|
|
7
|
+
* ## How to Use
|
|
8
|
+
* Skeleton states are simplified versions of components used on an initial page load
|
|
9
|
+
* to indicate that the information on the page has not fully loaded yet.
|
|
10
|
+
* They only appear for only a few seconds, disappearing once components and content populate the page.
|
|
11
|
+
* These loaders use motion to convey that the page is not stuck and that data is still being loaded.
|
|
12
|
+
* This can help to reduce user uncertainty. Skeleton objects should generally be visualized
|
|
13
|
+
* by simple primitives which mimic the original content in a recognizable way.
|
|
14
|
+
* It is recommended to use a more elaborate form if that is needed to make the component recognizable.
|
|
15
|
+
*
|
|
16
|
+
* Never represent toast notifications, overflow menus, dropdown items, modals, and loaders with skeleton states.
|
|
17
|
+
* Elements inside a modal may have a skeleton state, but the modal itself should not.
|
|
18
|
+
*
|
|
19
|
+
* **IMPORTANT!** This is not a loading element and will provide no value to a screen reader user,
|
|
20
|
+
* this is a decorative element only!
|
|
21
|
+
*/
|
|
22
|
+
export declare class Cre8SkeletonLoader extends Cre8Element {
|
|
23
|
+
static styles: import("lit").CSSResult[];
|
|
24
|
+
/**
|
|
25
|
+
* Style variant
|
|
26
|
+
* - **rectangle** renders a featureless rectangle as a placeholder for loading elements
|
|
27
|
+
* - **square** renders a featureless square as a placeholder for loading elements
|
|
28
|
+
* - **circle** renders a featureless circle as a placeholder for loading elements
|
|
29
|
+
* @type {"rectangle" | "square" | "circle"}
|
|
30
|
+
* @attr {string}
|
|
31
|
+
*/
|
|
32
|
+
variant?: 'rectangle' | 'square' | 'circle';
|
|
33
|
+
/**
|
|
34
|
+
* Height inline style
|
|
35
|
+
* 1. Used to set a height on the skeleton if specific size is needed
|
|
36
|
+
* @attr {string}
|
|
37
|
+
*/
|
|
38
|
+
height?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Width inline style
|
|
41
|
+
* 1. Used to set a width on the skeleton if specific size is needed
|
|
42
|
+
* @attr {string}
|
|
43
|
+
*/
|
|
44
|
+
width?: string;
|
|
45
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
46
|
+
}
|
|
47
|
+
declare global {
|
|
48
|
+
interface HTMLElementTagNameMap {
|
|
49
|
+
'cre8-skeleton-loader': Cre8SkeletonLoader;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export default Cre8SkeletonLoader;
|
|
53
|
+
//# sourceMappingURL=skeleton-loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton-loader.d.ts","sourceRoot":"","sources":["../../../components/skeleton-loader/skeleton-loader.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,qBAAa,kBAAmB,SAAQ,WAAW;IAC/C,MAAM,CAAC,MAAM,4BAAY;IAE7B;;;;;;;OAOG;IAEC,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAAe;IAE9D;;;;OAIG;IAEC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IAEC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEnB,MAAM;CAcL;AAMD,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,sBAAsB,EAAE,kBAAkB,CAAC;KAC9C;CACJ;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton-loader.styles.d.ts","sourceRoot":"","sources":["../../../components/skeleton-loader/skeleton-loader.styles.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,MAAM,yBAsDX,CAAC;AACF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Cre8Element } from '../cre8-element';
|
|
2
|
+
import '../button/button';
|
|
3
|
+
/**
|
|
4
|
+
* @slot - The component content , this will consist of the dropdown when the user clicks the caret
|
|
5
|
+
*/
|
|
6
|
+
export declare class Cre8SplitButton extends Cre8Element {
|
|
7
|
+
static styles: import("lit").CSSResult[];
|
|
8
|
+
dropdownOpen: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Size variant
|
|
12
|
+
* <cre8-text-passage size="sm">
|
|
13
|
+
* <ul>
|
|
14
|
+
* <li>**sm** shrinks the button typography and overall size</li>
|
|
15
|
+
* <li>**lg** increases the button typography size and overall size</li>
|
|
16
|
+
* </ul>
|
|
17
|
+
* </cre8-text-passage>
|
|
18
|
+
*/
|
|
19
|
+
size?: 'sm' | 'lg';
|
|
20
|
+
/**
|
|
21
|
+
* Display text on the button
|
|
22
|
+
*/
|
|
23
|
+
buttonText: string;
|
|
24
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
25
|
+
private _textClick;
|
|
26
|
+
private _dropdownClick;
|
|
27
|
+
}
|
|
28
|
+
declare global {
|
|
29
|
+
interface HTMLElementTagNameMap {
|
|
30
|
+
'cre8-split-button': Cre8SplitButton;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export default Cre8SplitButton;
|
|
34
|
+
//# sourceMappingURL=split-button.d.ts.map
|