@ukic/web-components 2.35.2 → 3.0.0-alpha.10
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/README.md +0 -4
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-6f6991cb.js → helpers-eca4c27e.js} +70 -26
- package/dist/cjs/helpers-eca4c27e.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +14 -15
- package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +7 -8
- package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +8 -9
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +15 -16
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +22 -51
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +26 -14
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +53 -8
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +59 -53
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +150 -0
- package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +21 -10
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +8 -16
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +22 -23
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js +32 -0
- package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-data-row.cjs.entry.js +12 -12
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +14 -105
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +73 -10
- package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +9 -8
- package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +12 -14
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +11 -12
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +11 -13
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +12 -15
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +15 -9
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +478 -201
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +26 -31
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +22 -15
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +2 -3
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +12 -13
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +12 -10
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +14 -14
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +11 -10
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +10 -10
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +8 -12
- package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +51 -46
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +23 -4
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +32 -18
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +34 -40
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +56 -57
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +194 -81
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +19 -22
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +5 -6
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +8 -16
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +41 -46
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +27 -18
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +17 -18
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +34 -28
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +9 -11
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +12 -11
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +10 -9
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +86 -77
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +45 -22
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js +0 -7
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +83 -36
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +63 -30
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +64 -33
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +17 -12
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +9 -8
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/index-f982899d.js +16 -16
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/ag-theme-icds.css +32 -31
- package/dist/collection/collection-manifest.json +4 -4
- package/dist/collection/components/ic-accordion/ic-accordion.css +23 -19
- package/dist/collection/components/ic-accordion/ic-accordion.js +31 -34
- package/dist/collection/components/ic-accordion/ic-accordion.js.map +1 -1
- package/dist/collection/components/ic-accordion/ic-accordion.stories.js +52 -76
- package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js +3 -3
- package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js.map +1 -1
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.css +5 -11
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +27 -27
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js +9 -9
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js.map +1 -1
- package/dist/collection/components/ic-alert/ic-alert.css +34 -18
- package/dist/collection/components/ic-alert/ic-alert.js +49 -42
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-alert/ic-alert.stories.js +30 -16
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +1 -1
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +22 -59
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +38 -14
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +23 -10
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.css +65 -41
- package/dist/collection/components/ic-badge/ic-badge.js +51 -99
- package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.stories.js +50 -40
- package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js +40 -50
- package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +20 -10
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +104 -34
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +48 -4
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.css +7 -5
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +66 -33
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.stories.js +60 -200
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +3 -3
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.css +730 -432
- package/dist/collection/components/ic-button/ic-button.js +72 -59
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.stories.js +1246 -1256
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +9 -9
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -1
- package/dist/collection/components/{ic-card/ic-card.css → ic-card-vertical/ic-card-vertical.css} +99 -109
- package/dist/collection/components/{ic-card/ic-card.js → ic-card-vertical/ic-card-vertical.js} +65 -39
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.js.map +1 -0
- package/dist/collection/components/{ic-card/ic-card.stories.js → ic-card-vertical/ic-card-vertical.stories.js} +61 -45
- package/dist/collection/components/{ic-card/test/basic/ic-card.spec.js → ic-card-vertical/test/basic/ic-card-vertical.spec.js} +43 -43
- package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js.map +1 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +54 -45
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +22 -128
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +19 -4
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +38 -21
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.stories.js +18 -6
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +2 -2
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.css +66 -53
- package/dist/collection/components/ic-chip/ic-chip.js +44 -68
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.stories.js +713 -403
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +16 -0
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +17 -11
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
- package/dist/collection/components/{ic-data-entity/ic-data-entity.css → ic-data-list/ic-data-list.css} +7 -3
- package/dist/collection/components/{ic-data-entity/ic-data-entity.js → ic-data-list/ic-data-list.js} +33 -27
- package/dist/collection/components/ic-data-list/ic-data-list.js.map +1 -0
- package/dist/collection/components/{ic-data-entity/ic-data-entity.stories.js → ic-data-list/ic-data-list.stories.js} +59 -53
- package/dist/collection/components/{ic-data-entity/test/basic/ic-data-entity.spec.js → ic-data-list/test/basic/ic-data-list.spec.js} +32 -32
- package/dist/collection/components/ic-data-list/test/basic/ic-data-list.spec.js.map +1 -0
- package/dist/collection/components/ic-data-row/ic-data-row.css +6 -3
- package/dist/collection/components/ic-data-row/ic-data-row.js +28 -24
- package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +4 -4
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.css +19 -15
- package/dist/collection/components/ic-dialog/ic-dialog.js +28 -212
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.stories.js +19 -225
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +5 -228
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -1
- package/dist/collection/components/ic-divider/ic-divider.css +295 -4
- package/dist/collection/components/ic-divider/ic-divider.js +239 -12
- package/dist/collection/components/ic-divider/ic-divider.js.map +1 -1
- package/dist/collection/components/ic-divider/ic-divider.stories.js +394 -0
- package/dist/collection/components/ic-divider/ic-divider.types.js +2 -0
- package/dist/collection/components/ic-divider/ic-divider.types.js.map +1 -0
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +90 -5
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.css +21 -6
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +35 -9
- package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.stories.js +13 -6
- package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js +101 -0
- package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js.map +1 -0
- package/dist/collection/components/ic-footer/ic-footer.css +30 -22
- package/dist/collection/components/ic-footer/ic-footer.js +13 -14
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/ic-footer.stories.js +23 -22
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +3 -3
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.css +49 -100
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +12 -12
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +1 -1
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +19 -27
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +15 -16
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +8 -8
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.css +38 -23
- package/dist/collection/components/ic-hero/ic-hero.js +18 -41
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.stories.js +65 -106
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +8 -8
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +7 -11
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +65 -10
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +43 -0
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +70 -42
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +12 -87
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +10 -10
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -1
- package/dist/collection/components/ic-input-label/ic-input-label.css +19 -21
- package/dist/collection/components/ic-input-label/ic-input-label.js +52 -74
- package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +14 -58
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.css +13 -4
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +7 -7
- package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +4 -4
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.css +77 -45
- package/dist/collection/components/ic-link/ic-link.js +64 -58
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.stories.js +16 -45
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +19 -114
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +24 -16
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +73 -50
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.stories.js +84 -36
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +3 -2
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.css +119 -30
- package/dist/collection/components/ic-menu/ic-menu.js +525 -228
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +382 -34
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -1
- package/dist/collection/components/ic-menu-group/ic-menu-group.css +3 -2
- package/dist/collection/components/ic-menu-item/ic-menu-item.css +63 -44
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +30 -30
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +2 -2
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +14 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +38 -11
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +3 -3
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +28 -21
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +39 -14
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +3 -3
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +33 -29
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +36 -10
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +3 -3
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +13 -5
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +27 -2
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.css +4 -3
- package/dist/collection/components/ic-page-header/ic-page-header.js +34 -30
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.stories.js +306 -40
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +15 -15
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.css +15 -0
- package/dist/collection/components/ic-pagination/ic-pagination.js +97 -73
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.stories.js +69 -30
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +27 -27
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -1
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +36 -13
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +48 -33
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +10 -6
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +45 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.stories.js +34 -16
- package/dist/collection/components/ic-radio-group/ic-radio-group.css +21 -5
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +58 -38
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.stories.js +21 -28
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +3 -3
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +40 -30
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +58 -148
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.css +115 -16
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +112 -129
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.stories.js +21 -19
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +78 -112
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.css +103 -63
- package/dist/collection/components/ic-select/ic-select.js +269 -220
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select_(multi).stories.js +892 -0
- package/dist/collection/components/ic-select/{ic-select-searchable.stories.js → ic-select_(searchable).stories.js} +21 -9
- package/dist/collection/components/ic-select/{ic-select-single.stories.js → ic-select_(single).stories.js} +14 -4
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +230 -7
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +60 -43
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +22 -24
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.stories.js +11 -11
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +3 -110
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.css +5 -28
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +17 -33
- package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.stories.js +11 -9
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +1 -1
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.css +20 -17
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +44 -62
- package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.stories.js +41 -6
- package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +1 -1
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +15 -32
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -1
- package/dist/collection/components/ic-step/ic-step.css +97 -128
- package/dist/collection/components/ic-step/ic-step.js +77 -54
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +30 -30
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.css +4 -4
- package/dist/collection/components/ic-stepper/ic-stepper.js +51 -33
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.stories.js +103 -153
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js +37 -37
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -1
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +237 -237
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.css +26 -49
- package/dist/collection/components/ic-switch/ic-switch.js +33 -48
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.stories.js +20 -42
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +1 -15
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -1
- package/dist/collection/components/ic-tab/ic-tab.css +47 -21
- package/dist/collection/components/ic-tab/ic-tab.js +56 -34
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +2 -2
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +79 -76
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tabs.stories.js +11 -83
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +3 -3
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.css +15 -8
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +52 -54
- package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +2 -2
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +91 -30
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +50 -0
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.css +71 -13
- package/dist/collection/components/ic-text-field/ic-text-field.js +122 -128
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.stories.js +36 -257
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +59 -26
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +59 -58
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -1
- package/dist/collection/components/ic-theme/ic-theme.js +81 -33
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
- package/dist/collection/components/ic-theme/ic-theme.stories.js +271 -8
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +7 -7
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -1
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +24 -22
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -1
- package/dist/collection/components/ic-toast/ic-toast.css +40 -17
- package/dist/collection/components/ic-toast/ic-toast.js +83 -33
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- package/dist/collection/components/ic-toast/ic-toast.stories.js +1 -18
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +55 -19
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -1
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -43
- package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +0 -20
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +217 -79
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +126 -69
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.stories.js +16 -126
- package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js +4 -4
- package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.css +29 -19
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +116 -52
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.stories.js +140 -165
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.types.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +121 -39
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +14 -5
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +30 -2
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.stories.js +10 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +14 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +46 -20
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +44 -14
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.stories.js +28 -13
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +3 -3
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.css +16 -12
- package/dist/collection/components/ic-typography/ic-typography.js +31 -5
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.stories.js +10 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +14 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -1
- package/dist/collection/patterns/z-index.stories.js +2 -2
- package/dist/collection/utils/constants.js +1 -1
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/helpers.js +49 -19
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js +6 -6
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +64 -21
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-accordion-group.js +16 -16
- package/dist/components/ic-accordion-group.js.map +1 -1
- package/dist/components/ic-accordion.js +7 -7
- package/dist/components/ic-accordion.js.map +1 -1
- package/dist/components/ic-alert.js +128 -1
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-back-to-top.js +29 -16
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.js +25 -54
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +31 -16
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +57 -8
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +29 -33
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/{ic-data-entity.d.ts → ic-card-vertical.d.ts} +4 -4
- package/dist/components/ic-card-vertical.js +198 -0
- package/dist/components/ic-card-vertical.js.map +1 -0
- package/dist/components/ic-checkbox-group.js +24 -11
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +9 -21
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +24 -23
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +2 -2
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/{ic-card.d.ts → ic-data-list.d.ts} +4 -4
- package/dist/components/ic-data-list.js +56 -0
- package/dist/components/ic-data-list.js.map +1 -0
- package/dist/components/ic-data-row.js +14 -13
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-dialog.js +17 -119
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +89 -13
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-empty-state.js +11 -8
- package/dist/components/ic-empty-state.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +14 -15
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +19 -13
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +12 -14
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +13 -17
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +17 -9
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +12 -31
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +18 -23
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +9 -10
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +25 -18
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +29 -23
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js +2 -2
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu-item2.js +14 -14
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +473 -180
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +14 -11
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +16 -14
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +13 -10
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +6 -4
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +11 -10
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +10 -12
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination.js +56 -49
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.js +24 -3
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +35 -19
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +37 -47
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +73 -85
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select.js +197 -89
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +20 -23
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +6 -8
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-status-tag.js +9 -16
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +48 -51
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +29 -18
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +18 -19
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +39 -31
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +11 -13
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +17 -13
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +11 -9
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field.js +371 -1
- package/dist/components/ic-text-field.js.map +1 -1
- package/dist/components/ic-theme.js +51 -25
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toast-region.js +1 -9
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.js +86 -37
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +71 -30
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +73 -40
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-tooltip2.js +8 -3
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +19 -13
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +9 -6
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/core/ag-theme-icds.css +32 -31
- package/dist/core/core.css +1606 -64
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-0cb72d37.entry.js +2 -0
- package/dist/core/p-0cb72d37.entry.js.map +1 -0
- package/dist/core/p-1223d0e9.entry.js +2 -0
- package/dist/core/p-1223d0e9.entry.js.map +1 -0
- package/dist/core/p-190c3474.entry.js +2 -0
- package/dist/core/p-190c3474.entry.js.map +1 -0
- package/dist/core/p-199b9196.entry.js +2 -0
- package/dist/core/p-199b9196.entry.js.map +1 -0
- package/dist/core/p-1bf956cb.entry.js +2 -0
- package/dist/core/p-1bf956cb.entry.js.map +1 -0
- package/dist/core/p-20ac0d2a.entry.js +2 -0
- package/dist/core/p-20ac0d2a.entry.js.map +1 -0
- package/dist/core/p-2197e83e.entry.js +2 -0
- package/dist/core/p-2197e83e.entry.js.map +1 -0
- package/dist/core/p-243ad74c.entry.js +2 -0
- package/dist/core/p-243ad74c.entry.js.map +1 -0
- package/dist/core/p-24a34d72.entry.js +2 -0
- package/dist/core/p-24a34d72.entry.js.map +1 -0
- package/dist/core/{p-7438ab1f.entry.js → p-26bc7c62.entry.js} +2 -2
- package/dist/core/p-26bc7c62.entry.js.map +1 -0
- package/dist/core/{p-3eda4e14.entry.js → p-27274ca8.entry.js} +2 -2
- package/dist/core/p-27274ca8.entry.js.map +1 -0
- package/dist/core/p-29afeb33.entry.js +2 -0
- package/dist/core/p-29afeb33.entry.js.map +1 -0
- package/dist/core/p-2cc0d6b9.entry.js +2 -0
- package/dist/core/p-2cc0d6b9.entry.js.map +1 -0
- package/dist/core/p-31c84a47.entry.js +2 -0
- package/dist/core/p-31c84a47.entry.js.map +1 -0
- package/dist/core/p-33b44dc1.entry.js +2 -0
- package/dist/core/p-33b44dc1.entry.js.map +1 -0
- package/dist/core/p-36ac5305.entry.js +2 -0
- package/dist/core/p-36ac5305.entry.js.map +1 -0
- package/dist/core/{p-3969d3c0.entry.js → p-3ea4a005.entry.js} +2 -2
- package/dist/core/p-3ea4a005.entry.js.map +1 -0
- package/dist/core/p-404b482e.entry.js +2 -0
- package/dist/core/p-404b482e.entry.js.map +1 -0
- package/dist/core/p-419d3378.entry.js +2 -0
- package/dist/core/p-419d3378.entry.js.map +1 -0
- package/dist/core/p-47038ea3.entry.js +2 -0
- package/dist/core/p-47038ea3.entry.js.map +1 -0
- package/dist/core/p-490bf0ee.entry.js +2 -0
- package/dist/core/p-490bf0ee.entry.js.map +1 -0
- package/dist/core/p-4e6e34fe.entry.js +2 -0
- package/dist/core/p-4e6e34fe.entry.js.map +1 -0
- package/dist/core/p-4fce49bd.entry.js +2 -0
- package/dist/core/p-4fce49bd.entry.js.map +1 -0
- package/dist/core/p-50b04d0f.entry.js +2 -0
- package/dist/core/p-50b04d0f.entry.js.map +1 -0
- package/dist/core/p-5b42dbef.entry.js +2 -0
- package/dist/core/p-5b42dbef.entry.js.map +1 -0
- package/dist/core/p-5be2c26a.entry.js +2 -0
- package/dist/core/p-5be2c26a.entry.js.map +1 -0
- package/dist/core/p-5d5345a4.entry.js +2 -0
- package/dist/core/p-5d5345a4.entry.js.map +1 -0
- package/dist/core/p-5dcc0489.entry.js +2 -0
- package/dist/core/p-5dcc0489.entry.js.map +1 -0
- package/dist/core/p-5f6d6b3f.entry.js +2 -0
- package/dist/core/p-5f6d6b3f.entry.js.map +1 -0
- package/dist/core/p-5f74782e.entry.js +2 -0
- package/dist/core/p-5f74782e.entry.js.map +1 -0
- package/dist/core/p-641e244d.entry.js +2 -0
- package/dist/core/p-641e244d.entry.js.map +1 -0
- package/dist/core/p-6c1cf351.entry.js +2 -0
- package/dist/core/p-6c1cf351.entry.js.map +1 -0
- package/dist/core/p-6e630778.entry.js +2 -0
- package/dist/core/p-6e630778.entry.js.map +1 -0
- package/dist/core/p-7c8cd719.entry.js +2 -0
- package/dist/core/p-7c8cd719.entry.js.map +1 -0
- package/dist/core/p-7c94e055.entry.js +2 -0
- package/dist/core/p-7c94e055.entry.js.map +1 -0
- package/dist/core/p-7fa74998.entry.js +2 -0
- package/dist/core/p-7fa74998.entry.js.map +1 -0
- package/dist/core/p-7ff4632d.entry.js +2 -0
- package/dist/core/p-7ff4632d.entry.js.map +1 -0
- package/dist/core/p-84c3a870.entry.js +2 -0
- package/dist/core/p-84c3a870.entry.js.map +1 -0
- package/dist/core/p-8624bb98.entry.js +2 -0
- package/dist/core/p-8624bb98.entry.js.map +1 -0
- package/dist/core/p-87aa30b4.entry.js +2 -0
- package/dist/core/p-87aa30b4.entry.js.map +1 -0
- package/dist/core/p-932f3e3c.js +2 -0
- package/dist/core/p-932f3e3c.js.map +1 -0
- package/dist/core/{p-6fae7e1f.entry.js → p-96b4ca6e.entry.js} +2 -2
- package/dist/core/p-96b4ca6e.entry.js.map +1 -0
- package/dist/core/p-9ad4bbf4.entry.js +2 -0
- package/dist/core/p-9ad4bbf4.entry.js.map +1 -0
- package/dist/core/p-9cfd6855.entry.js +2 -0
- package/dist/core/p-9cfd6855.entry.js.map +1 -0
- package/dist/core/p-a38f5453.entry.js +2 -0
- package/dist/core/p-a38f5453.entry.js.map +1 -0
- package/dist/core/p-af934e73.entry.js +2 -0
- package/dist/core/p-af934e73.entry.js.map +1 -0
- package/dist/core/p-b9941d97.entry.js +2 -0
- package/dist/core/p-b9941d97.entry.js.map +1 -0
- package/dist/core/p-cf0176be.entry.js +2 -0
- package/dist/core/p-cf0176be.entry.js.map +1 -0
- package/dist/core/p-cf5d88a9.entry.js +2 -0
- package/dist/core/p-cf5d88a9.entry.js.map +1 -0
- package/dist/core/p-d21d8014.entry.js +2 -0
- package/dist/core/p-d21d8014.entry.js.map +1 -0
- package/dist/core/p-df957570.entry.js +2 -0
- package/dist/core/p-df957570.entry.js.map +1 -0
- package/dist/core/p-e0730a5d.entry.js +2 -0
- package/dist/core/p-e0730a5d.entry.js.map +1 -0
- package/dist/core/p-e1f8d915.entry.js +2 -0
- package/dist/core/p-e1f8d915.entry.js.map +1 -0
- package/dist/core/p-e4cb5585.entry.js +2 -0
- package/dist/core/p-e4cb5585.entry.js.map +1 -0
- package/dist/core/p-f073fc69.entry.js +2 -0
- package/dist/core/p-f073fc69.entry.js.map +1 -0
- package/dist/core/p-f2d9eefe.entry.js +2 -0
- package/dist/core/p-f2d9eefe.entry.js.map +1 -0
- package/dist/core/p-f7872eef.entry.js +2 -0
- package/dist/core/p-f7872eef.entry.js.map +1 -0
- package/dist/core/{p-9df32798.entry.js → p-f9dceda0.entry.js} +2 -2
- package/dist/core/p-f9dceda0.entry.js.map +1 -0
- package/dist/core/p-fac53f92.entry.js +2 -0
- package/dist/core/p-fac53f92.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-003f27c9.js → helpers-2624c32c.js} +65 -22
- package/dist/esm/helpers-2624c32c.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +14 -15
- package/dist/esm/ic-accordion-group.entry.js.map +1 -1
- package/dist/esm/ic-accordion.entry.js +7 -8
- package/dist/esm/ic-accordion.entry.js.map +1 -1
- package/dist/esm/ic-alert.entry.js +8 -9
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +16 -17
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-badge.entry.js +22 -51
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +26 -14
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +53 -8
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +59 -53
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-vertical.entry.js +146 -0
- package/dist/esm/ic-card-vertical.entry.js.map +1 -0
- package/dist/esm/ic-checkbox-group.entry.js +21 -10
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +8 -16
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +23 -24
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +2 -2
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-list.entry.js +28 -0
- package/dist/esm/ic-data-list.entry.js.map +1 -0
- package/dist/esm/ic-data-row.entry.js +12 -12
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +14 -105
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +74 -11
- package/dist/esm/ic-divider.entry.js.map +1 -1
- package/dist/esm/ic-empty-state.entry.js +9 -8
- package/dist/esm/ic-empty-state.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +12 -14
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +11 -12
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +11 -13
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +12 -15
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +15 -9
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +478 -201
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +23 -28
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +22 -15
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +2 -3
- package/dist/esm/ic-menu-group.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +12 -13
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +12 -10
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +14 -14
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +11 -10
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +5 -5
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +10 -10
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-item.entry.js +8 -12
- package/dist/esm/ic-pagination-item.entry.js.map +1 -1
- package/dist/esm/ic-pagination.entry.js +51 -46
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +23 -4
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +32 -18
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +34 -40
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +56 -57
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js +193 -80
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +19 -22
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +5 -6
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +8 -16
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +41 -46
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +27 -18
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +17 -18
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +34 -28
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +9 -11
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +12 -11
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +10 -9
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +81 -72
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +45 -22
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast-region.entry.js +0 -7
- package/dist/esm/ic-toast-region.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +83 -36
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +63 -30
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +65 -34
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +17 -12
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +9 -8
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/index-d1d2c456.js +16 -16
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-accordion/ic-accordion.d.ts +5 -5
- package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +6 -6
- package/dist/types/components/ic-alert/ic-alert.d.ts +9 -9
- package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +5 -1
- package/dist/types/components/ic-badge/ic-badge.d.ts +8 -15
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +17 -5
- package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +13 -7
- package/dist/types/components/ic-button/ic-button.d.ts +10 -7
- package/dist/types/components/{ic-card/ic-card.d.ts → ic-card-vertical/ic-card-vertical.d.ts} +10 -6
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +3 -27
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +5 -3
- package/dist/types/components/ic-chip/ic-chip.d.ts +8 -11
- package/dist/types/components/ic-data-list/ic-data-list.d.ts +20 -0
- package/dist/types/components/ic-data-row/ic-data-row.d.ts +4 -4
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +5 -37
- package/dist/types/components/ic-divider/ic-divider.d.ts +33 -3
- package/dist/types/components/ic-divider/ic-divider.types.d.ts +3 -0
- package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +6 -2
- package/dist/types/components/ic-footer/ic-footer.d.ts +3 -3
- package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +3 -3
- package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +4 -3
- package/dist/types/components/ic-hero/ic-hero.d.ts +5 -9
- package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +8 -2
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +0 -12
- package/dist/types/components/ic-input-label/ic-input-label.d.ts +8 -12
- package/dist/types/components/ic-link/ic-link.d.ts +10 -10
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +12 -8
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +1 -1
- package/dist/types/components/ic-menu/ic-menu.d.ts +49 -20
- package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +5 -5
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +7 -3
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +7 -3
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +7 -3
- package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +5 -0
- package/dist/types/components/ic-page-header/ic-page-header.d.ts +5 -5
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +13 -9
- package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +9 -5
- package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +5 -0
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +7 -6
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +8 -27
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +17 -18
- package/dist/types/components/ic-select/ic-select.d.ts +36 -47
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +4 -4
- package/dist/types/components/ic-side-navigation/ic-side-navigation.types.d.ts +2 -2
- package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +3 -6
- package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +9 -10
- package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +0 -1
- package/dist/types/components/ic-step/ic-step.d.ts +11 -6
- package/dist/types/components/ic-stepper/ic-stepper.d.ts +6 -4
- package/dist/types/components/ic-stepper/test/basic/ic-stepper-test-examples.d.ts +4 -4
- package/dist/types/components/ic-switch/ic-switch.d.ts +4 -8
- package/dist/types/components/ic-tab/ic-tab.d.ts +5 -3
- package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +11 -11
- package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +5 -10
- package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +13 -7
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +15 -19
- package/dist/types/components/ic-theme/ic-theme.d.ts +15 -8
- package/dist/types/components/ic-toast/ic-toast.d.ts +8 -1
- package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +0 -5
- package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +11 -10
- package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.d.ts +15 -5
- package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.types.d.ts +1 -1
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +5 -0
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +8 -4
- package/dist/types/components/ic-typography/ic-typography.d.ts +5 -1
- package/dist/types/components.d.ts +647 -662
- package/dist/types/utils/helpers.d.ts +16 -8
- package/dist/types/utils/types.d.ts +11 -9
- package/hydrate/index.js +2155 -1491
- package/package.json +13 -12
- package/vscode-data.json +827 -467
- package/dist/cjs/helpers-6f6991cb.js.map +0 -1
- package/dist/cjs/ic-card.cjs.entry.js +0 -149
- package/dist/cjs/ic-card.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +0 -29
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +0 -1
- package/dist/cjs/types-dc22e301.js +0 -16
- package/dist/cjs/types-dc22e301.js.map +0 -1
- package/dist/collection/components/ic-card/ic-card.js.map +0 -1
- package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +0 -1
- package/dist/collection/components/ic-chip/ic-chip.types.js +0 -2
- package/dist/collection/components/ic-chip/ic-chip.types.js.map +0 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +0 -1
- package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +0 -1
- package/dist/components/ic-alert2.js +0 -132
- package/dist/components/ic-alert2.js.map +0 -1
- package/dist/components/ic-card.js +0 -196
- package/dist/components/ic-card.js.map +0 -1
- package/dist/components/ic-data-entity.js +0 -53
- package/dist/components/ic-data-entity.js.map +0 -1
- package/dist/components/ic-text-field2.js +0 -368
- package/dist/components/ic-text-field2.js.map +0 -1
- package/dist/components/types.js +0 -16
- package/dist/components/types.js.map +0 -1
- package/dist/core/p-08478a4c.entry.js +0 -2
- package/dist/core/p-08478a4c.entry.js.map +0 -1
- package/dist/core/p-12bac804.entry.js +0 -2
- package/dist/core/p-12bac804.entry.js.map +0 -1
- package/dist/core/p-13b2c3a2.entry.js +0 -2
- package/dist/core/p-13b2c3a2.entry.js.map +0 -1
- package/dist/core/p-168a7440.entry.js +0 -2
- package/dist/core/p-168a7440.entry.js.map +0 -1
- package/dist/core/p-193fc7d0.entry.js +0 -2
- package/dist/core/p-193fc7d0.entry.js.map +0 -1
- package/dist/core/p-1e4690f8.entry.js +0 -2
- package/dist/core/p-1e4690f8.entry.js.map +0 -1
- package/dist/core/p-1f6d36d5.entry.js +0 -2
- package/dist/core/p-1f6d36d5.entry.js.map +0 -1
- package/dist/core/p-26b7b18f.js +0 -2
- package/dist/core/p-26b7b18f.js.map +0 -1
- package/dist/core/p-2a11be1e.entry.js +0 -2
- package/dist/core/p-2a11be1e.entry.js.map +0 -1
- package/dist/core/p-3969d3c0.entry.js.map +0 -1
- package/dist/core/p-3ba915a5.entry.js +0 -2
- package/dist/core/p-3ba915a5.entry.js.map +0 -1
- package/dist/core/p-3e8023ff.entry.js +0 -2
- package/dist/core/p-3e8023ff.entry.js.map +0 -1
- package/dist/core/p-3eda4e14.entry.js.map +0 -1
- package/dist/core/p-4c6dc1b2.entry.js +0 -2
- package/dist/core/p-4c6dc1b2.entry.js.map +0 -1
- package/dist/core/p-51407872.entry.js +0 -2
- package/dist/core/p-51407872.entry.js.map +0 -1
- package/dist/core/p-597c221c.entry.js +0 -2
- package/dist/core/p-597c221c.entry.js.map +0 -1
- package/dist/core/p-65dc77ba.entry.js +0 -2
- package/dist/core/p-65dc77ba.entry.js.map +0 -1
- package/dist/core/p-6beed7db.entry.js +0 -2
- package/dist/core/p-6beed7db.entry.js.map +0 -1
- package/dist/core/p-6d8dc552.entry.js +0 -2
- package/dist/core/p-6d8dc552.entry.js.map +0 -1
- package/dist/core/p-6fae7e1f.entry.js.map +0 -1
- package/dist/core/p-72f292f2.entry.js +0 -2
- package/dist/core/p-72f292f2.entry.js.map +0 -1
- package/dist/core/p-7438ab1f.entry.js.map +0 -1
- package/dist/core/p-78f16b1a.entry.js +0 -2
- package/dist/core/p-78f16b1a.entry.js.map +0 -1
- package/dist/core/p-7b3a4b3f.entry.js +0 -2
- package/dist/core/p-7b3a4b3f.entry.js.map +0 -1
- package/dist/core/p-7f1594d9.entry.js +0 -2
- package/dist/core/p-7f1594d9.entry.js.map +0 -1
- package/dist/core/p-8dd2d3df.entry.js +0 -2
- package/dist/core/p-8dd2d3df.entry.js.map +0 -1
- package/dist/core/p-90433147.entry.js +0 -2
- package/dist/core/p-90433147.entry.js.map +0 -1
- package/dist/core/p-915e5888.entry.js +0 -2
- package/dist/core/p-915e5888.entry.js.map +0 -1
- package/dist/core/p-91fab13d.entry.js +0 -2
- package/dist/core/p-91fab13d.entry.js.map +0 -1
- package/dist/core/p-96e79d69.entry.js +0 -2
- package/dist/core/p-96e79d69.entry.js.map +0 -1
- package/dist/core/p-9a6790d8.entry.js +0 -2
- package/dist/core/p-9a6790d8.entry.js.map +0 -1
- package/dist/core/p-9df32798.entry.js.map +0 -1
- package/dist/core/p-9ef08234.entry.js +0 -2
- package/dist/core/p-9ef08234.entry.js.map +0 -1
- package/dist/core/p-a020afbd.entry.js +0 -2
- package/dist/core/p-a020afbd.entry.js.map +0 -1
- package/dist/core/p-a141ea39.entry.js +0 -2
- package/dist/core/p-a141ea39.entry.js.map +0 -1
- package/dist/core/p-a32016ff.entry.js +0 -2
- package/dist/core/p-a32016ff.entry.js.map +0 -1
- package/dist/core/p-a438656d.entry.js +0 -2
- package/dist/core/p-a438656d.entry.js.map +0 -1
- package/dist/core/p-a9cea205.entry.js +0 -2
- package/dist/core/p-a9cea205.entry.js.map +0 -1
- package/dist/core/p-b21d5f94.entry.js +0 -2
- package/dist/core/p-b21d5f94.entry.js.map +0 -1
- package/dist/core/p-b262eaff.entry.js +0 -2
- package/dist/core/p-b262eaff.entry.js.map +0 -1
- package/dist/core/p-b60912a7.entry.js +0 -2
- package/dist/core/p-b60912a7.entry.js.map +0 -1
- package/dist/core/p-b62735aa.entry.js +0 -2
- package/dist/core/p-b62735aa.entry.js.map +0 -1
- package/dist/core/p-ba06cc95.entry.js +0 -2
- package/dist/core/p-ba06cc95.entry.js.map +0 -1
- package/dist/core/p-ba884064.entry.js +0 -2
- package/dist/core/p-ba884064.entry.js.map +0 -1
- package/dist/core/p-bdaff5c9.entry.js +0 -2
- package/dist/core/p-bdaff5c9.entry.js.map +0 -1
- package/dist/core/p-bfaa257c.entry.js +0 -2
- package/dist/core/p-bfaa257c.entry.js.map +0 -1
- package/dist/core/p-c05474f3.entry.js +0 -2
- package/dist/core/p-c05474f3.entry.js.map +0 -1
- package/dist/core/p-c939d07d.entry.js +0 -2
- package/dist/core/p-c939d07d.entry.js.map +0 -1
- package/dist/core/p-d0299926.entry.js +0 -2
- package/dist/core/p-d0299926.entry.js.map +0 -1
- package/dist/core/p-d3344518.entry.js +0 -2
- package/dist/core/p-d3344518.entry.js.map +0 -1
- package/dist/core/p-d375858e.entry.js +0 -2
- package/dist/core/p-d375858e.entry.js.map +0 -1
- package/dist/core/p-d41c847e.js +0 -2
- package/dist/core/p-d41c847e.js.map +0 -1
- package/dist/core/p-e1ab5945.entry.js +0 -2
- package/dist/core/p-e1ab5945.entry.js.map +0 -1
- package/dist/core/p-e668390c.entry.js +0 -2
- package/dist/core/p-e668390c.entry.js.map +0 -1
- package/dist/core/p-eae017ce.entry.js +0 -2
- package/dist/core/p-eae017ce.entry.js.map +0 -1
- package/dist/core/p-ee6aa6a1.entry.js +0 -2
- package/dist/core/p-ee6aa6a1.entry.js.map +0 -1
- package/dist/core/p-f3599009.entry.js +0 -2
- package/dist/core/p-f3599009.entry.js.map +0 -1
- package/dist/core/p-f39741be.entry.js +0 -2
- package/dist/core/p-f39741be.entry.js.map +0 -1
- package/dist/core/p-f404b35e.entry.js +0 -2
- package/dist/core/p-f404b35e.entry.js.map +0 -1
- package/dist/core/p-f4382f1f.entry.js +0 -2
- package/dist/core/p-f4382f1f.entry.js.map +0 -1
- package/dist/esm/helpers-003f27c9.js.map +0 -1
- package/dist/esm/ic-card.entry.js +0 -145
- package/dist/esm/ic-card.entry.js.map +0 -1
- package/dist/esm/ic-data-entity.entry.js +0 -25
- package/dist/esm/ic-data-entity.entry.js.map +0 -1
- package/dist/esm/types-6f6b41a5.js +0 -16
- package/dist/esm/types-6f6b41a5.js.map +0 -1
- package/dist/types/components/ic-chip/ic-chip.types.d.ts +0 -1
- package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +0 -20
@@ -0,0 +1,892 @@
|
|
1
|
+
import { html } from "lit-html";
|
2
|
+
|
3
|
+
const defaultArgs = {
|
4
|
+
disabled: false,
|
5
|
+
["full-width"]: false,
|
6
|
+
["helper-text"]: "Select some options from the list",
|
7
|
+
["hide-label"]: false,
|
8
|
+
loading: false,
|
9
|
+
loadingLabel: "Loading...",
|
10
|
+
label: "What are your favourite types of coffee?",
|
11
|
+
placeholder: "Select an option",
|
12
|
+
readonly: false,
|
13
|
+
required: false,
|
14
|
+
size: "medium",
|
15
|
+
["validation-status"]: "none",
|
16
|
+
["validation-text"]: "",
|
17
|
+
["show-clear-button"]: false,
|
18
|
+
theme: "inherit",
|
19
|
+
};
|
20
|
+
|
21
|
+
export default {
|
22
|
+
title: "Web Components/Select/Multi",
|
23
|
+
component: "ic-select",
|
24
|
+
};
|
25
|
+
|
26
|
+
export const Default = {
|
27
|
+
render: (args) =>
|
28
|
+
html`<ic-select
|
29
|
+
id="select-default"
|
30
|
+
label="What are your favourite types of coffee?"
|
31
|
+
multiple
|
32
|
+
></ic-select>
|
33
|
+
<script>
|
34
|
+
var select = document.querySelector("#select-default");
|
35
|
+
select.options = [
|
36
|
+
{ label: "Cappuccino", value: "Cap" },
|
37
|
+
{ label: "Latte", value: "Lat" },
|
38
|
+
{ label: "Americano", value: "Ame" },
|
39
|
+
{ label: "Filter", value: "Fil" },
|
40
|
+
{ label: "Flat white", value: "Fla" },
|
41
|
+
{ label: "Mocha", value: "Moc" },
|
42
|
+
{ label: "Macchiato", value: "Mac" },
|
43
|
+
];
|
44
|
+
select.addEventListener("icClear", function (event) {
|
45
|
+
console.log("icClear: clear all clicked");
|
46
|
+
});
|
47
|
+
select.addEventListener("icChange", function (event) {
|
48
|
+
console.log("icChange: " + event.detail.value);
|
49
|
+
});
|
50
|
+
select.addEventListener("icOptionSelect", function (event) {
|
51
|
+
console.log("icOptionSelect: " + event.detail.value);
|
52
|
+
});
|
53
|
+
select.addEventListener("icOptionDeselect", function (event) {
|
54
|
+
console.log("icOptionDeselect: " + event.detail.value);
|
55
|
+
});
|
56
|
+
select.addEventListener("icOpen", function () {
|
57
|
+
console.log("select dropdown opened");
|
58
|
+
});
|
59
|
+
select.addEventListener("icClose", function () {
|
60
|
+
console.log("select dropdown closed");
|
61
|
+
});
|
62
|
+
</script>`,
|
63
|
+
|
64
|
+
name: "Default",
|
65
|
+
};
|
66
|
+
|
67
|
+
export const AsyncDefault = {
|
68
|
+
render: (args) =>
|
69
|
+
html`<ic-select
|
70
|
+
label="What are your favourite types of coffee?"
|
71
|
+
id="select-async"
|
72
|
+
multiple
|
73
|
+
loading
|
74
|
+
></ic-select>
|
75
|
+
<script>
|
76
|
+
var select = document.querySelector("#select-async");
|
77
|
+
select.options = [];
|
78
|
+
setTimeout(() => {
|
79
|
+
select.options = [
|
80
|
+
{ label: "Cappuccino", value: "Cap" },
|
81
|
+
{ label: "Latte", value: "Lat" },
|
82
|
+
{ label: "Americano", value: "Ame" },
|
83
|
+
{ label: "Filter", value: "Fil" },
|
84
|
+
{ label: "Flat white", value: "Fla" },
|
85
|
+
{ label: "Mocha", value: "Moc" },
|
86
|
+
{ label: "Macchiato", value: "Mac" },
|
87
|
+
];
|
88
|
+
}, 5000);
|
89
|
+
select.addEventListener("icChange", function (event) {
|
90
|
+
console.log("icChange: " + event.detail.value);
|
91
|
+
});
|
92
|
+
</script>`,
|
93
|
+
|
94
|
+
name: "Async default",
|
95
|
+
};
|
96
|
+
|
97
|
+
export const DefaultValue = {
|
98
|
+
render: (args) =>
|
99
|
+
html`<ic-select
|
100
|
+
id="select-default-value"
|
101
|
+
label="What are your favourite types of coffee?"
|
102
|
+
multiple
|
103
|
+
></ic-select>
|
104
|
+
<script>
|
105
|
+
var select = document.querySelector("#select-default-value");
|
106
|
+
select.value = ["Ame", "Fil", "Moc"];
|
107
|
+
select.options = [
|
108
|
+
{ label: "Cappuccino", value: "Cap" },
|
109
|
+
{ label: "Latte", value: "Lat" },
|
110
|
+
{ label: "Americano", value: "Ame" },
|
111
|
+
{ label: "Filter", value: "Fil" },
|
112
|
+
{ label: "Flat white", value: "Fla" },
|
113
|
+
{ label: "Mocha", value: "Moc" },
|
114
|
+
{ label: "Macchiato", value: "Mac" },
|
115
|
+
];
|
116
|
+
select.addEventListener("icChange", function (event) {
|
117
|
+
console.log("icChange: " + event.detail.value);
|
118
|
+
});
|
119
|
+
</script>`,
|
120
|
+
|
121
|
+
name: "Default value",
|
122
|
+
};
|
123
|
+
|
124
|
+
export const WithClearButton = {
|
125
|
+
render: (args) =>
|
126
|
+
html`<ic-select
|
127
|
+
id="select-clear"
|
128
|
+
label="What are your favourite types of coffee?"
|
129
|
+
multiple
|
130
|
+
show-clear-button
|
131
|
+
></ic-select>
|
132
|
+
<script>
|
133
|
+
var select = document.querySelector("#select-clear");
|
134
|
+
select.options = [
|
135
|
+
{ label: "Cappuccino", value: "Cap" },
|
136
|
+
{ label: "Latte", value: "Lat" },
|
137
|
+
{ label: "Americano", value: "Ame" },
|
138
|
+
{ label: "Filter", value: "Fil" },
|
139
|
+
{ label: "Flat white", value: "Fla" },
|
140
|
+
{ label: "Mocha", value: "Moc" },
|
141
|
+
{ label: "Macchiato", value: "Mac" },
|
142
|
+
];
|
143
|
+
select.addEventListener("icChange", function (event) {
|
144
|
+
console.log("icChange: " + event.detail.value);
|
145
|
+
});
|
146
|
+
</script>`,
|
147
|
+
|
148
|
+
name: "With clear button",
|
149
|
+
};
|
150
|
+
|
151
|
+
export const WithDescriptions = {
|
152
|
+
render: (args) =>
|
153
|
+
html`<ic-select
|
154
|
+
id="select-descriptions"
|
155
|
+
label="What are your favourite types of coffee?"
|
156
|
+
multiple
|
157
|
+
></ic-select>
|
158
|
+
<script>
|
159
|
+
var select = document.querySelector("#select-descriptions");
|
160
|
+
select.options = [
|
161
|
+
{
|
162
|
+
label: "Cappuccino",
|
163
|
+
value: "Cap",
|
164
|
+
description: "Coffee frothed up with pressurised steam",
|
165
|
+
},
|
166
|
+
{
|
167
|
+
label: "Latte",
|
168
|
+
value: "Lat",
|
169
|
+
description: "A milkier coffee than a cappuccino",
|
170
|
+
},
|
171
|
+
{
|
172
|
+
label: "Americano",
|
173
|
+
value: "Ame",
|
174
|
+
description: "Espresso coffee diluted with hot water",
|
175
|
+
},
|
176
|
+
{
|
177
|
+
label: "Filter",
|
178
|
+
value: "Fil",
|
179
|
+
description: "Coffee filtered using paper or a mesh",
|
180
|
+
},
|
181
|
+
{
|
182
|
+
label: "Flat white",
|
183
|
+
value: "Fla",
|
184
|
+
description:
|
185
|
+
"Coffee without froth made with espresso and hot steamed milk",
|
186
|
+
},
|
187
|
+
{
|
188
|
+
label: "Mocha",
|
189
|
+
value: "Moc",
|
190
|
+
description: "A mixture of coffee and chocolate",
|
191
|
+
},
|
192
|
+
{
|
193
|
+
label: "Macchiato",
|
194
|
+
value: "Mac",
|
195
|
+
description: "Espresso coffee with a dash of frothy steamed milk",
|
196
|
+
},
|
197
|
+
];
|
198
|
+
select.addEventListener("icChange", function (event) {
|
199
|
+
console.log("icChange: " + event.detail.value);
|
200
|
+
});
|
201
|
+
</script>`,
|
202
|
+
|
203
|
+
name: "With descriptions",
|
204
|
+
};
|
205
|
+
|
206
|
+
export const HelperText = {
|
207
|
+
render: (args) =>
|
208
|
+
html`<ic-select
|
209
|
+
id="select-helper"
|
210
|
+
label="What are your favourite types of coffee?"
|
211
|
+
multiple
|
212
|
+
helper-text="Select some options from the list"
|
213
|
+
></ic-select>
|
214
|
+
<script>
|
215
|
+
var select = document.querySelector("#select-helper");
|
216
|
+
select.options = [
|
217
|
+
{ label: "Cappuccino", value: "Cap" },
|
218
|
+
{ label: "Latte", value: "Lat" },
|
219
|
+
{ label: "Americano", value: "Ame" },
|
220
|
+
{ label: "Filter", value: "Fil" },
|
221
|
+
{ label: "Flat white", value: "Fla" },
|
222
|
+
{ label: "Mocha", value: "Moc" },
|
223
|
+
{ label: "Macchiato", value: "Mac" },
|
224
|
+
];
|
225
|
+
select.addEventListener("icChange", function (event) {
|
226
|
+
console.log("icChange: " + event.detail.value);
|
227
|
+
});
|
228
|
+
</script>`,
|
229
|
+
|
230
|
+
name: "Helper text",
|
231
|
+
};
|
232
|
+
|
233
|
+
export const CustomPlaceholder = {
|
234
|
+
render: (args) =>
|
235
|
+
html`<ic-select
|
236
|
+
id="select-placeholder"
|
237
|
+
label="What are your favourite types of coffee?"
|
238
|
+
multiple
|
239
|
+
placeholder="Placeholder goes here"
|
240
|
+
></ic-select>
|
241
|
+
<script>
|
242
|
+
var select = document.querySelector("#select-placeholder");
|
243
|
+
select.options = [
|
244
|
+
{ label: "Cappuccino", value: "Cap" },
|
245
|
+
{ label: "Latte", value: "Lat" },
|
246
|
+
{ label: "Americano", value: "Ame" },
|
247
|
+
{ label: "Filter", value: "Fil" },
|
248
|
+
{ label: "Flat white", value: "Fla" },
|
249
|
+
{ label: "Mocha", value: "Moc" },
|
250
|
+
{ label: "Macchiato", value: "Mac" },
|
251
|
+
];
|
252
|
+
select.addEventListener("icChange", function (event) {
|
253
|
+
console.log("icChange: " + event.detail.value);
|
254
|
+
});
|
255
|
+
</script>`,
|
256
|
+
|
257
|
+
name: "Custom placeholder",
|
258
|
+
};
|
259
|
+
|
260
|
+
export const CustomComponents = {
|
261
|
+
render: (args) =>
|
262
|
+
html`<ic-select
|
263
|
+
id="select-custom-components"
|
264
|
+
label="What are your favourite types of coffee?"
|
265
|
+
multiple
|
266
|
+
></ic-select>
|
267
|
+
<script>
|
268
|
+
var select = document.querySelector("#select-custom-components");
|
269
|
+
select.options = [
|
270
|
+
{ label: "Cappuccino", value: "Cap" },
|
271
|
+
{
|
272
|
+
label: "Latte",
|
273
|
+
value: "Lat",
|
274
|
+
description: "A milkier coffee than a cappuccino",
|
275
|
+
element: {
|
276
|
+
component: \`<ic-status-tag label="Neutral status"></ic-status-tag>\`,
|
277
|
+
ariaLabel: "Neutral status tag",
|
278
|
+
},
|
279
|
+
icon: \`<svg aria-labelledby="warning-title" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000"><g id="warning"><path id="Vector" d="M4.47 20.5037H19.53C21.07 20.5037 22.03 18.8337 21.26 17.5037L13.73 4.49375C12.96 3.16375 11.04 3.16375 10.27 4.49375L2.74 17.5037C1.97 18.8337 2.93 20.5037 4.47 20.5037ZM12 13.5037C11.45 13.5037 11 13.0537 11 12.5037V10.5037C11 9.95375 11.45 9.50375 12 9.50375C12.55 9.50375 13 9.95375 13 10.5037V12.5037C13 13.0537 12.55 13.5037 12 13.5037ZM13 17.5037H11V15.5037H13V17.5037Z" /></g></svg>\`,
|
280
|
+
},
|
281
|
+
{
|
282
|
+
label: "Americano",
|
283
|
+
value: "Ame",
|
284
|
+
icon: \`<svg aria-labelledby="warning-title" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">
|
285
|
+
<g id="warning">
|
286
|
+
<path id="Vector" d="M4.47 20.5037H19.53C21.07 20.5037 22.03 18.8337 21.26 17.5037L13.73 4.49375C12.96 3.16375 11.04 3.16375 10.27 4.49375L2.74 17.5037C1.97 18.8337 2.93 20.5037 4.47 20.5037ZM12 13.5037C11.45 13.5037 11 13.0537 11 12.5037V10.5037C11 9.95375 11.45 9.50375 12 9.50375C12.55 9.50375 13 9.95375 13 10.5037V12.5037C13 13.0537 12.55 13.5037 12 13.5037ZM13 17.5037H11V15.5037H13V17.5037Z" />
|
287
|
+
</g>
|
288
|
+
</svg>\`,
|
289
|
+
},
|
290
|
+
{ label: "Filter", value: "Fil" },
|
291
|
+
{ label: "Flat white", value: "Fla" },
|
292
|
+
{ label: "Mocha", value: "Moc" },
|
293
|
+
{ label: "Macchiato", value: "Mac" },
|
294
|
+
];
|
295
|
+
select.addEventListener("icChange", function (event) {
|
296
|
+
console.log("icChange: " + event.detail.value);
|
297
|
+
});
|
298
|
+
</script>`,
|
299
|
+
|
300
|
+
name: "Custom components",
|
301
|
+
};
|
302
|
+
|
303
|
+
export const Sizes = {
|
304
|
+
render: (args) =>
|
305
|
+
html`<div style="display: flex; flex-direction: column; gap: 16px;">
|
306
|
+
<ic-select
|
307
|
+
id="select-size-small"
|
308
|
+
label="What are your favourite types of coffee?"
|
309
|
+
multiple
|
310
|
+
size="small"
|
311
|
+
></ic-select>
|
312
|
+
<script>
|
313
|
+
var select = document.querySelector("#select-size-small");
|
314
|
+
select.options = [
|
315
|
+
{ label: "Cappuccino", value: "Cap" },
|
316
|
+
{ label: "Latte", value: "Lat" },
|
317
|
+
{ label: "Americano", value: "Ame" },
|
318
|
+
{ label: "Filter", value: "Fil" },
|
319
|
+
{ label: "Flat white", value: "Fla" },
|
320
|
+
{ label: "Mocha", value: "Moc" },
|
321
|
+
{ label: "Macchiato", value: "Mac" },
|
322
|
+
];
|
323
|
+
select.addEventListener("icChange", function (event) {
|
324
|
+
console.log("icChange: " + event.detail.value);
|
325
|
+
});
|
326
|
+
</script>
|
327
|
+
<ic-select
|
328
|
+
id="select-size-medium"
|
329
|
+
label="What are your favourite types of coffee?"
|
330
|
+
multiple
|
331
|
+
></ic-select>
|
332
|
+
<script>
|
333
|
+
var select = document.querySelector("#select-size-medium");
|
334
|
+
select.options = [
|
335
|
+
{ label: "Cappuccino", value: "Cap" },
|
336
|
+
{ label: "Latte", value: "Lat" },
|
337
|
+
{ label: "Americano", value: "Ame" },
|
338
|
+
{ label: "Filter", value: "Fil" },
|
339
|
+
{ label: "Flat white", value: "Fla" },
|
340
|
+
{ label: "Mocha", value: "Moc" },
|
341
|
+
{ label: "Macchiato", value: "Mac" },
|
342
|
+
];
|
343
|
+
select.addEventListener("icChange", function (event) {
|
344
|
+
console.log("icChange: " + event.detail.value);
|
345
|
+
});
|
346
|
+
</script>
|
347
|
+
<ic-select
|
348
|
+
id="select-size-large"
|
349
|
+
label="What are your favourite types of coffee?"
|
350
|
+
multiple
|
351
|
+
size="large"
|
352
|
+
></ic-select>
|
353
|
+
<script>
|
354
|
+
var select = document.querySelector("#select-size-large");
|
355
|
+
select.options = [
|
356
|
+
{ label: "Cappuccino", value: "Cap" },
|
357
|
+
{ label: "Latte", value: "Lat" },
|
358
|
+
{ label: "Americano", value: "Ame" },
|
359
|
+
{ label: "Filter", value: "Fil" },
|
360
|
+
{ label: "Flat white", value: "Fla" },
|
361
|
+
{ label: "Mocha", value: "Moc" },
|
362
|
+
{ label: "Macchiato", value: "Mac" },
|
363
|
+
];
|
364
|
+
select.addEventListener("icChange", function (event) {
|
365
|
+
console.log("icChange: " + event.detail.value);
|
366
|
+
});
|
367
|
+
</script>
|
368
|
+
</div>`,
|
369
|
+
|
370
|
+
name: "Sizes",
|
371
|
+
};
|
372
|
+
|
373
|
+
export const Disabled = {
|
374
|
+
render: (args) =>
|
375
|
+
html`<ic-select
|
376
|
+
id="select-disabled"
|
377
|
+
label="What are your favourite types of coffee?"
|
378
|
+
multiple
|
379
|
+
disabled
|
380
|
+
></ic-select>
|
381
|
+
<script>
|
382
|
+
var select = document.querySelector("#select-disabled");
|
383
|
+
select.options = [
|
384
|
+
{ label: "Cappuccino", value: "Cap" },
|
385
|
+
{ label: "Latte", value: "Lat" },
|
386
|
+
{ label: "Americano", value: "Ame" },
|
387
|
+
{ label: "Filter", value: "Fil" },
|
388
|
+
{ label: "Flat white", value: "Fla" },
|
389
|
+
{ label: "Mocha", value: "Moc" },
|
390
|
+
{ label: "Macchiato", value: "Mac" },
|
391
|
+
];
|
392
|
+
select.addEventListener("icChange", function (event) {
|
393
|
+
console.log("icChange: " + event.detail.value);
|
394
|
+
});
|
395
|
+
</script>`,
|
396
|
+
|
397
|
+
name: "Disabled",
|
398
|
+
};
|
399
|
+
|
400
|
+
export const DisabledOptions = {
|
401
|
+
render: (args) =>
|
402
|
+
html`<ic-select
|
403
|
+
id="select-disabled-options"
|
404
|
+
label="What are your favourite types of coffee?"
|
405
|
+
multiple
|
406
|
+
></ic-select>
|
407
|
+
<script>
|
408
|
+
var select = document.querySelector("#select-disabled-options");
|
409
|
+
select.options = [
|
410
|
+
{ label: "Cappuccino", value: "Cap" },
|
411
|
+
{ label: "Latte", value: "Lat", disabled: true },
|
412
|
+
{ label: "Americano", value: "Ame" },
|
413
|
+
{ label: "Filter", value: "Fil", disabled: true },
|
414
|
+
{ label: "Flat white", value: "Fla", disabled: true },
|
415
|
+
{ label: "Mocha", value: "Moc" },
|
416
|
+
{ label: "Macchiato", value: "Mac" },
|
417
|
+
];
|
418
|
+
select.addEventListener("icChange", function (event) {
|
419
|
+
console.log("icChange: " + event.detail.value);
|
420
|
+
});
|
421
|
+
</script>`,
|
422
|
+
|
423
|
+
name: "Disabled options",
|
424
|
+
};
|
425
|
+
|
426
|
+
export const FullWidth = {
|
427
|
+
render: (args) =>
|
428
|
+
html`<ic-select
|
429
|
+
id="select-full-width"
|
430
|
+
label="What are your favourite types of coffee?"
|
431
|
+
multiple
|
432
|
+
full-width
|
433
|
+
></ic-select>
|
434
|
+
<script>
|
435
|
+
var select = document.querySelector("#select-full-width");
|
436
|
+
select.options = [
|
437
|
+
{ label: "Cappuccino", value: "Cap" },
|
438
|
+
{ label: "Latte", value: "Lat" },
|
439
|
+
{ label: "Americano", value: "Ame" },
|
440
|
+
{ label: "Filter", value: "Fil" },
|
441
|
+
{ label: "Flat white", value: "Fla" },
|
442
|
+
{ label: "Mocha", value: "Moc" },
|
443
|
+
{ label: "Macchiato", value: "Mac" },
|
444
|
+
];
|
445
|
+
select.addEventListener("icChange", function (event) {
|
446
|
+
console.log("icChange: " + event.detail.value);
|
447
|
+
});
|
448
|
+
</script>`,
|
449
|
+
|
450
|
+
name: "Full width",
|
451
|
+
};
|
452
|
+
|
453
|
+
export const HiddenLabel = {
|
454
|
+
render: (args) =>
|
455
|
+
html`<ic-select
|
456
|
+
id="select-hidden-label"
|
457
|
+
label="What are your favourite types of coffee?"
|
458
|
+
multiple
|
459
|
+
hide-label
|
460
|
+
></ic-select>
|
461
|
+
<script>
|
462
|
+
var select = document.querySelector("#select-hidden-label");
|
463
|
+
select.options = [
|
464
|
+
{ label: "Cappuccino", value: "Cap" },
|
465
|
+
{ label: "Latte", value: "Lat" },
|
466
|
+
{ label: "Americano", value: "Ame" },
|
467
|
+
{ label: "Filter", value: "Fil" },
|
468
|
+
{ label: "Flat white", value: "Fla" },
|
469
|
+
{ label: "Mocha", value: "Moc" },
|
470
|
+
{ label: "Macchiato", value: "Mac" },
|
471
|
+
];
|
472
|
+
select.addEventListener("icChange", function (event) {
|
473
|
+
console.log("icChange: " + event.detail.value);
|
474
|
+
});
|
475
|
+
</script>`,
|
476
|
+
|
477
|
+
name: "Hidden label",
|
478
|
+
};
|
479
|
+
|
480
|
+
export const Required = {
|
481
|
+
render: (args) =>
|
482
|
+
html`<ic-select
|
483
|
+
id="select-required"
|
484
|
+
label="What are your favourite types of coffee?"
|
485
|
+
multiple
|
486
|
+
required
|
487
|
+
></ic-select>
|
488
|
+
<script>
|
489
|
+
var select = document.querySelector("#select-required");
|
490
|
+
select.options = [
|
491
|
+
{ label: "Cappuccino", value: "Cap" },
|
492
|
+
{ label: "Latte", value: "Lat" },
|
493
|
+
{ label: "Americano", value: "Ame" },
|
494
|
+
{ label: "Filter", value: "Fil" },
|
495
|
+
{ label: "Flat white", value: "Fla" },
|
496
|
+
{ label: "Mocha", value: "Moc" },
|
497
|
+
{ label: "Macchiato", value: "Mac" },
|
498
|
+
];
|
499
|
+
select.addEventListener("icChange", function (event) {
|
500
|
+
console.log("icChange: " + event.detail.value);
|
501
|
+
});
|
502
|
+
</script>`,
|
503
|
+
|
504
|
+
name: "Required",
|
505
|
+
};
|
506
|
+
|
507
|
+
export const ReadOnly = {
|
508
|
+
render: () =>
|
509
|
+
html`<ic-select
|
510
|
+
id="select-read-only"
|
511
|
+
label="What are your favourite types of coffee?"
|
512
|
+
multiple
|
513
|
+
readonly
|
514
|
+
></ic-select>
|
515
|
+
<script>
|
516
|
+
var select = document.querySelector("#select-read-only");
|
517
|
+
select.value = ["Cap", "Fla", "Moc"];
|
518
|
+
select.options = [
|
519
|
+
{ label: "Cappuccino", value: "Cap" },
|
520
|
+
{ label: "Latte", value: "Lat" },
|
521
|
+
{ label: "Americano", value: "Ame" },
|
522
|
+
{ label: "Filter", value: "Fil" },
|
523
|
+
{ label: "Flat white", value: "Fla" },
|
524
|
+
{ label: "Mocha", value: "Moc" },
|
525
|
+
{ label: "Macchiato", value: "Mac" },
|
526
|
+
];
|
527
|
+
select.addEventListener("icChange", function (event) {
|
528
|
+
console.log("icChange: " + event.detail.value);
|
529
|
+
});
|
530
|
+
</script>`,
|
531
|
+
|
532
|
+
name: "Read-only",
|
533
|
+
};
|
534
|
+
|
535
|
+
export const Groups = {
|
536
|
+
render: (args) =>
|
537
|
+
html`<ic-select
|
538
|
+
id="select-groups"
|
539
|
+
label="What are your favourite types of coffee?"
|
540
|
+
multiple
|
541
|
+
></ic-select>
|
542
|
+
<script>
|
543
|
+
var select = document.querySelector("#select-groups");
|
544
|
+
select.options = [
|
545
|
+
{
|
546
|
+
label: "Fancy",
|
547
|
+
children: [
|
548
|
+
{ label: "Cappuccino", value: "Cap" },
|
549
|
+
{ label: "Flat white", value: "Fla" },
|
550
|
+
],
|
551
|
+
},
|
552
|
+
{
|
553
|
+
label: "Boring",
|
554
|
+
children: [
|
555
|
+
{ label: "Filter", value: "Fil" },
|
556
|
+
{ label: "Latte", value: "Lat" },
|
557
|
+
],
|
558
|
+
},
|
559
|
+
];
|
560
|
+
select.addEventListener("icChange", function (event) {
|
561
|
+
console.log("icChange: " + event.detail.value);
|
562
|
+
});
|
563
|
+
</script>`,
|
564
|
+
|
565
|
+
name: "Groups",
|
566
|
+
};
|
567
|
+
|
568
|
+
export const Recommended = {
|
569
|
+
render: (args) =>
|
570
|
+
html`<ic-select
|
571
|
+
id="select-recommended"
|
572
|
+
label="What are your favourite types of coffee?"
|
573
|
+
multiple
|
574
|
+
></ic-select>
|
575
|
+
<script>
|
576
|
+
var select = document.querySelector("#select-recommended");
|
577
|
+
select.options = [
|
578
|
+
{ label: "Cappuccino", value: "Cap" },
|
579
|
+
{ label: "Latte", value: "Lat" },
|
580
|
+
{ label: "Americano", value: "Ame", recommended: true },
|
581
|
+
{ label: "Filter", value: "Fil" },
|
582
|
+
{ label: "Flat white", value: "Fla", recommended: true },
|
583
|
+
{ label: "Mocha", value: "Moc" },
|
584
|
+
{ label: "Macchiato", value: "Mac" },
|
585
|
+
];
|
586
|
+
select.addEventListener("icChange", function (event) {
|
587
|
+
console.log("icChange: " + event.detail.value);
|
588
|
+
});
|
589
|
+
</script>`,
|
590
|
+
|
591
|
+
name: "Recommended",
|
592
|
+
};
|
593
|
+
|
594
|
+
export const Validation = {
|
595
|
+
render: (args) =>
|
596
|
+
html`<ic-select
|
597
|
+
id="select-success"
|
598
|
+
label="What are your favourite types of coffee?"
|
599
|
+
multiple
|
600
|
+
validation-status="success"
|
601
|
+
validation-text="Coffee available"
|
602
|
+
></ic-select>
|
603
|
+
<script>
|
604
|
+
var select1 = document.querySelector("#select-success");
|
605
|
+
select1.options = [
|
606
|
+
{ label: "Cappuccino", value: "Cap" },
|
607
|
+
{ label: "Latte", value: "Lat" },
|
608
|
+
{ label: "Americano", value: "Ame" },
|
609
|
+
{ label: "Filter", value: "Fil" },
|
610
|
+
{ label: "Flat white", value: "Fla" },
|
611
|
+
{ label: "Mocha", value: "Moc" },
|
612
|
+
{ label: "Macchiato", value: "Mac" },
|
613
|
+
];
|
614
|
+
select1.addEventListener("icChange", function (event) {
|
615
|
+
console.log("icChange: " + event.detail.value);
|
616
|
+
});
|
617
|
+
</script>
|
618
|
+
<ic-select
|
619
|
+
id="select-warning"
|
620
|
+
label="What are your favourite types of coffee?"
|
621
|
+
multiple
|
622
|
+
validation-status="warning"
|
623
|
+
validation-text="Only a few left"
|
624
|
+
></ic-select>
|
625
|
+
<script>
|
626
|
+
var select2 = document.querySelector("#select-warning");
|
627
|
+
select2.options = [
|
628
|
+
{ label: "Cappuccino", value: "Cap" },
|
629
|
+
{ label: "Latte", value: "Lat" },
|
630
|
+
{ label: "Americano", value: "Ame" },
|
631
|
+
{ label: "Filter", value: "Fil" },
|
632
|
+
{ label: "Flat white", value: "Fla" },
|
633
|
+
{ label: "Mocha", value: "Moc" },
|
634
|
+
{ label: "Macchiato", value: "Mac" },
|
635
|
+
];
|
636
|
+
select2.addEventListener("icChange", function (event) {
|
637
|
+
console.log("icChange: " + event.detail.value);
|
638
|
+
});
|
639
|
+
</script>
|
640
|
+
<ic-select
|
641
|
+
id="select-error"
|
642
|
+
label="What are your favourite types of coffee?"
|
643
|
+
multiple
|
644
|
+
validation-status="error"
|
645
|
+
validation-text="Coffee unavailable"
|
646
|
+
></ic-select>
|
647
|
+
<script>
|
648
|
+
var select3 = document.querySelector("#select-error");
|
649
|
+
select3.options = [
|
650
|
+
{ label: "Cappuccino", value: "Cap" },
|
651
|
+
{ label: "Latte", value: "Lat" },
|
652
|
+
{ label: "Americano", value: "Ame" },
|
653
|
+
{ label: "Filter", value: "Fil" },
|
654
|
+
{ label: "Flat white", value: "Fla" },
|
655
|
+
{ label: "Mocha", value: "Moc" },
|
656
|
+
{ label: "Macchiato", value: "Mac" },
|
657
|
+
];
|
658
|
+
select3.addEventListener("icChange", function (event) {
|
659
|
+
console.log("icChange: " + event.detail.value);
|
660
|
+
});
|
661
|
+
</script>`,
|
662
|
+
|
663
|
+
name: "Validation",
|
664
|
+
};
|
665
|
+
|
666
|
+
export const ScrollBehaviour = {
|
667
|
+
render: (args) =>
|
668
|
+
html`<ic-select
|
669
|
+
id="select-scroll"
|
670
|
+
label="What are your favourite types of coffee?"
|
671
|
+
multiple
|
672
|
+
></ic-select>
|
673
|
+
<script>
|
674
|
+
var select = document.querySelector("#select-scroll");
|
675
|
+
select.options = [
|
676
|
+
{ label: "Cappuccino", value: "Cap" },
|
677
|
+
{ label: "Latte", value: "Lat" },
|
678
|
+
{ label: "Americano", value: "Ame" },
|
679
|
+
{ label: "Filter", value: "Fil" },
|
680
|
+
{ label: "Flat white", value: "Fla" },
|
681
|
+
{ label: "Mocha", value: "Moc" },
|
682
|
+
{ label: "Macchiato", value: "Mac" },
|
683
|
+
{ label: "Café au lait", value: "Caf" },
|
684
|
+
{ label: "Espresso", value: "Esp" },
|
685
|
+
{ label: "Cortado", value: "Cor" },
|
686
|
+
{ label: "Ristretto", value: "Ris" },
|
687
|
+
{ label: "Latte macchiato", value: "Lam" },
|
688
|
+
];
|
689
|
+
select.addEventListener("icChange", function (event) {
|
690
|
+
console.log("icChange: " + event.detail.value);
|
691
|
+
});
|
692
|
+
</script>`,
|
693
|
+
|
694
|
+
name: "Scroll behaviour",
|
695
|
+
};
|
696
|
+
|
697
|
+
export const LoadingWithError = {
|
698
|
+
render: (args) =>
|
699
|
+
html`<ic-select
|
700
|
+
id="select-loading"
|
701
|
+
label="What are your favourite types of coffee?"
|
702
|
+
multiple
|
703
|
+
loading
|
704
|
+
timeout="1000"
|
705
|
+
></ic-select>
|
706
|
+
<script>
|
707
|
+
var select = document.querySelector("#select-loading");
|
708
|
+
select.options = [
|
709
|
+
{ label: "Cappuccino", value: "Cap" },
|
710
|
+
{ label: "Latte", value: "Lat" },
|
711
|
+
{ label: "Americano", value: "Ame" },
|
712
|
+
{ label: "Filter", value: "Fil" },
|
713
|
+
{ label: "Flat white", value: "Fla" },
|
714
|
+
{ label: "Mocha", value: "Moc" },
|
715
|
+
{ label: "Macchiato", value: "Mac" },
|
716
|
+
];
|
717
|
+
select.addEventListener("icChange", function (event) {
|
718
|
+
console.log("icChange: " + event.detail.value);
|
719
|
+
});
|
720
|
+
select.addEventListener("icRetryLoad", function (event) {
|
721
|
+
select.loading = "true";
|
722
|
+
});
|
723
|
+
</script>`,
|
724
|
+
|
725
|
+
name: "Loading with error",
|
726
|
+
};
|
727
|
+
|
728
|
+
export const InForm = {
|
729
|
+
render: (args) => html`
|
730
|
+
<form>
|
731
|
+
<ic-select
|
732
|
+
id="select-form"
|
733
|
+
label="What are your favourite types of coffee?"
|
734
|
+
multiple
|
735
|
+
></ic-select>
|
736
|
+
<br />
|
737
|
+
<br />
|
738
|
+
<input type="submit" value="Submit" />
|
739
|
+
<input type="reset" value="Reset" />
|
740
|
+
</form>
|
741
|
+
<script>
|
742
|
+
var select = document.querySelector("#select-form");
|
743
|
+
select.options = [
|
744
|
+
{ label: "Cappuccino", value: "Cap" },
|
745
|
+
{ label: "Latte", value: "Lat" },
|
746
|
+
{ label: "Americano", value: "Ame" },
|
747
|
+
{ label: "Filter", value: "Fil" },
|
748
|
+
{ label: "Flat white", value: "Fla" },
|
749
|
+
{ label: "Mocha", value: "Moc" },
|
750
|
+
{ label: "Macchiato", value: "Mac" },
|
751
|
+
];
|
752
|
+
select.addEventListener("icChange", function (event) {
|
753
|
+
console.log("icChange: " + event.detail.value);
|
754
|
+
});
|
755
|
+
document.querySelector("form").addEventListener("submit", (ev) => {
|
756
|
+
ev.preventDefault();
|
757
|
+
console.log(document.querySelector("input.ic-input").value);
|
758
|
+
});
|
759
|
+
</script>
|
760
|
+
`,
|
761
|
+
|
762
|
+
name: "In form",
|
763
|
+
};
|
764
|
+
|
765
|
+
export const Playground = {
|
766
|
+
render: (args) =>
|
767
|
+
html` <ic-select
|
768
|
+
id="select-playground"
|
769
|
+
multiple
|
770
|
+
disabled=${args.disabled}
|
771
|
+
full-width=${args["full-width"]}
|
772
|
+
helper-text=${args["helper-text"]}
|
773
|
+
hide-label=${args["hide-label"]}
|
774
|
+
loading=${args.loading}
|
775
|
+
loading-label=${args["loading-label"]}
|
776
|
+
label=${args.label}
|
777
|
+
placeholder=${args.placeholder}
|
778
|
+
readonly=${args.readonly}
|
779
|
+
required=${args.required}
|
780
|
+
show-clear-button=${args["show-clear-button"]}
|
781
|
+
size=${args.size}
|
782
|
+
validation-status=${args["validation-status"]}
|
783
|
+
validation-text=${args["validation-text"]}
|
784
|
+
theme=${args.theme}
|
785
|
+
>
|
786
|
+
${args.showIcon &&
|
787
|
+
html` <svg
|
788
|
+
slot="icon"
|
789
|
+
xmlns="http://www.w3.org/2000/svg"
|
790
|
+
height="24px"
|
791
|
+
viewBox="0 0 24 24"
|
792
|
+
width="24px"
|
793
|
+
fill="#000000"
|
794
|
+
>
|
795
|
+
<path d="M0 0h24v24H0z" fill="none" />
|
796
|
+
<path
|
797
|
+
d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"
|
798
|
+
/>
|
799
|
+
</svg>`}
|
800
|
+
</ic-select>
|
801
|
+
<script>
|
802
|
+
var select = document.querySelector("#select-playground");
|
803
|
+
select.options = [
|
804
|
+
{
|
805
|
+
label: "Cappuccino",
|
806
|
+
value: "Cap",
|
807
|
+
description: "Coffee frothed up with pressurised steam",
|
808
|
+
},
|
809
|
+
{
|
810
|
+
label: "Boring",
|
811
|
+
children: [
|
812
|
+
{
|
813
|
+
label: "Latte",
|
814
|
+
value: "Lat",
|
815
|
+
description: "A milkier coffee than a cappuccino",
|
816
|
+
},
|
817
|
+
{
|
818
|
+
label: "Filter",
|
819
|
+
value: "Fil",
|
820
|
+
description: "Coffee filtered using paper or a mesh",
|
821
|
+
},
|
822
|
+
],
|
823
|
+
},
|
824
|
+
{
|
825
|
+
label: "Fancy",
|
826
|
+
children: [
|
827
|
+
{
|
828
|
+
label: "Flat white",
|
829
|
+
value: "Fla",
|
830
|
+
description:
|
831
|
+
"Coffee without froth made with espresso and hot steamed milk",
|
832
|
+
},
|
833
|
+
{
|
834
|
+
label: "Macchiato",
|
835
|
+
value: "Mac",
|
836
|
+
description:
|
837
|
+
"Espresso coffee with a dash of frothy steamed milk",
|
838
|
+
},
|
839
|
+
],
|
840
|
+
},
|
841
|
+
{
|
842
|
+
label: "Americano",
|
843
|
+
value: "Ame",
|
844
|
+
description: "Espresso coffee diluted with hot water",
|
845
|
+
},
|
846
|
+
{
|
847
|
+
label: "Mocha",
|
848
|
+
value: "Moc",
|
849
|
+
description: "A mixture of coffee and chocolate",
|
850
|
+
},
|
851
|
+
];
|
852
|
+
select.addEventListener("icChange", function (event) {
|
853
|
+
console.log("icChange: " + event.detail.value);
|
854
|
+
});
|
855
|
+
</script>`,
|
856
|
+
|
857
|
+
name: "Playground",
|
858
|
+
args: defaultArgs,
|
859
|
+
|
860
|
+
argTypes: {
|
861
|
+
["validation-status"]: {
|
862
|
+
defaultValue: "",
|
863
|
+
options: ["", "error", "success", "warning"],
|
864
|
+
|
865
|
+
control: {
|
866
|
+
type: "select",
|
867
|
+
},
|
868
|
+
},
|
869
|
+
|
870
|
+
size: {
|
871
|
+
options: ["small", "medium", "large"],
|
872
|
+
|
873
|
+
control: {
|
874
|
+
type: "inline-radio",
|
875
|
+
},
|
876
|
+
},
|
877
|
+
|
878
|
+
showIcon: {
|
879
|
+
control: {
|
880
|
+
type: "boolean",
|
881
|
+
},
|
882
|
+
},
|
883
|
+
|
884
|
+
theme: {
|
885
|
+
options: ["inherit", "light", "dark"],
|
886
|
+
|
887
|
+
control: {
|
888
|
+
type: "inline-radio",
|
889
|
+
},
|
890
|
+
},
|
891
|
+
},
|
892
|
+
};
|