@ukic/canary-web-components 3.0.0-canary.22 → 3.0.0-canary.24
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/clear-icon-547aa9b9.js +10 -0
- package/dist/cjs/clear-icon-547aa9b9.js.map +1 -0
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{date-helpers-6f70dd03.js → date-helpers-d7ee7b45.js} +5 -9
- package/dist/cjs/date-helpers-d7ee7b45.js.map +1 -0
- package/dist/cjs/{helpers-74cf2649.js → helpers-56717660.js} +31 -7
- package/dist/cjs/helpers-56717660.js.map +1 -0
- package/dist/cjs/helpers-da852478.js.map +1 -1
- 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-action-chip.cjs.entry.js +116 -0
- package/dist/cjs/ic-action-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +2 -2
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +4 -4
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +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 +3 -3
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +56 -96
- 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-card-vertical.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox_3.cjs.entry.js +8 -8
- package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +13 -5
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js +3 -3
- package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +4 -4
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-table.cjs.entry.js +43 -56
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-input.cjs.entry.js +26 -18
- package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-picker.cjs.entry.js +13 -13
- package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +2 -2
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.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 +3 -3
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +4 -4
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +5 -5
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +6 -6
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js +224 -0
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-layout-grid-item.cjs.entry.js +70 -0
- package/dist/cjs/ic-layout-grid-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-layout-grid.cjs.entry.js +156 -0
- package/dist/cjs/ic-layout-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-link.cjs.entry.js +2 -2
- 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-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/{ic-input-component-container_3.cjs.entry.js → ic-menu.cjs.entry.js} +5 -96
- package/dist/cjs/ic-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-button.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +18 -18
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +10 -6
- 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-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +5 -5
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +10 -10
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +5 -5
- 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-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +14 -14
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +5 -5
- 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-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +2 -2
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-time-input.cjs.entry.js +943 -0
- package/dist/cjs/ic-time-input.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +5 -5
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- 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-tree-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-tree-view.cjs.entry.js +3 -3
- package/dist/cjs/ic-typography.cjs.entry.js +3 -3
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/index-d337cd8a.js +20 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/clock.svg +1 -0
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/ic-data-table/ic-data-table.js +43 -57
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.stories.js +3 -2
- package/dist/collection/components/ic-data-table/ic-data-table.stories.js.map +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
- package/dist/collection/components/ic-data-table/story-data.js +7 -57
- package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
- package/dist/collection/components/ic-date-input/ic-date-input.js +24 -12
- package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
- package/dist/collection/components/ic-date-picker/ic-date-picker.css +4 -5
- package/dist/collection/components/ic-date-picker/ic-date-picker.js +12 -12
- package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
- package/dist/collection/components/ic-date-picker/ic-date-picker.stories.js +9 -1
- package/dist/collection/components/ic-date-picker/ic-date-picker.stories.js.map +1 -1
- package/dist/collection/components/ic-date-picker/story-data.js +18 -0
- package/dist/collection/components/ic-date-picker/story-data.js.map +1 -1
- package/dist/collection/components/ic-time-input/ic-time-input.css +648 -0
- package/dist/collection/components/ic-time-input/ic-time-input.js +1600 -0
- package/dist/collection/components/ic-time-input/ic-time-input.js.map +1 -0
- package/dist/collection/components/ic-time-input/ic-time-input.stories.js +320 -0
- package/dist/collection/components/ic-time-input/ic-time-input.stories.js.map +1 -0
- package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js +45 -0
- package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js.map +1 -0
- package/dist/collection/components/ic-tree-item/ic-tree-item.js +2 -2
- package/dist/collection/components/ic-tree-view/ic-tree-view.js +3 -3
- package/dist/collection/utils/date-helpers.js +3 -7
- package/dist/collection/utils/date-helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/clear-icon.js +8 -0
- package/dist/components/clear-icon.js.map +1 -0
- package/dist/components/helpers.js +31 -7
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/helpers2.js.map +1 -1
- package/dist/components/ic-action-chip.js +160 -0
- package/dist/components/ic-action-chip.js.map +1 -0
- package/dist/components/ic-alert.js +1 -1
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-back-to-top.js +4 -4
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.js +4 -4
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +3 -3
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +3 -3
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +15 -13
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card-vertical.js +4 -4
- package/dist/components/ic-card-vertical.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +3 -3
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox2.js +6 -6
- package/dist/components/ic-checkbox2.js.map +1 -1
- package/dist/components/ic-chip.js +13 -5
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +2 -2
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/ic-data-list.js +3 -3
- package/dist/components/ic-data-list.js.map +1 -1
- package/dist/components/ic-data-row.js +4 -4
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-data-table.js +43 -56
- package/dist/components/ic-data-table.js.map +1 -1
- package/dist/components/ic-date-input2.js +29 -25
- package/dist/components/ic-date-input2.js.map +1 -1
- package/dist/components/ic-date-picker.js +13 -13
- package/dist/components/ic-date-picker.js.map +1 -1
- package/dist/components/ic-dialog.js +2 -2
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +1 -1
- package/dist/components/ic-empty-state2.js +2 -2
- package/dist/components/ic-empty-state2.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +1 -1
- package/dist/components/ic-footer-link.js +3 -3
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +4 -4
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +5 -5
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +6 -6
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +4 -4
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container2.js +2 -2
- package/dist/components/ic-input-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +3 -3
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +4 -4
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-layout-grid-item.js +95 -0
- package/dist/components/ic-layout-grid-item.js.map +1 -0
- package/dist/components/ic-layout-grid.js +188 -0
- package/dist/components/ic-layout-grid.js.map +1 -0
- package/dist/components/ic-link2.js +1 -1
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +5 -5
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js +2 -2
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu-item2.js +1 -1
- package/dist/components/ic-menu2.js +4 -4
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +3 -3
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +3 -3
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +3 -3
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +5 -5
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +7 -7
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +2 -2
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination2.js +4 -4
- package/dist/components/ic-pagination2.js.map +1 -1
- package/dist/components/ic-popover-menu.js +11 -6
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +5 -5
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +5 -5
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +10 -10
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-section-container2.js.map +1 -1
- package/dist/components/ic-select2.js +7 -7
- package/dist/components/ic-select2.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-skeleton.js.map +1 -1
- package/dist/components/ic-skip-link.js +2 -2
- package/dist/components/ic-skip-link.js.map +1 -1
- package/dist/components/ic-status-tag.js +2 -2
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +14 -14
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +2 -2
- package/dist/components/ic-stepper.js.map +1 -1
- 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-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +2 -2
- package/dist/components/ic-tab-group.js.map +1 -1
- 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-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +7 -7
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +2 -2
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-time-input.d.ts +11 -0
- package/dist/components/ic-time-input.js +1045 -0
- package/dist/components/ic-time-input.js.map +1 -0
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.js +5 -5
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +2 -2
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +2 -2
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-tooltip2.js +39 -79
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +5 -5
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-tree-item.js +2 -2
- package/dist/components/ic-tree-view.js +3 -3
- package/dist/components/ic-typography2.js +2 -2
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/core/core.css +236 -16
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-e253a857.js → p-0f22f41e.js} +2 -2
- package/dist/core/p-0f22f41e.js.map +1 -0
- package/dist/core/{p-0dc0d839.entry.js → p-0fad83d8.entry.js} +2 -2
- package/dist/core/{p-0dc0d839.entry.js.map → p-0fad83d8.entry.js.map} +1 -1
- package/dist/core/{p-42913c5b.entry.js → p-145c0245.entry.js} +2 -2
- package/dist/core/{p-42913c5b.entry.js.map → p-145c0245.entry.js.map} +1 -1
- package/dist/core/{p-15ec796a.entry.js → p-17acca45.entry.js} +2 -2
- package/dist/core/{p-15ec796a.entry.js.map → p-17acca45.entry.js.map} +1 -1
- package/dist/core/p-1a5efa3e.entry.js +2 -0
- package/dist/core/{p-032113b9.entry.js.map → p-1a5efa3e.entry.js.map} +1 -1
- package/dist/core/{p-4b6818d9.entry.js → p-1cc402b8.entry.js} +2 -2
- package/dist/core/{p-4b6818d9.entry.js.map → p-1cc402b8.entry.js.map} +1 -1
- package/dist/core/p-20374e30.entry.js +2 -0
- package/dist/core/{p-8cb5deba.entry.js.map → p-20374e30.entry.js.map} +1 -1
- package/dist/core/{p-fc5661ac.entry.js → p-287e5c17.entry.js} +2 -2
- package/dist/core/{p-fc5661ac.entry.js.map → p-287e5c17.entry.js.map} +1 -1
- package/dist/core/p-2f4f4aea.entry.js +2 -0
- package/dist/core/p-2f4f4aea.entry.js.map +1 -0
- package/dist/core/p-2fe31f66.entry.js +2 -0
- package/dist/core/p-2fe31f66.entry.js.map +1 -0
- package/dist/core/{p-a220535c.entry.js → p-31d6d587.entry.js} +2 -2
- package/dist/core/{p-a220535c.entry.js.map → p-31d6d587.entry.js.map} +1 -1
- package/dist/core/{p-3cf99186.entry.js → p-364cc350.entry.js} +2 -2
- package/dist/core/{p-6e7aaca5.entry.js → p-3f241d71.entry.js} +2 -2
- package/dist/core/{p-6e7aaca5.entry.js.map → p-3f241d71.entry.js.map} +1 -1
- package/dist/core/{p-bbf39a76.entry.js → p-40743d97.entry.js} +2 -2
- package/dist/core/{p-bbf39a76.entry.js.map → p-40743d97.entry.js.map} +1 -1
- package/dist/core/{p-b88585bf.entry.js → p-43285eeb.entry.js} +2 -2
- package/dist/core/{p-b88585bf.entry.js.map → p-43285eeb.entry.js.map} +1 -1
- package/dist/core/{p-9e051db4.entry.js → p-45dd12ee.entry.js} +2 -2
- package/dist/core/{p-9e051db4.entry.js.map → p-45dd12ee.entry.js.map} +1 -1
- package/dist/core/{p-e18ba5d6.entry.js → p-4bddb866.entry.js} +2 -2
- package/dist/core/{p-e18ba5d6.entry.js.map → p-4bddb866.entry.js.map} +1 -1
- package/dist/core/{p-90364cef.entry.js → p-518a8e87.entry.js} +2 -2
- package/dist/core/{p-90364cef.entry.js.map → p-518a8e87.entry.js.map} +1 -1
- package/dist/core/{p-e2103bcc.entry.js → p-51e2de77.entry.js} +2 -2
- package/dist/core/{p-e2103bcc.entry.js.map → p-51e2de77.entry.js.map} +1 -1
- package/dist/core/{p-78635447.entry.js → p-558936fb.entry.js} +2 -2
- package/dist/core/{p-8d908a57.entry.js → p-588a331f.entry.js} +2 -2
- package/dist/core/{p-8d908a57.entry.js.map → p-588a331f.entry.js.map} +1 -1
- package/dist/core/p-59048c2a.entry.js +2 -0
- package/dist/core/p-59048c2a.entry.js.map +1 -0
- package/dist/core/{p-64372a57.entry.js → p-5976d13e.entry.js} +2 -2
- package/dist/core/{p-64372a57.entry.js.map → p-5976d13e.entry.js.map} +1 -1
- package/dist/core/{p-a26a60ff.entry.js → p-5ac30e1f.entry.js} +2 -2
- package/dist/core/{p-a26a60ff.entry.js.map → p-5ac30e1f.entry.js.map} +1 -1
- package/dist/core/p-5c7c7205.entry.js +2 -0
- package/dist/core/p-5c7c7205.entry.js.map +1 -0
- package/dist/core/{p-d281c3cf.entry.js → p-5fbc8e62.entry.js} +2 -2
- package/dist/core/{p-d281c3cf.entry.js.map → p-5fbc8e62.entry.js.map} +1 -1
- package/dist/core/{p-832c7042.entry.js → p-608a8a4d.entry.js} +2 -2
- package/dist/core/p-66ae9eb3.entry.js +2 -0
- package/dist/core/p-66ae9eb3.entry.js.map +1 -0
- package/dist/core/p-6796acff.entry.js +2 -0
- package/dist/core/p-6796acff.entry.js.map +1 -0
- package/dist/core/{p-b1b27b7e.entry.js → p-6e8ef73c.entry.js} +2 -2
- package/dist/core/{p-b1b27b7e.entry.js.map → p-6e8ef73c.entry.js.map} +1 -1
- package/dist/core/p-7d2d067f.entry.js +2 -0
- package/dist/core/p-7d2d067f.entry.js.map +1 -0
- package/dist/core/{p-5d987f8f.entry.js → p-8051e61b.entry.js} +2 -2
- package/dist/core/{p-5d987f8f.entry.js.map → p-8051e61b.entry.js.map} +1 -1
- package/dist/core/{p-f569a91f.entry.js → p-812a0246.entry.js} +2 -2
- package/dist/core/{p-f569a91f.entry.js.map → p-812a0246.entry.js.map} +1 -1
- package/dist/core/p-816aae93.entry.js +2 -0
- package/dist/core/p-816aae93.entry.js.map +1 -0
- package/dist/core/{p-ead0acc3.entry.js → p-8908b8e6.entry.js} +2 -2
- package/dist/core/{p-3448c713.entry.js → p-8b5022bc.entry.js} +2 -2
- package/dist/core/{p-3448c713.entry.js.map → p-8b5022bc.entry.js.map} +1 -1
- package/dist/core/{p-bf93baea.entry.js → p-91646e38.entry.js} +2 -2
- package/dist/core/{p-bf93baea.entry.js.map → p-91646e38.entry.js.map} +1 -1
- package/dist/core/{p-826a6c25.entry.js → p-9863a070.entry.js} +2 -2
- package/dist/core/{p-826a6c25.entry.js.map → p-9863a070.entry.js.map} +1 -1
- package/dist/core/{p-0f86ea09.entry.js → p-999f0a5d.entry.js} +2 -2
- package/dist/core/{p-0f86ea09.entry.js.map → p-999f0a5d.entry.js.map} +1 -1
- package/dist/core/{p-137dd76e.entry.js → p-9fe5e2eb.entry.js} +2 -2
- package/dist/core/{p-137dd76e.entry.js.map → p-9fe5e2eb.entry.js.map} +1 -1
- package/dist/core/p-9fffb01e.entry.js +2 -0
- package/dist/core/p-9fffb01e.entry.js.map +1 -0
- package/dist/core/{p-2d8900bf.entry.js → p-aa94c4b0.entry.js} +2 -2
- package/dist/core/{p-2d8900bf.entry.js.map → p-aa94c4b0.entry.js.map} +1 -1
- package/dist/core/p-ad48c77c.entry.js +2 -0
- package/dist/core/p-ad48c77c.entry.js.map +1 -0
- package/dist/core/p-afece95e.entry.js +2 -0
- package/dist/core/p-afece95e.entry.js.map +1 -0
- package/dist/core/p-b0462734.entry.js +2 -0
- package/dist/core/p-b0462734.entry.js.map +1 -0
- package/dist/core/{p-5237f3ac.entry.js → p-b87e4485.entry.js} +2 -2
- package/dist/core/{p-755bdc43.entry.js → p-b8938f93.entry.js} +2 -2
- package/dist/core/{p-33404c14.entry.js → p-b93e8ecb.entry.js} +2 -2
- package/dist/core/{p-33404c14.entry.js.map → p-b93e8ecb.entry.js.map} +1 -1
- package/dist/core/{p-c86ca475.js → p-bc441e4c.js} +2 -2
- package/dist/core/p-bc441e4c.js.map +1 -0
- package/dist/core/p-bc7d730d.entry.js +2 -0
- package/dist/core/p-bc7d730d.entry.js.map +1 -0
- package/dist/core/{p-94065f7a.entry.js → p-be5df6a9.entry.js} +2 -2
- package/dist/core/{p-94065f7a.entry.js.map → p-be5df6a9.entry.js.map} +1 -1
- package/dist/core/{p-bc974a3e.entry.js → p-c067e62c.entry.js} +2 -2
- package/dist/core/{p-bc974a3e.entry.js.map → p-c067e62c.entry.js.map} +1 -1
- package/dist/core/p-c3fe54ab.entry.js +2 -0
- package/dist/core/{p-1e256460.entry.js.map → p-c3fe54ab.entry.js.map} +1 -1
- package/dist/core/{p-b3509380.entry.js → p-c4bf8742.entry.js} +2 -2
- package/dist/core/{p-2c4bf16f.entry.js → p-cb4522ed.entry.js} +2 -2
- package/dist/core/{p-2c4bf16f.entry.js.map → p-cb4522ed.entry.js.map} +1 -1
- package/dist/core/{p-8397766e.entry.js → p-d13a066e.entry.js} +2 -2
- package/dist/core/{p-8397766e.entry.js.map → p-d13a066e.entry.js.map} +1 -1
- package/dist/core/p-d41b0da0.entry.js +2 -0
- package/dist/core/p-d41b0da0.entry.js.map +1 -0
- package/dist/core/{p-cc36abaa.entry.js → p-d47e200c.entry.js} +2 -2
- package/dist/core/p-dd7450fb.js +2 -0
- package/dist/core/p-dd7450fb.js.map +1 -0
- package/dist/core/{p-6dd73165.entry.js → p-df88ff5b.entry.js} +2 -2
- package/dist/core/{p-6dd73165.entry.js.map → p-df88ff5b.entry.js.map} +1 -1
- package/dist/core/p-e543f2e7.entry.js +2 -0
- package/dist/core/p-e543f2e7.entry.js.map +1 -0
- package/dist/core/{p-c77d6efc.entry.js → p-e7f22a19.entry.js} +2 -2
- package/dist/core/{p-c77d6efc.entry.js.map → p-e7f22a19.entry.js.map} +1 -1
- package/dist/core/p-ea061ccf.entry.js +2 -0
- package/dist/core/p-ea061ccf.entry.js.map +1 -0
- package/dist/core/p-efa95979.js +2 -0
- package/dist/core/p-efa95979.js.map +1 -0
- package/dist/core/{p-b27bc1a1.entry.js → p-efe2fbd7.entry.js} +2 -2
- package/dist/core/{p-b27bc1a1.entry.js.map → p-efe2fbd7.entry.js.map} +1 -1
- package/dist/core/{p-9097a16a.entry.js → p-f3201a0b.entry.js} +2 -2
- package/dist/core/{p-9097a16a.entry.js.map → p-f3201a0b.entry.js.map} +1 -1
- package/dist/core/{p-75901d06.entry.js → p-f517f412.entry.js} +2 -2
- package/dist/core/{p-fb7f4e2e.entry.js → p-f7d746d7.entry.js} +2 -2
- package/dist/core/{p-fb7f4e2e.entry.js.map → p-f7d746d7.entry.js.map} +1 -1
- package/dist/core/p-fb8c47ce.entry.js +2 -0
- package/dist/core/p-fb8c47ce.entry.js.map +1 -0
- package/dist/core/{p-cd8178a9.entry.js → p-fecef807.entry.js} +2 -2
- package/dist/core/{p-cd8178a9.entry.js.map → p-fecef807.entry.js.map} +1 -1
- package/dist/core/p-ffac41d6.entry.js +2 -0
- package/dist/core/p-ffac41d6.entry.js.map +1 -0
- package/dist/esm/clear-icon-1c79bda2.js +8 -0
- package/dist/esm/clear-icon-1c79bda2.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{date-helpers-3b8c39ab.js → date-helpers-2b531c8c.js} +5 -9
- package/dist/esm/date-helpers-2b531c8c.js.map +1 -0
- package/dist/esm/{helpers-d9387cd3.js → helpers-89cb996d.js} +2 -2
- package/dist/esm/helpers-89cb996d.js.map +1 -0
- package/dist/esm/{helpers-574534c9.js → helpers-f3928d01.js} +32 -8
- package/dist/esm/helpers-f3928d01.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-action-chip.entry.js +112 -0
- package/dist/esm/ic-action-chip.entry.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +2 -2
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +4 -4
- package/dist/esm/ic-back-to-top.entry.js.map +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 +3 -3
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +3 -3
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +56 -96
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-horizontal.entry.js +1 -1
- package/dist/esm/ic-card-vertical.entry.js +5 -5
- package/dist/esm/ic-card-vertical.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +3 -3
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox_3.entry.js +9 -9
- package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +13 -5
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +2 -2
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-list.entry.js +3 -3
- package/dist/esm/ic-data-list.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +4 -4
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
- package/dist/esm/ic-data-table.entry.js +44 -57
- package/dist/esm/ic-data-table.entry.js.map +1 -1
- package/dist/esm/ic-date-input.entry.js +27 -19
- package/dist/esm/ic-date-input.entry.js.map +1 -1
- package/dist/esm/ic-date-picker.entry.js +14 -14
- package/dist/esm/ic-date-picker.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +2 -2
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- 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-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +4 -4
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +5 -5
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_4.entry.js +217 -0
- package/dist/esm/ic-input-component-container_4.entry.js.map +1 -0
- package/dist/esm/ic-layout-grid-item.entry.js +66 -0
- package/dist/esm/ic-layout-grid-item.entry.js.map +1 -0
- package/dist/esm/ic-layout-grid.entry.js +152 -0
- package/dist/esm/ic-layout-grid.entry.js.map +1 -0
- package/dist/esm/ic-link.entry.js +2 -2
- 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-group.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/{ic-input-component-container_3.entry.js → ic-menu.entry.js} +7 -96
- package/dist/esm/ic-menu.entry.js.map +1 -0
- package/dist/esm/ic-navigation-button.entry.js +3 -3
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +3 -3
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +3 -3
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +5 -5
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +7 -7
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination_4.entry.js +18 -18
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +10 -6
- 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-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +5 -5
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +10 -10
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +2 -2
- package/dist/esm/ic-section-container.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +5 -5
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +2 -2
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-skip-link.entry.js +2 -2
- package/dist/esm/ic-skip-link.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +3 -3
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +14 -14
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +3 -3
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +5 -5
- 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-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +3 -3
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +2 -2
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +3 -3
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +2 -2
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-time-input.entry.js +939 -0
- package/dist/esm/ic-time-input.entry.js.map +1 -0
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast-region.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +5 -5
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +3 -3
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +3 -3
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- 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-tree-item.entry.js +3 -3
- package/dist/esm/ic-tree-view.entry.js +4 -4
- package/dist/esm/ic-typography.entry.js +3 -3
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/index-a7a720e7.js +20 -4
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +12 -7
- package/dist/types/components/ic-data-table/story-data.d.ts +11 -20
- package/dist/types/components/ic-date-input/ic-date-input.d.ts +2 -1
- package/dist/types/components/ic-date-picker/ic-date-picker.stories.d.ts +8 -0
- package/dist/types/components/ic-date-picker/story-data.d.ts +1 -0
- package/dist/types/components/ic-time-input/ic-time-input.d.ts +229 -0
- package/dist/types/components/ic-time-input/ic-time-input.stories.d.ts +121 -0
- package/dist/types/components/ic-time-input/test/helpers/ic-time-input.d.ts +23 -0
- package/dist/types/components.d.ts +234 -2
- package/dist/types/utils/date-helpers.d.ts +1 -1
- package/dist/types/utils/types.d.ts +5 -0
- package/hydrate/index.js +1828 -476
- package/hydrate/index.mjs +1828 -476
- package/package.json +3 -3
- package/dist/cjs/date-helpers-6f70dd03.js.map +0 -1
- package/dist/cjs/helpers-74cf2649.js.map +0 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +0 -133
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +0 -1
- package/dist/core/p-032113b9.entry.js +0 -2
- package/dist/core/p-0fe08a58.js +0 -2
- package/dist/core/p-0fe08a58.js.map +0 -1
- package/dist/core/p-156fc5f1.entry.js +0 -2
- package/dist/core/p-156fc5f1.entry.js.map +0 -1
- package/dist/core/p-1e256460.entry.js +0 -2
- package/dist/core/p-1ffac8ae.entry.js +0 -2
- package/dist/core/p-1ffac8ae.entry.js.map +0 -1
- package/dist/core/p-224b2e14.entry.js +0 -2
- package/dist/core/p-224b2e14.entry.js.map +0 -1
- package/dist/core/p-2de3287c.entry.js +0 -2
- package/dist/core/p-2de3287c.entry.js.map +0 -1
- package/dist/core/p-497918fd.entry.js +0 -2
- package/dist/core/p-497918fd.entry.js.map +0 -1
- package/dist/core/p-6f72e6ac.entry.js +0 -2
- package/dist/core/p-6f72e6ac.entry.js.map +0 -1
- package/dist/core/p-88c5ec78.entry.js +0 -2
- package/dist/core/p-88c5ec78.entry.js.map +0 -1
- package/dist/core/p-8cb5deba.entry.js +0 -2
- package/dist/core/p-95881758.entry.js +0 -2
- package/dist/core/p-95881758.entry.js.map +0 -1
- package/dist/core/p-97abdbf7.entry.js +0 -2
- package/dist/core/p-97abdbf7.entry.js.map +0 -1
- package/dist/core/p-a54eb1d1.entry.js +0 -2
- package/dist/core/p-a54eb1d1.entry.js.map +0 -1
- package/dist/core/p-c67381b1.entry.js +0 -2
- package/dist/core/p-c67381b1.entry.js.map +0 -1
- package/dist/core/p-c86ca475.js.map +0 -1
- package/dist/core/p-c94e7b0b.entry.js +0 -2
- package/dist/core/p-c94e7b0b.entry.js.map +0 -1
- package/dist/core/p-cdd6d5e8.entry.js +0 -2
- package/dist/core/p-cdd6d5e8.entry.js.map +0 -1
- package/dist/core/p-d04b75cb.entry.js +0 -2
- package/dist/core/p-d04b75cb.entry.js.map +0 -1
- package/dist/core/p-e253a857.js.map +0 -1
- package/dist/esm/date-helpers-3b8c39ab.js.map +0 -1
- package/dist/esm/helpers-574534c9.js.map +0 -1
- package/dist/esm/helpers-d9387cd3.js.map +0 -1
- package/dist/esm/ic-input-component-container_3.entry.js.map +0 -1
- package/dist/esm/ic-input-label_2.entry.js +0 -128
- package/dist/esm/ic-input-label_2.entry.js.map +0 -1
- /package/dist/core/{p-3cf99186.entry.js.map → p-364cc350.entry.js.map} +0 -0
- /package/dist/core/{p-78635447.entry.js.map → p-558936fb.entry.js.map} +0 -0
- /package/dist/core/{p-832c7042.entry.js.map → p-608a8a4d.entry.js.map} +0 -0
- /package/dist/core/{p-ead0acc3.entry.js.map → p-8908b8e6.entry.js.map} +0 -0
- /package/dist/core/{p-5237f3ac.entry.js.map → p-b87e4485.entry.js.map} +0 -0
- /package/dist/core/{p-755bdc43.entry.js.map → p-b8938f93.entry.js.map} +0 -0
- /package/dist/core/{p-b3509380.entry.js.map → p-c4bf8742.entry.js.map} +0 -0
- /package/dist/core/{p-cc36abaa.entry.js.map → p-d47e200c.entry.js.map} +0 -0
- /package/dist/core/{p-75901d06.entry.js.map → p-f517f412.entry.js.map} +0 -0
@@ -0,0 +1,217 @@
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-a7a720e7.js';
|
2
|
+
import { r as removeDisabledFalse, a as renderDynamicChildSlots, s as slotHasContent, S as IcInformationStatus, Y as successIcon, o as onComponentRequiredPropUndefined, Z as getInputHelperTextID, _ as getInputValidationTextID, $ as warningIcon, a0 as errorIcon } from './helpers-f3928d01.js';
|
3
|
+
|
4
|
+
const icInputComponentContainerCss = "ic-input-component-container{display:flex;border:var(--ic-border-width) solid\n var(--border-color, var(--ic-architectural-400));border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-slow);height:2.5rem;min-height:2.5rem;width:var(--input-width, 20rem);padding:var(--ic-space-1px);background-color:var(--input-bg-color, var(--ic-color-background-primary));box-sizing:border-box;fill:var(--ic-architectural-400);outline:none}ic-input-component-container.ic-input-component-container-full-width{width:100%}ic-input-component-container.ic-input-component-container-disabled,ic-input-component-container.ic-input-component-container-disabled:hover{border:var(--ic-border-width) dashed\n var(--border-color-disabled, var(--ic-color-border-neutral-disabled))}ic-input-component-container.ic-input-component-container-readonly,ic-input-component-container.ic-input-component-container-small.ic-input-component-container-readonly,ic-input-component-container.ic-input-component-container-large.ic-input-component-container-readonly{height:auto;background:transparent}ic-input-component-container.ic-input-component-container-readonly,ic-input-component-container.ic-input-component-container-readonly:hover{border:none;padding:0}ic-input-component-container.ic-input-component-container-error{border:var(--ic-space-xxxs) solid\n var(--border-color-error, var(--ic-color-border-error));padding:0}ic-input-component-container.ic-input-component-container-error:hover{border:var(--ic-space-xxxs) solid\n var(--border-color-error-hover, var(--ic-color-border-error-hover))}ic-input-component-container.ic-input-component-container-error:focus-within{border:var(--ic-space-xxxs) solid\n var(--border-color-error-pressed, var(--ic-color-border-error-pressed))}ic-input-component-container.ic-input-component-container-warning{border:var(--ic-space-xxxs) solid\n var(--border-color-warning, var(--ic-color-border-warning));padding:0}ic-input-component-container.ic-input-component-container-warning:hover{border:var(--ic-space-xxxs) solid\n var(--border-color-warning-hover, var(--ic-color-border-warning-hover))}ic-input-component-container.ic-input-component-container-warning:focus-within{border:var(--ic-space-xxxs) solid\n var(--border-color-warning-pressed, var(--ic-color-border-warning-pressed))}ic-input-component-container.ic-input-component-container-success{border:var(--ic-space-xxxs) solid\n var(--border-color-success, var(--ic-color-border-success));padding:0}ic-input-component-container.ic-input-component-container-success:hover{border:var(--ic-space-xxxs) solid\n var(--border-color-success-hover, var(--ic-color-border-success-hover))}ic-input-component-container.ic-input-component-container-success:focus-within{border:var(--ic-space-xxxs) solid\n var(--border-color-success-pressed, var(--ic-color-border-success-pressed))}ic-input-component-container.ic-input-component-container-small{height:var(--ic-space-xl);min-height:var(--ic-space-xl)}ic-input-component-container.ic-input-component-container-large{height:var(--ic-space-xxl);min-height:var(--ic-space-xxl)}ic-input-component-container.ic-input-component-container-multiline{height:auto}ic-input-component-container .icon-container{margin-top:var(--ic-space-xxs);margin-left:0.438rem;display:flex;align-items:center}ic-input-component-container.ic-input-component-container-multiline .icon-container,ic-input-component-container.ic-input-component-container-multiline.ic-input-component-container-small .icon-container{margin-top:0.375rem;display:block}ic-input-component-container.ic-input-component-container-readonly .icon-container{margin-left:-0.313rem}ic-input-component-container.ic-input-component-container-disabled ::-moz-placeholder{display:none}ic-input-component-container.ic-input-component-container-disabled ::placeholder{display:none}ic-input-component-container .inline-success{margin:var(--ic-space-xs) 0.375rem;display:flex;align-items:center}ic-input-component-container .inline-success>svg{fill:var(--ic-input-component-container-success-icon-inline-color);height:1.25rem;width:1.25rem}ic-input-component-container:hover{border:var(--ic-input-component-container-hover-border);border-color:var(--border-color-hover, var(--ic-color-border-neutral-hover));color:var(--ic-action-monochrome-hover-dark)}ic-input-component-container:focus{border:var(--ic-border-pressed);border-color:var(\n --border-color-pressed,\n var(--ic-color-border-neutral-pressed)\n )}.focus-indicator{display:flex;width:100%;margin:-0.125rem;padding:0.125rem;border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast)}.focus-indicator:focus-within,.focus-indicator-enabled{box-shadow:var(--ic-border-focus)}.focus-indicator.ic-input-component-container-dark:focus-within{box-shadow:var(--ic-border-focus)}@media (forced-colors: active){ic-input-component-container,.focus-indicator{transition:none}ic-input-component-container:focus-within{border:var(--ic-border-width) solid Highlight;outline:0.125rem solid Highlight}ic-input-component-container.ic-input-component-container-disabled,ic-input-component-container.ic-input-component-container-disabled:hover{border:var(--ic-border-width) dashed GrayText}}";
|
5
|
+
const IcInputComponentContainerStyle0 = icInputComponentContainerCss;
|
6
|
+
|
7
|
+
const InputComponentContainer = class {
|
8
|
+
constructor(hostRef) {
|
9
|
+
registerInstance(this, hostRef);
|
10
|
+
/**
|
11
|
+
* If `true`, the disabled state will be set.
|
12
|
+
*/
|
13
|
+
this.disabled = false;
|
14
|
+
/**
|
15
|
+
* If `true`, the input component container will fill the width of the container it is in.
|
16
|
+
*/
|
17
|
+
this.fullWidth = false;
|
18
|
+
/**
|
19
|
+
* If `true`, the input component container will allow for multiple lines.
|
20
|
+
*/
|
21
|
+
this.multiLine = false;
|
22
|
+
/**
|
23
|
+
* If `true`, the readonly state will be set.
|
24
|
+
*/
|
25
|
+
this.readonly = false;
|
26
|
+
/**
|
27
|
+
* The size of the input component container component.
|
28
|
+
*/
|
29
|
+
this.size = "medium";
|
30
|
+
/**
|
31
|
+
* If `true`, the validation will display inline.
|
32
|
+
*/
|
33
|
+
this.validationInline = false;
|
34
|
+
/**
|
35
|
+
* The validation status of the input component container - e.g. 'error' | 'warning' | 'success'.
|
36
|
+
*/
|
37
|
+
this.validationStatus = "";
|
38
|
+
}
|
39
|
+
watchDisabledHandler() {
|
40
|
+
removeDisabledFalse(this.disabled, this.el);
|
41
|
+
}
|
42
|
+
componentWillLoad() {
|
43
|
+
removeDisabledFalse(this.disabled, this.el);
|
44
|
+
}
|
45
|
+
componentDidLoad() {
|
46
|
+
this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, "left-icon", this));
|
47
|
+
this.hostMutationObserver.observe(this.el, { childList: true });
|
48
|
+
}
|
49
|
+
render() {
|
50
|
+
const { size, validationStatus, disabled, readonly, multiLine, fullWidth, validationInline, } = this;
|
51
|
+
return (h(Host, { key: 'c33ebfd9dd18101fb9161259538e8e0046f77a3d', class: {
|
52
|
+
[`ic-input-component-container-${size}`]: true,
|
53
|
+
[`ic-input-component-container-${validationStatus}`]: validationStatus !== "" && !disabled && !readonly,
|
54
|
+
"ic-input-component-container-disabled": !!disabled,
|
55
|
+
"ic-input-component-container-readonly": !!readonly,
|
56
|
+
"ic-input-component-container-multiline": !!multiLine,
|
57
|
+
"ic-input-component-container-full-width": !!fullWidth,
|
58
|
+
}, "aria-disabled": disabled ? "true" : null }, h("div", { key: 'a70f27a3235ac0edb9d9c5a18983ae3c02de2a48', class: "focus-indicator" }, slotHasContent(this.el, "left-icon") && (h("div", { key: 'aa0b233280382bd0e95a8ff932bf60a63603b7bf', class: "icon-container" }, h("slot", { key: 'ceb8ec9b420073ac2ecd5d6793ad4342ab9ebbdd', name: "left-icon" }))), h("slot", { key: '1850c6ed04510e678600c653a36e2114f982e561' }), validationInline &&
|
59
|
+
validationStatus === IcInformationStatus.Success && (h("span", { key: '58d228c595577c1cc9a0fe2b10538cc3efff53ab', class: "inline-success", innerHTML: successIcon })))));
|
60
|
+
}
|
61
|
+
get el() { return getElement(this); }
|
62
|
+
static get watchers() { return {
|
63
|
+
"disabled": ["watchDisabledHandler"]
|
64
|
+
}; }
|
65
|
+
};
|
66
|
+
InputComponentContainer.style = IcInputComponentContainerStyle0;
|
67
|
+
|
68
|
+
const icInputContainerCss = "ic-input-container .component-container{display:flex;flex-direction:column}";
|
69
|
+
const IcInputContainerStyle0 = icInputContainerCss;
|
70
|
+
|
71
|
+
const InputContainer = class {
|
72
|
+
constructor(hostRef) {
|
73
|
+
registerInstance(this, hostRef);
|
74
|
+
/**
|
75
|
+
* If `true`, the disabled state will be set.
|
76
|
+
*/
|
77
|
+
this.disabled = false;
|
78
|
+
/**
|
79
|
+
* If `true`, the readonly state will be set.
|
80
|
+
*/
|
81
|
+
this.readonly = false;
|
82
|
+
}
|
83
|
+
render() {
|
84
|
+
return (h(Host, { key: '32ae22db5e182cc2c092c8f48e61d42a318284a0' }, h("div", { key: 'bae9ef74f7f92004ec99c387a213822315c505ba', class: {
|
85
|
+
["component-container"]: true,
|
86
|
+
["disabled"]: !!this.disabled,
|
87
|
+
["readonly"]: !!this.readonly,
|
88
|
+
} }, h("slot", { key: 'acca571eaa0d8f19b0e3379d2592409aacf9dd95' }))));
|
89
|
+
}
|
90
|
+
};
|
91
|
+
InputContainer.style = IcInputContainerStyle0;
|
92
|
+
|
93
|
+
const icInputLabelCss = "ic-input-label{margin-bottom:var(--ic-space-xs);--ic-typography-color:var(\n --ic-input-label-text-color,\n var(--ic-color-text-primary)\n )}ic-input-label.with-helper{margin-bottom:0}ic-input-label.ic-input-label-readonly{--ic-typography-color:var(--ic-input-label-readonly-typography-color)}ic-input-label .helpertext,ic-input-label .helpertext ::slotted(*){margin-top:var(--ic-space-xxxs);padding-bottom:var(--ic-input-label-helpertext-padding, 0);--ic-typography-color:var(\n --ic-input-label-helper-text-color,\n var(--ic-color-text-secondary)\n )}ic-input-label .helpertext-normal{--ic-typography-color:var(\n --ic-input-label-helper-text-color,\n var(--ic-color-text-secondary)\n )}ic-input-label .helpertext-readonly{--ic-typography-color:var(--ic-input-label-readonly-helpertext-color)}ic-input-label .readonly-label{--ic-typography-color:var(--ic-input-label-readonly-label-color)}ic-input-label .error-label{--ic-typography-color:var(--ic-input-label-error-label-color)}";
|
94
|
+
const IcInputLabelStyle0 = icInputLabelCss;
|
95
|
+
|
96
|
+
const InputLabel = class {
|
97
|
+
constructor(hostRef) {
|
98
|
+
registerInstance(this, hostRef);
|
99
|
+
/**
|
100
|
+
* If `true`, the disabled state will be set.
|
101
|
+
*/
|
102
|
+
this.disabled = false;
|
103
|
+
/**
|
104
|
+
* The helper text that will be displayed.
|
105
|
+
*/
|
106
|
+
this.helperText = "";
|
107
|
+
/**
|
108
|
+
* The label will be visually hidden.
|
109
|
+
*/
|
110
|
+
this.hideLabel = false;
|
111
|
+
/**
|
112
|
+
* If `true`, the readonly state will be set.
|
113
|
+
*/
|
114
|
+
this.readonly = false;
|
115
|
+
/**
|
116
|
+
* If `true`, the input label will require a value.
|
117
|
+
*/
|
118
|
+
this.required = false;
|
119
|
+
/**
|
120
|
+
* The status of the label - e.g. 'error'.
|
121
|
+
*/
|
122
|
+
this.status = "";
|
123
|
+
/**
|
124
|
+
* @internal If `true`, wraps label text in label tag
|
125
|
+
*/
|
126
|
+
this.useLabelTag = true;
|
127
|
+
this.isHelperTextSlotUsed = (slot) => {
|
128
|
+
const assignedEls = slot === null || slot === void 0 ? void 0 : slot.assignedElements();
|
129
|
+
if (assignedEls && assignedEls.length) {
|
130
|
+
for (const el of assignedEls) {
|
131
|
+
if (el.tagName === "SLOT") {
|
132
|
+
// Recursion needed for when slot is forwarded multiple times - through child components
|
133
|
+
// (e.g. in date picker)
|
134
|
+
if (this.isHelperTextSlotUsed(el)) {
|
135
|
+
return true;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
else {
|
139
|
+
// Found an assigned element which is not a nested <slot>
|
140
|
+
return true;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
return false;
|
145
|
+
};
|
146
|
+
}
|
147
|
+
componentDidLoad() {
|
148
|
+
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Input Label");
|
149
|
+
}
|
150
|
+
render() {
|
151
|
+
const { disabled, readonly, label, required, helperText, status, hideLabel, useLabelTag, } = this;
|
152
|
+
const labelText = required ? label + " *" : label;
|
153
|
+
const helperTextId = this.for && getInputHelperTextID(this.for);
|
154
|
+
const helperTextClass = {
|
155
|
+
helpertext: true,
|
156
|
+
"helpertext-normal": !disabled && !readonly,
|
157
|
+
"helpertext-readonly": readonly,
|
158
|
+
};
|
159
|
+
const helperTextSlot = this.el.querySelector("slot[name='helper-text']");
|
160
|
+
return (h(Host, { key: 'da58fe3cac026661d1c624c69c56c6e64ff3c07a', class: {
|
161
|
+
"ic-input-label-disabled": !!disabled,
|
162
|
+
"ic-input-label-readonly": readonly,
|
163
|
+
"with-helper": this.isHelperTextSlotUsed(helperTextSlot) || helperText !== "",
|
164
|
+
} }, !hideLabel && (h("ic-typography", { key: 'bb221e5f51681a0caa721c66f03fd475e4e08749', variant: "label", class: {
|
165
|
+
"readonly-label": readonly,
|
166
|
+
"error-label": status === "error" && !(readonly || disabled),
|
167
|
+
} }, readonly || !useLabelTag ? (`${labelText}`) : (h("label", { htmlFor: this.for }, labelText)))), this.isHelperTextSlotUsed(helperTextSlot) ? (h("span", { id: helperTextId, class: helperTextClass }, h("slot", { name: "helper-text" }))) : (helperText !== "" && (h("ic-typography", { variant: "caption", class: helperTextClass }, h("span", { id: helperTextId }, helperText))))));
|
168
|
+
}
|
169
|
+
get el() { return getElement(this); }
|
170
|
+
};
|
171
|
+
InputLabel.style = IcInputLabelStyle0;
|
172
|
+
|
173
|
+
const icInputValidationCss = "ic-input-validation{width:var(--input-width, 20rem);margin-top:var(--ic-space-xs);display:flex}ic-input-validation.ic-input-validation-full-width{width:100%}ic-input-validation span.status-icon{padding-right:var(--ic-space-xxs)}ic-input-validation span.status-icon>svg{height:1.25rem;width:1.25rem}ic-input-validation span.icon-success>svg{fill:var(--ic-input-validation-success-icon-color)}ic-input-validation span.icon-error>svg{fill:var(--ic-input-validation-error, var(--ic-atoms-status-icon-error))}ic-input-validation span.icon-warning>svg{fill:var(--ic-input-validation-warning-icon-color)}ic-input-validation .statustext{flex-grow:1;color:var(\n --ic-input-validation-status-text-color,\n var(--ic-color-text-primary)\n );--ic-typography-color:var(\n --ic-input-validation-status-text-color,\n var(--ic-color-text-primary)\n )}";
|
174
|
+
const IcInputValidationStyle0 = icInputValidationCss;
|
175
|
+
|
176
|
+
const icon = {
|
177
|
+
[IcInformationStatus.Warning]: warningIcon,
|
178
|
+
[IcInformationStatus.Error]: errorIcon,
|
179
|
+
[IcInformationStatus.Success]: successIcon,
|
180
|
+
};
|
181
|
+
const InputValidation = class {
|
182
|
+
constructor(hostRef) {
|
183
|
+
registerInstance(this, hostRef);
|
184
|
+
/**
|
185
|
+
* The ARIA live mode to apply to the message.
|
186
|
+
*/
|
187
|
+
this.ariaLiveMode = "polite";
|
188
|
+
/**
|
189
|
+
* If `true`, the input validation will fill the width of the container.
|
190
|
+
*/
|
191
|
+
this.fullWidth = false;
|
192
|
+
/**
|
193
|
+
* The status of the validation - e.g. 'error' | 'warning' | 'success'.
|
194
|
+
*/
|
195
|
+
this.status = "";
|
196
|
+
}
|
197
|
+
componentDidLoad() {
|
198
|
+
onComponentRequiredPropUndefined([{ prop: this.message, propName: "message" }], "Input Validation");
|
199
|
+
}
|
200
|
+
render() {
|
201
|
+
const { ariaLiveMode, fullWidth, status, message } = this;
|
202
|
+
const displayIcon = status !== "" ? icon[status] : "";
|
203
|
+
return (h(Host, { key: '149fe6ed6f86bb49ff8179e617542c048da4b80f', class: {
|
204
|
+
[`ic-input-validation-${status}`]: status !== "",
|
205
|
+
"ic-input-validation-full-width": !!fullWidth,
|
206
|
+
} }, displayIcon !== "" && (h("span", { key: 'e9e0ad999d435642e02a9f9c4abb95840fe13b3f', class: {
|
207
|
+
"status-icon": true,
|
208
|
+
[`icon-${status}`]: true,
|
209
|
+
}, innerHTML: displayIcon })), h("ic-typography", { key: '7494901b17b7bb3c91167e95190c415fd06f03c9', variant: "caption", class: "statustext" }, h("span", { key: '5e7d2d4cdcef0d32d5338f25365bc9831203a9c9', "aria-live": ariaLiveMode, id: this.for && getInputValidationTextID(this.for) }, message)), h("slot", { key: '445c0fe4b8effa3b9d98a9b240921e613ef43e24', name: "validation-message-adornment" })));
|
210
|
+
}
|
211
|
+
get el() { return getElement(this); }
|
212
|
+
};
|
213
|
+
InputValidation.style = IcInputValidationStyle0;
|
214
|
+
|
215
|
+
export { InputComponentContainer as ic_input_component_container, InputContainer as ic_input_container, InputLabel as ic_input_label, InputValidation as ic_input_validation };
|
216
|
+
|
217
|
+
//# sourceMappingURL=ic-input-component-container_4.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"ic-input-component-container.ic-input-container.ic-input-label.ic-input-validation.entry.js","mappings":";;;AAAA,MAAM,4BAA4B,GAAG,qoKAAqoK,CAAC;AAC3qK,wCAAe,4BAA4B;;MCM9B,uBAAuB;IAChC;;;;;QAII,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;QAItB,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;;;;QAIvB,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;;;;QAIvB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;QAItB,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAC;;;;QAIrB,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;;;;QAI9B,IAAI,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AAE,0CAA0C,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,CAAC,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC,CAAC,EAAE;KACvZ;;;;;;;","names":[],"sources":["../web-components/dist/collection/components/ic-input-component-container/ic-input-component-container.css?tag=ic-input-component-container","../web-components/dist/collection/components/ic-input-component-container/ic-input-component-container.js","../web-components/dist/collection/components/ic-input-container/ic-input-container.css?tag=ic-input-container","../web-components/dist/collection/components/ic-input-container/ic-input-container.js","../web-components/dist/collection/components/ic-input-label/ic-input-label.css?tag=ic-input-label","../web-components/dist/collection/components/ic-input-label/ic-input-label.js","../web-components/dist/collection/components/ic-input-validation/ic-input-validation.css?tag=ic-input-validation","../web-components/dist/collection/components/ic-input-validation/ic-input-validation.js"],"sourcesContent":["ic-input-component-container {\n /**\n * @prop --border-color: Border colour of the input component container\n * @prop --border-color-hover: Border colour of the input component container on hover\n * @prop --border-color-pressed: Border colour of the input component container when pressed\n * @prop --border-color-disabled: Border colour of the input component container when disabled\n * @prop --border-color-error: Border colour of the error variant for input component container\n * @prop --border-color-error-hover: Border colour of the error hover variant for input component container\n * @prop --border-color-error-pressed: Border colour of the error pressed variant for input component container\n * @prop --border-color-warning: Border colour of the warning variant for input component container\n * @prop --border-color-warning-hover: Border colour of the warning hover variant for input component container\n * @prop --border-color-warning-pressed: Border colour of the warning pressed variant for input component container\n * @prop --border-color-success: Border colour of the success variant for input component container\n * @prop --border-color-success-hover: Border colour of the success hover variant for input component container\n * @prop --border-color-success-pressed: Border colour of the success pressed variant for input component container\n */\n\n display: flex;\n border: var(--ic-border-width) solid\n var(--border-color, var(--ic-architectural-400));\n border-radius: var(--ic-border-radius);\n transition: var(--ic-easing-transition-slow);\n height: 2.5rem;\n min-height: 2.5rem;\n width: var(--input-width, 20rem);\n padding: var(--ic-space-1px);\n background-color: var(--input-bg-color, var(--ic-color-background-primary));\n box-sizing: border-box;\n fill: var(--ic-architectural-400);\n outline: none;\n}\n\nic-input-component-container.ic-input-component-container-full-width {\n width: 100%;\n}\n\nic-input-component-container.ic-input-component-container-disabled,\nic-input-component-container.ic-input-component-container-disabled:hover {\n border: var(--ic-border-width) dashed\n var(--border-color-disabled, var(--ic-color-border-neutral-disabled));\n}\n\nic-input-component-container.ic-input-component-container-readonly,\nic-input-component-container.ic-input-component-container-small.ic-input-component-container-readonly,\nic-input-component-container.ic-input-component-container-large.ic-input-component-container-readonly {\n height: auto;\n background: transparent;\n}\n\nic-input-component-container.ic-input-component-container-readonly,\nic-input-component-container.ic-input-component-container-readonly:hover {\n border: none;\n padding: 0;\n}\n\nic-input-component-container.ic-input-component-container-error {\n border: var(--ic-space-xxxs) solid\n var(--border-color-error, var(--ic-color-border-error));\n padding: 0;\n}\n\nic-input-component-container.ic-input-component-container-error:hover {\n border: var(--ic-space-xxxs) solid\n var(--border-color-error-hover, var(--ic-color-border-error-hover));\n}\n\nic-input-component-container.ic-input-component-container-error:focus-within {\n border: var(--ic-space-xxxs) solid\n var(--border-color-error-pressed, var(--ic-color-border-error-pressed));\n}\n\nic-input-component-container.ic-input-component-container-warning {\n border: var(--ic-space-xxxs) solid\n var(--border-color-warning, var(--ic-color-border-warning));\n padding: 0;\n}\n\nic-input-component-container.ic-input-component-container-warning:hover {\n border: var(--ic-space-xxxs) solid\n var(--border-color-warning-hover, var(--ic-color-border-warning-hover));\n}\n\nic-input-component-container.ic-input-component-container-warning:focus-within {\n border: var(--ic-space-xxxs) solid\n var(--border-color-warning-pressed, var(--ic-color-border-warning-pressed));\n}\n\nic-input-component-container.ic-input-component-container-success {\n border: var(--ic-space-xxxs) solid\n var(--border-color-success, var(--ic-color-border-success));\n padding: 0;\n}\n\nic-input-component-container.ic-input-component-container-success:hover {\n border: var(--ic-space-xxxs) solid\n var(--border-color-success-hover, var(--ic-color-border-success-hover));\n}\n\nic-input-component-container.ic-input-component-container-success:focus-within {\n border: var(--ic-space-xxxs) solid\n var(--border-color-success-pressed, var(--ic-color-border-success-pressed));\n}\n\nic-input-component-container.ic-input-component-container-small {\n height: var(--ic-space-xl);\n min-height: var(--ic-space-xl);\n}\n\nic-input-component-container.ic-input-component-container-large {\n height: var(--ic-space-xxl);\n min-height: var(--ic-space-xxl);\n}\n\nic-input-component-container.ic-input-component-container-multiline {\n height: auto;\n}\n\nic-input-component-container .icon-container {\n margin-top: var(--ic-space-xxs);\n margin-left: 0.438rem;\n display: flex;\n align-items: center;\n}\n\nic-input-component-container.ic-input-component-container-multiline\n .icon-container,\nic-input-component-container.ic-input-component-container-multiline.ic-input-component-container-small\n .icon-container {\n margin-top: 0.375rem;\n display: block;\n}\n\nic-input-component-container.ic-input-component-container-readonly\n .icon-container {\n margin-left: -0.313rem;\n}\n\nic-input-component-container.ic-input-component-container-disabled\n ::-moz-placeholder {\n display: none;\n}\n\nic-input-component-container.ic-input-component-container-disabled\n ::placeholder {\n display: none;\n}\n\nic-input-component-container .inline-success {\n margin: var(--ic-space-xs) 0.375rem;\n display: flex;\n align-items: center;\n}\n\nic-input-component-container .inline-success > svg {\n fill: var(--ic-input-component-container-success-icon-inline-color);\n height: 1.25rem;\n width: 1.25rem;\n}\n\nic-input-component-container:hover {\n border: var(--ic-input-component-container-hover-border);\n border-color: var(--border-color-hover, var(--ic-color-border-neutral-hover));\n color: var(--ic-action-monochrome-hover-dark);\n}\n\nic-input-component-container:focus {\n border: var(--ic-border-pressed);\n border-color: var(\n --border-color-pressed,\n var(--ic-color-border-neutral-pressed)\n );\n}\n\n.focus-indicator {\n display: flex;\n width: 100%;\n margin: -0.125rem;\n padding: 0.125rem;\n border-radius: var(--ic-border-radius);\n transition: var(--ic-easing-transition-fast);\n}\n\n.focus-indicator:focus-within,\n.focus-indicator-enabled {\n box-shadow: var(--ic-border-focus);\n}\n\n.focus-indicator.ic-input-component-container-dark:focus-within {\n box-shadow: var(--ic-border-focus);\n}\n\n@media (forced-colors: active) {\n /* Styles here only apply to Forced Colors Mode */\n ic-input-component-container,\n .focus-indicator {\n transition: none;\n }\n\n ic-input-component-container:focus-within {\n border: var(--ic-border-width) solid Highlight;\n outline: 0.125rem solid Highlight;\n }\n\n ic-input-component-container.ic-input-component-container-disabled,\n ic-input-component-container.ic-input-component-container-disabled:hover {\n border: var(--ic-border-width) dashed GrayText;\n }\n}\n","import { Host, h } from \"@stencil/core\";\nimport { IcInformationStatus, } from \"../../utils/types\";\nimport successIcon from \"../../assets/success-icon.svg\";\nimport { removeDisabledFalse, renderDynamicChildSlots, slotHasContent, } from \"../../utils/helpers\";\n/**\n * @slot left-icon - Content will be placed to the left of the input.\n */\nexport class InputComponentContainer {\n constructor() {\n /**\n * If `true`, the disabled state will be set.\n */\n this.disabled = false;\n /**\n * If `true`, the input component container will fill the width of the container it is in.\n */\n this.fullWidth = false;\n /**\n * If `true`, the input component container will allow for multiple lines.\n */\n this.multiLine = false;\n /**\n * If `true`, the readonly state will be set.\n */\n this.readonly = false;\n /**\n * The size of the input component container component.\n */\n this.size = \"medium\";\n /**\n * If `true`, the validation will display inline.\n */\n this.validationInline = false;\n /**\n * The validation status of the input component container - e.g. 'error' | 'warning' | 'success'.\n */\n this.validationStatus = \"\";\n }\n watchDisabledHandler() {\n removeDisabledFalse(this.disabled, this.el);\n }\n componentWillLoad() {\n removeDisabledFalse(this.disabled, this.el);\n }\n componentDidLoad() {\n this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, \"left-icon\", this));\n this.hostMutationObserver.observe(this.el, { childList: true });\n }\n render() {\n const { size, validationStatus, disabled, readonly, multiLine, fullWidth, validationInline, } = this;\n return (h(Host, { key: 'c33ebfd9dd18101fb9161259538e8e0046f77a3d', class: {\n [`ic-input-component-container-${size}`]: true,\n [`ic-input-component-container-${validationStatus}`]: validationStatus !== \"\" && !disabled && !readonly,\n \"ic-input-component-container-disabled\": !!disabled,\n \"ic-input-component-container-readonly\": !!readonly,\n \"ic-input-component-container-multiline\": !!multiLine,\n \"ic-input-component-container-full-width\": !!fullWidth,\n }, \"aria-disabled\": disabled ? \"true\" : null }, h(\"div\", { key: 'a70f27a3235ac0edb9d9c5a18983ae3c02de2a48', class: \"focus-indicator\" }, slotHasContent(this.el, \"left-icon\") && (h(\"div\", { key: 'aa0b233280382bd0e95a8ff932bf60a63603b7bf', class: \"icon-container\" }, h(\"slot\", { key: 'ceb8ec9b420073ac2ecd5d6793ad4342ab9ebbdd', name: \"left-icon\" }))), h(\"slot\", { key: '1850c6ed04510e678600c653a36e2114f982e561' }), validationInline &&\n validationStatus === IcInformationStatus.Success && (h(\"span\", { key: '58d228c595577c1cc9a0fe2b10538cc3efff53ab', class: \"inline-success\", innerHTML: successIcon })))));\n }\n static get is() { return \"ic-input-component-container\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-input-component-container.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-input-component-container.css\"]\n };\n }\n static get properties() {\n return {\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the disabled state will be set.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"fullWidth\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the input component container will fill the width of the container it is in.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"full-width\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"multiLine\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the input component container will allow for multiple lines.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"multi-line\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"readonly\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the readonly state will be set.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"readonly\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"size\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcSizes\",\n \"resolved\": \"\\\"large\\\" | \\\"medium\\\" | \\\"small\\\" | undefined\",\n \"references\": {\n \"IcSizes\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcSizes\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The size of the input component container component.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"size\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"medium\\\"\"\n },\n \"validationInline\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the validation will display inline.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"validation-inline\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"validationStatus\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcInformationStatusOrEmpty\",\n \"resolved\": \"\\\"\\\" | \\\"error\\\" | \\\"success\\\" | \\\"warning\\\" | undefined\",\n \"references\": {\n \"IcInformationStatusOrEmpty\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcInformationStatusOrEmpty\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The validation status of the input component container - e.g. 'error' | 'warning' | 'success'.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"validation-status\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"\\\"\"\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"disabled\",\n \"methodName\": \"watchDisabledHandler\"\n }];\n }\n}\n//# sourceMappingURL=ic-input-component-container.js.map\n","ic-input-container .component-container {\n display: flex;\n flex-direction: column;\n}\n","import { Host, h } from \"@stencil/core\";\nexport class InputContainer {\n constructor() {\n /**\n * If `true`, the disabled state will be set.\n */\n this.disabled = false;\n /**\n * If `true`, the readonly state will be set.\n */\n this.readonly = false;\n }\n render() {\n return (h(Host, { key: '32ae22db5e182cc2c092c8f48e61d42a318284a0' }, h(\"div\", { key: 'bae9ef74f7f92004ec99c387a213822315c505ba', class: {\n [\"component-container\"]: true,\n [\"disabled\"]: !!this.disabled,\n [\"readonly\"]: !!this.readonly,\n } }, h(\"slot\", { key: 'acca571eaa0d8f19b0e3379d2592409aacf9dd95' }))));\n }\n static get is() { return \"ic-input-container\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-input-container.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-input-container.css\"]\n };\n }\n static get properties() {\n return {\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the disabled state will be set.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"readonly\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the readonly state will be set.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"readonly\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n };\n }\n}\n//# sourceMappingURL=ic-input-container.js.map\n","ic-input-label {\n margin-bottom: var(--ic-space-xs);\n\n --ic-typography-color: var(\n --ic-input-label-text-color,\n var(--ic-color-text-primary)\n );\n}\n\nic-input-label.with-helper {\n margin-bottom: 0;\n}\n\nic-input-label.ic-input-label-readonly {\n --ic-typography-color: var(--ic-input-label-readonly-typography-color);\n}\n\nic-input-label .helpertext,\nic-input-label .helpertext ::slotted(*) {\n margin-top: var(--ic-space-xxxs);\n padding-bottom: var(--ic-input-label-helpertext-padding, 0);\n\n --ic-typography-color: var(\n --ic-input-label-helper-text-color,\n var(--ic-color-text-secondary)\n );\n}\n\nic-input-label .helpertext-normal {\n --ic-typography-color: var(\n --ic-input-label-helper-text-color,\n var(--ic-color-text-secondary)\n );\n}\n\nic-input-label .helpertext-readonly {\n --ic-typography-color: var(--ic-input-label-readonly-helpertext-color);\n}\n\nic-input-label .readonly-label {\n --ic-typography-color: var(--ic-input-label-readonly-label-color);\n}\n\nic-input-label .error-label {\n --ic-typography-color: var(--ic-input-label-error-label-color);\n}\n","import { Host, h } from \"@stencil/core\";\nimport { getInputHelperTextID, onComponentRequiredPropUndefined, } from \"../../utils/helpers\";\nexport class InputLabel {\n constructor() {\n /**\n * If `true`, the disabled state will be set.\n */\n this.disabled = false;\n /**\n * The helper text that will be displayed.\n */\n this.helperText = \"\";\n /**\n * The label will be visually hidden.\n */\n this.hideLabel = false;\n /**\n * If `true`, the readonly state will be set.\n */\n this.readonly = false;\n /**\n * If `true`, the input label will require a value.\n */\n this.required = false;\n /**\n * The status of the label - e.g. 'error'.\n */\n this.status = \"\";\n /**\n * @internal If `true`, wraps label text in label tag\n */\n this.useLabelTag = true;\n this.isHelperTextSlotUsed = (slot) => {\n const assignedEls = slot === null || slot === void 0 ? void 0 : slot.assignedElements();\n if (assignedEls && assignedEls.length) {\n for (const el of assignedEls) {\n if (el.tagName === \"SLOT\") {\n // Recursion needed for when slot is forwarded multiple times - through child components\n // (e.g. in date picker)\n if (this.isHelperTextSlotUsed(el)) {\n return true;\n }\n }\n else {\n // Found an assigned element which is not a nested <slot>\n return true;\n }\n }\n }\n return false;\n };\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.label, propName: \"label\" }], \"Input Label\");\n }\n render() {\n const { disabled, readonly, label, required, helperText, status, hideLabel, useLabelTag, } = this;\n const labelText = required ? label + \" *\" : label;\n const helperTextId = this.for && getInputHelperTextID(this.for);\n const helperTextClass = {\n helpertext: true,\n \"helpertext-normal\": !disabled && !readonly,\n \"helpertext-readonly\": readonly,\n };\n const helperTextSlot = this.el.querySelector(\"slot[name='helper-text']\");\n return (h(Host, { key: 'da58fe3cac026661d1c624c69c56c6e64ff3c07a', class: {\n \"ic-input-label-disabled\": !!disabled,\n \"ic-input-label-readonly\": readonly,\n \"with-helper\": this.isHelperTextSlotUsed(helperTextSlot) || helperText !== \"\",\n } }, !hideLabel && (h(\"ic-typography\", { key: 'bb221e5f51681a0caa721c66f03fd475e4e08749', variant: \"label\", class: {\n \"readonly-label\": readonly,\n \"error-label\": status === \"error\" && !(readonly || disabled),\n } }, readonly || !useLabelTag ? (`${labelText}`) : (h(\"label\", { htmlFor: this.for }, labelText)))), this.isHelperTextSlotUsed(helperTextSlot) ? (h(\"span\", { id: helperTextId, class: helperTextClass }, h(\"slot\", { name: \"helper-text\" }))) : (helperText !== \"\" && (h(\"ic-typography\", { variant: \"caption\", class: helperTextClass }, h(\"span\", { id: helperTextId }, helperText))))));\n }\n static get is() { return \"ic-input-label\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"./ic-input-label.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-input-label.css\"]\n };\n }\n static get properties() {\n return {\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the disabled state will be set.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"for\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The ID of the form element the label is bound to.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"for\",\n \"reflect\": false\n },\n \"helperText\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The helper text that will be displayed.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"helper-text\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"\\\"\"\n },\n \"hideLabel\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The label will be visually hidden.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"hide-label\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The text content of the label.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"readonly\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the readonly state will be set.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"readonly\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"required\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the input label will require a value.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"required\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"status\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"\\\"error\\\" | \\\"\\\"\",\n \"resolved\": \"\\\"\\\" | \\\"error\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The status of the label - e.g. 'error'.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"status\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"\\\"\"\n },\n \"useLabelTag\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": \"If `true`, wraps label text in label tag\"\n }],\n \"text\": \"\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"use-label-tag\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\n//# sourceMappingURL=ic-input-label.js.map\n","ic-input-validation {\n width: var(--input-width, 20rem);\n margin-top: var(--ic-space-xs);\n display: flex;\n}\n\nic-input-validation.ic-input-validation-full-width {\n width: 100%;\n}\n\nic-input-validation span.status-icon {\n padding-right: var(--ic-space-xxs);\n}\n\nic-input-validation span.status-icon > svg {\n height: 1.25rem;\n width: 1.25rem;\n}\n\nic-input-validation span.icon-success > svg {\n fill: var(--ic-input-validation-success-icon-color);\n}\n\nic-input-validation span.icon-error > svg {\n fill: var(--ic-input-validation-error, var(--ic-atoms-status-icon-error));\n}\n\nic-input-validation span.icon-warning > svg {\n fill: var(--ic-input-validation-warning-icon-color);\n}\n\nic-input-validation .statustext {\n flex-grow: 1;\n color: var(\n --ic-input-validation-status-text-color,\n var(--ic-color-text-primary)\n );\n\n --ic-typography-color: var(\n --ic-input-validation-status-text-color,\n var(--ic-color-text-primary)\n );\n}\n","import { Host, h } from \"@stencil/core\";\nimport { IcInformationStatus, } from \"../../utils/types\";\nimport errorIcon from \"../../assets/error-icon.svg\";\nimport successIcon from \"../../assets/success-icon.svg\";\nimport warningIcon from \"../../assets/warning-icon.svg\";\nimport { getInputValidationTextID, onComponentRequiredPropUndefined, } from \"../../utils/helpers\";\nconst icon = {\n [IcInformationStatus.Warning]: warningIcon,\n [IcInformationStatus.Error]: errorIcon,\n [IcInformationStatus.Success]: successIcon,\n};\n/**\n * @slot validation-message-adornment - Content will be placed to the right of the validation message.\n */\nexport class InputValidation {\n constructor() {\n /**\n * The ARIA live mode to apply to the message.\n */\n this.ariaLiveMode = \"polite\";\n /**\n * If `true`, the input validation will fill the width of the container.\n */\n this.fullWidth = false;\n /**\n * The status of the validation - e.g. 'error' | 'warning' | 'success'.\n */\n this.status = \"\";\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.message, propName: \"message\" }], \"Input Validation\");\n }\n render() {\n const { ariaLiveMode, fullWidth, status, message } = this;\n const displayIcon = status !== \"\" ? icon[status] : \"\";\n return (h(Host, { key: '149fe6ed6f86bb49ff8179e617542c048da4b80f', class: {\n [`ic-input-validation-${status}`]: status !== \"\",\n \"ic-input-validation-full-width\": !!fullWidth,\n } }, displayIcon !== \"\" && (h(\"span\", { key: 'e9e0ad999d435642e02a9f9c4abb95840fe13b3f', class: {\n \"status-icon\": true,\n [`icon-${status}`]: true,\n }, innerHTML: displayIcon })), h(\"ic-typography\", { key: '7494901b17b7bb3c91167e95190c415fd06f03c9', variant: \"caption\", class: \"statustext\" }, h(\"span\", { key: '5e7d2d4cdcef0d32d5338f25365bc9831203a9c9', \"aria-live\": ariaLiveMode, id: this.for && getInputValidationTextID(this.for) }, message)), h(\"slot\", { key: '445c0fe4b8effa3b9d98a9b240921e613ef43e24', name: \"validation-message-adornment\" })));\n }\n static get is() { return \"ic-input-validation\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-input-validation.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-input-validation.css\"]\n };\n }\n static get properties() {\n return {\n \"ariaLiveMode\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcAriaLiveModeVariants\",\n \"resolved\": \"\\\"assertive\\\" | \\\"polite\\\" | undefined\",\n \"references\": {\n \"IcAriaLiveModeVariants\": {\n \"location\": \"import\",\n \"path\": \"./ic-input-validation.types\",\n \"id\": \"src/components/ic-input-validation/ic-input-validation.types.tsx::IcAriaLiveModeVariants\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The ARIA live mode to apply to the message.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"aria-live-mode\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"polite\\\"\"\n },\n \"for\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The ID of the form element the validation is bound to.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"for\",\n \"reflect\": false\n },\n \"fullWidth\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the input validation will fill the width of the container.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"full-width\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"message\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The validation message to display.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"message\",\n \"reflect\": false\n },\n \"status\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcInformationStatusOrEmpty\",\n \"resolved\": \"\\\"\\\" | \\\"error\\\" | \\\"success\\\" | \\\"warning\\\" | undefined\",\n \"references\": {\n \"IcInformationStatusOrEmpty\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcInformationStatusOrEmpty\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The status of the validation - e.g. 'error' | 'warning' | 'success'.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"status\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"\\\"\"\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\n//# sourceMappingURL=ic-input-validation.js.map\n"],"version":3}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-a7a720e7.js';
|
2
|
+
|
3
|
+
const icLayoutGridItemCss = ":host{grid-column:var(--ic-grid-item-col-start, 1) / span\n var(--ic-grid-item-col-span, var(--ic-layout-grid-col-span, 1)) !important;grid-row:var(--ic-grid-item-row-start, 1) / span\n var(--ic-grid-item-row-span, var(--ic-layout-grid-row-span, 1)) !important}@media only screen and (max-width: 576px){:host(.ic-layout-grid-hide-in-mobile){display:none}}";
|
4
|
+
const IcLayoutGridItemStyle0 = icLayoutGridItemCss;
|
5
|
+
|
6
|
+
const LayoutGridItem = class {
|
7
|
+
constructor(hostRef) {
|
8
|
+
registerInstance(this, hostRef);
|
9
|
+
/**
|
10
|
+
* The number of columns the grid item should span.
|
11
|
+
*/
|
12
|
+
this.colSpan = 1;
|
13
|
+
/**
|
14
|
+
* The column the grid item should start at.
|
15
|
+
*/
|
16
|
+
this.colStart = 1;
|
17
|
+
/**
|
18
|
+
* If `true`, the grid item will be hidden on smaller screens.
|
19
|
+
*/
|
20
|
+
this.hideInMobileMode = false;
|
21
|
+
/**
|
22
|
+
* The number of rows the grid item should span.
|
23
|
+
*/
|
24
|
+
this.rowSpan = 1;
|
25
|
+
/**
|
26
|
+
* The row the grid item should start at.
|
27
|
+
*/
|
28
|
+
this.rowStart = 1;
|
29
|
+
}
|
30
|
+
watchColSpan(newValue) {
|
31
|
+
this.el.style.setProperty("--ic-grid-item-col-span", `${newValue}`);
|
32
|
+
}
|
33
|
+
watchColStart(newValue) {
|
34
|
+
this.el.style.setProperty("--ic-grid-item-col-start", `${newValue}`);
|
35
|
+
}
|
36
|
+
watchRowSpan(newValue) {
|
37
|
+
this.el.style.setProperty("--ic-grid-item-row-span", `${newValue}`);
|
38
|
+
}
|
39
|
+
watchRowStart(newValue) {
|
40
|
+
this.el.style.setProperty("--ic-grid-item-row-start", `${newValue}`);
|
41
|
+
}
|
42
|
+
componentWillLoad() {
|
43
|
+
this.el.style.setProperty("--ic-grid-item-col-start", `${this.colStart}`);
|
44
|
+
this.el.style.setProperty("--ic-grid-item-col-span", `${this.colSpan}`);
|
45
|
+
this.el.style.setProperty("--ic-grid-item-row-start", `${this.rowStart}`);
|
46
|
+
this.el.style.setProperty("--ic-grid-item-row-span", `${this.rowSpan}`);
|
47
|
+
}
|
48
|
+
render() {
|
49
|
+
const { hideInMobileMode } = this;
|
50
|
+
return (h(Host, { key: '07cb3d39a4c3440a06df2f6c56ecdf3017e48f59', class: {
|
51
|
+
"ic-layout-grid-hide-in-mobile": !!hideInMobileMode,
|
52
|
+
} }, h("slot", { key: '53c7d5616494ad9fc7468d023b9a9ec520938916' })));
|
53
|
+
}
|
54
|
+
get el() { return getElement(this); }
|
55
|
+
static get watchers() { return {
|
56
|
+
"colSpan": ["watchColSpan"],
|
57
|
+
"colStart": ["watchColStart"],
|
58
|
+
"rowSpan": ["watchRowSpan"],
|
59
|
+
"rowStart": ["watchRowStart"]
|
60
|
+
}; }
|
61
|
+
};
|
62
|
+
LayoutGridItem.style = IcLayoutGridItemStyle0;
|
63
|
+
|
64
|
+
export { LayoutGridItem as ic_layout_grid_item };
|
65
|
+
|
66
|
+
//# sourceMappingURL=ic-layout-grid-item.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"ic-layout-grid-item.entry.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,2WAA2W,CAAC;AACxY,+BAAe,mBAAmB;;MCArB,cAAc;IACvB;;;;;QAII,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC;;;;QAIjB,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;;;;QAIlB,IAAI,CAAC,gBAAgB,GA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,KAAK,EAAE;gBAClE,+BAA+B,EAAE,CAAC,CAAC,gBAAgB;aACtD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,0CAA0C,EAAE,CAAC,CAAC,EAAE;KAC7E;;;;;;;;;;;;;","names":[],"sources":["../web-components/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.css?tag=ic-layout-grid-item&encapsulation=shadow","../web-components/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.js"],"sourcesContent":[":host {\n grid-column: var(--ic-grid-item-col-start, 1) / span\n var(--ic-grid-item-col-span, var(--ic-layout-grid-col-span, 1)) !important;\n grid-row: var(--ic-grid-item-row-start, 1) / span\n var(--ic-grid-item-row-span, var(--ic-layout-grid-row-span, 1)) !important;\n}\n\n@media only screen and (max-width: 576px) {\n :host(.ic-layout-grid-hide-in-mobile) {\n display: none;\n }\n}\n","import { Host, h } from \"@stencil/core\";\nexport class LayoutGridItem {\n constructor() {\n /**\n * The number of columns the grid item should span.\n */\n this.colSpan = 1;\n /**\n * The column the grid item should start at.\n */\n this.colStart = 1;\n /**\n * If `true`, the grid item will be hidden on smaller screens.\n */\n this.hideInMobileMode = false;\n /**\n * The number of rows the grid item should span.\n */\n this.rowSpan = 1;\n /**\n * The row the grid item should start at.\n */\n this.rowStart = 1;\n }\n watchColSpan(newValue) {\n this.el.style.setProperty(\"--ic-grid-item-col-span\", `${newValue}`);\n }\n watchColStart(newValue) {\n this.el.style.setProperty(\"--ic-grid-item-col-start\", `${newValue}`);\n }\n watchRowSpan(newValue) {\n this.el.style.setProperty(\"--ic-grid-item-row-span\", `${newValue}`);\n }\n watchRowStart(newValue) {\n this.el.style.setProperty(\"--ic-grid-item-row-start\", `${newValue}`);\n }\n componentWillLoad() {\n this.el.style.setProperty(\"--ic-grid-item-col-start\", `${this.colStart}`);\n this.el.style.setProperty(\"--ic-grid-item-col-span\", `${this.colSpan}`);\n this.el.style.setProperty(\"--ic-grid-item-row-start\", `${this.rowStart}`);\n this.el.style.setProperty(\"--ic-grid-item-row-span\", `${this.rowSpan}`);\n }\n render() {\n const { hideInMobileMode } = this;\n return (h(Host, { key: '07cb3d39a4c3440a06df2f6c56ecdf3017e48f59', class: {\n \"ic-layout-grid-hide-in-mobile\": !!hideInMobileMode,\n } }, h(\"slot\", { key: '53c7d5616494ad9fc7468d023b9a9ec520938916' })));\n }\n static get is() { return \"ic-layout-grid-item\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-layout-grid-item.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-layout-grid-item.css\"]\n };\n }\n static get properties() {\n return {\n \"colSpan\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The number of columns the grid item should span.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"col-span\",\n \"reflect\": false,\n \"defaultValue\": \"1\"\n },\n \"colStart\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The column the grid item should start at.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"col-start\",\n \"reflect\": false,\n \"defaultValue\": \"1\"\n },\n \"hideInMobileMode\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the grid item will be hidden on smaller screens.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"hide-in-mobile-mode\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"rowSpan\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The number of rows the grid item should span.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"row-span\",\n \"reflect\": false,\n \"defaultValue\": \"1\"\n },\n \"rowStart\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The row the grid item should start at.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"row-start\",\n \"reflect\": false,\n \"defaultValue\": \"1\"\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"colSpan\",\n \"methodName\": \"watchColSpan\"\n }, {\n \"propName\": \"colStart\",\n \"methodName\": \"watchColStart\"\n }, {\n \"propName\": \"rowSpan\",\n \"methodName\": \"watchRowSpan\"\n }, {\n \"propName\": \"rowStart\",\n \"methodName\": \"watchRowStart\"\n }];\n }\n}\n//# sourceMappingURL=ic-layout-grid-item.js.map\n"],"version":3}
|
@@ -0,0 +1,152 @@
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-a7a720e7.js';
|
2
|
+
|
3
|
+
const icLayoutGridCss = "/*! 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:grid;width:-moz-fit-content;width:fit-content;grid-template-columns:repeat(\n var(--ic-layout-grid-columns),\n var(--ic-layout-grid-col-width, 1fr)\n );grid-template-rows:repeat(var(--ic-layout-grid-rows), 1fr);gap:var(--ic-layout-grid-spacing);padding-top:var(--ic-layout-grid-margin);padding-bottom:var(--ic-layout-grid-margin)}:host ::slotted(*){grid-column:span var(--ic-layout-grid-col-span, 1);grid-row:span var(--ic-layout-grid-row-span, 1)}:host(.ic-layout-grid-aligned-center){margin-left:auto;margin-right:auto;padding-left:var(--ic-layout-grid-margin);padding-right:var(--ic-layout-grid-margin)}:host(.ic-layout-grid-aligned-left){margin-left:var(--ic-layout-grid-margin);margin-right:auto;padding-right:var(--ic-layout-grid-margin)}:host(.ic-layout-grid-aligned-full-width){margin-left:var(--ic-layout-grid-margin);margin-right:var(--ic-layout-grid-margin);width:calc(100% - (var(--ic-layout-grid-margin) * 2))}:host(.ic-layout-grid-no-vertical-padding){padding-top:0;padding-bottom:0}@media only screen and (max-width: 576px){:host{--ic-layout-grid-margin:var(--ic-space-xs);--ic-layout-grid-columns:var(--ic-layout-grid-columns-xs)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-xs)}}@media only screen and (min-width: 577px){:host{--ic-layout-grid-margin:var(--ic-space-md);--ic-layout-grid-columns:var(--ic-layout-grid-columns-sm)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-sm)}}@media only screen and (min-width: 769px){:host{--ic-layout-grid-margin:var(--ic-space-md);--ic-layout-grid-columns:var(--ic-layout-grid-columns-md)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-md)}}@media only screen and (min-width: 993px){:host{--ic-layout-grid-margin:var(--ic-space-md);--ic-layout-grid-columns:var(--ic-layout-grid-columns-lg)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-lg)}}@media only screen and (min-width: 1201px){:host{--ic-layout-grid-margin:var(--ic-space-lg);--ic-layout-grid-columns:var(--ic-layout-grid-columns-xl)}:host ::slotted(*){--ic-layout-grid-col-span:var(--ic-layout-grid-col-span-xl)}}";
|
4
|
+
const IcLayoutGridStyle0 = icLayoutGridCss;
|
5
|
+
|
6
|
+
const LayoutGrid = class {
|
7
|
+
constructor(hostRef) {
|
8
|
+
registerInstance(this, hostRef);
|
9
|
+
this.COL_WIDTH_CSS_PROP = "--ic-layout-grid-col-width";
|
10
|
+
/**
|
11
|
+
* The alignment of the grid.
|
12
|
+
*/
|
13
|
+
this.aligned = "left";
|
14
|
+
/**
|
15
|
+
* The default column span for grid items.
|
16
|
+
*/
|
17
|
+
this.defaultColSpan = 1;
|
18
|
+
/**
|
19
|
+
* The default column width for grid items.
|
20
|
+
* This is used when the grid type is set to "fixed".
|
21
|
+
*/
|
22
|
+
this.defaultColWidth = "64px";
|
23
|
+
/**
|
24
|
+
* The default row span for grid items.
|
25
|
+
*/
|
26
|
+
this.defaultRowSpan = 1;
|
27
|
+
/**
|
28
|
+
* If `true`, the standard vertical padding from the grid will be removed.
|
29
|
+
*/
|
30
|
+
this.fullHeight = false;
|
31
|
+
/**
|
32
|
+
* The space between grid items, in multiples of the base spacing unit (`var(--ic-space-xs)`).
|
33
|
+
*/
|
34
|
+
this.gridSpacing = 2;
|
35
|
+
/**
|
36
|
+
* The number of rows in the grid.
|
37
|
+
*/
|
38
|
+
this.rows = 1;
|
39
|
+
/**
|
40
|
+
* The layout type of the grid.
|
41
|
+
*/
|
42
|
+
this.type = "fixed";
|
43
|
+
this.getColumns = () => {
|
44
|
+
if (typeof this.columns === "number") {
|
45
|
+
this.el.style.setProperty("--ic-layout-grid-columns", this.columns.toString());
|
46
|
+
}
|
47
|
+
else if (typeof this.columns === "object") {
|
48
|
+
Object.entries(this.columns).forEach(([breakpoint, value]) => {
|
49
|
+
if (value !== undefined) {
|
50
|
+
this.el.style.setProperty(`--ic-layout-grid-columns-${breakpoint}`, value.toString());
|
51
|
+
}
|
52
|
+
});
|
53
|
+
}
|
54
|
+
};
|
55
|
+
this.getColSpan = () => {
|
56
|
+
if (this.defaultColSpan !== undefined) {
|
57
|
+
if (typeof this.defaultColSpan === "number") {
|
58
|
+
Array.from(this.el.children).forEach((child) => {
|
59
|
+
child.style.setProperty("--ic-layout-grid-col-span", `${this.defaultColSpan}`);
|
60
|
+
});
|
61
|
+
}
|
62
|
+
else if (typeof this.defaultColSpan === "object") {
|
63
|
+
Object.entries(this.defaultColSpan).forEach(([breakpoint, value]) => {
|
64
|
+
if (value !== undefined) {
|
65
|
+
this.el.style.setProperty(`--ic-layout-grid-col-span-${breakpoint}`, value.toString());
|
66
|
+
}
|
67
|
+
});
|
68
|
+
}
|
69
|
+
}
|
70
|
+
};
|
71
|
+
this.getGridSpacing = () => {
|
72
|
+
this.el.style.setProperty("--ic-layout-grid-spacing", `calc(var(--ic-space-xs) * ${this.gridSpacing})`);
|
73
|
+
};
|
74
|
+
}
|
75
|
+
watchColumns() {
|
76
|
+
this.getColumns();
|
77
|
+
}
|
78
|
+
watchDefaultColSpan() {
|
79
|
+
this.getColSpan();
|
80
|
+
}
|
81
|
+
watchDefaultColWidth(newValue) {
|
82
|
+
if (this.type === "fixed") {
|
83
|
+
this.el.style.setProperty(this.COL_WIDTH_CSS_PROP, newValue);
|
84
|
+
}
|
85
|
+
}
|
86
|
+
watchDefaultRowSpan(newValue) {
|
87
|
+
this.el.style.setProperty("--ic-layout-grid-row-span", `${newValue}`);
|
88
|
+
}
|
89
|
+
watchGridSpacing() {
|
90
|
+
this.getGridSpacing();
|
91
|
+
}
|
92
|
+
watchRows(newValue) {
|
93
|
+
this.el.style.setProperty("--ic-layout-grid-rows", `${newValue}`);
|
94
|
+
}
|
95
|
+
watchType(newValue) {
|
96
|
+
this.getColumns();
|
97
|
+
if (newValue === "fixed" && this.defaultColWidth) {
|
98
|
+
this.el.style.setProperty(this.COL_WIDTH_CSS_PROP, this.defaultColWidth);
|
99
|
+
}
|
100
|
+
else {
|
101
|
+
this.el.style.removeProperty(this.COL_WIDTH_CSS_PROP);
|
102
|
+
}
|
103
|
+
}
|
104
|
+
componentWillLoad() {
|
105
|
+
if (this.columns === undefined) {
|
106
|
+
if (this.type === "fixed") {
|
107
|
+
this.columns = 12;
|
108
|
+
}
|
109
|
+
else if (this.type === "fluid") {
|
110
|
+
this.columns = {
|
111
|
+
xs: 2,
|
112
|
+
sm: 4,
|
113
|
+
md: 8,
|
114
|
+
lg: 12,
|
115
|
+
xl: 12,
|
116
|
+
};
|
117
|
+
}
|
118
|
+
}
|
119
|
+
this.getColumns();
|
120
|
+
this.getColSpan();
|
121
|
+
this.getGridSpacing();
|
122
|
+
if (this.type === "fixed" && this.defaultColWidth) {
|
123
|
+
this.el.style.setProperty(this.COL_WIDTH_CSS_PROP, this.defaultColWidth);
|
124
|
+
}
|
125
|
+
if (this.rows) {
|
126
|
+
this.el.style.setProperty("--ic-layout-grid-rows", `${this.rows}`);
|
127
|
+
this.el.style.setProperty("--ic-layout-grid-row-span", `${this.defaultRowSpan}`);
|
128
|
+
}
|
129
|
+
}
|
130
|
+
render() {
|
131
|
+
const { aligned, fullHeight } = this;
|
132
|
+
return (h(Host, { key: '95699906353df84f439ec7c7ed628f4ba9c80b4e', class: {
|
133
|
+
[`ic-layout-grid-aligned-${aligned}`]: true,
|
134
|
+
["ic-layout-grid-no-vertical-padding"]: !!fullHeight,
|
135
|
+
} }, h("slot", { key: '5642340495e02e53b2e7248e0f254b32b95b3b3f' })));
|
136
|
+
}
|
137
|
+
get el() { return getElement(this); }
|
138
|
+
static get watchers() { return {
|
139
|
+
"columns": ["watchColumns"],
|
140
|
+
"defaultColSpan": ["watchDefaultColSpan"],
|
141
|
+
"defaultColWidth": ["watchDefaultColWidth"],
|
142
|
+
"defaultRowSpan": ["watchDefaultRowSpan"],
|
143
|
+
"gridSpacing": ["watchGridSpacing"],
|
144
|
+
"rows": ["watchRows"],
|
145
|
+
"type": ["watchType"]
|
146
|
+
}; }
|
147
|
+
};
|
148
|
+
LayoutGrid.style = IcLayoutGridStyle0;
|
149
|
+
|
150
|
+
export { LayoutGrid as ic_layout_grid };
|
151
|
+
|
152
|
+
//# sourceMappingURL=ic-layout-grid.entry.js.map
|