@ukic/canary-web-components 2.0.0-canary.18 → 2.0.0-canary.19
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-4f5f087e.js → helpers-73d277d1.js} +6 -3
- package/dist/cjs/helpers-73d277d1.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +13 -1
- package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +2 -2
- package/dist/cjs/ic-accordion.cjs.entry.js.map +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 +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +18 -6
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +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 +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
- package/dist/cjs/ic-date-picker.cjs.entry.js +6 -3
- 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 +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 +12 -1
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-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 +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 +43 -56
- 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 +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +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 +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +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 +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 +2 -2
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ic-date-picker/ic-date-picker.js +6 -3
- package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
- package/dist/components/helpers.js +5 -3
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-accordion-group.js +16 -1
- package/dist/components/ic-accordion-group.js.map +1 -1
- package/dist/components/ic-accordion.js +1 -1
- package/dist/components/ic-accordion.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +20 -5
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-date-picker.js +6 -3
- 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-component-container2.js +13 -2
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-navigation-group.js +1 -1
- package/dist/components/ic-navigation-item.js +1 -1
- package/dist/components/ic-navigation-menu2.js +1 -1
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-popover-menu.js +1 -1
- package/dist/components/ic-search-bar.js +1 -1
- package/dist/components/ic-select2.js +15 -4
- 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-text-field2.js +29 -53
- 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-typography2.js +1 -1
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-87075008.entry.js → p-0629691b.entry.js} +2 -2
- package/dist/core/{p-4c92a3dd.entry.js → p-0970c8a1.entry.js} +2 -2
- package/dist/core/{p-c292fd86.entry.js → p-0a99994a.entry.js} +2 -2
- package/dist/core/{p-c5147498.entry.js → p-0ecde7a8.entry.js} +2 -2
- package/dist/core/{p-86e679ab.entry.js → p-12120521.entry.js} +2 -2
- package/dist/core/{p-1b4f852c.js → p-1440cdd1.js} +2 -2
- package/dist/core/p-1440cdd1.js.map +1 -0
- package/dist/core/{p-8a67e960.entry.js → p-1ba9cd3d.entry.js} +2 -2
- package/dist/core/{p-7c569c2d.entry.js → p-24f9f6d4.entry.js} +2 -2
- package/dist/core/{p-b7c644d1.entry.js → p-3245554e.entry.js} +2 -2
- package/dist/core/{p-4aac2373.entry.js → p-34cc7b3d.entry.js} +2 -2
- package/dist/core/{p-d4fed5f6.entry.js → p-34e72f79.entry.js} +2 -2
- package/dist/core/{p-e4e89a4d.entry.js → p-352b9c17.entry.js} +2 -2
- package/dist/core/{p-5fa17f98.entry.js → p-3eb33ef4.entry.js} +2 -2
- package/dist/core/{p-9c22b14f.entry.js → p-4670ebd3.entry.js} +2 -2
- package/dist/core/{p-1fb48c84.entry.js → p-47c91e08.entry.js} +2 -2
- package/dist/core/p-4ec1ce96.entry.js +2 -0
- package/dist/core/p-4ec1ce96.entry.js.map +1 -0
- package/dist/core/p-57c5ff2c.entry.js +2 -0
- package/dist/core/p-57c5ff2c.entry.js.map +1 -0
- package/dist/core/{p-d3a13342.entry.js → p-5c819adb.entry.js} +2 -2
- package/dist/core/{p-201ec29e.entry.js → p-5ed65e8f.entry.js} +2 -2
- package/dist/core/{p-8ccb23bd.entry.js → p-64ae50d3.entry.js} +2 -2
- package/dist/core/{p-a821c21f.entry.js → p-66bfe89d.entry.js} +2 -2
- package/dist/core/{p-90992051.entry.js → p-66c26240.entry.js} +2 -2
- package/dist/core/p-6c5c6aaf.entry.js +2 -0
- package/dist/core/p-6c5c6aaf.entry.js.map +1 -0
- package/dist/core/{p-8237cd57.entry.js → p-6eafa62e.entry.js} +2 -2
- package/dist/core/{p-52d5a3a5.entry.js → p-768fe0a9.entry.js} +2 -2
- package/dist/core/{p-d2d40668.entry.js → p-7e850bad.entry.js} +2 -2
- package/dist/core/{p-0e51d58e.entry.js → p-8100f45c.entry.js} +2 -2
- package/dist/core/{p-5447f2fd.entry.js → p-87868dd2.entry.js} +2 -2
- package/dist/core/{p-b3b834b3.entry.js → p-88e076fd.entry.js} +2 -2
- package/dist/core/{p-b3b834b3.entry.js.map → p-88e076fd.entry.js.map} +1 -1
- package/dist/core/{p-303dc008.entry.js → p-92a858f7.entry.js} +2 -2
- package/dist/core/{p-71ddb6d9.entry.js → p-94ce6f29.entry.js} +2 -2
- package/dist/core/{p-d08f4fa7.entry.js → p-9769c195.entry.js} +2 -2
- package/dist/core/{p-79fa2f57.entry.js → p-992b6161.entry.js} +2 -2
- package/dist/core/{p-11b243c9.entry.js → p-a5bb7bb0.entry.js} +2 -2
- package/dist/core/{p-f704629e.entry.js → p-af21360a.entry.js} +2 -2
- package/dist/core/{p-5201cd2b.entry.js → p-b7161816.entry.js} +2 -2
- package/dist/core/p-b8d3f121.entry.js +2 -0
- package/dist/core/p-b8d3f121.entry.js.map +1 -0
- package/dist/core/{p-5dfd9074.entry.js → p-cb7793b0.entry.js} +2 -2
- package/dist/core/{p-ba1c1804.entry.js → p-cd3c10f1.entry.js} +2 -2
- package/dist/core/p-cd3c10f1.entry.js.map +1 -0
- package/dist/core/{p-70d734d4.entry.js → p-d3e186a3.entry.js} +2 -2
- package/dist/core/{p-48c39d2a.entry.js → p-d67a5c90.entry.js} +2 -2
- package/dist/core/{p-1fff20ce.entry.js → p-d6b27926.entry.js} +2 -2
- package/dist/core/{p-7f6de032.entry.js → p-e1e04f34.entry.js} +2 -2
- package/dist/core/{p-fae5b518.entry.js → p-e2387530.entry.js} +2 -2
- package/dist/core/{p-3484b15b.entry.js → p-e32cce28.entry.js} +2 -2
- package/dist/core/{p-dd787b5b.entry.js → p-ebe9172b.entry.js} +2 -2
- package/dist/core/{p-dd787b5b.entry.js.map → p-ebe9172b.entry.js.map} +1 -1
- package/dist/core/{p-6996b750.entry.js → p-edf3411a.entry.js} +2 -2
- package/dist/core/{p-7fe37432.entry.js → p-eeae7272.entry.js} +2 -2
- package/dist/core/{p-185e91f0.entry.js → p-ef996e40.entry.js} +2 -2
- package/dist/core/{p-1a45f961.entry.js → p-f04af6fd.entry.js} +2 -2
- package/dist/core/{p-dbbce628.entry.js → p-f847a970.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-84d21612.js → helpers-4e2e4787.js} +6 -4
- package/dist/esm/helpers-4e2e4787.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +13 -1
- package/dist/esm/ic-accordion-group.entry.js.map +1 -1
- package/dist/esm/ic-accordion.entry.js +2 -2
- package/dist/esm/ic-accordion.entry.js.map +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 +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +18 -6
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +1 -1
- package/dist/esm/ic-button_3.entry.js +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 +1 -1
- package/dist/esm/ic-data-row.entry.js +1 -1
- package/dist/esm/ic-date-picker.entry.js +6 -3
- 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 +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 +13 -2
- package/dist/esm/ic-input-component-container_4.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +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 +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 +43 -56
- 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 +1 -1
- package/dist/esm/ic-radio-option.entry.js +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 +1 -1
- package/dist/esm/ic-stepper.entry.js +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 +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 +2 -2
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/hydrate/index.js +95 -67
- package/package.json +3 -3
- package/dist/cjs/helpers-4f5f087e.js.map +0 -1
- package/dist/core/p-1b4f852c.js.map +0 -1
- package/dist/core/p-60494f69.entry.js +0 -2
- package/dist/core/p-60494f69.entry.js.map +0 -1
- package/dist/core/p-7114ae3b.entry.js +0 -2
- package/dist/core/p-7114ae3b.entry.js.map +0 -1
- package/dist/core/p-a1df23b4.entry.js +0 -2
- package/dist/core/p-a1df23b4.entry.js.map +0 -1
- package/dist/core/p-ba1c1804.entry.js.map +0 -1
- package/dist/core/p-e42b66d5.entry.js +0 -2
- package/dist/core/p-e42b66d5.entry.js.map +0 -1
- package/dist/esm/helpers-84d21612.js.map +0 -1
- /package/dist/core/{p-87075008.entry.js.map → p-0629691b.entry.js.map} +0 -0
- /package/dist/core/{p-4c92a3dd.entry.js.map → p-0970c8a1.entry.js.map} +0 -0
- /package/dist/core/{p-c292fd86.entry.js.map → p-0a99994a.entry.js.map} +0 -0
- /package/dist/core/{p-c5147498.entry.js.map → p-0ecde7a8.entry.js.map} +0 -0
- /package/dist/core/{p-86e679ab.entry.js.map → p-12120521.entry.js.map} +0 -0
- /package/dist/core/{p-8a67e960.entry.js.map → p-1ba9cd3d.entry.js.map} +0 -0
- /package/dist/core/{p-7c569c2d.entry.js.map → p-24f9f6d4.entry.js.map} +0 -0
- /package/dist/core/{p-b7c644d1.entry.js.map → p-3245554e.entry.js.map} +0 -0
- /package/dist/core/{p-4aac2373.entry.js.map → p-34cc7b3d.entry.js.map} +0 -0
- /package/dist/core/{p-d4fed5f6.entry.js.map → p-34e72f79.entry.js.map} +0 -0
- /package/dist/core/{p-e4e89a4d.entry.js.map → p-352b9c17.entry.js.map} +0 -0
- /package/dist/core/{p-5fa17f98.entry.js.map → p-3eb33ef4.entry.js.map} +0 -0
- /package/dist/core/{p-9c22b14f.entry.js.map → p-4670ebd3.entry.js.map} +0 -0
- /package/dist/core/{p-1fb48c84.entry.js.map → p-47c91e08.entry.js.map} +0 -0
- /package/dist/core/{p-d3a13342.entry.js.map → p-5c819adb.entry.js.map} +0 -0
- /package/dist/core/{p-201ec29e.entry.js.map → p-5ed65e8f.entry.js.map} +0 -0
- /package/dist/core/{p-8ccb23bd.entry.js.map → p-64ae50d3.entry.js.map} +0 -0
- /package/dist/core/{p-a821c21f.entry.js.map → p-66bfe89d.entry.js.map} +0 -0
- /package/dist/core/{p-90992051.entry.js.map → p-66c26240.entry.js.map} +0 -0
- /package/dist/core/{p-8237cd57.entry.js.map → p-6eafa62e.entry.js.map} +0 -0
- /package/dist/core/{p-52d5a3a5.entry.js.map → p-768fe0a9.entry.js.map} +0 -0
- /package/dist/core/{p-d2d40668.entry.js.map → p-7e850bad.entry.js.map} +0 -0
- /package/dist/core/{p-0e51d58e.entry.js.map → p-8100f45c.entry.js.map} +0 -0
- /package/dist/core/{p-5447f2fd.entry.js.map → p-87868dd2.entry.js.map} +0 -0
- /package/dist/core/{p-303dc008.entry.js.map → p-92a858f7.entry.js.map} +0 -0
- /package/dist/core/{p-71ddb6d9.entry.js.map → p-94ce6f29.entry.js.map} +0 -0
- /package/dist/core/{p-d08f4fa7.entry.js.map → p-9769c195.entry.js.map} +0 -0
- /package/dist/core/{p-79fa2f57.entry.js.map → p-992b6161.entry.js.map} +0 -0
- /package/dist/core/{p-11b243c9.entry.js.map → p-a5bb7bb0.entry.js.map} +0 -0
- /package/dist/core/{p-f704629e.entry.js.map → p-af21360a.entry.js.map} +0 -0
- /package/dist/core/{p-5201cd2b.entry.js.map → p-b7161816.entry.js.map} +0 -0
- /package/dist/core/{p-5dfd9074.entry.js.map → p-cb7793b0.entry.js.map} +0 -0
- /package/dist/core/{p-70d734d4.entry.js.map → p-d3e186a3.entry.js.map} +0 -0
- /package/dist/core/{p-48c39d2a.entry.js.map → p-d67a5c90.entry.js.map} +0 -0
- /package/dist/core/{p-1fff20ce.entry.js.map → p-d6b27926.entry.js.map} +0 -0
- /package/dist/core/{p-7f6de032.entry.js.map → p-e1e04f34.entry.js.map} +0 -0
- /package/dist/core/{p-fae5b518.entry.js.map → p-e2387530.entry.js.map} +0 -0
- /package/dist/core/{p-3484b15b.entry.js.map → p-e32cce28.entry.js.map} +0 -0
- /package/dist/core/{p-6996b750.entry.js.map → p-edf3411a.entry.js.map} +0 -0
- /package/dist/core/{p-7fe37432.entry.js.map → p-eeae7272.entry.js.map} +0 -0
- /package/dist/core/{p-185e91f0.entry.js.map → p-ef996e40.entry.js.map} +0 -0
- /package/dist/core/{p-1a45f961.entry.js.map → p-f04af6fd.entry.js.map} +0 -0
- /package/dist/core/{p-dbbce628.entry.js.map → p-f847a970.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-73d277d1.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">
|
@@ -299,7 +299,7 @@ const Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www
|
|
299
299
|
</svg>
|
300
300
|
`;
|
301
301
|
|
302
|
-
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)}";
|
302
|
+
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)}::slotted([slot=\"icon\"]){fill:var(--ic-color-tertiary-text)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-color-primary-text)}.readonly ::slotted([slot=\"icon\"]){padding:0.375rem;margin-bottom:0.75rem}@media (forced-colors: active){.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
|
303
303
|
|
304
304
|
let inputIds$1 = 0;
|
305
305
|
const MUTABLE_ATTRIBUTES$1 = [...helpers.IC_INHERITED_ARIA, "tabindex", "title"];
|
@@ -326,12 +326,15 @@ const Select = class {
|
|
326
326
|
// triggered when attributes of host element change
|
327
327
|
this.hostMutationCallback = (mutationList) => {
|
328
328
|
let forceComponentUpdate = false;
|
329
|
-
mutationList.forEach(({ attributeName }) => {
|
329
|
+
mutationList.forEach(({ attributeName, type, addedNodes, removedNodes }) => {
|
330
330
|
if (MUTABLE_ATTRIBUTES$1.includes(attributeName)) {
|
331
331
|
this.inheritedAttributes[attributeName] =
|
332
332
|
this.el.getAttribute(attributeName);
|
333
333
|
forceComponentUpdate = true;
|
334
334
|
}
|
335
|
+
else if (type === "childList") {
|
336
|
+
forceComponentUpdate = helpers.checkSlotInChildMutations(addedNodes, removedNodes, "icon");
|
337
|
+
}
|
335
338
|
});
|
336
339
|
if (forceComponentUpdate) {
|
337
340
|
index.forceUpdate(this);
|
@@ -897,6 +900,7 @@ const Select = class {
|
|
897
900
|
this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
|
898
901
|
this.hostMutationObserver.observe(this.el, {
|
899
902
|
attributes: true,
|
903
|
+
childList: true,
|
900
904
|
});
|
901
905
|
}
|
902
906
|
componentDidRender() {
|
@@ -941,13 +945,20 @@ const Select = class {
|
|
941
945
|
helpers.renderHiddenInput(true, this.el, name, this.searchable ? this.hiddenInputValue : currValue, disabled);
|
942
946
|
const invalid = validationStatus === types.IcInformationStatus.Error ? "true" : "false";
|
943
947
|
const describedBy = helpers.getInputDescribedByText(this.inputId, helperText !== "", helpers.hasValidationStatus(this.validationStatus, this.disabled)).trim();
|
948
|
+
let showLeftIcon = !!this.el.querySelector(`[slot="icon"]`);
|
949
|
+
if (showLeftIcon && (disabled || (readonly && !this.value))) {
|
950
|
+
showLeftIcon = false;
|
951
|
+
}
|
944
952
|
return (index.h(index.Host, { class: {
|
945
953
|
disabled: disabled,
|
946
954
|
searchable: searchable,
|
947
955
|
small: small,
|
948
956
|
[size]: size !== "default",
|
949
957
|
"full-width": fullWidth,
|
950
|
-
}, 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 }, small: small, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus },
|
958
|
+
}, 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 }, small: small, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, showLeftIcon && (index.h("span", { slot: "left-icon", class: {
|
959
|
+
["readonly"]: readonly,
|
960
|
+
["has-value"]: !!this.value,
|
961
|
+
} }, index.h("slot", { name: "icon" }))), readonly ? (index.h("ic-typography", null, index.h("p", null, this.getLabelFromValue(currValue)))) : helpers.isMobileOrTablet() ? (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) => {
|
951
962
|
if (option.children) {
|
952
963
|
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)))));
|
953
964
|
}
|
@@ -1012,27 +1023,19 @@ const TextField = class {
|
|
1012
1023
|
this.getMaxLengthExceeded = (value) => {
|
1013
1024
|
this.numChars = value.length;
|
1014
1025
|
if (this.type === "number") {
|
1015
|
-
this.minValueUnattained =
|
1016
|
-
|
1017
|
-
this.maxValueExceeded = Number(value) > Number(this.max) ? true : false;
|
1026
|
+
this.minValueUnattained = value && Number(value) < Number(this.min);
|
1027
|
+
this.maxValueExceeded = Number(value) > Number(this.max);
|
1018
1028
|
}
|
1019
1029
|
if (this.maxLength > 0) {
|
1020
|
-
this.maxLengthExceeded =
|
1030
|
+
this.maxLengthExceeded = this.numChars > this.maxLength;
|
1021
1031
|
}
|
1022
1032
|
};
|
1023
1033
|
this.getMaxCharactersReached = (value) => {
|
1024
1034
|
this.numChars = value.length;
|
1025
|
-
|
1026
|
-
this.
|
1027
|
-
|
1028
|
-
|
1029
|
-
}
|
1030
|
-
}
|
1031
|
-
};
|
1032
|
-
this.getMinCharactersUnattained = (value) => {
|
1033
|
-
this.numChars = value.length;
|
1034
|
-
if (this.minCharacters > 0) {
|
1035
|
-
this.minCharactersUnattained = this.numChars < this.minCharacters;
|
1035
|
+
this.maxCharactersReached =
|
1036
|
+
this.maxCharacters > 0 ? this.numChars >= this.maxCharacters : false;
|
1037
|
+
if (this.maxCharactersError && !this.maxCharactersReached) {
|
1038
|
+
this.maxCharactersError = false;
|
1036
1039
|
}
|
1037
1040
|
};
|
1038
1041
|
this.onInput = (ev) => {
|
@@ -1041,39 +1044,30 @@ const TextField = class {
|
|
1041
1044
|
};
|
1042
1045
|
this.onBlur = (ev) => {
|
1043
1046
|
const value = ev.target.value;
|
1044
|
-
this.
|
1047
|
+
this.numChars = value.length;
|
1048
|
+
this.minCharactersUnattained =
|
1049
|
+
this.minCharacters > 0 ? this.numChars < this.minCharacters : false;
|
1045
1050
|
this.icBlur.emit({ value: value });
|
1046
1051
|
};
|
1047
1052
|
this.onFocus = (ev) => {
|
1048
|
-
|
1049
|
-
this.icFocus.emit({ value: value });
|
1050
|
-
};
|
1051
|
-
this.isTextArea = () => {
|
1052
|
-
return this.rows > 1;
|
1053
|
-
};
|
1054
|
-
this.getInlineValidationText = () => {
|
1055
|
-
this.getValidationText.emit({ value: this.validationText });
|
1056
|
-
};
|
1057
|
-
this.hasStatus = (status) => {
|
1058
|
-
return status !== "" && !this.disabled;
|
1059
|
-
};
|
1060
|
-
this.showStatusText = (status) => {
|
1061
|
-
return (this.hasStatus(status) &&
|
1062
|
-
!(status == types.IcInformationStatus.Success && this.validationInline) &&
|
1063
|
-
!this.validationInlineInternal);
|
1053
|
+
this.icFocus.emit({ value: ev.target.value });
|
1064
1054
|
};
|
1055
|
+
this.hasStatus = (status) => status !== "" && !this.disabled;
|
1065
1056
|
this.handleFormReset = () => {
|
1066
1057
|
this.value = this.initialValue;
|
1067
1058
|
};
|
1068
1059
|
// triggered when attributes of host element change
|
1069
1060
|
this.hostMutationCallback = (mutationList) => {
|
1070
1061
|
let forceComponentUpdate = false;
|
1071
|
-
mutationList.forEach(({ attributeName }) => {
|
1062
|
+
mutationList.forEach(({ attributeName, type, addedNodes, removedNodes }) => {
|
1072
1063
|
if (MUTABLE_ATTRIBUTES.includes(attributeName)) {
|
1073
1064
|
this.inheritedAttributes[attributeName] =
|
1074
1065
|
this.el.getAttribute(attributeName);
|
1075
1066
|
forceComponentUpdate = true;
|
1076
1067
|
}
|
1068
|
+
else if (type === "childList") {
|
1069
|
+
forceComponentUpdate = helpers.checkSlotInChildMutations(addedNodes, removedNodes, "icon");
|
1070
|
+
}
|
1077
1071
|
});
|
1078
1072
|
if (forceComponentUpdate) {
|
1079
1073
|
index.forceUpdate(this);
|
@@ -1164,11 +1158,12 @@ const TextField = class {
|
|
1164
1158
|
componentDidLoad() {
|
1165
1159
|
helpers.onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Text Field");
|
1166
1160
|
if (this.validationInlineInternal) {
|
1167
|
-
this.
|
1161
|
+
this.getValidationText.emit({ value: this.validationText });
|
1168
1162
|
}
|
1169
1163
|
this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
|
1170
1164
|
this.hostMutationObserver.observe(this.el, {
|
1171
1165
|
attributes: true,
|
1166
|
+
childList: true,
|
1172
1167
|
});
|
1173
1168
|
}
|
1174
1169
|
handleKeyDown(ev) {
|
@@ -1179,13 +1174,8 @@ const TextField = class {
|
|
1179
1174
|
* Sets focus on the native `input`.
|
1180
1175
|
*/
|
1181
1176
|
async setFocus() {
|
1182
|
-
|
1183
|
-
|
1184
|
-
}
|
1185
|
-
}
|
1186
|
-
hasLeftIconSlot() {
|
1187
|
-
const iconEl = this.el.querySelector(`[slot="icon"]`);
|
1188
|
-
return iconEl !== null;
|
1177
|
+
var _a;
|
1178
|
+
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
1189
1179
|
}
|
1190
1180
|
render() {
|
1191
1181
|
const { inputId, name, label, required, size, small, placeholder, helperText, rows, resize, disabled, value, min, max, maxLength, numChars, readonly, maxLengthExceeded, maxCharacters, maxCharactersError, maxCharactersReached, minCharacters, minCharactersUnattained, minValueUnattained, maxValueExceeded, validationStatus, validationText, validationInline, validationInlineInternal, spellcheck, inputmode, fullWidth, truncateValue, hiddenInput, } = this;
|
@@ -1219,18 +1209,15 @@ const TextField = class {
|
|
1219
1209
|
(maxLength === 0 && currentStatus === types.IcInformationStatus.Error)
|
1220
1210
|
? "assertive"
|
1221
1211
|
: "polite";
|
1222
|
-
const showStatusText = this.
|
1223
|
-
|
1224
|
-
|
1225
|
-
const
|
1226
|
-
|
1227
|
-
|
1228
|
-
let showLeftIcon = this.hasLeftIconSlot();
|
1229
|
-
if (showLeftIcon && !readonly && disabledMode) {
|
1230
|
-
showLeftIcon = false;
|
1231
|
-
}
|
1232
|
-
const invalid = currentStatus === types.IcInformationStatus.Error ? "true" : "false";
|
1212
|
+
const showStatusText = this.hasStatus(currentStatus) &&
|
1213
|
+
!(currentStatus == types.IcInformationStatus.Success && validationInline) &&
|
1214
|
+
!validationInlineInternal;
|
1215
|
+
const multiline = rows > 1;
|
1216
|
+
const hiddenCharCountDescId = maxLength > 0 ? `${inputId}-charcount-desc` : "";
|
1217
|
+
const describedBy = `${hiddenCharCountDescId} ${helpers.getInputDescribedByText(inputId, helperText !== "", showStatusText)}`.trim();
|
1233
1218
|
const disabledText = disabledMode && !readonly;
|
1219
|
+
const showLeftIcon = !!this.el.querySelector(`[slot="icon"]`) && !disabledText;
|
1220
|
+
const invalid = `${currentStatus === types.IcInformationStatus.Error}`;
|
1234
1221
|
if (hiddenInput) {
|
1235
1222
|
helpers.renderHiddenInput(true, this.el, name, value, disabledMode);
|
1236
1223
|
}
|