@ukic/canary-web-components 3.0.0-canary.32 → 3.0.0-canary.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-6f4b406b.js → helpers-f81fed28.js} +37 -1
- package/dist/cjs/helpers-f81fed28.js.map +1 -0
- package/dist/cjs/ic-calendar_2.cjs.entry.js +2 -2
- package/dist/cjs/ic-calendar_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-horizontal.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox_3.cjs.entry.js +11 -7
- package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-table.cjs.entry.js +11 -8
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +8 -4
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-table-of-contents.cjs.entry.js +1 -1
- package/dist/cjs/ic-time-input.cjs.entry.js +401 -99
- package/dist/cjs/ic-time-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-time-selector.cjs.entry.js +842 -0
- package/dist/cjs/ic-time-selector.cjs.entry.js.map +1 -0
- package/dist/cjs/{ic-toggle-button.cjs.entry.js → ic-toggle-button_2.cjs.entry.js} +274 -1
- package/dist/cjs/ic-toggle-button_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-tree-item.cjs.entry.js +3 -3
- package/dist/cjs/ic-tree-view.cjs.entry.js +4 -4
- package/dist/cjs/index-d337cd8a.js +8 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/ic-calendar/ic-calendar.css +8 -6
- package/dist/collection/components/ic-calendar/ic-calendar.stories.js +13 -0
- package/dist/collection/components/ic-calendar/ic-calendar.stories.js.map +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.js +10 -7
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +30 -6
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
- package/dist/collection/components/ic-time-input/ic-time-input.css +21 -3
- package/dist/collection/components/ic-time-input/ic-time-input.js +434 -106
- package/dist/collection/components/ic-time-input/ic-time-input.js.map +1 -1
- package/dist/collection/components/ic-time-input/ic-time-input.stories.js +58 -9
- package/dist/collection/components/ic-time-input/ic-time-input.stories.js.map +1 -1
- package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js +2 -0
- package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js.map +1 -1
- package/dist/collection/components/ic-time-selector/ic-time-selector.css +293 -0
- package/dist/collection/components/ic-time-selector/ic-time-selector.js +1075 -0
- package/dist/collection/components/ic-time-selector/ic-time-selector.js.map +1 -0
- package/dist/collection/components/ic-time-selector/ic-time-selector.stories.js +166 -0
- package/dist/collection/components/ic-time-selector/ic-time-selector.stories.js.map +1 -0
- package/dist/collection/components/ic-time-selector/ic-time-selector.types.js +2 -0
- package/dist/collection/components/ic-time-selector/ic-time-selector.types.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/helpers.js +35 -0
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers2.js +36 -1
- package/dist/components/helpers2.js.map +1 -1
- package/dist/components/ic-calendar2.js +1 -1
- package/dist/components/ic-calendar2.js.map +1 -1
- package/dist/components/ic-data-table.js +10 -7
- package/dist/components/ic-data-table.js.map +1 -1
- package/dist/components/ic-pagination-bar2.js +11 -6
- package/dist/components/ic-pagination-bar2.js.map +1 -1
- package/dist/components/ic-pagination2.js +9 -4
- package/dist/components/ic-pagination2.js.map +1 -1
- package/dist/components/ic-time-input.js +431 -112
- package/dist/components/ic-time-input.js.map +1 -1
- package/dist/components/ic-time-selector.d.ts +11 -0
- package/dist/components/ic-time-selector.js +898 -0
- package/dist/components/ic-time-selector.js.map +1 -0
- package/dist/components/ic-toggle-button-group.js +1 -299
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/{esm/ic-toggle-button-group.entry.js → components/ic-toggle-button-group2.js} +70 -13
- package/dist/components/ic-toggle-button-group2.js.map +1 -0
- package/dist/components/ic-toggle-button.js +1 -228
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/{esm/ic-toggle-button.entry.js → components/ic-toggle-button2.js} +65 -10
- package/dist/components/ic-toggle-button2.js.map +1 -0
- package/dist/components/ic-tree-item.js +2 -2
- package/dist/components/ic-tree-view.js +4 -4
- package/dist/core/core.css +28 -6
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-b80b08ae.entry.js → p-08f24329.entry.js} +2 -2
- package/dist/core/{p-615d474e.entry.js → p-14b8bf37.entry.js} +2 -2
- package/dist/core/{p-81f12581.entry.js → p-169ad948.entry.js} +2 -2
- package/dist/core/{p-847cbb16.entry.js → p-1d166343.entry.js} +2 -2
- package/dist/core/{p-b4bfaf8f.entry.js → p-201b41c7.entry.js} +2 -2
- package/dist/core/{p-24bac55f.entry.js → p-33509a89.entry.js} +2 -2
- package/dist/core/{p-e1920777.entry.js → p-3389625c.entry.js} +2 -2
- package/dist/core/{p-5a1cfb3c.entry.js → p-344752cb.entry.js} +2 -2
- package/dist/core/{p-6c238418.entry.js → p-348d7080.entry.js} +2 -2
- package/dist/core/{p-3ef2e98d.entry.js → p-39cdf5db.entry.js} +2 -2
- package/dist/core/{p-fd20470e.entry.js → p-496b314f.entry.js} +2 -2
- package/dist/core/{p-bd9a76d8.entry.js → p-508b6da3.entry.js} +2 -2
- package/dist/core/p-551a0fc1.entry.js +2 -0
- package/dist/core/p-551a0fc1.entry.js.map +1 -0
- package/dist/core/{p-f5cea10d.entry.js → p-5e6687a8.entry.js} +2 -2
- package/dist/core/{p-72171192.entry.js → p-60f4fe3a.entry.js} +2 -2
- package/dist/core/p-61c92598.entry.js +2 -0
- package/dist/core/p-61c92598.entry.js.map +1 -0
- package/dist/core/{p-e00e67ff.entry.js → p-6323da7a.entry.js} +2 -2
- package/dist/core/p-691dd972.entry.js +2 -0
- package/dist/core/p-691dd972.entry.js.map +1 -0
- package/dist/core/{p-c6c87e58.entry.js → p-6dfe0922.entry.js} +2 -2
- package/dist/core/p-71cc5909.entry.js +2 -0
- package/dist/core/p-71cc5909.entry.js.map +1 -0
- package/dist/core/{p-fd7f3b58.entry.js → p-770e92cd.entry.js} +2 -2
- package/dist/core/{p-7cf6b428.entry.js → p-79ead0e7.entry.js} +2 -2
- package/dist/core/{p-285892ef.entry.js → p-7b4b45cf.entry.js} +2 -2
- package/dist/core/{p-afedcfdb.entry.js → p-7efdbab8.entry.js} +2 -2
- package/dist/core/{p-96177a74.entry.js → p-802a4bd3.entry.js} +2 -2
- package/dist/core/p-829b34f9.js +2 -0
- package/dist/core/p-829b34f9.js.map +1 -0
- package/dist/core/{p-9a9605c3.entry.js → p-879c180d.entry.js} +2 -2
- package/dist/core/{p-3891ce53.entry.js → p-8830011c.entry.js} +2 -2
- package/dist/core/{p-444cd8d3.entry.js → p-8ab37b4d.entry.js} +2 -2
- package/dist/core/{p-c87cc0d1.entry.js → p-939025af.entry.js} +2 -2
- package/dist/core/{p-4992e9ac.entry.js → p-939b168a.entry.js} +2 -2
- package/dist/core/{p-5a4344cb.entry.js → p-9dea5764.entry.js} +2 -2
- package/dist/core/{p-af821831.entry.js → p-a88e61b2.entry.js} +2 -2
- package/dist/core/p-a88e61b2.entry.js.map +1 -0
- package/dist/core/{p-90611726.entry.js → p-a8a92e54.entry.js} +2 -2
- package/dist/core/{p-31f3fb15.entry.js → p-a94a7b71.entry.js} +2 -2
- package/dist/core/p-ad551a0c.entry.js +2 -0
- package/dist/core/p-ad551a0c.entry.js.map +1 -0
- package/dist/core/{p-ba75ed34.entry.js → p-b434bd7c.entry.js} +2 -2
- package/dist/core/{p-2188b483.entry.js → p-c0a7eed7.entry.js} +2 -2
- package/dist/core/{p-2bd2f38b.entry.js → p-c0b227d2.entry.js} +2 -2
- package/dist/core/{p-2646a629.entry.js → p-c32f043e.entry.js} +2 -2
- package/dist/core/{p-7a0f62c2.entry.js → p-c4b2774d.entry.js} +2 -2
- package/dist/core/{p-775b8dba.entry.js → p-c9525aac.entry.js} +2 -2
- package/dist/core/{p-7026afad.entry.js → p-ca05573a.entry.js} +2 -2
- package/dist/core/{p-8c580d88.entry.js → p-d0607a70.entry.js} +2 -2
- package/dist/core/{p-15c05eb8.entry.js → p-d528d856.entry.js} +2 -2
- package/dist/core/{p-0043b019.entry.js → p-da1c2883.entry.js} +2 -2
- package/dist/core/{p-ffc1cea6.entry.js → p-e2e556ec.entry.js} +2 -2
- package/dist/core/{p-e4ef4263.js → p-e519f607.js} +2 -2
- package/dist/core/{p-3f0bce15.entry.js → p-e5c6d01a.entry.js} +2 -2
- package/dist/core/{p-04a9f82f.entry.js → p-e8db8772.entry.js} +2 -2
- package/dist/core/{p-e4b82731.entry.js → p-ea04103e.entry.js} +2 -2
- package/dist/core/{p-9a95f428.entry.js → p-eaeb473e.entry.js} +2 -2
- package/dist/core/{p-8e592393.entry.js → p-ecc7fd71.entry.js} +2 -2
- package/dist/core/{p-6cfba272.entry.js → p-efe260f0.entry.js} +2 -2
- package/dist/core/{p-b6d6b26e.entry.js → p-f1b57f91.entry.js} +2 -2
- package/dist/core/{p-e4551a38.entry.js → p-f5dc04f7.entry.js} +2 -2
- package/dist/core/{p-25280383.entry.js → p-fb07921b.entry.js} +2 -2
- package/dist/core/p-fb07921b.entry.js.map +1 -0
- package/dist/core/{p-1900c7c7.entry.js → p-fd08156a.entry.js} +2 -2
- package/dist/core/{p-3594922d.entry.js → p-fe5b51bb.entry.js} +2 -2
- package/dist/core/{p-ef5b6622.entry.js → p-ff618439.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-5419eb6c.js → helpers-063369f4.js} +2 -2
- package/dist/esm/{helpers-5419eb6c.js.map → helpers-063369f4.js.map} +1 -1
- package/dist/esm/{helpers-9f228880.js → helpers-a08b3f32.js} +37 -2
- package/dist/esm/helpers-a08b3f32.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 +1 -1
- package/dist/esm/ic-alert.entry.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-badge.entry.js +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +1 -1
- package/dist/esm/ic-button_3.entry.js +1 -1
- package/dist/esm/ic-calendar_2.entry.js +2 -2
- package/dist/esm/ic-calendar_2.entry.js.map +1 -1
- package/dist/esm/ic-card-horizontal.entry.js +1 -1
- package/dist/esm/ic-card-vertical.entry.js +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +1 -1
- package/dist/esm/ic-checkbox_3.entry.js +12 -8
- package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +1 -1
- package/dist/esm/ic-data-row.entry.js +1 -1
- package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
- package/dist/esm/ic-data-table.entry.js +11 -8
- package/dist/esm/ic-data-table.entry.js.map +1 -1
- package/dist/esm/ic-date-picker.entry.js +1 -1
- package/dist/esm/ic-dialog.entry.js +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 +1 -1
- package/dist/esm/ic-footer.entry.js +1 -1
- package/dist/esm/ic-hero.entry.js +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
- package/dist/esm/ic-input-component-container_4.entry.js +1 -1
- package/dist/esm/ic-link.entry.js +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/ic-menu.entry.js +1 -1
- package/dist/esm/ic-navigation-button.entry.js +1 -1
- package/dist/esm/ic-navigation-group.entry.js +1 -1
- package/dist/esm/ic-navigation-item.entry.js +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +1 -1
- package/dist/esm/ic-page-header.entry.js +1 -1
- package/dist/esm/ic-pagination_4.entry.js +9 -5
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +1 -1
- package/dist/esm/ic-radio-group.entry.js +1 -1
- package/dist/esm/ic-radio-option.entry.js +1 -1
- package/dist/esm/ic-search-bar.entry.js +1 -1
- package/dist/esm/ic-side-navigation.entry.js +1 -1
- package/dist/esm/ic-status-tag.entry.js +1 -1
- package/dist/esm/ic-step.entry.js +1 -1
- package/dist/esm/ic-stepper.entry.js +1 -1
- package/dist/esm/ic-switch.entry.js +1 -1
- package/dist/esm/ic-tab-group.entry.js +1 -1
- package/dist/esm/ic-tab.entry.js +1 -1
- package/dist/esm/ic-table-of-contents.entry.js +1 -1
- package/dist/esm/ic-theme.entry.js +1 -1
- package/dist/esm/ic-time-input.entry.js +401 -99
- package/dist/esm/ic-time-input.entry.js.map +1 -1
- package/dist/esm/ic-time-selector.entry.js +838 -0
- package/dist/esm/ic-time-selector.entry.js.map +1 -0
- package/dist/esm/ic-toast.entry.js +1 -1
- package/dist/esm/ic-toggle-button_2.entry.js +449 -0
- package/dist/esm/ic-toggle-button_2.entry.js.map +1 -0
- package/dist/esm/ic-top-navigation.entry.js +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 +1 -1
- package/dist/esm/index-a7a720e7.js +8 -8
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-calendar/ic-calendar.stories.d.ts +20 -14
- package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +4 -0
- package/dist/types/components/ic-time-input/ic-time-input.d.ts +26 -6
- package/dist/types/components/ic-time-input/ic-time-input.stories.d.ts +31 -7
- package/dist/types/components/ic-time-input/test/helpers/ic-time-input.d.ts +1 -0
- package/dist/types/components/ic-time-selector/ic-time-selector.d.ts +88 -0
- package/dist/types/components/ic-time-selector/ic-time-selector.stories.d.ts +99 -0
- package/dist/types/components/ic-time-selector/ic-time-selector.types.d.ts +1 -0
- package/dist/types/components.d.ts +147 -11
- package/dist/types/utils/helpers.d.ts +14 -0
- package/dist/types/utils/types.d.ts +2 -1
- package/hydrate/index.js +1356 -131
- package/hydrate/index.mjs +1356 -131
- package/package.json +30 -30
- package/dist/cjs/helpers-6f4b406b.js.map +0 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +0 -267
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +0 -1
- package/dist/core/p-25280383.entry.js.map +0 -1
- package/dist/core/p-2c86ce4b.entry.js +0 -2
- package/dist/core/p-2c86ce4b.entry.js.map +0 -1
- package/dist/core/p-5b32aaf3.entry.js +0 -2
- package/dist/core/p-5b32aaf3.entry.js.map +0 -1
- package/dist/core/p-80111272.entry.js +0 -2
- package/dist/core/p-80111272.entry.js.map +0 -1
- package/dist/core/p-9044539c.entry.js +0 -2
- package/dist/core/p-9044539c.entry.js.map +0 -1
- package/dist/core/p-af821831.entry.js.map +0 -1
- package/dist/core/p-c3eddb99.entry.js +0 -2
- package/dist/core/p-c3eddb99.entry.js.map +0 -1
- package/dist/core/p-f48ce5f6.js +0 -2
- package/dist/core/p-f48ce5f6.js.map +0 -1
- package/dist/esm/helpers-9f228880.js.map +0 -1
- package/dist/esm/ic-toggle-button-group.entry.js.map +0 -1
- package/dist/esm/ic-toggle-button.entry.js.map +0 -1
- /package/dist/core/{p-b80b08ae.entry.js.map → p-08f24329.entry.js.map} +0 -0
- /package/dist/core/{p-615d474e.entry.js.map → p-14b8bf37.entry.js.map} +0 -0
- /package/dist/core/{p-81f12581.entry.js.map → p-169ad948.entry.js.map} +0 -0
- /package/dist/core/{p-847cbb16.entry.js.map → p-1d166343.entry.js.map} +0 -0
- /package/dist/core/{p-b4bfaf8f.entry.js.map → p-201b41c7.entry.js.map} +0 -0
- /package/dist/core/{p-24bac55f.entry.js.map → p-33509a89.entry.js.map} +0 -0
- /package/dist/core/{p-e1920777.entry.js.map → p-3389625c.entry.js.map} +0 -0
- /package/dist/core/{p-5a1cfb3c.entry.js.map → p-344752cb.entry.js.map} +0 -0
- /package/dist/core/{p-6c238418.entry.js.map → p-348d7080.entry.js.map} +0 -0
- /package/dist/core/{p-3ef2e98d.entry.js.map → p-39cdf5db.entry.js.map} +0 -0
- /package/dist/core/{p-fd20470e.entry.js.map → p-496b314f.entry.js.map} +0 -0
- /package/dist/core/{p-bd9a76d8.entry.js.map → p-508b6da3.entry.js.map} +0 -0
- /package/dist/core/{p-f5cea10d.entry.js.map → p-5e6687a8.entry.js.map} +0 -0
- /package/dist/core/{p-72171192.entry.js.map → p-60f4fe3a.entry.js.map} +0 -0
- /package/dist/core/{p-e00e67ff.entry.js.map → p-6323da7a.entry.js.map} +0 -0
- /package/dist/core/{p-c6c87e58.entry.js.map → p-6dfe0922.entry.js.map} +0 -0
- /package/dist/core/{p-fd7f3b58.entry.js.map → p-770e92cd.entry.js.map} +0 -0
- /package/dist/core/{p-7cf6b428.entry.js.map → p-79ead0e7.entry.js.map} +0 -0
- /package/dist/core/{p-285892ef.entry.js.map → p-7b4b45cf.entry.js.map} +0 -0
- /package/dist/core/{p-afedcfdb.entry.js.map → p-7efdbab8.entry.js.map} +0 -0
- /package/dist/core/{p-96177a74.entry.js.map → p-802a4bd3.entry.js.map} +0 -0
- /package/dist/core/{p-9a9605c3.entry.js.map → p-879c180d.entry.js.map} +0 -0
- /package/dist/core/{p-3891ce53.entry.js.map → p-8830011c.entry.js.map} +0 -0
- /package/dist/core/{p-444cd8d3.entry.js.map → p-8ab37b4d.entry.js.map} +0 -0
- /package/dist/core/{p-c87cc0d1.entry.js.map → p-939025af.entry.js.map} +0 -0
- /package/dist/core/{p-4992e9ac.entry.js.map → p-939b168a.entry.js.map} +0 -0
- /package/dist/core/{p-5a4344cb.entry.js.map → p-9dea5764.entry.js.map} +0 -0
- /package/dist/core/{p-90611726.entry.js.map → p-a8a92e54.entry.js.map} +0 -0
- /package/dist/core/{p-31f3fb15.entry.js.map → p-a94a7b71.entry.js.map} +0 -0
- /package/dist/core/{p-ba75ed34.entry.js.map → p-b434bd7c.entry.js.map} +0 -0
- /package/dist/core/{p-2188b483.entry.js.map → p-c0a7eed7.entry.js.map} +0 -0
- /package/dist/core/{p-2bd2f38b.entry.js.map → p-c0b227d2.entry.js.map} +0 -0
- /package/dist/core/{p-2646a629.entry.js.map → p-c32f043e.entry.js.map} +0 -0
- /package/dist/core/{p-7a0f62c2.entry.js.map → p-c4b2774d.entry.js.map} +0 -0
- /package/dist/core/{p-775b8dba.entry.js.map → p-c9525aac.entry.js.map} +0 -0
- /package/dist/core/{p-7026afad.entry.js.map → p-ca05573a.entry.js.map} +0 -0
- /package/dist/core/{p-8c580d88.entry.js.map → p-d0607a70.entry.js.map} +0 -0
- /package/dist/core/{p-15c05eb8.entry.js.map → p-d528d856.entry.js.map} +0 -0
- /package/dist/core/{p-0043b019.entry.js.map → p-da1c2883.entry.js.map} +0 -0
- /package/dist/core/{p-ffc1cea6.entry.js.map → p-e2e556ec.entry.js.map} +0 -0
- /package/dist/core/{p-e4ef4263.js.map → p-e519f607.js.map} +0 -0
- /package/dist/core/{p-3f0bce15.entry.js.map → p-e5c6d01a.entry.js.map} +0 -0
- /package/dist/core/{p-04a9f82f.entry.js.map → p-e8db8772.entry.js.map} +0 -0
- /package/dist/core/{p-e4b82731.entry.js.map → p-ea04103e.entry.js.map} +0 -0
- /package/dist/core/{p-9a95f428.entry.js.map → p-eaeb473e.entry.js.map} +0 -0
- /package/dist/core/{p-8e592393.entry.js.map → p-ecc7fd71.entry.js.map} +0 -0
- /package/dist/core/{p-6cfba272.entry.js.map → p-efe260f0.entry.js.map} +0 -0
- /package/dist/core/{p-b6d6b26e.entry.js.map → p-f1b57f91.entry.js.map} +0 -0
- /package/dist/core/{p-e4551a38.entry.js.map → p-f5dc04f7.entry.js.map} +0 -0
- /package/dist/core/{p-1900c7c7.entry.js.map → p-fd08156a.entry.js.map} +0 -0
- /package/dist/core/{p-3594922d.entry.js.map → p-fe5b51bb.entry.js.map} +0 -0
- /package/dist/core/{p-ef5b6622.entry.js.map → p-ff618439.entry.js.map} +0 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { IcDisableTimeSelection, IcSizes, IcThemeMode, IcTimeFormatSelector } from "../../utils/types";
|
|
3
|
+
import { IcTimePeriods } from "./ic-time-selector.types";
|
|
4
|
+
export declare class TimeSelector {
|
|
5
|
+
private DEFAULT_TIME_FORMAT;
|
|
6
|
+
private minutes;
|
|
7
|
+
private seconds;
|
|
8
|
+
private periods;
|
|
9
|
+
private minTime;
|
|
10
|
+
private maxTime;
|
|
11
|
+
private lastAnnouncedType?;
|
|
12
|
+
private lastAnnouncedValue?;
|
|
13
|
+
el: HTMLIcTimeSelectorElement;
|
|
14
|
+
selectedHour?: number;
|
|
15
|
+
selectedMinute?: number;
|
|
16
|
+
selectedSecond?: number;
|
|
17
|
+
selectedPeriod?: IcTimePeriods;
|
|
18
|
+
ariaLiveMessage: string;
|
|
19
|
+
/**
|
|
20
|
+
* An array of times that will be disabled in the time selector. The times can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
|
21
|
+
*/
|
|
22
|
+
disableTimes: IcDisableTimeSelection[];
|
|
23
|
+
/**
|
|
24
|
+
* The earliest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
|
25
|
+
*/
|
|
26
|
+
min: string | Date;
|
|
27
|
+
watchMinHandler(): void;
|
|
28
|
+
/**
|
|
29
|
+
* The latest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
|
30
|
+
*/
|
|
31
|
+
max: string | Date;
|
|
32
|
+
watchMaxHandler(): void;
|
|
33
|
+
/**
|
|
34
|
+
* The size of the time selector to be displayed.
|
|
35
|
+
*/
|
|
36
|
+
size: IcSizes;
|
|
37
|
+
/**
|
|
38
|
+
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
|
39
|
+
*/
|
|
40
|
+
theme?: IcThemeMode;
|
|
41
|
+
/**
|
|
42
|
+
* The format in which the time will be displayed.
|
|
43
|
+
*/
|
|
44
|
+
timeFormat: IcTimeFormatSelector;
|
|
45
|
+
/**
|
|
46
|
+
* The time period format: "12" for 12-hour, "24" for 24-hour. Defaults to "24".
|
|
47
|
+
*/
|
|
48
|
+
timePeriod: "12" | "24";
|
|
49
|
+
/**
|
|
50
|
+
* The value of the time selector. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
|
51
|
+
*/
|
|
52
|
+
value?: string | Date | null | undefined;
|
|
53
|
+
watchValueHandler(): void;
|
|
54
|
+
/**
|
|
55
|
+
* Emitted when the value has changed.
|
|
56
|
+
*/
|
|
57
|
+
icChange: EventEmitter<{
|
|
58
|
+
value: Date | null;
|
|
59
|
+
timeString: string | null;
|
|
60
|
+
timeObject: {
|
|
61
|
+
hour: string | null;
|
|
62
|
+
minute: string | null;
|
|
63
|
+
second: string | null;
|
|
64
|
+
period?: IcTimePeriods;
|
|
65
|
+
};
|
|
66
|
+
}>;
|
|
67
|
+
componentWillLoad(): void;
|
|
68
|
+
componentDidLoad(): void;
|
|
69
|
+
private getHeaderLabel;
|
|
70
|
+
private setTimeParts;
|
|
71
|
+
private setTime;
|
|
72
|
+
private renderScrollRows;
|
|
73
|
+
private scrollSelectedItem;
|
|
74
|
+
private checkIfScrollIsFinished;
|
|
75
|
+
private scrollMinTime;
|
|
76
|
+
private handleSelect;
|
|
77
|
+
private isTimeDisabled;
|
|
78
|
+
private announceSelectedColumn;
|
|
79
|
+
private getColumnValues;
|
|
80
|
+
private getSelectedValue;
|
|
81
|
+
private getHighlightedValue;
|
|
82
|
+
private handleColumnKeyDown;
|
|
83
|
+
private updateAriaLiveMessage;
|
|
84
|
+
private renderColumn;
|
|
85
|
+
private handleClear;
|
|
86
|
+
private handleConfirmClick;
|
|
87
|
+
render(): any;
|
|
88
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
let title: string;
|
|
3
|
+
let component: string;
|
|
4
|
+
namespace parameters {
|
|
5
|
+
namespace componentAPI {
|
|
6
|
+
export { readme as data };
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export default _default;
|
|
11
|
+
export namespace Default {
|
|
12
|
+
function render(): import("lit-html").TemplateResult<1>;
|
|
13
|
+
let name: string;
|
|
14
|
+
}
|
|
15
|
+
export namespace IcChangeEvent {
|
|
16
|
+
export function render_1(): import("lit-html").TemplateResult<1>;
|
|
17
|
+
export { render_1 as render };
|
|
18
|
+
let name_1: string;
|
|
19
|
+
export { name_1 as name };
|
|
20
|
+
}
|
|
21
|
+
export namespace WithValue {
|
|
22
|
+
export function render_2(): import("lit-html").TemplateResult<1>;
|
|
23
|
+
export { render_2 as render };
|
|
24
|
+
let name_2: string;
|
|
25
|
+
export { name_2 as name };
|
|
26
|
+
}
|
|
27
|
+
export namespace DateObject {
|
|
28
|
+
export function render_3(): import("lit-html").TemplateResult<1>;
|
|
29
|
+
export { render_3 as render };
|
|
30
|
+
let name_3: string;
|
|
31
|
+
export { name_3 as name };
|
|
32
|
+
}
|
|
33
|
+
export namespace ZuluTime {
|
|
34
|
+
export function render_4(): import("lit-html").TemplateResult<1>;
|
|
35
|
+
export { render_4 as render };
|
|
36
|
+
let name_4: string;
|
|
37
|
+
export { name_4 as name };
|
|
38
|
+
}
|
|
39
|
+
export namespace TimePeriod {
|
|
40
|
+
export function render_5(): import("lit-html").TemplateResult<1>;
|
|
41
|
+
export { render_5 as render };
|
|
42
|
+
let name_5: string;
|
|
43
|
+
export { name_5 as name };
|
|
44
|
+
}
|
|
45
|
+
export namespace IcChangeEventTimePeriod {
|
|
46
|
+
export function render_6(): import("lit-html").TemplateResult<1>;
|
|
47
|
+
export { render_6 as render };
|
|
48
|
+
let name_6: string;
|
|
49
|
+
export { name_6 as name };
|
|
50
|
+
}
|
|
51
|
+
export namespace DefaultValue12Hour {
|
|
52
|
+
export function render_7(): import("lit-html").TemplateResult<1>;
|
|
53
|
+
export { render_7 as render };
|
|
54
|
+
let name_7: string;
|
|
55
|
+
export { name_7 as name };
|
|
56
|
+
}
|
|
57
|
+
export namespace TimeFormat {
|
|
58
|
+
export function render_8(): import("lit-html").TemplateResult<1>;
|
|
59
|
+
export { render_8 as render };
|
|
60
|
+
let name_8: string;
|
|
61
|
+
export { name_8 as name };
|
|
62
|
+
}
|
|
63
|
+
export namespace DefaultValueTimeFormat {
|
|
64
|
+
export function render_9(): import("lit-html").TemplateResult<1>;
|
|
65
|
+
export { render_9 as render };
|
|
66
|
+
let name_9: string;
|
|
67
|
+
export { name_9 as name };
|
|
68
|
+
}
|
|
69
|
+
export namespace MinTime {
|
|
70
|
+
export function render_10(): import("lit-html").TemplateResult<1>;
|
|
71
|
+
export { render_10 as render };
|
|
72
|
+
let name_10: string;
|
|
73
|
+
export { name_10 as name };
|
|
74
|
+
}
|
|
75
|
+
export namespace MaxTime {
|
|
76
|
+
export function render_11(): import("lit-html").TemplateResult<1>;
|
|
77
|
+
export { render_11 as render };
|
|
78
|
+
let name_11: string;
|
|
79
|
+
export { name_11 as name };
|
|
80
|
+
}
|
|
81
|
+
export namespace DisableTimes {
|
|
82
|
+
export function render_12(): import("lit-html").TemplateResult<1>;
|
|
83
|
+
export { render_12 as render };
|
|
84
|
+
let name_12: string;
|
|
85
|
+
export { name_12 as name };
|
|
86
|
+
}
|
|
87
|
+
export namespace Small {
|
|
88
|
+
export function render_13(): import("lit-html").TemplateResult<1>;
|
|
89
|
+
export { render_13 as render };
|
|
90
|
+
let name_13: string;
|
|
91
|
+
export { name_13 as name };
|
|
92
|
+
}
|
|
93
|
+
export namespace Large {
|
|
94
|
+
export function render_14(): import("lit-html").TemplateResult<1>;
|
|
95
|
+
export { render_14 as render };
|
|
96
|
+
let name_14: string;
|
|
97
|
+
export { name_14 as name };
|
|
98
|
+
}
|
|
99
|
+
import readme from "./readme.md";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type IcTimePeriods = "AM" | "PM";
|
|
@@ -5,15 +5,17 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { IcAriaLive, IcCardDensity, IcDateFormat, IcDateValueFormat, IcDisableTimeSelection, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcPositionTopOrRight, IcSizes, IcThemeMode, IcTimeFormat, IcWeekDays } from "./utils/types";
|
|
8
|
+
import { IcAriaLive, IcCardDensity, IcDateFormat, IcDateValueFormat, IcDisableTimeSelection, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcPositionTopOrRight, IcSizes, IcThemeMode, IcTimeFormat, IcTimeFormatSelector, IcWeekDays } from "./utils/types";
|
|
9
9
|
import { IcDataTableColumnObject, IcDataTableDataType, IcDataTableDensityOptions, IcDataTableRowHeights, IcDataTableSortOrderOptions, IcDataTableTruncationTypes, IcDensityUpdateEventDetail, IcSortEventDetail } from "./components/ic-data-table/ic-data-table.types";
|
|
10
10
|
import { IcPaginationAlignmentOptions, IcPaginationLabelTypes, IcPaginationTypes } from "@ukic/web-components/dist/types/components/ic-pagination/ic-pagination.types";
|
|
11
11
|
import { IcItemsPerPageChangeEventDetail, IcPageChangeEventDetail } from "./components/ic-pagination-bar/ic-pagination-bar.types";
|
|
12
|
+
import { IcTimePeriods } from "./components/ic-time-selector/ic-time-selector.types";
|
|
12
13
|
import { IcTreeItemOptions } from "./components/ic-tree-view/ic-tree-view.types";
|
|
13
|
-
export { IcAriaLive, IcCardDensity, IcDateFormat, IcDateValueFormat, IcDisableTimeSelection, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcPositionTopOrRight, IcSizes, IcThemeMode, IcTimeFormat, IcWeekDays } from "./utils/types";
|
|
14
|
+
export { IcAriaLive, IcCardDensity, IcDateFormat, IcDateValueFormat, IcDisableTimeSelection, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcPositionTopOrRight, IcSizes, IcThemeMode, IcTimeFormat, IcTimeFormatSelector, IcWeekDays } from "./utils/types";
|
|
14
15
|
export { IcDataTableColumnObject, IcDataTableDataType, IcDataTableDensityOptions, IcDataTableRowHeights, IcDataTableSortOrderOptions, IcDataTableTruncationTypes, IcDensityUpdateEventDetail, IcSortEventDetail } from "./components/ic-data-table/ic-data-table.types";
|
|
15
16
|
export { IcPaginationAlignmentOptions, IcPaginationLabelTypes, IcPaginationTypes } from "@ukic/web-components/dist/types/components/ic-pagination/ic-pagination.types";
|
|
16
17
|
export { IcItemsPerPageChangeEventDetail, IcPageChangeEventDetail } from "./components/ic-pagination-bar/ic-pagination-bar.types";
|
|
18
|
+
export { IcTimePeriods } from "./components/ic-time-selector/ic-time-selector.types";
|
|
17
19
|
export { IcTreeItemOptions } from "./components/ic-tree-view/ic-tree-view.types";
|
|
18
20
|
export namespace Components {
|
|
19
21
|
interface IcCalendar {
|
|
@@ -540,6 +542,10 @@ export namespace Components {
|
|
|
540
542
|
"value"?: IcDateValueFormat;
|
|
541
543
|
}
|
|
542
544
|
interface IcPaginationBar {
|
|
545
|
+
/**
|
|
546
|
+
* The accessible label passed down to the pagination component to provide context for screen reader users.
|
|
547
|
+
*/
|
|
548
|
+
"accessibleLabel"?: string;
|
|
543
549
|
/**
|
|
544
550
|
* Sets the alignment of the items in the pagination bar.
|
|
545
551
|
*/
|
|
@@ -664,7 +670,7 @@ export namespace Components {
|
|
|
664
670
|
*/
|
|
665
671
|
"disabled": boolean;
|
|
666
672
|
/**
|
|
667
|
-
* If `true`, every individual input field completed will emit an
|
|
673
|
+
* If `true`, every individual input field completed will emit an icTimeChange event.
|
|
668
674
|
*/
|
|
669
675
|
"emitTimePartChange"?: boolean;
|
|
670
676
|
/**
|
|
@@ -712,6 +718,10 @@ export namespace Components {
|
|
|
712
718
|
* If `true`, the input will require a value.
|
|
713
719
|
*/
|
|
714
720
|
"required": boolean;
|
|
721
|
+
/**
|
|
722
|
+
* If `true`, the time input will show an AM/PM toggle when in 12-hour time period.
|
|
723
|
+
*/
|
|
724
|
+
"showAmPmToggle"?: boolean;
|
|
715
725
|
/**
|
|
716
726
|
* If `true`, a button which clears the time input when clicked will be displayed.
|
|
717
727
|
*/
|
|
@@ -733,7 +743,7 @@ export namespace Components {
|
|
|
733
743
|
* The time period format: "12" for 12-hour, "24" for 24-hour. Defaults to "24".
|
|
734
744
|
*/
|
|
735
745
|
"timePeriod": "12" | "24";
|
|
736
|
-
"
|
|
746
|
+
"triggerIcTimeChange": (t: Date | null) => Promise<void>;
|
|
737
747
|
/**
|
|
738
748
|
* The value of the `aria-live` attribute on the validation message.
|
|
739
749
|
*/
|
|
@@ -751,6 +761,40 @@ export namespace Components {
|
|
|
751
761
|
*/
|
|
752
762
|
"value"?: IcDateValueFormat;
|
|
753
763
|
}
|
|
764
|
+
interface IcTimeSelector {
|
|
765
|
+
/**
|
|
766
|
+
* An array of times that will be disabled in the time selector. The times can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
|
767
|
+
*/
|
|
768
|
+
"disableTimes": IcDisableTimeSelection[];
|
|
769
|
+
/**
|
|
770
|
+
* The latest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
|
771
|
+
*/
|
|
772
|
+
"max": string | Date;
|
|
773
|
+
/**
|
|
774
|
+
* The earliest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
|
775
|
+
*/
|
|
776
|
+
"min": string | Date;
|
|
777
|
+
/**
|
|
778
|
+
* The size of the time selector to be displayed.
|
|
779
|
+
*/
|
|
780
|
+
"size": IcSizes;
|
|
781
|
+
/**
|
|
782
|
+
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
|
783
|
+
*/
|
|
784
|
+
"theme"?: IcThemeMode;
|
|
785
|
+
/**
|
|
786
|
+
* The format in which the time will be displayed.
|
|
787
|
+
*/
|
|
788
|
+
"timeFormat": IcTimeFormatSelector;
|
|
789
|
+
/**
|
|
790
|
+
* The time period format: "12" for 12-hour, "24" for 24-hour. Defaults to "24".
|
|
791
|
+
*/
|
|
792
|
+
"timePeriod": "12" | "24";
|
|
793
|
+
/**
|
|
794
|
+
* The value of the time selector. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
|
795
|
+
*/
|
|
796
|
+
"value"?: string | Date | null | undefined;
|
|
797
|
+
}
|
|
754
798
|
interface IcTreeItem {
|
|
755
799
|
/**
|
|
756
800
|
* If `true`, the tree item appears in the disabled state.
|
|
@@ -865,6 +909,10 @@ export interface IcTimeInputCustomEvent<T> extends CustomEvent<T> {
|
|
|
865
909
|
detail: T;
|
|
866
910
|
target: HTMLIcTimeInputElement;
|
|
867
911
|
}
|
|
912
|
+
export interface IcTimeSelectorCustomEvent<T> extends CustomEvent<T> {
|
|
913
|
+
detail: T;
|
|
914
|
+
target: HTMLIcTimeSelectorElement;
|
|
915
|
+
}
|
|
868
916
|
export interface IcTreeItemCustomEvent<T> extends CustomEvent<T> {
|
|
869
917
|
detail: T;
|
|
870
918
|
target: HTMLIcTreeItemElement;
|
|
@@ -1029,12 +1077,14 @@ declare global {
|
|
|
1029
1077
|
interface HTMLIcTimeInputElementEventMap {
|
|
1030
1078
|
"clockButtonClicked": { value: Date | null };
|
|
1031
1079
|
"icBlur": { value: Date | null };
|
|
1032
|
-
"
|
|
1080
|
+
"icTimeChange": {
|
|
1033
1081
|
value: Date | null;
|
|
1034
1082
|
timeObject: {
|
|
1035
1083
|
hour: string | null;
|
|
1036
1084
|
minute: string | null;
|
|
1037
1085
|
second: string | null;
|
|
1086
|
+
millisecond: string | null;
|
|
1087
|
+
period: string | null;
|
|
1038
1088
|
};
|
|
1039
1089
|
};
|
|
1040
1090
|
"icFocus": { value: Date | null };
|
|
@@ -1053,6 +1103,32 @@ declare global {
|
|
|
1053
1103
|
prototype: HTMLIcTimeInputElement;
|
|
1054
1104
|
new (): HTMLIcTimeInputElement;
|
|
1055
1105
|
};
|
|
1106
|
+
interface HTMLIcTimeSelectorElementEventMap {
|
|
1107
|
+
"icChange": {
|
|
1108
|
+
value: Date | null;
|
|
1109
|
+
timeString: string | null;
|
|
1110
|
+
timeObject: {
|
|
1111
|
+
hour: string | null;
|
|
1112
|
+
minute: string | null;
|
|
1113
|
+
second: string | null;
|
|
1114
|
+
period?: IcTimePeriods;
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
}
|
|
1118
|
+
interface HTMLIcTimeSelectorElement extends Components.IcTimeSelector, HTMLStencilElement {
|
|
1119
|
+
addEventListener<K extends keyof HTMLIcTimeSelectorElementEventMap>(type: K, listener: (this: HTMLIcTimeSelectorElement, ev: IcTimeSelectorCustomEvent<HTMLIcTimeSelectorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1120
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1121
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1122
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1123
|
+
removeEventListener<K extends keyof HTMLIcTimeSelectorElementEventMap>(type: K, listener: (this: HTMLIcTimeSelectorElement, ev: IcTimeSelectorCustomEvent<HTMLIcTimeSelectorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1124
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1125
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1126
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1127
|
+
}
|
|
1128
|
+
var HTMLIcTimeSelectorElement: {
|
|
1129
|
+
prototype: HTMLIcTimeSelectorElement;
|
|
1130
|
+
new (): HTMLIcTimeSelectorElement;
|
|
1131
|
+
};
|
|
1056
1132
|
interface HTMLIcTreeItemElementEventMap {
|
|
1057
1133
|
"icTreeItemSelected": { id: string };
|
|
1058
1134
|
"icTreeItemExpanded": {
|
|
@@ -1090,6 +1166,7 @@ declare global {
|
|
|
1090
1166
|
"ic-pagination-bar": HTMLIcPaginationBarElement;
|
|
1091
1167
|
"ic-table-of-contents": HTMLIcTableOfContentsElement;
|
|
1092
1168
|
"ic-time-input": HTMLIcTimeInputElement;
|
|
1169
|
+
"ic-time-selector": HTMLIcTimeSelectorElement;
|
|
1093
1170
|
"ic-tree-item": HTMLIcTreeItemElement;
|
|
1094
1171
|
"ic-tree-view": HTMLIcTreeViewElement;
|
|
1095
1172
|
}
|
|
@@ -1690,6 +1767,10 @@ declare namespace LocalJSX {
|
|
|
1690
1767
|
"value"?: IcDateValueFormat;
|
|
1691
1768
|
}
|
|
1692
1769
|
interface IcPaginationBar {
|
|
1770
|
+
/**
|
|
1771
|
+
* The accessible label passed down to the pagination component to provide context for screen reader users.
|
|
1772
|
+
*/
|
|
1773
|
+
"accessibleLabel"?: string;
|
|
1693
1774
|
/**
|
|
1694
1775
|
* Sets the alignment of the items in the pagination bar.
|
|
1695
1776
|
*/
|
|
@@ -1822,7 +1903,7 @@ declare namespace LocalJSX {
|
|
|
1822
1903
|
*/
|
|
1823
1904
|
"disabled"?: boolean;
|
|
1824
1905
|
/**
|
|
1825
|
-
* If `true`, every individual input field completed will emit an
|
|
1906
|
+
* If `true`, every individual input field completed will emit an icTimeChange event.
|
|
1826
1907
|
*/
|
|
1827
1908
|
"emitTimePartChange"?: boolean;
|
|
1828
1909
|
/**
|
|
@@ -1865,25 +1946,31 @@ declare namespace LocalJSX {
|
|
|
1865
1946
|
* Emitted when the input loses focus.
|
|
1866
1947
|
*/
|
|
1867
1948
|
"onIcBlur"?: (event: IcTimeInputCustomEvent<{ value: Date | null }>) => void;
|
|
1949
|
+
/**
|
|
1950
|
+
* Emitted when the input gains focus.
|
|
1951
|
+
*/
|
|
1952
|
+
"onIcFocus"?: (event: IcTimeInputCustomEvent<{ value: Date | null }>) => void;
|
|
1868
1953
|
/**
|
|
1869
1954
|
* Emitted when the value has changed.
|
|
1870
1955
|
*/
|
|
1871
|
-
"
|
|
1956
|
+
"onIcTimeChange"?: (event: IcTimeInputCustomEvent<{
|
|
1872
1957
|
value: Date | null;
|
|
1873
1958
|
timeObject: {
|
|
1874
1959
|
hour: string | null;
|
|
1875
1960
|
minute: string | null;
|
|
1876
1961
|
second: string | null;
|
|
1962
|
+
millisecond: string | null;
|
|
1963
|
+
period: string | null;
|
|
1877
1964
|
};
|
|
1878
1965
|
}>) => void;
|
|
1879
|
-
/**
|
|
1880
|
-
* Emitted when the input gains focus.
|
|
1881
|
-
*/
|
|
1882
|
-
"onIcFocus"?: (event: IcTimeInputCustomEvent<{ value: Date | null }>) => void;
|
|
1883
1966
|
/**
|
|
1884
1967
|
* If `true`, the input will require a value.
|
|
1885
1968
|
*/
|
|
1886
1969
|
"required"?: boolean;
|
|
1970
|
+
/**
|
|
1971
|
+
* If `true`, the time input will show an AM/PM toggle when in 12-hour time period.
|
|
1972
|
+
*/
|
|
1973
|
+
"showAmPmToggle"?: boolean;
|
|
1887
1974
|
/**
|
|
1888
1975
|
* If `true`, a button which clears the time input when clicked will be displayed.
|
|
1889
1976
|
*/
|
|
@@ -1921,6 +2008,53 @@ declare namespace LocalJSX {
|
|
|
1921
2008
|
*/
|
|
1922
2009
|
"value"?: IcDateValueFormat;
|
|
1923
2010
|
}
|
|
2011
|
+
interface IcTimeSelector {
|
|
2012
|
+
/**
|
|
2013
|
+
* An array of times that will be disabled in the time selector. The times can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
|
2014
|
+
*/
|
|
2015
|
+
"disableTimes"?: IcDisableTimeSelection[];
|
|
2016
|
+
/**
|
|
2017
|
+
* The latest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
|
2018
|
+
*/
|
|
2019
|
+
"max"?: string | Date;
|
|
2020
|
+
/**
|
|
2021
|
+
* The earliest time that will be allowed. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
|
2022
|
+
*/
|
|
2023
|
+
"min"?: string | Date;
|
|
2024
|
+
/**
|
|
2025
|
+
* Emitted when the value has changed.
|
|
2026
|
+
*/
|
|
2027
|
+
"onIcChange"?: (event: IcTimeSelectorCustomEvent<{
|
|
2028
|
+
value: Date | null;
|
|
2029
|
+
timeString: string | null;
|
|
2030
|
+
timeObject: {
|
|
2031
|
+
hour: string | null;
|
|
2032
|
+
minute: string | null;
|
|
2033
|
+
second: string | null;
|
|
2034
|
+
period?: IcTimePeriods;
|
|
2035
|
+
};
|
|
2036
|
+
}>) => void;
|
|
2037
|
+
/**
|
|
2038
|
+
* The size of the time selector to be displayed.
|
|
2039
|
+
*/
|
|
2040
|
+
"size"?: IcSizes;
|
|
2041
|
+
/**
|
|
2042
|
+
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
|
2043
|
+
*/
|
|
2044
|
+
"theme"?: IcThemeMode;
|
|
2045
|
+
/**
|
|
2046
|
+
* The format in which the time will be displayed.
|
|
2047
|
+
*/
|
|
2048
|
+
"timeFormat"?: IcTimeFormatSelector;
|
|
2049
|
+
/**
|
|
2050
|
+
* The time period format: "12" for 12-hour, "24" for 24-hour. Defaults to "24".
|
|
2051
|
+
*/
|
|
2052
|
+
"timePeriod"?: "12" | "24";
|
|
2053
|
+
/**
|
|
2054
|
+
* The value of the time selector. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
|
|
2055
|
+
*/
|
|
2056
|
+
"value"?: string | Date | null | undefined;
|
|
2057
|
+
}
|
|
1924
2058
|
interface IcTreeItem {
|
|
1925
2059
|
/**
|
|
1926
2060
|
* If `true`, the tree item appears in the disabled state.
|
|
@@ -2018,6 +2152,7 @@ declare namespace LocalJSX {
|
|
|
2018
2152
|
"ic-pagination-bar": IcPaginationBar;
|
|
2019
2153
|
"ic-table-of-contents": IcTableOfContents;
|
|
2020
2154
|
"ic-time-input": IcTimeInput;
|
|
2155
|
+
"ic-time-selector": IcTimeSelector;
|
|
2021
2156
|
"ic-tree-item": IcTreeItem;
|
|
2022
2157
|
"ic-tree-view": IcTreeView;
|
|
2023
2158
|
}
|
|
@@ -2035,6 +2170,7 @@ declare module "@stencil/core" {
|
|
|
2035
2170
|
"ic-pagination-bar": LocalJSX.IcPaginationBar & JSXBase.HTMLAttributes<HTMLIcPaginationBarElement>;
|
|
2036
2171
|
"ic-table-of-contents": LocalJSX.IcTableOfContents & JSXBase.HTMLAttributes<HTMLIcTableOfContentsElement>;
|
|
2037
2172
|
"ic-time-input": LocalJSX.IcTimeInput & JSXBase.HTMLAttributes<HTMLIcTimeInputElement>;
|
|
2173
|
+
"ic-time-selector": LocalJSX.IcTimeSelector & JSXBase.HTMLAttributes<HTMLIcTimeSelectorElement>;
|
|
2038
2174
|
"ic-tree-item": LocalJSX.IcTreeItem & JSXBase.HTMLAttributes<HTMLIcTreeItemElement>;
|
|
2039
2175
|
"ic-tree-view": LocalJSX.IcTreeView & JSXBase.HTMLAttributes<HTMLIcTreeViewElement>;
|
|
2040
2176
|
}
|
|
@@ -169,3 +169,17 @@ export declare const addDataToPosition: (dataObject: IcDataTableDataType, newKey
|
|
|
169
169
|
export declare const isSlottedInGroup: (component: HTMLElement) => boolean;
|
|
170
170
|
export declare const hasDynamicChildSlots: (mutationList: MutationRecord[], slotNames: string | string[]) => boolean;
|
|
171
171
|
export declare const renderDynamicChildSlots: (mutationList: MutationRecord[], slotNames: string | string[], ref: unknown) => void;
|
|
172
|
+
/**
|
|
173
|
+
* Parses a time string (HH:MM or HH:MM:SS) or Date and returns both Date and time parts.
|
|
174
|
+
* @param value string or Date
|
|
175
|
+
* @returns { date: Date | null, parts: { hour: number, minute: number, second: number } | null }
|
|
176
|
+
*/
|
|
177
|
+
export declare function parseTimeHelper(value: string | Date): {
|
|
178
|
+
date: Date | null;
|
|
179
|
+
parts: {
|
|
180
|
+
hour: number;
|
|
181
|
+
minute: number;
|
|
182
|
+
second: number;
|
|
183
|
+
millisecond: number;
|
|
184
|
+
} | null;
|
|
185
|
+
};
|
|
@@ -117,7 +117,8 @@ export interface IcPaginationBarOptions {
|
|
|
117
117
|
}
|
|
118
118
|
export type IcDateFormat = "DD/MM/YYYY" | "MM/DD/YYYY" | "YYYY/MM/DD";
|
|
119
119
|
export type IcDateValueFormat = string | Date | null | undefined;
|
|
120
|
-
export type IcTimeFormat = "HH:MM" | "HH:MM:SS";
|
|
120
|
+
export type IcTimeFormat = "HH:MM" | "HH:MM:SS" | "HH:MM:SS.SSS";
|
|
121
|
+
export type IcTimeFormatSelector = "HH:MM" | "HH:MM:SS";
|
|
121
122
|
export type IcDisableTimeSelection = string | Date | {
|
|
122
123
|
start: string | Date;
|
|
123
124
|
end: string | Date;
|