@ukic/web-components 2.1.0-beta.16 → 2.1.0-beta.18
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/helpers-eb53c416.js.map +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +8 -8
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +2 -2
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +25 -19
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +5 -5
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +105 -71
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +40 -40
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +17 -17
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +32 -29
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +15 -15
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +20 -20
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +54 -55
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +16 -16
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +14 -14
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +17 -17
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +18 -18
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +35 -22
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +86 -88
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +7 -7
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +17 -17
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +12 -12
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +15 -15
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +37 -37
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +42 -42
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +26 -26
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +12 -12
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +5 -5
- package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +30 -30
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +61 -61
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +35 -28
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +36 -29
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +122 -121
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +67 -66
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +43 -37
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +7 -7
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +13 -13
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +16 -16
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +26 -32
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +16 -16
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +53 -53
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js +12 -12
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +57 -57
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +41 -39
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +11 -11
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +4 -4
- package/dist/collection/components/ic-alert/ic-alert.js +49 -49
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-alert/{ic-alert.test.a11y.js → test/a11y/ic-alert.test.a11y.js} +1 -1
- package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +1 -0
- package/dist/collection/components/ic-alert/{ic-alert.spec.js → test/basic/ic-alert.spec.js} +1 -1
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +4 -4
- 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/a11y/ic-back-to-top.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/{ic-back-to-top.spec.js → test/basic/ic-back-to-top.spec.js} +3 -3
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +24 -24
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/{ic-breadcrumb.spec.js → test/basic/ic-breadcrumb.spec.js} +1 -1
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +25 -19
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.js → test/a11y/ic-breadcrumb-group.test.a11y.js} +1 -1
- package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.spec.js → test/basic/ic-breadcrumb-group.spec.js} +5 -5
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -0
- package/dist/collection/components/ic-button/ic-button.css +4 -0
- package/dist/collection/components/ic-button/ic-button.js +230 -191
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/{ic-button.test.a11y.js → test/a11y/ic-button.test.a11y.js} +1 -1
- package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-button/{ic-button.e2e.js → test/basic/ic-button.e2e.js} +25 -0
- package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -0
- package/dist/collection/components/ic-button/{ic-button.spec.js → test/basic/ic-button.spec.js} +28 -2
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -0
- package/dist/collection/components/ic-card/ic-card.js +120 -120
- package/dist/collection/components/ic-card/ic-card.js.map +1 -1
- package/dist/collection/components/ic-card/{ic-card.test.a11y.js → test/a11y/ic-card.test.a11y.js} +1 -1
- package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -0
- package/dist/collection/components/ic-card/{ic-card.spec.js → test/basic/ic-card.spec.js} +1 -1
- package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +94 -91
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +58 -58
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.js → test/a11y/ic-checkbox-group.test.a11y.js} +1 -1
- package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.spec.js → test/basic/ic-checkbox-group.spec.js} +3 -3
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -0
- package/dist/collection/components/ic-chip/ic-chip.js +54 -54
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/{ic-chip.test.a11y.js → test/a11y/ic-chip.test.a11y.js} +1 -1
- package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-chip/{ic-chip.spec.js → test/basic/ic-chip.spec.js} +1 -1
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -0
- package/dist/collection/components/ic-classification-banner/{ic-classification-banner.test.a11y.js → test/a11y/ic-classification-banner.test.a11y.js} +1 -1
- package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-classification-banner/{ic-classification-banner.spec.js → test/basic/ic-classification-banner.spec.js} +1 -1
- package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -0
- package/dist/collection/components/ic-data-entity/{ic-data-entity.test.a11y.js → test/a11y/ic-data-entity.test.a11y.js} +1 -1
- package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-data-entity/{ic-data-entity.spec.js → test/basic/ic-data-entity.spec.js} +1 -1
- package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -0
- package/dist/collection/components/ic-data-row/ic-data-row.js +35 -35
- package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
- package/dist/collection/components/ic-data-row/{ic-data-row.test.a11y.js → test/a11y/ic-data-row.test.a11y.js} +1 -1
- package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-data-row/{ic-data-row.spec.js → test/basic/ic-data-row.spec.js} +1 -1
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -0
- package/dist/collection/components/ic-dialog/ic-dialog.css +1 -4
- package/dist/collection/components/ic-dialog/ic-dialog.js +122 -123
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-dialog/{ic-dialog.test.a11y.js → test/a11y/ic-dialog.test.a11y.js} +1 -1
- package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-dialog/{ic-dialog.e2e.js → test/basic/ic-dialog.e2e.js} +3 -0
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -0
- package/dist/collection/components/ic-dialog/{ic-dialog.spec.js → test/basic/ic-dialog.spec.js} +4 -4
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -0
- package/dist/collection/components/ic-divider/{ic-divider.spec.js → test/basic/ic-divider.spec.js} +1 -1
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -0
- package/dist/collection/components/ic-footer/ic-footer.js +47 -47
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/{ic-footer.test.a11y.js → test/a11y/ic-footer.test.a11y.js} +1 -1
- package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -0
- package/dist/collection/components/ic-footer/{ic-footer.spec.js → test/basic/ic-footer.spec.js} +3 -3
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +33 -33
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
- package/dist/collection/components/ic-footer-link/{ic-footer-link.test.a11y.js → test/a11y/ic-footer-link.test.a11y.js} +1 -1
- package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-footer-link/{ic-footer-link.spec.js → 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 -0
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +18 -18
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/{ic-footer-link-group.test.a11y.js → test/a11y/ic-footer-link-group.test.a11y.js} +1 -1
- package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-footer-link-group/{ic-footer-link-group.spec.js → test/basic/ic-footer-link-group.spec.js} +3 -3
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -0
- package/dist/collection/components/ic-hero/ic-hero.js +95 -95
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-hero/{ic-hero.test.a11y.js → test/a11y/ic-hero.test.a11y.js} +1 -1
- package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-hero/{ic-hero.spec.js → test/basic/ic-hero.spec.js} +1 -1
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +37 -24
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.test.a11y.js → test/a11y/ic-horizontal-scroll.test.a11y.js} +1 -1
- package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.spec.js → test/basic/ic-horizontal-scroll.spec.js} +2 -2
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -0
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +45 -45
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/{ic-input-component-container.spec.js → test/basic/ic-input-component-container.spec.js} +1 -1
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -0
- package/dist/collection/components/ic-input-container/{ic-input-container.spec.js → test/basic/ic-input-container.spec.js} +1 -1
- package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -0
- package/dist/collection/components/ic-input-label/ic-input-label.js +51 -51
- package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
- package/dist/collection/components/ic-input-label/{ic-input-label.spec.js → test/basic/ic-input-label.spec.js} +1 -1
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -0
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +41 -41
- package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
- package/dist/collection/components/ic-input-validation/{ic-input-validation.spec.js → test/basic/ic-input-validation.spec.js} +1 -1
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -0
- package/dist/collection/components/ic-link/ic-link.js +48 -48
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-link/{ic-link.test.a11y.js → test/a11y/ic-link.test.a11y.js} +1 -1
- package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-link/{ic-link.spec.js → test/basic/ic-link.spec.js} +2 -2
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +89 -89
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.js → test/a11y/ic-loading-indicator.test.a11y.js} +1 -1
- package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.spec.js → test/basic/ic-loading-indicator.spec.js} +3 -3
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -0
- package/dist/collection/components/ic-menu/ic-menu.js +238 -240
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/{ic-menu.spec.js → test/basic/ic-menu.spec.js} +4 -4
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-menu-group/{ic-menu-group.spec.js → test/basic/ic-menu-group.spec.js} +2 -2
- package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +75 -75
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
- package/dist/collection/components/ic-menu-item/{ic-menu-item.spec.js → 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 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +56 -56
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/{ic-navigation-button.spec.js → test/basic/ic-navigation-button.spec.js} +2 -2
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +0 -8
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +55 -55
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/{ic-navigation-group.test.a11y.js → test/a11y/ic-navigation-group.test.a11y.js} +1 -1
- package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-navigation-group/{ic-navigation-group.spec.js → test/basic/ic-navigation-group.spec.js} +8 -8
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +6 -4
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +135 -135
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/{ic-navigation-item.test.a11y.js → test/a11y/ic-navigation-item.test.a11y.js} +1 -1
- package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-navigation-item/{ic-navigation-item.spec.js → test/basic/ic-navigation-item.spec.js} +5 -5
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +1 -4
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +31 -31
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -0
- package/dist/collection/components/ic-navigation-menu/{ic-navigation-menu.spec.js → test/basic/ic-navigation-menu.spec.js} +6 -6
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-page-header/ic-page-header.js +56 -56
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-page-header/{ic-page-header.test.a11y.js → test/a11y/ic-page-header.test.a11y.js} +1 -1
- package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -0
- package/dist/collection/components/ic-page-header/{ic-page-header.spec.js → test/basic/ic-page-header.spec.js} +7 -7
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -0
- package/dist/collection/components/ic-pagination/ic-pagination.js +97 -97
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
- package/dist/collection/components/ic-pagination/{ic-pagination.test.a11y.js → test/a11y/ic-pagination.test.a11y.js} +1 -1
- package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -0
- package/dist/collection/components/ic-pagination/{ic-pagination.spec.js → test/basic/ic-pagination.spec.js} +3 -3
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +65 -65
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +96 -96
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/{ic-popover-menu.test.a11y.js → test/a11y/ic-popover-menu.test.a11y.js} +1 -1
- package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/{ic-popover-menu.spec.js → test/basic/ic-popover-menu.spec.js} +4 -4
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +94 -81
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/{ic-radio-group.test.a11y.js → test/a11y/ic-radio-group.test.a11y.js} +1 -1
- package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-radio-group/{ic-radio-group.spec.js → 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 -0
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +112 -88
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +385 -384
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/{ic-search-bar.test.a11y.js → test/a11y/ic-search-bar.test.a11y.js} +1 -1
- package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -0
- package/dist/collection/components/ic-search-bar/{ic-search-bar.spec.js → test/basic/ic-search-bar.spec.js} +7 -7
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -0
- package/dist/collection/components/ic-section-container/{ic-section-container.spec.js → test/basic/ic-section-container.spec.js} +1 -1
- package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +1 -0
- package/dist/collection/components/ic-select/ic-select.js +267 -266
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/{ic-select.test.a11y.js → test/a11y/ic-select.test.a11y.js} +1 -1
- package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-select/{ic-select.e2e.js → test/basic/ic-select.e2e.js} +3 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -0
- package/dist/collection/components/ic-select/{ic-select.spec.js → test/basic/ic-select.spec.js} +26 -6
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +6 -19
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +87 -81
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/{ic-side-navigation.test.a11y.js → test/a11y/ic-side-navigation.test.a11y.js} +1 -1
- package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/{ic-side-navigation.spec.js → test/basic/ic-side-navigation.spec.js} +5 -5
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +22 -22
- package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
- package/dist/collection/components/ic-skeleton/{ic-skeleton.test.a11y.js → test/a11y/ic-skeleton.test.a11y.js} +1 -1
- package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-skeleton/{ic-skeleton.spec.js → test/basic/ic-skeleton.spec.js} +1 -1
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +40 -40
- package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
- package/dist/collection/components/ic-status-tag/{ic-status-tag.test.a11y.js → test/a11y/ic-status-tag.test.a11y.js} +1 -1
- package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-status-tag/{ic-status-tag.spec.js → test/basic/ic-status-tag.spec.js} +1 -1
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -0
- package/dist/collection/components/ic-step/ic-step.js +126 -126
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-step/{ic-step.spec.js → test/basic/ic-step.spec.js} +3 -3
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -0
- package/dist/collection/components/ic-stepper/ic-stepper.js +41 -41
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-stepper/{ic-stepper.test.a11y.js → test/a11y/ic-stepper.test.a11y.js} +1 -1
- package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -0
- package/dist/collection/components/ic-stepper/{ic-stepper.spec.js → test/basic/ic-stepper.spec.js} +3 -3
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -0
- package/dist/collection/components/ic-switch/ic-switch.js +72 -72
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/{ic-switch.test.a11y.js → test/a11y/ic-switch.test.a11y.js} +1 -1
- package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-switch/{ic-switch.spec.js → test/basic/ic-switch.spec.js} +1 -1
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -0
- package/dist/collection/components/ic-tab/ic-tab.js +56 -56
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -0
- package/dist/collection/components/ic-tab/{ic-tab.spec.js → test/basic/ic-tab.spec.js} +3 -3
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +71 -77
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-tab-context/{ic-tab-context.e2e.js → test/basic/ic-tab-context.e2e.js} +1 -1
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -0
- package/dist/collection/components/ic-tab-context/{ic-tab-context.spec.js → test/basic/ic-tab-context.spec.js} +4 -4
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -0
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +27 -27
- package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +33 -33
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/{ic-tab-panel.spec.js → test/basic/ic-tab-panel.spec.js} +1 -1
- 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.js +371 -371
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -0
- package/dist/collection/components/ic-text-field/{ic-text-field.input.spec.js → test/basic/ic-text-field.input.spec.js} +2 -2
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -0
- package/dist/collection/components/ic-text-field/{ic-text-field.textarea.spec.js → test/basic/ic-text-field.textarea.spec.js} +1 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -0
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -0
- package/dist/collection/components/ic-theme/{ic-theme.spec.js → test/basic/ic-theme.spec.js} +3 -3
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -0
- package/dist/collection/components/ic-toast/ic-toast.js +111 -111
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- package/dist/collection/components/ic-toast/{ic-toast.test.a11y.js → test/a11y/ic-toast.test.a11y.js} +1 -1
- package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -0
- package/dist/collection/components/ic-toast/{ic-toast.spec.js → test/basic/ic-toast.spec.js} +4 -4
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -0
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +12 -12
- package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
- package/dist/collection/components/ic-toast-region/{ic-toast-region.spec.js → test/basic/ic-toast-region.spec.js} +3 -3
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +47 -47
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-tooltip/{ic-tooltip.test.a11y.js → test/a11y/ic-tooltip.test.a11y.js} +1 -1
- package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -0
- package/dist/collection/components/ic-tooltip/{ic-tooltip.spec.js → test/basic/ic-tooltip.spec.js} +2 -2
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +100 -80
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/{ic-top-navigation.test.a11y.js → test/a11y/ic-top-navigation.test.a11y.js} +8 -1
- package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/{ic-top-navigation.e2e.js → test/basic/ic-top-navigation.e2e.js} +19 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/{ic-top-navigation.spec.js → test/basic/ic-top-navigation.spec.js} +21 -8
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -0
- package/dist/collection/components/ic-typography/ic-typography.js +36 -36
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/components/ic-typography/{ic-typography.test.a11y.js → test/a11y/ic-typography.test.a11y.js} +1 -1
- package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-typography/{ic-typography.e2e.js → test/basic/ic-typography.e2e.js} +3 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -0
- package/dist/collection/components/ic-typography/{ic-typography.spec.js → test/basic/ic-typography.spec.js} +1 -1
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
- package/dist/collection/testspec.setup.js +10 -0
- package/dist/collection/testspec.setup.js.map +1 -1
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/components/helpers.js +1 -1
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-alert2.js +13 -13
- package/dist/components/ic-alert2.js.map +1 -1
- package/dist/components/ic-back-to-top.js +4 -4
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +25 -19
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +7 -7
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +82 -47
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +50 -50
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +20 -20
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +37 -34
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +19 -19
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-data-row.js +21 -21
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-dialog.js +60 -61
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +19 -19
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +16 -16
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +19 -19
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +25 -25
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +36 -23
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +8 -8
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +8 -8
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +6 -6
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +20 -20
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +24 -24
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-item2.js +17 -17
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +93 -95
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +20 -20
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +41 -41
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +52 -52
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +28 -28
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +18 -18
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +11 -11
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination.js +39 -39
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.js +64 -64
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +40 -33
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +42 -35
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +146 -145
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select.js +96 -95
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +52 -46
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +5 -5
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-status-tag.js +6 -6
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +15 -15
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +19 -19
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +21 -21
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +28 -34
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +3 -3
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +4 -4
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +17 -17
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +83 -83
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toast-region.js +12 -12
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.js +62 -62
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-tooltip2.js +26 -26
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +52 -49
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +14 -14
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-f0714432.entry.js → p-060c7917.entry.js} +2 -2
- package/dist/core/p-060c7917.entry.js.map +1 -0
- package/dist/core/p-0738d6e3.entry.js +2 -0
- package/dist/core/p-0738d6e3.entry.js.map +1 -0
- package/dist/core/{p-31ccdd50.entry.js → p-08870e30.entry.js} +2 -2
- package/dist/core/p-08870e30.entry.js.map +1 -0
- package/dist/core/{p-8911656b.entry.js → p-0b05b2b9.entry.js} +2 -2
- package/dist/core/{p-8911656b.entry.js.map → p-0b05b2b9.entry.js.map} +1 -1
- package/dist/core/{p-da4c1409.entry.js → p-0b3e5ba2.entry.js} +2 -2
- package/dist/core/p-0b3e5ba2.entry.js.map +1 -0
- package/dist/core/{p-79914e0c.entry.js → p-0cc2442d.entry.js} +2 -2
- package/dist/core/{p-79914e0c.entry.js.map → p-0cc2442d.entry.js.map} +1 -1
- package/dist/core/{p-2e051e1e.entry.js → p-0d6ee2ae.entry.js} +2 -2
- package/dist/core/p-0d6ee2ae.entry.js.map +1 -0
- package/dist/core/{p-f381e93f.entry.js → p-0dcfcf8c.entry.js} +2 -2
- package/dist/core/p-0dcfcf8c.entry.js.map +1 -0
- package/dist/core/{p-97fd0cc1.entry.js → p-12287f17.entry.js} +2 -2
- package/dist/core/p-12287f17.entry.js.map +1 -0
- package/dist/core/{p-ef91c17e.entry.js → p-1a7d6eca.entry.js} +2 -2
- package/dist/core/p-1a7d6eca.entry.js.map +1 -0
- package/dist/core/{p-84c8c4c7.entry.js → p-21cd7e76.entry.js} +2 -2
- package/dist/core/{p-84c8c4c7.entry.js.map → p-21cd7e76.entry.js.map} +1 -1
- package/dist/core/p-22e151f8.entry.js +2 -0
- package/dist/core/p-22e151f8.entry.js.map +1 -0
- package/dist/core/{p-c0333310.entry.js → p-2a4a7e63.entry.js} +2 -2
- package/dist/core/p-2a4a7e63.entry.js.map +1 -0
- package/dist/core/{p-bad10f6c.entry.js → p-2a55f42e.entry.js} +2 -2
- package/dist/core/p-2a55f42e.entry.js.map +1 -0
- package/dist/core/p-36115f6a.entry.js +2 -0
- package/dist/core/p-36115f6a.entry.js.map +1 -0
- package/dist/core/{p-ca6820dc.entry.js → p-38ac1d7a.entry.js} +2 -2
- package/dist/core/p-38ac1d7a.entry.js.map +1 -0
- package/dist/core/p-50f253b2.entry.js +2 -0
- package/dist/core/p-50f253b2.entry.js.map +1 -0
- package/dist/core/{p-820e4c17.entry.js → p-51d4c05c.entry.js} +2 -2
- package/dist/core/{p-820e4c17.entry.js.map → p-51d4c05c.entry.js.map} +1 -1
- package/dist/core/{p-5fcd965f.entry.js → p-5367574a.entry.js} +2 -2
- package/dist/core/p-5367574a.entry.js.map +1 -0
- package/dist/core/p-55cb196e.entry.js +2 -0
- package/dist/core/p-55cb196e.entry.js.map +1 -0
- package/dist/core/{p-4a385752.js → p-5dd0b02e.js} +2 -2
- package/dist/core/{p-4a385752.js.map → p-5dd0b02e.js.map} +1 -1
- package/dist/core/{p-b35a9909.entry.js → p-6068e3f4.entry.js} +2 -2
- package/dist/core/p-6068e3f4.entry.js.map +1 -0
- package/dist/core/{p-68308ecd.entry.js → p-705aadd0.entry.js} +2 -2
- package/dist/core/p-705aadd0.entry.js.map +1 -0
- package/dist/core/{p-aeef3c9d.entry.js → p-70c4e8d4.entry.js} +2 -2
- package/dist/core/p-70c4e8d4.entry.js.map +1 -0
- package/dist/core/p-8915a04d.entry.js +2 -0
- package/dist/core/p-8915a04d.entry.js.map +1 -0
- package/dist/core/p-8c5ba72e.entry.js +2 -0
- package/dist/core/p-8c5ba72e.entry.js.map +1 -0
- package/dist/core/{p-97286148.entry.js → p-9775acc5.entry.js} +2 -2
- package/dist/core/p-9775acc5.entry.js.map +1 -0
- package/dist/core/{p-a9de9aba.entry.js → p-a600e5d8.entry.js} +2 -2
- package/dist/core/{p-a9de9aba.entry.js.map → p-a600e5d8.entry.js.map} +1 -1
- package/dist/core/{p-dbe06c3b.entry.js → p-a941124d.entry.js} +2 -2
- package/dist/core/p-a941124d.entry.js.map +1 -0
- package/dist/core/{p-e3e6308b.entry.js → p-add90b68.entry.js} +2 -2
- package/dist/core/{p-31e80ccb.entry.js → p-b1c3f213.entry.js} +2 -2
- package/dist/core/p-b1c3f213.entry.js.map +1 -0
- package/dist/core/p-b6a1d9b6.entry.js +2 -0
- package/dist/core/p-b6a1d9b6.entry.js.map +1 -0
- package/dist/core/{p-dfd31e28.entry.js → p-b6e97f47.entry.js} +2 -2
- package/dist/core/p-b6e97f47.entry.js.map +1 -0
- package/dist/core/{p-311c38b3.entry.js → p-ba437d36.entry.js} +2 -2
- package/dist/core/p-ba437d36.entry.js.map +1 -0
- package/dist/core/{p-b03bd9c6.entry.js → p-bc161e06.entry.js} +2 -2
- package/dist/core/p-bc161e06.entry.js.map +1 -0
- package/dist/core/p-bd2f15e6.entry.js +2 -0
- package/dist/core/p-bd2f15e6.entry.js.map +1 -0
- package/dist/core/{p-2ec49a7e.entry.js → p-bd660ff4.entry.js} +2 -2
- package/dist/core/{p-2ec49a7e.entry.js.map → p-bd660ff4.entry.js.map} +1 -1
- package/dist/core/{p-3ce0aa02.entry.js → p-c0717294.entry.js} +2 -2
- package/dist/core/p-c0717294.entry.js.map +1 -0
- package/dist/core/{p-617950f8.entry.js → p-c2b0c19b.entry.js} +2 -2
- package/dist/core/p-c2b0c19b.entry.js.map +1 -0
- package/dist/core/{p-ecdcae46.entry.js → p-c51cfe25.entry.js} +2 -2
- package/dist/core/p-c51cfe25.entry.js.map +1 -0
- package/dist/core/p-c5dd2bae.entry.js +2 -0
- package/dist/core/p-c5dd2bae.entry.js.map +1 -0
- package/dist/core/{p-bda4414e.entry.js → p-c7eff761.entry.js} +2 -2
- package/dist/core/p-c7eff761.entry.js.map +1 -0
- package/dist/core/{p-ad6c4c02.entry.js → p-d04640ac.entry.js} +2 -2
- package/dist/core/p-d04640ac.entry.js.map +1 -0
- package/dist/core/{p-a74b8476.entry.js → p-d6ee986d.entry.js} +2 -2
- package/dist/core/p-d6ee986d.entry.js.map +1 -0
- package/dist/core/{p-249af8ab.entry.js → p-d824684d.entry.js} +2 -2
- package/dist/core/{p-249af8ab.entry.js.map → p-d824684d.entry.js.map} +1 -1
- package/dist/core/{p-6c76c6ba.entry.js → p-dd083d96.entry.js} +2 -2
- package/dist/core/p-dd083d96.entry.js.map +1 -0
- package/dist/core/{p-323bce82.entry.js → p-e360b5a8.entry.js} +2 -2
- package/dist/core/p-e360b5a8.entry.js.map +1 -0
- package/dist/core/{p-0d325b4c.entry.js → p-e69f71c7.entry.js} +2 -2
- package/dist/core/p-e69f71c7.entry.js.map +1 -0
- package/dist/core/{p-551986d1.entry.js → p-f81ecfc2.entry.js} +2 -2
- package/dist/core/p-f81ecfc2.entry.js.map +1 -0
- package/dist/core/p-fdc1cfa2.entry.js +2 -0
- package/dist/core/p-fdc1cfa2.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-8e57082b.js → helpers-85903813.js} +2 -2
- package/dist/esm/{helpers-8e57082b.js.map → helpers-85903813.js.map} +1 -1
- package/dist/esm/ic-alert.entry.js +9 -9
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +3 -3
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +26 -20
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +6 -6
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +106 -72
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +41 -41
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +18 -18
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +33 -30
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +16 -16
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +21 -21
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +55 -56
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +17 -17
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +15 -15
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +18 -18
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +19 -19
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +36 -23
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +87 -89
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +8 -8
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +18 -18
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +13 -13
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +16 -16
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +38 -38
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +43 -43
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +27 -27
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +13 -13
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-item.entry.js +6 -6
- package/dist/esm/ic-pagination-item.entry.js.map +1 -1
- package/dist/esm/ic-pagination.entry.js +31 -31
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +62 -62
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +36 -29
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +37 -30
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +123 -122
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js +68 -67
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +44 -38
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +3 -3
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +4 -4
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +7 -7
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +14 -14
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +17 -17
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +26 -32
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +2 -2
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +2 -2
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +17 -17
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +54 -54
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +1 -1
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast-region.entry.js +12 -12
- package/dist/esm/ic-toast-region.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +58 -58
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +42 -40
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +12 -12
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-alert/ic-alert.d.ts +12 -12
- package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +8 -8
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +6 -6
- package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +15 -11
- package/dist/types/components/ic-button/ic-button.d.ts +58 -52
- package/dist/types/components/ic-card/ic-card.d.ts +32 -32
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +27 -26
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +13 -13
- package/dist/types/components/ic-chip/ic-chip.d.ts +16 -16
- package/dist/types/components/ic-data-row/ic-data-row.d.ts +11 -11
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +47 -47
- package/dist/types/components/ic-footer/ic-footer.d.ts +20 -20
- package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +9 -9
- package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +8 -8
- package/dist/types/components/ic-hero/ic-hero.d.ts +24 -24
- package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +15 -14
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +15 -15
- package/dist/types/components/ic-input-label/ic-input-label.d.ts +14 -14
- package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +8 -8
- package/dist/types/components/ic-link/ic-link.d.ts +8 -8
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +38 -38
- package/dist/types/components/ic-menu/ic-menu.d.ts +63 -63
- package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +23 -23
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +21 -21
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +20 -20
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +39 -39
- package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +14 -14
- package/dist/types/components/ic-page-header/ic-page-header.d.ts +19 -19
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +26 -26
- package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +15 -15
- package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +22 -22
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +19 -21
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +31 -26
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +105 -105
- package/dist/types/components/ic-select/ic-select.d.ts +86 -86
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +28 -24
- package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +8 -8
- package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +8 -8
- package/dist/types/components/ic-step/ic-step.d.ts +24 -24
- package/dist/types/components/ic-stepper/ic-stepper.d.ts +17 -17
- package/dist/types/components/ic-switch/ic-switch.d.ts +23 -23
- package/dist/types/components/ic-tab/ic-tab.d.ts +16 -16
- package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +20 -19
- package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +4 -4
- package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +6 -6
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +102 -102
- package/dist/types/components/ic-theme/ic-theme.d.ts +1 -1
- package/dist/types/components/ic-toast/ic-toast.d.ts +26 -27
- package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +3 -3
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +17 -17
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +36 -32
- package/dist/types/components/ic-typography/ic-typography.d.ts +16 -16
- package/dist/types/components.d.ts +13 -1
- package/dist/types/testspec.setup.d.ts +7 -5
- package/hydrate/index.js +1654 -1581
- package/package.json +3 -3
- package/dist/collection/components/ic-alert/ic-alert.e2e.js.map +0 -1
- package/dist/collection/components/ic-alert/ic-alert.spec.js.map +0 -1
- package/dist/collection/components/ic-alert/ic-alert.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.e2e.js.map +0 -1
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.spec.js.map +0 -1
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.spec.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group-test-examples.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.e2e.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.spec.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-button/ic-button.e2e.js.map +0 -1
- package/dist/collection/components/ic-button/ic-button.spec.js.map +0 -1
- package/dist/collection/components/ic-button/ic-button.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-card/ic-card.e2e.js.map +0 -1
- package/dist/collection/components/ic-card/ic-card.spec.js.map +0 -1
- package/dist/collection/components/ic-card/ic-card.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.e2e.js.map +0 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.spec.js.map +0 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-chip/ic-chip.spec.js.map +0 -1
- package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.spec.js.map +0 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.spec.js.map +0 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-data-row/ic-data-row.spec.js.map +0 -1
- package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-dialog/ic-dialog.e2e.js.map +0 -1
- package/dist/collection/components/ic-dialog/ic-dialog.spec.js.map +0 -1
- package/dist/collection/components/ic-dialog/ic-dialog.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-divider/ic-divider.spec.js.map +0 -1
- package/dist/collection/components/ic-footer/ic-footer.e2e.js.map +0 -1
- package/dist/collection/components/ic-footer/ic-footer.spec.js.map +0 -1
- package/dist/collection/components/ic-footer/ic-footer.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.spec.js.map +0 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.spec.js.map +0 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-hero/ic-hero.spec.js.map +0 -1
- package/dist/collection/components/ic-hero/ic-hero.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.spec.js.map +0 -1
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.spec.js.map +0 -1
- package/dist/collection/components/ic-input-container/ic-input-container.spec.js.map +0 -1
- package/dist/collection/components/ic-input-label/ic-input-label.spec.js.map +0 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.spec.js.map +0 -1
- package/dist/collection/components/ic-link/ic-link.spec.js.map +0 -1
- package/dist/collection/components/ic-link/ic-link.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.e2e.js.map +0 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.spec.js.map +0 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-menu/ic-menu.spec.js.map +0 -1
- package/dist/collection/components/ic-menu-group/ic-menu-group.spec.js.map +0 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.spec.js.map +0 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.spec.js.map +0 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.spec.js.map +0 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.spec.js.map +0 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.e2e.js.map +0 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.spec.js.map +0 -1
- package/dist/collection/components/ic-page-header/ic-page-header.e2e.js.map +0 -1
- package/dist/collection/components/ic-page-header/ic-page-header.spec.js.map +0 -1
- package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-pagination/ic-pagination.e2e.js.map +0 -1
- package/dist/collection/components/ic-pagination/ic-pagination.spec.js.map +0 -1
- package/dist/collection/components/ic-pagination/ic-pagination.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.e2e.js.map +0 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.spec.js.map +0 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.e2e.js.map +0 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.spec.js.map +0 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.e2e.js.map +0 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.spec.js.map +0 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-section-container/ic-section-container.spec.js.map +0 -1
- package/dist/collection/components/ic-select/ic-select.e2e.js.map +0 -1
- package/dist/collection/components/ic-select/ic-select.spec.js.map +0 -1
- package/dist/collection/components/ic-select/ic-select.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.e2e.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.spec.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.spec.js.map +0 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.spec.js.map +0 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-step/ic-step.spec.js.map +0 -1
- package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +0 -1
- package/dist/collection/components/ic-stepper/ic-stepper.e2e.js.map +0 -1
- package/dist/collection/components/ic-stepper/ic-stepper.spec.js.map +0 -1
- package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-switch/ic-switch.spec.js.map +0 -1
- package/dist/collection/components/ic-switch/ic-switch.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-tab/ic-tab.e2e.js.map +0 -1
- package/dist/collection/components/ic-tab/ic-tab.spec.js.map +0 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.e2e.js.map +0 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.spec.js.map +0 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.spec.js.map +0 -1
- package/dist/collection/components/ic-text-field/ic-text-field.e2e.js.map +0 -1
- package/dist/collection/components/ic-text-field/ic-text-field.input.spec.js.map +0 -1
- package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-text-field/ic-text-field.textarea.spec.js.map +0 -1
- package/dist/collection/components/ic-theme/ic-theme.e2e.js.map +0 -1
- package/dist/collection/components/ic-theme/ic-theme.spec.js.map +0 -1
- package/dist/collection/components/ic-toast/ic-toast.e2e.js.map +0 -1
- package/dist/collection/components/ic-toast/ic-toast.spec.js.map +0 -1
- package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-toast-region/ic-toast-region.spec.js.map +0 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.e2e.js.map +0 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.spec.js.map +0 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.e2e.js.map +0 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.mobile.e2e.js.map +0 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.spec.js.map +0 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-typography/ic-typography.e2e.js.map +0 -1
- package/dist/collection/components/ic-typography/ic-typography.spec.js.map +0 -1
- package/dist/collection/components/ic-typography/ic-typography.test.a11y.js.map +0 -1
- package/dist/core/p-0d325b4c.entry.js.map +0 -1
- package/dist/core/p-29d9fea1.entry.js +0 -2
- package/dist/core/p-29d9fea1.entry.js.map +0 -1
- package/dist/core/p-2e051e1e.entry.js.map +0 -1
- package/dist/core/p-3114a4b3.entry.js +0 -2
- package/dist/core/p-3114a4b3.entry.js.map +0 -1
- package/dist/core/p-311c38b3.entry.js.map +0 -1
- package/dist/core/p-31ccdd50.entry.js.map +0 -1
- package/dist/core/p-31e80ccb.entry.js.map +0 -1
- package/dist/core/p-323bce82.entry.js.map +0 -1
- package/dist/core/p-3918c27a.entry.js +0 -2
- package/dist/core/p-3918c27a.entry.js.map +0 -1
- package/dist/core/p-3ce0aa02.entry.js.map +0 -1
- package/dist/core/p-524557bc.entry.js +0 -2
- package/dist/core/p-524557bc.entry.js.map +0 -1
- package/dist/core/p-551986d1.entry.js.map +0 -1
- package/dist/core/p-57460fa3.entry.js +0 -2
- package/dist/core/p-57460fa3.entry.js.map +0 -1
- package/dist/core/p-5fcd965f.entry.js.map +0 -1
- package/dist/core/p-617950f8.entry.js.map +0 -1
- package/dist/core/p-68308ecd.entry.js.map +0 -1
- package/dist/core/p-6c76c6ba.entry.js.map +0 -1
- package/dist/core/p-97286148.entry.js.map +0 -1
- package/dist/core/p-97fd0cc1.entry.js.map +0 -1
- package/dist/core/p-a74b8476.entry.js.map +0 -1
- package/dist/core/p-ad6c4c02.entry.js.map +0 -1
- package/dist/core/p-aeef3c9d.entry.js.map +0 -1
- package/dist/core/p-b03bd9c6.entry.js.map +0 -1
- package/dist/core/p-b0685167.entry.js +0 -2
- package/dist/core/p-b0685167.entry.js.map +0 -1
- package/dist/core/p-b35a9909.entry.js.map +0 -1
- package/dist/core/p-bad10f6c.entry.js.map +0 -1
- package/dist/core/p-bda4414e.entry.js.map +0 -1
- package/dist/core/p-c0333310.entry.js.map +0 -1
- package/dist/core/p-c3f9fb1d.entry.js +0 -2
- package/dist/core/p-c3f9fb1d.entry.js.map +0 -1
- package/dist/core/p-ca6820dc.entry.js.map +0 -1
- package/dist/core/p-d6694b41.entry.js +0 -2
- package/dist/core/p-d6694b41.entry.js.map +0 -1
- package/dist/core/p-da4c1409.entry.js.map +0 -1
- package/dist/core/p-dbe06c3b.entry.js.map +0 -1
- package/dist/core/p-dfd31e28.entry.js.map +0 -1
- package/dist/core/p-ea233813.entry.js +0 -2
- package/dist/core/p-ea233813.entry.js.map +0 -1
- package/dist/core/p-ecdcae46.entry.js.map +0 -1
- package/dist/core/p-ef91c17e.entry.js.map +0 -1
- package/dist/core/p-f0714432.entry.js.map +0 -1
- package/dist/core/p-f381e93f.entry.js.map +0 -1
- package/dist/core/p-fd482bd7.entry.js +0 -2
- package/dist/core/p-fd482bd7.entry.js.map +0 -1
- package/dist/core/p-fe2c4009.entry.js +0 -2
- package/dist/core/p-fe2c4009.entry.js.map +0 -1
- /package/dist/collection/components/ic-alert/{ic-alert.e2e.js → test/basic/ic-alert.e2e.js} +0 -0
- /package/dist/collection/components/ic-back-to-top/{ic-back-to-top.test.a11y.js → test/a11y/ic-back-to-top.test.a11y.js} +0 -0
- /package/dist/collection/components/ic-back-to-top/{ic-back-to-top.e2e.js → test/basic/ic-back-to-top.e2e.js} +0 -0
- /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.js → test/basic/ic-breadcrumb-group-test-examples.js} +0 -0
- /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.e2e.js → test/basic/ic-breadcrumb-group.e2e.js} +0 -0
- /package/dist/collection/components/ic-card/{ic-card.e2e.js → test/basic/ic-card.e2e.js} +0 -0
- /package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.e2e.js → test/basic/ic-checkbox-group.e2e.js} +0 -0
- /package/dist/collection/components/ic-footer/{ic-footer.e2e.js → test/basic/ic-footer.e2e.js} +0 -0
- /package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.e2e.js → test/basic/ic-loading-indicator.e2e.js} +0 -0
- /package/dist/collection/components/ic-navigation-menu/{ic-navigation-menu.e2e.js → test/basic/ic-navigation-menu.e2e.js} +0 -0
- /package/dist/collection/components/ic-page-header/{ic-page-header.e2e.js → test/basic/ic-page-header.e2e.js} +0 -0
- /package/dist/collection/components/ic-pagination/{ic-pagination.e2e.js → test/basic/ic-pagination.e2e.js} +0 -0
- /package/dist/collection/components/ic-popover-menu/{ic-popover-menu.e2e.js → test/basic/ic-popover-menu.e2e.js} +0 -0
- /package/dist/collection/components/ic-radio-group/{ic-radio-group.e2e.js → test/basic/ic-radio-group.e2e.js} +0 -0
- /package/dist/collection/components/ic-search-bar/{ic-search-bar.e2e.js → test/basic/ic-search-bar.e2e.js} +0 -0
- /package/dist/collection/components/ic-side-navigation/{ic-side-navigation-test-examples.js → test/basic/ic-side-navigation-test-examples.js} +0 -0
- /package/dist/collection/components/ic-side-navigation/{ic-side-navigation.e2e.js → test/basic/ic-side-navigation.e2e.js} +0 -0
- /package/dist/collection/components/ic-stepper/{ic-stepper-test-examples.js → test/basic/ic-stepper-test-examples.js} +0 -0
- /package/dist/collection/components/ic-stepper/{ic-stepper.e2e.js → test/basic/ic-stepper.e2e.js} +0 -0
- /package/dist/collection/components/ic-tab/{ic-tab.e2e.js → test/basic/ic-tab.e2e.js} +0 -0
- /package/dist/collection/components/ic-tab-context/{ic-tab-context.test.a11y.js → test/a11y/ic-tab-context.test.a11y.js} +0 -0
- /package/dist/collection/components/ic-text-field/{ic-text-field.test.a11y.js → test/a11y/ic-text-field.test.a11y.js} +0 -0
- /package/dist/collection/components/ic-text-field/{ic-text-field.e2e.js → test/basic/ic-text-field.e2e.js} +0 -0
- /package/dist/collection/components/ic-theme/{ic-theme.e2e.js → test/basic/ic-theme.e2e.js} +0 -0
- /package/dist/collection/components/ic-toast/{ic-toast.e2e.js → test/basic/ic-toast.e2e.js} +0 -0
- /package/dist/collection/components/ic-tooltip/{ic-tooltip.e2e.js → test/basic/ic-tooltip.e2e.js} +0 -0
- /package/dist/collection/components/ic-top-navigation/{ic-top-navigation.mobile.e2e.js → test/basic/ic-top-navigation.mobile.e2e.js} +0 -0
- /package/dist/core/{p-e3e6308b.entry.js.map → p-add90b68.entry.js.map} +0 -0
- /package/dist/types/components/ic-alert/{ic-alert.test.a11y.d.ts → test/a11y/ic-alert.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-back-to-top/{ic-back-to-top.test.a11y.d.ts → test/a11y/ic-back-to-top.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.d.ts → test/a11y/ic-breadcrumb-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.d.ts → test/basic/ic-breadcrumb-group-test-examples.d.ts} +0 -0
- /package/dist/types/components/ic-button/{ic-button.test.a11y.d.ts → test/a11y/ic-button.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-card/{ic-card.test.a11y.d.ts → test/a11y/ic-card.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.d.ts → test/a11y/ic-checkbox-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-chip/{ic-chip.test.a11y.d.ts → test/a11y/ic-chip.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-classification-banner/{ic-classification-banner.test.a11y.d.ts → test/a11y/ic-classification-banner.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-data-entity/{ic-data-entity.test.a11y.d.ts → test/a11y/ic-data-entity.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-data-row/{ic-data-row.test.a11y.d.ts → test/a11y/ic-data-row.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-dialog/{ic-dialog.test.a11y.d.ts → test/a11y/ic-dialog.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-footer/{ic-footer.test.a11y.d.ts → test/a11y/ic-footer.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-footer-link/{ic-footer-link.test.a11y.d.ts → test/a11y/ic-footer-link.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-footer-link-group/{ic-footer-link-group.test.a11y.d.ts → test/a11y/ic-footer-link-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-hero/{ic-hero.test.a11y.d.ts → test/a11y/ic-hero.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-horizontal-scroll/{ic-horizontal-scroll.test.a11y.d.ts → test/a11y/ic-horizontal-scroll.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-link/{ic-link.test.a11y.d.ts → test/a11y/ic-link.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.d.ts → test/a11y/ic-loading-indicator.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-navigation-group/{ic-navigation-group.test.a11y.d.ts → test/a11y/ic-navigation-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-navigation-item/{ic-navigation-item.test.a11y.d.ts → test/a11y/ic-navigation-item.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-page-header/{ic-page-header.test.a11y.d.ts → test/a11y/ic-page-header.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-pagination/{ic-pagination.test.a11y.d.ts → test/a11y/ic-pagination.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-popover-menu/{ic-popover-menu.test.a11y.d.ts → test/a11y/ic-popover-menu.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-radio-group/{ic-radio-group.test.a11y.d.ts → test/a11y/ic-radio-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-search-bar/{ic-search-bar.test.a11y.d.ts → test/a11y/ic-search-bar.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-select/{ic-select.test.a11y.d.ts → test/a11y/ic-select.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-side-navigation/{ic-side-navigation.test.a11y.d.ts → test/a11y/ic-side-navigation.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-side-navigation/{ic-side-navigation-test-examples.d.ts → test/basic/ic-side-navigation-test-examples.d.ts} +0 -0
- /package/dist/types/components/ic-skeleton/{ic-skeleton.test.a11y.d.ts → test/a11y/ic-skeleton.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-status-tag/{ic-status-tag.test.a11y.d.ts → test/a11y/ic-status-tag.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-stepper/{ic-stepper.test.a11y.d.ts → test/a11y/ic-stepper.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-stepper/{ic-stepper-test-examples.d.ts → test/basic/ic-stepper-test-examples.d.ts} +0 -0
- /package/dist/types/components/ic-switch/{ic-switch.test.a11y.d.ts → test/a11y/ic-switch.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-tab-context/{ic-tab-context.test.a11y.d.ts → test/a11y/ic-tab-context.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-text-field/{ic-text-field.test.a11y.d.ts → test/a11y/ic-text-field.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-toast/{ic-toast.test.a11y.d.ts → test/a11y/ic-toast.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-tooltip/{ic-tooltip.test.a11y.d.ts → test/a11y/ic-tooltip.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-top-navigation/{ic-top-navigation.test.a11y.d.ts → test/a11y/ic-top-navigation.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-typography/{ic-typography.test.a11y.d.ts → test/a11y/ic-typography.test.a11y.d.ts} +0 -0
@@ -3,6 +3,10 @@ import { isSlotUsed, onComponentRequiredPropUndefined, renderHiddenInput, remove
|
|
3
3
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
4
4
|
export class Checkbox {
|
5
5
|
constructor() {
|
6
|
+
this.IC_TEXT_FIELD = "ic-text-field";
|
7
|
+
this.eventHandler = (event) => {
|
8
|
+
event.stopImmediatePropagation();
|
9
|
+
};
|
6
10
|
this.handleClick = () => {
|
7
11
|
this.checked = !this.checked;
|
8
12
|
this.icCheck.emit();
|
@@ -11,27 +15,30 @@ export class Checkbox {
|
|
11
15
|
this.handleFormReset = () => {
|
12
16
|
this.checked = this.initiallyChecked;
|
13
17
|
};
|
14
|
-
this.
|
18
|
+
this.additionalFieldDisplay = "static";
|
15
19
|
this.checked = false;
|
20
|
+
this.initiallyChecked = this.checked;
|
16
21
|
this.disabled = false;
|
17
|
-
this.label = undefined;
|
18
|
-
this.value = undefined;
|
19
|
-
this.name = undefined;
|
20
|
-
this.groupLabel = undefined;
|
21
22
|
this.dynamicText = "This selection requires additional answers";
|
22
|
-
this.
|
23
|
+
this.groupLabel = undefined;
|
23
24
|
this.indeterminate = false;
|
25
|
+
this.label = undefined;
|
26
|
+
this.name = undefined;
|
24
27
|
this.small = false;
|
25
|
-
this.
|
28
|
+
this.value = undefined;
|
26
29
|
}
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
30
|
+
componentWillLoad() {
|
31
|
+
var _a;
|
32
|
+
removeDisabledFalse(this.disabled, this.host);
|
33
|
+
addFormResetListener(this.host, this.handleFormReset);
|
34
|
+
(_a = this.host
|
35
|
+
.querySelector(this.IC_TEXT_FIELD)) === null || _a === void 0 ? void 0 : _a.addEventListener("icChange", this.eventHandler);
|
36
|
+
}
|
37
|
+
componentDidLoad() {
|
38
|
+
onComponentRequiredPropUndefined([
|
39
|
+
{ prop: this.label, propName: "label" },
|
40
|
+
{ prop: this.value, propName: "value" },
|
41
|
+
], "Checkbox");
|
35
42
|
}
|
36
43
|
componentDidRender() {
|
37
44
|
if (this.additionalFieldDisplay === "static") {
|
@@ -52,24 +59,20 @@ export class Checkbox {
|
|
52
59
|
}
|
53
60
|
}
|
54
61
|
}
|
55
|
-
componentWillLoad() {
|
56
|
-
var _a;
|
57
|
-
removeDisabledFalse(this.disabled, this.host);
|
58
|
-
addFormResetListener(this.host, this.handleFormReset);
|
59
|
-
(_a = this.host
|
60
|
-
.querySelector(this.IC_TEXT_FIELD)) === null || _a === void 0 ? void 0 : _a.addEventListener("icChange", (e) => e.stopImmediatePropagation());
|
61
|
-
}
|
62
|
-
componentDidLoad() {
|
63
|
-
onComponentRequiredPropUndefined([
|
64
|
-
{ prop: this.label, propName: "label" },
|
65
|
-
{ prop: this.value, propName: "value" },
|
66
|
-
], "Checkbox");
|
67
|
-
}
|
68
62
|
disconnectedCallback() {
|
69
63
|
var _a;
|
70
64
|
removeFormResetListener(this.host, this.handleFormReset);
|
71
65
|
(_a = this.host
|
72
|
-
.querySelector(this.IC_TEXT_FIELD)) === null || _a === void 0 ? void 0 : _a.removeEventListener("icChange",
|
66
|
+
.querySelector(this.IC_TEXT_FIELD)) === null || _a === void 0 ? void 0 : _a.removeEventListener("icChange", this.eventHandler);
|
67
|
+
}
|
68
|
+
/**
|
69
|
+
* Sets focus on the checkbox.
|
70
|
+
*/
|
71
|
+
async setFocus() {
|
72
|
+
const checkboxEl = this.host.shadowRoot.querySelector(".checkbox");
|
73
|
+
if (checkboxEl) {
|
74
|
+
checkboxEl.focus();
|
75
|
+
}
|
73
76
|
}
|
74
77
|
render() {
|
75
78
|
let id = `ic-checkbox-${this.label !== undefined ? this.label : this.value}-${this.groupLabel}`;
|
@@ -100,6 +103,29 @@ export class Checkbox {
|
|
100
103
|
}
|
101
104
|
static get properties() {
|
102
105
|
return {
|
106
|
+
"additionalFieldDisplay": {
|
107
|
+
"type": "string",
|
108
|
+
"mutable": false,
|
109
|
+
"complexType": {
|
110
|
+
"original": "IcAdditionalFieldTypes",
|
111
|
+
"resolved": "\"dynamic\" | \"static\"",
|
112
|
+
"references": {
|
113
|
+
"IcAdditionalFieldTypes": {
|
114
|
+
"location": "import",
|
115
|
+
"path": "../../utils/types"
|
116
|
+
}
|
117
|
+
}
|
118
|
+
},
|
119
|
+
"required": false,
|
120
|
+
"optional": false,
|
121
|
+
"docs": {
|
122
|
+
"tags": [],
|
123
|
+
"text": "The style of additionalField that will be displayed if used."
|
124
|
+
},
|
125
|
+
"attribute": "additional-field-display",
|
126
|
+
"reflect": true,
|
127
|
+
"defaultValue": "\"static\""
|
128
|
+
},
|
103
129
|
"checked": {
|
104
130
|
"type": "boolean",
|
105
131
|
"mutable": true,
|
@@ -136,7 +162,7 @@ export class Checkbox {
|
|
136
162
|
"reflect": false,
|
137
163
|
"defaultValue": "false"
|
138
164
|
},
|
139
|
-
"
|
165
|
+
"dynamicText": {
|
140
166
|
"type": "string",
|
141
167
|
"mutable": false,
|
142
168
|
"complexType": {
|
@@ -144,16 +170,17 @@ export class Checkbox {
|
|
144
170
|
"resolved": "string",
|
145
171
|
"references": {}
|
146
172
|
},
|
147
|
-
"required":
|
173
|
+
"required": false,
|
148
174
|
"optional": false,
|
149
175
|
"docs": {
|
150
176
|
"tags": [],
|
151
|
-
"text": "The
|
177
|
+
"text": "The text to be displayed when dynamic."
|
152
178
|
},
|
153
|
-
"attribute": "
|
154
|
-
"reflect": false
|
179
|
+
"attribute": "dynamic-text",
|
180
|
+
"reflect": false,
|
181
|
+
"defaultValue": "\"This selection requires additional answers\""
|
155
182
|
},
|
156
|
-
"
|
183
|
+
"groupLabel": {
|
157
184
|
"type": "string",
|
158
185
|
"mutable": false,
|
159
186
|
"complexType": {
|
@@ -161,33 +188,34 @@ export class Checkbox {
|
|
161
188
|
"resolved": "string",
|
162
189
|
"references": {}
|
163
190
|
},
|
164
|
-
"required":
|
191
|
+
"required": false,
|
165
192
|
"optional": false,
|
166
193
|
"docs": {
|
167
194
|
"tags": [],
|
168
|
-
"text": "The
|
195
|
+
"text": "The group label for the checkbox."
|
169
196
|
},
|
170
|
-
"attribute": "
|
197
|
+
"attribute": "group-label",
|
171
198
|
"reflect": false
|
172
199
|
},
|
173
|
-
"
|
174
|
-
"type": "
|
200
|
+
"indeterminate": {
|
201
|
+
"type": "boolean",
|
175
202
|
"mutable": false,
|
176
203
|
"complexType": {
|
177
|
-
"original": "
|
178
|
-
"resolved": "
|
204
|
+
"original": "boolean",
|
205
|
+
"resolved": "boolean",
|
179
206
|
"references": {}
|
180
207
|
},
|
181
208
|
"required": false,
|
182
209
|
"optional": false,
|
183
210
|
"docs": {
|
184
211
|
"tags": [],
|
185
|
-
"text": "
|
212
|
+
"text": "If `true`, the indeterminate state will be displayed when checked."
|
186
213
|
},
|
187
|
-
"attribute": "
|
188
|
-
"reflect": false
|
214
|
+
"attribute": "indeterminate",
|
215
|
+
"reflect": false,
|
216
|
+
"defaultValue": "false"
|
189
217
|
},
|
190
|
-
"
|
218
|
+
"label": {
|
191
219
|
"type": "string",
|
192
220
|
"mutable": false,
|
193
221
|
"complexType": {
|
@@ -195,16 +223,16 @@ export class Checkbox {
|
|
195
223
|
"resolved": "string",
|
196
224
|
"references": {}
|
197
225
|
},
|
198
|
-
"required":
|
226
|
+
"required": true,
|
199
227
|
"optional": false,
|
200
228
|
"docs": {
|
201
229
|
"tags": [],
|
202
|
-
"text": "The
|
230
|
+
"text": "The label for the checkbox."
|
203
231
|
},
|
204
|
-
"attribute": "
|
232
|
+
"attribute": "label",
|
205
233
|
"reflect": false
|
206
234
|
},
|
207
|
-
"
|
235
|
+
"name": {
|
208
236
|
"type": "string",
|
209
237
|
"mutable": false,
|
210
238
|
"complexType": {
|
@@ -216,36 +244,12 @@ export class Checkbox {
|
|
216
244
|
"optional": false,
|
217
245
|
"docs": {
|
218
246
|
"tags": [],
|
219
|
-
"text": "The
|
220
|
-
},
|
221
|
-
"attribute": "dynamic-text",
|
222
|
-
"reflect": false,
|
223
|
-
"defaultValue": "\"This selection requires additional answers\""
|
224
|
-
},
|
225
|
-
"additionalFieldDisplay": {
|
226
|
-
"type": "string",
|
227
|
-
"mutable": false,
|
228
|
-
"complexType": {
|
229
|
-
"original": "IcAdditionalFieldTypes",
|
230
|
-
"resolved": "\"dynamic\" | \"static\"",
|
231
|
-
"references": {
|
232
|
-
"IcAdditionalFieldTypes": {
|
233
|
-
"location": "import",
|
234
|
-
"path": "../../utils/types"
|
235
|
-
}
|
236
|
-
}
|
237
|
-
},
|
238
|
-
"required": false,
|
239
|
-
"optional": false,
|
240
|
-
"docs": {
|
241
|
-
"tags": [],
|
242
|
-
"text": "The style of additionalField that will be displayed if used."
|
247
|
+
"text": "The name for the checkbox. If not set when used in a checkbox group, the name will be based on the group name."
|
243
248
|
},
|
244
|
-
"attribute": "
|
245
|
-
"reflect":
|
246
|
-
"defaultValue": "\"static\""
|
249
|
+
"attribute": "name",
|
250
|
+
"reflect": false
|
247
251
|
},
|
248
|
-
"
|
252
|
+
"small": {
|
249
253
|
"type": "boolean",
|
250
254
|
"mutable": false,
|
251
255
|
"complexType": {
|
@@ -254,32 +258,31 @@ export class Checkbox {
|
|
254
258
|
"references": {}
|
255
259
|
},
|
256
260
|
"required": false,
|
257
|
-
"optional":
|
261
|
+
"optional": true,
|
258
262
|
"docs": {
|
259
263
|
"tags": [],
|
260
|
-
"text": "If
|
264
|
+
"text": "If true, the small styling will be applied to the checkbox."
|
261
265
|
},
|
262
|
-
"attribute": "
|
266
|
+
"attribute": "small",
|
263
267
|
"reflect": false,
|
264
268
|
"defaultValue": "false"
|
265
269
|
},
|
266
|
-
"
|
267
|
-
"type": "
|
270
|
+
"value": {
|
271
|
+
"type": "string",
|
268
272
|
"mutable": false,
|
269
273
|
"complexType": {
|
270
|
-
"original": "
|
271
|
-
"resolved": "
|
274
|
+
"original": "string",
|
275
|
+
"resolved": "string",
|
272
276
|
"references": {}
|
273
277
|
},
|
274
|
-
"required":
|
275
|
-
"optional":
|
278
|
+
"required": true,
|
279
|
+
"optional": false,
|
276
280
|
"docs": {
|
277
281
|
"tags": [],
|
278
|
-
"text": "
|
282
|
+
"text": "The value for the checkbox."
|
279
283
|
},
|
280
|
-
"attribute": "
|
281
|
-
"reflect": false
|
282
|
-
"defaultValue": "false"
|
284
|
+
"attribute": "value",
|
285
|
+
"reflect": false
|
283
286
|
}
|
284
287
|
};
|
285
288
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State,\n Method,\n} from \"@stencil/core\";\nimport { IcAdditionalFieldTypes } from \"../../utils/types\";\nimport {\n isSlotUsed,\n onComponentRequiredPropUndefined,\n renderHiddenInput,\n removeHiddenInput,\n addFormResetListener,\n removeFormResetListener,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\n\n@Component({\n tag: \"ic-checkbox\",\n styleUrl: \"ic-checkbox.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport class Checkbox {\n /**\n * If `true`, the checkbox will be set to the checked state.\n */\n @Prop({ reflect: true, mutable: true }) checked?: boolean = false;\n /**\n * If `true`, the checkbox will be set to the disabled state.\n */\n @Prop() disabled?: boolean = false;\n /**\n * The label for the checkbox.\n */\n @Prop() label!: string;\n /**\n * The value for the checkbox.\n */\n @Prop() value!: string;\n /**\n * The name for the checkbox. If not set when used in a checkbox group, the name will be based on the group name.\n */\n @Prop() name: string;\n /**\n * The group label for the checkbox.\n */\n @Prop() groupLabel: string;\n /**\n * The text to be displayed when dynamic.\n */\n @Prop() dynamicText: string = \"This selection requires additional answers\";\n /**\n * The style of additionalField that will be displayed if used.\n */\n @Prop({ reflect: true }) additionalFieldDisplay: IcAdditionalFieldTypes =\n \"static\";\n /**\n * If `true`, the indeterminate state will be displayed when checked.\n */\n @Prop() indeterminate: boolean = false;\n\n /**\n * If true, the small styling will be applied to the checkbox.\n */\n @Prop() small?: boolean = false;\n\n @State() initiallyChecked = this.checked;\n\n @Element() host: HTMLIcCheckboxElement;\n\n /**\n * @deprecated This event should not be used anymore. Use icCheck instead.\n */\n @Event() checkboxChecked: EventEmitter<void>;\n\n /**\n * Emitted when a checkbox has been checked.\n */\n @Event() icCheck: EventEmitter<void>;\n\n private additionalFieldContainer: HTMLDivElement;\n\n private handleClick = () => {\n this.checked = !this.checked;\n this.icCheck.emit();\n this.checkboxChecked.emit();\n };\n\n private handleFormReset = (): void => {\n this.checked = this.initiallyChecked;\n };\n\n /**\n * Sets focus on the checkbox.\n */\n @Method()\n async setFocus(): Promise<void> {\n const checkboxEl: HTMLElement =\n this.host.shadowRoot.querySelector(\".checkbox\");\n if (checkboxEl) {\n checkboxEl.focus();\n }\n }\n\n private IC_TEXT_FIELD: string = \"ic-text-field\";\n\n componentDidRender(): void {\n if (this.additionalFieldDisplay === \"static\") {\n const textfield = this.host.querySelector(this.IC_TEXT_FIELD);\n if (!this.checked) {\n textfield && textfield.setAttribute(\"disabled\", \"\");\n } else {\n textfield && textfield.removeAttribute(\"disabled\");\n }\n } else {\n if (!this.checked) {\n this.additionalFieldContainer.style.display = \"none\";\n } else {\n this.additionalFieldContainer.style.display = \"flex\";\n }\n }\n }\n\n componentWillLoad(): void {\n removeDisabledFalse(this.disabled, this.host);\n\n addFormResetListener(this.host, this.handleFormReset);\n this.host\n .querySelector(this.IC_TEXT_FIELD)\n ?.addEventListener(\"icChange\", (e) => e.stopImmediatePropagation());\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [\n { prop: this.label, propName: \"label\" },\n { prop: this.value, propName: \"value\" },\n ],\n \"Checkbox\"\n );\n }\n\n disconnectedCallback(): void {\n removeFormResetListener(this.host, this.handleFormReset);\n this.host\n .querySelector(this.IC_TEXT_FIELD)\n ?.removeEventListener(\"icChange\", (e) => e.stopImmediatePropagation());\n }\n\n render() {\n let id = `ic-checkbox-${\n this.label !== undefined ? this.label : this.value\n }-${this.groupLabel}`;\n\n id = id.replace(/ /g, \"-\");\n\n this.checked\n ? renderHiddenInput(\n true,\n this.host,\n this.name,\n this.checked && this.value,\n this.disabled\n )\n : removeHiddenInput(this.host);\n\n return (\n <Host class={{ [\"disabled\"]: this.disabled, [\"small\"]: this.small }}>\n <div class=\"container\">\n {this.checked && !this.indeterminate && (\n <svg\n class=\"checkmark\"\n width=\"1.5rem\"\n height=\"1.5rem\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n >\n <title>checkmark icon</title>\n <path d=\"M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z\" />\n </svg>\n )}\n {this.checked && this.indeterminate && (\n <div class=\"indeterminate-symbol\" />\n )}\n <input\n role=\"checkbox\"\n class={{\n [\"checkbox\"]: true,\n [\"checked\"]: this.checked,\n [\"indeterminate\"]: this.indeterminate,\n }}\n type=\"checkbox\"\n name={this.name}\n id={id}\n value={this.value}\n disabled={this.disabled ? true : null}\n checked={this.checked}\n indeterminate={this.indeterminate}\n onClick={this.handleClick}\n ></input>\n <ic-typography class=\"checkbox-label\" variant=\"body\">\n <label htmlFor={id}>{this.label}</label>\n </ic-typography>\n </div>\n {isSlotUsed(this.host, \"additional-field\") && (\n <div\n class=\"dynamic-container\"\n ref={(el) => (this.additionalFieldContainer = el)}\n >\n {this.additionalFieldDisplay === \"dynamic\" && (\n <div class=\"branch-corner\"></div>\n )}\n <div>\n {this.additionalFieldDisplay === \"dynamic\" && (\n <ic-typography variant=\"caption\">\n <p class=\"dynamic-text\" aria-live=\"polite\">\n {this.dynamicText}\n </p>\n </ic-typography>\n )}\n <div\n class={{\n \"additional-field-wrapper\":\n this.additionalFieldDisplay === \"static\",\n }}\n >\n <slot name=\"additional-field\"></slot>\n </div>\n </div>\n </div>\n )}\n </Host>\n );\n }\n}\n"]}
|
1
|
+
{"version":3,"file":"ic-checkbox.js","sourceRoot":"","sources":["../../../src/components/ic-checkbox/ic-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,EACJ,OAAO,EACP,KAAK,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;;;;;;;CACF","sourcesContent":["import {\n Component,\n Host,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State,\n Method,\n} from \"@stencil/core\";\nimport { IcAdditionalFieldTypes } from \"../../utils/types\";\nimport {\n isSlotUsed,\n onComponentRequiredPropUndefined,\n renderHiddenInput,\n removeHiddenInput,\n addFormResetListener,\n removeFormResetListener,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\n\n@Component({\n tag: \"ic-checkbox\",\n styleUrl: \"ic-checkbox.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport class Checkbox {\n private additionalFieldContainer: HTMLDivElement;\n private IC_TEXT_FIELD: string = \"ic-text-field\";\n\n @Element() host: HTMLIcCheckboxElement;\n\n /**\n * The style of additionalField that will be displayed if used.\n */\n @Prop({ reflect: true }) additionalFieldDisplay: IcAdditionalFieldTypes =\n \"static\";\n\n /**\n * If `true`, the checkbox will be set to the checked state.\n */\n @Prop({ reflect: true, mutable: true }) checked?: boolean = false;\n @State() initiallyChecked = this.checked;\n\n /**\n * If `true`, the checkbox will be set to the disabled state.\n */\n @Prop() disabled?: boolean = false;\n\n /**\n * The text to be displayed when dynamic.\n */\n @Prop() dynamicText: string = \"This selection requires additional answers\";\n\n /**\n * The group label for the checkbox.\n */\n @Prop() groupLabel: string;\n\n /**\n * If `true`, the indeterminate state will be displayed when checked.\n */\n @Prop() indeterminate: boolean = false;\n\n /**\n * The label for the checkbox.\n */\n @Prop() label!: string;\n\n /**\n * The name for the checkbox. If not set when used in a checkbox group, the name will be based on the group name.\n */\n @Prop() name: string;\n\n /**\n * If true, the small styling will be applied to the checkbox.\n */\n @Prop() small?: boolean = false;\n\n /**\n * The value for the checkbox.\n */\n @Prop() value!: string;\n\n /**\n * @deprecated This event should not be used anymore. Use icCheck instead.\n */\n @Event() checkboxChecked: EventEmitter<void>;\n\n /**\n * Emitted when a checkbox has been checked.\n */\n @Event() icCheck: EventEmitter<void>;\n\n componentWillLoad(): void {\n removeDisabledFalse(this.disabled, this.host);\n\n addFormResetListener(this.host, this.handleFormReset);\n this.host\n .querySelector(this.IC_TEXT_FIELD)\n ?.addEventListener(\"icChange\", this.eventHandler);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [\n { prop: this.label, propName: \"label\" },\n { prop: this.value, propName: \"value\" },\n ],\n \"Checkbox\"\n );\n }\n\n componentDidRender(): void {\n if (this.additionalFieldDisplay === \"static\") {\n const textfield = this.host.querySelector(this.IC_TEXT_FIELD);\n if (!this.checked) {\n textfield && textfield.setAttribute(\"disabled\", \"\");\n } else {\n textfield && textfield.removeAttribute(\"disabled\");\n }\n } else {\n if (!this.checked) {\n this.additionalFieldContainer.style.display = \"none\";\n } else {\n this.additionalFieldContainer.style.display = \"flex\";\n }\n }\n }\n\n disconnectedCallback(): void {\n removeFormResetListener(this.host, this.handleFormReset);\n this.host\n .querySelector(this.IC_TEXT_FIELD)\n ?.removeEventListener(\"icChange\", this.eventHandler);\n }\n\n /**\n * Sets focus on the checkbox.\n */\n @Method()\n async setFocus(): Promise<void> {\n const checkboxEl: HTMLElement =\n this.host.shadowRoot.querySelector(\".checkbox\");\n if (checkboxEl) {\n checkboxEl.focus();\n }\n }\n\n private eventHandler = (event: CustomEvent) => {\n event.stopImmediatePropagation();\n };\n\n private handleClick = () => {\n this.checked = !this.checked;\n this.icCheck.emit();\n this.checkboxChecked.emit();\n };\n\n private handleFormReset = (): void => {\n this.checked = this.initiallyChecked;\n };\n\n render() {\n let id = `ic-checkbox-${\n this.label !== undefined ? this.label : this.value\n }-${this.groupLabel}`;\n\n id = id.replace(/ /g, \"-\");\n\n this.checked\n ? renderHiddenInput(\n true,\n this.host,\n this.name,\n this.checked && this.value,\n this.disabled\n )\n : removeHiddenInput(this.host);\n\n return (\n <Host class={{ [\"disabled\"]: this.disabled, [\"small\"]: this.small }}>\n <div class=\"container\">\n {this.checked && !this.indeterminate && (\n <svg\n class=\"checkmark\"\n width=\"1.5rem\"\n height=\"1.5rem\"\n viewBox=\"0 0 24 24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n >\n <title>checkmark icon</title>\n <path d=\"M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z\" />\n </svg>\n )}\n {this.checked && this.indeterminate && (\n <div class=\"indeterminate-symbol\" />\n )}\n <input\n role=\"checkbox\"\n class={{\n [\"checkbox\"]: true,\n [\"checked\"]: this.checked,\n [\"indeterminate\"]: this.indeterminate,\n }}\n type=\"checkbox\"\n name={this.name}\n id={id}\n value={this.value}\n disabled={this.disabled ? true : null}\n checked={this.checked}\n indeterminate={this.indeterminate}\n onClick={this.handleClick}\n ></input>\n <ic-typography class=\"checkbox-label\" variant=\"body\">\n <label htmlFor={id}>{this.label}</label>\n </ic-typography>\n </div>\n {isSlotUsed(this.host, \"additional-field\") && (\n <div\n class=\"dynamic-container\"\n ref={(el) => (this.additionalFieldContainer = el)}\n >\n {this.additionalFieldDisplay === \"dynamic\" && (\n <div class=\"branch-corner\"></div>\n )}\n <div>\n {this.additionalFieldDisplay === \"dynamic\" && (\n <ic-typography variant=\"caption\">\n <p class=\"dynamic-text\" aria-live=\"polite\">\n {this.dynamicText}\n </p>\n </ic-typography>\n )}\n <div\n class={{\n \"additional-field-wrapper\":\n this.additionalFieldDisplay === \"static\",\n }}\n >\n <slot name=\"additional-field\"></slot>\n </div>\n </div>\n </div>\n )}\n </Host>\n );\n }\n}\n"]}
|
@@ -3,30 +3,16 @@ import { getInputDescribedByText, hasValidationStatus, onComponentRequiredPropUn
|
|
3
3
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
4
4
|
export class CheckboxGroup {
|
5
5
|
constructor() {
|
6
|
+
this.disabled = false;
|
7
|
+
this.helperText = "";
|
8
|
+
this.hideLabel = false;
|
6
9
|
this.label = undefined;
|
7
10
|
this.name = undefined;
|
8
11
|
this.required = false;
|
9
|
-
this.hideLabel = false;
|
10
|
-
this.disabled = false;
|
11
|
-
this.helperText = "";
|
12
12
|
this.small = false;
|
13
13
|
this.validationStatus = "";
|
14
14
|
this.validationText = "";
|
15
15
|
}
|
16
|
-
selectHandler(ev) {
|
17
|
-
const checkedOptions = Array.from(this.host.querySelectorAll("ic-checkbox")).filter((checkbox) => checkbox.checked && !checkbox.disabled);
|
18
|
-
this.icChange.emit({
|
19
|
-
value: checkedOptions.map((opt) => opt.value),
|
20
|
-
checkedOptions: checkedOptions.map((opt) => {
|
21
|
-
var _a;
|
22
|
-
return ({
|
23
|
-
checkbox: opt,
|
24
|
-
textFieldValue: (_a = opt.querySelector("ic-text-field")) === null || _a === void 0 ? void 0 : _a.value,
|
25
|
-
});
|
26
|
-
}),
|
27
|
-
selectedOption: ev.target,
|
28
|
-
});
|
29
|
-
}
|
30
16
|
componentWillLoad() {
|
31
17
|
removeDisabledFalse(this.disabled, this.host);
|
32
18
|
}
|
@@ -41,6 +27,20 @@ export class CheckboxGroup {
|
|
41
27
|
{ prop: this.name, propName: "name" },
|
42
28
|
], "Checkbox Group");
|
43
29
|
}
|
30
|
+
selectHandler(ev) {
|
31
|
+
const checkedOptions = Array.from(this.host.querySelectorAll("ic-checkbox")).filter((checkbox) => checkbox.checked && !checkbox.disabled);
|
32
|
+
this.icChange.emit({
|
33
|
+
value: checkedOptions.map((opt) => opt.value),
|
34
|
+
checkedOptions: checkedOptions.map((opt) => {
|
35
|
+
var _a;
|
36
|
+
return ({
|
37
|
+
checkbox: opt,
|
38
|
+
textFieldValue: (_a = opt.querySelector("ic-text-field")) === null || _a === void 0 ? void 0 : _a.value,
|
39
|
+
});
|
40
|
+
}),
|
41
|
+
selectedOption: ev.target,
|
42
|
+
});
|
43
|
+
}
|
44
44
|
render() {
|
45
45
|
const describedBy = getInputDescribedByText(this.name, this.helperText !== "", this.validationStatus !== "");
|
46
46
|
const hadValidationStatus = hasValidationStatus(this.validationStatus, this.disabled);
|
@@ -64,24 +64,25 @@ export class CheckboxGroup {
|
|
64
64
|
}
|
65
65
|
static get properties() {
|
66
66
|
return {
|
67
|
-
"
|
68
|
-
"type": "
|
67
|
+
"disabled": {
|
68
|
+
"type": "boolean",
|
69
69
|
"mutable": false,
|
70
70
|
"complexType": {
|
71
|
-
"original": "
|
72
|
-
"resolved": "
|
71
|
+
"original": "boolean",
|
72
|
+
"resolved": "boolean",
|
73
73
|
"references": {}
|
74
74
|
},
|
75
|
-
"required":
|
75
|
+
"required": false,
|
76
76
|
"optional": false,
|
77
77
|
"docs": {
|
78
78
|
"tags": [],
|
79
|
-
"text": "
|
79
|
+
"text": "If `true`, the checkbox group will be set to the disabled state."
|
80
80
|
},
|
81
|
-
"attribute": "
|
82
|
-
"reflect": false
|
81
|
+
"attribute": "disabled",
|
82
|
+
"reflect": false,
|
83
|
+
"defaultValue": "false"
|
83
84
|
},
|
84
|
-
"
|
85
|
+
"helperText": {
|
85
86
|
"type": "string",
|
86
87
|
"mutable": false,
|
87
88
|
"complexType": {
|
@@ -89,16 +90,17 @@ export class CheckboxGroup {
|
|
89
90
|
"resolved": "string",
|
90
91
|
"references": {}
|
91
92
|
},
|
92
|
-
"required":
|
93
|
+
"required": false,
|
93
94
|
"optional": false,
|
94
95
|
"docs": {
|
95
96
|
"tags": [],
|
96
|
-
"text": "The
|
97
|
+
"text": "The helper text that will be displayed for additional field guidance."
|
97
98
|
},
|
98
|
-
"attribute": "
|
99
|
-
"reflect": false
|
99
|
+
"attribute": "helper-text",
|
100
|
+
"reflect": false,
|
101
|
+
"defaultValue": "\"\""
|
100
102
|
},
|
101
|
-
"
|
103
|
+
"hideLabel": {
|
102
104
|
"type": "boolean",
|
103
105
|
"mutable": false,
|
104
106
|
"complexType": {
|
@@ -110,65 +112,63 @@ export class CheckboxGroup {
|
|
110
112
|
"optional": false,
|
111
113
|
"docs": {
|
112
114
|
"tags": [],
|
113
|
-
"text": "If `true`, the
|
115
|
+
"text": "If `true`, the label will be hidden and the required label value will be applied as an aria-label."
|
114
116
|
},
|
115
|
-
"attribute": "
|
117
|
+
"attribute": "hide-label",
|
116
118
|
"reflect": false,
|
117
119
|
"defaultValue": "false"
|
118
120
|
},
|
119
|
-
"
|
120
|
-
"type": "
|
121
|
+
"label": {
|
122
|
+
"type": "string",
|
121
123
|
"mutable": false,
|
122
124
|
"complexType": {
|
123
|
-
"original": "
|
124
|
-
"resolved": "
|
125
|
+
"original": "string",
|
126
|
+
"resolved": "string",
|
125
127
|
"references": {}
|
126
128
|
},
|
127
|
-
"required":
|
129
|
+
"required": true,
|
128
130
|
"optional": false,
|
129
131
|
"docs": {
|
130
132
|
"tags": [],
|
131
|
-
"text": "
|
133
|
+
"text": "The label for the checkbox group to be displayed."
|
132
134
|
},
|
133
|
-
"attribute": "
|
134
|
-
"reflect": false
|
135
|
-
"defaultValue": "false"
|
135
|
+
"attribute": "label",
|
136
|
+
"reflect": false
|
136
137
|
},
|
137
|
-
"
|
138
|
-
"type": "
|
138
|
+
"name": {
|
139
|
+
"type": "string",
|
139
140
|
"mutable": false,
|
140
141
|
"complexType": {
|
141
|
-
"original": "
|
142
|
-
"resolved": "
|
142
|
+
"original": "string",
|
143
|
+
"resolved": "string",
|
143
144
|
"references": {}
|
144
145
|
},
|
145
|
-
"required":
|
146
|
+
"required": true,
|
146
147
|
"optional": false,
|
147
148
|
"docs": {
|
148
149
|
"tags": [],
|
149
|
-
"text": "
|
150
|
+
"text": "The name for the checkbox group to differentiate from other groups."
|
150
151
|
},
|
151
|
-
"attribute": "
|
152
|
-
"reflect": false
|
153
|
-
"defaultValue": "false"
|
152
|
+
"attribute": "name",
|
153
|
+
"reflect": false
|
154
154
|
},
|
155
|
-
"
|
156
|
-
"type": "
|
155
|
+
"required": {
|
156
|
+
"type": "boolean",
|
157
157
|
"mutable": false,
|
158
158
|
"complexType": {
|
159
|
-
"original": "
|
160
|
-
"resolved": "
|
159
|
+
"original": "boolean",
|
160
|
+
"resolved": "boolean",
|
161
161
|
"references": {}
|
162
162
|
},
|
163
163
|
"required": false,
|
164
164
|
"optional": false,
|
165
165
|
"docs": {
|
166
166
|
"tags": [],
|
167
|
-
"text": "
|
167
|
+
"text": "If `true`, the checkbox group will require a value."
|
168
168
|
},
|
169
|
-
"attribute": "
|
169
|
+
"attribute": "required",
|
170
170
|
"reflect": false,
|
171
|
-
"defaultValue": "
|
171
|
+
"defaultValue": "false"
|
172
172
|
},
|
173
173
|
"small": {
|
174
174
|
"type": "boolean",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ic-checkbox-group.js","sourceRoot":"","sources":["../../../src/components/ic-checkbox-group/ic-checkbox-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,EACJ,MAAM,EACN,OAAO,EACP,KAAK,GAEN,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,gCAAgC,EAChC,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAS7B,6DAA6D;AAC7D,MAAM,OAAO,aAAa
|
1
|
+
{"version":3,"file":"ic-checkbox-group.js","sourceRoot":"","sources":["../../../src/components/ic-checkbox-group/ic-checkbox-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,EACJ,MAAM,EACN,OAAO,EACP,KAAK,GAEN,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,gCAAgC,EAChC,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAS7B,6DAA6D;AAC7D,MAAM,OAAO,aAAa;;oBAMI,KAAK;sBAKJ,EAAE;qBAKF,KAAK;;;oBAeN,KAAK;iBAKR,KAAK;4BAKyB,EAAE;0BAKxB,EAAE;;EAOnC,iBAAiB;IACf,mBAAmB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;EAChD,CAAC;EAED,gBAAgB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C,QAAQ,EACvB,GAAG,EAAE,IAAI,CAAC,IAAI,GACE,CACX,CACV;QACD,WAAK,KAAK,EAAC,sBAAsB;UAC/B,eAAa,CACT,CACG;MACV,mBAAmB,IAAI,CACtB,2BACE,GAAG,EAAE,IAAI,CAAC,IAAI,EACd,YAAY,EAAC,QAAQ,EACrB,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAC7B,OAAO,EAAE,IAAI,CAAC,cAAc,GACP,CACxB,CACI,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Host,\n h,\n Prop,\n Listen,\n Element,\n Event,\n EventEmitter,\n} from \"@stencil/core\";\nimport {\n getInputDescribedByText,\n hasValidationStatus,\n onComponentRequiredPropUndefined,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\nimport { IcInformationStatusOrEmpty } from \"../../utils/types\";\nimport { IcChangeEventDetail } from \"./ic-checkbox-group.types\";\n\n@Component({\n tag: \"ic-checkbox-group\",\n styleUrl: \"ic-checkbox-group.css\",\n shadow: true,\n})\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport class CheckboxGroup {\n @Element() host: HTMLIcCheckboxGroupElement;\n\n /**\n * If `true`, the checkbox group will be set to the disabled state.\n */\n @Prop() disabled: boolean = false;\n\n /**\n * The helper text that will be displayed for additional field guidance.\n */\n @Prop() helperText: string = \"\";\n\n /**\n * If `true`, the label will be hidden and the required label value will be applied as an aria-label.\n */\n @Prop() hideLabel: boolean = false;\n\n /**\n * The label for the checkbox group to be displayed.\n */\n @Prop() label!: string;\n\n /**\n * The name for the checkbox group to differentiate from other groups.\n */\n @Prop() name!: string;\n\n /**\n * If `true`, the checkbox group will require a value.\n */\n @Prop() required: boolean = false;\n\n /**\n * If `true`, the small styling will be applied to the checkbox group.\n */\n @Prop() small: boolean = false;\n\n /**\n * The validation status - e.g. 'error' | 'warning' | 'success'.\n */\n @Prop() validationStatus: IcInformationStatusOrEmpty = \"\";\n\n /**\n * The validation text - e.g. 'error' | 'warning' | 'success'.\n */\n @Prop() validationText: string = \"\";\n\n /**\n * Emitted when a checkbox is checked.\n */\n @Event() icChange: EventEmitter<IcChangeEventDetail>;\n\n componentWillLoad(): void {\n removeDisabledFalse(this.disabled, this.host);\n }\n\n componentDidLoad(): void {\n Array.from(this.host.querySelectorAll(\"ic-checkbox\")).forEach(\n (checkbox) => {\n if (!checkbox.name) checkbox.name = this.name;\n checkbox.groupLabel = this.label;\n }\n );\n\n onComponentRequiredPropUndefined(\n [\n { prop: this.label, propName: \"label\" },\n { prop: this.name, propName: \"name\" },\n ],\n \"Checkbox Group\"\n );\n }\n\n @Listen(\"icCheck\")\n selectHandler(ev: CustomEvent): void {\n const checkedOptions = Array.from(\n this.host.querySelectorAll(\"ic-checkbox\")\n ).filter((checkbox) => checkbox.checked && !checkbox.disabled);\n this.icChange.emit({\n value: checkedOptions.map((opt) => opt.value),\n checkedOptions: checkedOptions.map((opt) => ({\n checkbox: opt,\n textFieldValue: opt.querySelector(\"ic-text-field\")?.value,\n })),\n selectedOption: ev.target as HTMLIcCheckboxElement,\n });\n }\n\n render() {\n const describedBy = getInputDescribedByText(\n this.name,\n this.helperText !== \"\",\n this.validationStatus !== \"\"\n );\n const hadValidationStatus = hasValidationStatus(\n this.validationStatus,\n this.disabled\n );\n\n return (\n <Host class={{ [\"small\"]: this.small }}>\n {(this.validationStatus === \"error\" ||\n this.required ||\n this.hideLabel) && (\n <span\n id=\"screenReaderOnlyText\"\n class=\"screen-reader-only-text\"\n aria-hidden=\"true\"\n >\n {this.label}{\" \"}\n {this.validationStatus === \"error\" ? \"invalid data \" : null}{\" \"}\n {this.required ? \"required\" : null}\n </span>\n )}\n <fieldset\n id={this.name}\n aria-labelledby={`${\n this.validationStatus === \"error\" || this.required || this.hideLabel\n ? \"screenReaderOnlyText\"\n : \"\"\n } ${describedBy}`.trim()}\n disabled={this.disabled}\n >\n {!this.hideLabel && (\n <legend>\n <ic-input-label\n class={{ [`${this.validationStatus}`]: true }}\n label={this.label}\n helperText={this.helperText}\n required={this.required}\n disabled={this.disabled}\n for={this.name}\n ></ic-input-label>\n </legend>\n )}\n <div class=\"checkboxes-container\">\n <slot></slot>\n </div>\n </fieldset>\n {hadValidationStatus && (\n <ic-input-validation\n for={this.name}\n ariaLiveMode=\"polite\"\n status={this.validationStatus}\n message={this.validationText}\n ></ic-input-validation>\n )}\n </Host>\n );\n }\n}\n"]}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { fixture } from "@open-wc/testing-helpers";
|
2
2
|
import { axe } from "jest-axe";
|
3
|
-
import { checkShadowElementRendersCorrectly } from "
|
3
|
+
import { checkShadowElementRendersCorrectly } from "../../../../utils/testa11y.helpers";
|
4
4
|
describe("ic-checkbox-group", () => {
|
5
5
|
it("passes accessibility", async () => {
|
6
6
|
const el = await fixture(`<ic-checkbox-group label="this is a test label" name="test">
|
package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-checkbox-group.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;EACjC,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,EAAE,GAAG,MAAM,OAAO,CACtB;;;;;2BAKqB,CACtB,CAAC;IACF,kCAAkC,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;EAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { fixture } from \"@open-wc/testing-helpers\";\nimport { axe } from \"jest-axe\";\nimport { checkShadowElementRendersCorrectly } from \"../../../../utils/testa11y.helpers\";\n\ndescribe(\"ic-checkbox-group\", () => {\n it(\"passes accessibility\", async () => {\n const el = await fixture(\n `<ic-checkbox-group label=\"this is a test label\" name=\"test\">\n <ic-checkbox\n value=\"testValue1\"\n label=\"test label\">\n </ic-checkbox>\n </ic-checkbox-group>`\n );\n checkShadowElementRendersCorrectly(el);\n expect(await axe(el)).toHaveNoViolations();\n });\n});\n"]}
|