@ukic/web-components 3.24.0 → 3.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +16 -8
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-horizontal.cjs.entry.js +5 -5
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
- package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-hero.cjs.entry.js +4 -4
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +5 -5
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +8 -8
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +5 -5
- package/dist/cjs/ic-layout-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-layout-grid.cjs.entry.js +2 -2
- package/dist/cjs/ic-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +4 -4
- package/dist/cjs/ic-page-header.cjs.entry.js +6 -6
- package/dist/cjs/ic-pagination-bar.cjs.entry.js +5 -5
- package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination_3.cjs.entry.js +24 -24
- package/dist/cjs/ic-popover-menu.cjs.entry.js +4 -4
- package/dist/cjs/ic-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-radio-option.cjs.entry.js +4 -4
- package/dist/cjs/ic-search-bar.cjs.entry.js +9 -9
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-side-navigation.cjs.entry.js +4 -4
- package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-status-tag.cjs.entry.js +2 -2
- package/dist/cjs/ic-step.cjs.entry.js +13 -13
- package/dist/cjs/ic-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ic-switch.cjs.entry.js +6 -8
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ic-theme.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +5 -5
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/ic-top-navigation.cjs.entry.js +12 -8
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js +5 -5
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +4 -4
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +2 -2
- package/dist/collection/components/ic-data-list/ic-data-list.js +2 -2
- package/dist/collection/components/ic-data-row/ic-data-row.js +2 -2
- package/dist/collection/components/ic-dialog/ic-dialog.js +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +2 -2
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -2
- package/dist/collection/components/ic-hero/ic-hero.js +4 -4
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +5 -5
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +3 -3
- package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
- package/dist/collection/components/ic-input-label/ic-input-label.js +2 -2
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +3 -3
- package/dist/collection/components/ic-layout-grid/ic-layout-grid.js +2 -2
- package/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.js +2 -2
- package/dist/collection/components/ic-link/ic-link.js +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +5 -5
- package/dist/collection/components/ic-menu/ic-menu.js +3 -3
- package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +1 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -4
- package/dist/collection/components/ic-page-header/ic-page-header.js +6 -6
- package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +5 -5
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +4 -4
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +4 -4
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -4
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +10 -10
- package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
- package/dist/collection/components/ic-select/ic-select.js +15 -15
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +4 -4
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
- package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
- package/dist/collection/components/ic-step/ic-step.js +13 -13
- package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
- package/dist/collection/components/ic-switch/ic-switch.css +108 -43
- package/dist/collection/components/ic-switch/ic-switch.js +9 -11
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.stories.js +8 -4
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
- package/dist/collection/components/ic-text-field/ic-text-field.js +5 -5
- package/dist/collection/components/ic-theme/ic-theme.js +1 -1
- package/dist/collection/components/ic-toast/ic-toast.js +5 -5
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +21 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +33 -3
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.stories.js +128 -6
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +33 -9
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.stories.js +26 -0
- package/dist/collection/components/ic-typography/ic-typography.js +2 -2
- package/dist/components/helpers.js +1 -1
- package/dist/components/ic-action-chip.js +1 -1
- package/dist/components/ic-alert.js +1 -1
- package/dist/components/ic-card-horizontal.js +6 -6
- package/dist/components/ic-card-vertical.js +1 -1
- package/dist/components/ic-checkbox-group.js +2 -2
- package/dist/components/ic-checkbox.js +4 -4
- package/dist/components/ic-chip.js +1 -1
- package/dist/components/ic-data-list.js +2 -2
- package/dist/components/ic-data-row.js +2 -2
- package/dist/components/ic-dialog.js +1 -1
- package/dist/components/ic-empty-state.js +3 -3
- package/dist/components/ic-footer-link.js +2 -2
- package/dist/components/ic-footer.js +1 -1
- package/dist/components/ic-hero.js +5 -5
- package/dist/components/ic-horizontal-scroll2.js +5 -5
- package/dist/components/ic-input-component-container2.js +4 -4
- package/dist/components/ic-input-container2.js +2 -2
- package/dist/components/ic-input-label2.js +2 -2
- package/dist/components/ic-input-validation2.js +3 -3
- package/dist/components/ic-layout-grid-item.js +2 -2
- package/dist/components/ic-layout-grid.js +2 -2
- package/dist/components/ic-link2.js +1 -1
- package/dist/components/ic-loading-indicator2.js +5 -5
- package/dist/components/ic-menu-group.js +1 -1
- package/dist/components/ic-menu2.js +3 -3
- package/dist/components/ic-navigation-group.js +1 -1
- package/dist/components/ic-navigation-menu2.js +4 -4
- package/dist/components/ic-page-header.js +6 -6
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-bar.js +5 -5
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-pagination2.js +4 -4
- package/dist/components/ic-popover-menu.js +4 -4
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +4 -4
- package/dist/components/ic-radio-option.js +4 -4
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +9 -9
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-select2.js +15 -15
- package/dist/components/ic-side-navigation.js +5 -5
- package/dist/components/ic-skeleton.js +2 -2
- package/dist/components/ic-skip-link.js +2 -2
- package/dist/components/ic-status-tag.js +2 -2
- package/dist/components/ic-step.js +13 -13
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +2 -2
- package/dist/components/ic-switch.js +6 -8
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +1 -1
- package/dist/components/ic-tab-group.js +2 -2
- package/dist/components/ic-tab-panel.js +2 -2
- package/dist/components/ic-text-field2.js +5 -5
- package/dist/components/ic-theme.js +1 -1
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast.js +5 -5
- package/dist/components/ic-toggle-button-group.js +2 -2
- package/dist/components/ic-toggle-button.js +2 -2
- package/dist/components/ic-tooltip2.js +13 -4
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +13 -8
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +2 -2
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-be0010c0.entry.js → p-023cf5d9.entry.js} +2 -2
- package/dist/core/{p-46e5a58b.entry.js → p-12474095.entry.js} +2 -2
- package/dist/core/p-12474095.entry.js.map +1 -0
- package/dist/core/{p-52be32d7.entry.js → p-171a19bf.entry.js} +3 -3
- package/dist/core/p-171a19bf.entry.js.map +1 -0
- package/dist/core/{p-9da03270.entry.js → p-1cfaa962.entry.js} +2 -2
- package/dist/core/{p-1bacfc3c.entry.js → p-23fb87be.entry.js} +2 -2
- package/dist/core/{p-2a1faef2.entry.js → p-2424f82f.entry.js} +2 -2
- package/dist/core/{p-5d01fefb.entry.js → p-243ae8fe.entry.js} +2 -2
- package/dist/core/{p-aad03a3c.entry.js → p-271ee0bc.entry.js} +2 -2
- package/dist/core/{p-27540e3e.entry.js → p-343670b4.entry.js} +2 -2
- package/dist/core/{p-574ef8c9.entry.js → p-3da9774b.entry.js} +2 -2
- package/dist/core/{p-111abe0f.entry.js → p-3ee66d00.entry.js} +2 -2
- package/dist/core/{p-884af70c.entry.js → p-406647b8.entry.js} +2 -2
- package/dist/core/{p-ee63aaf8.entry.js → p-526dd099.entry.js} +2 -2
- package/dist/core/{p-b2aef77d.entry.js → p-5fc0dc36.entry.js} +2 -2
- package/dist/core/{p-ba80d403.entry.js → p-61799a8b.entry.js} +2 -2
- package/dist/core/{p-7410fde3.entry.js → p-6b5edd6b.entry.js} +2 -2
- package/dist/core/{p-2e15136e.entry.js → p-70ca7796.entry.js} +2 -2
- package/dist/core/{p-570d763b.entry.js → p-72f52f20.entry.js} +2 -2
- package/dist/core/{p-f82baa04.entry.js → p-74a3a450.entry.js} +2 -2
- package/dist/core/{p-c156e6e9.entry.js → p-796fc111.entry.js} +2 -2
- package/dist/core/{p-b52c44eb.entry.js → p-85232cec.entry.js} +2 -2
- package/dist/core/{p-b5e683d0.entry.js → p-85ac0d78.entry.js} +2 -2
- package/dist/core/{p-b4e8e438.entry.js → p-8fc5e9f9.entry.js} +2 -2
- package/dist/core/{p-fe9c3f6e.entry.js → p-9267c160.entry.js} +2 -2
- package/dist/core/{p-b431dd8a.entry.js → p-970e190c.entry.js} +2 -2
- package/dist/core/p-98dee727.entry.js +2 -0
- package/dist/core/p-98dee727.entry.js.map +1 -0
- package/dist/core/{p-4613f697.entry.js → p-99b20121.entry.js} +2 -2
- package/dist/core/{p-59c5265c.entry.js → p-a7c263bd.entry.js} +2 -2
- package/dist/core/{p-4e59d889.entry.js → p-ab104baa.entry.js} +2 -2
- package/dist/core/{p-9502fb86.entry.js → p-b58fb588.entry.js} +2 -2
- package/dist/core/p-bb52e752.entry.js +2 -0
- package/dist/core/p-bb52e752.entry.js.map +1 -0
- package/dist/core/{p-6183ad85.entry.js → p-c0b70c08.entry.js} +2 -2
- package/dist/core/{p-66bfff48.entry.js → p-c41fd2cf.entry.js} +2 -2
- package/dist/core/{p-c9fbad60.entry.js → p-c82c2362.entry.js} +2 -2
- package/dist/core/{p-174a70c4.entry.js → p-ca64b7ba.entry.js} +2 -2
- package/dist/core/{p-cad23b7d.entry.js → p-cd963de6.entry.js} +2 -2
- package/dist/core/{p-83578f1d.entry.js → p-cf87b6db.entry.js} +2 -2
- package/dist/core/{p-dbb1370f.entry.js → p-d0d324b4.entry.js} +2 -2
- package/dist/core/{p-ea890d3d.entry.js → p-d0dd9f2c.entry.js} +2 -2
- package/dist/core/{p-5976de6e.entry.js → p-d1220d2a.entry.js} +2 -2
- package/dist/core/{p-56de4f4b.entry.js → p-d7c6fc8d.entry.js} +2 -2
- package/dist/core/{p-c14ec3e2.entry.js → p-e5266c19.entry.js} +2 -2
- package/dist/core/{p-e8e45d88.entry.js → p-ec1ea1a7.entry.js} +2 -2
- package/dist/core/{p-a6ebe253.entry.js → p-ef96e1aa.entry.js} +2 -2
- package/dist/core/{p-571404d0.entry.js → p-fd9ea62a.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/ic-button_3.entry.js +17 -9
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-horizontal.entry.js +5 -5
- package/dist/esm/ic-checkbox-group.entry.js +2 -2
- package/dist/esm/ic-checkbox.entry.js +4 -4
- package/dist/esm/ic-data-list.entry.js +2 -2
- package/dist/esm/ic-data-row.entry.js +2 -2
- package/dist/esm/ic-dialog.entry.js +1 -1
- package/dist/esm/ic-empty-state.entry.js +2 -2
- package/dist/esm/ic-footer-link.entry.js +2 -2
- package/dist/esm/ic-hero.entry.js +4 -4
- package/dist/esm/ic-horizontal-scroll.entry.js +5 -5
- package/dist/esm/ic-input-component-container_3.entry.js +8 -8
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +5 -5
- package/dist/esm/ic-layout-grid-item.entry.js +2 -2
- package/dist/esm/ic-layout-grid.entry.js +2 -2
- package/dist/esm/ic-link.entry.js +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-navigation-group.entry.js +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +4 -4
- package/dist/esm/ic-page-header.entry.js +6 -6
- package/dist/esm/ic-pagination-bar.entry.js +5 -5
- package/dist/esm/ic-pagination-item.entry.js +1 -1
- package/dist/esm/ic-pagination_3.entry.js +24 -24
- package/dist/esm/ic-popover-menu.entry.js +4 -4
- package/dist/esm/ic-radio-group.entry.js +4 -4
- package/dist/esm/ic-radio-option.entry.js +4 -4
- package/dist/esm/ic-search-bar.entry.js +9 -9
- package/dist/esm/ic-section-container.entry.js +2 -2
- package/dist/esm/ic-side-navigation.entry.js +4 -4
- package/dist/esm/ic-skeleton.entry.js +2 -2
- package/dist/esm/ic-skip-link.entry.js +2 -2
- package/dist/esm/ic-status-tag.entry.js +2 -2
- package/dist/esm/ic-step.entry.js +13 -13
- package/dist/esm/ic-stepper.entry.js +2 -2
- package/dist/esm/ic-switch.entry.js +6 -8
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +1 -1
- package/dist/esm/ic-tab-group.entry.js +2 -2
- package/dist/esm/ic-tab-panel.entry.js +2 -2
- package/dist/esm/ic-theme.entry.js +1 -1
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +5 -5
- package/dist/esm/ic-toggle-button-group.entry.js +2 -2
- package/dist/esm/ic-toggle-button.entry.js +2 -2
- package/dist/esm/ic-top-navigation.entry.js +12 -8
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-switch/ic-switch.d.ts +2 -2
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +8 -0
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +4 -1
- package/dist/types/components.d.ts +20 -4
- package/hydrate/index.js +194 -179
- package/hydrate/index.mjs +194 -179
- package/package.json +9 -8
- package/vscode-data.json +15 -4
- package/dist/core/p-46e5a58b.entry.js.map +0 -1
- package/dist/core/p-52be32d7.entry.js.map +0 -1
- package/dist/core/p-75bf2d00.entry.js +0 -2
- package/dist/core/p-75bf2d00.entry.js.map +0 -1
- package/dist/core/p-cc3cda99.entry.js +0 -2
- package/dist/core/p-cc3cda99.entry.js.map +0 -1
- /package/dist/core/{p-be0010c0.entry.js.map → p-023cf5d9.entry.js.map} +0 -0
- /package/dist/core/{p-9da03270.entry.js.map → p-1cfaa962.entry.js.map} +0 -0
- /package/dist/core/{p-1bacfc3c.entry.js.map → p-23fb87be.entry.js.map} +0 -0
- /package/dist/core/{p-2a1faef2.entry.js.map → p-2424f82f.entry.js.map} +0 -0
- /package/dist/core/{p-5d01fefb.entry.js.map → p-243ae8fe.entry.js.map} +0 -0
- /package/dist/core/{p-aad03a3c.entry.js.map → p-271ee0bc.entry.js.map} +0 -0
- /package/dist/core/{p-27540e3e.entry.js.map → p-343670b4.entry.js.map} +0 -0
- /package/dist/core/{p-574ef8c9.entry.js.map → p-3da9774b.entry.js.map} +0 -0
- /package/dist/core/{p-111abe0f.entry.js.map → p-3ee66d00.entry.js.map} +0 -0
- /package/dist/core/{p-884af70c.entry.js.map → p-406647b8.entry.js.map} +0 -0
- /package/dist/core/{p-ee63aaf8.entry.js.map → p-526dd099.entry.js.map} +0 -0
- /package/dist/core/{p-b2aef77d.entry.js.map → p-5fc0dc36.entry.js.map} +0 -0
- /package/dist/core/{p-ba80d403.entry.js.map → p-61799a8b.entry.js.map} +0 -0
- /package/dist/core/{p-7410fde3.entry.js.map → p-6b5edd6b.entry.js.map} +0 -0
- /package/dist/core/{p-2e15136e.entry.js.map → p-70ca7796.entry.js.map} +0 -0
- /package/dist/core/{p-570d763b.entry.js.map → p-72f52f20.entry.js.map} +0 -0
- /package/dist/core/{p-f82baa04.entry.js.map → p-74a3a450.entry.js.map} +0 -0
- /package/dist/core/{p-c156e6e9.entry.js.map → p-796fc111.entry.js.map} +0 -0
- /package/dist/core/{p-b52c44eb.entry.js.map → p-85232cec.entry.js.map} +0 -0
- /package/dist/core/{p-b5e683d0.entry.js.map → p-85ac0d78.entry.js.map} +0 -0
- /package/dist/core/{p-b4e8e438.entry.js.map → p-8fc5e9f9.entry.js.map} +0 -0
- /package/dist/core/{p-fe9c3f6e.entry.js.map → p-9267c160.entry.js.map} +0 -0
- /package/dist/core/{p-b431dd8a.entry.js.map → p-970e190c.entry.js.map} +0 -0
- /package/dist/core/{p-4613f697.entry.js.map → p-99b20121.entry.js.map} +0 -0
- /package/dist/core/{p-59c5265c.entry.js.map → p-a7c263bd.entry.js.map} +0 -0
- /package/dist/core/{p-4e59d889.entry.js.map → p-ab104baa.entry.js.map} +0 -0
- /package/dist/core/{p-9502fb86.entry.js.map → p-b58fb588.entry.js.map} +0 -0
- /package/dist/core/{p-6183ad85.entry.js.map → p-c0b70c08.entry.js.map} +0 -0
- /package/dist/core/{p-66bfff48.entry.js.map → p-c41fd2cf.entry.js.map} +0 -0
- /package/dist/core/{p-c9fbad60.entry.js.map → p-c82c2362.entry.js.map} +0 -0
- /package/dist/core/{p-174a70c4.entry.js.map → p-ca64b7ba.entry.js.map} +0 -0
- /package/dist/core/{p-cad23b7d.entry.js.map → p-cd963de6.entry.js.map} +0 -0
- /package/dist/core/{p-83578f1d.entry.js.map → p-cf87b6db.entry.js.map} +0 -0
- /package/dist/core/{p-dbb1370f.entry.js.map → p-d0d324b4.entry.js.map} +0 -0
- /package/dist/core/{p-ea890d3d.entry.js.map → p-d0dd9f2c.entry.js.map} +0 -0
- /package/dist/core/{p-5976de6e.entry.js.map → p-d1220d2a.entry.js.map} +0 -0
- /package/dist/core/{p-56de4f4b.entry.js.map → p-d7c6fc8d.entry.js.map} +0 -0
- /package/dist/core/{p-c14ec3e2.entry.js.map → p-e5266c19.entry.js.map} +0 -0
- /package/dist/core/{p-e8e45d88.entry.js.map → p-ec1ea1a7.entry.js.map} +0 -0
- /package/dist/core/{p-a6ebe253.entry.js.map → p-ef96e1aa.entry.js.map} +0 -0
- /package/dist/core/{p-571404d0.entry.js.map → p-fd9ea62a.entry.js.map} +0 -0
|
@@ -527,39 +527,39 @@ export class SearchBar {
|
|
|
527
527
|
const menuRendered = menuOpen && value.length >= charactersUntilSuggestion;
|
|
528
528
|
const labelValue = getLabelFromValue(value, options, valueField, labelField);
|
|
529
529
|
renderHiddenInput(this.el, value, name, disabledMode);
|
|
530
|
-
return (h(Host, { key: '
|
|
530
|
+
return (h(Host, { key: 'f9ec3f2c47607e817cf0352546d0f72653b433ae', class: {
|
|
531
531
|
"ic-search-bar-search": true,
|
|
532
532
|
"ic-search-bar-full-width": fullWidth,
|
|
533
533
|
"ic-search-bar-disabled": disabled,
|
|
534
534
|
"ic-search-bar-small": size === "small",
|
|
535
535
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
536
|
-
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, h("ic-input-container", { key: '
|
|
536
|
+
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, h("ic-input-container", { key: 'fde0dc358fd80f81d23927eb18b6bd73e9694bcc', readonly: readonly, disabled: disabledMode }, !hideLabel && (h("ic-input-label", { key: '3c2a138a07c5a637842bf0330a857cd8a4c05be5', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledMode && !readonly, readonly: readonly }, h("slot", { key: '4e5d465c5f4486826f3a634a4dd5ed2ecf01b249', name: "helper-text", slot: "helper-text" }))), h("ic-input-component-container", { key: '62ad9581a1280af102d990de7fcac4055f800bec', ref: (el) => (this.anchorEl = el), size: size, disabled: disabledMode, readonly: readonly, fullWidth: fullWidth }, h("input", { key: '196cad9c551d68276d99af9a60bd07a141130bd9', id: inputId, name: name, ref: (el) => (this.inputEl = el), value: options && !!labelValue ? labelValue : value, class: {
|
|
537
537
|
"no-left-pad": readonly,
|
|
538
538
|
readonly,
|
|
539
539
|
"truncate-value": truncateValue,
|
|
540
|
-
}, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": hideLabel ? label : undefined, "aria-activedescendant": ariaActiveDescendant, "aria-expanded": options.length > 0 && menuRendered ? `${menuOpen}` : undefined, "aria-owns": menuRendered ? menuId : undefined, "aria-describedby": describedById, "aria-controls": menuRendered ? menuId : undefined, "aria-haspopup": options.length > 0 ? "listbox" : undefined, "aria-autocomplete": hasSuggestedSearch ? "list" : undefined, role: options.length > 0 && menuRendered ? "combobox" : undefined, autocomplete: autocomplete, autocapitalize: autocapitalize, autoFocus: autofocus, spellcheck: spellcheck, inputmode: "search" }), h("div", { key: '
|
|
540
|
+
}, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": hideLabel ? label : undefined, "aria-activedescendant": ariaActiveDescendant, "aria-expanded": options.length > 0 && menuRendered ? `${menuOpen}` : undefined, "aria-owns": menuRendered ? menuId : undefined, "aria-describedby": describedById, "aria-controls": menuRendered ? menuId : undefined, "aria-haspopup": options.length > 0 ? "listbox" : undefined, "aria-autocomplete": hasSuggestedSearch ? "list" : undefined, role: options.length > 0 && menuRendered ? "combobox" : undefined, autocomplete: autocomplete, autocapitalize: autocapitalize, autoFocus: autofocus, spellcheck: spellcheck, inputmode: "search" }), h("div", { key: '94889d1ffab13321ea522704aacd7ebf0e0c3d00', class: {
|
|
541
541
|
"clear-button-container": true,
|
|
542
542
|
"clear-button-visible": !!value && !disabledMode && showClearButton,
|
|
543
|
-
} }, h("ic-button", { key: '
|
|
543
|
+
} }, h("ic-button", { key: 'd0a3c5b6288c249ba8be2a4bcbbd2a33f1a30025', id: "clear-button", class: {
|
|
544
544
|
"clear-button": true,
|
|
545
545
|
"clear-button-unfocused": !clearButtonFocused,
|
|
546
|
-
}, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "button", variant: "icon-tertiary", theme: clearButtonFocused ? "light" : "dark" }), h("div", { key: '
|
|
546
|
+
}, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "button", variant: "icon-tertiary", theme: clearButtonFocused ? "light" : "dark" }), h("div", { key: '3965e828aba0dd8f88051ec717c7fafcb237a271', class: "divider" })), h("div", { key: 'c143dbc227dce558f5f87e1e2f7e3a014b9d250c', class: {
|
|
547
547
|
"search-submit-button-container": true,
|
|
548
548
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
|
549
|
-
} }, h("ic-button", { key: '
|
|
549
|
+
} }, h("ic-button", { key: '98e79886a69703ab39c8d6f5f97c147fb406870d', id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
|
|
550
550
|
"search-submit-button": true,
|
|
551
551
|
"search-submit-button-small": size === "small",
|
|
552
552
|
"search-submit-button-unfocused": !searchSubmitFocused,
|
|
553
553
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
|
554
|
-
}, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: searchButtonType, variant: "icon-tertiary", theme: searchSubmitFocused ? "light" : "dark" }))), h("div", { key: '
|
|
554
|
+
}, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: searchButtonType, variant: "icon-tertiary", theme: searchSubmitFocused ? "light" : "dark" }))), h("div", { key: '4b0377230ac437eda9f5674876e87a7a72a0779c', class: {
|
|
555
555
|
"menu-container": true,
|
|
556
556
|
fullwidth: fullWidth,
|
|
557
|
-
} }, menuRendered && this.anchorEl && this.inputEl && (h("ic-menu", { key: '
|
|
557
|
+
} }, menuRendered && this.anchorEl && this.inputEl && (h("ic-menu", { key: '8be3e2accba616f85a408e8c82304433e98f7715', class: {
|
|
558
558
|
"no-results": this.hadNoOptions() ||
|
|
559
559
|
(filteredOptions.length === 1 &&
|
|
560
560
|
(filteredOptions[0][labelField] === loadingLabel ||
|
|
561
561
|
filteredOptions[0][labelField] === loadingErrorLabel)),
|
|
562
|
-
}, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), fullWidth: fullWidth, menuId: menuId, open: true, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: labelField, valueField: valueField, searchBar: true })))), h("div", { key: '
|
|
562
|
+
}, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), fullWidth: fullWidth, menuId: menuId, open: true, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: labelField, valueField: valueField, searchBar: true })))), h("div", { key: '09953fbff84f3e27a6522da365ef49e96b21fa62', "aria-live": "polite", role: "status", class: "search-results-status" })));
|
|
563
563
|
}
|
|
564
564
|
static get is() { return "ic-search-bar"; }
|
|
565
565
|
static get encapsulation() { return "shadow"; }
|
|
@@ -601,7 +601,7 @@ export class SearchBar {
|
|
|
601
601
|
"mutable": false,
|
|
602
602
|
"complexType": {
|
|
603
603
|
"original": "IcAutocompleteTypes",
|
|
604
|
-
"resolved": "\"
|
|
604
|
+
"resolved": "\"on\" | \"off\" | \"name\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"email\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"url\" | \"photo\"",
|
|
605
605
|
"references": {
|
|
606
606
|
"IcAutocompleteTypes": {
|
|
607
607
|
"location": "import",
|
|
@@ -12,12 +12,12 @@ export class SectionContainer {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const { aligned, fullHeight } = this;
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'b72248434ac227221b9854880dd5103733052170', class: {
|
|
16
16
|
["aligned-left"]: aligned === "left" || aligned === null,
|
|
17
17
|
["aligned-center"]: aligned === "center",
|
|
18
18
|
["aligned-full-width"]: aligned === "full-width",
|
|
19
19
|
["no-vertical-padding"]: !!fullHeight,
|
|
20
|
-
} }, h("slot", { key: '
|
|
20
|
+
} }, h("slot", { key: '749c9299c6116291ec9555bbd2a9586585e7480d' })));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "ic-section-container"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -607,19 +607,19 @@ export class Select {
|
|
|
607
607
|
"loading" in menuOptions[0] ||
|
|
608
608
|
"timedOut" in menuOptions[0]));
|
|
609
609
|
renderHiddenInput(this.el, value, name || inputId, disabled);
|
|
610
|
-
const ClearButton = () => (h("ic-button", { key: '
|
|
611
|
-
const NativeSelect = () => (h("select", Object.assign({ key: '
|
|
612
|
-
const SelectButton = () => (h("div", { key: '
|
|
610
|
+
const ClearButton = () => (h("ic-button", { key: '3892a327f660eb5c8add2dad6b0234e98c1763df', ref: (el) => (this.clearButton = el), id: "clear-button", "aria-label": this.searchable ? "Clear input" : "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onBlur: this.handleBlur, size: size, variant: "icon-tertiary" }));
|
|
611
|
+
const NativeSelect = () => (h("select", Object.assign({ key: '9dbff7cad48e70c9ecb5bdaf5188bf76ebb21bc9', ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid ? "true" : "false", onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleNativeSelectKeyDown, form: form }, inheritedAttributes), h("option", { key: '4899ac51e4735de3a3a6d1674a107d496d136f8d', value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => "children" in option && option.children ? (h("optgroup", { label: option.label }, option.children.map((child) => this.renderNativeOption(child)))) : (this.renderNativeOption(option)))));
|
|
612
|
+
const SelectButton = () => (h("div", { key: 'a54b55c792c30da50db55cdf579a7b5112733ab2', class: "select-container" }, h("button", { key: '566288c0b7ba2c08f437d0894f1e7e8d050dbec9', class: "select-input", role: "combobox", ref: (el) => (this.selectElement = el), id: inputId, "aria-label": `${label}, ${(multiple && value
|
|
613
613
|
? `${value.length} of ${this.flatOptions.length} selected, ${this.getLabelString()}`
|
|
614
|
-
: this.getLabelString()) || placeholder}`, onClick: this.handleClick, "aria-describedby": describedBy, "aria-invalid": invalid ? "true" : "false", "aria-haspopup": "listbox", "aria-expanded": `${open}`, "aria-controls": menuId, "aria-required": `${required}`, disabled: disabled, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, "aria-activedescendant": ariaActiveDescendant }, h("ic-typography", { key: '
|
|
614
|
+
: this.getLabelString()) || placeholder}`, onClick: this.handleClick, "aria-describedby": describedBy, "aria-invalid": invalid ? "true" : "false", "aria-haspopup": "listbox", "aria-expanded": `${open}`, "aria-controls": menuId, "aria-required": `${required}`, disabled: disabled, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, "aria-activedescendant": ariaActiveDescendant }, h("ic-typography", { key: 'f5fb6dcd933444aa16b0e481f3cfcd606d266027', variant: "body", class: {
|
|
615
615
|
"value-text": true,
|
|
616
616
|
"with-clear-button": !!isClearable,
|
|
617
617
|
placeholder: !value,
|
|
618
|
-
} }, this.getLabelString()), h("div", { key: '
|
|
618
|
+
} }, this.getLabelString()), h("div", { key: '2a0f71ba4314bf48c042c08d6542a7e5d290cfa1', class: "select-input-end" }, isClearable && h("div", { key: 'aab9235d7bed234a7faa3b76f946723a6fd733b5', class: "divider" }), h("span", { key: 'bbcb55feda8598bed785a7d97ffbfda9beace9b6', class: {
|
|
619
619
|
"expand-icon": true,
|
|
620
620
|
"expand-icon-open": open,
|
|
621
|
-
}, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && h(ClearButton, { key: '
|
|
622
|
-
const SelectInput = () => (h("div", { key: '
|
|
621
|
+
}, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && h(ClearButton, { key: '7be9270208022eec818d3d11e787e97b3e9781a4' }), h("div", { key: '66a002a41aaae04ff167acd5bc41df446d1c7185', "aria-live": "polite", "aria-atomic": "true", class: "aria-live-hidden-text" }, selectButtonAriaLiveText)));
|
|
622
|
+
const SelectInput = () => (h("div", { key: '8c8bc17e0e8d6b2a19c2b6546a7dc1927003ffe6', class: "searchable-select-container" }, h("input", { key: 'b9f94d2533162b38c766f003a9befcbadff6def8', class: {
|
|
623
623
|
"value-text": true,
|
|
624
624
|
"select-input": true,
|
|
625
625
|
"with-clear-button": !!searchableSelectInputValue,
|
|
@@ -627,25 +627,25 @@ export class Select {
|
|
|
627
627
|
? ""
|
|
628
628
|
: value
|
|
629
629
|
? this.getLabelString()
|
|
630
|
-
: searchableSelectInputValue || undefined, disabled: disabled, placeholder: placeholder, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, form: form }), isClearable && (h("div", { key: '
|
|
630
|
+
: searchableSelectInputValue || undefined, disabled: disabled, placeholder: placeholder, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, form: form }), isClearable && (h("div", { key: '2fa369c2f909206cda3e533fdc1b4f61f49e5367', class: "clear-button-container" }, h(ClearButton, { key: '7c6f3009ca83d1f1ad53bbfe9356663a777b01b8' }), h("div", { key: 'f7928645b4eac91f7a65e88fa493032f9036e520', class: "divider" }))), h("span", { key: '01223cbc2bb20344cc6e18d6d7c899ed9eb73565', onMouseDown: this.handleExpandIconMouseDown, class: {
|
|
631
631
|
"expand-icon": true,
|
|
632
632
|
"expand-icon-open": open,
|
|
633
|
-
}, innerHTML: Expand, "aria-hidden": "true" }), h("div", { key: '
|
|
634
|
-
const ReadOnly = () => (h("ic-typography", { key: '
|
|
635
|
-
return (h(Host, { key: '
|
|
633
|
+
}, innerHTML: Expand, "aria-hidden": "true" }), h("div", { key: '3ad6ae8f699743bdf8277a4b5c50afa4fa0ddc22', "aria-live": "polite", role: "status", class: "aria-live-hidden-text" }, selectInputAriaLiveText)));
|
|
634
|
+
const ReadOnly = () => (h("ic-typography", { key: 'dac815c30b87420c94c68e65eaa27ec3b0902a12' }, h("p", { key: '828de16f7df4fa23e8387f2ef9cf84b1994a91a3' }, this.getLabelString() === placeholder ? "" : this.getLabelString())));
|
|
635
|
+
return (h(Host, { key: '91899d31f22ef6d7417710d110499cc72e97f230', class: {
|
|
636
636
|
"ic-select-disabled": disabled,
|
|
637
637
|
"ic-select-searchable": searchable,
|
|
638
638
|
[`ic-select-${size}`]: size !== "medium",
|
|
639
639
|
"ic-select-full-width": fullWidth,
|
|
640
640
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
641
|
-
} }, h("ic-input-container", { key: '
|
|
641
|
+
} }, h("ic-input-container", { key: '2c314323d9b410363eefdfb6fbdcb8b4360109d0', readonly: readonly }, !hideLabel && (h("ic-input-label", { key: '28269a9d64624f0c646fa46bf8199716cefdc220', for: inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly }, h("slot", { key: '235bdb195e5feeae8d82360efa17aa576df9cff4', name: "helper-text", slot: "helper-text" }))), h("ic-input-component-container", { key: 'a936a39d3dbdf43d406d994594b4dd72f1aa59e2', ref: (el) => (this.anchorEl = el), class: { "menu-open": open }, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, isSlotUsed(this.el, "icon") &&
|
|
642
642
|
!disabled &&
|
|
643
|
-
(!readonly || !!value) && (h("span", { key: '
|
|
643
|
+
(!readonly || !!value) && (h("span", { key: '67c88b6a8c00524eff7575fc71150ea5aabeb847', slot: "left-icon", class: {
|
|
644
644
|
readonly,
|
|
645
645
|
"has-value": !!value,
|
|
646
|
-
} }, h("slot", { key: '
|
|
646
|
+
} }, h("slot", { key: '92f2c3c41210287a28e524afa4511a08204a5544', name: "icon" }))), isMobileOrTablet() && this.useNativeSelectOnMobile && !multiple ? (h(NativeSelect, null)) : readonly ? (h(ReadOnly, null)) : !searchable ? (h(SelectButton, null)) : (h(SelectInput, null))), !(isMobileOrTablet() &&
|
|
647
647
|
this.useNativeSelectOnMobile &&
|
|
648
|
-
!multiple) && (h("ic-menu", { key: '
|
|
648
|
+
!multiple) && (h("ic-menu", { key: '644f853a4caad5efbcab0c9228e0bf18595ecb91', ref: (el) => (this.menu = el), class: { "no-results": noOptions }, inputEl: searchable ? this.searchableSelectElement : this.selectElement, allowMenuFocus: false, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: this.getOptions(), value: multiple ? value : value, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onTimeoutBlur: this.handleTimeoutBlur, onMenuOptionId: this.updateAriaActiveDescendant, onClick: this.setFocus, parentEl: this.el, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", onRetryButtonClicked: this.handleRetry, closeOnSelect: !multiple, multiSelect: multiple, searchableSelect: searchable })), h("ic-input-validation", { key: '00ca9a2788bf404fb096c2497e46aa138c32ea76', class: {
|
|
649
649
|
"menu-open": open,
|
|
650
650
|
}, ariaLiveMode: validationAriaLive, status: showValidation ? validationStatus : "", message: showValidation ? validationText : "", for: inputId }))));
|
|
651
651
|
}
|
|
@@ -466,7 +466,7 @@ export class SideNavigation {
|
|
|
466
466
|
isAppNameSubtitleVariant,
|
|
467
467
|
appTitle: appTitle || "",
|
|
468
468
|
};
|
|
469
|
-
return (h(Host, { key: '
|
|
469
|
+
return (h(Host, { key: '467270372cb15a90984978cb333a6756c7ffcb8d', class: {
|
|
470
470
|
"xs-menu-open": menuOpen && isSDevice,
|
|
471
471
|
"xs-menu-close": !menuOpen && isSDevice,
|
|
472
472
|
"sm-collapsed": !isSDevice && !menuExpanded,
|
|
@@ -475,12 +475,12 @@ export class SideNavigation {
|
|
|
475
475
|
[`ic-side-navigation-${IcBrandForegroundEnum.Dark}`]: foregroundColor === IcBrandForegroundEnum.Dark,
|
|
476
476
|
["collapsed-labels"]: !isSDevice && !menuExpanded && !!collapsedIconLabels,
|
|
477
477
|
["ic-side-navigation-inline"]: !!inline,
|
|
478
|
-
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), h("div", { key: '
|
|
478
|
+
} }, isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), h("div", { key: '51b75422befcc62a8b9a866ab9ab7c58b799db2c', class: "side-navigation", id: "side-navigation" }, !isSDevice && this.renderTopBar(Object.assign({}, topBarProps)), h("div", { key: 'fbcb14963d2ce5567297bdf794d1dd5f7a6209bb', class: "side-navigation-inner" }, isSlotUsed(this.el, "primary-navigation") && (h("nav", { key: '24da45c7237f1152c1e93db9b928120bcca1ba14', class: "primary-navigation", "aria-labelledby": "primary-navigation-landmark" }, h("span", { key: 'e57f1521e37ecc9b770b35339059564ff23fe945', "aria-hidden": "true", class: "navigation-landmark-title", id: "primary-navigation-landmark" }, "Primary"), h("ul", { key: '88ffcdc33e0ebb348a3f8851dfb85020625293d7', class: "navigation-list" }, h("slot", { key: '91243f0760b0a67226f4c83a0393f669443ee356', name: "primary-navigation" }))))), h("div", { key: '77eaa1bf6bd8951c5a77902c75b0664aa36f0b44', class: {
|
|
479
479
|
["bottom-wrapper"]: true,
|
|
480
480
|
["classification-spacing"]: hasClassificationBanner(),
|
|
481
|
-
} }, isSlotUsed(this.el, "secondary-navigation") && (h("nav", { key: '
|
|
481
|
+
} }, isSlotUsed(this.el, "secondary-navigation") && (h("nav", { key: 'ad66580f2b2f753f4ce2d1be8128fdcb5fb69c9f', class: "secondary-navigation", "aria-labelledby": "secondary-navigation-landmark" }, h("span", { key: '3f503502795535166e14d6d52ee1b8f72dfe9551', "aria-hidden": "true", class: "navigation-landmark-title", id: "secondary-navigation-landmark" }, "Secondary"), h("ul", { key: 'cfd5af2f79b1ca9e309fc160c5b4b00385f017d2', class: "navigation-list" }, h("slot", { key: 'a975b85e39c977ea241a976df63699337f6507d7', name: "secondary-navigation" })))), h("div", { key: 'b0f3f81a20589100389495ded413bf1bfe09e096', class: "bottom-side-nav" }, this.hasSecondaryNavigation && h("ic-divider", { key: '3ee7716a6a6ed2e8f776b9ba376a54274c84f873' }), displayExpandBtn && (h("button", { key: 'c7f04012bfcb7f727431a9d7e6e53d714cc49e5e', class: "menu-expand-button", innerHTML: chevronIcon, onClick: () => this.toggleMenuExpanded(!this.menuExpanded), "aria-label": `${menuExpanded ? "Collapse" : "Expand"} side navigation` })), h("div", { key: 'a3d90469e6d05790dd84a00ea1e4c4c35ecb8955', class: "app-status-wrapper" }, status && (h("div", { key: '6dddec89dbd4e81f2d5b0132c648e53e72092d14', class: {
|
|
482
482
|
["app-status"]: true,
|
|
483
|
-
} }, h("ic-typography", { key: '
|
|
483
|
+
} }, h("ic-typography", { key: '21635fd5640f74861ede6840073a112753d13a29', "aria-label": "app tag", variant: "label-uppercase", class: "app-status-text" }, status))), version && (h("ic-typography", { key: '7a95df03f61c13f2a6ed23e43be42959ae98fd88', variant: "label", class: "app-version", "aria-label": "app version" }, version))))))));
|
|
484
484
|
}
|
|
485
485
|
static get is() { return "ic-side-navigation"; }
|
|
486
486
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,11 +38,11 @@ export class Skeleton {
|
|
|
38
38
|
width: el.style.width || width || DEFAULT_WIDTHS[variant],
|
|
39
39
|
}
|
|
40
40
|
: undefined;
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '67c1971600feaaaf5849048b4bc5ad3d4903ffb4', class: {
|
|
42
42
|
skeleton: true,
|
|
43
43
|
"ic-skeleton-circle": variant === "circle",
|
|
44
44
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
45
|
-
}, style: style, "aria-disabled": "true" }, h("slot", { key: '
|
|
45
|
+
}, style: style, "aria-disabled": "true" }, h("slot", { key: 'caf8562f7997131daa69e85d6766b3edf2531259' })));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "ic-skeleton"; }
|
|
48
48
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,9 +35,9 @@ export class SkipLink {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
const { fullWidth, inline, label, monochrome, target, theme, transparentBackground, } = this;
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '2f344a07df5cb31b39b5cd4ca8bc257229646b31', class: {
|
|
39
39
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
40
|
-
} }, h("ic-link", { key: '
|
|
40
|
+
} }, h("ic-link", { key: '9b844b5a2f207d08eaa8cbb621d54ed56f5cc28d', class: {
|
|
41
41
|
"display-top": !inline,
|
|
42
42
|
"full-width": !!fullWidth,
|
|
43
43
|
"show-background": !transparentBackground,
|
|
@@ -33,12 +33,12 @@ export class StatusTag {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const { label, status, variant, size, announced, theme, uppercase } = this;
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '06426990cc94da53c570547331c63d161675f620', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, h("strong", { key: '2c6d0e05018d59bfc7c1acab4b8ffda5ba4cfce3', class: {
|
|
37
37
|
["tag"]: true,
|
|
38
38
|
[`${variant}-${status}`]: true,
|
|
39
39
|
["outlined"]: variant === "outlined",
|
|
40
40
|
[`${size}`]: true,
|
|
41
|
-
} }, h("ic-typography", { key: '
|
|
41
|
+
} }, h("ic-typography", { key: '3af29b781e35ed4817043d4f2f697f468502189a', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, h("span", { key: '4f4759e8dabfff3d686ed3e4cd3975cc0b0c33b4' }, label)))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "ic-status-tag"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -77,27 +77,27 @@ export class Step {
|
|
|
77
77
|
// STATUS ICON FOR COMPACT STEP
|
|
78
78
|
let statusIcon;
|
|
79
79
|
if (type === "completed" || compactStepStyling === "completed") {
|
|
80
|
-
statusIcon = (h("span", { key: '
|
|
80
|
+
statusIcon = (h("span", { key: '4d1011a9a12449bd324aff3f404522fde6912be3', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
|
|
81
81
|
}
|
|
82
82
|
else if (type === "disabled" || compactStepStyling === "disabled") {
|
|
83
|
-
statusIcon = (h("span", { key: '
|
|
83
|
+
statusIcon = (h("span", { key: '7825f61e87546bcaa9100c439239022abb0f3eb7', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
|
|
84
84
|
}
|
|
85
85
|
// COMPACT STEP COMPONENT
|
|
86
|
-
const compactStep = (h("div", { key: '
|
|
86
|
+
const compactStep = (h("div", { key: '82c7c26c90ce286582f7ef477129d2ce241200c1', class: {
|
|
87
87
|
["step"]: true,
|
|
88
88
|
["current"]: !!current,
|
|
89
89
|
[`compact-step-${compactStepStyling}`]: !!compactStepStyling,
|
|
90
90
|
["disabled"]: type === "disabled" || compactStepStyling === "disabled",
|
|
91
|
-
} }, h("ic-loading-indicator", { key: '
|
|
91
|
+
} }, h("ic-loading-indicator", { key: 'd3d1b2aa382bd8b307433f16aa05f644b275902f', class: {
|
|
92
92
|
"compact-step-progress-indicator": true,
|
|
93
93
|
"not-required": type === "disabled" || compactStepStyling === "disabled",
|
|
94
|
-
}, "aria-hidden": "true", size: "small", "inner-label": stepNum, progress: progress }), h("div", { key: '
|
|
94
|
+
}, "aria-hidden": "true", size: "small", "inner-label": stepNum, progress: progress }), h("div", { key: 'd0f78f477b4fe29b2ac33798712b70c0c3d2ce41', class: "heading-area" }, isSlotUsed(this.el, "heading") ? (h("slot", { name: "heading" })) : (h("ic-typography", { variant: "h4", class: "heading" }, heading)), h("div", { key: 'f9a074c126d393ec82cf72621e5941c32dbd72fb', class: "info-line" }, h("ic-typography", { key: '1b6bd91bcb1013fa1e23a9e9af49d3da1f25448e', variant: "caption", class: "step-num" }, `${stepNum} ${icI18n.of} ${lastStepNum}`, h("span", { key: '753bbc4c12a2b968cde11238f46ff4ffbc4f39fd', class: "visually-hidden" }, ` ${icI18n.steps}`)), (this.subheading ||
|
|
95
95
|
type === "completed" ||
|
|
96
96
|
type === "disabled" ||
|
|
97
97
|
(this.variant === "compact" &&
|
|
98
98
|
!!compactStepStyling &&
|
|
99
99
|
compactStepStyling !== "active") ||
|
|
100
|
-
!!status) && (h("div", { key: '
|
|
100
|
+
!!status) && (h("div", { key: '93968f9752cf90df5f67994a3942f38d94323b50', class: "step-status" }, statusIcon !== undefined && statusIcon, (subheading || stepType) && (h("ic-typography", { key: 'd1879f9dc5a7ea2e9b468fc95593056527e08095', variant: "caption" }, subheading !== null && isPropDefined(subheading)
|
|
101
101
|
? subheading
|
|
102
102
|
: type === "disabled" ||
|
|
103
103
|
(variant === "compact" &&
|
|
@@ -110,26 +110,26 @@ export class Step {
|
|
|
110
110
|
// ICON FOR DEFAULT STEP
|
|
111
111
|
let icon;
|
|
112
112
|
if (type !== "completed") {
|
|
113
|
-
icon = (h("ic-typography", { key: '
|
|
113
|
+
icon = (h("ic-typography", { key: 'e76d3c6f2fc82ae27e9f19af2ad29374c75271b1', variant: "subtitle-small" }, h("span", { key: '2ada7f696f0e90ecca298a2109d9aaeb70777a1a', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
|
|
114
114
|
}
|
|
115
115
|
else {
|
|
116
|
-
icon = (h("div", { key: '
|
|
116
|
+
icon = (h("div", { key: '195a5f5dd31061a4059020d7fa1d65b15eb29a11', class: "step-icon-inner", "aria-hidden": "true" }, h("span", { key: 'd11d3bf512968fa286309bcd69faa20cd12d3396', class: "check-icon", innerHTML: checkIcon })));
|
|
117
117
|
}
|
|
118
118
|
// STEP CONNECT FOR DEFAULT STEP
|
|
119
|
-
const partialBar = type === "current" && (h("div", { key: '
|
|
120
|
-
const finalStep = !lastStep && (h("div", { key: '
|
|
119
|
+
const partialBar = type === "current" && (h("div", { key: '5564ceeb1d40367572f3ae679e7212a2a2a53578', class: "step-connect-inner" }));
|
|
120
|
+
const finalStep = !lastStep && (h("div", { key: 'fae846f5c7d46ad65c7d21a2785526ed6d841444', class: {
|
|
121
121
|
["step-connect"]: true,
|
|
122
122
|
["aligned-full-width"]: !!(((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("ic-stepper-default")) &&
|
|
123
123
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
|
124
124
|
} }, partialBar));
|
|
125
125
|
// DEFAULT STEP COMPONENT
|
|
126
|
-
const defaultStep = (h("div", { key: '
|
|
126
|
+
const defaultStep = (h("div", { key: 'f02d7139a59a46207e7bd308cf90ffd42c14a93e', class: {
|
|
127
127
|
["step"]: true,
|
|
128
128
|
[`${type}`]: true,
|
|
129
|
-
} }, h("div", { key: '
|
|
129
|
+
} }, h("div", { key: 'd3cb91eb9ae01c50255fefe75c9cf15dac9899a2', class: "step-top" }, h("div", { key: '71afc47b70d57c6d98aacd824c304e661d97a97d', class: "step-icon" }, icon), finalStep), (hasHeading || subheading || status) && (h("div", { key: '7b11bdfc83c4071d6aff8f026e7ab32f2033a666', class: "heading-area" }, isSlotUsed(this.el, "heading") ? (h("slot", { name: "heading" })) : (h("ic-typography", { variant: "subtitle-large", class: "heading" }, heading)), hasHeading && (subheading || status) && (h("ic-typography", { key: '10da1844c1af5252f89bc59254e23c45c5400a2d', variant: "caption", class: "subheading" }, subheading !== null && isPropDefined(subheading)
|
|
130
130
|
? subheading
|
|
131
131
|
: stepStatus))))));
|
|
132
|
-
return (h(Host, { key: '
|
|
132
|
+
return (h(Host, { key: '6605252cf1e05ba81b2adbcf6e41f2c9c23b1f09', role: "listitem", "aria-label": `${icI18n.step} ${stepNum}${ariaLabel}`, "aria-current": (current || type === "current") && "step", class: {
|
|
133
133
|
["aligned-full-width"]: !!(((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains("ic-stepper-default")) &&
|
|
134
134
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
|
135
135
|
[`ic-step-${variant}`]: true,
|
|
@@ -279,11 +279,11 @@ export class Stepper {
|
|
|
279
279
|
checkResizeObserver(this.runResizeObserver);
|
|
280
280
|
}
|
|
281
281
|
render() {
|
|
282
|
-
return (h(Host, { key: '
|
|
282
|
+
return (h(Host, { key: '4fbff633235fba3d0c146427b74d1c4e69cff419', class: {
|
|
283
283
|
[`ic-stepper-${this.variant}`]: true,
|
|
284
284
|
["ic-stepper-aligned-left"]: this.variant === "default" && this.aligned === "left",
|
|
285
285
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
|
286
|
-
} }, h("ul", { key: '
|
|
286
|
+
} }, h("ul", { key: '452b6724f1b286aa3ff75fd460cdc4dfa36e8e55', class: "step-item-list" }, h("slot", { key: 'e6e6465ee3c505fab2bbe1c7c502defa7e587571' }))));
|
|
287
287
|
}
|
|
288
288
|
static get is() { return "ic-stepper"; }
|
|
289
289
|
static get encapsulation() { return "shadow"; }
|
|
@@ -468,15 +468,10 @@ input {
|
|
|
468
468
|
margin-bottom: var(--ic-space-xs);
|
|
469
469
|
}
|
|
470
470
|
|
|
471
|
-
.ic-switch-label-small {
|
|
472
|
-
margin-bottom: var(--ic-space-xs);
|
|
473
|
-
}
|
|
474
|
-
|
|
475
471
|
.ic-switch-toggle {
|
|
476
472
|
display: flex;
|
|
477
473
|
align-items: center;
|
|
478
|
-
|
|
479
|
-
width: 4rem;
|
|
474
|
+
width: calc(var(--ic-space-xl) * 2);
|
|
480
475
|
height: var(--ic-space-xl);
|
|
481
476
|
position: relative;
|
|
482
477
|
border-radius: 100vw;
|
|
@@ -485,6 +480,19 @@ input {
|
|
|
485
480
|
box-sizing: border-box;
|
|
486
481
|
transition: var(--ic-transition-duration-fast);
|
|
487
482
|
margin-left: var(--ic-space-xxs);
|
|
483
|
+
gap: calc(var(--ic-space-md) + var(--ic-space-xxs));
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.ic-switch-small .ic-switch-toggle {
|
|
487
|
+
width: var(--ic-space-xxl);
|
|
488
|
+
height: var(--ic-space-lg);
|
|
489
|
+
gap: calc(var(--ic-space-sm) + var(--ic-space-xxxs));
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.ic-switch-large .ic-switch-toggle {
|
|
493
|
+
width: calc(var(--ic-space-xl) + var(--ic-space-xxl));
|
|
494
|
+
height: calc(var(--ic-space-xl) + var(--ic-space-xs));
|
|
495
|
+
gap: calc(var(--ic-space-lg) + var(--ic-space-xxs));
|
|
488
496
|
}
|
|
489
497
|
|
|
490
498
|
.ic-switch-line-break {
|
|
@@ -493,42 +501,70 @@ input {
|
|
|
493
501
|
|
|
494
502
|
.ic-switch-toggle::before {
|
|
495
503
|
content: "";
|
|
496
|
-
width:
|
|
497
|
-
height:
|
|
504
|
+
width: calc(var(--ic-space-sm) * 2);
|
|
505
|
+
height: calc(var(--ic-space-sm) * 2);
|
|
498
506
|
border-radius: 50%;
|
|
499
507
|
position: absolute;
|
|
500
508
|
z-index: 2;
|
|
501
509
|
top: 50%;
|
|
502
|
-
left:
|
|
510
|
+
left: var(--ic-space-xxs);
|
|
503
511
|
transform: translate(0, -50%);
|
|
504
512
|
background-color: var(--ic-switch-unchecked);
|
|
505
513
|
transition: var(--ic-transition-duration-slow);
|
|
506
514
|
}
|
|
507
515
|
|
|
516
|
+
.ic-switch-small .ic-switch-toggle::before {
|
|
517
|
+
width: var(--ic-space-md);
|
|
518
|
+
height: var(--ic-space-md);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.ic-switch-large .ic-switch-toggle::before {
|
|
522
|
+
width: var(--ic-space-xl);
|
|
523
|
+
height: var(--ic-space-xl);
|
|
524
|
+
}
|
|
525
|
+
|
|
508
526
|
.ic-switch-icon {
|
|
509
527
|
display: inline-block;
|
|
510
528
|
vertical-align: middle;
|
|
511
|
-
width:
|
|
512
|
-
height:
|
|
529
|
+
width: var(--ic-space-sm);
|
|
530
|
+
height: var(--ic-space-sm);
|
|
513
531
|
}
|
|
514
532
|
|
|
515
|
-
.ic-switch-icon
|
|
516
|
-
|
|
517
|
-
|
|
533
|
+
.ic-switch-small .ic-switch-icon {
|
|
534
|
+
width: var(--ic-space-xs);
|
|
535
|
+
height: var(--ic-space-xs);
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.ic-switch-large .ic-switch-icon {
|
|
539
|
+
width: var(--ic-space-md);
|
|
540
|
+
height: var(--ic-space-md);
|
|
518
541
|
}
|
|
519
542
|
|
|
520
543
|
.ic-switch-icon-circle {
|
|
521
544
|
stroke: var(--ic-switch-indicator-off);
|
|
545
|
+
stroke-width: var(--ic-space-1px);
|
|
522
546
|
}
|
|
523
547
|
|
|
524
548
|
.ic-switch-icon-line {
|
|
525
|
-
|
|
549
|
+
height: var(--ic-space-sm);
|
|
550
|
+
width: var(--ic-space-1px);
|
|
551
|
+
background-color: var(--ic-switch-indicator-on);
|
|
552
|
+
border-radius: 99px;
|
|
553
|
+
margin-left: calc(
|
|
554
|
+
var(--ic-space-md) + var(--ic-space-xxs) - var(--ic-space-1px)
|
|
555
|
+
);
|
|
526
556
|
}
|
|
527
557
|
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
558
|
+
.ic-switch-small .ic-switch-icon-line {
|
|
559
|
+
margin-left: calc(var(--ic-space-md) - var(--ic-space-1px));
|
|
560
|
+
height: var(--ic-space-xs);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.ic-switch-large .ic-switch-icon-line {
|
|
564
|
+
margin-left: calc(
|
|
565
|
+
var(--ic-space-xs) + var(--ic-space-md) - var(--ic-space-1px)
|
|
566
|
+
);
|
|
567
|
+
height: var(--ic-space-md);
|
|
532
568
|
}
|
|
533
569
|
|
|
534
570
|
.ic-switch-input:checked + .ic-switch-toggle {
|
|
@@ -537,24 +573,35 @@ input {
|
|
|
537
573
|
}
|
|
538
574
|
|
|
539
575
|
.ic-switch-input:checked + .ic-switch-toggle::before {
|
|
540
|
-
transform: translate(var(--ic-space-xl), -50%);
|
|
576
|
+
transform: translate(calc(var(--ic-space-xl) - var(--ic-space-1px)), -50%);
|
|
541
577
|
background-color: var(--ic-switch-checked);
|
|
542
578
|
}
|
|
543
579
|
|
|
580
|
+
.ic-switch-small .ic-switch-input:checked + .ic-switch-toggle::before {
|
|
581
|
+
transform: translate(calc(var(--ic-space-lg) - var(--ic-space-1px)), -50%);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.ic-switch-large .ic-switch-input:checked + .ic-switch-toggle::before {
|
|
585
|
+
transform: translate(
|
|
586
|
+
calc(var(--ic-space-xxl) - var(--ic-space-xs) - var(--ic-space-1px)),
|
|
587
|
+
-50%
|
|
588
|
+
);
|
|
589
|
+
}
|
|
590
|
+
|
|
544
591
|
.ic-switch-input:not([disabled]) + .ic-switch-toggle:hover::before {
|
|
545
|
-
box-shadow: 0 0 0
|
|
592
|
+
box-shadow: 0 0 0 var(--ic-space-sm) var(--ic-switch-unchecked-bg-hover);
|
|
546
593
|
}
|
|
547
594
|
|
|
548
595
|
.ic-switch-input:not([disabled]) + .ic-switch-toggle:active::before {
|
|
549
|
-
box-shadow: 0 0 0
|
|
596
|
+
box-shadow: 0 0 0 var(--ic-space-sm) var(--ic-switch-unchecked-bg-pressed);
|
|
550
597
|
}
|
|
551
598
|
|
|
552
599
|
.ic-switch-input:not([disabled]):checked + .ic-switch-toggle:hover::before {
|
|
553
|
-
box-shadow: 0 0 0
|
|
600
|
+
box-shadow: 0 0 0 var(--ic-space-sm) var(--ic-switch-checked-bg-hover);
|
|
554
601
|
}
|
|
555
602
|
|
|
556
603
|
.ic-switch-input:not([disabled]):checked + .ic-switch-toggle:active::before {
|
|
557
|
-
box-shadow: 0 0 0
|
|
604
|
+
box-shadow: 0 0 0 var(--ic-space-sm) var(--ic-switch-checked-bg-pressed);
|
|
558
605
|
}
|
|
559
606
|
|
|
560
607
|
.ic-switch-input:focus:not([disabled]) + .ic-switch-toggle,
|
|
@@ -571,7 +618,7 @@ input {
|
|
|
571
618
|
}
|
|
572
619
|
|
|
573
620
|
.ic-switch-disabled .ic-switch-icon-line {
|
|
574
|
-
|
|
621
|
+
background-color: var(--ic-switch-indicator-on-disabled);
|
|
575
622
|
}
|
|
576
623
|
|
|
577
624
|
.ic-switch-input:disabled + .ic-switch-toggle {
|
|
@@ -593,27 +640,27 @@ input {
|
|
|
593
640
|
background-color: var(--ic-switch-checked);
|
|
594
641
|
}
|
|
595
642
|
|
|
596
|
-
.ic-switch-small .ic-switch-toggle {
|
|
597
|
-
width: var(--ic-space-xxl);
|
|
598
|
-
height: var(--ic-space-lg);
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
.ic-switch-small .ic-switch-toggle::before {
|
|
602
|
-
width: var(--ic-space-md);
|
|
603
|
-
height: var(--ic-space-md);
|
|
604
|
-
left: var(--ic-space-xxs);
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
.ic-switch-small .ic-switch-input:checked + .ic-switch-toggle::before {
|
|
608
|
-
transform: translate(var(--ic-space-lg), -50%);
|
|
609
|
-
}
|
|
610
|
-
|
|
611
643
|
::slotted([slot="right-adornment"]) {
|
|
612
644
|
margin-left: var(--ic-space-sm);
|
|
613
645
|
fill: var(--ic-switch-icon);
|
|
614
646
|
}
|
|
615
647
|
|
|
616
648
|
@media (forced-colors: active) {
|
|
649
|
+
.ic-switch-toggle::before {
|
|
650
|
+
width: calc(var(--ic-space-sm) * 2 - var(--ic-space-xxxs));
|
|
651
|
+
height: calc(var(--ic-space-sm) * 2 - var(--ic-space-xxxs));
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.ic-switch-small .ic-switch-toggle::before {
|
|
655
|
+
width: calc(var(--ic-space-md) - var(--ic-space-xxxs));
|
|
656
|
+
height: calc(var(--ic-space-md) - var(--ic-space-xxxs));
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.ic-switch-large .ic-switch-toggle::before {
|
|
660
|
+
width: calc(var(--ic-space-xl) - var(--ic-space-xxxs));
|
|
661
|
+
height: calc(var(--ic-space-xl) - var(--ic-space-xxxs));
|
|
662
|
+
}
|
|
663
|
+
|
|
617
664
|
.ic-switch-toggle::before,
|
|
618
665
|
.ic-switch-input:checked + .ic-switch-toggle {
|
|
619
666
|
border: var(--ic-border-hc);
|
|
@@ -625,7 +672,18 @@ input {
|
|
|
625
672
|
}
|
|
626
673
|
|
|
627
674
|
.ic-switch-input:checked + .ic-switch-toggle::before {
|
|
628
|
-
transform: translate(calc(var(--ic-space-xl) -
|
|
675
|
+
transform: translate(calc(var(--ic-space-xl) - var(--ic-space-xxxs)), -50%);
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.ic-switch-small .ic-switch-input:checked + .ic-switch-toggle::before {
|
|
679
|
+
transform: translate(calc(var(--ic-space-lg) - var(--ic-space-xxxs)), -50%);
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
.ic-switch-large .ic-switch-input:checked + .ic-switch-toggle::before {
|
|
683
|
+
transform: translate(
|
|
684
|
+
calc(var(--ic-space-xxl) - var(--ic-space-xs) - var(--ic-space-xxxs)),
|
|
685
|
+
-50%
|
|
686
|
+
);
|
|
629
687
|
}
|
|
630
688
|
|
|
631
689
|
.ic-switch-input:disabled + .ic-switch-toggle,
|
|
@@ -634,10 +692,17 @@ input {
|
|
|
634
692
|
border-color: GrayText;
|
|
635
693
|
}
|
|
636
694
|
|
|
637
|
-
.ic-switch-
|
|
638
|
-
|
|
695
|
+
.ic-switch-icon-line {
|
|
696
|
+
background-color: buttonborder;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.ic-switch-disabled .ic-switch-icon-circle {
|
|
639
700
|
stroke: GrayText;
|
|
640
701
|
}
|
|
702
|
+
|
|
703
|
+
.ic-switch-disabled .ic-switch-icon-line {
|
|
704
|
+
background-color: GrayText;
|
|
705
|
+
}
|
|
641
706
|
}
|
|
642
707
|
|
|
643
708
|
@media (prefers-reduced-motion: reduce) {
|