@ukic/web-components 3.2.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-789082d4.js → helpers-fc4016d2.js} +21 -37
- package/dist/cjs/helpers-fc4016d2.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 +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +4 -4
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +56 -76
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +32 -51
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +110 -131
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +5 -5
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +9 -10
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +34 -33
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +26 -38
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-row.cjs.entry.js +3 -3
- package/dist/cjs/ic-dialog.cjs.entry.js +2 -2
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +3 -3
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +3 -3
- package/dist/cjs/ic-footer.cjs.entry.js +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +5 -5
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +6 -6
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +9 -9
- package/dist/cjs/ic-input-label_2.cjs.entry.js +8 -8
- package/dist/cjs/ic-link.cjs.entry.js +21 -3
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-menu-item.cjs.entry.js +5 -5
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
- package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
- package/dist/cjs/ic-pagination-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-pagination.cjs.entry.js +5 -5
- package/dist/cjs/ic-popover-menu.cjs.entry.js +8 -7
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +5 -5
- package/dist/cjs/ic-radio-option.cjs.entry.js +5 -5
- package/dist/cjs/ic-search-bar.cjs.entry.js +112 -135
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-select.cjs.entry.js +7 -7
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +6 -6
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
- package/dist/cjs/ic-step.cjs.entry.js +14 -14
- package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
- package/dist/cjs/ic-switch.cjs.entry.js +6 -6
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab.cjs.entry.js +3 -3
- package/dist/cjs/ic-text-field.cjs.entry.js +32 -29
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +2 -2
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +4 -4
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/ic-top-navigation.cjs.entry.js +5 -5
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ic-badge/ic-badge.css +1 -1
- package/dist/collection/components/ic-badge/ic-badge.js +2 -2
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +40 -59
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +65 -86
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.css +105 -54
- package/dist/collection/components/ic-button/ic-button.js +141 -162
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.stories.js +10 -2
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +4 -4
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +71 -73
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +24 -25
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.css +9 -0
- package/dist/collection/components/ic-chip/ic-chip.js +66 -72
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.stories.js +2 -1
- package/dist/collection/components/ic-data-list/ic-data-list.js +2 -2
- package/dist/collection/components/ic-data-row/ic-data-row.js +2 -2
- package/dist/collection/components/ic-dialog/ic-dialog.js +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +2 -2
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -2
- package/dist/collection/components/ic-hero/ic-hero.js +4 -4
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +5 -5
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +3 -3
- package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
- package/dist/collection/components/ic-input-label/ic-input-label.js +4 -4
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +3 -3
- package/dist/collection/components/ic-link/ic-link.js +23 -2
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.stories.js +28 -5
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +3 -3
- package/dist/collection/components/ic-menu/ic-menu.js +3 -3
- package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.css +0 -5
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +3 -3
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +2 -2
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +2 -2
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -4
- package/dist/collection/components/ic-page-header/ic-page-header.js +6 -6
- package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +0 -5
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +6 -5
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +4 -4
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -4
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +169 -192
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
- package/dist/collection/components/ic-select/ic-select.js +6 -6
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +4 -4
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
- package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
- package/dist/collection/components/ic-step/ic-step.js +13 -13
- package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
- package/dist/collection/components/ic-switch/ic-switch.js +5 -5
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-tab/ic-tab.js +2 -2
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
- package/dist/collection/components/ic-text-field/ic-text-field.js +112 -95
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-theme/ic-theme.js +1 -1
- package/dist/collection/components/ic-toast/ic-toast.js +3 -3
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +2 -2
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +4 -4
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.js +2 -2
- package/dist/collection/utils/helpers.js +20 -36
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/components/helpers.js +21 -37
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-badge.js +3 -3
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +57 -78
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +32 -51
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +105 -126
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card-vertical.js +4 -4
- package/dist/components/ic-checkbox-group.js +8 -9
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +36 -35
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +28 -40
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-data-list.js +2 -2
- package/dist/components/ic-data-row.js +2 -2
- package/dist/components/ic-dialog.js +1 -1
- package/dist/components/ic-empty-state.js +2 -2
- package/dist/components/ic-footer-link.js +2 -2
- package/dist/components/ic-hero.js +4 -4
- package/dist/components/ic-horizontal-scroll2.js +5 -5
- package/dist/components/ic-input-component-container2.js +3 -3
- package/dist/components/ic-input-container2.js +2 -2
- package/dist/components/ic-input-label2.js +4 -4
- package/dist/components/ic-input-validation2.js +3 -3
- package/dist/components/ic-link2.js +23 -3
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +3 -3
- package/dist/components/ic-menu-group.js +1 -1
- package/dist/components/ic-menu-item2.js +4 -4
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +3 -3
- package/dist/components/ic-navigation-button.js +2 -2
- package/dist/components/ic-navigation-group.js +1 -1
- package/dist/components/ic-navigation-item.js +2 -2
- package/dist/components/ic-navigation-menu2.js +4 -4
- package/dist/components/ic-page-header.js +6 -6
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-pagination.js +4 -4
- package/dist/components/ic-popover-menu.js +7 -6
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +4 -4
- package/dist/components/ic-radio-option.js +4 -4
- package/dist/components/ic-search-bar.js +112 -135
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-select.js +7 -7
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +5 -5
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +2 -2
- package/dist/components/ic-skip-link.js +2 -2
- package/dist/components/ic-status-tag.js +2 -2
- package/dist/components/ic-step.js +13 -13
- package/dist/components/ic-stepper.js +2 -2
- package/dist/components/ic-switch.js +5 -5
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +1 -1
- package/dist/components/ic-tab-group.js +2 -2
- package/dist/components/ic-tab-panel.js +2 -2
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +2 -2
- package/dist/components/ic-text-field.js +32 -29
- package/dist/components/ic-text-field.js.map +1 -1
- package/dist/components/ic-theme.js +1 -1
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast.js +3 -3
- package/dist/components/ic-toggle-button-group.js +2 -2
- package/dist/components/ic-toggle-button.js +2 -2
- package/dist/components/ic-tooltip2.js +2 -2
- package/dist/components/ic-top-navigation.js +4 -4
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +2 -2
- package/dist/core/core.css +159 -109
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-4245a976.entry.js → p-00bc353b.entry.js} +2 -2
- package/dist/core/{p-ef09b450.entry.js → p-0a436c47.entry.js} +2 -2
- package/dist/core/{p-fbde763c.entry.js → p-10e1e227.entry.js} +2 -2
- package/dist/core/{p-88924aef.entry.js → p-1440847f.entry.js} +2 -2
- package/dist/core/{p-bbe5596b.entry.js → p-15b7adaf.entry.js} +2 -2
- package/dist/core/p-16f55230.entry.js +2 -0
- package/dist/core/p-16f55230.entry.js.map +1 -0
- package/dist/core/{p-45432bf5.entry.js → p-1838d1e9.entry.js} +2 -2
- package/dist/core/{p-3eb7ef1d.entry.js → p-18714198.entry.js} +2 -2
- package/dist/core/{p-3b5d3e24.entry.js → p-1b2690b4.entry.js} +2 -2
- package/dist/core/p-1b2690b4.entry.js.map +1 -0
- package/dist/core/{p-b3ac38c5.entry.js → p-1be17f22.entry.js} +2 -2
- package/dist/core/p-206c2a26.entry.js +2 -0
- package/dist/core/p-206c2a26.entry.js.map +1 -0
- package/dist/core/{p-b3d6d5be.entry.js → p-267a19d4.entry.js} +2 -2
- package/dist/core/{p-81a12e36.entry.js → p-26dfc4db.entry.js} +2 -2
- package/dist/core/{p-81a12e36.entry.js.map → p-26dfc4db.entry.js.map} +1 -1
- package/dist/core/p-2c17cc67.entry.js +2 -0
- package/dist/core/p-2c17cc67.entry.js.map +1 -0
- package/dist/core/{p-f3c72ffb.entry.js → p-2c371198.entry.js} +2 -2
- package/dist/core/{p-63fe83ad.entry.js → p-2e44cf53.entry.js} +2 -2
- package/dist/core/{p-63fe83ad.entry.js.map → p-2e44cf53.entry.js.map} +1 -1
- package/dist/core/{p-70700c7a.entry.js → p-42a7d0b6.entry.js} +2 -2
- package/dist/core/p-513628ef.entry.js +2 -0
- package/dist/core/p-513628ef.entry.js.map +1 -0
- package/dist/core/{p-33c86ba6.entry.js → p-628c32b8.entry.js} +2 -2
- package/dist/core/{p-0631c3ab.entry.js → p-70a6cff1.entry.js} +2 -2
- package/dist/core/{p-f815f8c9.entry.js → p-72c117b6.entry.js} +2 -2
- package/dist/core/p-730d2f6e.entry.js +2 -0
- package/dist/core/p-730d2f6e.entry.js.map +1 -0
- package/dist/core/{p-7dfe0284.entry.js → p-788c96ac.entry.js} +2 -2
- package/dist/core/{p-fe833509.entry.js → p-7fb79e87.entry.js} +2 -2
- package/dist/core/p-8242c24f.js +2 -0
- package/dist/core/p-8242c24f.js.map +1 -0
- package/dist/core/{p-6de6b6b7.entry.js → p-83764268.entry.js} +2 -2
- package/dist/core/{p-4b601e06.entry.js → p-8b5022bc.entry.js} +2 -2
- package/dist/core/{p-1e4cdd2d.entry.js → p-8c4f7c63.entry.js} +2 -2
- package/dist/core/{p-5e18b899.entry.js → p-910f5f14.entry.js} +2 -2
- package/dist/core/{p-7afc71d0.entry.js → p-9479f272.entry.js} +2 -2
- package/dist/core/{p-acebb05c.entry.js → p-9c47521d.entry.js} +2 -2
- package/dist/core/{p-40f2f58e.entry.js → p-9ca147f3.entry.js} +2 -2
- package/dist/core/{p-e56d0db2.entry.js → p-9cfc2bac.entry.js} +2 -2
- package/dist/core/{p-abaea607.entry.js → p-a0161990.entry.js} +2 -2
- package/dist/core/p-a17499ff.entry.js +2 -0
- package/dist/core/p-a17499ff.entry.js.map +1 -0
- package/dist/core/{p-c2ca6274.entry.js → p-a4f9b5bf.entry.js} +2 -2
- package/dist/core/{p-005cd8a8.entry.js → p-aad10013.entry.js} +2 -2
- package/dist/core/{p-959a9cdf.entry.js → p-b371a498.entry.js} +2 -2
- package/dist/core/{p-959a9cdf.entry.js.map → p-b371a498.entry.js.map} +1 -1
- package/dist/core/p-b7568944.entry.js +2 -0
- package/dist/core/p-b7568944.entry.js.map +1 -0
- package/dist/core/{p-3675c4b4.entry.js → p-b8da5c07.entry.js} +2 -2
- package/dist/core/{p-de43d375.entry.js → p-b9459ba2.entry.js} +2 -2
- package/dist/core/p-ba600947.entry.js +2 -0
- package/dist/core/p-ba600947.entry.js.map +1 -0
- package/dist/core/{p-f34eee68.entry.js → p-bc2ca778.entry.js} +2 -2
- package/dist/core/{p-7c0914e7.entry.js → p-bdc72446.entry.js} +2 -2
- package/dist/core/{p-a9c96e3e.entry.js → p-c45023b7.entry.js} +2 -2
- package/dist/core/p-c4663e1a.entry.js +2 -0
- package/dist/core/p-c4663e1a.entry.js.map +1 -0
- package/dist/core/{p-5206a978.entry.js → p-c8cf1ad5.entry.js} +2 -2
- package/dist/core/p-c9a4fe37.entry.js +2 -0
- package/dist/core/p-c9a4fe37.entry.js.map +1 -0
- package/dist/core/p-cdf56a5d.entry.js +2 -0
- package/dist/core/p-cdf56a5d.entry.js.map +1 -0
- package/dist/core/{p-23d059ff.entry.js → p-d45d66c0.entry.js} +2 -2
- package/dist/core/{p-9ea9a4ce.entry.js → p-d6c50565.entry.js} +2 -2
- package/dist/core/{p-950db960.entry.js → p-d975bf2f.entry.js} +2 -2
- package/dist/core/{p-950db960.entry.js.map → p-d975bf2f.entry.js.map} +1 -1
- package/dist/core/{p-3132270d.entry.js → p-dede4974.entry.js} +2 -2
- package/dist/core/{p-23ed8b99.entry.js → p-df88ff5b.entry.js} +2 -2
- package/dist/core/{p-c04f36c5.entry.js → p-e86a6d2d.entry.js} +2 -2
- package/dist/core/{p-7a0d238b.entry.js → p-ebab7a9e.entry.js} +2 -2
- package/dist/core/{p-517d7afb.entry.js → p-eeab3a2e.entry.js} +2 -2
- package/dist/core/{p-44e4e8c1.entry.js → p-ef36181d.entry.js} +2 -2
- package/dist/core/{p-fc50d582.entry.js → p-f0388d68.entry.js} +2 -2
- package/dist/core/{p-e2f893f0.entry.js → p-fbf57f0a.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-46a2d1fd.js → helpers-f2ffaa7c.js} +22 -38
- package/dist/esm/helpers-f2ffaa7c.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 +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-badge.entry.js +4 -4
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +56 -76
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +32 -51
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +111 -132
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-vertical.entry.js +5 -5
- package/dist/esm/ic-checkbox-group.entry.js +9 -10
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +34 -33
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +26 -38
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-data-list.entry.js +2 -2
- package/dist/esm/ic-data-row.entry.js +3 -3
- package/dist/esm/ic-dialog.entry.js +2 -2
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-empty-state.entry.js +3 -3
- package/dist/esm/ic-footer-link-group.entry.js +1 -1
- package/dist/esm/ic-footer-link.entry.js +3 -3
- package/dist/esm/ic-footer.entry.js +1 -1
- package/dist/esm/ic-hero.entry.js +5 -5
- package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
- package/dist/esm/ic-input-component-container_3.entry.js +9 -9
- package/dist/esm/ic-input-label_2.entry.js +8 -8
- package/dist/esm/ic-link.entry.js +21 -3
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +2 -2
- package/dist/esm/ic-menu-item.entry.js +5 -5
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +3 -3
- package/dist/esm/ic-navigation-group.entry.js +2 -2
- package/dist/esm/ic-navigation-item.entry.js +3 -3
- package/dist/esm/ic-navigation-menu.entry.js +5 -5
- package/dist/esm/ic-page-header.entry.js +7 -7
- package/dist/esm/ic-pagination-item.entry.js +2 -2
- package/dist/esm/ic-pagination.entry.js +5 -5
- package/dist/esm/ic-popover-menu.entry.js +8 -7
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +5 -5
- package/dist/esm/ic-radio-option.entry.js +5 -5
- package/dist/esm/ic-search-bar.entry.js +112 -135
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +2 -2
- package/dist/esm/ic-select.entry.js +7 -7
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +6 -6
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +2 -2
- package/dist/esm/ic-skip-link.entry.js +2 -2
- package/dist/esm/ic-status-tag.entry.js +3 -3
- package/dist/esm/ic-step.entry.js +14 -14
- package/dist/esm/ic-stepper.entry.js +3 -3
- package/dist/esm/ic-switch.entry.js +6 -6
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +1 -1
- package/dist/esm/ic-tab-group.entry.js +3 -3
- package/dist/esm/ic-tab-panel.entry.js +2 -2
- package/dist/esm/ic-tab.entry.js +3 -3
- package/dist/esm/ic-text-field.entry.js +32 -29
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +2 -2
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +4 -4
- package/dist/esm/ic-toggle-button-group.entry.js +3 -3
- package/dist/esm/ic-toggle-button.entry.js +3 -3
- package/dist/esm/ic-top-navigation.entry.js +5 -5
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +4 -6
- package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +9 -15
- package/dist/types/components/ic-button/ic-button.d.ts +29 -22
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +14 -13
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +8 -9
- package/dist/types/components/ic-chip/ic-chip.d.ts +13 -15
- package/dist/types/components/ic-link/ic-link.d.ts +2 -0
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +38 -40
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +37 -32
- package/dist/types/components.d.ts +127 -122
- package/dist/types/utils/helpers.d.ts +8 -8
- package/hydrate/index.js +590 -680
- package/hydrate/index.mjs +590 -680
- package/package.json +2 -2
- package/vscode-data.json +167 -3
- package/dist/cjs/helpers-789082d4.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js +0 -2
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js.map +0 -1
- package/dist/core/p-0a8b3967.entry.js +0 -2
- package/dist/core/p-0a8b3967.entry.js.map +0 -1
- package/dist/core/p-0b4350df.entry.js +0 -2
- package/dist/core/p-0b4350df.entry.js.map +0 -1
- package/dist/core/p-0e618fc5.entry.js +0 -2
- package/dist/core/p-0e618fc5.entry.js.map +0 -1
- package/dist/core/p-18ecba80.entry.js +0 -2
- package/dist/core/p-18ecba80.entry.js.map +0 -1
- package/dist/core/p-281ce313.js +0 -2
- package/dist/core/p-281ce313.js.map +0 -1
- package/dist/core/p-30abe545.entry.js +0 -2
- package/dist/core/p-30abe545.entry.js.map +0 -1
- package/dist/core/p-3b5d3e24.entry.js.map +0 -1
- package/dist/core/p-5d4b0480.entry.js +0 -2
- package/dist/core/p-5d4b0480.entry.js.map +0 -1
- package/dist/core/p-6337fe1f.entry.js +0 -2
- package/dist/core/p-6337fe1f.entry.js.map +0 -1
- package/dist/core/p-8ba129fc.entry.js +0 -2
- package/dist/core/p-8ba129fc.entry.js.map +0 -1
- package/dist/core/p-ac7db165.entry.js +0 -2
- package/dist/core/p-ac7db165.entry.js.map +0 -1
- package/dist/core/p-c62318a8.entry.js +0 -2
- package/dist/core/p-c62318a8.entry.js.map +0 -1
- package/dist/core/p-e586ae7b.entry.js +0 -2
- package/dist/core/p-e586ae7b.entry.js.map +0 -1
- package/dist/esm/helpers-46a2d1fd.js.map +0 -1
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +0 -1
- /package/dist/core/{p-4245a976.entry.js.map → p-00bc353b.entry.js.map} +0 -0
- /package/dist/core/{p-ef09b450.entry.js.map → p-0a436c47.entry.js.map} +0 -0
- /package/dist/core/{p-fbde763c.entry.js.map → p-10e1e227.entry.js.map} +0 -0
- /package/dist/core/{p-88924aef.entry.js.map → p-1440847f.entry.js.map} +0 -0
- /package/dist/core/{p-bbe5596b.entry.js.map → p-15b7adaf.entry.js.map} +0 -0
- /package/dist/core/{p-45432bf5.entry.js.map → p-1838d1e9.entry.js.map} +0 -0
- /package/dist/core/{p-3eb7ef1d.entry.js.map → p-18714198.entry.js.map} +0 -0
- /package/dist/core/{p-b3ac38c5.entry.js.map → p-1be17f22.entry.js.map} +0 -0
- /package/dist/core/{p-b3d6d5be.entry.js.map → p-267a19d4.entry.js.map} +0 -0
- /package/dist/core/{p-f3c72ffb.entry.js.map → p-2c371198.entry.js.map} +0 -0
- /package/dist/core/{p-70700c7a.entry.js.map → p-42a7d0b6.entry.js.map} +0 -0
- /package/dist/core/{p-33c86ba6.entry.js.map → p-628c32b8.entry.js.map} +0 -0
- /package/dist/core/{p-0631c3ab.entry.js.map → p-70a6cff1.entry.js.map} +0 -0
- /package/dist/core/{p-f815f8c9.entry.js.map → p-72c117b6.entry.js.map} +0 -0
- /package/dist/core/{p-7dfe0284.entry.js.map → p-788c96ac.entry.js.map} +0 -0
- /package/dist/core/{p-fe833509.entry.js.map → p-7fb79e87.entry.js.map} +0 -0
- /package/dist/core/{p-6de6b6b7.entry.js.map → p-83764268.entry.js.map} +0 -0
- /package/dist/core/{p-4b601e06.entry.js.map → p-8b5022bc.entry.js.map} +0 -0
- /package/dist/core/{p-1e4cdd2d.entry.js.map → p-8c4f7c63.entry.js.map} +0 -0
- /package/dist/core/{p-5e18b899.entry.js.map → p-910f5f14.entry.js.map} +0 -0
- /package/dist/core/{p-7afc71d0.entry.js.map → p-9479f272.entry.js.map} +0 -0
- /package/dist/core/{p-acebb05c.entry.js.map → p-9c47521d.entry.js.map} +0 -0
- /package/dist/core/{p-40f2f58e.entry.js.map → p-9ca147f3.entry.js.map} +0 -0
- /package/dist/core/{p-e56d0db2.entry.js.map → p-9cfc2bac.entry.js.map} +0 -0
- /package/dist/core/{p-abaea607.entry.js.map → p-a0161990.entry.js.map} +0 -0
- /package/dist/core/{p-c2ca6274.entry.js.map → p-a4f9b5bf.entry.js.map} +0 -0
- /package/dist/core/{p-005cd8a8.entry.js.map → p-aad10013.entry.js.map} +0 -0
- /package/dist/core/{p-3675c4b4.entry.js.map → p-b8da5c07.entry.js.map} +0 -0
- /package/dist/core/{p-de43d375.entry.js.map → p-b9459ba2.entry.js.map} +0 -0
- /package/dist/core/{p-f34eee68.entry.js.map → p-bc2ca778.entry.js.map} +0 -0
- /package/dist/core/{p-7c0914e7.entry.js.map → p-bdc72446.entry.js.map} +0 -0
- /package/dist/core/{p-a9c96e3e.entry.js.map → p-c45023b7.entry.js.map} +0 -0
- /package/dist/core/{p-5206a978.entry.js.map → p-c8cf1ad5.entry.js.map} +0 -0
- /package/dist/core/{p-23d059ff.entry.js.map → p-d45d66c0.entry.js.map} +0 -0
- /package/dist/core/{p-9ea9a4ce.entry.js.map → p-d6c50565.entry.js.map} +0 -0
- /package/dist/core/{p-3132270d.entry.js.map → p-dede4974.entry.js.map} +0 -0
- /package/dist/core/{p-23ed8b99.entry.js.map → p-df88ff5b.entry.js.map} +0 -0
- /package/dist/core/{p-c04f36c5.entry.js.map → p-e86a6d2d.entry.js.map} +0 -0
- /package/dist/core/{p-7a0d238b.entry.js.map → p-ebab7a9e.entry.js.map} +0 -0
- /package/dist/core/{p-517d7afb.entry.js.map → p-eeab3a2e.entry.js.map} +0 -0
- /package/dist/core/{p-44e4e8c1.entry.js.map → p-ef36181d.entry.js.map} +0 -0
- /package/dist/core/{p-fc50d582.entry.js.map → p-f0388d68.entry.js.map} +0 -0
- /package/dist/core/{p-e2f893f0.entry.js.map → p-fbf57f0a.entry.js.map} +0 -0
@@ -6,7 +6,6 @@ let inputIds = 0;
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
7
7
|
export class SearchBar {
|
8
8
|
constructor() {
|
9
|
-
this.assistiveHintEl = null;
|
10
9
|
this.hasTimedOut = false;
|
11
10
|
this.inputId = `ic-search-bar-input-${inputIds++}`;
|
12
11
|
this.menuCloseFromMenuChangeEvent = false;
|
@@ -15,6 +14,7 @@ export class SearchBar {
|
|
15
14
|
this.preventSubmit = false;
|
16
15
|
this.prevNoOption = false;
|
17
16
|
this.retryButtonClick = false;
|
17
|
+
this.retryViaKeyPress = false;
|
18
18
|
this.truncateValue = false;
|
19
19
|
this.clearButtonFocused = false;
|
20
20
|
this.open = false;
|
@@ -158,46 +158,57 @@ export class SearchBar {
|
|
158
158
|
this.preventSubmit = true;
|
159
159
|
}
|
160
160
|
};
|
161
|
-
this.onInput = (
|
162
|
-
this.value =
|
161
|
+
this.onInput = ({ target }) => {
|
162
|
+
this.value = target.value;
|
163
163
|
this.icInput.emit({ value: this.value });
|
164
|
-
const noOptions = [
|
165
|
-
{ [this.labelField]: this.emptyOptionListText, [this.valueField]: "" },
|
166
|
-
];
|
167
164
|
if (this.options.length > 0) {
|
168
165
|
this.setMenuChange(true);
|
169
166
|
this.preLoad = false;
|
170
167
|
if (this.disableAutoFiltering === false) {
|
171
168
|
const rawFilteredOptions = getFilteredMenuOptions(this.options, false, this.value, "anywhere", this.labelField);
|
172
169
|
this.filteredOptions =
|
173
|
-
rawFilteredOptions.length > 0
|
170
|
+
rawFilteredOptions.length > 0
|
171
|
+
? rawFilteredOptions
|
172
|
+
: [
|
173
|
+
{
|
174
|
+
[this.labelField]: this.emptyOptionListText,
|
175
|
+
[this.valueField]: "",
|
176
|
+
},
|
177
|
+
];
|
174
178
|
}
|
175
179
|
}
|
176
|
-
if (!this.showClearButton)
|
177
|
-
this.
|
178
|
-
}
|
180
|
+
if (!this.showClearButton)
|
181
|
+
this.showClearButton = true;
|
179
182
|
this.debounceAriaLiveUpdate();
|
180
183
|
};
|
181
|
-
this.onInputBlur = (
|
182
|
-
|
183
|
-
|
184
|
-
|
184
|
+
this.onInputBlur = ({ target, relatedTarget }) => {
|
185
|
+
this.icSearchBarBlur.emit({
|
186
|
+
value: target.value,
|
187
|
+
relatedTarget,
|
188
|
+
});
|
185
189
|
};
|
186
|
-
this.onInputFocus = (
|
187
|
-
|
188
|
-
this.
|
189
|
-
this.handleShowClearButton(true);
|
190
|
+
this.onInputFocus = ({ target }) => {
|
191
|
+
this.icSearchBarFocus.emit({ value: target.value });
|
192
|
+
this.showClearButton = true;
|
190
193
|
};
|
191
|
-
this.handleClearBlur = (
|
192
|
-
|
193
|
-
this.icClearBlur.emit({ relatedTarget: nextFocus });
|
194
|
+
this.handleClearBlur = ({ relatedTarget }) => {
|
195
|
+
this.icClearBlur.emit({ relatedTarget });
|
194
196
|
this.clearButtonFocused = false;
|
195
197
|
};
|
196
|
-
this.handleSubmitSearchBlur = (
|
197
|
-
|
198
|
-
this.icSubmitSearchBlur.emit({ relatedTarget: nextFocus });
|
198
|
+
this.handleSubmitSearchBlur = ({ relatedTarget }) => {
|
199
|
+
this.icSubmitSearchBlur.emit({ relatedTarget });
|
199
200
|
this.searchSubmitFocused = false;
|
200
201
|
};
|
202
|
+
this.setInputValue = (newValue) => {
|
203
|
+
if (this.inputEl) {
|
204
|
+
const label = getLabelFromValue(newValue, this.options, this.valueField, this.labelField);
|
205
|
+
if (label)
|
206
|
+
this.inputEl.value = label;
|
207
|
+
else if (this.inputEl.value !== newValue) {
|
208
|
+
this.inputEl.value = newValue;
|
209
|
+
}
|
210
|
+
}
|
211
|
+
};
|
201
212
|
this.handleMouseDown = (ev) => {
|
202
213
|
ev.preventDefault();
|
203
214
|
};
|
@@ -205,7 +216,8 @@ export class SearchBar {
|
|
205
216
|
this.searchSubmitFocused = true;
|
206
217
|
};
|
207
218
|
this.handleSubmitSearch = () => {
|
208
|
-
|
219
|
+
if (this.highlightedValue)
|
220
|
+
this.value = this.highlightedValue;
|
209
221
|
this.highlightedValue = undefined;
|
210
222
|
this.icSubmitSearch.emit({ value: this.value });
|
211
223
|
const form = this.el.closest("FORM");
|
@@ -256,15 +268,10 @@ export class SearchBar {
|
|
256
268
|
this.icOptionSelect.emit({ value: this.value });
|
257
269
|
};
|
258
270
|
this.handleMenuOptionHighlight = (ev) => {
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
this.ariaActiveDescendant = ev.detail.optionId;
|
264
|
-
}
|
265
|
-
else {
|
266
|
-
this.ariaActiveDescendant = "";
|
267
|
-
}
|
271
|
+
const { optionId } = ev.detail;
|
272
|
+
if (optionId)
|
273
|
+
this.highlightedValue = optionId.replace(`${this.menuId}-`, "");
|
274
|
+
this.ariaActiveDescendant = optionId || "";
|
268
275
|
};
|
269
276
|
this.handleMenuChange = (ev) => {
|
270
277
|
this.setMenuChange(ev.detail.open);
|
@@ -282,15 +289,14 @@ export class SearchBar {
|
|
282
289
|
if (this.options && this.value && !this.menuCloseFromMenuChangeEvent) {
|
283
290
|
this.setMenuChange(true);
|
284
291
|
}
|
285
|
-
this.
|
292
|
+
this.truncateValue = false;
|
286
293
|
this.icSearchBarFocus.emit();
|
287
294
|
};
|
288
|
-
this.handleHostBlur = (
|
295
|
+
this.handleHostBlur = ({ relatedTarget }) => {
|
289
296
|
var _a;
|
290
|
-
const nextFocus = ev.relatedTarget;
|
291
297
|
if (this.open &&
|
292
298
|
this.options &&
|
293
|
-
|
299
|
+
relatedTarget !== this.menu &&
|
294
300
|
!this.retryViaKeyPress &&
|
295
301
|
!this.retryButtonClick) {
|
296
302
|
this.setMenuChange(false);
|
@@ -298,35 +304,30 @@ export class SearchBar {
|
|
298
304
|
if (this.retryButtonClick || this.retryViaKeyPress) {
|
299
305
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
|
300
306
|
}
|
301
|
-
this.
|
307
|
+
this.showClearButton = false;
|
302
308
|
this.menuCloseFromMenuChangeEvent = false;
|
303
|
-
this.
|
304
|
-
this.icSearchBarBlur.emit({
|
309
|
+
this.truncateValue = true;
|
310
|
+
this.icSearchBarBlur.emit({
|
311
|
+
relatedTarget,
|
312
|
+
value: this.value,
|
313
|
+
});
|
305
314
|
this.retryViaKeyPress = false;
|
306
315
|
this.retryButtonClick = false;
|
307
316
|
};
|
308
|
-
this.handleShowClearButton = (visible) => {
|
309
|
-
this.showClearButton = visible;
|
310
|
-
};
|
311
317
|
this.handleFocusClearButton = () => {
|
312
318
|
this.clearButtonFocused = true;
|
313
319
|
};
|
314
|
-
this.handleTruncateValue = (truncate) => {
|
315
|
-
this.truncateValue = truncate;
|
316
|
-
};
|
317
320
|
this.renderAssistiveHintEl = () => {
|
318
|
-
var _a;
|
321
|
+
var _a, _b;
|
319
322
|
const input = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(`#${this.inputId}`);
|
320
323
|
if (input &&
|
321
324
|
Object.keys(input).length > 0 &&
|
322
325
|
this.hasOptionsOrFilterDisabled()) {
|
323
326
|
this.assistiveHintEl = document.createElement("span");
|
324
|
-
this.assistiveHintEl.innerText = this.assistiveHintText
|
327
|
+
this.assistiveHintEl.innerText = this.assistiveHintText;
|
325
328
|
this.assistiveHintEl.id = `${this.inputId}-assistive-hint`;
|
326
329
|
this.assistiveHintEl.style.display = "none";
|
327
|
-
|
328
|
-
input.after(this.assistiveHintEl);
|
329
|
-
}
|
330
|
+
(_b = input.after) === null || _b === void 0 ? void 0 : _b.call(input, this.assistiveHintEl);
|
330
331
|
}
|
331
332
|
};
|
332
333
|
this.updateSearchResultAriaLive = () => {
|
@@ -342,41 +343,22 @@ export class SearchBar {
|
|
342
343
|
this.filteredOptions.length > 0 &&
|
343
344
|
this.open &&
|
344
345
|
!this.filteredOptions[0].loading) {
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
else {
|
349
|
-
searchResultsStatusEl.innerText = `${this.filteredOptions.length} result${this.filteredOptions.length > 1 ? "s" : ""} available`;
|
350
|
-
}
|
346
|
+
searchResultsStatusEl.innerText = this.hadNoOptions()
|
347
|
+
? this.emptyOptionListText
|
348
|
+
: `${this.filteredOptions.length} result${this.filteredOptions.length > 1 ? "s" : ""} available`;
|
351
349
|
}
|
352
350
|
}
|
353
351
|
};
|
354
|
-
this.hasOptionsOrFilterDisabled = () => this.options.length > 0 ||
|
352
|
+
this.hasOptionsOrFilterDisabled = () => this.options.length > 0 || this.disableAutoFiltering;
|
355
353
|
this.hadNoOptions = () => this.filteredOptions.length === 1 &&
|
356
354
|
this.filteredOptions[0][this.labelField] === this.emptyOptionListText &&
|
357
355
|
this.searchMode === "navigation";
|
358
|
-
this.isSubmitDisabled = () =>
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
this.hadNoOptions() ||
|
365
|
-
this.hasTimedOut ||
|
366
|
-
!!this.loading);
|
367
|
-
};
|
368
|
-
this.highlightFirstOptionAfterNoResults = () => {
|
369
|
-
if (this.prevNoOption && this.menu && !this.hasTimedOut) {
|
370
|
-
this.menu.handleSetFirstOption();
|
371
|
-
this.prevNoOption = false;
|
372
|
-
}
|
373
|
-
const prevNoOptionsList = this.filteredOptions.find((filteredOption) => filteredOption[this.labelField] === this.emptyOptionListText ||
|
374
|
-
filteredOption[this.labelField] === this.loadingErrorLabel ||
|
375
|
-
filteredOption[this.labelField] === this.loadingLabel);
|
376
|
-
if (prevNoOptionsList) {
|
377
|
-
this.prevNoOption = true;
|
378
|
-
}
|
379
|
-
};
|
356
|
+
this.isSubmitDisabled = () => !this.value ||
|
357
|
+
this.value.length < this.charactersUntilSuggestion ||
|
358
|
+
this.disabled ||
|
359
|
+
this.hadNoOptions() ||
|
360
|
+
this.hasTimedOut ||
|
361
|
+
this.loading;
|
380
362
|
}
|
381
363
|
watchDisabledHandler() {
|
382
364
|
removeDisabledFalse(this.disabled, this.el);
|
@@ -405,40 +387,32 @@ export class SearchBar {
|
|
405
387
|
return;
|
406
388
|
}
|
407
389
|
this.setMenuChange(true);
|
408
|
-
!this.preLoad
|
409
|
-
|
390
|
+
if (!this.preLoad) {
|
391
|
+
this.filteredOptions = [
|
410
392
|
{
|
411
393
|
[this.labelField]: this.emptyOptionListText,
|
412
394
|
[this.valueField]: "",
|
413
395
|
},
|
414
|
-
]
|
396
|
+
];
|
397
|
+
}
|
415
398
|
this.preLoad = true;
|
416
399
|
}
|
417
400
|
}
|
418
401
|
this.debounceAriaLiveUpdate();
|
419
402
|
}
|
420
403
|
watchValueHandler(newValue) {
|
421
|
-
|
422
|
-
this.options &&
|
423
|
-
!!getLabelFromValue(newValue, this.options, this.valueField, this.labelField)) {
|
424
|
-
this.inputEl.value =
|
425
|
-
getLabelFromValue(newValue, this.options, this.valueField, this.labelField) || "";
|
426
|
-
}
|
427
|
-
else if (this.inputEl && this.inputEl.value !== newValue) {
|
428
|
-
this.inputEl.value = newValue;
|
429
|
-
}
|
404
|
+
this.setInputValue(newValue);
|
430
405
|
this.icChange.emit({ value: newValue });
|
431
406
|
}
|
432
407
|
connectedCallback() {
|
433
408
|
this.debounceChanged();
|
434
409
|
}
|
435
410
|
disconnectedCallback() {
|
436
|
-
|
437
|
-
|
438
|
-
}
|
411
|
+
var _a;
|
412
|
+
(_a = this.assistiveHintEl) === null || _a === void 0 ? void 0 : _a.remove();
|
439
413
|
}
|
440
414
|
componentWillLoad() {
|
441
|
-
this.
|
415
|
+
this.setInputValue(this.value);
|
442
416
|
removeDisabledFalse(this.disabled, this.el);
|
443
417
|
}
|
444
418
|
componentDidLoad() {
|
@@ -454,7 +428,15 @@ export class SearchBar {
|
|
454
428
|
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Search Bar");
|
455
429
|
}
|
456
430
|
componentWillRender() {
|
457
|
-
this.
|
431
|
+
if (this.prevNoOption && this.menu && !this.hasTimedOut) {
|
432
|
+
this.menu.handleSetFirstOption();
|
433
|
+
this.prevNoOption = false;
|
434
|
+
}
|
435
|
+
if (this.filteredOptions.find((filteredOption) => filteredOption[this.labelField] === this.emptyOptionListText ||
|
436
|
+
filteredOption[this.labelField] === this.loadingErrorLabel ||
|
437
|
+
filteredOption[this.labelField] === this.loadingLabel)) {
|
438
|
+
this.prevNoOption = true;
|
439
|
+
}
|
458
440
|
}
|
459
441
|
handleKeyDown(event) {
|
460
442
|
this.icKeydown.emit({ event });
|
@@ -493,62 +475,57 @@ export class SearchBar {
|
|
493
475
|
}, 500);
|
494
476
|
}
|
495
477
|
render() {
|
496
|
-
const { inputId, name, label, required, size, placeholder, helperText, disabled, value, readonly, spellcheck, fullWidth, options, open, hideLabel, menuId, ariaActiveDescendant, truncateValue, autofocus, autocapitalize, autocomplete, filteredOptions, theme, } = this;
|
478
|
+
const { inputId, name, label, required, size, placeholder, helperText, disabled, value, readonly, spellcheck, fullWidth, options, open, hideLabel, menuId, ariaActiveDescendant, truncateValue, autofocus, autocapitalize, autocomplete, filteredOptions, theme, charactersUntilSuggestion, labelField, valueField, loadingLabel, loadingErrorLabel, searchMode, showClearButton, searchSubmitFocused, clearButtonFocused, } = this;
|
497
479
|
const disabledMode = readonly || disabled;
|
498
480
|
const describedBy = getInputDescribedByText(inputId, helperText !== "", false).trim();
|
499
|
-
let describedById;
|
481
|
+
let describedById = undefined;
|
500
482
|
if (describedBy !== "" && this.hasOptionsOrFilterDisabled()) {
|
501
|
-
describedById = `${describedBy} ${
|
483
|
+
describedById = `${describedBy} ${inputId}-assistive-hint`;
|
502
484
|
}
|
503
485
|
else if (this.hasOptionsOrFilterDisabled()) {
|
504
|
-
describedById = `${
|
486
|
+
describedById = `${inputId}-assistive-hint`;
|
505
487
|
}
|
506
488
|
else if (describedBy !== "") {
|
507
489
|
describedById = describedBy;
|
508
490
|
}
|
509
|
-
else {
|
510
|
-
describedById = undefined;
|
511
|
-
}
|
512
491
|
const hasSuggestedSearch = !!value && this.hasOptionsOrFilterDisabled();
|
513
492
|
const menuOpen = hasSuggestedSearch && open && filteredOptions.length > 0;
|
514
|
-
const menuRendered = menuOpen && value.length >=
|
515
|
-
const labelValue = getLabelFromValue(value, options,
|
516
|
-
renderHiddenInput(
|
517
|
-
return (h(Host, { key: '
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
493
|
+
const menuRendered = menuOpen && value.length >= charactersUntilSuggestion;
|
494
|
+
const labelValue = getLabelFromValue(value, options, valueField, labelField);
|
495
|
+
renderHiddenInput(this.el, value, name, disabledMode);
|
496
|
+
return (h(Host, { key: '5120b79da9d0840d87421287913f49cda06da4f3', class: {
|
497
|
+
"ic-search-bar-search": true,
|
498
|
+
"ic-search-bar-full-width": fullWidth,
|
499
|
+
"ic-search-bar-disabled": disabled,
|
500
|
+
"ic-search-bar-small": size === "small",
|
522
501
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
523
|
-
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, h("ic-input-container", { key: '
|
524
|
-
"no-left-pad":
|
525
|
-
readonly
|
502
|
+
}, onFocus: this.handleHostFocus, onBlur: this.handleHostBlur }, h("ic-input-container", { key: '246484c51e7169a8f9944b66499126ea3d86921a', readonly: readonly, disabled: disabledMode }, !hideLabel && (h("ic-input-label", { key: '043651daee6abf565a44ad6c1c090e8d6dd85f8a', for: inputId, label: label, helperText: helperText, required: required, disabled: disabledMode && !readonly, readonly: readonly })), h("ic-input-component-container", { key: '880ab5440ec935340d56dd69e64e467879f3bbc5', ref: (el) => (this.anchorEl = el), size: size, disabled: disabledMode, readonly: readonly, fullWidth: fullWidth }, h("input", { key: '37ece1e8c9f5ab12f2f3a303544c882192a07107', id: inputId, name: name, ref: (el) => (this.inputEl = el), value: options && !!labelValue ? labelValue : value, class: {
|
503
|
+
"no-left-pad": readonly,
|
504
|
+
readonly,
|
526
505
|
"truncate-value": truncateValue,
|
527
|
-
}, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": label, "aria-activedescendant": ariaActiveDescendant, "aria-expanded": options.length > 0 && menuRendered ? `${menuOpen}` : undefined, "aria-owns": menuRendered ? menuId : undefined, "aria-describedby": describedById, "aria-controls": menuRendered ? menuId : undefined, "aria-haspopup": options.length > 0 ? "listbox" : undefined, "aria-autocomplete": hasSuggestedSearch ? "list" : undefined, role: options.length > 0 && menuRendered ? "combobox" : undefined, autocomplete: autocomplete, autocapitalize: autocapitalize, autoFocus: autofocus, spellcheck: spellcheck, inputmode: "search" }), h("div", { key: '
|
506
|
+
}, placeholder: placeholder, required: required, disabled: disabledMode, readonly: readonly, onInput: this.onInput, onBlur: this.onInputBlur, onFocus: this.onInputFocus, "aria-label": label, "aria-activedescendant": ariaActiveDescendant, "aria-expanded": options.length > 0 && menuRendered ? `${menuOpen}` : undefined, "aria-owns": menuRendered ? menuId : undefined, "aria-describedby": describedById, "aria-controls": menuRendered ? menuId : undefined, "aria-haspopup": options.length > 0 ? "listbox" : undefined, "aria-autocomplete": hasSuggestedSearch ? "list" : undefined, role: options.length > 0 && menuRendered ? "combobox" : undefined, autocomplete: autocomplete, autocapitalize: autocapitalize, autoFocus: autofocus, spellcheck: spellcheck, inputmode: "search" }), h("div", { key: '4498fbe2293958c1ae6f6ddfeab15b2ff29ca2a8', class: {
|
528
507
|
"clear-button-container": true,
|
529
|
-
"clear-button-visible": !!value && !disabledMode &&
|
530
|
-
} }, h("ic-button", { key: '
|
508
|
+
"clear-button-visible": !!value && !disabledMode && showClearButton,
|
509
|
+
} }, h("ic-button", { key: '561c5cbe830f34bc80967e0899f2dc8526c1c4f7', id: "clear-button", class: {
|
531
510
|
"clear-button": true,
|
532
|
-
"clear-button-unfocused": !
|
533
|
-
}, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "submit", variant: "icon", theme:
|
511
|
+
"clear-button-unfocused": !clearButtonFocused,
|
512
|
+
}, "aria-label": "Clear", innerHTML: clearIcon, onClick: this.handleClear, onMouseDown: this.handleMouseDown, size: size, onFocus: this.handleFocusClearButton, onBlur: this.handleClearBlur, onKeyDown: this.handleClear, type: "submit", variant: "icon", theme: clearButtonFocused ? "light" : "dark" }), h("div", { key: '9c783d276ad0a931e538a79ce303ad060db1fa1b', class: "divider" })), h("div", { key: '5babcd978eb8263ca710b32ead6926c95f558838', class: {
|
534
513
|
"search-submit-button-container": true,
|
535
514
|
"search-submit-button-disabled": this.isSubmitDisabled(),
|
536
|
-
} }, h("ic-button", { key: '
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
}, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: "submit", variant: "icon", theme:
|
515
|
+
} }, h("ic-button", { key: '785dbe4deb7549662d263f74b75c759b932399fb', id: "search-submit-button", "aria-label": "Search", ref: (el) => (this.searchSubmitButton = el), class: {
|
516
|
+
"search-submit-button": true,
|
517
|
+
"search-submit-button-small": size === "small",
|
518
|
+
"search-submit-button-unfocused": !searchSubmitFocused,
|
519
|
+
"search-submit-button-disabled": this.isSubmitDisabled(),
|
520
|
+
}, disabled: this.isSubmitDisabled(), innerHTML: searchIcon, size: size, onClick: this.handleSubmitSearch, onMouseDown: this.handleMouseDown, onBlur: this.handleSubmitSearchBlur, onFocus: this.handleSubmitSearchFocus, onKeyDown: this.handleSubmitSearchKeyDown, type: "submit", variant: "icon", theme: searchSubmitFocused ? "light" : "dark" }))), h("div", { key: '78297ce56515a4f1f50a8108949a20837c87828f', class: {
|
542
521
|
"menu-container": true,
|
543
|
-
fullwidth:
|
544
|
-
} }, menuRendered && (h("ic-menu", { key: '
|
522
|
+
fullwidth: fullWidth,
|
523
|
+
} }, menuRendered && this.anchorEl && this.inputEl && (h("ic-menu", { key: 'd527adddfc250b1f0fe605cbaec5f08ea1e25c04', class: {
|
545
524
|
"no-results": this.hadNoOptions() ||
|
546
525
|
(filteredOptions.length === 1 &&
|
547
|
-
(filteredOptions[0][
|
548
|
-
|
549
|
-
|
550
|
-
this.loadingErrorLabel)),
|
551
|
-
}, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: this.searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), fullWidth: fullWidth, menuId: menuId, open: !!menuRendered, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: this.labelField, valueField: this.valueField })))), h("div", { key: '9844297f2d4ed1dd4e168685da928b44eeeb4698', "aria-live": "polite", role: "status", class: "search-results-status" })));
|
526
|
+
(filteredOptions[0][labelField] === loadingLabel ||
|
527
|
+
filteredOptions[0][labelField] === loadingErrorLabel)),
|
528
|
+
}, activationType: "manual", anchorEl: this.anchorEl, autofocusOnSelected: false, searchMode: searchMode, inputEl: this.inputEl, inputLabel: label, ref: (el) => (this.menu = el), fullWidth: fullWidth, menuId: menuId, open: true, options: filteredOptions, onMenuOptionSelect: this.handleOptionSelect, onMenuStateChange: this.handleMenuChange, onMenuOptionId: this.handleMenuOptionHighlight, onRetryButtonClicked: this.handleRetry, parentEl: this.el, value: value, labelField: labelField, valueField: valueField })))), h("div", { key: '716cd74ed9726cd134772aba2b98e374face0753', "aria-live": "polite", role: "status", class: "search-results-status" })));
|
552
529
|
}
|
553
530
|
static get is() { return "ic-search-bar"; }
|
554
531
|
static get encapsulation() { return "shadow"; }
|
@@ -569,8 +546,8 @@ export class SearchBar {
|
|
569
546
|
"type": "string",
|
570
547
|
"mutable": false,
|
571
548
|
"complexType": {
|
572
|
-
"original": "string
|
573
|
-
"resolved": "string
|
549
|
+
"original": "string",
|
550
|
+
"resolved": "string",
|
574
551
|
"references": {}
|
575
552
|
},
|
576
553
|
"required": false,
|
@@ -590,7 +567,7 @@ export class SearchBar {
|
|
590
567
|
"mutable": false,
|
591
568
|
"complexType": {
|
592
569
|
"original": "IcAutocompleteTypes",
|
593
|
-
"resolved": "
|
570
|
+
"resolved": "\"on\" | \"off\" | \"name\" | \"honorific-prefix\" | \"given-name\" | \"additional-name\" | \"family-name\" | \"honorific-suffix\" | \"nickname\" | \"email\" | \"username\" | \"new-password\" | \"current-password\" | \"one-time-code\" | \"organization-title\" | \"organization\" | \"street-address\" | \"address-line1\" | \"address-line2\" | \"address-line3\" | \"address-level4\" | \"address-level3\" | \"address-level2\" | \"address-level1\" | \"country\" | \"country-name\" | \"postal-code\" | \"cc-name\" | \"cc-given-name\" | \"cc-additional-name\" | \"cc-family-name\" | \"cc-number\" | \"cc-exp\" | \"cc-exp-month\" | \"cc-exp-year\" | \"cc-csc\" | \"cc-type\" | \"transaction-currency\" | \"transaction-amount\" | \"language\" | \"bday\" | \"bday-day\" | \"bday-month\" | \"bday-year\" | \"sex\" | \"tel\" | \"tel-country-code\" | \"tel-national\" | \"tel-area-code\" | \"tel-local\" | \"tel-extension\" | \"impp\" | \"url\" | \"photo\"",
|
594
571
|
"references": {
|
595
572
|
"IcAutocompleteTypes": {
|
596
573
|
"location": "import",
|
@@ -600,7 +577,7 @@ export class SearchBar {
|
|
600
577
|
}
|
601
578
|
},
|
602
579
|
"required": false,
|
603
|
-
"optional":
|
580
|
+
"optional": false,
|
604
581
|
"docs": {
|
605
582
|
"tags": [],
|
606
583
|
"text": "The state of autocompletion the browser can apply on the text value."
|
@@ -616,7 +593,7 @@ export class SearchBar {
|
|
616
593
|
"mutable": false,
|
617
594
|
"complexType": {
|
618
595
|
"original": "IcAutocorrectStates",
|
619
|
-
"resolved": "\"off\" | \"on\"
|
596
|
+
"resolved": "\"off\" | \"on\"",
|
620
597
|
"references": {
|
621
598
|
"IcAutocorrectStates": {
|
622
599
|
"location": "import",
|
@@ -626,7 +603,7 @@ export class SearchBar {
|
|
626
603
|
}
|
627
604
|
},
|
628
605
|
"required": false,
|
629
|
-
"optional":
|
606
|
+
"optional": false,
|
630
607
|
"docs": {
|
631
608
|
"tags": [],
|
632
609
|
"text": "The state of autocorrection the browser can apply when the user is entering/editing the text value."
|
@@ -641,8 +618,8 @@ export class SearchBar {
|
|
641
618
|
"type": "boolean",
|
642
619
|
"mutable": false,
|
643
620
|
"complexType": {
|
644
|
-
"original": "boolean
|
645
|
-
"resolved": "boolean
|
621
|
+
"original": "boolean",
|
622
|
+
"resolved": "boolean",
|
646
623
|
"references": {}
|
647
624
|
},
|
648
625
|
"required": false,
|
@@ -662,11 +639,11 @@ export class SearchBar {
|
|
662
639
|
"mutable": false,
|
663
640
|
"complexType": {
|
664
641
|
"original": "number",
|
665
|
-
"resolved": "number
|
642
|
+
"resolved": "number",
|
666
643
|
"references": {}
|
667
644
|
},
|
668
645
|
"required": false,
|
669
|
-
"optional":
|
646
|
+
"optional": false,
|
670
647
|
"docs": {
|
671
648
|
"tags": [],
|
672
649
|
"text": "The number of characters until suggestions appear. The submit button will be disabled until the inputted value is equal to or greater than this number."
|
@@ -682,11 +659,11 @@ export class SearchBar {
|
|
682
659
|
"mutable": false,
|
683
660
|
"complexType": {
|
684
661
|
"original": "boolean",
|
685
|
-
"resolved": "boolean
|
662
|
+
"resolved": "boolean",
|
686
663
|
"references": {}
|
687
664
|
},
|
688
665
|
"required": false,
|
689
|
-
"optional":
|
666
|
+
"optional": false,
|
690
667
|
"docs": {
|
691
668
|
"tags": [],
|
692
669
|
"text": "If `true`, the disabled state will be set."
|
@@ -702,11 +679,11 @@ export class SearchBar {
|
|
702
679
|
"mutable": false,
|
703
680
|
"complexType": {
|
704
681
|
"original": "boolean",
|
705
|
-
"resolved": "boolean
|
682
|
+
"resolved": "boolean",
|
706
683
|
"references": {}
|
707
684
|
},
|
708
685
|
"required": false,
|
709
|
-
"optional":
|
686
|
+
"optional": false,
|
710
687
|
"docs": {
|
711
688
|
"tags": [],
|
712
689
|
"text": "Specify whether to disable the built in filtering. For example, if options will already be filtered from external source.\nIf `true`, all options provided will be displayed."
|
@@ -722,11 +699,11 @@ export class SearchBar {
|
|
722
699
|
"mutable": false,
|
723
700
|
"complexType": {
|
724
701
|
"original": "number",
|
725
|
-
"resolved": "number
|
702
|
+
"resolved": "number",
|
726
703
|
"references": {}
|
727
704
|
},
|
728
705
|
"required": false,
|
729
|
-
"optional":
|
706
|
+
"optional": false,
|
730
707
|
"docs": {
|
731
708
|
"tags": [],
|
732
709
|
"text": "The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke."
|
@@ -742,11 +719,11 @@ export class SearchBar {
|
|
742
719
|
"mutable": false,
|
743
720
|
"complexType": {
|
744
721
|
"original": "string",
|
745
|
-
"resolved": "string
|
722
|
+
"resolved": "string",
|
746
723
|
"references": {}
|
747
724
|
},
|
748
725
|
"required": false,
|
749
|
-
"optional":
|
726
|
+
"optional": false,
|
750
727
|
"docs": {
|
751
728
|
"tags": [],
|
752
729
|
"text": "The text displayed when there are no options in the option list."
|
@@ -762,11 +739,11 @@ export class SearchBar {
|
|
762
739
|
"mutable": false,
|
763
740
|
"complexType": {
|
764
741
|
"original": "boolean",
|
765
|
-
"resolved": "boolean
|
742
|
+
"resolved": "boolean",
|
766
743
|
"references": {}
|
767
744
|
},
|
768
745
|
"required": false,
|
769
|
-
"optional":
|
746
|
+
"optional": false,
|
770
747
|
"docs": {
|
771
748
|
"tags": [],
|
772
749
|
"text": "If `true`, the search bar will be focused when component loaded."
|
@@ -782,11 +759,11 @@ export class SearchBar {
|
|
782
759
|
"mutable": false,
|
783
760
|
"complexType": {
|
784
761
|
"original": "boolean",
|
785
|
-
"resolved": "boolean
|
762
|
+
"resolved": "boolean",
|
786
763
|
"references": {}
|
787
764
|
},
|
788
765
|
"required": false,
|
789
|
-
"optional":
|
766
|
+
"optional": false,
|
790
767
|
"docs": {
|
791
768
|
"tags": [],
|
792
769
|
"text": "Specify whether the search bar fills the full width of the container.\nIf `true`, this overrides the --input-width CSS variable."
|
@@ -802,11 +779,11 @@ export class SearchBar {
|
|
802
779
|
"mutable": false,
|
803
780
|
"complexType": {
|
804
781
|
"original": "string",
|
805
|
-
"resolved": "string
|
782
|
+
"resolved": "string",
|
806
783
|
"references": {}
|
807
784
|
},
|
808
785
|
"required": false,
|
809
|
-
"optional":
|
786
|
+
"optional": false,
|
810
787
|
"docs": {
|
811
788
|
"tags": [],
|
812
789
|
"text": "The helper text that will be displayed for additional field guidance."
|
@@ -822,11 +799,11 @@ export class SearchBar {
|
|
822
799
|
"mutable": false,
|
823
800
|
"complexType": {
|
824
801
|
"original": "boolean",
|
825
|
-
"resolved": "boolean
|
802
|
+
"resolved": "boolean",
|
826
803
|
"references": {}
|
827
804
|
},
|
828
805
|
"required": false,
|
829
|
-
"optional":
|
806
|
+
"optional": false,
|
830
807
|
"docs": {
|
831
808
|
"tags": [],
|
832
809
|
"text": "If `true`, the label will be hidden and the required label value will be applied as an aria-label."
|
@@ -842,11 +819,11 @@ export class SearchBar {
|
|
842
819
|
"mutable": false,
|
843
820
|
"complexType": {
|
844
821
|
"original": "string",
|
845
|
-
"resolved": "string
|
822
|
+
"resolved": "string",
|
846
823
|
"references": {}
|
847
824
|
},
|
848
825
|
"required": false,
|
849
|
-
"optional":
|
826
|
+
"optional": false,
|
850
827
|
"docs": {
|
851
828
|
"tags": [],
|
852
829
|
"text": "The hint text for the hidden assistive description element."
|
@@ -881,11 +858,11 @@ export class SearchBar {
|
|
881
858
|
"mutable": false,
|
882
859
|
"complexType": {
|
883
860
|
"original": "string",
|
884
|
-
"resolved": "string
|
861
|
+
"resolved": "string",
|
885
862
|
"references": {}
|
886
863
|
},
|
887
864
|
"required": false,
|
888
|
-
"optional":
|
865
|
+
"optional": false,
|
889
866
|
"docs": {
|
890
867
|
"tags": [],
|
891
868
|
"text": "The custom name for the label field to correspond with the IcMenuOption type."
|
@@ -901,11 +878,11 @@ export class SearchBar {
|
|
901
878
|
"mutable": true,
|
902
879
|
"complexType": {
|
903
880
|
"original": "boolean",
|
904
|
-
"resolved": "boolean
|
881
|
+
"resolved": "boolean",
|
905
882
|
"references": {}
|
906
883
|
},
|
907
884
|
"required": false,
|
908
|
-
"optional":
|
885
|
+
"optional": false,
|
909
886
|
"docs": {
|
910
887
|
"tags": [],
|
911
888
|
"text": "Trigger loading state when fetching options asynchronously"
|
@@ -921,11 +898,11 @@ export class SearchBar {
|
|
921
898
|
"mutable": false,
|
922
899
|
"complexType": {
|
923
900
|
"original": "string",
|
924
|
-
"resolved": "string
|
901
|
+
"resolved": "string",
|
925
902
|
"references": {}
|
926
903
|
},
|
927
904
|
"required": false,
|
928
|
-
"optional":
|
905
|
+
"optional": false,
|
929
906
|
"docs": {
|
930
907
|
"tags": [],
|
931
908
|
"text": "Change the message displayed when external loading times out."
|
@@ -941,11 +918,11 @@ export class SearchBar {
|
|
941
918
|
"mutable": false,
|
942
919
|
"complexType": {
|
943
920
|
"original": "string",
|
944
|
-
"resolved": "string
|
921
|
+
"resolved": "string",
|
945
922
|
"references": {}
|
946
923
|
},
|
947
924
|
"required": false,
|
948
|
-
"optional":
|
925
|
+
"optional": false,
|
949
926
|
"docs": {
|
950
927
|
"tags": [],
|
951
928
|
"text": "Change the message displayed whilst the options are being loaded externally."
|
@@ -961,11 +938,11 @@ export class SearchBar {
|
|
961
938
|
"mutable": false,
|
962
939
|
"complexType": {
|
963
940
|
"original": "string",
|
964
|
-
"resolved": "string
|
941
|
+
"resolved": "string",
|
965
942
|
"references": {}
|
966
943
|
},
|
967
944
|
"required": false,
|
968
|
-
"optional":
|
945
|
+
"optional": false,
|
969
946
|
"docs": {
|
970
947
|
"tags": [],
|
971
948
|
"text": "The name of the control, which is submitted with the form data."
|
@@ -981,11 +958,11 @@ export class SearchBar {
|
|
981
958
|
"mutable": false,
|
982
959
|
"complexType": {
|
983
960
|
"original": "string",
|
984
|
-
"resolved": "string
|
961
|
+
"resolved": "string",
|
985
962
|
"references": {}
|
986
963
|
},
|
987
964
|
"required": false,
|
988
|
-
"optional":
|
965
|
+
"optional": false,
|
989
966
|
"docs": {
|
990
967
|
"tags": [],
|
991
968
|
"text": "The placeholder value to display."
|
@@ -1001,11 +978,11 @@ export class SearchBar {
|
|
1001
978
|
"mutable": false,
|
1002
979
|
"complexType": {
|
1003
980
|
"original": "boolean",
|
1004
|
-
"resolved": "boolean
|
981
|
+
"resolved": "boolean",
|
1005
982
|
"references": {}
|
1006
983
|
},
|
1007
984
|
"required": false,
|
1008
|
-
"optional":
|
985
|
+
"optional": false,
|
1009
986
|
"docs": {
|
1010
987
|
"tags": [],
|
1011
988
|
"text": "If `true`, the readonly state will be set."
|
@@ -1021,11 +998,11 @@ export class SearchBar {
|
|
1021
998
|
"mutable": false,
|
1022
999
|
"complexType": {
|
1023
1000
|
"original": "boolean",
|
1024
|
-
"resolved": "boolean
|
1001
|
+
"resolved": "boolean",
|
1025
1002
|
"references": {}
|
1026
1003
|
},
|
1027
1004
|
"required": false,
|
1028
|
-
"optional":
|
1005
|
+
"optional": false,
|
1029
1006
|
"docs": {
|
1030
1007
|
"tags": [],
|
1031
1008
|
"text": "If `true`, the search bar will require a value."
|
@@ -1041,7 +1018,7 @@ export class SearchBar {
|
|
1041
1018
|
"mutable": false,
|
1042
1019
|
"complexType": {
|
1043
1020
|
"original": "IcSearchBarSearchModes",
|
1044
|
-
"resolved": "\"navigation\" | \"query\"
|
1021
|
+
"resolved": "\"navigation\" | \"query\"",
|
1045
1022
|
"references": {
|
1046
1023
|
"IcSearchBarSearchModes": {
|
1047
1024
|
"location": "import",
|
@@ -1051,7 +1028,7 @@ export class SearchBar {
|
|
1051
1028
|
}
|
1052
1029
|
},
|
1053
1030
|
"required": false,
|
1054
|
-
"optional":
|
1031
|
+
"optional": false,
|
1055
1032
|
"docs": {
|
1056
1033
|
"tags": [],
|
1057
1034
|
"text": "Specify the mode search bar uses to search. `navigation` allows for quick lookups of a set of values, `query` allows for more general searches."
|
@@ -1067,7 +1044,7 @@ export class SearchBar {
|
|
1067
1044
|
"mutable": false,
|
1068
1045
|
"complexType": {
|
1069
1046
|
"original": "IcSizesNoLarge",
|
1070
|
-
"resolved": "\"medium\" | \"small\"
|
1047
|
+
"resolved": "\"medium\" | \"small\"",
|
1071
1048
|
"references": {
|
1072
1049
|
"IcSizesNoLarge": {
|
1073
1050
|
"location": "import",
|
@@ -1077,7 +1054,7 @@ export class SearchBar {
|
|
1077
1054
|
}
|
1078
1055
|
},
|
1079
1056
|
"required": false,
|
1080
|
-
"optional":
|
1057
|
+
"optional": false,
|
1081
1058
|
"docs": {
|
1082
1059
|
"tags": [],
|
1083
1060
|
"text": "The size of the search bar component."
|
@@ -1092,8 +1069,8 @@ export class SearchBar {
|
|
1092
1069
|
"type": "boolean",
|
1093
1070
|
"mutable": false,
|
1094
1071
|
"complexType": {
|
1095
|
-
"original": "boolean
|
1096
|
-
"resolved": "boolean
|
1072
|
+
"original": "boolean",
|
1073
|
+
"resolved": "boolean",
|
1097
1074
|
"references": {}
|
1098
1075
|
},
|
1099
1076
|
"required": false,
|
@@ -1113,7 +1090,7 @@ export class SearchBar {
|
|
1113
1090
|
"mutable": false,
|
1114
1091
|
"complexType": {
|
1115
1092
|
"original": "IcThemeMode",
|
1116
|
-
"resolved": "\"dark\" | \"inherit\" | \"light\"
|
1093
|
+
"resolved": "\"dark\" | \"inherit\" | \"light\"",
|
1117
1094
|
"references": {
|
1118
1095
|
"IcThemeMode": {
|
1119
1096
|
"location": "import",
|
@@ -1123,7 +1100,7 @@ export class SearchBar {
|
|
1123
1100
|
}
|
1124
1101
|
},
|
1125
1102
|
"required": false,
|
1126
|
-
"optional":
|
1103
|
+
"optional": false,
|
1127
1104
|
"docs": {
|
1128
1105
|
"tags": [],
|
1129
1106
|
"text": "Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component."
|
@@ -1158,11 +1135,11 @@ export class SearchBar {
|
|
1158
1135
|
"mutable": false,
|
1159
1136
|
"complexType": {
|
1160
1137
|
"original": "string",
|
1161
|
-
"resolved": "string
|
1138
|
+
"resolved": "string",
|
1162
1139
|
"references": {}
|
1163
1140
|
},
|
1164
1141
|
"required": false,
|
1165
|
-
"optional":
|
1142
|
+
"optional": false,
|
1166
1143
|
"docs": {
|
1167
1144
|
"tags": [],
|
1168
1145
|
"text": "The custom name for the value field to correspond with the IcMenuOption type."
|
@@ -1178,7 +1155,7 @@ export class SearchBar {
|
|
1178
1155
|
"mutable": false,
|
1179
1156
|
"complexType": {
|
1180
1157
|
"original": "IcMenuOption[]",
|
1181
|
-
"resolved": "IcMenuOption[]
|
1158
|
+
"resolved": "IcMenuOption[]",
|
1182
1159
|
"references": {
|
1183
1160
|
"IcMenuOption": {
|
1184
1161
|
"location": "import",
|
@@ -1188,7 +1165,7 @@ export class SearchBar {
|
|
1188
1165
|
}
|
1189
1166
|
},
|
1190
1167
|
"required": false,
|
1191
|
-
"optional":
|
1168
|
+
"optional": false,
|
1192
1169
|
"docs": {
|
1193
1170
|
"tags": [],
|
1194
1171
|
"text": "The suggested search options."
|
@@ -1202,11 +1179,11 @@ export class SearchBar {
|
|
1202
1179
|
"mutable": true,
|
1203
1180
|
"complexType": {
|
1204
1181
|
"original": "string",
|
1205
|
-
"resolved": "string
|
1182
|
+
"resolved": "string",
|
1206
1183
|
"references": {}
|
1207
1184
|
},
|
1208
1185
|
"required": false,
|
1209
|
-
"optional":
|
1186
|
+
"optional": false,
|
1210
1187
|
"docs": {
|
1211
1188
|
"tags": [],
|
1212
1189
|
"text": "The value of the search input."
|