@ukic/canary-web-components 2.0.0-canary.13 → 2.0.0-canary.14
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-6acbb97e.js → helpers-6d736902.js} +13 -2
- package/dist/cjs/{helpers-6acbb97e.js.map → helpers-6d736902.js.map} +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +3 -10
- package/dist/cjs/ic-badge.cjs.entry.js.map +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 +34 -85
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +25 -2
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
- package/dist/cjs/ic-date-input.cjs.entry.js +5 -5
- package/dist/cjs/ic-date-input.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.cjs.entry.js +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_4.cjs.entry.js +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +33 -15
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +26 -5
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +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 +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +49 -12
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +40 -26
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +9 -4
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +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 +5 -2
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +2 -1
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +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 +3 -10
- package/dist/cjs/ic-theme.cjs.entry.js.map +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-typography.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ic-date-input/ic-date-input.css +1 -1
- package/dist/collection/components/ic-date-input/ic-date-input.js +4 -4
- package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
- package/dist/components/helpers.js +12 -1
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-badge.js +3 -10
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-button2.js +33 -84
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +1 -1
- package/dist/components/ic-checkbox-group.js +1 -1
- package/dist/components/ic-checkbox.js +1 -1
- package/dist/components/ic-chip.js +29 -3
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-date-input2.js +5 -5
- package/dist/components/ic-date-input2.js.map +1 -1
- package/dist/components/ic-link2.js +34 -16
- package/dist/components/ic-link2.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-item2.js +1 -1
- package/dist/components/ic-navigation-button.js +27 -6
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-pagination2.js +1 -1
- package/dist/components/ic-radio-group.js +40 -26
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +11 -5
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +1 -1
- package/dist/components/ic-select2.js +25 -7
- package/dist/components/ic-select2.js.map +1 -1
- package/dist/components/ic-step.js +4 -1
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +2 -0
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +1 -1
- package/dist/components/ic-tab.js +1 -1
- package/dist/components/ic-text-field2.js +27 -8
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +3 -10
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toggle-button.js +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-169dcfdd.entry.js → p-00bd7919.entry.js} +2 -2
- package/dist/core/p-00c5639e.entry.js +2 -0
- package/dist/core/{p-4a30b0fc.entry.js.map → p-00c5639e.entry.js.map} +1 -1
- package/dist/core/p-06c27edb.entry.js +2 -0
- package/dist/core/p-06c27edb.entry.js.map +1 -0
- package/dist/core/{p-a9ed6a71.entry.js → p-0af27517.entry.js} +2 -2
- package/dist/core/p-0af27517.entry.js.map +1 -0
- package/dist/core/p-162f3e36.entry.js +2 -0
- package/dist/core/{p-55d819a6.entry.js.map → p-162f3e36.entry.js.map} +1 -1
- package/dist/core/{p-e676069e.entry.js → p-19c1e271.entry.js} +2 -2
- package/dist/core/{p-0707f2fc.entry.js → p-1a91e842.entry.js} +2 -2
- package/dist/core/{p-623f911f.entry.js → p-2c9d6334.entry.js} +2 -2
- package/dist/core/p-3dcc61cc.entry.js +2 -0
- package/dist/core/p-3dcc61cc.entry.js.map +1 -0
- package/dist/core/p-3e9a8977.entry.js +2 -0
- package/dist/core/{p-7c8f85fd.entry.js.map → p-3e9a8977.entry.js.map} +1 -1
- package/dist/core/{p-3f4c408a.entry.js → p-41b682dc.entry.js} +2 -2
- package/dist/core/p-494c3cbe.entry.js +2 -0
- package/dist/core/p-494c3cbe.entry.js.map +1 -0
- package/dist/core/p-4ad3012a.entry.js +2 -0
- package/dist/core/p-4ad3012a.entry.js.map +1 -0
- package/dist/core/p-4bd13376.entry.js +2 -0
- package/dist/core/p-4bd13376.entry.js.map +1 -0
- package/dist/core/{p-981b6f12.entry.js → p-4fd58768.entry.js} +2 -2
- package/dist/core/{p-e0e26834.entry.js → p-6dce8e88.entry.js} +2 -2
- package/dist/core/{p-bcfbd465.entry.js → p-6eb58b0a.entry.js} +2 -2
- package/dist/core/{p-6b68ee01.entry.js → p-730f058b.entry.js} +2 -2
- package/dist/core/p-7f53d1be.entry.js +2 -0
- package/dist/core/p-7f53d1be.entry.js.map +1 -0
- package/dist/core/{p-bf316546.entry.js → p-7fda2f94.entry.js} +2 -2
- package/dist/core/p-843bdaae.entry.js +2 -0
- package/dist/core/p-843bdaae.entry.js.map +1 -0
- package/dist/core/{p-f4965c26.entry.js → p-8b1f9648.entry.js} +2 -2
- package/dist/core/{p-1170c02d.entry.js → p-8b820365.entry.js} +2 -2
- package/dist/core/{p-f9fcdd21.entry.js → p-946625a3.entry.js} +2 -2
- package/dist/core/{p-da578abf.entry.js → p-9528b29e.entry.js} +2 -2
- package/dist/core/{p-2ec33c00.entry.js → p-9567c117.entry.js} +2 -2
- package/dist/core/{p-bbcd6d06.entry.js → p-957de939.entry.js} +2 -2
- package/dist/core/p-99bf38e3.entry.js +2 -0
- package/dist/core/{p-31800427.entry.js.map → p-99bf38e3.entry.js.map} +1 -1
- package/dist/core/{p-8ef85b15.entry.js → p-9d8883d7.entry.js} +2 -2
- package/dist/core/{p-66b8f0a7.entry.js → p-a05755b1.entry.js} +2 -2
- package/dist/core/{p-4020d7f7.entry.js → p-a1556d97.entry.js} +2 -2
- package/dist/core/{p-3d0185a4.entry.js → p-a2dc10d8.entry.js} +2 -2
- package/dist/core/{p-b3d21d06.entry.js → p-a8c15117.entry.js} +2 -2
- package/dist/core/{p-1a4bce88.entry.js → p-c14a897d.entry.js} +2 -2
- package/dist/core/{p-b8a3b16d.entry.js → p-c621d6b0.entry.js} +2 -2
- package/dist/core/p-c953edb9.entry.js +2 -0
- package/dist/core/p-c953edb9.entry.js.map +1 -0
- package/dist/core/{p-b612d68b.entry.js → p-cca482e2.entry.js} +2 -2
- package/dist/core/{p-8b1d128c.entry.js → p-d2d63a61.entry.js} +2 -2
- package/dist/core/p-d32d331b.entry.js +2 -0
- package/dist/core/p-d32d331b.entry.js.map +1 -0
- package/dist/core/{p-c7b52046.entry.js → p-db3a35fb.entry.js} +2 -2
- package/dist/core/p-dc5e1f8f.entry.js +2 -0
- package/dist/core/{p-094a0455.entry.js.map → p-dc5e1f8f.entry.js.map} +1 -1
- package/dist/core/{p-05d0ac42.entry.js → p-e16f73ba.entry.js} +2 -2
- package/dist/core/{p-04f46dac.entry.js → p-e1963c78.entry.js} +2 -2
- package/dist/core/p-e1963c78.entry.js.map +1 -0
- package/dist/core/p-e8151d13.entry.js +2 -0
- package/dist/core/{p-dae1779d.entry.js.map → p-e8151d13.entry.js.map} +1 -1
- package/dist/core/{p-3b0caac0.js → p-ee765ad5.js} +2 -2
- package/dist/core/p-ee765ad5.js.map +1 -0
- package/dist/core/{p-c51496ee.entry.js → p-f2147136.entry.js} +2 -2
- package/dist/core/p-f2147136.entry.js.map +1 -0
- package/dist/core/{p-ffa94639.entry.js → p-f8f36680.entry.js} +2 -2
- package/dist/core/{p-fdd8f3a5.entry.js → p-fca46bd9.entry.js} +2 -2
- package/dist/core/{p-4b361789.entry.js → p-ff3a01f3.entry.js} +2 -2
- package/dist/core/{p-ed7379e3.entry.js → p-ff6f1e3a.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-451953f9.js → helpers-c34e4042.js} +13 -2
- package/dist/esm/{helpers-451953f9.js.map → helpers-c34e4042.js.map} +1 -1
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-alert.entry.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-badge.entry.js +3 -10
- package/dist/esm/ic-badge.entry.js.map +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 +34 -85
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +1 -1
- package/dist/esm/ic-checkbox.entry.js +1 -1
- package/dist/esm/ic-chip.entry.js +25 -2
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +1 -1
- package/dist/esm/ic-date-input.entry.js +5 -5
- package/dist/esm/ic-date-input.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.entry.js +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/esm/ic-input-component-container_4.entry.js +1 -1
- package/dist/esm/ic-link.entry.js +34 -16
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/ic-menu.entry.js +1 -1
- package/dist/esm/ic-navigation-button.entry.js +27 -6
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +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 +1 -1
- package/dist/esm/ic-pagination_4.entry.js +50 -13
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +1 -1
- package/dist/esm/ic-radio-group.entry.js +40 -26
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +9 -4
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +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 +5 -2
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +2 -1
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +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 +3 -10
- package/dist/esm/ic-theme.entry.js.map +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-typography.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/hydrate/index.js +218 -167
- package/package.json +3 -3
- package/dist/core/p-04f46dac.entry.js.map +0 -1
- package/dist/core/p-094a0455.entry.js +0 -2
- package/dist/core/p-28bddd8d.entry.js +0 -2
- package/dist/core/p-28bddd8d.entry.js.map +0 -1
- package/dist/core/p-31800427.entry.js +0 -2
- package/dist/core/p-3b0caac0.js.map +0 -1
- package/dist/core/p-402fd288.entry.js +0 -2
- package/dist/core/p-402fd288.entry.js.map +0 -1
- package/dist/core/p-49449a2d.entry.js +0 -2
- package/dist/core/p-49449a2d.entry.js.map +0 -1
- package/dist/core/p-4a30b0fc.entry.js +0 -2
- package/dist/core/p-50cfc2bb.entry.js +0 -2
- package/dist/core/p-50cfc2bb.entry.js.map +0 -1
- package/dist/core/p-55d819a6.entry.js +0 -2
- package/dist/core/p-58c87b3d.entry.js +0 -2
- package/dist/core/p-58c87b3d.entry.js.map +0 -1
- package/dist/core/p-7c8f85fd.entry.js +0 -2
- package/dist/core/p-7d1381ef.entry.js +0 -2
- package/dist/core/p-7d1381ef.entry.js.map +0 -1
- package/dist/core/p-925da2d2.entry.js +0 -2
- package/dist/core/p-925da2d2.entry.js.map +0 -1
- package/dist/core/p-a9ed6a71.entry.js.map +0 -1
- package/dist/core/p-c51496ee.entry.js.map +0 -1
- package/dist/core/p-dae1779d.entry.js +0 -2
- package/dist/core/p-e30f2623.entry.js +0 -2
- package/dist/core/p-e30f2623.entry.js.map +0 -1
- package/dist/core/p-f9ee48f7.entry.js +0 -2
- package/dist/core/p-f9ee48f7.entry.js.map +0 -1
- /package/dist/core/{p-169dcfdd.entry.js.map → p-00bd7919.entry.js.map} +0 -0
- /package/dist/core/{p-e676069e.entry.js.map → p-19c1e271.entry.js.map} +0 -0
- /package/dist/core/{p-0707f2fc.entry.js.map → p-1a91e842.entry.js.map} +0 -0
- /package/dist/core/{p-623f911f.entry.js.map → p-2c9d6334.entry.js.map} +0 -0
- /package/dist/core/{p-3f4c408a.entry.js.map → p-41b682dc.entry.js.map} +0 -0
- /package/dist/core/{p-981b6f12.entry.js.map → p-4fd58768.entry.js.map} +0 -0
- /package/dist/core/{p-e0e26834.entry.js.map → p-6dce8e88.entry.js.map} +0 -0
- /package/dist/core/{p-bcfbd465.entry.js.map → p-6eb58b0a.entry.js.map} +0 -0
- /package/dist/core/{p-6b68ee01.entry.js.map → p-730f058b.entry.js.map} +0 -0
- /package/dist/core/{p-bf316546.entry.js.map → p-7fda2f94.entry.js.map} +0 -0
- /package/dist/core/{p-f4965c26.entry.js.map → p-8b1f9648.entry.js.map} +0 -0
- /package/dist/core/{p-1170c02d.entry.js.map → p-8b820365.entry.js.map} +0 -0
- /package/dist/core/{p-f9fcdd21.entry.js.map → p-946625a3.entry.js.map} +0 -0
- /package/dist/core/{p-da578abf.entry.js.map → p-9528b29e.entry.js.map} +0 -0
- /package/dist/core/{p-2ec33c00.entry.js.map → p-9567c117.entry.js.map} +0 -0
- /package/dist/core/{p-bbcd6d06.entry.js.map → p-957de939.entry.js.map} +0 -0
- /package/dist/core/{p-8ef85b15.entry.js.map → p-9d8883d7.entry.js.map} +0 -0
- /package/dist/core/{p-66b8f0a7.entry.js.map → p-a05755b1.entry.js.map} +0 -0
- /package/dist/core/{p-4020d7f7.entry.js.map → p-a1556d97.entry.js.map} +0 -0
- /package/dist/core/{p-3d0185a4.entry.js.map → p-a2dc10d8.entry.js.map} +0 -0
- /package/dist/core/{p-b3d21d06.entry.js.map → p-a8c15117.entry.js.map} +0 -0
- /package/dist/core/{p-1a4bce88.entry.js.map → p-c14a897d.entry.js.map} +0 -0
- /package/dist/core/{p-b8a3b16d.entry.js.map → p-c621d6b0.entry.js.map} +0 -0
- /package/dist/core/{p-b612d68b.entry.js.map → p-cca482e2.entry.js.map} +0 -0
- /package/dist/core/{p-8b1d128c.entry.js.map → p-d2d63a61.entry.js.map} +0 -0
- /package/dist/core/{p-c7b52046.entry.js.map → p-db3a35fb.entry.js.map} +0 -0
- /package/dist/core/{p-05d0ac42.entry.js.map → p-e16f73ba.entry.js.map} +0 -0
- /package/dist/core/{p-ffa94639.entry.js.map → p-f8f36680.entry.js.map} +0 -0
- /package/dist/core/{p-fdd8f3a5.entry.js.map → p-fca46bd9.entry.js.map} +0 -0
- /package/dist/core/{p-4b361789.entry.js.map → p-ff3a01f3.entry.js.map} +0 -0
- /package/dist/core/{p-ed7379e3.entry.js.map → p-ff6f1e3a.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-6d736902.js');
|
7
7
|
const types = require('./types-17dba796.js');
|
8
8
|
|
9
9
|
const paginationNextPrevious = `<svg width="8" height="10" viewBox="0 0 8 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
@@ -281,6 +281,7 @@ const Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www
|
|
281
281
|
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(.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-active);color:var(--ic-action-dark-active)}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-primary-text);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-primary-text)}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(.disabled)) ic-input-component-container:hover .select-input{background-color:var(--ic-architectural-white)}.select-input[disabled]{pointer-events:none}:host(.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-xs);color:var(--ic-action-dark)}.expand-icon>svg{display:inline-block;width:var(--ic-space-lg);height:var(--ic-space-lg)}:host(.disabled) .expand-icon,:host(.disabled) .expand-icon>svg>path{color:var(--ic-architectural-200)}:host(.searchable) .expand-icon{padding-left:var(--ic-space-xxs);height:2.25rem}:host(.searchable) .expand-icon>svg{height:2.25rem;padding:0 0.375rem}:host(.searchable:not(.disabled)) .expand-icon>svg{cursor:pointer}.expand-icon-open{color:var(--ic-action-dark)}.expand-icon-filled{color:var(--ic-action-dark)}.expand-icon-open,:host(.searchable) .expand-icon-open{transform:rotateX(180deg)}:host(.disabled) .value-text,.placeholder{color:var(--ic-color-tertiary-text)}.select-input-end{display:flex;align-items:center}.clear-button-container{display:flex;gap:var(--ic-space-xxs);padding-left:2.375rem;align-items:center}:host(.small) .clear-button-container{padding-left:1.875rem}.divider{width:var(--ic-border-width);background-color:var(--ic-architectural-400);margin:var(--ic-space-xxs) 0;border-radius:var(--ic-space-1px);height:var(--ic-space-lg)}:host(.small) .divider{height:var(--ic-space-md)}.clear-button{position:absolute;right:2.75rem;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-focus-blue);box-shadow:inset 0 0 0 0.125rem var(--ic-focus-glow);border-radius:0.25rem}.clear-button:focus *{fill:white}.searchable-select-results-status{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)}";
|
282
282
|
|
283
283
|
let inputIds$1 = 0;
|
284
|
+
const MUTABLE_ATTRIBUTES$1 = [...helpers.IC_INHERITED_ARIA, "tabindex", "title"];
|
284
285
|
const Select = class {
|
285
286
|
constructor(hostRef) {
|
286
287
|
index.registerInstance(this, hostRef);
|
@@ -300,6 +301,21 @@ const Select = class {
|
|
300
301
|
this.menuId = `${this.inputId}-menu`;
|
301
302
|
this.searchableMenuItemSelected = false;
|
302
303
|
this.ungroupedOptions = [];
|
304
|
+
this.hostMutationObserver = null;
|
305
|
+
// triggered when attributes of host element change
|
306
|
+
this.hostMutationCallback = (mutationList) => {
|
307
|
+
let forceComponentUpdate = false;
|
308
|
+
mutationList.forEach(({ attributeName }) => {
|
309
|
+
if (MUTABLE_ATTRIBUTES$1.includes(attributeName)) {
|
310
|
+
this.inheritedAttributes[attributeName] =
|
311
|
+
this.el.getAttribute(attributeName);
|
312
|
+
forceComponentUpdate = true;
|
313
|
+
}
|
314
|
+
});
|
315
|
+
if (forceComponentUpdate) {
|
316
|
+
index.forceUpdate(this);
|
317
|
+
}
|
318
|
+
};
|
303
319
|
this.handleRetry = (ev) => {
|
304
320
|
var _a;
|
305
321
|
if (ev.detail.keyPressed)
|
@@ -827,14 +843,12 @@ const Select = class {
|
|
827
843
|
this.open ? this.icOpen.emit() : this.icClose.emit();
|
828
844
|
}
|
829
845
|
disconnectedCallback() {
|
846
|
+
var _a;
|
830
847
|
helpers.removeFormResetListener(this.el, this.handleFormReset);
|
848
|
+
(_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
831
849
|
}
|
832
850
|
componentWillLoad() {
|
833
|
-
this.inheritedAttributes = helpers.inheritAttributes(this.el,
|
834
|
-
...helpers.IC_INHERITED_ARIA,
|
835
|
-
"tabindex",
|
836
|
-
"title",
|
837
|
-
]);
|
851
|
+
this.inheritedAttributes = helpers.inheritAttributes(this.el, MUTABLE_ATTRIBUTES$1);
|
838
852
|
helpers.removeDisabledFalse(this.disabled, this.el);
|
839
853
|
this.setOptionsValuesFromLabels();
|
840
854
|
helpers.addFormResetListener(this.el, this.handleFormReset);
|
@@ -855,6 +869,10 @@ const Select = class {
|
|
855
869
|
this.triggerLoading();
|
856
870
|
}
|
857
871
|
this.hiddenInputValue = this.searchable && this.currValue;
|
872
|
+
this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
|
873
|
+
this.hostMutationObserver.observe(this.el, {
|
874
|
+
attributes: true,
|
875
|
+
});
|
858
876
|
}
|
859
877
|
componentDidRender() {
|
860
878
|
if (this.nativeSelectElement && !this.disabled) {
|
@@ -954,6 +972,7 @@ Select.style = icSelectCss;
|
|
954
972
|
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(.fullwidth){width:100%}::-moz-placeholder{color:var(--ic-color-tertiary-text);opacity:1}::placeholder{color:var(--ic-color-tertiary-text);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-primary-text)}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}.maxlengthtext{color:var(--ic-color-secondary-text)}.no-left-pad{padding-left:0}::slotted([slot=\"icon\"]){fill:var(--ic-color-tertiary-text)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-color-primary-text)}.charcount{margin-right:calc(-1 * var(--ic-space-xxxs))}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}}";
|
955
973
|
|
956
974
|
let inputIds = 0;
|
975
|
+
const MUTABLE_ATTRIBUTES = [...helpers.IC_INHERITED_ARIA, "title"];
|
957
976
|
const TextField = class {
|
958
977
|
constructor(hostRef) {
|
959
978
|
index.registerInstance(this, hostRef);
|
@@ -965,6 +984,7 @@ const TextField = class {
|
|
965
984
|
this.icKeydown = index.createEvent(this, "icKeydown", 7);
|
966
985
|
this.inheritedAttributes = {};
|
967
986
|
this.showLeftIcon = this.hasLeftIconSlot();
|
987
|
+
this.hostMutationObserver = null;
|
968
988
|
this.getMaxLengthExceeded = (value) => {
|
969
989
|
this.numChars = value.length;
|
970
990
|
if (this.type === "number") {
|
@@ -1021,6 +1041,20 @@ const TextField = class {
|
|
1021
1041
|
this.handleFormReset = () => {
|
1022
1042
|
this.value = this.initialValue;
|
1023
1043
|
};
|
1044
|
+
// triggered when attributes of host element change
|
1045
|
+
this.hostMutationCallback = (mutationList) => {
|
1046
|
+
let forceComponentUpdate = false;
|
1047
|
+
mutationList.forEach(({ attributeName }) => {
|
1048
|
+
if (MUTABLE_ATTRIBUTES.includes(attributeName)) {
|
1049
|
+
this.inheritedAttributes[attributeName] =
|
1050
|
+
this.el.getAttribute(attributeName);
|
1051
|
+
forceComponentUpdate = true;
|
1052
|
+
}
|
1053
|
+
});
|
1054
|
+
if (forceComponentUpdate) {
|
1055
|
+
index.forceUpdate(this);
|
1056
|
+
}
|
1057
|
+
};
|
1024
1058
|
this.numChars = 0;
|
1025
1059
|
this.maxCharactersReached = false;
|
1026
1060
|
this.maxCharactersError = false;
|
@@ -1084,7 +1118,9 @@ const TextField = class {
|
|
1084
1118
|
this.debounceChanged();
|
1085
1119
|
}
|
1086
1120
|
disconnectedCallback() {
|
1121
|
+
var _a;
|
1087
1122
|
helpers.removeFormResetListener(this.el, this.handleFormReset);
|
1123
|
+
(_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
1088
1124
|
}
|
1089
1125
|
componentWillLoad() {
|
1090
1126
|
if (this.value !== this.initialValue) {
|
@@ -1092,10 +1128,7 @@ const TextField = class {
|
|
1092
1128
|
}
|
1093
1129
|
this.getMaxLengthExceeded(this.value);
|
1094
1130
|
this.getMaxCharactersReached(this.value);
|
1095
|
-
this.inheritedAttributes = helpers.inheritAttributes(this.el,
|
1096
|
-
...helpers.IC_INHERITED_ARIA,
|
1097
|
-
"title",
|
1098
|
-
]);
|
1131
|
+
this.inheritedAttributes = helpers.inheritAttributes(this.el, MUTABLE_ATTRIBUTES);
|
1099
1132
|
if (this.readonly) {
|
1100
1133
|
this.maxLengthExceeded = false;
|
1101
1134
|
this.maxValueExceeded = false;
|
@@ -1109,6 +1142,10 @@ const TextField = class {
|
|
1109
1142
|
if (this.validationInlineInternal) {
|
1110
1143
|
this.getInlineValidationText();
|
1111
1144
|
}
|
1145
|
+
this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
|
1146
|
+
this.hostMutationObserver.observe(this.el, {
|
1147
|
+
attributes: true,
|
1148
|
+
});
|
1112
1149
|
}
|
1113
1150
|
handleKeyDown(ev) {
|
1114
1151
|
this.icKeydown.emit({ event: ev });
|
@@ -1175,11 +1212,11 @@ const TextField = class {
|
|
1175
1212
|
return (index.h(index.Host, { class: { ["fullwidth"]: fullWidth } }, index.h("ic-input-container", { readonly: readonly, disabled: disabledMode }, !this.hideLabel && (index.h("ic-input-label", { for: inputId, label: label, helperText: helperText, required: required, disabled: disabledText, readonly: readonly })), index.h("ic-input-component-container", { size: small ? "small" : size, validationStatus: currentStatus, multiLine: multiline, disabled: disabledMode, readonly: readonly, validationInline: validationInline, fullWidth: fullWidth }, this.showLeftIcon && (index.h("span", { class: {
|
1176
1213
|
["readonly"]: readonly,
|
1177
1214
|
["has-value"]: value.length > 0,
|
1178
|
-
}, slot: "left-icon" }, index.h("slot", { name: "icon" }))), !multiline
|
1215
|
+
}, slot: "left-icon" }, index.h("slot", { name: "icon" }))), !multiline ? (index.h("input", Object.assign({ id: inputId, name: name, ref: (el) => (this.inputEl = el), type: this.type, min: min, max: max, value: value, class: {
|
1179
1216
|
["no-left-pad"]: !this.showLeftIcon && readonly,
|
1180
1217
|
["readonly"]: readonly,
|
1181
1218
|
["truncate-value"]: truncateValue,
|
1182
|
-
}, placeholder: placeholderText, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, "aria-activedescendant": this.ariaActiveDescendant, "aria-expanded": this.ariaExpanded, "aria-owns": this.ariaOwns, autocomplete: this.autocomplete, autocapitalize: this.autocapitalize, autoFocus: this.autoFocus, spellcheck: spellcheck, inputmode: inputmode, role: this.role, maxlength: maxCharactersReached ? maxCharacters : null, minlength: minCharactersUnattained ? minCharacters : null }, this.inheritedAttributes)))
|
1219
|
+
}, placeholder: placeholderText, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, "aria-activedescendant": this.ariaActiveDescendant, "aria-expanded": this.ariaExpanded, "aria-owns": this.ariaOwns, autocomplete: this.autocomplete, autocapitalize: this.autocapitalize, autoFocus: this.autoFocus, spellcheck: spellcheck, inputmode: inputmode, role: this.role, maxlength: maxCharactersReached ? maxCharacters : null, minlength: minCharactersUnattained ? minCharacters : null }, this.inheritedAttributes))) : (index.h("textarea", Object.assign({ id: inputId, class: {
|
1183
1220
|
["no-resize"]: resize === false || readonly,
|
1184
1221
|
["no-left-pad"]: !this.showLeftIcon && readonly,
|
1185
1222
|
["readonly"]: readonly,
|