@ukic/canary-web-components 3.0.0-canary.2 → 3.0.0-canary.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-33b42cd6.js → helpers-36cdc6cb.js} +24 -1
- package/dist/cjs/helpers-36cdc6cb.js.map +1 -0
- package/dist/cjs/{helpers-6817cfbb.js → helpers-a67ad3a4.js} +15 -129
- package/dist/cjs/helpers-a67ad3a4.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +2 -2
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +2 -2
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-horizontal.cjs.entry.js +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-table.cjs.entry.js +23 -2
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-input.cjs.entry.js +10 -9
- package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-picker.cjs.entry.js +3 -1
- package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state_2.cjs.entry.js +9 -8
- package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +1012 -0
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-input-label_2.cjs.entry.js +86 -0
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.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-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +5 -5
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +148 -38
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +9 -9
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +27 -22
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +2 -2
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +7 -4
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-tree-item.cjs.entry.js +5 -3
- package/dist/cjs/ic-tree-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tree-view.cjs.entry.js +10 -2
- package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +1 -1
- package/dist/cjs/index-4cf27b16.js +4 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -2
- package/dist/collection/components/ic-data-table/ic-data-table.js +24 -3
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
- package/dist/collection/components/ic-date-input/ic-date-input.js +27 -8
- package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
- package/dist/collection/components/ic-date-picker/ic-date-picker.js +20 -0
- package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +26 -7
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
- package/dist/collection/components/ic-tree-item/ic-tree-item.css +11 -0
- package/dist/collection/components/ic-tree-item/ic-tree-item.js +23 -3
- package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -1
- package/dist/collection/components/ic-tree-view/ic-tree-view.js +29 -1
- package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -1
- package/dist/collection/utils/helpers.js +1 -1
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +22 -1
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/helpers2.js +14 -121
- package/dist/components/helpers2.js.map +1 -1
- package/dist/components/ic-alert.js +1 -1
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +1 -1
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +2 -2
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-data-table.js +23 -2
- package/dist/components/ic-data-table.js.map +1 -1
- package/dist/components/ic-date-input2.js +11 -9
- package/dist/components/ic-date-input2.js.map +1 -1
- package/dist/components/ic-date-picker.js +4 -1
- package/dist/components/ic-date-picker.js.map +1 -1
- package/dist/components/ic-footer.js +1 -1
- package/dist/components/ic-horizontal-scroll2.js +1 -1
- package/dist/components/ic-input-label2.js +10 -6
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +1 -1
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js +1 -1
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu-item2.js +1 -1
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +450 -167
- 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-menu2.js +1 -1
- package/dist/components/ic-page-header.js +4 -4
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-bar2.js +9 -7
- package/dist/components/ic-pagination-bar2.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-popover-menu.js +10 -9
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +1 -1
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +27 -22
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +2 -2
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select2.js +148 -37
- package/dist/components/ic-select2.js.map +1 -1
- package/dist/components/ic-side-navigation.js +1 -1
- package/dist/components/ic-stepper.js +1 -1
- package/dist/components/ic-switch.js +7 -3
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-text-field2.js +2 -2
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +1 -1
- package/dist/components/ic-toast.js +1 -1
- package/dist/components/ic-top-navigation.js +1 -1
- package/dist/components/ic-tree-item.js +5 -2
- package/dist/components/ic-tree-item.js.map +1 -1
- package/dist/components/ic-tree-view.js +12 -2
- package/dist/components/ic-tree-view.js.map +1 -1
- package/dist/core/core.css +580 -10
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-c033e7d6.entry.js → p-036d251b.entry.js} +2 -2
- package/dist/core/{p-9397b15b.js → p-043cf5de.js} +2 -2
- package/dist/core/p-043cf5de.js.map +1 -0
- package/dist/core/p-044689ef.entry.js +2 -0
- package/dist/core/p-044689ef.entry.js.map +1 -0
- package/dist/core/p-095da817.entry.js +2 -0
- package/dist/core/p-095da817.entry.js.map +1 -0
- package/dist/core/{p-d2e7a256.entry.js → p-13d2db9b.entry.js} +2 -2
- package/dist/core/p-13e01a1e.entry.js +2 -0
- package/dist/core/p-13e01a1e.entry.js.map +1 -0
- package/dist/core/p-1ae71507.entry.js +2 -0
- package/dist/core/p-1ae71507.entry.js.map +1 -0
- package/dist/core/p-2200ca85.entry.js +2 -0
- package/dist/core/p-2200ca85.entry.js.map +1 -0
- package/dist/core/{p-42e0f3bd.entry.js → p-2257f5e8.entry.js} +2 -2
- package/dist/core/{p-897b8d16.entry.js → p-24d03bbd.entry.js} +2 -2
- package/dist/core/{p-a78cf2cb.entry.js → p-266098ee.entry.js} +2 -2
- package/dist/core/{p-bb1252fa.entry.js → p-26613dbd.entry.js} +2 -2
- package/dist/core/p-283a2274.entry.js +2 -0
- package/dist/core/p-283a2274.entry.js.map +1 -0
- package/dist/core/{p-77a32de5.entry.js → p-2a3bd99a.entry.js} +2 -2
- package/dist/core/p-42f88966.entry.js +2 -0
- package/dist/core/p-42f88966.entry.js.map +1 -0
- package/dist/core/{p-7c268030.entry.js → p-48a78218.entry.js} +2 -2
- package/dist/core/p-4e316ae5.entry.js +2 -0
- package/dist/core/p-4e316ae5.entry.js.map +1 -0
- package/dist/core/p-50dd2744.entry.js +2 -0
- package/dist/core/p-50dd2744.entry.js.map +1 -0
- package/dist/core/{p-4e28ef60.entry.js → p-51ea45cb.entry.js} +2 -2
- package/dist/core/{p-4e28ef60.entry.js.map → p-51ea45cb.entry.js.map} +1 -1
- package/dist/core/p-5458d818.entry.js +2 -0
- package/dist/core/p-5458d818.entry.js.map +1 -0
- package/dist/core/{p-202bc922.entry.js → p-5ad1a7fb.entry.js} +2 -2
- package/dist/core/{p-f9810621.entry.js → p-5b061abc.entry.js} +2 -2
- package/dist/core/{p-6beffd0e.entry.js → p-6727166b.entry.js} +2 -2
- package/dist/core/{p-8ca2e329.entry.js → p-6dc00a8f.entry.js} +2 -2
- package/dist/core/{p-aeb6016c.entry.js → p-6dffaac0.entry.js} +2 -2
- package/dist/core/{p-aeb6016c.entry.js.map → p-6dffaac0.entry.js.map} +1 -1
- package/dist/core/p-6fd89ed5.entry.js +2 -0
- package/dist/core/p-6fd89ed5.entry.js.map +1 -0
- package/dist/core/{p-d5ca3bcb.entry.js → p-7aa6b76e.entry.js} +2 -2
- package/dist/core/{p-e5d99316.entry.js → p-7b90f0ae.entry.js} +2 -2
- package/dist/core/{p-30b046b2.entry.js → p-7e5b0fff.entry.js} +2 -2
- package/dist/core/{p-50019ede.entry.js → p-80b296cd.entry.js} +2 -2
- package/dist/core/{p-eb65e556.entry.js → p-82aa8136.entry.js} +2 -2
- package/dist/core/{p-2e49fb22.entry.js → p-83b4efe2.entry.js} +2 -2
- package/dist/core/p-83e4d955.entry.js +2 -0
- package/dist/core/p-83e4d955.entry.js.map +1 -0
- package/dist/core/{p-d3c0bffb.entry.js → p-86b608b5.entry.js} +2 -2
- package/dist/core/p-86b608b5.entry.js.map +1 -0
- package/dist/core/{p-5accf0bb.entry.js → p-878df16f.entry.js} +2 -2
- package/dist/core/p-89be0a21.js +2 -0
- package/dist/core/p-89be0a21.js.map +1 -0
- package/dist/core/{p-1fe35de1.entry.js → p-8bec76d1.entry.js} +2 -2
- package/dist/core/p-94141606.entry.js +2 -0
- package/dist/core/p-94141606.entry.js.map +1 -0
- package/dist/core/{p-1109636a.entry.js → p-94416b6b.entry.js} +2 -2
- package/dist/core/{p-4dcc37e7.entry.js → p-a4439688.entry.js} +2 -2
- package/dist/core/{p-8f12659d.entry.js → p-a8106c56.entry.js} +2 -2
- package/dist/core/p-a8106c56.entry.js.map +1 -0
- package/dist/core/{p-130a05cf.entry.js → p-affd7f55.entry.js} +2 -2
- package/dist/core/{p-486d8d43.entry.js → p-b3d93bc1.entry.js} +2 -2
- package/dist/core/{p-c1698936.entry.js → p-bac2beeb.entry.js} +2 -2
- package/dist/core/{p-53e00a8a.entry.js → p-c29b2b48.entry.js} +2 -2
- package/dist/core/{p-ed4cde5a.entry.js → p-c40c57ee.entry.js} +2 -2
- package/dist/core/{p-b0751bd9.entry.js → p-c6a62d1b.entry.js} +2 -2
- package/dist/core/{p-0ab10600.entry.js → p-cc22644d.entry.js} +2 -2
- package/dist/core/p-cfd81370.entry.js +2 -0
- package/dist/core/p-cfd81370.entry.js.map +1 -0
- package/dist/core/p-d53fb899.entry.js +2 -0
- package/dist/core/p-d53fb899.entry.js.map +1 -0
- package/dist/core/{p-28323849.entry.js → p-d5e9cf81.entry.js} +2 -2
- package/dist/core/{p-505250cf.entry.js → p-d7632baf.entry.js} +2 -2
- package/dist/core/{p-7c80d79c.entry.js → p-dcccd9c1.entry.js} +2 -2
- package/dist/core/{p-42883e4c.entry.js → p-edfd0946.entry.js} +2 -2
- package/dist/core/p-edfd0946.entry.js.map +1 -0
- package/dist/core/{p-7c78f6c6.entry.js → p-f1842a68.entry.js} +2 -2
- package/dist/core/p-f1842a68.entry.js.map +1 -0
- package/dist/core/p-f8c1d7e8.entry.js +2 -0
- package/dist/core/p-f8c1d7e8.entry.js.map +1 -0
- package/dist/core/{p-d03374fc.entry.js → p-fbb5c8f2.entry.js} +2 -2
- package/dist/core/{p-a9151d0b.entry.js → p-fc2f336d.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-5bd2012a.js → helpers-a7b13f5a.js} +15 -122
- package/dist/esm/helpers-a7b13f5a.js.map +1 -0
- package/dist/esm/{helpers-dab8ddfe.js → helpers-c326255f.js} +23 -2
- package/dist/esm/helpers-c326255f.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +1 -1
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-alert.entry.js +2 -2
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-badge.entry.js +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +1 -1
- package/dist/esm/ic-button_3.entry.js +2 -2
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-horizontal.entry.js +1 -1
- package/dist/esm/ic-card-vertical.entry.js +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +2 -2
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +3 -3
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +1 -1
- package/dist/esm/ic-data-row.entry.js +1 -1
- package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
- package/dist/esm/ic-data-table.entry.js +23 -2
- package/dist/esm/ic-data-table.entry.js.map +1 -1
- package/dist/esm/ic-date-input.entry.js +10 -9
- package/dist/esm/ic-date-input.entry.js.map +1 -1
- package/dist/esm/ic-date-picker.entry.js +3 -1
- package/dist/esm/ic-date-picker.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-empty-state_2.entry.js +9 -8
- package/dist/esm/ic-empty-state_2.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +1 -1
- package/dist/esm/ic-footer-link.entry.js +1 -1
- package/dist/esm/ic-footer.entry.js +1 -1
- package/dist/esm/ic-hero.entry.js +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
- package/dist/{collection/components/ic-menu-with-multi/ic-menu.js → esm/ic-input-component-container_3.entry.js} +157 -727
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -0
- package/dist/esm/ic-input-label_2.entry.js +81 -0
- package/dist/esm/ic-input-label_2.entry.js.map +1 -0
- package/dist/esm/ic-link.entry.js +1 -1
- package/dist/esm/ic-menu-group.entry.js +2 -2
- package/dist/esm/ic-menu-group.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +2 -2
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.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-menu.entry.js +1 -1
- package/dist/esm/ic-page-header.entry.js +5 -5
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination_4.entry.js +148 -38
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +9 -9
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +2 -2
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +27 -22
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +2 -2
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +1 -1
- package/dist/esm/ic-status-tag.entry.js +1 -1
- package/dist/esm/ic-step.entry.js +1 -1
- package/dist/esm/ic-stepper.entry.js +1 -1
- package/dist/esm/ic-switch.entry.js +7 -4
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +1 -1
- package/dist/esm/ic-tab-panel.entry.js +1 -1
- package/dist/esm/ic-tab.entry.js +1 -1
- package/dist/esm/ic-theme.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +1 -1
- package/dist/esm/ic-toggle-button.entry.js +1 -1
- package/dist/esm/ic-top-navigation.entry.js +1 -1
- package/dist/esm/ic-tree-item.entry.js +5 -3
- package/dist/esm/ic-tree-item.entry.js.map +1 -1
- package/dist/esm/ic-tree-view.entry.js +10 -2
- package/dist/esm/ic-tree-view.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +1 -1
- package/dist/esm/index-93509377.js +4 -12
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-data-table/ic-data-table.d.ts +2 -0
- package/dist/types/components/ic-date-input/ic-date-input.d.ts +4 -0
- package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +4 -0
- package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +5 -1
- package/dist/types/components/ic-tree-item/ic-tree-item.d.ts +5 -1
- package/dist/types/components/ic-tree-view/ic-tree-view.d.ts +5 -0
- package/dist/types/components.d.ts +46 -469
- package/dist/types/utils/helpers.d.ts +1 -1
- package/dist/types/utils/types.d.ts +1 -0
- package/hydrate/index.js +3612 -6848
- package/package.json +3 -3
- package/dist/cjs/helpers-33b42cd6.js.map +0 -1
- package/dist/cjs/helpers-6817cfbb.js.map +0 -1
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js +0 -156
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-menu-with-multi.cjs.entry.js +0 -2738
- package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-menu.cjs.entry.js +0 -658
- package/dist/cjs/ic-menu.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-select-with-multi.cjs.entry.js +0 -788
- package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +0 -1
- package/dist/collection/components/ic-menu-with-multi/ic-menu.css +0 -712
- package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +0 -1
- package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +0 -1057
- package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +0 -1
- package/dist/collection/components/ic-select-with-multi/assets/Check.svg +0 -3
- package/dist/collection/components/ic-select-with-multi/assets/Clear.svg +0 -3
- package/dist/collection/components/ic-select-with-multi/assets/Expand.svg +0 -3
- package/dist/collection/components/ic-select-with-multi/ic-select.css +0 -695
- package/dist/collection/components/ic-select-with-multi/ic-select.js +0 -1520
- package/dist/collection/components/ic-select-with-multi/ic-select.js.map +0 -1
- package/dist/collection/components/ic-select-with-multi/story-data.js +0 -216
- package/dist/collection/components/ic-select-with-multi/story-data.js.map +0 -1
- package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js +0 -1518
- package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js.map +0 -1
- package/dist/components/ic-menu-with-multi.d.ts +0 -11
- package/dist/components/ic-menu-with-multi.js +0 -8
- package/dist/components/ic-menu-with-multi.js.map +0 -1
- package/dist/components/ic-menu3.js +0 -2803
- package/dist/components/ic-menu3.js.map +0 -1
- package/dist/components/ic-select-with-multi.d.ts +0 -11
- package/dist/components/ic-select-with-multi.js +0 -906
- package/dist/components/ic-select-with-multi.js.map +0 -1
- package/dist/core/p-0894cab1.entry.js +0 -2
- package/dist/core/p-0894cab1.entry.js.map +0 -1
- package/dist/core/p-1e2aa8a6.entry.js +0 -2
- package/dist/core/p-1e2aa8a6.entry.js.map +0 -1
- package/dist/core/p-297e99cf.js +0 -2
- package/dist/core/p-297e99cf.js.map +0 -1
- package/dist/core/p-2ff4e283.entry.js +0 -2
- package/dist/core/p-2ff4e283.entry.js.map +0 -1
- package/dist/core/p-3db785f0.entry.js +0 -2
- package/dist/core/p-3db785f0.entry.js.map +0 -1
- package/dist/core/p-42883e4c.entry.js.map +0 -1
- package/dist/core/p-59028160.entry.js +0 -2
- package/dist/core/p-59028160.entry.js.map +0 -1
- package/dist/core/p-5b7dfe57.entry.js +0 -2
- package/dist/core/p-5b7dfe57.entry.js.map +0 -1
- package/dist/core/p-603fea14.entry.js +0 -2
- package/dist/core/p-603fea14.entry.js.map +0 -1
- package/dist/core/p-64933069.entry.js +0 -2
- package/dist/core/p-64933069.entry.js.map +0 -1
- package/dist/core/p-7c78f6c6.entry.js.map +0 -1
- package/dist/core/p-8df49808.entry.js +0 -2
- package/dist/core/p-8df49808.entry.js.map +0 -1
- package/dist/core/p-8f12659d.entry.js.map +0 -1
- package/dist/core/p-903ee57e.entry.js +0 -2
- package/dist/core/p-903ee57e.entry.js.map +0 -1
- package/dist/core/p-92e3ccb9.entry.js +0 -2
- package/dist/core/p-92e3ccb9.entry.js.map +0 -1
- package/dist/core/p-9397b15b.js.map +0 -1
- package/dist/core/p-9b54feca.entry.js +0 -2
- package/dist/core/p-9b54feca.entry.js.map +0 -1
- package/dist/core/p-acc76b80.entry.js +0 -2
- package/dist/core/p-acc76b80.entry.js.map +0 -1
- package/dist/core/p-c1e90c85.entry.js +0 -2
- package/dist/core/p-c1e90c85.entry.js.map +0 -1
- package/dist/core/p-cb63e656.entry.js +0 -2
- package/dist/core/p-cb63e656.entry.js.map +0 -1
- package/dist/core/p-d3c0bffb.entry.js.map +0 -1
- package/dist/core/p-da3e8c54.entry.js +0 -2
- package/dist/core/p-da3e8c54.entry.js.map +0 -1
- package/dist/core/p-ec53b435.entry.js +0 -2
- package/dist/core/p-ec53b435.entry.js.map +0 -1
- package/dist/core/p-fb7b99dd.entry.js +0 -2
- package/dist/core/p-fb7b99dd.entry.js.map +0 -1
- package/dist/esm/helpers-5bd2012a.js.map +0 -1
- package/dist/esm/helpers-dab8ddfe.js.map +0 -1
- package/dist/esm/ic-input-component-container_4.entry.js +0 -149
- package/dist/esm/ic-input-component-container_4.entry.js.map +0 -1
- package/dist/esm/ic-menu-with-multi.entry.js +0 -2734
- package/dist/esm/ic-menu-with-multi.entry.js.map +0 -1
- package/dist/esm/ic-menu.entry.js +0 -654
- package/dist/esm/ic-menu.entry.js.map +0 -1
- package/dist/esm/ic-select-with-multi.entry.js +0 -784
- package/dist/esm/ic-select-with-multi.entry.js.map +0 -1
- package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +0 -214
- package/dist/types/components/ic-select-with-multi/ic-select.d.ts +0 -259
- package/dist/types/components/ic-select-with-multi/story-data.d.ts +0 -32
- /package/dist/core/{p-c033e7d6.entry.js.map → p-036d251b.entry.js.map} +0 -0
- /package/dist/core/{p-d2e7a256.entry.js.map → p-13d2db9b.entry.js.map} +0 -0
- /package/dist/core/{p-42e0f3bd.entry.js.map → p-2257f5e8.entry.js.map} +0 -0
- /package/dist/core/{p-897b8d16.entry.js.map → p-24d03bbd.entry.js.map} +0 -0
- /package/dist/core/{p-a78cf2cb.entry.js.map → p-266098ee.entry.js.map} +0 -0
- /package/dist/core/{p-bb1252fa.entry.js.map → p-26613dbd.entry.js.map} +0 -0
- /package/dist/core/{p-77a32de5.entry.js.map → p-2a3bd99a.entry.js.map} +0 -0
- /package/dist/core/{p-7c268030.entry.js.map → p-48a78218.entry.js.map} +0 -0
- /package/dist/core/{p-202bc922.entry.js.map → p-5ad1a7fb.entry.js.map} +0 -0
- /package/dist/core/{p-f9810621.entry.js.map → p-5b061abc.entry.js.map} +0 -0
- /package/dist/core/{p-6beffd0e.entry.js.map → p-6727166b.entry.js.map} +0 -0
- /package/dist/core/{p-8ca2e329.entry.js.map → p-6dc00a8f.entry.js.map} +0 -0
- /package/dist/core/{p-d5ca3bcb.entry.js.map → p-7aa6b76e.entry.js.map} +0 -0
- /package/dist/core/{p-e5d99316.entry.js.map → p-7b90f0ae.entry.js.map} +0 -0
- /package/dist/core/{p-30b046b2.entry.js.map → p-7e5b0fff.entry.js.map} +0 -0
- /package/dist/core/{p-50019ede.entry.js.map → p-80b296cd.entry.js.map} +0 -0
- /package/dist/core/{p-eb65e556.entry.js.map → p-82aa8136.entry.js.map} +0 -0
- /package/dist/core/{p-2e49fb22.entry.js.map → p-83b4efe2.entry.js.map} +0 -0
- /package/dist/core/{p-5accf0bb.entry.js.map → p-878df16f.entry.js.map} +0 -0
- /package/dist/core/{p-1fe35de1.entry.js.map → p-8bec76d1.entry.js.map} +0 -0
- /package/dist/core/{p-1109636a.entry.js.map → p-94416b6b.entry.js.map} +0 -0
- /package/dist/core/{p-4dcc37e7.entry.js.map → p-a4439688.entry.js.map} +0 -0
- /package/dist/core/{p-130a05cf.entry.js.map → p-affd7f55.entry.js.map} +0 -0
- /package/dist/core/{p-486d8d43.entry.js.map → p-b3d93bc1.entry.js.map} +0 -0
- /package/dist/core/{p-c1698936.entry.js.map → p-bac2beeb.entry.js.map} +0 -0
- /package/dist/core/{p-53e00a8a.entry.js.map → p-c29b2b48.entry.js.map} +0 -0
- /package/dist/core/{p-ed4cde5a.entry.js.map → p-c40c57ee.entry.js.map} +0 -0
- /package/dist/core/{p-b0751bd9.entry.js.map → p-c6a62d1b.entry.js.map} +0 -0
- /package/dist/core/{p-0ab10600.entry.js.map → p-cc22644d.entry.js.map} +0 -0
- /package/dist/core/{p-28323849.entry.js.map → p-d5e9cf81.entry.js.map} +0 -0
- /package/dist/core/{p-505250cf.entry.js.map → p-d7632baf.entry.js.map} +0 -0
- /package/dist/core/{p-7c80d79c.entry.js.map → p-dcccd9c1.entry.js.map} +0 -0
- /package/dist/core/{p-d03374fc.entry.js.map → p-fbb5c8f2.entry.js.map} +0 -0
- /package/dist/core/{p-a9151d0b.entry.js.map → p-fc2f336d.entry.js.map} +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-4cf27b16.js');
|
6
|
-
const helpers = require('./helpers-
|
6
|
+
const helpers = require('./helpers-36cdc6cb.js');
|
7
7
|
|
8
8
|
const paginationNextPrevious = `<svg width="8" height="10" viewBox="0 0 8 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
9
9
|
<path d="M2.08748 0L0.912476 1.175L4.72914 5L0.912476 8.825L2.08748 10L7.08748 5L2.08748 0Z" fill="currentColor"/>
|
@@ -300,7 +300,7 @@ const Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www
|
|
300
300
|
</svg>
|
301
301
|
`;
|
302
302
|
|
303
|
-
const icSelectCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;position:relative}:host(.ic-select-full-width){width:100%}ic-input-component-container:hover{--border-color:var(--ic-action-dark-hover)}ic-input-component-container:active{--border-color:var(--ic-action-dark-pressed);color:var(--ic-action-dark-pressed)}ic-input-component-container.menu-open{--border-color:var(--ic-architectural-400);color:var(--ic-action-dark)}ic-input-validation .status-icon,ic-input-validation .statustext{visibility:visible}ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{visibility:hidden;transition:visibility 0s}ic-input-label{margin-bottom:var(--ic-space-xs) !important}select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);color:var(--ic-color-text-primary);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:0.375rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 0.375rem center;background-image:url(\"data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select option,.select-option-selected{color:var(--ic-color-text-primary)}select:disabled{color:var(--ic-architectural-200);background-image:url(\"data:image/svg+xml;utf8,<svg fill='grey' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select:focus{border:0;outline:0}select:not([disabled]){cursor:pointer}.select-container{width:100%;display:flex;align-items:center;position:relative}.select-input{width:100%;height:100%;padding:0 0.375rem;display:flex;cursor:pointer;align-items:center;justify-content:space-between;background:none;border:none}.select-input:focus{outline:var(--ic-hc-focus-outline)}:host(:not(.ic-select-disabled)) ic-input-component-container:hover .select-input{background-color:var(--ic-architectural-white)}.select-input[disabled]{pointer-events:none}:host(.ic-select-searchable) .select-input{cursor:auto}.searchable-select-container{align-items:center;display:flex;width:100%;position:relative}.expand-icon{height:var(--ic-space-lg);padding-left:var(--ic-space-
|
303
|
+
const icSelectCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;position:relative;--ic-input-label-helpertext-padding:var(--ic-space-xxs);--menu-max-height:100px}:host(.ic-select-full-width){width:100%}ic-input-component-container:hover{--border-color:var(--ic-action-dark-hover)}ic-input-component-container:active{--border-color:var(--ic-action-dark-pressed);color:var(--ic-action-dark-pressed)}ic-input-component-container.menu-open{--border-color:var(--ic-architectural-400);color:var(--ic-action-dark)}ic-input-validation .status-icon,ic-input-validation .statustext{visibility:visible}ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{visibility:hidden;transition:visibility 0s}ic-input-label{margin-bottom:var(--ic-space-xs) !important}select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);color:var(--ic-color-text-primary);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:0.375rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 0.375rem center;background-image:url(\"data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select option,.select-option-selected{color:var(--ic-color-text-primary)}select:disabled{color:var(--ic-architectural-200);background-image:url(\"data:image/svg+xml;utf8,<svg fill='grey' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select:focus{border:0;outline:0}select:not([disabled]){cursor:pointer}.select-container{width:100%;display:flex;align-items:center;position:relative}.select-input{width:100%;height:100%;padding:0 0.375rem;display:flex;cursor:pointer;align-items:center;justify-content:space-between;background:none;border:none}.select-input:focus{outline:var(--ic-hc-focus-outline)}:host(:not(.ic-select-disabled)) ic-input-component-container:hover .select-input{background-color:var(--ic-architectural-white)}.select-input[disabled]{pointer-events:none}:host(.ic-select-searchable) .select-input{cursor:auto}.select-input.with-clear-button{padding-right:0}.value-text{max-width:calc(100% - (var(--ic-space-lg) + var(--ic-space-xxs)));box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:0 !important}.value-text.with-clear-button{padding-right:calc(var(--ic-space-xl) + var(--ic-space-xs))}.searchable-select-container{align-items:center;display:flex;width:100%;position:relative}.expand-icon{height:var(--ic-space-lg);padding-left:var(--ic-space-xxs);color:var(--ic-action-dark)}.expand-icon>svg{display:inline-block;width:var(--ic-space-lg);height:var(--ic-space-lg)}:host(.ic-select-disabled) .expand-icon,:host(.ic-select-disabled) .expand-icon>svg>path{color:var(--ic-architectural-200)}:host(.ic-select-searchable) .expand-icon{padding-left:0;height:2.25rem}:host(.ic-select-searchable) .expand-icon>svg{height:2.25rem;padding:0 calc(var(--ic-space-xxxs) + var(--ic-space-xxs)) 0\n var(--ic-space-xxs)}:host(.ic-select-searchable:not(.ic-select-disabled)) .expand-icon>svg{cursor:pointer}.expand-icon-open{color:var(--ic-action-dark)}.expand-icon-open,:host(.ic-select-searchable) .expand-icon-open{transform:rotateX(180deg)}:host(.ic-select-disabled) .value-text,.placeholder{color:var(--ic-color-text-tertiary)}.select-input-end{display:flex;align-items:center}.clear-button-container{display:flex;align-items:center}.divider{width:var(--ic-space-1px);background-color:var(--ic-architectural-400);margin:var(--ic-space-xxs) 0;border-radius:var(--ic-space-1px);height:var(--ic-space-lg)}:host(.ic-select-small) .divider{height:var(--ic-space-md)}:host(.ic-select-large) .divider{height:var(--ic-space-xl)}.clear-button{position:absolute;right:calc(var(--ic-space-xl) + var(--ic-space-xxs) - var(--ic-space-1px));border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus{background-color:var(--ic-color-focus-inner);box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer);border-radius:0.25rem}.clear-button:focus *{fill:white}.clear-button.searchable{position:static}.searchable-select-results-status,.multi-select-selected-count{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}::slotted([slot=\"icon\"]){fill:var(--ic-color-text-tertiary)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-color-text-primary)}.readonly ::slotted([slot=\"icon\"]){padding:0.375rem;margin-bottom:0.75rem}@media (forced-colors: active){.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
|
304
304
|
|
305
305
|
let inputIds$1 = 0;
|
306
306
|
const MUTABLE_ATTRIBUTES$1 = [...helpers.IC_INHERITED_ARIA, "tabindex", "title"];
|
@@ -315,6 +315,7 @@ const Select = class {
|
|
315
315
|
this.icInput = index.createEvent(this, "icInput", 7);
|
316
316
|
this.icOpen = index.createEvent(this, "icOpen", 7);
|
317
317
|
this.icOptionSelect = index.createEvent(this, "icOptionSelect", 7);
|
318
|
+
this.icOptionDeselect = index.createEvent(this, "icOptionDeselect", 7);
|
318
319
|
this.icRetryLoad = index.createEvent(this, "icRetryLoad", 7);
|
319
320
|
this.hasSetDefaultValue = false;
|
320
321
|
this.inheritedAttributes = {};
|
@@ -352,17 +353,24 @@ const Select = class {
|
|
352
353
|
};
|
353
354
|
this.emitIcChange = (value) => {
|
354
355
|
if (!this.searchable) {
|
355
|
-
|
356
|
+
// If "Select all" button clicked, replace value with new value (array of all option values)
|
357
|
+
if (this.multiple && !Array.isArray(value) && value !== null) {
|
358
|
+
this.handleMultipleSelectChange(value);
|
359
|
+
}
|
360
|
+
else {
|
361
|
+
this.value = value;
|
362
|
+
}
|
356
363
|
}
|
357
364
|
clearTimeout(this.debounceIcChange);
|
358
365
|
this.debounceIcChange = window.setTimeout(() => {
|
359
|
-
this.
|
366
|
+
const valueToEmit = this.multiple ? this.value : value;
|
367
|
+
this.icChange.emit({ value: valueToEmit });
|
360
368
|
}, this.currDebounce);
|
361
369
|
};
|
362
370
|
this.emitImmediateIcChange = (value) => {
|
363
371
|
this.value = value;
|
364
372
|
clearTimeout(this.debounceIcChange);
|
365
|
-
this.icChange.emit({ value
|
373
|
+
this.icChange.emit({ value });
|
366
374
|
};
|
367
375
|
/**
|
368
376
|
* Processes the provided array of IcMenuOptions, removing duplicates and reporting them with a console.warn
|
@@ -435,6 +443,10 @@ const Select = class {
|
|
435
443
|
this.getLabelFromValue = (value) => {
|
436
444
|
return helpers.getLabelFromValue(value, this.uniqueOptions);
|
437
445
|
};
|
446
|
+
this.getMultipleOptionsString = (selectedValues) => {
|
447
|
+
const selectedLabels = selectedValues === null || selectedValues === void 0 ? void 0 : selectedValues.map((value) => this.getLabelFromValue(value));
|
448
|
+
return selectedLabels === null || selectedLabels === void 0 ? void 0 : selectedLabels.join(", ");
|
449
|
+
};
|
438
450
|
this.getFilteredChildMenuOptions = (option) => {
|
439
451
|
let children = option.children;
|
440
452
|
if (this.searchable) {
|
@@ -447,18 +459,29 @@ const Select = class {
|
|
447
459
|
newOption.children = children;
|
448
460
|
return newOption;
|
449
461
|
};
|
462
|
+
// (For multi-select) get value array, i.e. selected option values, in order they appear in option list
|
463
|
+
this.getValueSortedByOptions = (value) => {
|
464
|
+
const valueArray = value;
|
465
|
+
const valuesFromAllOptions = this.ungroupedOptions.map((option) => option.value);
|
466
|
+
valueArray.sort((a, b) => valuesFromAllOptions.indexOf(a) - valuesFromAllOptions.indexOf(b));
|
467
|
+
return valueArray;
|
468
|
+
};
|
450
469
|
this.handleNativeSelectChange = () => {
|
451
470
|
this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
|
452
471
|
this.emitImmediateIcChange(this.nativeSelectElement.value);
|
453
472
|
this.setTextColor();
|
454
473
|
};
|
474
|
+
// Handle option select for when a custom input box and menu is rendered
|
475
|
+
// (rather than native <select> - rendered when viewed on a mobile / tablet screen)
|
455
476
|
this.handleCustomSelectChange = (event) => {
|
477
|
+
var _a;
|
478
|
+
const value = event.detail.value;
|
456
479
|
if (this.searchable && event.detail.label === this.emptyOptionListText) {
|
457
480
|
this.searchableSelectElement.focus();
|
458
481
|
return;
|
459
482
|
}
|
460
483
|
if (this.searchable) {
|
461
|
-
this.value =
|
484
|
+
this.value = value;
|
462
485
|
this.searchableMenuItemSelected = true;
|
463
486
|
// After editing the input, if selecting the same option as before, set the input value to label again
|
464
487
|
if (this.value === this.currValue) {
|
@@ -467,9 +490,59 @@ const Select = class {
|
|
467
490
|
this.inputValueToFilter = null;
|
468
491
|
this.hiddenInputValue = this.getValueFromLabel(this.searchableSelectInputValue);
|
469
492
|
}
|
493
|
+
if (this.multiple && ((_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(value))) {
|
494
|
+
this.icOptionDeselect.emit({ value });
|
495
|
+
}
|
496
|
+
else {
|
497
|
+
this.icOptionSelect.emit({ value });
|
498
|
+
}
|
470
499
|
this.ariaActiveDescendant = event.detail.optionId;
|
471
|
-
this.
|
472
|
-
|
500
|
+
this.emitIcChange(value);
|
501
|
+
};
|
502
|
+
// Update selected options - adds / removes them, in order of option list
|
503
|
+
// Create new array if value prop is undefined
|
504
|
+
this.handleMultipleSelectChange = (value) => {
|
505
|
+
if (this.value) {
|
506
|
+
let valueArray = this.value.slice();
|
507
|
+
if (this.value.includes(value)) {
|
508
|
+
const valueIndex = valueArray.indexOf(value);
|
509
|
+
valueArray.splice(valueIndex, 1);
|
510
|
+
}
|
511
|
+
else {
|
512
|
+
valueArray.push(value);
|
513
|
+
valueArray = this.getValueSortedByOptions(valueArray);
|
514
|
+
}
|
515
|
+
this.value = valueArray.length === 0 ? null : valueArray;
|
516
|
+
}
|
517
|
+
else {
|
518
|
+
const valueArray = [];
|
519
|
+
valueArray.push(value);
|
520
|
+
this.value = valueArray;
|
521
|
+
}
|
522
|
+
};
|
523
|
+
this.handleSelectAllChange = (event) => {
|
524
|
+
const selectAllOptions = event.detail.select;
|
525
|
+
const allEnabledOptions = this.ungroupedOptions.filter((option) => !option.disabled);
|
526
|
+
const allValues = allEnabledOptions.map((option) => option.value);
|
527
|
+
let newValue;
|
528
|
+
if (selectAllOptions) {
|
529
|
+
let unselectedValues;
|
530
|
+
// Only emit icOptionSelect for all values that are newly selected
|
531
|
+
if (this.value) {
|
532
|
+
unselectedValues = allValues.filter((value) => this.value && !this.value.includes(value));
|
533
|
+
}
|
534
|
+
else {
|
535
|
+
unselectedValues = allValues;
|
536
|
+
}
|
537
|
+
unselectedValues.forEach((value) => this.icOptionSelect.emit({ value }));
|
538
|
+
newValue = allValues;
|
539
|
+
}
|
540
|
+
else {
|
541
|
+
// Only emit icOptionDeselect for values that were selected
|
542
|
+
this.value.forEach((value) => this.icOptionDeselect.emit({ value }));
|
543
|
+
newValue = null;
|
544
|
+
}
|
545
|
+
this.emitIcChange(newValue);
|
473
546
|
};
|
474
547
|
this.handleMenuChange = (event) => {
|
475
548
|
this.open = event.detail.open;
|
@@ -480,10 +553,9 @@ const Select = class {
|
|
480
553
|
// to prevent delay in change event, which should only occur when typing in input
|
481
554
|
this.handleMenuKeyPress = (ev) => {
|
482
555
|
ev.cancelBubble = true;
|
483
|
-
this.
|
484
|
-
|
485
|
-
|
486
|
-
this.value = ev.detail.value;
|
556
|
+
if (!this.multiple) {
|
557
|
+
this.handleCharacterKeyDown(ev.detail.key);
|
558
|
+
}
|
487
559
|
};
|
488
560
|
this.handleFocusIndicatorDisplay = () => {
|
489
561
|
const focusIndicator = this.el.shadowRoot.querySelector(".focus-indicator");
|
@@ -555,10 +627,12 @@ const Select = class {
|
|
555
627
|
if (key.length === 1 && !this.searchable) {
|
556
628
|
window.clearTimeout(this.characterKeyPressTimer);
|
557
629
|
this.characterKeyPressTimer = window.setTimeout(() => (this.pressedCharacters = ""), 1000);
|
558
|
-
this.pressedCharacters
|
559
|
-
|
560
|
-
|
561
|
-
|
630
|
+
if (!(key === " " && !this.pressedCharacters)) {
|
631
|
+
this.pressedCharacters += key;
|
632
|
+
this.handleFilter();
|
633
|
+
if (!this.noOptions) {
|
634
|
+
this.emitImmediateIcChange(this.filteredOptions[0].value);
|
635
|
+
}
|
562
636
|
}
|
563
637
|
}
|
564
638
|
else {
|
@@ -596,7 +670,9 @@ const Select = class {
|
|
596
670
|
// Keyboard events get passed onto ic-menu
|
597
671
|
this.menu.handleKeyboardOpen(event);
|
598
672
|
}
|
599
|
-
this.
|
673
|
+
if (!this.multiple) {
|
674
|
+
this.handleCharacterKeyDown(event.key);
|
675
|
+
}
|
600
676
|
}
|
601
677
|
}
|
602
678
|
};
|
@@ -721,7 +797,24 @@ const Select = class {
|
|
721
797
|
}
|
722
798
|
}
|
723
799
|
};
|
800
|
+
this.updateMultiSelectedCountAriaLive = () => {
|
801
|
+
var _a;
|
802
|
+
const multiSelectSelectedCountEl = this.el.shadowRoot.querySelector(".multi-select-selected-count");
|
803
|
+
const selectedCount = `${(_a = this.currValue) === null || _a === void 0 ? void 0 : _a.length} of ${helpers.getOptionsWithoutGroupTitlesCount(this.options)} selected`;
|
804
|
+
if (multiSelectSelectedCountEl &&
|
805
|
+
multiSelectSelectedCountEl.innerText !== selectedCount) {
|
806
|
+
multiSelectSelectedCountEl.innerText = selectedCount;
|
807
|
+
}
|
808
|
+
};
|
724
809
|
this.getDefaultValue = (value) => this.getLabelFromValue(value) || value || null;
|
810
|
+
this.setDefaultValue = () => {
|
811
|
+
if (!this.hasSetDefaultValue && this.currValue) {
|
812
|
+
this.searchableSelectInputValue =
|
813
|
+
this.searchable && this.getDefaultValue(this.currValue);
|
814
|
+
this.initialValue = this.currValue;
|
815
|
+
this.hasSetDefaultValue = true;
|
816
|
+
}
|
817
|
+
};
|
725
818
|
this.onFocus = () => {
|
726
819
|
this.icFocus.emit();
|
727
820
|
};
|
@@ -786,6 +879,7 @@ const Select = class {
|
|
786
879
|
this.label = undefined;
|
787
880
|
this.loadingErrorLabel = "Loading Error";
|
788
881
|
this.loadingLabel = "Loading...";
|
882
|
+
this.multiple = false;
|
789
883
|
this.name = this.inputId;
|
790
884
|
this.placeholder = "Select an option";
|
791
885
|
this.readonly = false;
|
@@ -814,10 +908,11 @@ const Select = class {
|
|
814
908
|
}
|
815
909
|
watchOptionsHandler() {
|
816
910
|
var _a;
|
817
|
-
if (!this.hasTimedOut) {
|
911
|
+
if (!this.hasTimedOut && this.options !== this.noOptions) {
|
818
912
|
this.loading = false;
|
819
913
|
clearTimeout(this.timeoutTimer);
|
820
914
|
if (this.isExternalFiltering()) {
|
915
|
+
// When searchable select
|
821
916
|
if (((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
822
917
|
this.setOptionsValuesFromLabels();
|
823
918
|
this.noOptions = null;
|
@@ -853,11 +948,18 @@ const Select = class {
|
|
853
948
|
}
|
854
949
|
valueChangedHandler() {
|
855
950
|
if (this.value !== this.currValue) {
|
856
|
-
this.
|
951
|
+
if (this.value && this.multiple) {
|
952
|
+
this.currValue = this.getValueSortedByOptions(this.value);
|
953
|
+
this.updateMultiSelectedCountAriaLive();
|
954
|
+
}
|
955
|
+
else {
|
956
|
+
this.currValue = this.value;
|
957
|
+
}
|
857
958
|
}
|
858
959
|
if (this.searchable) {
|
859
960
|
this.searchableSelectInputValue =
|
860
|
-
this.getLabelFromValue(this.currValue) ||
|
961
|
+
this.getLabelFromValue(this.currValue) ||
|
962
|
+
this.currValue;
|
861
963
|
}
|
862
964
|
}
|
863
965
|
openChangedHandler() {
|
@@ -927,15 +1029,10 @@ const Select = class {
|
|
927
1029
|
this.updateSearchableSelectResultAriaLive();
|
928
1030
|
}, 800);
|
929
1031
|
}
|
930
|
-
setDefaultValue() {
|
931
|
-
if (!this.hasSetDefaultValue && this.currValue) {
|
932
|
-
this.searchableSelectInputValue = this.getDefaultValue(this.currValue);
|
933
|
-
this.initialValue = this.currValue;
|
934
|
-
this.hasSetDefaultValue = true;
|
935
|
-
}
|
936
|
-
}
|
937
1032
|
render() {
|
938
|
-
const { size, disabled, fullWidth, helperText, hideLabel, label, menuId, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText, currValue, } = this;
|
1033
|
+
const { size, disabled, fullWidth, helperText, hideLabel, label, menuId, multiple, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText, currValue, } = this;
|
1034
|
+
// HTML inputs only accept 'string' for their value
|
1035
|
+
// Does not cause errors when it is a multi-select - sets value correctly, to a comma-separated string
|
939
1036
|
helpers.renderHiddenInput(true, this.el, name, this.searchable ? this.hiddenInputValue : currValue, disabled);
|
940
1037
|
const invalid = `${validationStatus === helpers.IcInformationStatus.Error}`;
|
941
1038
|
const describedBy = helpers.getInputDescribedByText(this.inputId, helperText !== "", helpers.hasValidationStatus(this.validationStatus, this.disabled)).trim();
|
@@ -943,6 +1040,7 @@ const Select = class {
|
|
943
1040
|
if (showLeftIcon && (disabled || (readonly && !this.value))) {
|
944
1041
|
showLeftIcon = false;
|
945
1042
|
}
|
1043
|
+
const optionsSelectedCount = `${currValue === null || currValue === void 0 ? void 0 : currValue.length} of ${helpers.getOptionsWithoutGroupTitlesCount(this.options)} selected`;
|
946
1044
|
return (index.h(index.Host, { class: {
|
947
1045
|
["ic-select-disabled"]: disabled,
|
948
1046
|
["ic-select-searchable"]: searchable,
|
@@ -951,14 +1049,19 @@ const Select = class {
|
|
951
1049
|
}, onBlur: this.onBlur }, index.h("ic-input-container", { readonly: readonly }, !hideLabel && (index.h("ic-input-label", { for: this.inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly })), index.h("ic-input-component-container", { ref: (el) => (this.anchorEl = el), class: { "menu-open": this.open }, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, showLeftIcon && (index.h("span", { slot: "left-icon", class: {
|
952
1050
|
["readonly"]: readonly,
|
953
1051
|
["has-value"]: !!this.value,
|
954
|
-
} }, index.h("slot", { name: "icon" }))), readonly ? (index.h("ic-typography", null, index.h("p", null,
|
1052
|
+
} }, index.h("slot", { name: "icon" }))), readonly ? (index.h("ic-typography", null, index.h("p", null, multiple
|
1053
|
+
? this.getMultipleOptionsString(currValue)
|
1054
|
+
: this.getLabelFromValue(currValue)))) : helpers.isMobileOrTablet() && !multiple ? (index.h("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: this.inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown, form: this.form }, this.inheritedAttributes), index.h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => {
|
955
1055
|
if (option.children) {
|
956
1056
|
return (index.h("optgroup", { label: option.label }, option.children.map((option) => (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label)))));
|
957
1057
|
}
|
958
1058
|
else {
|
959
1059
|
return (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label));
|
960
1060
|
}
|
961
|
-
}))) : searchable ? (index.h("div", { class: "searchable-select-container" }, index.h("input", { class:
|
1061
|
+
}))) : searchable ? (index.h("div", { class: "searchable-select-container" }, index.h("input", { class: {
|
1062
|
+
"select-input": true,
|
1063
|
+
"with-clear-button": !!this.searchableSelectInputValue,
|
1064
|
+
}, role: "combobox", autocomplete: "off", "aria-label": label, "aria-describedby": describedBy, "aria-activedescendant": this.ariaActiveDescendant, "aria-autocomplete": "list", "aria-expanded": `${this.open}`, "aria-invalid": invalid, "aria-required": `${required}`, "aria-controls": menuId, ref: (el) => (this.searchableSelectElement = el), id: this.inputId, value: this.searchableSelectInputValue, placeholder: placeholder, disabled: disabled, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, form: this.form }), this.searchableSelectInputValue &&
|
962
1065
|
(showClearButton || searchable) && (index.h("div", { class: "clear-button-container" }, index.h("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": this.searchableSelectInputValue && currValue === null
|
963
1066
|
? "Clear input"
|
964
1067
|
: "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", appearance: this.clearButtonFocused
|
@@ -966,17 +1069,22 @@ const Select = class {
|
|
966
1069
|
: helpers.IcThemeForegroundEnum.Dark }), index.h("div", { class: "divider" }))), index.h("span", { onMouseDown: this.handleExpandIconMouseDown, class: {
|
967
1070
|
"expand-icon": true,
|
968
1071
|
"expand-icon-open": this.open,
|
969
|
-
|
970
|
-
|
1072
|
+
}, innerHTML: Expand, "aria-hidden": "true" }), index.h("div", { "aria-live": "polite", role: "status", class: "searchable-select-results-status" }))) : (index.h("div", { class: "select-container" }, index.h("button", { class: "select-input", ref: (el) => (this.customSelectElement = el), id: this.inputId, "aria-label": `${label}, ${(multiple && currValue
|
1073
|
+
? `${optionsSelectedCount}, ${this.getMultipleOptionsString(currValue)}`
|
1074
|
+
: this.getLabelFromValue(currValue)) ||
|
1075
|
+
placeholder}${required ? ", required" : ""}`, "aria-describedby": describedBy, "aria-invalid": invalid, "aria-haspopup": "listbox", "aria-expanded": this.open ? "true" : "false", "aria-owns": menuId, "aria-controls": menuId, disabled: disabled, onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.handleClick, onMouseDown: this.handleMouseDown, onKeyDown: this.handleKeyDown }, index.h("ic-typography", { variant: "body", class: {
|
971
1076
|
"value-text": true,
|
972
|
-
|
973
|
-
|
1077
|
+
"with-clear-button": currValue && showClearButton,
|
1078
|
+
placeholder: !this.value || (multiple && this.value.length < 1),
|
1079
|
+
} }, (multiple
|
1080
|
+
? this.getMultipleOptionsString(currValue)
|
1081
|
+
: this.getLabelFromValue(currValue)) ||
|
1082
|
+
placeholder), index.h("div", { class: "select-input-end" }, currValue && showClearButton && (index.h("div", { class: "divider" })), index.h("span", { class: {
|
974
1083
|
"expand-icon": true,
|
975
1084
|
"expand-icon-open": this.open,
|
976
|
-
"expand-icon-filled": !(currValue == null || currValue === ""),
|
977
1085
|
}, innerHTML: Expand, "aria-hidden": "true" }))), currValue && showClearButton && (index.h("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", appearance: this.clearButtonFocused
|
978
1086
|
? helpers.IcThemeForegroundEnum.Light
|
979
|
-
: helpers.IcThemeForegroundEnum.Dark }))))), !helpers.isMobileOrTablet() && (index.h("ic-menu", { class: {
|
1087
|
+
: helpers.IcThemeForegroundEnum.Dark }))))), (!helpers.isMobileOrTablet() || multiple) && (index.h("ic-menu", { class: {
|
980
1088
|
"no-results": this.loading ||
|
981
1089
|
this.hasTimedOut ||
|
982
1090
|
(this.noOptions !== null &&
|
@@ -984,7 +1092,9 @@ const Select = class {
|
|
984
1092
|
this.noOptions[0].label === this.emptyOptionListText),
|
985
1093
|
}, ref: (el) => (this.menu = el), inputEl: searchable
|
986
1094
|
? this.searchableSelectElement
|
987
|
-
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: this.open, options: searchable ? this.filteredOptions : this.uniqueOptions, value: currValue, fullWidth: fullWidth, selectOnEnter: this.selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange,
|
1095
|
+
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: this.open, options: searchable ? this.filteredOptions : this.uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: this.selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: this.searchable || multiple || this.selectOnEnter
|
1096
|
+
? "manual"
|
1097
|
+
: "automatic", closeOnSelect: !multiple })), this.multiple && (index.h("div", { "aria-live": "polite", role: "status", class: "multi-select-selected-count" })), helpers.hasValidationStatus(this.validationStatus, this.disabled) && (index.h("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: this.inputId })))));
|
988
1098
|
}
|
989
1099
|
static get delegatesFocus() { return true; }
|
990
1100
|
get el() { return index.getElement(this); }
|
@@ -998,7 +1108,7 @@ const Select = class {
|
|
998
1108
|
};
|
999
1109
|
Select.style = icSelectCss;
|
1000
1110
|
|
1001
|
-
const icTextFieldCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}:host(.ic-text-field-full-width){width:100%}::-moz-placeholder{color:var(--ic-color-text-tertiary);opacity:1}::placeholder{color:var(--ic-color-text-tertiary);opacity:1}input,textarea{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs)}textarea{min-height:var(--ic-space-lg);resize:vertical;padding-top:0.375rem}input:focus,textarea:focus{border:0;outline:0}input:disabled,textarea:disabled{color:var(--ic-architectural-200)}input.readonly,textarea.readonly{color:var(--ic-color-text-primary)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=\"number\"]{-moz-appearance:textfield}textarea.no-resize{resize:none}.char-count-text{--ic-typography-color:var(--ic-color-text-secondary);padding-right:var(--ic-space-xxxs)}.no-left-pad{padding-left:0}::slotted([slot=\"icon\"]){fill:var(--ic-color-text-tertiary)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-color-text-primary)}.char-count{margin-right:calc(-1 * var(--ic-space-xxxs))}.remaining-char-count-desc{position:absolute;left:-9999px}input[type=\"search\"]::-webkit-search-cancel-button,input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-results-button,input[type=\"search\"]::-webkit-search-results-decoration{display:none}input[type=\"search\"].truncate-value{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (forced-colors: active){input.readonly,textarea.readonly{color:canvastext}.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
|
1111
|
+
const icTextFieldCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--ic-input-label-helpertext-padding:var(--ic-space-xxs)}:host(.ic-text-field-full-width){width:100%}::-moz-placeholder{color:var(--ic-color-text-tertiary);opacity:1}::placeholder{color:var(--ic-color-text-tertiary);opacity:1}input,textarea{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs)}textarea{min-height:var(--ic-space-lg);resize:vertical;padding-top:0.375rem}input:focus,textarea:focus{border:0;outline:0}input:disabled,textarea:disabled{color:var(--ic-architectural-200)}input.readonly,textarea.readonly{color:var(--ic-color-text-primary)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=\"number\"]{-moz-appearance:textfield}textarea.no-resize{resize:none}.char-count-text{--ic-typography-color:var(--ic-color-text-secondary);padding-right:var(--ic-space-xxxs)}.no-left-pad{padding-left:0}::slotted([slot=\"icon\"]){fill:var(--ic-color-text-tertiary)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-color-text-primary)}.char-count{margin-right:calc(-1 * var(--ic-space-xxxs))}.remaining-char-count-desc{position:absolute;left:-9999px}input[type=\"search\"]::-webkit-search-cancel-button,input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-results-button,input[type=\"search\"]::-webkit-search-results-decoration{display:none}input[type=\"search\"].truncate-value{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (forced-colors: active){input.readonly,textarea.readonly{color:canvastext}.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
|
1002
1112
|
|
1003
1113
|
let inputIds = 0;
|
1004
1114
|
const MUTABLE_ATTRIBUTES = [...helpers.IC_INHERITED_ARIA, "title"];
|