@ukic/web-components 3.14.0 → 3.16.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 +5 -5
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-checkbox.cjs.entry.js +31 -8
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- 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-footer.cjs.entry.js +9 -5
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +11 -6
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +5 -5
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +10 -10
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +6 -6
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- 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 +2 -2
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +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-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +4 -4
- package/dist/cjs/ic-popover-menu.cjs.entry.js +4 -4
- package/dist/cjs/ic-radio-group.cjs.entry.js +5 -5
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +9 -6
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +10 -10
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-select.cjs.entry.js +7 -7
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- 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 +4 -4
- 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-text-field.cjs.entry.js +6 -6
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- 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 +14 -6
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- 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/loader.cjs.js +1 -1
- package/dist/collection/components/ic-button/ic-button.stories.js +3 -3
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +11 -2
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +31 -7
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +2 -2
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.stories.js +68 -16
- package/dist/collection/components/ic-data-list/ic-data-list.css +1 -0
- package/dist/collection/components/ic-data-list/ic-data-list.js +2 -2
- package/dist/collection/components/ic-data-row/ic-data-row.css +2 -0
- 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/ic-footer.js +29 -5
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/ic-footer.stories.js +31 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -2
- package/dist/collection/components/ic-hero/ic-hero.css +19 -0
- package/dist/collection/components/ic-hero/ic-hero.js +36 -5
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.stories.js +15 -0
- 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.css +9 -0
- 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.css +2 -1
- 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-loading-indicator/ic-loading-indicator.stories.js +17 -18
- package/dist/collection/components/ic-menu/ic-menu.css +8 -0
- 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.css +12 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +2 -7
- 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/ic-pagination.stories.js +3 -3
- 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-popover-menu/ic-popover-menu.stories.js +7 -7
- package/dist/collection/components/ic-radio-group/ic-radio-group.css +6 -6
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +4 -4
- package/dist/collection/components/ic-radio-group/ic-radio-group.stories.js +12 -12
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +60 -54
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +9 -5
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.css +8 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +9 -9
- package/dist/collection/components/ic-search-bar/ic-search-bar.stories.js +19 -19
- package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
- package/dist/collection/components/ic-select/ic-select.css +1 -1
- package/dist/collection/components/ic-select/ic-select.js +6 -6
- package/dist/collection/components/ic-select/ic-select_(multi).stories.js +20 -20
- package/dist/collection/components/ic-select/ic-select_(searchable).stories.js +21 -21
- package/dist/collection/components/ic-select/ic-select_(single).stories.js +21 -5
- 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-stepper/ic-stepper.stories.js +16 -6
- package/dist/collection/components/ic-switch/ic-switch.js +4 -4
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
- package/dist/collection/components/ic-tab-context/ic-tabs.stories.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 +6 -6
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.stories.js +32 -18
- package/dist/collection/components/ic-theme/ic-theme.js +1 -1
- package/dist/collection/components/ic-toast/ic-toast.css +26 -1
- package/dist/collection/components/ic-toast/ic-toast.js +39 -5
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- package/dist/collection/components/ic-toast/ic-toast.stories.js +21 -9
- 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/ic-toggle-button.stories.js +14 -14
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.stories.js +7 -7
- package/dist/collection/components/ic-tooltip/ic-tooltip.stories.js +11 -11
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.stories.js +15 -15
- package/dist/collection/components/ic-typography/ic-typography.stories.js +1 -1
- package/dist/collection/patterns/top-nav-content-footer.stories.js +1 -1
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +2 -2
- package/dist/components/ic-checkbox.js +31 -8
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/ic-data-list.js +2 -2
- package/dist/components/ic-data-list.js.map +1 -1
- package/dist/components/ic-data-row.js +2 -2
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-dialog.js +1 -1
- package/dist/components/ic-empty-state.js +2 -2
- package/dist/components/ic-footer-link.js +2 -2
- package/dist/components/ic-footer.js +10 -5
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +12 -6
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +5 -5
- package/dist/components/ic-input-component-container2.js +4 -4
- package/dist/components/ic-input-component-container2.js.map +1 -1
- 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 +4 -4
- package/dist/components/ic-input-validation2.js.map +1 -1
- 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 +4 -4
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-group.js +2 -2
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +1 -1
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +4 -4
- package/dist/components/ic-page-header.js +6 -6
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-pagination.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 +5 -5
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +10 -7
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +10 -10
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-select.js +7 -7
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +4 -4
- package/dist/components/ic-side-navigation.js.map +1 -1
- 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 +4 -4
- 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-field.js +6 -6
- package/dist/components/ic-text-field.js.map +1 -1
- package/dist/components/ic-theme.js +1 -1
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast.js +15 -6
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +2 -2
- package/dist/components/ic-toggle-button.js +2 -2
- package/dist/core/core.css +21 -9
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-889bb8db.entry.js → p-04cb17d7.entry.js} +2 -2
- package/dist/core/p-082e0068.entry.js +2 -0
- package/dist/core/p-082e0068.entry.js.map +1 -0
- package/dist/core/{p-f4e2e41f.entry.js → p-12c30491.entry.js} +2 -2
- package/dist/core/{p-109e7fce.entry.js → p-14d43f64.entry.js} +2 -2
- package/dist/core/p-1ca4a5ed.entry.js +2 -0
- package/dist/core/p-1ca4a5ed.entry.js.map +1 -0
- package/dist/core/{p-efc97f21.entry.js → p-1f41818b.entry.js} +2 -2
- package/dist/core/{p-5cf704e3.entry.js → p-319e3d5b.entry.js} +2 -2
- package/dist/core/p-3238389a.entry.js +2 -0
- package/dist/core/p-3238389a.entry.js.map +1 -0
- package/dist/core/{p-d1cce122.entry.js → p-33e35173.entry.js} +2 -2
- package/dist/core/p-33e35173.entry.js.map +1 -0
- package/dist/core/{p-eb1823b3.entry.js → p-34407b13.entry.js} +2 -2
- package/dist/core/p-34407b13.entry.js.map +1 -0
- package/dist/core/{p-ab26beed.entry.js → p-3d23ce54.entry.js} +2 -2
- package/dist/core/{p-ef397b6f.entry.js → p-42d35fc4.entry.js} +2 -2
- package/dist/core/{p-0b1ea961.entry.js → p-4d3b219c.entry.js} +2 -2
- package/dist/core/{p-93e1ba0a.entry.js → p-5254a078.entry.js} +2 -2
- package/dist/core/p-52c66bfe.entry.js +2 -0
- package/dist/core/p-52c66bfe.entry.js.map +1 -0
- package/dist/core/{p-9c2e9189.entry.js → p-53740194.entry.js} +2 -2
- package/dist/core/{p-614953c5.entry.js → p-601d4e3f.entry.js} +2 -2
- package/dist/core/{p-0257d59e.entry.js → p-6329ddcb.entry.js} +2 -2
- package/dist/core/{p-d8200098.entry.js → p-67c3985d.entry.js} +2 -2
- package/dist/core/p-6ed48c46.entry.js +2 -0
- package/dist/core/p-6ed48c46.entry.js.map +1 -0
- package/dist/core/{p-a8dc3162.entry.js → p-703f3de1.entry.js} +2 -2
- package/dist/core/{p-f7706ff7.entry.js → p-762ea31a.entry.js} +2 -2
- package/dist/core/{p-2969b5c9.entry.js → p-7d0d85c4.entry.js} +2 -2
- package/dist/core/p-8abcc114.entry.js +2 -0
- package/dist/core/p-8abcc114.entry.js.map +1 -0
- package/dist/core/{p-b00efb15.entry.js → p-9674b63f.entry.js} +2 -2
- package/dist/core/p-9c52ee48.entry.js +2 -0
- package/dist/core/p-9c52ee48.entry.js.map +1 -0
- package/dist/core/{p-fb43abd6.entry.js → p-9ca147f3.entry.js} +2 -2
- package/dist/core/{p-4637c326.entry.js → p-a7583faf.entry.js} +2 -2
- package/dist/core/{p-6996e94f.entry.js → p-a8e4258f.entry.js} +2 -2
- package/dist/core/{p-6996e94f.entry.js.map → p-a8e4258f.entry.js.map} +1 -1
- package/dist/core/{p-09c31ac6.entry.js → p-adde6c66.entry.js} +2 -2
- package/dist/core/{p-6fb29846.entry.js → p-ae11583f.entry.js} +2 -2
- package/dist/core/p-afbba548.entry.js +2 -0
- package/dist/core/p-afbba548.entry.js.map +1 -0
- package/dist/core/{p-f098e531.entry.js → p-b4a2f6fa.entry.js} +2 -2
- package/dist/core/p-b4a2f6fa.entry.js.map +1 -0
- package/dist/core/p-b59504f1.entry.js +2 -0
- package/dist/core/p-b59504f1.entry.js.map +1 -0
- package/dist/core/p-b83a736d.entry.js +3 -0
- package/dist/core/p-b83a736d.entry.js.map +1 -0
- package/dist/core/{p-4bdeb62d.entry.js → p-bdda404b.entry.js} +2 -2
- package/dist/core/p-bdda404b.entry.js.map +1 -0
- package/dist/core/{p-0cbd0967.entry.js → p-cce398e1.entry.js} +2 -2
- package/dist/core/{p-06b3ae40.entry.js → p-d3223b89.entry.js} +2 -2
- package/dist/core/{p-3b13d191.entry.js → p-eca43f7d.entry.js} +2 -2
- package/dist/core/{p-44fbe8c2.entry.js → p-f4e3bb5b.entry.js} +2 -2
- package/dist/core/p-f51c609d.entry.js +2 -0
- package/dist/core/{p-296a41ce.entry.js → p-f57729b8.entry.js} +2 -2
- package/dist/core/{p-091a7fbf.entry.js → p-f6bb691a.entry.js} +2 -2
- package/dist/core/{p-ad6632a9.entry.js → p-f7105cf9.entry.js} +2 -2
- package/dist/core/p-ffd0d9d1.entry.js +2 -0
- package/dist/core/p-ffd0d9d1.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/ic-button_3.entry.js +5 -5
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +2 -2
- package/dist/esm/ic-checkbox.entry.js +31 -8
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-data-list.entry.js +2 -2
- package/dist/esm/ic-data-list.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +2 -2
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- 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-footer.entry.js +9 -5
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +11 -6
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +5 -5
- package/dist/esm/ic-input-component-container_3.entry.js +10 -10
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +6 -6
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- 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 +2 -2
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +1 -1
- package/dist/esm/ic-navigation-item.entry.js.map +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-item.entry.js +1 -1
- package/dist/esm/ic-pagination.entry.js +4 -4
- package/dist/esm/ic-popover-menu.entry.js +4 -4
- package/dist/esm/ic-radio-group.entry.js +5 -5
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +9 -6
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +10 -10
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +2 -2
- package/dist/esm/ic-select.entry.js +7 -7
- package/dist/esm/ic-select.entry.js.map +1 -1
- 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 +4 -4
- 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-text-field.entry.js +6 -6
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- 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 +14 -6
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +2 -2
- package/dist/esm/ic-toggle-button.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +5 -0
- package/dist/types/components/ic-footer/ic-footer.d.ts +4 -0
- package/dist/types/components/ic-hero/ic-hero.d.ts +5 -1
- package/dist/types/components/ic-toast/ic-toast.d.ts +5 -1
- package/dist/types/components.d.ts +24 -0
- package/hydrate/index.js +214 -167
- package/hydrate/index.mjs +214 -167
- package/package.json +4 -4
- package/vscode-data.json +34 -0
- package/dist/core/p-042cfc35.entry.js +0 -2
- package/dist/core/p-042cfc35.entry.js.map +0 -1
- package/dist/core/p-053ed367.entry.js +0 -2
- package/dist/core/p-053ed367.entry.js.map +0 -1
- package/dist/core/p-24d46cab.entry.js +0 -2
- package/dist/core/p-24d46cab.entry.js.map +0 -1
- package/dist/core/p-48eb7299.entry.js +0 -2
- package/dist/core/p-48eb7299.entry.js.map +0 -1
- package/dist/core/p-4a358f09.entry.js +0 -2
- package/dist/core/p-4a358f09.entry.js.map +0 -1
- package/dist/core/p-4bdeb62d.entry.js.map +0 -1
- package/dist/core/p-6e61c48a.entry.js +0 -2
- package/dist/core/p-6e61c48a.entry.js.map +0 -1
- package/dist/core/p-6f60262e.entry.js +0 -3
- package/dist/core/p-6f60262e.entry.js.map +0 -1
- package/dist/core/p-7970cbed.entry.js +0 -2
- package/dist/core/p-7970cbed.entry.js.map +0 -1
- package/dist/core/p-8c7d6a85.entry.js +0 -2
- package/dist/core/p-8c7d6a85.entry.js.map +0 -1
- package/dist/core/p-b29e325f.entry.js +0 -2
- package/dist/core/p-bba25812.entry.js +0 -2
- package/dist/core/p-bba25812.entry.js.map +0 -1
- package/dist/core/p-d1cce122.entry.js.map +0 -1
- package/dist/core/p-d20a61a7.entry.js +0 -2
- package/dist/core/p-d20a61a7.entry.js.map +0 -1
- package/dist/core/p-eb1823b3.entry.js.map +0 -1
- package/dist/core/p-f098e531.entry.js.map +0 -1
- /package/dist/core/{p-889bb8db.entry.js.map → p-04cb17d7.entry.js.map} +0 -0
- /package/dist/core/{p-f4e2e41f.entry.js.map → p-12c30491.entry.js.map} +0 -0
- /package/dist/core/{p-109e7fce.entry.js.map → p-14d43f64.entry.js.map} +0 -0
- /package/dist/core/{p-efc97f21.entry.js.map → p-1f41818b.entry.js.map} +0 -0
- /package/dist/core/{p-5cf704e3.entry.js.map → p-319e3d5b.entry.js.map} +0 -0
- /package/dist/core/{p-ab26beed.entry.js.map → p-3d23ce54.entry.js.map} +0 -0
- /package/dist/core/{p-ef397b6f.entry.js.map → p-42d35fc4.entry.js.map} +0 -0
- /package/dist/core/{p-0b1ea961.entry.js.map → p-4d3b219c.entry.js.map} +0 -0
- /package/dist/core/{p-93e1ba0a.entry.js.map → p-5254a078.entry.js.map} +0 -0
- /package/dist/core/{p-9c2e9189.entry.js.map → p-53740194.entry.js.map} +0 -0
- /package/dist/core/{p-614953c5.entry.js.map → p-601d4e3f.entry.js.map} +0 -0
- /package/dist/core/{p-0257d59e.entry.js.map → p-6329ddcb.entry.js.map} +0 -0
- /package/dist/core/{p-d8200098.entry.js.map → p-67c3985d.entry.js.map} +0 -0
- /package/dist/core/{p-a8dc3162.entry.js.map → p-703f3de1.entry.js.map} +0 -0
- /package/dist/core/{p-f7706ff7.entry.js.map → p-762ea31a.entry.js.map} +0 -0
- /package/dist/core/{p-2969b5c9.entry.js.map → p-7d0d85c4.entry.js.map} +0 -0
- /package/dist/core/{p-b00efb15.entry.js.map → p-9674b63f.entry.js.map} +0 -0
- /package/dist/core/{p-fb43abd6.entry.js.map → p-9ca147f3.entry.js.map} +0 -0
- /package/dist/core/{p-4637c326.entry.js.map → p-a7583faf.entry.js.map} +0 -0
- /package/dist/core/{p-09c31ac6.entry.js.map → p-adde6c66.entry.js.map} +0 -0
- /package/dist/core/{p-6fb29846.entry.js.map → p-ae11583f.entry.js.map} +0 -0
- /package/dist/core/{p-0cbd0967.entry.js.map → p-cce398e1.entry.js.map} +0 -0
- /package/dist/core/{p-06b3ae40.entry.js.map → p-d3223b89.entry.js.map} +0 -0
- /package/dist/core/{p-3b13d191.entry.js.map → p-eca43f7d.entry.js.map} +0 -0
- /package/dist/core/{p-44fbe8c2.entry.js.map → p-f4e3bb5b.entry.js.map} +0 -0
- /package/dist/core/{p-b29e325f.entry.js.map → p-f51c609d.entry.js.map} +0 -0
- /package/dist/core/{p-296a41ce.entry.js.map → p-f57729b8.entry.js.map} +0 -0
- /package/dist/core/{p-091a7fbf.entry.js.map → p-f6bb691a.entry.js.map} +0 -0
- /package/dist/core/{p-ad6632a9.entry.js.map → p-f7105cf9.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ic-hero.js","sourceRoot":"","sources":["../../../src/components/ic-hero/ic-hero.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,CAAC,EACD,KAAK,EACL,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAKL,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EAC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AmB,CACN,CACZ,CACF,CACP,CACI,CACH,CACP,CACoB,CAClB,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Host,\n Prop,\n h,\n State,\n Listen,\n} from \"@stencil/core\";\nimport {\n IcAlignment,\n IcSizesNoLarge,\n IcBrand,\n IcBrandForeground,\n IcBrandForegroundEnum,\n} from \"../../utils/types\";\nimport {\n slotHasContent,\n getBrandForegroundAppearance,\n onComponentRequiredPropUndefined,\n isPropDefined,\n isSlotUsed,\n renderDynamicChildSlots,\n} from \"../../utils/helpers\";\nimport { IcHeroContentAlignments } from \"./ic-hero.types\";\n\n/**\n * @slot heading - Content will be rendered in the title area, in place of the heading.\n * @slot subheading - Content will be rendered in the title area, in place of the subheading.\n * @slot interaction - Content will be rendered in the interaction area, adjacent to the title area.\n * @slot secondary - Content will be rendered in the secondary content area.\n */\n\n@Component({\n tag: \"ic-hero\",\n styleUrl: \"ic-hero.css\",\n shadow: true,\n})\nexport class Hero {\n private hostMutationObserver: MutationObserver | null = null;\n\n @Element() el: HTMLIcHeroElement;\n\n @State() foregroundColor: IcBrandForeground = getBrandForegroundAppearance();\n @State() rightContent: boolean = false;\n // set by above state\n @State() leftContentFullWidth: boolean =\n !this.rightContent && this.secondaryHeading === undefined;\n @State() scrollFactor: string = \"right -100px\";\n\n /**\n * The alignment of the hero.\n */\n @Prop() aligned?: IcAlignment = \"left\";\n\n /**\n * The optional background image.\n */\n @Prop() backgroundImage?: string;\n\n /**\n * The alignment of the hero content.\n */\n @Prop() contentAligned?: IcHeroContentAlignments = \"left\";\n\n /**\n * If `true`, the background image (if set) will not scroll using a parallax effect.\n */\n @Prop() disableBackgroundParallax?: boolean = false;\n\n /**\n * The heading of the hero. An <h2> level heading.\n */\n @Prop() heading?: string;\n\n /**\n * The optional secondary heading, an <h3> level heading. Replaced by slotted right content.\n */\n @Prop() secondaryHeading?: string;\n\n /**\n * The optional secondary subheading, replaced by slotted right content.\n */\n @Prop() secondarySubheading?: string;\n\n /**\n * The size of the hero component.\n */\n @Prop() size?: IcSizesNoLarge = \"medium\";\n\n /**\n * The description for the hero.\n */\n @Prop() subheading?: string;\n\n disconnectedCallback(): void {\n this.hostMutationObserver?.disconnect();\n }\n\n componentWillLoad(): void {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n\n componentDidLoad(): void {\n !isSlotUsed(this.el, \"heading\") &&\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Hero\"\n );\n\n this.hostMutationObserver = new MutationObserver((mutationList) =>\n renderDynamicChildSlots(mutationList, \"secondary\", this)\n );\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n\n componentWillRender(): void {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n\n @Listen(\"brandChange\", { target: \"document\" })\n brandChangeHandler(ev: CustomEvent<IcBrand>): void {\n this.foregroundColor = ev.detail.mode;\n }\n\n @Listen(\"scroll\", { target: \"document\" })\n doScroll(): void {\n if (this.disableBackgroundParallax) {\n return;\n }\n\n const scrolltotop = document.scrollingElement?.scrollTop;\n if (scrolltotop) {\n const factor = 0.4;\n const y = -100 + scrolltotop * factor;\n this.scrollFactor = \"right \" + y + \"px\";\n }\n }\n\n render() {\n const {\n aligned,\n size,\n heading,\n subheading,\n secondaryHeading,\n secondarySubheading,\n foregroundColor,\n backgroundImage,\n scrollFactor,\n contentAligned,\n } = this;\n\n let style = {};\n\n if (isPropDefined(backgroundImage)) {\n style = {\n \"background-image\": \"url(\" + backgroundImage + \")\",\n \"background-position\": scrollFactor,\n };\n }\n\n return (\n <Host\n class={{\n [`ic-hero-${IcBrandForegroundEnum.Dark}`]:\n foregroundColor === IcBrandForegroundEnum.Dark,\n [\"has-background-image\"]: backgroundImage !== undefined,\n [\"has-right-content\"]: this.rightContent,\n [\"ic-hero-small\"]: size === \"small\",\n [\"secondary-heading\"]: !!secondaryHeading,\n [`ic-hero-content-aligned-${contentAligned}`]:\n contentAligned !== undefined,\n }}\n style={style}\n >\n <ic-section-container\n aligned={aligned}\n fullHeight\n class=\"section-container\"\n >\n <div\n class={{\n [\"left-container\"]: true,\n [\"left-container-full-width\"]: this.leftContentFullWidth,\n }}\n >\n <div class=\"heading\">\n <slot name=\"heading\">\n <ic-typography\n variant={size === \"small\" ? \"h2\" : \"h1\"}\n class={{\n [\"heading-bottom-spacing\"]: size !== \"small\",\n }}\n >\n <h2>{heading}</h2>\n </ic-typography>\n </slot>\n </div>\n <div class=\"subheading\">\n <slot name=\"subheading\">\n <ic-typography variant=\"body\">{subheading}</ic-typography>\n </slot>\n </div>\n <div class=\"interaction-container\">\n <slot name=\"interaction\"></slot>\n </div>\n </div>\n {(isPropDefined(secondaryHeading) || this.rightContent) && (\n <div class=\"right-container\">\n <slot name=\"secondary\">\n {secondaryHeading && (\n <div class=\"secondary-container\">\n <div class=\"secondary-heading\">\n <ic-typography variant=\"h4\">\n <h3>{secondaryHeading}</h3>\n </ic-typography>\n </div>\n <div class=\"secondary-subheading\">\n <ic-typography variant=\"subtitle-small\">\n {secondarySubheading}\n </ic-typography>\n </div>\n </div>\n )}\n </slot>\n </div>\n )}\n </ic-section-container>\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ic-hero.js","sourceRoot":"","sources":["../../../src/components/ic-hero/ic-hero.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,CAAC,EACD,KAAK,EACL,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAKL,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DAAK,KAAK,EAAC,mBAAmB;4BAC5B,sEAAe,OAAO,EAAC,IAAI;gCACzB,6DAAK,gBAAgB,CAAM,CACb,CACZ;wBACN,4DAAK,KAAK,EAAC,sBAAsB;4BAC/B,sEAAe,OAAO,EAAC,gBAAgB,IACpC,mBAAmB,CACN,CACZ,CACF,CACP,CACI,CACH,CACP,CACoB,CAClB,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Host,\n Prop,\n h,\n State,\n Listen,\n} from \"@stencil/core\";\nimport {\n IcAlignment,\n IcSizesNoLarge,\n IcBrand,\n IcBrandForeground,\n IcBrandForegroundEnum,\n IcThemeMode,\n} from \"../../utils/types\";\nimport {\n slotHasContent,\n getBrandForegroundAppearance,\n onComponentRequiredPropUndefined,\n isPropDefined,\n isSlotUsed,\n renderDynamicChildSlots,\n} from \"../../utils/helpers\";\nimport { IcHeroContentAlignments } from \"./ic-hero.types\";\n\n/**\n * @slot heading - Content will be rendered in the title area, in place of the heading.\n * @slot subheading - Content will be rendered in the title area, in place of the subheading.\n * @slot interaction - Content will be rendered in the interaction area, adjacent to the title area.\n * @slot secondary - Content will be rendered in the secondary content area.\n */\n\n@Component({\n tag: \"ic-hero\",\n styleUrl: \"ic-hero.css\",\n shadow: true,\n})\nexport class Hero {\n private hostMutationObserver: MutationObserver | null = null;\n\n @Element() el: HTMLIcHeroElement;\n\n @State() foregroundColor: IcBrandForeground = getBrandForegroundAppearance();\n @State() rightContent: boolean = false;\n // set by above state\n @State() leftContentFullWidth: boolean =\n !this.rightContent && this.secondaryHeading === undefined;\n @State() scrollFactor: string = \"right -100px\";\n\n /**\n * The alignment of the hero.\n */\n @Prop() aligned?: IcAlignment = \"left\";\n\n /**\n * The optional background image.\n */\n @Prop() backgroundImage?: string;\n\n /**\n * The alignment of the hero content.\n */\n @Prop() contentAligned?: IcHeroContentAlignments = \"left\";\n\n /**\n * If `true`, the background image (if set) will not scroll using a parallax effect.\n */\n @Prop() disableBackgroundParallax?: boolean = false;\n\n /**\n * The heading of the hero. An <h2> level heading.\n */\n @Prop() heading?: string;\n\n /**\n * The optional secondary heading, an <h3> level heading. Replaced by slotted right content.\n */\n @Prop() secondaryHeading?: string;\n\n /**\n * The optional secondary subheading, replaced by slotted right content.\n */\n @Prop() secondarySubheading?: string;\n\n /**\n * The size of the hero component.\n */\n @Prop() size?: IcSizesNoLarge = \"medium\";\n\n /**\n * The description for the hero.\n */\n @Prop() subheading?: string;\n\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n @Prop() theme: IcThemeMode = \"inherit\";\n\n disconnectedCallback(): void {\n this.hostMutationObserver?.disconnect();\n }\n\n componentWillLoad(): void {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n\n componentDidLoad(): void {\n !isSlotUsed(this.el, \"heading\") &&\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Hero\"\n );\n\n this.hostMutationObserver = new MutationObserver((mutationList) =>\n renderDynamicChildSlots(mutationList, \"secondary\", this)\n );\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n\n componentWillRender(): void {\n this.rightContent = slotHasContent(this.el, \"secondary\");\n }\n\n @Listen(\"brandChange\", { target: \"document\" })\n brandChangeHandler(ev: CustomEvent<IcBrand>): void {\n this.foregroundColor = ev.detail.mode;\n }\n\n @Listen(\"scroll\", { target: \"document\" })\n doScroll(): void {\n if (this.disableBackgroundParallax) {\n return;\n }\n\n const scrolltotop = document.scrollingElement?.scrollTop;\n if (scrolltotop) {\n const factor = 0.4;\n const y = -100 + scrolltotop * factor;\n this.scrollFactor = \"right \" + y + \"px\";\n }\n }\n\n render() {\n const {\n aligned,\n size,\n heading,\n subheading,\n secondaryHeading,\n secondarySubheading,\n foregroundColor,\n backgroundImage,\n scrollFactor,\n contentAligned,\n theme,\n } = this;\n\n let style = {};\n\n if (isPropDefined(backgroundImage)) {\n style = {\n \"background-image\": \"url(\" + backgroundImage + \")\",\n \"background-position\": scrollFactor,\n };\n }\n\n return (\n <Host\n class={{\n [`ic-hero-${IcBrandForegroundEnum.Dark}`]:\n foregroundColor === IcBrandForegroundEnum.Dark,\n [\"has-background-image\"]: backgroundImage !== undefined,\n [\"has-right-content\"]: this.rightContent,\n [\"ic-hero-small\"]: size === \"small\",\n [\"secondary-heading\"]: !!secondaryHeading,\n [`ic-hero-content-aligned-${contentAligned}`]:\n contentAligned !== undefined,\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n }}\n style={style}\n >\n <ic-section-container\n aligned={aligned}\n fullHeight\n class=\"section-container\"\n >\n <div\n class={{\n [\"left-container\"]: true,\n [\"left-container-full-width\"]: this.leftContentFullWidth,\n }}\n >\n <div class=\"heading\">\n <slot name=\"heading\">\n <ic-typography\n variant={size === \"small\" ? \"h2\" : \"h1\"}\n class={{\n [\"heading-bottom-spacing\"]: size !== \"small\",\n }}\n >\n <h2>{heading}</h2>\n </ic-typography>\n </slot>\n </div>\n <div class=\"subheading\">\n <slot name=\"subheading\">\n <ic-typography variant=\"body\">{subheading}</ic-typography>\n </slot>\n </div>\n <div class=\"interaction-container\">\n <slot name=\"interaction\"></slot>\n </div>\n </div>\n {(isPropDefined(secondaryHeading) || this.rightContent) && (\n <div class=\"right-container\">\n <slot name=\"secondary\">\n {secondaryHeading && (\n <div class=\"secondary-container\">\n <div class=\"secondary-heading\">\n <ic-typography variant=\"h4\">\n <h3>{secondaryHeading}</h3>\n </ic-typography>\n </div>\n <div class=\"secondary-subheading\">\n <ic-typography variant=\"subtitle-small\">\n {secondarySubheading}\n </ic-typography>\n </div>\n </div>\n )}\n </slot>\n </div>\n )}\n </ic-section-container>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -19,6 +19,7 @@ const defaultArgs = {
|
|
|
19
19
|
subheading:
|
|
20
20
|
"Hero description. This is a Hero component, it should be used as a page heading.",
|
|
21
21
|
showSecondary: false,
|
|
22
|
+
theme: "inherit",
|
|
22
23
|
};
|
|
23
24
|
|
|
24
25
|
export const Playground = {
|
|
@@ -32,6 +33,7 @@ export const Playground = {
|
|
|
32
33
|
secondary-subheading=${args.secondarySubheading}
|
|
33
34
|
size=${args.size}
|
|
34
35
|
subheading=${args.subheading}
|
|
36
|
+
theme=${args.theme}
|
|
35
37
|
>
|
|
36
38
|
<ic-button variant="primary" slot="interaction"> Button </ic-button>
|
|
37
39
|
<ic-button variant="secondary" slot="interaction"> Button </ic-button>
|
|
@@ -43,6 +45,12 @@ export const Playground = {
|
|
|
43
45
|
slot="secondary"
|
|
44
46
|
/>
|
|
45
47
|
`}
|
|
48
|
+
<ic-text-field
|
|
49
|
+
slot="interaction"
|
|
50
|
+
label="Input"
|
|
51
|
+
helper-text="This is an input"
|
|
52
|
+
placeholder="Please enter…"
|
|
53
|
+
/>
|
|
46
54
|
</ic-hero>`,
|
|
47
55
|
|
|
48
56
|
args: defaultArgs,
|
|
@@ -76,6 +84,13 @@ export const Playground = {
|
|
|
76
84
|
type: "select",
|
|
77
85
|
},
|
|
78
86
|
},
|
|
87
|
+
theme: {
|
|
88
|
+
options: ["inherit", "light", "dark"],
|
|
89
|
+
|
|
90
|
+
control: {
|
|
91
|
+
type: "inline-radio",
|
|
92
|
+
},
|
|
93
|
+
},
|
|
79
94
|
},
|
|
80
95
|
};
|
|
81
96
|
|
|
@@ -155,22 +155,22 @@ export class HorizontalScroll {
|
|
|
155
155
|
}
|
|
156
156
|
render() {
|
|
157
157
|
const { firstItemVisible, lastItemVisible, itemOverflow } = this;
|
|
158
|
-
return (h(Host, { key: '
|
|
158
|
+
return (h(Host, { key: '5c313665e71e0abc91a19f204ccf08d7b017f46b', class: {
|
|
159
159
|
["ic-horizontal-scroll-visible"]: itemOverflow,
|
|
160
160
|
["ic-horizontal-scroll-dark"]: this.appearance === IcBrandForegroundEnum.Dark,
|
|
161
161
|
["ic-horizontal-scroll-light"]: this.appearance === IcBrandForegroundEnum.Light,
|
|
162
162
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
|
163
|
-
} }, h("div", { key: '
|
|
163
|
+
} }, h("div", { key: '7a65d56af26a6bfe660c3e923beaf7b512f77de8', "aria-hidden": "true", class: {
|
|
164
164
|
["scroll-container-left"]: true,
|
|
165
165
|
["hidden"]: !itemOverflow,
|
|
166
166
|
["disabled"]: firstItemVisible,
|
|
167
|
-
}, role: "tab" }, h("ic-button", { key: '
|
|
167
|
+
}, role: "tab" }, h("ic-button", { key: '0203d6acdde7444d03038b3ec86f3e318615030d', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll left", theme: this.theme === "light" || this.theme === "inherit"
|
|
168
168
|
? "dark"
|
|
169
|
-
: "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), h("span", { key: '
|
|
169
|
+
: "light", monochrome: this.monochrome, innerHTML: LeftArrow, disabled: firstItemVisible, tabindex: "-1", onClick: this.scrollLeft, onMouseDown: this.leftArrowMouseDownHandler }), h("span", { key: 'dffb5fee1c17005205216d0901141317e2dc4aa6', class: "scroll-splitter-left" })), h("slot", { key: 'f637c15f3020e1572a61179c2132dece11d0699a' }), h("div", { key: 'c563d5ca6d07a66f2111bea5aebe7d36ae481770', "aria-hidden": "true", class: {
|
|
170
170
|
["scroll-container-right"]: true,
|
|
171
171
|
["hidden"]: !itemOverflow,
|
|
172
172
|
["disabled"]: lastItemVisible,
|
|
173
|
-
}, role: "tab" }, h("span", { key: '
|
|
173
|
+
}, role: "tab" }, h("span", { key: 'd8afe9aaf2304d13909815aeb8e60ac4f8952f7f', class: "scroll-splitter-right" }), h("ic-button", { key: '4f3be747e736a50705793742b0a1e9fab44d56db', class: "scroll-arrow", variant: "icon-tertiary", "aria-label": "Scroll right", theme: this.theme === "light" || this.theme === "inherit"
|
|
174
174
|
? "dark"
|
|
175
175
|
: "light", monochrome: this.monochrome, innerHTML: RightArrow, disabled: lastItemVisible, tabindex: "-1", onClick: this.scrollRight, onMouseDown: this.rightArrowMouseDownHandler }))));
|
|
176
176
|
}
|
package/dist/collection/components/ic-input-component-container/ic-input-component-container.css
CHANGED
|
@@ -32,6 +32,7 @@ ic-input-component-container {
|
|
|
32
32
|
|
|
33
33
|
ic-input-component-container.ic-input-component-container-full-width {
|
|
34
34
|
width: 100%;
|
|
35
|
+
max-width: none;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
ic-input-component-container.ic-input-component-container-disabled,
|
|
@@ -206,3 +207,11 @@ ic-input-component-container:focus {
|
|
|
206
207
|
border: var(--ic-border-width) dashed GrayText;
|
|
207
208
|
}
|
|
208
209
|
}
|
|
210
|
+
|
|
211
|
+
/* Breakpoint value chosen as it's a small amount bigger than the input's default width */
|
|
212
|
+
@media screen AND (max-width: 22rem) {
|
|
213
|
+
ic-input-component-container {
|
|
214
|
+
max-width: var(--input-width, 20rem);
|
|
215
|
+
width: 100%;
|
|
216
|
+
}
|
|
217
|
+
}
|
package/dist/collection/components/ic-input-component-container/ic-input-component-container.js
CHANGED
|
@@ -48,15 +48,15 @@ export class InputComponentContainer {
|
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
50
|
const { size, validationStatus, disabled, readonly, multiLine, fullWidth, validationInline, } = this;
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'c33ebfd9dd18101fb9161259538e8e0046f77a3d', class: {
|
|
52
52
|
[`ic-input-component-container-${size}`]: true,
|
|
53
53
|
[`ic-input-component-container-${validationStatus}`]: validationStatus !== "" && !disabled && !readonly,
|
|
54
54
|
"ic-input-component-container-disabled": !!disabled,
|
|
55
55
|
"ic-input-component-container-readonly": !!readonly,
|
|
56
56
|
"ic-input-component-container-multiline": !!multiLine,
|
|
57
57
|
"ic-input-component-container-full-width": !!fullWidth,
|
|
58
|
-
}, "aria-disabled": disabled ? "true" : null }, h("div", { key: '
|
|
59
|
-
validationStatus === IcInformationStatus.Success && (h("span", { key: '
|
|
58
|
+
}, "aria-disabled": disabled ? "true" : null }, h("div", { key: 'a70f27a3235ac0edb9d9c5a18983ae3c02de2a48', class: "focus-indicator" }, slotHasContent(this.el, "left-icon") && (h("div", { key: 'aa0b233280382bd0e95a8ff932bf60a63603b7bf', class: "icon-container" }, h("slot", { key: 'ceb8ec9b420073ac2ecd5d6793ad4342ab9ebbdd', name: "left-icon" }))), h("slot", { key: '1850c6ed04510e678600c653a36e2114f982e561' }), validationInline &&
|
|
59
|
+
validationStatus === IcInformationStatus.Success && (h("span", { key: '58d228c595577c1cc9a0fe2b10538cc3efff53ab', class: "inline-success", innerHTML: successIcon })))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "ic-input-component-container"; }
|
|
62
62
|
static get originalStyleUrls() {
|
|
@@ -11,11 +11,11 @@ export class InputContainer {
|
|
|
11
11
|
this.readonly = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '32ae22db5e182cc2c092c8f48e61d42a318284a0' }, h("div", { key: 'bae9ef74f7f92004ec99c387a213822315c505ba', class: {
|
|
15
15
|
["component-container"]: true,
|
|
16
16
|
["disabled"]: !!this.disabled,
|
|
17
17
|
["readonly"]: !!this.readonly,
|
|
18
|
-
} }, h("slot", { key: '
|
|
18
|
+
} }, h("slot", { key: 'acca571eaa0d8f19b0e3379d2592409aacf9dd95' }))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "ic-input-container"; }
|
|
21
21
|
static get originalStyleUrls() {
|
|
@@ -63,11 +63,11 @@ export class InputLabel {
|
|
|
63
63
|
"helpertext-readonly": readonly,
|
|
64
64
|
};
|
|
65
65
|
const helperTextSlot = this.el.querySelector("slot[name='helper-text']");
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'da58fe3cac026661d1c624c69c56c6e64ff3c07a', class: {
|
|
67
67
|
"ic-input-label-disabled": !!disabled,
|
|
68
68
|
"ic-input-label-readonly": readonly,
|
|
69
69
|
"with-helper": this.isHelperTextSlotUsed(helperTextSlot) || helperText !== "",
|
|
70
|
-
} }, !hideLabel && (h("ic-typography", { key: '
|
|
70
|
+
} }, !hideLabel && (h("ic-typography", { key: 'bb221e5f51681a0caa721c66f03fd475e4e08749', variant: "label", class: {
|
|
71
71
|
"readonly-label": readonly,
|
|
72
72
|
"error-label": status === "error" && !(readonly || disabled),
|
|
73
73
|
} }, readonly || !useLabelTag ? (`${labelText}`) : (h("label", { htmlFor: this.for }, labelText)))), this.isHelperTextSlotUsed(helperTextSlot) ? (h("span", { id: helperTextId, class: helperTextClass }, h("slot", { name: "helper-text" }))) : (helperText !== "" && (h("ic-typography", { variant: "caption", class: helperTextClass }, h("span", { id: helperTextId }, helperText))))));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
ic-input-validation {
|
|
2
|
-
width: var(--input-width, 20rem);
|
|
2
|
+
max-width: var(--input-width, 20rem);
|
|
3
3
|
display: flex;
|
|
4
4
|
}
|
|
5
5
|
|
|
@@ -9,6 +9,7 @@ ic-input-validation.ic-input-validation-with-status {
|
|
|
9
9
|
|
|
10
10
|
ic-input-validation.ic-input-validation-full-width {
|
|
11
11
|
width: 100%;
|
|
12
|
+
max-width: none;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
ic-input-validation span.status-icon {
|
|
@@ -43,14 +43,14 @@ export class InputValidation {
|
|
|
43
43
|
render() {
|
|
44
44
|
const { ariaLiveMode, fullWidth, status, message } = this;
|
|
45
45
|
const displayIcon = status !== "" ? ICON[status] : "";
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '0513b4d21426f48a3751fbb4f16786d8cdde6f30', class: {
|
|
47
47
|
[`ic-input-validation-${status}`]: status !== "",
|
|
48
48
|
"ic-input-validation-full-width": !!fullWidth,
|
|
49
49
|
"ic-input-validation-with-status": status !== "",
|
|
50
|
-
} }, displayIcon !== "" && (h("span", { key: '
|
|
50
|
+
} }, displayIcon !== "" && (h("span", { key: '3e6de247d788f9836f338e109d7be5914fa2f320', class: {
|
|
51
51
|
"status-icon": true,
|
|
52
52
|
[`icon-${status}`]: true,
|
|
53
|
-
}, innerHTML: displayIcon })), h("ic-typography", { key: '
|
|
53
|
+
}, innerHTML: displayIcon })), h("ic-typography", { key: '5ee4e673c1f2934d74eafbc08241cdfae1aa5f9f', variant: "caption", class: "statustext" }, h("span", { key: '850149ffb8c4cdab21ab0c05a8787747e399ca41', id: this.for && getInputValidationTextID(this.for) }, message), h("span", { key: 'a26f5aa58e81cf3e9d982d86b75b3ab7e14897ad', ref: (el) => (this.messageEl = el), class: "sr-only", "aria-live": ariaLiveMode })), h("slot", { key: '4dba13235c6ec27d634b0dd38523963798676b36', name: "validation-message-adornment" })));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "ic-input-validation"; }
|
|
56
56
|
static get originalStyleUrls() {
|
|
@@ -124,10 +124,10 @@ export class LayoutGrid {
|
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
126
|
const { aligned, fullHeight } = this;
|
|
127
|
-
return (h(Host, { key: '
|
|
127
|
+
return (h(Host, { key: 'fa862e7110426cb032982c8743b7ad3024f06f9a', class: {
|
|
128
128
|
[`ic-layout-grid-aligned-${aligned}`]: true,
|
|
129
129
|
["ic-layout-grid-no-vertical-padding"]: !!fullHeight,
|
|
130
|
-
} }, h("slot", { key: '
|
|
130
|
+
} }, h("slot", { key: '716c4137c338797b4ce17c9dd946f8902064606f' })));
|
|
131
131
|
}
|
|
132
132
|
static get is() { return "ic-layout-grid"; }
|
|
133
133
|
static get encapsulation() { return "shadow"; }
|
|
@@ -42,9 +42,9 @@ export class LayoutGridItem {
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
const { hideInMobileMode } = this;
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '9e96a528f70c414a5728a7fd0773d0adb4063020', class: {
|
|
46
46
|
"ic-layout-grid-hide-in-mobile": !!hideInMobileMode,
|
|
47
|
-
} }, h("slot", { key: '
|
|
47
|
+
} }, h("slot", { key: '43b2b4891f8b1241fad2fb707016cd927632bdfd' })));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "ic-layout-grid-item"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -91,7 +91,7 @@ export class Link {
|
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
93
|
const { download, href, hreflang, referrerpolicy, rel, target, monochrome, theme, } = this;
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: '1d3ba1effcfab3255ea567c475e2252bd17de507', class: {
|
|
95
95
|
["ic-link"]: true,
|
|
96
96
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
97
97
|
["ic-link-monochrome"]: !!monochrome,
|
|
@@ -179,24 +179,24 @@ export class LoadingIndicator {
|
|
|
179
179
|
}
|
|
180
180
|
render() {
|
|
181
181
|
const { circularDiameter, circularDimensions: { x, y, r, dashArray, dashOffset }, description, fullWidth, indicatorLabel, innerLabel, label, max, min, monochrome, progress, size, theme, type, } = this;
|
|
182
|
-
return (h(Host, { key: '
|
|
182
|
+
return (h(Host, { key: '8f3a698fc177a9ff0c42efa2cb0d6fde7d09f2cb', class: {
|
|
183
183
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
|
184
184
|
"ic-loading-indicator-full-width": fullWidth,
|
|
185
185
|
"ic-loading-indicator-label": !!label,
|
|
186
186
|
"ic-loading-indicator-monochrome": monochrome,
|
|
187
187
|
[`ic-loading-indicator-size-${size}`]: true,
|
|
188
|
-
} }, h("div", { key: '
|
|
188
|
+
} }, h("div", { key: '947ed45a2a33bb3efc98be184d144c7022a99341', class: "ic-loading-container", part: "ic-loading-container" }, h("div", { key: '07cfd1daad6714aa3f0a9aa6639c62f07cd51319', ref: (el) => (this.outerElement = el), class: {
|
|
189
189
|
[`ic-loading-${type}-outer`]: true,
|
|
190
190
|
[progress === undefined ? "indeterminate" : "determinate"]: true,
|
|
191
|
-
}, role: "progressbar", "aria-labelledby": label && size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": progress, "aria-valuemin": min, "aria-valuemax": max }, h("div", { key: '
|
|
191
|
+
}, role: "progressbar", "aria-labelledby": label && size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": progress, "aria-valuemin": min, "aria-valuemax": max }, h("div", { key: '784dc31419e98ce922fc71941f22a063c26ab249', ref: (el) => (this.innerElement = el), class: {
|
|
192
192
|
[`ic-loading-${type}-inner`]: true,
|
|
193
193
|
"inner-label": !!innerLabel,
|
|
194
|
-
} }, innerLabel && size === "small" && (h("ic-typography", { key: '
|
|
194
|
+
} }, innerLabel && size === "small" && (h("ic-typography", { key: '8f55830d3c41595cecfdfdb3630af8ad2b93fc1e', variant: "subtitle-small", class: "inner-text" }, innerLabel)), type === "circular" && (h("svg", { key: '5505faa38e257e69a988217685c9a466f622489b', class: "ic-loading-circular-svg", viewBox: `0 0 ${circularDiameter} ${circularDiameter}` }, h("circle", { key: 'c2f46bcb23d2af900f8b6dbfabb317172b3fdb22', cx: x, cy: y, r: r }), h("circle", { key: 'f0d9f105bda3e40c78cba1a3a2986b31ccc0327a', style: {
|
|
195
195
|
"--circular-steps-max": progress ? `${max}` : undefined,
|
|
196
196
|
"--progress-value": progress !== undefined ? `${progress}` : undefined,
|
|
197
197
|
"--stroke-dasharray": dashArray,
|
|
198
198
|
"--stroke-dashoffset": dashOffset,
|
|
199
|
-
}, cx: x, cy: y, r: r }))))), label && size !== "icon" && (h("ic-typography", { key: '
|
|
199
|
+
}, cx: x, cy: y, r: r }))))), label && size !== "icon" && (h("ic-typography", { key: '15d34b2712a2961d2e1b8a63ab6f65a82fa68d67', id: "ic-loading-label", class: "ic-loading-label", role: "alert", variant: this.getLabelVariant() }, h("p", { key: '25130595c4008fdd8acd8c47a6729d3aef5cf70c' }, indicatorLabel))))));
|
|
200
200
|
}
|
|
201
201
|
static get is() { return "ic-loading-indicator"; }
|
|
202
202
|
static get encapsulation() { return "shadow"; }
|
|
@@ -35,13 +35,13 @@ export default {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
export const CircularIndeterminate = {
|
|
38
|
-
render: (
|
|
38
|
+
render: () =>
|
|
39
39
|
html`<ic-loading-indicator label="Loading..."></ic-loading-indicator>`,
|
|
40
40
|
name: "Circular (indeterminate)",
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
export const CircularDeterminate = {
|
|
44
|
-
render: (
|
|
44
|
+
render: () =>
|
|
45
45
|
html`<ic-loading-indicator
|
|
46
46
|
progress="30"
|
|
47
47
|
min="0"
|
|
@@ -53,7 +53,7 @@ export const CircularDeterminate = {
|
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
export const CircularLongLabel = {
|
|
56
|
-
render: (
|
|
56
|
+
render: () =>
|
|
57
57
|
html`<ic-loading-indicator
|
|
58
58
|
label="This is a label for a loading indicator that is indeterminate and should wrap onto more than one line when it gets too long"
|
|
59
59
|
></ic-loading-indicator>`,
|
|
@@ -62,7 +62,7 @@ export const CircularLongLabel = {
|
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
export const CircularVariantsIndeterminate = {
|
|
65
|
-
render: (
|
|
65
|
+
render: () =>
|
|
66
66
|
html`<div style="display: grid; gap: 50px;">
|
|
67
67
|
<ic-loading-indicator label="Small" size="small"></ic-loading-indicator>
|
|
68
68
|
<ic-loading-indicator label="Default"></ic-loading-indicator>
|
|
@@ -73,7 +73,7 @@ export const CircularVariantsIndeterminate = {
|
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
export const CircularVariantsDeterminate = {
|
|
76
|
-
render: (
|
|
76
|
+
render: () =>
|
|
77
77
|
html`<div style="display: grid; gap: 50px;">
|
|
78
78
|
<ic-loading-indicator
|
|
79
79
|
progress="30"
|
|
@@ -101,13 +101,12 @@ export const CircularVariantsDeterminate = {
|
|
|
101
101
|
};
|
|
102
102
|
|
|
103
103
|
export const Icon = {
|
|
104
|
-
render: (
|
|
105
|
-
html`<ic-loading-indicator size="icon"></ic-loading-indicator>`,
|
|
104
|
+
render: () => html`<ic-loading-indicator size="icon"></ic-loading-indicator>`,
|
|
106
105
|
name: "Icon",
|
|
107
106
|
};
|
|
108
107
|
|
|
109
108
|
export const LinearIndeterminate = {
|
|
110
|
-
render: (
|
|
109
|
+
render: () =>
|
|
111
110
|
html`<ic-loading-indicator
|
|
112
111
|
label="Loading..."
|
|
113
112
|
type="linear"
|
|
@@ -117,7 +116,7 @@ export const LinearIndeterminate = {
|
|
|
117
116
|
};
|
|
118
117
|
|
|
119
118
|
export const LinearDeterminate = {
|
|
120
|
-
render: (
|
|
119
|
+
render: () =>
|
|
121
120
|
html`<ic-loading-indicator
|
|
122
121
|
progress="30"
|
|
123
122
|
min="0"
|
|
@@ -130,7 +129,7 @@ export const LinearDeterminate = {
|
|
|
130
129
|
};
|
|
131
130
|
|
|
132
131
|
export const LinearLongLabel = {
|
|
133
|
-
render: (
|
|
132
|
+
render: () =>
|
|
134
133
|
html`<ic-loading-indicator
|
|
135
134
|
type="linear"
|
|
136
135
|
label="This is a label for a loading indicator that is indeterminate and should wrap onto more than one line when it gets too long"
|
|
@@ -140,7 +139,7 @@ export const LinearLongLabel = {
|
|
|
140
139
|
};
|
|
141
140
|
|
|
142
141
|
export const LinearVariantsIndeterminate = {
|
|
143
|
-
render: (
|
|
142
|
+
render: () =>
|
|
144
143
|
html`<div style="display: grid; gap: 50px;">
|
|
145
144
|
<ic-loading-indicator
|
|
146
145
|
label="Small"
|
|
@@ -168,7 +167,7 @@ export const LinearVariantsIndeterminate = {
|
|
|
168
167
|
};
|
|
169
168
|
|
|
170
169
|
export const LinearVariantsDeterminate = {
|
|
171
|
-
render: (
|
|
170
|
+
render: () =>
|
|
172
171
|
html`<div style="display: grid; gap: 50px;">
|
|
173
172
|
<ic-loading-indicator
|
|
174
173
|
progress="30"
|
|
@@ -208,7 +207,7 @@ export const LinearVariantsDeterminate = {
|
|
|
208
207
|
};
|
|
209
208
|
|
|
210
209
|
export const CircularDarkMode = {
|
|
211
|
-
render: (
|
|
210
|
+
render: () =>
|
|
212
211
|
html`<div style="display: grid; gap: 50px;">
|
|
213
212
|
<ic-loading-indicator
|
|
214
213
|
label="Small"
|
|
@@ -233,7 +232,7 @@ export const CircularDarkMode = {
|
|
|
233
232
|
};
|
|
234
233
|
|
|
235
234
|
export const IconDarkMode = {
|
|
236
|
-
render: (
|
|
235
|
+
render: () =>
|
|
237
236
|
html`<ic-loading-indicator
|
|
238
237
|
size="icon"
|
|
239
238
|
theme="dark"
|
|
@@ -249,7 +248,7 @@ export const IconDarkMode = {
|
|
|
249
248
|
};
|
|
250
249
|
|
|
251
250
|
export const LinearDarkMode = {
|
|
252
|
-
render: (
|
|
251
|
+
render: () =>
|
|
253
252
|
html`<div style="display: grid; gap: 50px;">
|
|
254
253
|
<ic-loading-indicator
|
|
255
254
|
label="Default"
|
|
@@ -306,7 +305,7 @@ export const LinearDarkMode = {
|
|
|
306
305
|
};
|
|
307
306
|
|
|
308
307
|
export const Monochrome = {
|
|
309
|
-
render: (
|
|
308
|
+
render: () =>
|
|
310
309
|
html`<div style="display: grid; gap: 50px;">
|
|
311
310
|
<ic-loading-indicator
|
|
312
311
|
label="Light"
|
|
@@ -351,7 +350,7 @@ export const Monochrome = {
|
|
|
351
350
|
};
|
|
352
351
|
|
|
353
352
|
export const NoLabel = {
|
|
354
|
-
render: (
|
|
353
|
+
render: () =>
|
|
355
354
|
html`<div style="display: grid; gap: 50px;">
|
|
356
355
|
<ic-loading-indicator description="Loading"></ic-loading-indicator
|
|
357
356
|
><ic-loading-indicator
|
|
@@ -377,7 +376,7 @@ export const NoLabel = {
|
|
|
377
376
|
};
|
|
378
377
|
|
|
379
378
|
export const ChangingLabel = {
|
|
380
|
-
render: (
|
|
379
|
+
render: () =>
|
|
381
380
|
html`<ic-loading-indicator label-duration="4000"></ic-loading-indicator>
|
|
382
381
|
<script>
|
|
383
382
|
document.querySelector("ic-loading-indicator").label = [
|
|
@@ -740,3 +740,11 @@ video {
|
|
|
740
740
|
--ic-typography-color: GrayText;
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
|
+
|
|
744
|
+
/* Breakpoint value chosen as it's a small amount bigger than the menu's default width */
|
|
745
|
+
@media screen AND (max-width: 22rem) {
|
|
746
|
+
:host {
|
|
747
|
+
max-width: var(--menu-width, var(--input-width, 20rem));
|
|
748
|
+
width: 100%;
|
|
749
|
+
}
|
|
750
|
+
}
|
|
@@ -916,7 +916,7 @@ export class Menu {
|
|
|
916
916
|
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, multiSelect, } = this;
|
|
917
917
|
const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
|
|
918
918
|
const hasNoResults = this.host.classList.contains("no-results");
|
|
919
|
-
return (h(Host, { key: '
|
|
919
|
+
return (h(Host, { key: '8dad972db607187821f9063a35f75768df5adcc1', class: {
|
|
920
920
|
"ic-menu-full-width": !!fullWidth,
|
|
921
921
|
"ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
|
|
922
922
|
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
|
|
@@ -925,7 +925,7 @@ export class Menu {
|
|
|
925
925
|
[`ic-menu-${size}`]: true,
|
|
926
926
|
"ic-menu-open": open && options.length !== 0,
|
|
927
927
|
"ic-menu-multiple": multiSelect,
|
|
928
|
-
} }, options.length !== 0 && (h("ul", { key: '
|
|
928
|
+
} }, options.length !== 0 && (h("ul", { key: 'bbdb630e801155ddb22240206eac4f919807ec2d', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": multiSelect ? "true" : "false", tabindex: open &&
|
|
929
929
|
!keyboardNav &&
|
|
930
930
|
((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
|
|
931
931
|
(parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
|
|
@@ -953,7 +953,7 @@ export class Menu {
|
|
|
953
953
|
multiSelect &&
|
|
954
954
|
!isLoading &&
|
|
955
955
|
!hasTimedOut &&
|
|
956
|
-
!hasNoResults && (h("div", { key: '
|
|
956
|
+
!hasNoResults && (h("div", { key: '2806fdd383f3450d651e681a0156c47cd98689c5', class: "option-bar" }, h("ic-typography", { key: 'dd2e0b74622eb359e4e53cc5c7b0f031ef577ca2' }, h("p", { key: 'f6132822d0bf66e869b4c2bceba7dfcf93e697be' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), h("ic-button", { key: 'e233f3ac017ce08d46d1973406a4bb99bcfa2cf6', class: "select-all-button", "aria-label": `${selectAllButtonText} options for ${inputLabel}`, ref: (el) => (this.selectAllButton = el), variant: "tertiary", onClick: this.handleSelectAllClick, onMouseDown: this.handleSelectAllMouseDown, onBlur: this.handleSelectAllBlur, onFocus: this.handleSelectAllFocus, size: size === "small" ? "small" : "medium" }, selectAllButtonText)))));
|
|
957
957
|
}
|
|
958
958
|
static get is() { return "ic-menu"; }
|
|
959
959
|
static get encapsulation() { return "scoped"; }
|
|
@@ -3,7 +3,7 @@ import { isPropDefined } from "../../utils/helpers";
|
|
|
3
3
|
export class MenuGroup {
|
|
4
4
|
render() {
|
|
5
5
|
const parentMenu = this.el.closest("ic-popover-menu");
|
|
6
|
-
return (h(Host, { key: '
|
|
6
|
+
return (h(Host, { key: '384be493b4b4148e4a09f0395bb1db6b651bfc2f', role: "group", "aria-label": this.label !== null ? this.label : "" }, isPropDefined(this.label) && (h("ic-typography", { key: '46982951ac8573a5ee8c5733043e109f268859f8', variant: "subtitle-small" }, this.label)), h("span", { key: 'd5a5fe976b9f88e61df589c1ddc105c31b8639e2', class: "menu-items-wrapper" }, h("slot", { key: '3b6cab53fde94c5a9cbc0a6a323c0aff28975a1c' })), this.el !== (parentMenu === null || parentMenu === void 0 ? void 0 : parentMenu.querySelector("ic-menu-group:last-child")) && (h("hr", { key: '60412dd9914569ad72a6160787b48d8b3239cebb' }))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "ic-menu-group"; }
|
|
9
9
|
static get encapsulation() { return "shadow"; }
|
|
@@ -587,6 +587,18 @@ video {
|
|
|
587
587
|
transform: rotate(-90deg);
|
|
588
588
|
}
|
|
589
589
|
|
|
590
|
+
#nav-group-title {
|
|
591
|
+
text-wrap: nowrap;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
:host(.in-side-menu) #nav-group-title {
|
|
595
|
+
text-wrap: wrap;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
:host(.ic-navigation-group-side-nav) #nav-group-title {
|
|
599
|
+
text-wrap: wrap;
|
|
600
|
+
}
|
|
601
|
+
|
|
590
602
|
:host(.ic-navigation-group-expanded) .grouped-links-wrapper {
|
|
591
603
|
height: var(--navigation-child-items-height, auto) !important;
|
|
592
604
|
transition: var(--ic-easing-transition-slow);
|
|
@@ -261,7 +261,7 @@ export class NavigationGroup {
|
|
|
261
261
|
const isTopNav = this.navigationType === "top";
|
|
262
262
|
const isTopNavDesktop = !inTopNavSideMenu && isTopNav;
|
|
263
263
|
const ariaExpanded = (isSideNav && expanded) || (isTopNav && dropdownOpen);
|
|
264
|
-
return (h(Host, { key: '
|
|
264
|
+
return (h(Host, { key: '4d9f64e96f0e60b2e120ef1ff3ead8fc9eeba8ff', class: {
|
|
265
265
|
"in-side-menu": inTopNavSideMenu,
|
|
266
266
|
"ic-navigation-group-expandable": expandable,
|
|
267
267
|
"ic-navigation-group-side-nav": isSideNav,
|
|
@@ -595,13 +595,6 @@ svg {
|
|
|
595
595
|
fill: var(--ic-color-text-primary);
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
:host(.navigation-item-top-nav-child) .link,
|
|
599
|
-
:host(.navigation-item-top-nav-child) ::slotted(a) {
|
|
600
|
-
color: var(--ic-color-text-primary);
|
|
601
|
-
|
|
602
|
-
--ic-typography-color: var(--ic-color-text-primary);
|
|
603
|
-
}
|
|
604
|
-
|
|
605
598
|
:host(.navigation-item-side-menu) ::slotted(a) {
|
|
606
599
|
font: var(--ic-font-body) !important;
|
|
607
600
|
letter-spacing: var(--ic-font-letter-spacing-0pt005) !important;
|
|
@@ -655,6 +648,8 @@ svg {
|
|
|
655
648
|
position: relative;
|
|
656
649
|
transition: box-shadow var(--ic-transition-duration-fast),
|
|
657
650
|
border-radius var(--ic-transition-duration-slow);
|
|
651
|
+
|
|
652
|
+
--ic-typography-color: var(--ic-color-text-primary);
|
|
658
653
|
}
|
|
659
654
|
|
|
660
655
|
:host(.navigation-item-top-nav-child) ::slotted(a) {
|
|
@@ -123,16 +123,16 @@ export class NavigationMenu {
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: '3e06550714484b8a9d157e0391697e303fbf8259', class: { [`ic-theme-${this.theme}`]: this.theme !== "inherit" } }, h("div", { key: 'b56300f2817a5a42401570a56f5b29c90e37e336', class: "popout-modal", onClick: this.closeMenu }), h("div", { key: '081658f80afaa6d7f39971cc0f566068166b6688', class: "popout-menu", role: "dialog", "aria-modal": "true", "aria-label": `${this.hasNavigation ? "Navigation" : "App"} menu` }, h("span", { key: '67841c0d0cfb29fba7e3c722436c7e87bca1842d', "aria-hidden": "true", id: "navigation-landmark-text", class: "navigation-landmark-text" }, "Main navigation"), h("nav", { key: 'cb5aa473a04868d6af4dcd2ebc2b61ef5d785904', "aria-labelledby": "navigation-landmark-text", "aria-hidden": this.hasNavigation ? "false" : "true" }, h("div", { key: '2551b868b4c932b5fcff041bdae690e748d40430', class: {
|
|
127
127
|
["menu-close-button-container"]: true,
|
|
128
128
|
["nav-group-first"]: this.navGroupFirst,
|
|
129
|
-
} }, h("ic-button", { key: '
|
|
129
|
+
} }, h("ic-button", { key: '6f2a95a7824e18fa2f83a297984a7677110e887f', ref: (el) => (this.closeButton = el), id: "menu-close-button", class: "menu-close-button", variant: "icon-tertiary", size: "large", "aria-label": `Close ${this.hasNavigation ? "navigation" : "app"} menu`, onClick: this.closeMenu }, h("svg", { key: '2d4918dc6b797eb6f245dd531387cbb0370eb687', width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '51a063a29957f6992294ed31dae13570dc0ecd8c', d: "M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z" })))), this.hasNavigation && h("slot", { key: '70ef3173a42a47e1bb13042dc41c53313ee42697', name: "navigation" })), this.hasButtons && (h("div", { key: '95384803c8ab3a87492552b613cb53f95adacd52', class: {
|
|
130
130
|
["menu-buttons-container"]: true,
|
|
131
131
|
["menu-buttons-container-nav-item-above"]: this.navItemAboveButtons,
|
|
132
|
-
} }, h("slot", { key: '
|
|
132
|
+
} }, h("slot", { key: '9bdde63f875fe678742dff04018e562ec37eb500', name: "buttons" }))), (this.status !== "" || this.version !== "") && (h("div", { key: '502dd0df2ce93217d9a642e4a6b36dcd72229e70', class: {
|
|
133
133
|
["menu-status-version-container"]: true,
|
|
134
134
|
["status-version-no-buttons"]: !this.hasButtons,
|
|
135
|
-
} }, this.status !== "" && (h("div", { key: '
|
|
135
|
+
} }, this.status !== "" && (h("div", { key: 'a0b154b7307de42c92c9e26f9cd552dcc556b21d', class: "menu-status" }, h("ic-typography", { key: 'af91a5c0c556c8ac0faa29998e126de1ab86c0bc', variant: "label-uppercase", "aria-label": "app tag", class: "menu-status-text" }, this.status))), this.version !== "" && (h("div", { key: 'b16dec612bce0fe83c888b0a3e74d8f205710633', class: "menu-version" }, h("ic-typography", { key: '74d7e31b0126f240fa7bbc410a8b71268ca027a1', variant: "label", class: "menu-version-text", "aria-label": "app version" }, this.version))))))));
|
|
136
136
|
}
|
|
137
137
|
static get is() { return "ic-navigation-menu"; }
|
|
138
138
|
static get encapsulation() { return "shadow"; }
|