@ukic/canary-web-components 3.0.0-canary.30 → 3.0.0-canary.32
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/date-helpers-d7ee7b45.js.map +1 -1
- package/dist/cjs/{helpers-da852478.js → helpers-6f4b406b.js} +20 -20
- package/dist/cjs/helpers-6f4b406b.js.map +1 -0
- package/dist/cjs/ic-button_3.cjs.entry.js +5 -5
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-calendar_2.cjs.entry.js +2354 -0
- package/dist/cjs/ic-calendar_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-card-horizontal.cjs.entry.js +6 -6
- package/dist/cjs/ic-card-horizontal.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox_3.cjs.entry.js +48 -17
- package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +4 -4
- package/dist/cjs/ic-data-table.cjs.entry.js +10 -8
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-picker.cjs.entry.js +98 -854
- package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +9 -5
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +11 -6
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +5 -5
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js +12 -12
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-layout-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-layout-grid-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-layout-grid.cjs.entry.js +2 -2
- package/dist/cjs/ic-layout-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu.cjs.entry.js +4 -4
- package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +4 -4
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +6 -6
- 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 +4 -4
- 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 +9 -6
- 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 +4 -4
- 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 +2 -2
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +13 -13
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +4 -4
- 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 +2 -2
- 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-table-of-contents.cjs.entry.js +4 -4
- package/dist/cjs/ic-theme.cjs.entry.js +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-time-input.cjs.entry.js +5 -5
- package/dist/cjs/ic-time-input.cjs.entry.js.map +1 -1
- 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 +14 -6
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- 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 +4 -4
- 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 +914 -0
- package/dist/collection/components/ic-calendar/ic-calendar.js +1542 -0
- package/dist/collection/components/ic-calendar/ic-calendar.js.map +1 -0
- package/dist/collection/components/ic-calendar/ic-calendar.stories.js +295 -0
- package/dist/collection/components/ic-calendar/ic-calendar.stories.js.map +1 -0
- package/dist/collection/components/ic-calendar/ic-day-button.js.map +1 -0
- package/dist/collection/components/ic-calendar/ic-month-picker.js +35 -0
- package/dist/collection/components/ic-calendar/ic-month-picker.js.map +1 -0
- package/dist/collection/components/ic-calendar/ic-year-picker.js +57 -0
- package/dist/collection/components/ic-calendar/ic-year-picker.js.map +1 -0
- package/dist/collection/components/ic-calendar/test/a11y/ic-calendar.test.a11y.js +13 -0
- package/dist/collection/components/ic-calendar/test/a11y/ic-calendar.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js +6 -6
- package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js.map +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.js +10 -8
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
- package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +3 -3
- package/dist/collection/components/ic-date-input/ic-date-input.js +8 -7
- 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 +7 -405
- package/dist/collection/components/ic-date-picker/ic-date-picker.js +145 -802
- 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 +110 -0
- 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 +5 -1
- package/dist/collection/components/ic-date-picker/story-data.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +56 -8
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.stories.js +28 -0
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.stories.js.map +1 -1
- package/dist/collection/components/ic-table-of-contents/ic-table-of-contents.js +3 -3
- package/dist/collection/components/ic-time-input/ic-time-input.js +9 -8
- package/dist/collection/components/ic-time-input/ic-time-input.js.map +1 -1
- 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 -0
- package/dist/collection/utils/date-helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/{esm/date-helpers-2b531c8c.js → components/date-helpers.js} +2 -2
- package/dist/components/date-helpers.js.map +1 -0
- package/dist/components/helpers2.js +20 -20
- package/dist/components/helpers2.js.map +1 -1
- package/dist/components/ic-calendar.d.ts +11 -0
- package/dist/components/ic-calendar.js +8 -0
- package/dist/components/ic-calendar.js.map +1 -0
- package/dist/components/ic-calendar2.js +1235 -0
- package/dist/components/ic-calendar2.js.map +1 -0
- package/dist/components/ic-card-horizontal.js +6 -6
- package/dist/components/ic-card-horizontal.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +2 -2
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox2.js +31 -8
- package/dist/components/ic-checkbox2.js.map +1 -1
- package/dist/components/ic-data-list.js +2 -2
- package/dist/components/ic-data-list.js.map +1 -1
- package/dist/components/ic-data-row.js +2 -2
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-data-table-title-bar.js +3 -3
- package/dist/components/ic-data-table.js +10 -8
- package/dist/components/ic-data-table.js.map +1 -1
- package/dist/components/ic-date-input2.js +6 -88
- package/dist/components/ic-date-input2.js.map +1 -1
- package/dist/components/ic-date-picker.js +113 -880
- package/dist/components/ic-date-picker.js.map +1 -1
- package/dist/components/ic-dialog.js +1 -1
- package/dist/components/ic-dialog.js.map +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.js +2 -2
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +10 -5
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +12 -6
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +5 -5
- 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 +2 -2
- 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 +2 -2
- package/dist/components/ic-layout-grid-item.js.map +1 -1
- package/dist/components/ic-layout-grid.js +2 -2
- package/dist/components/ic-layout-grid.js.map +1 -1
- 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 +1 -1
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu2.js +4 -4
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-group.js +2 -2
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +1 -1
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +4 -4
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +6 -6
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-bar2.js +17 -7
- package/dist/components/ic-pagination-bar2.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +1 -1
- 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 +4 -4
- 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 +10 -7
- 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 +4 -4
- 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 +13 -13
- 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 +4 -4
- 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-table-of-contents.js +3 -3
- package/dist/components/ic-text-field2.js +6 -6
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +1 -1
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-time-input.js +5 -5
- package/dist/components/ic-time-input.js.map +1 -1
- 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 +15 -6
- 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-tree-item.js +3 -3
- package/dist/components/ic-tree-view.js +4 -4
- package/dist/core/core.css +21 -9
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-9fade6ad.entry.js → p-0043b019.entry.js} +2 -2
- package/dist/core/{p-9fade6ad.entry.js.map → p-0043b019.entry.js.map} +1 -1
- package/dist/core/{p-889bb8db.entry.js → p-04cb17d7.entry.js} +2 -2
- package/dist/core/{p-889bb8db.entry.js.map → p-04cb17d7.entry.js.map} +1 -1
- package/dist/core/{p-5ef453b6.entry.js → p-15c05eb8.entry.js} +2 -2
- package/dist/core/{p-5ef453b6.entry.js.map → p-15c05eb8.entry.js.map} +1 -1
- package/dist/core/{p-1be092cc.entry.js → p-2188b483.entry.js} +2 -2
- package/dist/core/{p-1be092cc.entry.js.map → p-2188b483.entry.js.map} +1 -1
- package/dist/core/{p-8c94541e.entry.js → p-24bac55f.entry.js} +2 -2
- package/dist/core/{p-8c94541e.entry.js.map → p-24bac55f.entry.js.map} +1 -1
- package/dist/core/p-25280383.entry.js +2 -0
- package/dist/core/p-25280383.entry.js.map +1 -0
- package/dist/core/{p-7f304d85.entry.js → p-2646a629.entry.js} +2 -2
- package/dist/core/{p-7f304d85.entry.js.map → p-2646a629.entry.js.map} +1 -1
- package/dist/core/p-285892ef.entry.js +2 -0
- package/dist/core/p-285892ef.entry.js.map +1 -0
- package/dist/core/p-2bd2f38b.entry.js +2 -0
- package/dist/core/p-2bd2f38b.entry.js.map +1 -0
- package/dist/core/p-2c86ce4b.entry.js +2 -0
- package/dist/core/p-2c86ce4b.entry.js.map +1 -0
- package/dist/core/{p-5cf704e3.entry.js → p-319e3d5b.entry.js} +2 -2
- package/dist/core/{p-5cf704e3.entry.js.map → p-319e3d5b.entry.js.map} +1 -1
- package/dist/core/{p-9e200827.entry.js → p-31f3fb15.entry.js} +2 -2
- package/dist/core/{p-9e200827.entry.js.map → p-31f3fb15.entry.js.map} +1 -1
- package/dist/core/{p-fd64c0e5.entry.js → p-3891ce53.entry.js} +2 -2
- package/dist/core/{p-fd64c0e5.entry.js.map → p-3891ce53.entry.js.map} +1 -1
- package/dist/core/{p-df220b91.entry.js → p-3ef2e98d.entry.js} +2 -2
- package/dist/core/p-4992e9ac.entry.js +2 -0
- package/dist/core/p-4992e9ac.entry.js.map +1 -0
- package/dist/core/{p-93e1ba0a.entry.js → p-5254a078.entry.js} +2 -2
- package/dist/core/{p-93e1ba0a.entry.js.map → p-5254a078.entry.js.map} +1 -1
- package/dist/core/{p-9c2e9189.entry.js → p-53740194.entry.js} +2 -2
- package/dist/core/{p-9c2e9189.entry.js.map → p-53740194.entry.js.map} +1 -1
- package/dist/core/{p-e380a54e.entry.js → p-5a4344cb.entry.js} +2 -2
- package/dist/core/{p-e380a54e.entry.js.map → p-5a4344cb.entry.js.map} +1 -1
- package/dist/core/p-5b32aaf3.entry.js +2 -0
- package/dist/core/p-5b32aaf3.entry.js.map +1 -0
- package/dist/core/{p-d8200098.entry.js → p-67c3985d.entry.js} +2 -2
- package/dist/core/{p-d8200098.entry.js.map → p-67c3985d.entry.js.map} +1 -1
- package/dist/core/p-6cfba272.entry.js +2 -0
- package/dist/core/p-6cfba272.entry.js.map +1 -0
- package/dist/core/{p-bc441e4c.js → p-75c3b882.js} +2 -2
- package/dist/core/{p-bc441e4c.js.map → p-75c3b882.js.map} +1 -1
- package/dist/core/p-775b8dba.entry.js +2 -0
- package/dist/core/p-775b8dba.entry.js.map +1 -0
- package/dist/core/{p-b88db5e3.entry.js → p-7a0f62c2.entry.js} +2 -2
- package/dist/core/{p-b88db5e3.entry.js.map → p-7a0f62c2.entry.js.map} +1 -1
- package/dist/core/p-80111272.entry.js +2 -0
- package/dist/core/p-80111272.entry.js.map +1 -0
- package/dist/core/p-81f12581.entry.js +2 -0
- package/dist/core/p-81f12581.entry.js.map +1 -0
- package/dist/core/{p-193afb53.entry.js → p-847cbb16.entry.js} +2 -2
- package/dist/core/{p-193afb53.entry.js.map → p-847cbb16.entry.js.map} +1 -1
- package/dist/core/{p-f3ccaa0b.entry.js → p-8e592393.entry.js} +2 -2
- package/dist/core/{p-f3ccaa0b.entry.js.map → p-8e592393.entry.js.map} +1 -1
- package/dist/core/p-9044539c.entry.js +2 -0
- package/dist/core/p-9044539c.entry.js.map +1 -0
- package/dist/core/{p-f4e7cae6.entry.js → p-90611726.entry.js} +2 -2
- package/dist/core/{p-f4e7cae6.entry.js.map → p-90611726.entry.js.map} +1 -1
- package/dist/core/p-96177a74.entry.js +2 -0
- package/dist/core/p-96177a74.entry.js.map +1 -0
- package/dist/core/{p-b00efb15.entry.js → p-9674b63f.entry.js} +2 -2
- package/dist/core/{p-b00efb15.entry.js.map → p-9674b63f.entry.js.map} +1 -1
- package/dist/core/{p-a27e1cee.entry.js → p-9a95f428.entry.js} +2 -2
- package/dist/core/p-9a95f428.entry.js.map +1 -0
- package/dist/core/{p-fb43abd6.entry.js → p-9ca147f3.entry.js} +2 -2
- package/dist/core/{p-fb43abd6.entry.js.map → p-9ca147f3.entry.js.map} +1 -1
- package/dist/core/{p-09c31ac6.entry.js → p-adde6c66.entry.js} +2 -2
- package/dist/core/{p-09c31ac6.entry.js.map → p-adde6c66.entry.js.map} +1 -1
- package/dist/core/{p-72b7051a.entry.js → p-af821831.entry.js} +2 -2
- package/dist/core/{p-72b7051a.entry.js.map → p-af821831.entry.js.map} +1 -1
- package/dist/core/{p-12e8dcdd.entry.js → p-afedcfdb.entry.js} +2 -2
- package/dist/core/{p-12e8dcdd.entry.js.map → p-afedcfdb.entry.js.map} +1 -1
- package/dist/core/{p-f098e531.entry.js → p-b4a2f6fa.entry.js} +2 -2
- package/dist/core/{p-f098e531.entry.js.map → p-b4a2f6fa.entry.js.map} +1 -1
- package/dist/core/p-b4bfaf8f.entry.js +2 -0
- package/dist/core/p-b4bfaf8f.entry.js.map +1 -0
- package/dist/core/{p-ea1de762.entry.js → p-b80b08ae.entry.js} +2 -2
- package/dist/core/p-b80b08ae.entry.js.map +1 -0
- package/dist/core/{p-63203e59.entry.js → p-ba75ed34.entry.js} +2 -2
- package/dist/core/{p-63203e59.entry.js.map → p-ba75ed34.entry.js.map} +1 -1
- package/dist/core/{p-15a81f32.entry.js → p-bd9a76d8.entry.js} +2 -2
- package/dist/core/{p-15a81f32.entry.js.map → p-bd9a76d8.entry.js.map} +1 -1
- package/dist/core/{p-10950727.entry.js → p-c3eddb99.entry.js} +2 -2
- package/dist/core/{p-10950727.entry.js.map → p-c3eddb99.entry.js.map} +1 -1
- package/dist/core/{p-eb958cc8.entry.js → p-c6c87e58.entry.js} +2 -2
- package/dist/core/{p-eb958cc8.entry.js.map → p-c6c87e58.entry.js.map} +1 -1
- package/dist/core/{p-c8ce7d60.entry.js → p-e00e67ff.entry.js} +2 -2
- package/dist/core/{p-c8ce7d60.entry.js.map → p-e00e67ff.entry.js.map} +1 -1
- package/dist/core/{p-069e758b.entry.js → p-e1920777.entry.js} +2 -2
- package/dist/core/p-e4551a38.entry.js +2 -0
- package/dist/core/p-e4551a38.entry.js.map +1 -0
- package/dist/core/{p-92936b49.entry.js → p-ef5b6622.entry.js} +2 -2
- package/dist/core/{p-0f22f41e.js → p-f48ce5f6.js} +2 -2
- package/dist/core/p-f48ce5f6.js.map +1 -0
- package/dist/core/{p-1ca62941.entry.js → p-f5cea10d.entry.js} +2 -2
- package/dist/core/{p-ffbf493f.entry.js → p-fd20470e.entry.js} +2 -2
- package/dist/core/p-fd20470e.entry.js.map +1 -0
- package/dist/core/p-fd7f3b58.entry.js +2 -0
- package/dist/core/p-fd7f3b58.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/date-helpers-5723de08.js +86 -0
- package/dist/esm/{date-helpers-2b531c8c.js.map → date-helpers-5723de08.js.map} +1 -1
- package/dist/esm/{helpers-89cb996d.js → helpers-9f228880.js} +21 -21
- package/dist/esm/helpers-9f228880.js.map +1 -0
- package/dist/esm/ic-button_3.entry.js +5 -5
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-calendar_2.entry.js +2349 -0
- package/dist/esm/ic-calendar_2.entry.js.map +1 -0
- package/dist/esm/ic-card-horizontal.entry.js +6 -6
- package/dist/esm/ic-card-horizontal.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +2 -2
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox_3.entry.js +48 -17
- package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
- package/dist/esm/ic-data-list.entry.js +2 -2
- package/dist/esm/ic-data-list.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +2 -2
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-data-table-title-bar.entry.js +4 -4
- package/dist/esm/ic-data-table.entry.js +10 -8
- package/dist/esm/ic-data-table.entry.js.map +1 -1
- package/dist/esm/ic-date-picker.entry.js +100 -856
- package/dist/esm/ic-date-picker.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +1 -1
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +2 -2
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +9 -5
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +11 -6
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +5 -5
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_4.entry.js +12 -12
- package/dist/esm/ic-input-component-container_4.entry.js.map +1 -1
- package/dist/esm/ic-layout-grid-item.entry.js +2 -2
- package/dist/esm/ic-layout-grid-item.entry.js.map +1 -1
- package/dist/esm/ic-layout-grid.entry.js +2 -2
- package/dist/esm/ic-layout-grid.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +1 -1
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-group.entry.js.map +1 -1
- package/dist/esm/ic-menu.entry.js +4 -4
- package/dist/esm/ic-menu.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +2 -2
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +1 -1
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +4 -4
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +6 -6
- 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 +4 -4
- 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 +9 -6
- 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 +4 -4
- 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 +2 -2
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +13 -13
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +2 -2
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +4 -4
- 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 +2 -2
- 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-table-of-contents.entry.js +4 -4
- package/dist/esm/ic-theme.entry.js +1 -1
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-time-input.entry.js +5 -5
- package/dist/esm/ic-time-input.entry.js.map +1 -1
- 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 +14 -6
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +2 -2
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +2 -2
- package/dist/esm/ic-toggle-button.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/index-a7a720e7.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-calendar/ic-calendar.d.ts +216 -0
- package/dist/types/components/ic-calendar/ic-calendar.stories.d.ts +151 -0
- package/dist/types/components/ic-calendar/test/a11y/ic-calendar.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-card-horizontal/ic-card-horizontal.d.ts +1 -2
- package/dist/types/components/ic-date-input/ic-date-input.d.ts +2 -2
- package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +22 -105
- package/dist/types/components/ic-date-picker/ic-date-picker.stories.d.ts +81 -0
- package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +9 -1
- package/dist/types/components/ic-pagination-bar/ic-pagination-bar.stories.d.ts +12 -0
- package/dist/types/components/ic-time-input/ic-time-input.d.ts +2 -2
- package/dist/types/components.d.ts +229 -14
- package/dist/types/utils/date-helpers.d.ts +1 -0
- package/dist/types/utils/types.d.ts +3 -0
- package/hydrate/index.js +6455 -5980
- package/hydrate/index.mjs +6455 -5980
- package/package.json +5 -5
- package/dist/cjs/helpers-da852478.js.map +0 -1
- package/dist/cjs/ic-date-input.cjs.entry.js +0 -1214
- package/dist/cjs/ic-date-input.cjs.entry.js.map +0 -1
- package/dist/collection/components/ic-date-picker/ic-day-button.js.map +0 -1
- package/dist/collection/components/ic-date-picker/ic-month-picker.js +0 -29
- package/dist/collection/components/ic-date-picker/ic-month-picker.js.map +0 -1
- package/dist/collection/components/ic-date-picker/ic-year-picker.js +0 -39
- package/dist/collection/components/ic-date-picker/ic-year-picker.js.map +0 -1
- package/dist/core/p-035dbee0.entry.js +0 -2
- package/dist/core/p-035dbee0.entry.js.map +0 -1
- package/dist/core/p-03ae0bc3.entry.js +0 -2
- package/dist/core/p-03ae0bc3.entry.js.map +0 -1
- package/dist/core/p-0f22f41e.js.map +0 -1
- package/dist/core/p-13c8859b.entry.js +0 -2
- package/dist/core/p-13c8859b.entry.js.map +0 -1
- package/dist/core/p-2528ecec.entry.js +0 -2
- package/dist/core/p-2528ecec.entry.js.map +0 -1
- package/dist/core/p-402870f7.entry.js +0 -2
- package/dist/core/p-402870f7.entry.js.map +0 -1
- package/dist/core/p-7bf9bbde.entry.js +0 -2
- package/dist/core/p-7bf9bbde.entry.js.map +0 -1
- package/dist/core/p-982a173d.entry.js +0 -2
- package/dist/core/p-982a173d.entry.js.map +0 -1
- package/dist/core/p-9ce9d39a.entry.js +0 -2
- package/dist/core/p-9ce9d39a.entry.js.map +0 -1
- package/dist/core/p-a27e1cee.entry.js.map +0 -1
- package/dist/core/p-a8cc28a6.entry.js +0 -2
- package/dist/core/p-a8cc28a6.entry.js.map +0 -1
- package/dist/core/p-a99ad459.entry.js +0 -2
- package/dist/core/p-a99ad459.entry.js.map +0 -1
- package/dist/core/p-bd8c2e24.entry.js +0 -2
- package/dist/core/p-bd8c2e24.entry.js.map +0 -1
- package/dist/core/p-c0d4db72.entry.js +0 -2
- package/dist/core/p-c0d4db72.entry.js.map +0 -1
- package/dist/core/p-d144ca59.entry.js +0 -2
- package/dist/core/p-d144ca59.entry.js.map +0 -1
- package/dist/core/p-ea1de762.entry.js.map +0 -1
- package/dist/core/p-f16c4210.entry.js +0 -2
- package/dist/core/p-f16c4210.entry.js.map +0 -1
- package/dist/core/p-fad44bc8.entry.js +0 -2
- package/dist/core/p-fad44bc8.entry.js.map +0 -1
- package/dist/core/p-ffbf493f.entry.js.map +0 -1
- package/dist/esm/helpers-89cb996d.js.map +0 -1
- package/dist/esm/ic-date-input.entry.js +0 -1210
- package/dist/esm/ic-date-input.entry.js.map +0 -1
- /package/dist/collection/components/{ic-date-picker → ic-calendar}/ic-day-button.js +0 -0
- /package/dist/core/{p-df220b91.entry.js.map → p-3ef2e98d.entry.js.map} +0 -0
- /package/dist/core/{p-069e758b.entry.js.map → p-e1920777.entry.js.map} +0 -0
- /package/dist/core/{p-92936b49.entry.js.map → p-ef5b6622.entry.js.map} +0 -0
- /package/dist/core/{p-1ca62941.entry.js.map → p-f5cea10d.entry.js.map} +0 -0
- /package/dist/types/components/{ic-date-picker → ic-calendar}/ic-day-button.d.ts +0 -0
- /package/dist/types/components/{ic-date-picker → ic-calendar}/ic-month-picker.d.ts +0 -0
- /package/dist/types/components/{ic-date-picker → ic-calendar}/ic-year-picker.d.ts +0 -0
|
@@ -5,19 +5,80 @@
|
|
|
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, IcDisableTimeSelection, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcPositionTopOrRight, IcSizes, IcThemeMode, IcTimeFormat, IcWeekDays } from "./utils/types";
|
|
8
|
+
import { IcAriaLive, IcCardDensity, IcDateFormat, IcDateValueFormat, IcDisableTimeSelection, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcPositionTopOrRight, IcSizes, IcThemeMode, IcTimeFormat, 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
|
-
import { IcThemeMode as IcThemeMode1 } from "@ukic/web-components";
|
|
12
11
|
import { IcItemsPerPageChangeEventDetail, IcPageChangeEventDetail } from "./components/ic-pagination-bar/ic-pagination-bar.types";
|
|
13
12
|
import { IcTreeItemOptions } from "./components/ic-tree-view/ic-tree-view.types";
|
|
14
|
-
export { IcAriaLive, IcCardDensity, IcDateFormat, IcDisableTimeSelection, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcPositionTopOrRight, IcSizes, IcThemeMode, IcTimeFormat, IcWeekDays } from "./utils/types";
|
|
13
|
+
export { IcAriaLive, IcCardDensity, IcDateFormat, IcDateValueFormat, IcDisableTimeSelection, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcPositionTopOrRight, IcSizes, IcThemeMode, IcTimeFormat, IcWeekDays } from "./utils/types";
|
|
15
14
|
export { IcDataTableColumnObject, IcDataTableDataType, IcDataTableDensityOptions, IcDataTableRowHeights, IcDataTableSortOrderOptions, IcDataTableTruncationTypes, IcDensityUpdateEventDetail, IcSortEventDetail } from "./components/ic-data-table/ic-data-table.types";
|
|
16
15
|
export { IcPaginationAlignmentOptions, IcPaginationLabelTypes, IcPaginationTypes } from "@ukic/web-components/dist/types/components/ic-pagination/ic-pagination.types";
|
|
17
|
-
export { IcThemeMode as IcThemeMode1 } from "@ukic/web-components";
|
|
18
16
|
export { IcItemsPerPageChangeEventDetail, IcPageChangeEventDetail } from "./components/ic-pagination-bar/ic-pagination-bar.types";
|
|
19
17
|
export { IcTreeItemOptions } from "./components/ic-tree-view/ic-tree-view.types";
|
|
20
18
|
export namespace Components {
|
|
19
|
+
interface IcCalendar {
|
|
20
|
+
"clearDialogDescription": () => Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* The format in which the date will be displayed.
|
|
23
|
+
*/
|
|
24
|
+
"dateFormat": IcDateFormat;
|
|
25
|
+
/**
|
|
26
|
+
* The days of the week to disable.
|
|
27
|
+
*/
|
|
28
|
+
"disableDays"?: IcWeekDays[];
|
|
29
|
+
/**
|
|
30
|
+
* If `true`, dates in the future are not allowed.
|
|
31
|
+
*/
|
|
32
|
+
"disableFuture"?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* If `true`, dates in the past are not allowed.
|
|
35
|
+
*/
|
|
36
|
+
"disablePast"?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* If `true`, the disabled state will be set.
|
|
39
|
+
*/
|
|
40
|
+
"disabled": boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The latest date that will be allowed. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object. The value of this prop is ignored if `disableFuture` is set to `true`.
|
|
43
|
+
*/
|
|
44
|
+
"max": string | Date;
|
|
45
|
+
/**
|
|
46
|
+
* The earliest date that will be allowed. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object. The value of this prop is ignored if `disablePast` is set to `true`.
|
|
47
|
+
*/
|
|
48
|
+
"min": string | Date;
|
|
49
|
+
/**
|
|
50
|
+
* The date visible when the calendar opens. Used if no date is currently selected. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
|
|
51
|
+
*/
|
|
52
|
+
"openAtDate": string | Date;
|
|
53
|
+
/**
|
|
54
|
+
* If `true`, the `Clear` button on the calendar will be visible.
|
|
55
|
+
*/
|
|
56
|
+
"showClearButton"?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* If `true`, days outside the current month will be visible in the calendar.
|
|
59
|
+
*/
|
|
60
|
+
"showDaysOutsideMonth"?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* If `true`, the `Go to today` button on the calendar will be visible.
|
|
63
|
+
*/
|
|
64
|
+
"showTodayButton"?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* The size of the calendar to be displayed.
|
|
67
|
+
*/
|
|
68
|
+
"size": IcSizes;
|
|
69
|
+
/**
|
|
70
|
+
* The first day of the week. `0` for Sunday, `1` for Monday, etc. Default is Monday.
|
|
71
|
+
*/
|
|
72
|
+
"startOfWeek": IcWeekDays;
|
|
73
|
+
/**
|
|
74
|
+
* Sets the calendar to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
|
|
75
|
+
*/
|
|
76
|
+
"theme"?: IcThemeMode;
|
|
77
|
+
/**
|
|
78
|
+
* The value of the calendar and the date visible when the calendar opens. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
|
|
79
|
+
*/
|
|
80
|
+
"value"?: IcDateValueFormat;
|
|
81
|
+
}
|
|
21
82
|
interface IcCardHorizontal {
|
|
22
83
|
/**
|
|
23
84
|
* If `true`, the horizontal card will be a clickable variant, instead of static.
|
|
@@ -350,7 +411,7 @@ export namespace Components {
|
|
|
350
411
|
/**
|
|
351
412
|
* The value of the date input. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
|
|
352
413
|
*/
|
|
353
|
-
"value"?:
|
|
414
|
+
"value"?: IcDateValueFormat;
|
|
354
415
|
}
|
|
355
416
|
interface IcDatePicker {
|
|
356
417
|
/**
|
|
@@ -476,7 +537,7 @@ export namespace Components {
|
|
|
476
537
|
/**
|
|
477
538
|
* The value of the date picker. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
|
|
478
539
|
*/
|
|
479
|
-
"value"?:
|
|
540
|
+
"value"?: IcDateValueFormat;
|
|
480
541
|
}
|
|
481
542
|
interface IcPaginationBar {
|
|
482
543
|
/**
|
|
@@ -491,6 +552,14 @@ export namespace Components {
|
|
|
491
552
|
* If `true`, the 'All' option will be hidden from the 'items per page' select input.
|
|
492
553
|
*/
|
|
493
554
|
"hideAllFromItemsPerPage"?: boolean;
|
|
555
|
+
/**
|
|
556
|
+
* If `true`, the current page of the simple pagination will not be displayed.
|
|
557
|
+
*/
|
|
558
|
+
"hideCurrentPage"?: boolean;
|
|
559
|
+
/**
|
|
560
|
+
* If `true`, the first and last page buttons will not be displayed.
|
|
561
|
+
*/
|
|
562
|
+
"hideFirstAndLastPageButton"?: boolean;
|
|
494
563
|
/**
|
|
495
564
|
* If `true`, the number of total items and current item range or number of total pages and current page will be hidden.
|
|
496
565
|
*/
|
|
@@ -541,7 +610,7 @@ export namespace Components {
|
|
|
541
610
|
/**
|
|
542
611
|
* 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.
|
|
543
612
|
*/
|
|
544
|
-
"theme"?:
|
|
613
|
+
"theme"?: IcThemeMode;
|
|
545
614
|
/**
|
|
546
615
|
* Total number of items to be displayed across all pages.
|
|
547
616
|
*/
|
|
@@ -680,7 +749,7 @@ export namespace Components {
|
|
|
680
749
|
/**
|
|
681
750
|
* The value of the time input. 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.
|
|
682
751
|
*/
|
|
683
|
-
"value"?:
|
|
752
|
+
"value"?: IcDateValueFormat;
|
|
684
753
|
}
|
|
685
754
|
interface IcTreeItem {
|
|
686
755
|
/**
|
|
@@ -768,6 +837,10 @@ export namespace Components {
|
|
|
768
837
|
"truncateTreeItems": boolean;
|
|
769
838
|
}
|
|
770
839
|
}
|
|
840
|
+
export interface IcCalendarCustomEvent<T> extends CustomEvent<T> {
|
|
841
|
+
detail: T;
|
|
842
|
+
target: HTMLIcCalendarElement;
|
|
843
|
+
}
|
|
771
844
|
export interface IcDataTableCustomEvent<T> extends CustomEvent<T> {
|
|
772
845
|
detail: T;
|
|
773
846
|
target: HTMLIcDataTableElement;
|
|
@@ -797,6 +870,35 @@ export interface IcTreeItemCustomEvent<T> extends CustomEvent<T> {
|
|
|
797
870
|
target: HTMLIcTreeItemElement;
|
|
798
871
|
}
|
|
799
872
|
declare global {
|
|
873
|
+
interface HTMLIcCalendarElementEventMap {
|
|
874
|
+
"icChange": {
|
|
875
|
+
value: Date | null;
|
|
876
|
+
dateObject: {
|
|
877
|
+
day: string | null;
|
|
878
|
+
month: string | null;
|
|
879
|
+
year: string | null;
|
|
880
|
+
};
|
|
881
|
+
utcValue: Date | null;
|
|
882
|
+
};
|
|
883
|
+
"icCalendarClearButtonClick": void;
|
|
884
|
+
"icCalendarDaySelect": void;
|
|
885
|
+
"icCalendarMonthSelect": void;
|
|
886
|
+
"icCalendarYearSelect": void;
|
|
887
|
+
}
|
|
888
|
+
interface HTMLIcCalendarElement extends Components.IcCalendar, HTMLStencilElement {
|
|
889
|
+
addEventListener<K extends keyof HTMLIcCalendarElementEventMap>(type: K, listener: (this: HTMLIcCalendarElement, ev: IcCalendarCustomEvent<HTMLIcCalendarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
890
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
891
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
892
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
893
|
+
removeEventListener<K extends keyof HTMLIcCalendarElementEventMap>(type: K, listener: (this: HTMLIcCalendarElement, ev: IcCalendarCustomEvent<HTMLIcCalendarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
894
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
895
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
896
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
897
|
+
}
|
|
898
|
+
var HTMLIcCalendarElement: {
|
|
899
|
+
prototype: HTMLIcCalendarElement;
|
|
900
|
+
new (): HTMLIcCalendarElement;
|
|
901
|
+
};
|
|
800
902
|
interface HTMLIcCardHorizontalElement extends Components.IcCardHorizontal, HTMLStencilElement {
|
|
801
903
|
}
|
|
802
904
|
var HTMLIcCardHorizontalElement: {
|
|
@@ -876,7 +978,15 @@ declare global {
|
|
|
876
978
|
new (): HTMLIcDateInputElement;
|
|
877
979
|
};
|
|
878
980
|
interface HTMLIcDatePickerElementEventMap {
|
|
879
|
-
"icChange": {
|
|
981
|
+
"icChange": {
|
|
982
|
+
value: Date | null;
|
|
983
|
+
dateObject?: {
|
|
984
|
+
day: string | null;
|
|
985
|
+
month: string | null;
|
|
986
|
+
year: string | null;
|
|
987
|
+
};
|
|
988
|
+
utcValue: Date | null;
|
|
989
|
+
};
|
|
880
990
|
}
|
|
881
991
|
interface HTMLIcDatePickerElement extends Components.IcDatePicker, HTMLStencilElement {
|
|
882
992
|
addEventListener<K extends keyof HTMLIcDatePickerElementEventMap>(type: K, listener: (this: HTMLIcDatePickerElement, ev: IcDatePickerCustomEvent<HTMLIcDatePickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -971,6 +1081,7 @@ declare global {
|
|
|
971
1081
|
new (): HTMLIcTreeViewElement;
|
|
972
1082
|
};
|
|
973
1083
|
interface HTMLElementTagNameMap {
|
|
1084
|
+
"ic-calendar": HTMLIcCalendarElement;
|
|
974
1085
|
"ic-card-horizontal": HTMLIcCardHorizontalElement;
|
|
975
1086
|
"ic-data-table": HTMLIcDataTableElement;
|
|
976
1087
|
"ic-data-table-title-bar": HTMLIcDataTableTitleBarElement;
|
|
@@ -984,6 +1095,92 @@ declare global {
|
|
|
984
1095
|
}
|
|
985
1096
|
}
|
|
986
1097
|
declare namespace LocalJSX {
|
|
1098
|
+
interface IcCalendar {
|
|
1099
|
+
/**
|
|
1100
|
+
* The format in which the date will be displayed.
|
|
1101
|
+
*/
|
|
1102
|
+
"dateFormat"?: IcDateFormat;
|
|
1103
|
+
/**
|
|
1104
|
+
* The days of the week to disable.
|
|
1105
|
+
*/
|
|
1106
|
+
"disableDays"?: IcWeekDays[];
|
|
1107
|
+
/**
|
|
1108
|
+
* If `true`, dates in the future are not allowed.
|
|
1109
|
+
*/
|
|
1110
|
+
"disableFuture"?: boolean;
|
|
1111
|
+
/**
|
|
1112
|
+
* If `true`, dates in the past are not allowed.
|
|
1113
|
+
*/
|
|
1114
|
+
"disablePast"?: boolean;
|
|
1115
|
+
/**
|
|
1116
|
+
* If `true`, the disabled state will be set.
|
|
1117
|
+
*/
|
|
1118
|
+
"disabled"?: boolean;
|
|
1119
|
+
/**
|
|
1120
|
+
* The latest date that will be allowed. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object. The value of this prop is ignored if `disableFuture` is set to `true`.
|
|
1121
|
+
*/
|
|
1122
|
+
"max"?: string | Date;
|
|
1123
|
+
/**
|
|
1124
|
+
* The earliest date that will be allowed. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object. The value of this prop is ignored if `disablePast` is set to `true`.
|
|
1125
|
+
*/
|
|
1126
|
+
"min"?: string | Date;
|
|
1127
|
+
/**
|
|
1128
|
+
* Emitted when the clear button has been clicked.
|
|
1129
|
+
*/
|
|
1130
|
+
"onIcCalendarClearButtonClick"?: (event: IcCalendarCustomEvent<void>) => void;
|
|
1131
|
+
/**
|
|
1132
|
+
* Emitted when a month is selected.
|
|
1133
|
+
*/
|
|
1134
|
+
"onIcCalendarMonthSelect"?: (event: IcCalendarCustomEvent<void>) => void;
|
|
1135
|
+
/**
|
|
1136
|
+
* Emitted when a year is selected.
|
|
1137
|
+
*/
|
|
1138
|
+
"onIcCalendarYearSelect"?: (event: IcCalendarCustomEvent<void>) => void;
|
|
1139
|
+
/**
|
|
1140
|
+
* Emitted when the value has changed.
|
|
1141
|
+
*/
|
|
1142
|
+
"onIcChange"?: (event: IcCalendarCustomEvent<{
|
|
1143
|
+
value: Date | null;
|
|
1144
|
+
dateObject: {
|
|
1145
|
+
day: string | null;
|
|
1146
|
+
month: string | null;
|
|
1147
|
+
year: string | null;
|
|
1148
|
+
};
|
|
1149
|
+
utcValue: Date | null;
|
|
1150
|
+
}>) => void;
|
|
1151
|
+
/**
|
|
1152
|
+
* The date visible when the calendar opens. Used if no date is currently selected. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
|
|
1153
|
+
*/
|
|
1154
|
+
"openAtDate"?: string | Date;
|
|
1155
|
+
/**
|
|
1156
|
+
* If `true`, the `Clear` button on the calendar will be visible.
|
|
1157
|
+
*/
|
|
1158
|
+
"showClearButton"?: boolean;
|
|
1159
|
+
/**
|
|
1160
|
+
* If `true`, days outside the current month will be visible in the calendar.
|
|
1161
|
+
*/
|
|
1162
|
+
"showDaysOutsideMonth"?: boolean;
|
|
1163
|
+
/**
|
|
1164
|
+
* If `true`, the `Go to today` button on the calendar will be visible.
|
|
1165
|
+
*/
|
|
1166
|
+
"showTodayButton"?: boolean;
|
|
1167
|
+
/**
|
|
1168
|
+
* The size of the calendar to be displayed.
|
|
1169
|
+
*/
|
|
1170
|
+
"size"?: IcSizes;
|
|
1171
|
+
/**
|
|
1172
|
+
* The first day of the week. `0` for Sunday, `1` for Monday, etc. Default is Monday.
|
|
1173
|
+
*/
|
|
1174
|
+
"startOfWeek"?: IcWeekDays;
|
|
1175
|
+
/**
|
|
1176
|
+
* Sets the calendar to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
|
|
1177
|
+
*/
|
|
1178
|
+
"theme"?: IcThemeMode;
|
|
1179
|
+
/**
|
|
1180
|
+
* The value of the calendar and the date visible when the calendar opens. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
|
|
1181
|
+
*/
|
|
1182
|
+
"value"?: IcDateValueFormat;
|
|
1183
|
+
}
|
|
987
1184
|
interface IcCardHorizontal {
|
|
988
1185
|
/**
|
|
989
1186
|
* If `true`, the horizontal card will be a clickable variant, instead of static.
|
|
@@ -1352,7 +1549,7 @@ declare namespace LocalJSX {
|
|
|
1352
1549
|
/**
|
|
1353
1550
|
* The value of the date input. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
|
|
1354
1551
|
*/
|
|
1355
|
-
"value"?:
|
|
1552
|
+
"value"?: IcDateValueFormat;
|
|
1356
1553
|
}
|
|
1357
1554
|
interface IcDatePicker {
|
|
1358
1555
|
/**
|
|
@@ -1430,7 +1627,15 @@ declare namespace LocalJSX {
|
|
|
1430
1627
|
/**
|
|
1431
1628
|
* Emitted when the value has changed.
|
|
1432
1629
|
*/
|
|
1433
|
-
"onIcChange"?: (event: IcDatePickerCustomEvent<{
|
|
1630
|
+
"onIcChange"?: (event: IcDatePickerCustomEvent<{
|
|
1631
|
+
value: Date | null;
|
|
1632
|
+
dateObject?: {
|
|
1633
|
+
day: string | null;
|
|
1634
|
+
month: string | null;
|
|
1635
|
+
year: string | null;
|
|
1636
|
+
};
|
|
1637
|
+
utcValue: Date | null;
|
|
1638
|
+
}>) => void;
|
|
1434
1639
|
/**
|
|
1435
1640
|
* The date visible when the calendar opens. Used if no date is currently selected. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
|
|
1436
1641
|
*/
|
|
@@ -1482,7 +1687,7 @@ declare namespace LocalJSX {
|
|
|
1482
1687
|
/**
|
|
1483
1688
|
* The value of the date picker. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
|
|
1484
1689
|
*/
|
|
1485
|
-
"value"?:
|
|
1690
|
+
"value"?: IcDateValueFormat;
|
|
1486
1691
|
}
|
|
1487
1692
|
interface IcPaginationBar {
|
|
1488
1693
|
/**
|
|
@@ -1497,6 +1702,14 @@ declare namespace LocalJSX {
|
|
|
1497
1702
|
* If `true`, the 'All' option will be hidden from the 'items per page' select input.
|
|
1498
1703
|
*/
|
|
1499
1704
|
"hideAllFromItemsPerPage"?: boolean;
|
|
1705
|
+
/**
|
|
1706
|
+
* If `true`, the current page of the simple pagination will not be displayed.
|
|
1707
|
+
*/
|
|
1708
|
+
"hideCurrentPage"?: boolean;
|
|
1709
|
+
/**
|
|
1710
|
+
* If `true`, the first and last page buttons will not be displayed.
|
|
1711
|
+
*/
|
|
1712
|
+
"hideFirstAndLastPageButton"?: boolean;
|
|
1500
1713
|
/**
|
|
1501
1714
|
* If `true`, the number of total items and current item range or number of total pages and current page will be hidden.
|
|
1502
1715
|
*/
|
|
@@ -1555,7 +1768,7 @@ declare namespace LocalJSX {
|
|
|
1555
1768
|
/**
|
|
1556
1769
|
* 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.
|
|
1557
1770
|
*/
|
|
1558
|
-
"theme"?:
|
|
1771
|
+
"theme"?: IcThemeMode;
|
|
1559
1772
|
/**
|
|
1560
1773
|
* Total number of items to be displayed across all pages.
|
|
1561
1774
|
*/
|
|
@@ -1706,7 +1919,7 @@ declare namespace LocalJSX {
|
|
|
1706
1919
|
/**
|
|
1707
1920
|
* The value of the time input. 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.
|
|
1708
1921
|
*/
|
|
1709
|
-
"value"?:
|
|
1922
|
+
"value"?: IcDateValueFormat;
|
|
1710
1923
|
}
|
|
1711
1924
|
interface IcTreeItem {
|
|
1712
1925
|
/**
|
|
@@ -1796,6 +2009,7 @@ declare namespace LocalJSX {
|
|
|
1796
2009
|
"truncateTreeItems"?: boolean;
|
|
1797
2010
|
}
|
|
1798
2011
|
interface IntrinsicElements {
|
|
2012
|
+
"ic-calendar": IcCalendar;
|
|
1799
2013
|
"ic-card-horizontal": IcCardHorizontal;
|
|
1800
2014
|
"ic-data-table": IcDataTable;
|
|
1801
2015
|
"ic-data-table-title-bar": IcDataTableTitleBar;
|
|
@@ -1812,6 +2026,7 @@ export { LocalJSX as JSX };
|
|
|
1812
2026
|
declare module "@stencil/core" {
|
|
1813
2027
|
export namespace JSX {
|
|
1814
2028
|
interface IntrinsicElements {
|
|
2029
|
+
"ic-calendar": LocalJSX.IcCalendar & JSXBase.HTMLAttributes<HTMLIcCalendarElement>;
|
|
1815
2030
|
"ic-card-horizontal": LocalJSX.IcCardHorizontal & JSXBase.HTMLAttributes<HTMLIcCardHorizontalElement>;
|
|
1816
2031
|
"ic-data-table": LocalJSX.IcDataTable & JSXBase.HTMLAttributes<HTMLIcDataTableElement>;
|
|
1817
2032
|
"ic-data-table-title-bar": LocalJSX.IcDataTableTitleBar & JSXBase.HTMLAttributes<HTMLIcDataTableTitleBarElement>;
|
|
@@ -14,6 +14,7 @@ export declare const addSixWeeks: (start: Date) => Date;
|
|
|
14
14
|
* Compare if two dates are equal exactly equal
|
|
15
15
|
*/
|
|
16
16
|
export declare const dateMatches: (a: Date | null, b: Date | null) => boolean;
|
|
17
|
+
export declare const dateIsToday: (d: Date) => boolean;
|
|
17
18
|
export declare const clampDate: (date: Date, min: Date | null, max: Date | null) => Date;
|
|
18
19
|
/**
|
|
19
20
|
* Compare if date is within specified range
|
|
@@ -96,6 +96,8 @@ export type IcThemeSettings = "dark" | "light" | "system";
|
|
|
96
96
|
export interface IcPaginationBarOptions {
|
|
97
97
|
alignment?: IcPaginationAlignmentOptions;
|
|
98
98
|
hideAllFromItemsPerPage?: boolean;
|
|
99
|
+
hideCurrentPage?: boolean;
|
|
100
|
+
hideFirstAndLastPageButton?: boolean;
|
|
99
101
|
hideRangeLabel?: boolean;
|
|
100
102
|
itemLabel?: string;
|
|
101
103
|
itemsPerPageOptions?: {
|
|
@@ -114,6 +116,7 @@ export interface IcPaginationBarOptions {
|
|
|
114
116
|
type?: IcPaginationTypes;
|
|
115
117
|
}
|
|
116
118
|
export type IcDateFormat = "DD/MM/YYYY" | "MM/DD/YYYY" | "YYYY/MM/DD";
|
|
119
|
+
export type IcDateValueFormat = string | Date | null | undefined;
|
|
117
120
|
export type IcTimeFormat = "HH:MM" | "HH:MM:SS";
|
|
118
121
|
export type IcDisableTimeSelection = string | Date | {
|
|
119
122
|
start: string | Date;
|