@ukic/canary-web-components 2.0.0-canary.8 → 2.0.0-canary.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/date-helpers-c9551119.js +150 -0
- package/dist/cjs/date-helpers-c9551119.js.map +1 -0
- package/dist/cjs/{helpers-b525d45a.js → helpers-7a069459.js} +7 -2
- package/dist/cjs/helpers-7a069459.js.map +1 -0
- package/dist/cjs/{helpers-93c5fc92.js → helpers-f75cf7cf.js} +94 -12
- package/dist/cjs/helpers-f75cf7cf.js.map +1 -0
- package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +8 -2
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
- package/dist/cjs/ic-date-input.cjs.entry.js +1073 -0
- package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-date-picker.cjs.entry.js +1043 -0
- package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js +150 -0
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-with-multi.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -1
- package/dist/cjs/{ic-input-component-container_3.cjs.entry.js → ic-menu.cjs.entry.js} +3 -67
- package/dist/cjs/ic-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination-bar.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
- package/dist/cjs/ic-select-with-multi.cjs.entry.js +6 -19
- package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +1 -1
- package/dist/cjs/index-4cf27b16.js +12 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/calendar.svg +3 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/ic-date-input/ic-date-input.css +560 -0
- package/dist/collection/components/ic-date-input/ic-date-input.js +1668 -0
- package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -0
- package/dist/collection/components/ic-date-input/story-data.js +28 -0
- package/dist/collection/components/ic-date-input/story-data.js.map +1 -0
- package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js +1156 -0
- package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js.map +1 -0
- package/dist/collection/components/ic-date-input/test/helpers/ic-date-input.js +42 -0
- package/dist/collection/components/ic-date-input/test/helpers/ic-date-input.js.map +1 -0
- package/dist/collection/components/ic-date-picker/ic-date-picker.css +878 -0
- package/dist/collection/components/ic-date-picker/ic-date-picker.js +1499 -0
- package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -0
- package/dist/collection/components/ic-date-picker/ic-day-button.js +36 -0
- package/dist/collection/components/ic-date-picker/ic-day-button.js.map +1 -0
- package/dist/collection/components/ic-date-picker/ic-month-picker.js +29 -0
- package/dist/collection/components/ic-date-picker/ic-month-picker.js.map +1 -0
- package/dist/collection/components/ic-date-picker/ic-year-picker.js +39 -0
- package/dist/collection/components/ic-date-picker/ic-year-picker.js.map +1 -0
- package/dist/collection/components/ic-date-picker/story-data.js +143 -0
- package/dist/collection/components/ic-date-picker/story-data.js.map +1 -0
- package/dist/collection/components/ic-date-picker/test/a11y/ic-date-picker.test.a11y.js +13 -0
- package/dist/collection/components/ic-date-picker/test/a11y/ic-date-picker.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker-utils.spec.js +207 -0
- package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker-utils.spec.js.map +1 -0
- package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker.spec.js +962 -0
- package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker.spec.js.map +1 -0
- package/dist/collection/components/ic-menu-with-multi/ic-menu.js +2 -2
- package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-select-with-multi/ic-select.js +2 -2
- package/dist/collection/components/ic-select-with-multi/ic-select.js.map +1 -1
- package/dist/collection/utils/constants.js +55 -0
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/date-helpers.js +133 -0
- package/dist/collection/utils/date-helpers.js.map +1 -0
- package/dist/collection/utils/helpers.js +259 -10
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js +45 -0
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +7 -2
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/helpers2.js +91 -12
- package/dist/components/helpers2.js.map +1 -1
- package/dist/components/ic-button2.js +11 -3
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +1 -1
- package/dist/components/ic-checkbox-group.js +1 -1
- package/dist/components/ic-checkbox.js +1 -1
- package/dist/components/ic-chip.js +1 -1
- package/dist/components/ic-date-input.d.ts +11 -0
- package/dist/components/ic-date-input.js +8 -0
- package/dist/components/ic-date-input.js.map +1 -0
- package/dist/components/ic-date-input2.js +1301 -0
- package/dist/components/ic-date-input2.js.map +1 -0
- package/dist/components/ic-date-picker.d.ts +11 -0
- package/dist/components/ic-date-picker.js +1164 -0
- package/dist/components/ic-date-picker.js.map +1 -0
- package/dist/components/ic-input-component-container2.js +1 -1
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-link2.js +1 -1
- package/dist/components/ic-menu-item2.js +1 -1
- package/dist/components/ic-menu3.js +1 -1
- package/dist/components/ic-menu3.js.map +1 -1
- package/dist/components/ic-navigation-button.js +1 -1
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-pagination2.js +1 -1
- package/dist/components/ic-radio-group.js +1 -1
- package/dist/components/ic-radio-option.js +1 -1
- package/dist/components/ic-search-bar.js +1 -1
- package/dist/components/ic-select-with-multi.js +1 -14
- package/dist/components/ic-select-with-multi.js.map +1 -1
- package/dist/components/ic-select2.js +1 -1
- package/dist/components/ic-switch.js +1 -1
- package/dist/components/ic-tab.js +1 -1
- package/dist/components/ic-text-field2.js +1 -1
- package/dist/components/ic-toggle-button.js +1 -1
- package/dist/core/core.css +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-8b08d8fe.entry.js → p-06ae5bec.entry.js} +2 -2
- package/dist/core/{p-f843da01.entry.js → p-0939ce92.entry.js} +2 -2
- package/dist/core/{p-e0462b23.entry.js → p-16f67397.entry.js} +2 -2
- package/dist/core/{p-db9c03c0.entry.js → p-1832f4b5.entry.js} +2 -2
- package/dist/core/{p-ab09986c.entry.js → p-1b7d426b.entry.js} +2 -2
- package/dist/core/{p-5e0c830b.entry.js → p-1ce75941.entry.js} +2 -2
- package/dist/core/{p-1ca332ca.entry.js → p-2e2e0099.entry.js} +2 -2
- package/dist/core/p-33679c06.entry.js +2 -0
- package/dist/core/p-33679c06.entry.js.map +1 -0
- package/dist/core/{p-4753bac8.entry.js → p-36508aad.entry.js} +2 -2
- package/dist/core/{p-10fb4c46.entry.js → p-3745da83.entry.js} +2 -2
- package/dist/core/{p-3803a5b5.entry.js → p-3f2e77c3.entry.js} +2 -2
- package/dist/core/{p-88d54b72.entry.js → p-47ac6838.entry.js} +2 -2
- package/dist/core/{p-4baa0916.entry.js → p-4f1ffa39.entry.js} +2 -2
- package/dist/core/{p-f7a14c01.entry.js → p-5759d771.entry.js} +2 -2
- package/dist/core/{p-6c3044b6.entry.js → p-5e2e6c3b.entry.js} +2 -2
- package/dist/core/{p-2eac7dcc.entry.js → p-5fe96107.entry.js} +2 -2
- package/dist/core/{p-b82dcc29.entry.js → p-62e22508.entry.js} +2 -2
- package/dist/core/{p-75dac3d1.entry.js → p-6690bc04.entry.js} +2 -2
- package/dist/core/{p-c125b65a.entry.js → p-6c0e2ceb.entry.js} +2 -2
- package/dist/core/{p-a0f8efb2.entry.js → p-76d26018.entry.js} +2 -2
- package/dist/core/{p-4f413fc0.entry.js → p-776671cf.entry.js} +2 -2
- package/dist/core/{p-5ae93c16.entry.js → p-7cecf5d5.entry.js} +2 -2
- package/dist/core/{p-7ef8d616.entry.js → p-85609bdd.entry.js} +2 -2
- package/dist/core/{p-a43c12cd.entry.js → p-86012178.entry.js} +2 -2
- package/dist/core/{p-942282cd.entry.js → p-8a7e7d23.entry.js} +2 -2
- package/dist/core/{p-a50c3b9e.entry.js → p-8c90110a.entry.js} +2 -2
- package/dist/core/{p-045359e1.entry.js → p-8ea47d42.entry.js} +2 -2
- package/dist/core/{p-e834344e.entry.js → p-982a6e88.entry.js} +2 -2
- package/dist/core/{p-d8469ac0.entry.js → p-98448bdb.entry.js} +2 -2
- package/dist/core/{p-6933f8e9.entry.js → p-9d01a7ad.entry.js} +2 -2
- package/dist/core/{p-595be57d.entry.js → p-9d540656.entry.js} +2 -2
- package/dist/core/{p-fde45b29.entry.js → p-9e3178e8.entry.js} +2 -2
- package/dist/core/{p-fde45b29.entry.js.map → p-9e3178e8.entry.js.map} +1 -1
- package/dist/core/{p-81ddc39d.entry.js → p-a0f9b259.entry.js} +2 -2
- package/dist/core/{p-a31031a5.entry.js → p-a42c2f37.entry.js} +2 -2
- package/dist/core/{p-869954a2.entry.js → p-a6447b13.entry.js} +2 -2
- package/dist/core/p-aabab75f.entry.js +2 -0
- package/dist/core/p-aabab75f.entry.js.map +1 -0
- package/dist/core/{p-e3997d60.entry.js → p-ae422058.entry.js} +2 -2
- package/dist/core/{p-a434c3d4.entry.js → p-b306cbc8.entry.js} +2 -2
- package/dist/core/{p-ac4e40a7.entry.js → p-c7590421.entry.js} +2 -2
- package/dist/core/{p-f3c840cd.entry.js → p-c7820c23.entry.js} +2 -2
- package/dist/core/{p-917c5721.entry.js → p-ca8cbd6a.entry.js} +2 -2
- package/dist/core/{p-73be1251.entry.js → p-caf857de.entry.js} +2 -2
- package/dist/core/p-cc7bc438.entry.js +2 -0
- package/dist/core/p-cc7bc438.entry.js.map +1 -0
- package/dist/core/p-cd799087.js +2 -0
- package/dist/core/p-cd799087.js.map +1 -0
- package/dist/core/p-d32692e2.entry.js +2 -0
- package/dist/core/p-d32692e2.entry.js.map +1 -0
- package/dist/core/p-d35c7c18.js +2 -0
- package/dist/core/p-d35c7c18.js.map +1 -0
- package/dist/core/{p-c34848da.entry.js → p-d3856ed3.entry.js} +2 -2
- package/dist/core/{p-204ace96.entry.js → p-d4fdd8c1.entry.js} +2 -2
- package/dist/core/{p-ba86928c.entry.js → p-d5c99ec3.entry.js} +2 -2
- package/dist/core/p-e473bbf8.entry.js +2 -0
- package/dist/core/p-e473bbf8.entry.js.map +1 -0
- package/dist/core/{p-624d4f5f.entry.js → p-e74f1d09.entry.js} +2 -2
- package/dist/core/{p-fc5611e2.entry.js → p-e84b0310.entry.js} +2 -2
- package/dist/core/p-f55ad6ae.entry.js +2 -0
- package/dist/core/{p-f14454b1.entry.js.map → p-f55ad6ae.entry.js.map} +1 -1
- package/dist/core/p-f8cf2978.js +2 -0
- package/dist/core/p-f8cf2978.js.map +1 -0
- package/dist/core/p-f91527a0.entry.js +2 -0
- package/dist/core/p-f91527a0.entry.js.map +1 -0
- package/dist/core/{p-169bfa51.entry.js → p-fbf4e9b7.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/date-helpers-4f432e92.js +136 -0
- package/dist/esm/date-helpers-4f432e92.js.map +1 -0
- package/dist/esm/{helpers-12b4266a.js → helpers-7aa21b0a.js} +7 -2
- package/dist/esm/helpers-7aa21b0a.js.map +1 -0
- package/dist/esm/{helpers-5271897c.js → helpers-f328a7b6.js} +92 -13
- package/dist/esm/helpers-f328a7b6.js.map +1 -0
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-alert.entry.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-badge.entry.js +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 +8 -2
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +1 -1
- package/dist/esm/ic-checkbox.entry.js +1 -1
- package/dist/esm/ic-chip.entry.js +1 -1
- package/dist/esm/ic-data-row.entry.js +1 -1
- package/dist/esm/ic-date-input.entry.js +1069 -0
- package/dist/esm/ic-date-input.entry.js.map +1 -0
- package/dist/esm/ic-date-picker.entry.js +1039 -0
- package/dist/esm/ic-date-picker.entry.js.map +1 -0
- package/dist/esm/ic-dialog.entry.js +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-empty-state.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 +143 -0
- package/dist/esm/ic-input-component-container_4.entry.js.map +1 -0
- 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-with-multi.entry.js +1 -1
- package/dist/esm/ic-menu-with-multi.entry.js.map +1 -1
- package/dist/esm/{ic-input-component-container_3.entry.js → ic-menu.entry.js} +5 -67
- package/dist/esm/ic-menu.entry.js.map +1 -0
- 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-bar.entry.js +1 -1
- package/dist/esm/ic-pagination_4.entry.js +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-select-with-multi.entry.js +1 -14
- package/dist/esm/ic-select-with-multi.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +1 -1
- package/dist/esm/ic-status-tag.entry.js +1 -1
- package/dist/esm/ic-step.entry.js +1 -1
- package/dist/esm/ic-stepper.entry.js +1 -1
- package/dist/esm/ic-switch.entry.js +1 -1
- package/dist/esm/ic-tab-group.entry.js +1 -1
- package/dist/esm/ic-tab-panel.entry.js +1 -1
- package/dist/esm/ic-tab.entry.js +1 -1
- package/dist/esm/ic-theme.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +1 -1
- package/dist/esm/ic-toggle-button.entry.js +1 -1
- package/dist/esm/ic-top-navigation.entry.js +1 -1
- package/dist/esm/ic-typography.entry.js +1 -1
- package/dist/esm/index-93509377.js +12 -4
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-date-input/ic-date-input.d.ts +242 -0
- package/dist/types/components/ic-date-input/story-data.d.ts +1 -0
- package/dist/types/components/ic-date-input/test/helpers/ic-date-input.d.ts +23 -0
- package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +251 -0
- package/dist/types/components/ic-date-picker/ic-day-button.d.ts +16 -0
- package/dist/types/components/ic-date-picker/ic-month-picker.d.ts +14 -0
- package/dist/types/components/ic-date-picker/ic-year-picker.d.ts +16 -0
- package/dist/types/components/ic-date-picker/story-data.d.ts +22 -0
- package/dist/types/components/ic-date-picker/test/a11y/ic-date-picker.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +2 -2
- package/dist/types/components/ic-select-with-multi/ic-select.d.ts +2 -2
- package/dist/types/components.d.ts +439 -4
- package/dist/types/utils/constants.d.ts +37 -0
- package/dist/types/utils/date-helpers.d.ts +22 -0
- package/dist/types/utils/helpers.d.ts +83 -11
- package/dist/types/utils/types.d.ts +92 -1
- package/hydrate/index.js +2653 -253
- package/package.json +3 -3
- package/dist/cjs/helpers-93c5fc92.js.map +0 -1
- package/dist/cjs/helpers-b525d45a.js.map +0 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +0 -86
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +0 -1
- package/dist/core/p-21150122.entry.js +0 -2
- package/dist/core/p-21150122.entry.js.map +0 -1
- package/dist/core/p-99cad6c2.js +0 -2
- package/dist/core/p-99cad6c2.js.map +0 -1
- package/dist/core/p-9caf19eb.js +0 -2
- package/dist/core/p-9caf19eb.js.map +0 -1
- package/dist/core/p-e0a94f2d.entry.js +0 -2
- package/dist/core/p-e0a94f2d.entry.js.map +0 -1
- package/dist/core/p-f14454b1.entry.js +0 -2
- package/dist/core/p-f6888309.entry.js +0 -2
- package/dist/core/p-f6888309.entry.js.map +0 -1
- package/dist/core/p-f74a8752.entry.js +0 -2
- package/dist/core/p-f74a8752.entry.js.map +0 -1
- package/dist/esm/helpers-12b4266a.js.map +0 -1
- package/dist/esm/helpers-5271897c.js.map +0 -1
- package/dist/esm/ic-input-component-container_3.entry.js.map +0 -1
- package/dist/esm/ic-input-label_2.entry.js +0 -81
- package/dist/esm/ic-input-label_2.entry.js.map +0 -1
- /package/dist/core/{p-8b08d8fe.entry.js.map → p-06ae5bec.entry.js.map} +0 -0
- /package/dist/core/{p-f843da01.entry.js.map → p-0939ce92.entry.js.map} +0 -0
- /package/dist/core/{p-e0462b23.entry.js.map → p-16f67397.entry.js.map} +0 -0
- /package/dist/core/{p-db9c03c0.entry.js.map → p-1832f4b5.entry.js.map} +0 -0
- /package/dist/core/{p-ab09986c.entry.js.map → p-1b7d426b.entry.js.map} +0 -0
- /package/dist/core/{p-5e0c830b.entry.js.map → p-1ce75941.entry.js.map} +0 -0
- /package/dist/core/{p-1ca332ca.entry.js.map → p-2e2e0099.entry.js.map} +0 -0
- /package/dist/core/{p-4753bac8.entry.js.map → p-36508aad.entry.js.map} +0 -0
- /package/dist/core/{p-10fb4c46.entry.js.map → p-3745da83.entry.js.map} +0 -0
- /package/dist/core/{p-3803a5b5.entry.js.map → p-3f2e77c3.entry.js.map} +0 -0
- /package/dist/core/{p-88d54b72.entry.js.map → p-47ac6838.entry.js.map} +0 -0
- /package/dist/core/{p-4baa0916.entry.js.map → p-4f1ffa39.entry.js.map} +0 -0
- /package/dist/core/{p-f7a14c01.entry.js.map → p-5759d771.entry.js.map} +0 -0
- /package/dist/core/{p-6c3044b6.entry.js.map → p-5e2e6c3b.entry.js.map} +0 -0
- /package/dist/core/{p-2eac7dcc.entry.js.map → p-5fe96107.entry.js.map} +0 -0
- /package/dist/core/{p-b82dcc29.entry.js.map → p-62e22508.entry.js.map} +0 -0
- /package/dist/core/{p-75dac3d1.entry.js.map → p-6690bc04.entry.js.map} +0 -0
- /package/dist/core/{p-c125b65a.entry.js.map → p-6c0e2ceb.entry.js.map} +0 -0
- /package/dist/core/{p-a0f8efb2.entry.js.map → p-76d26018.entry.js.map} +0 -0
- /package/dist/core/{p-4f413fc0.entry.js.map → p-776671cf.entry.js.map} +0 -0
- /package/dist/core/{p-5ae93c16.entry.js.map → p-7cecf5d5.entry.js.map} +0 -0
- /package/dist/core/{p-7ef8d616.entry.js.map → p-85609bdd.entry.js.map} +0 -0
- /package/dist/core/{p-a43c12cd.entry.js.map → p-86012178.entry.js.map} +0 -0
- /package/dist/core/{p-942282cd.entry.js.map → p-8a7e7d23.entry.js.map} +0 -0
- /package/dist/core/{p-a50c3b9e.entry.js.map → p-8c90110a.entry.js.map} +0 -0
- /package/dist/core/{p-045359e1.entry.js.map → p-8ea47d42.entry.js.map} +0 -0
- /package/dist/core/{p-e834344e.entry.js.map → p-982a6e88.entry.js.map} +0 -0
- /package/dist/core/{p-d8469ac0.entry.js.map → p-98448bdb.entry.js.map} +0 -0
- /package/dist/core/{p-6933f8e9.entry.js.map → p-9d01a7ad.entry.js.map} +0 -0
- /package/dist/core/{p-595be57d.entry.js.map → p-9d540656.entry.js.map} +0 -0
- /package/dist/core/{p-81ddc39d.entry.js.map → p-a0f9b259.entry.js.map} +0 -0
- /package/dist/core/{p-a31031a5.entry.js.map → p-a42c2f37.entry.js.map} +0 -0
- /package/dist/core/{p-869954a2.entry.js.map → p-a6447b13.entry.js.map} +0 -0
- /package/dist/core/{p-e3997d60.entry.js.map → p-ae422058.entry.js.map} +0 -0
- /package/dist/core/{p-a434c3d4.entry.js.map → p-b306cbc8.entry.js.map} +0 -0
- /package/dist/core/{p-ac4e40a7.entry.js.map → p-c7590421.entry.js.map} +0 -0
- /package/dist/core/{p-f3c840cd.entry.js.map → p-c7820c23.entry.js.map} +0 -0
- /package/dist/core/{p-917c5721.entry.js.map → p-ca8cbd6a.entry.js.map} +0 -0
- /package/dist/core/{p-73be1251.entry.js.map → p-caf857de.entry.js.map} +0 -0
- /package/dist/core/{p-c34848da.entry.js.map → p-d3856ed3.entry.js.map} +0 -0
- /package/dist/core/{p-204ace96.entry.js.map → p-d4fdd8c1.entry.js.map} +0 -0
- /package/dist/core/{p-ba86928c.entry.js.map → p-d5c99ec3.entry.js.map} +0 -0
- /package/dist/core/{p-624d4f5f.entry.js.map → p-e74f1d09.entry.js.map} +0 -0
- /package/dist/core/{p-fc5611e2.entry.js.map → p-e84b0310.entry.js.map} +0 -0
- /package/dist/core/{p-169bfa51.entry.js.map → p-fbf4e9b7.entry.js.map} +0 -0
@@ -7,15 +7,15 @@
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
8
|
import { IcDataTableColumnObject, IcDataTableDensityOptions, IcDataTableSortOrderOptions } from "./components/ic-data-table/ic-data-table.types";
|
9
9
|
import { IcPaginationAlignmentOptions, IcPaginationControlTypes, IcPaginationTypes } from "./components/ic-pagination/ic-pagination.types";
|
10
|
-
import {
|
10
|
+
import { IcDateFormat, IcInformationStatusOrEmpty, IcSearchMatchPositions, IcSizes, IcValueEventDetail, IcWeekDays } from "./utils/types";
|
11
|
+
import { IcActivationTypes, IcMenuOption } from "@ukic/web-components/dist/types/utils/types";
|
11
12
|
import { IcMenuChangeEventDetail, IcMenuOptionIdEventDetail, IcOptionSelectEventDetail, IcSearchBarSearchModes } from "@ukic/web-components/dist/types/components";
|
12
|
-
import { IcInformationStatusOrEmpty, IcSearchMatchPositions, IcValueEventDetail } from "./utils/types";
|
13
13
|
import { IcThemeForeground } from "@ukic/web-components/dist/types/interface";
|
14
14
|
export { IcDataTableColumnObject, IcDataTableDensityOptions, IcDataTableSortOrderOptions } from "./components/ic-data-table/ic-data-table.types";
|
15
15
|
export { IcPaginationAlignmentOptions, IcPaginationControlTypes, IcPaginationTypes } from "./components/ic-pagination/ic-pagination.types";
|
16
|
-
export {
|
16
|
+
export { IcDateFormat, IcInformationStatusOrEmpty, IcSearchMatchPositions, IcSizes, IcValueEventDetail, IcWeekDays } from "./utils/types";
|
17
|
+
export { IcActivationTypes, IcMenuOption } from "@ukic/web-components/dist/types/utils/types";
|
17
18
|
export { IcMenuChangeEventDetail, IcMenuOptionIdEventDetail, IcOptionSelectEventDetail, IcSearchBarSearchModes } from "@ukic/web-components/dist/types/components";
|
18
|
-
export { IcInformationStatusOrEmpty, IcSearchMatchPositions, IcValueEventDetail } from "./utils/types";
|
19
19
|
export { IcThemeForeground } from "@ukic/web-components/dist/types/interface";
|
20
20
|
export namespace Components {
|
21
21
|
interface IcDataTable {
|
@@ -78,6 +78,194 @@ export namespace Components {
|
|
78
78
|
*/
|
79
79
|
"stickyRowHeaders"?: boolean;
|
80
80
|
}
|
81
|
+
interface IcDateInput {
|
82
|
+
/**
|
83
|
+
* The format in which the date will be displayed.
|
84
|
+
*/
|
85
|
+
"dateFormat"?: IcDateFormat;
|
86
|
+
/**
|
87
|
+
* The days of the week to disable.
|
88
|
+
*/
|
89
|
+
"disableDays"?: IcWeekDays[];
|
90
|
+
/**
|
91
|
+
* The text to display as the validation message when `disableDays` is set and a disabled date is entered.
|
92
|
+
*/
|
93
|
+
"disableDaysMessage"?: string;
|
94
|
+
/**
|
95
|
+
* If `true`, dates in the future are not allowed. A validation message will appear if a date in the future is entered.
|
96
|
+
*/
|
97
|
+
"disableFuture"?: boolean;
|
98
|
+
/**
|
99
|
+
* The text to display as the validation message when `disableFuture` is true and a date in the future is entered.
|
100
|
+
*/
|
101
|
+
"disableFutureMessage"?: string;
|
102
|
+
/**
|
103
|
+
* If `true`, dates in the past are not allowed. A validation message will appear if a date in the past is entered.
|
104
|
+
*/
|
105
|
+
"disablePast"?: boolean;
|
106
|
+
/**
|
107
|
+
* The text to display as the validation message when `disablePast` is true and a date in the past is entered.
|
108
|
+
*/
|
109
|
+
"disablePastMessage"?: string;
|
110
|
+
/**
|
111
|
+
* If `true`, the disabled state will be set.
|
112
|
+
*/
|
113
|
+
"disabled"?: boolean;
|
114
|
+
/**
|
115
|
+
* Returns the value as a Date object
|
116
|
+
* @returns Date
|
117
|
+
*/
|
118
|
+
"getDate": () => Promise<Date>;
|
119
|
+
/**
|
120
|
+
* The helper text that will be displayed for additional field guidance. This will default to the text "Use format" along with the `dateFormat` value.
|
121
|
+
*/
|
122
|
+
"helperText"?: string;
|
123
|
+
/**
|
124
|
+
* The ID for the input.
|
125
|
+
*/
|
126
|
+
"inputId"?: string;
|
127
|
+
/**
|
128
|
+
* The label for the date input.
|
129
|
+
*/
|
130
|
+
"label": string;
|
131
|
+
/**
|
132
|
+
* 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`.
|
133
|
+
*/
|
134
|
+
"max"?: string | Date;
|
135
|
+
/**
|
136
|
+
* 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`.
|
137
|
+
*/
|
138
|
+
"min"?: string | Date;
|
139
|
+
/**
|
140
|
+
* The name of the control, which is submitted with the form data.
|
141
|
+
*/
|
142
|
+
"name": string;
|
143
|
+
/**
|
144
|
+
* If `true`, the input will require a value.
|
145
|
+
*/
|
146
|
+
"required"?: boolean;
|
147
|
+
"setCalendarFocus": () => Promise<void>;
|
148
|
+
"setDisableDays": (days: IcWeekDays[]) => Promise<void>;
|
149
|
+
"showCalendarButton"?: boolean;
|
150
|
+
/**
|
151
|
+
* If `true`, a button which clears the date input when clicked will be displayed.
|
152
|
+
*/
|
153
|
+
"showClearButton"?: boolean;
|
154
|
+
/**
|
155
|
+
* The size of the date input to be displayed.
|
156
|
+
*/
|
157
|
+
"size"?: IcSizes;
|
158
|
+
/**
|
159
|
+
* The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
|
160
|
+
*/
|
161
|
+
"validationStatus"?: IcInformationStatusOrEmpty;
|
162
|
+
/**
|
163
|
+
* The text to display as the validation message. This will override the built-in date validation.
|
164
|
+
*/
|
165
|
+
"validationText"?: string;
|
166
|
+
/**
|
167
|
+
* 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.
|
168
|
+
*/
|
169
|
+
"value"?: string | Date | null | undefined;
|
170
|
+
}
|
171
|
+
interface IcDatePicker {
|
172
|
+
/**
|
173
|
+
* The format in which the date will be displayed.
|
174
|
+
*/
|
175
|
+
"dateFormat"?: IcDateFormat;
|
176
|
+
/**
|
177
|
+
* The days of the week to disable.
|
178
|
+
*/
|
179
|
+
"disableDays"?: IcWeekDays[];
|
180
|
+
/**
|
181
|
+
* The text to display as the validation message when `disableDays` is `true` and a disabled date is entered.
|
182
|
+
*/
|
183
|
+
"disableDaysMessage"?: string;
|
184
|
+
/**
|
185
|
+
* If `true`, dates in the future are not allowed. A validation message will appear if a date in the future is entered.
|
186
|
+
*/
|
187
|
+
"disableFuture"?: boolean;
|
188
|
+
/**
|
189
|
+
* The text to display as the validation message when `disableFuture` is `true` and a date in the future is entered.
|
190
|
+
*/
|
191
|
+
"disableFutureMessage"?: string;
|
192
|
+
/**
|
193
|
+
* If `true`, dates in the past are not allowed. A validation message will appear if a date in the past is entered.
|
194
|
+
*/
|
195
|
+
"disablePast"?: boolean;
|
196
|
+
/**
|
197
|
+
* The text to display as the validation message when `disablePast` is `true` and a date in the past is entered.
|
198
|
+
*/
|
199
|
+
"disablePastMessage"?: string;
|
200
|
+
/**
|
201
|
+
* If `true`, the disabled state will be set.
|
202
|
+
*/
|
203
|
+
"disabled"?: boolean;
|
204
|
+
/**
|
205
|
+
* The helper text that will be displayed for additional field guidance. This will default to the text "Use format" along with the `dateFormat` value.
|
206
|
+
*/
|
207
|
+
"helperText"?: string;
|
208
|
+
/**
|
209
|
+
* The ID for the input field. The default will be an automatically generated value.
|
210
|
+
*/
|
211
|
+
"inputId"?: string;
|
212
|
+
/**
|
213
|
+
* The label for the date input.
|
214
|
+
*/
|
215
|
+
"label": string;
|
216
|
+
/**
|
217
|
+
* 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`.
|
218
|
+
*/
|
219
|
+
"max"?: string | Date;
|
220
|
+
/**
|
221
|
+
* 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`.
|
222
|
+
*/
|
223
|
+
"min"?: string | Date;
|
224
|
+
/**
|
225
|
+
* The name of the control, which is submitted with the form data.
|
226
|
+
*/
|
227
|
+
"name"?: string;
|
228
|
+
/**
|
229
|
+
* 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.
|
230
|
+
*/
|
231
|
+
"openAtDate": string | Date;
|
232
|
+
/**
|
233
|
+
* If `true`, the input will require a value.
|
234
|
+
*/
|
235
|
+
"required"?: boolean;
|
236
|
+
/**
|
237
|
+
* If `true`, days outside the current month will be visible in the date picker.
|
238
|
+
*/
|
239
|
+
"showDaysOutsideMonth"?: boolean;
|
240
|
+
/**
|
241
|
+
* If `true`, the `Clear` button on the date picker will be visible.
|
242
|
+
*/
|
243
|
+
"showPickerClearButton"?: boolean;
|
244
|
+
/**
|
245
|
+
* If `true`, the `Go to today` button on the date picker will be visible.
|
246
|
+
*/
|
247
|
+
"showPickerTodayButton"?: boolean;
|
248
|
+
/**
|
249
|
+
* The size of the date picker to be displayed.
|
250
|
+
*/
|
251
|
+
"size"?: IcSizes;
|
252
|
+
/**
|
253
|
+
* The first day of the week. `0` for Sunday, `1` for Monday, etc. Default is Monday.
|
254
|
+
*/
|
255
|
+
"startOfWeek"?: IcWeekDays;
|
256
|
+
/**
|
257
|
+
* The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
|
258
|
+
*/
|
259
|
+
"validationStatus"?: IcInformationStatusOrEmpty;
|
260
|
+
/**
|
261
|
+
* The text to display as the validation message. This will override the built-in date validation.
|
262
|
+
*/
|
263
|
+
"validationText"?: string;
|
264
|
+
/**
|
265
|
+
* 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.
|
266
|
+
*/
|
267
|
+
"value"?: string | Date | null | undefined;
|
268
|
+
}
|
81
269
|
interface IcMenuWithMulti {
|
82
270
|
/**
|
83
271
|
* Determines whether options manually set as values (by pressing 'Enter') when they receive focus using keyboard navigation.
|
@@ -351,6 +539,14 @@ export namespace Components {
|
|
351
539
|
"value"?: string | string[];
|
352
540
|
}
|
353
541
|
}
|
542
|
+
export interface IcDateInputCustomEvent<T> extends CustomEvent<T> {
|
543
|
+
detail: T;
|
544
|
+
target: HTMLIcDateInputElement;
|
545
|
+
}
|
546
|
+
export interface IcDatePickerCustomEvent<T> extends CustomEvent<T> {
|
547
|
+
detail: T;
|
548
|
+
target: HTMLIcDatePickerElement;
|
549
|
+
}
|
354
550
|
export interface IcMenuWithMultiCustomEvent<T> extends CustomEvent<T> {
|
355
551
|
detail: T;
|
356
552
|
target: HTMLIcMenuWithMultiElement;
|
@@ -370,6 +566,43 @@ declare global {
|
|
370
566
|
prototype: HTMLIcDataTableElement;
|
371
567
|
new (): HTMLIcDataTableElement;
|
372
568
|
};
|
569
|
+
interface HTMLIcDateInputElementEventMap {
|
570
|
+
"calendarButtonClicked": { value: Date };
|
571
|
+
"icBlur": { value: Date };
|
572
|
+
"icChange": { value: Date };
|
573
|
+
"icFocus": { value: Date };
|
574
|
+
}
|
575
|
+
interface HTMLIcDateInputElement extends Components.IcDateInput, HTMLStencilElement {
|
576
|
+
addEventListener<K extends keyof HTMLIcDateInputElementEventMap>(type: K, listener: (this: HTMLIcDateInputElement, ev: IcDateInputCustomEvent<HTMLIcDateInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
577
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
578
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
579
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
580
|
+
removeEventListener<K extends keyof HTMLIcDateInputElementEventMap>(type: K, listener: (this: HTMLIcDateInputElement, ev: IcDateInputCustomEvent<HTMLIcDateInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
581
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
582
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
583
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
584
|
+
}
|
585
|
+
var HTMLIcDateInputElement: {
|
586
|
+
prototype: HTMLIcDateInputElement;
|
587
|
+
new (): HTMLIcDateInputElement;
|
588
|
+
};
|
589
|
+
interface HTMLIcDatePickerElementEventMap {
|
590
|
+
"icChange": { value: Date };
|
591
|
+
}
|
592
|
+
interface HTMLIcDatePickerElement extends Components.IcDatePicker, HTMLStencilElement {
|
593
|
+
addEventListener<K extends keyof HTMLIcDatePickerElementEventMap>(type: K, listener: (this: HTMLIcDatePickerElement, ev: IcDatePickerCustomEvent<HTMLIcDatePickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
594
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
595
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
596
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
597
|
+
removeEventListener<K extends keyof HTMLIcDatePickerElementEventMap>(type: K, listener: (this: HTMLIcDatePickerElement, ev: IcDatePickerCustomEvent<HTMLIcDatePickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
598
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
599
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
600
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
601
|
+
}
|
602
|
+
var HTMLIcDatePickerElement: {
|
603
|
+
prototype: HTMLIcDatePickerElement;
|
604
|
+
new (): HTMLIcDatePickerElement;
|
605
|
+
};
|
373
606
|
interface HTMLIcMenuWithMultiElementEventMap {
|
374
607
|
"menuKeyPress": { isNavKey: boolean; key: string };
|
375
608
|
"menuOptionId": IcMenuOptionIdEventDetail;
|
@@ -438,6 +671,8 @@ declare global {
|
|
438
671
|
};
|
439
672
|
interface HTMLElementTagNameMap {
|
440
673
|
"ic-data-table": HTMLIcDataTableElement;
|
674
|
+
"ic-date-input": HTMLIcDateInputElement;
|
675
|
+
"ic-date-picker": HTMLIcDatePickerElement;
|
441
676
|
"ic-menu-with-multi": HTMLIcMenuWithMultiElement;
|
442
677
|
"ic-pagination-bar": HTMLIcPaginationBarElement;
|
443
678
|
"ic-select-with-multi": HTMLIcSelectWithMultiElement;
|
@@ -504,6 +739,202 @@ declare namespace LocalJSX {
|
|
504
739
|
*/
|
505
740
|
"stickyRowHeaders"?: boolean;
|
506
741
|
}
|
742
|
+
interface IcDateInput {
|
743
|
+
/**
|
744
|
+
* The format in which the date will be displayed.
|
745
|
+
*/
|
746
|
+
"dateFormat"?: IcDateFormat;
|
747
|
+
/**
|
748
|
+
* The days of the week to disable.
|
749
|
+
*/
|
750
|
+
"disableDays"?: IcWeekDays[];
|
751
|
+
/**
|
752
|
+
* The text to display as the validation message when `disableDays` is set and a disabled date is entered.
|
753
|
+
*/
|
754
|
+
"disableDaysMessage"?: string;
|
755
|
+
/**
|
756
|
+
* If `true`, dates in the future are not allowed. A validation message will appear if a date in the future is entered.
|
757
|
+
*/
|
758
|
+
"disableFuture"?: boolean;
|
759
|
+
/**
|
760
|
+
* The text to display as the validation message when `disableFuture` is true and a date in the future is entered.
|
761
|
+
*/
|
762
|
+
"disableFutureMessage"?: string;
|
763
|
+
/**
|
764
|
+
* If `true`, dates in the past are not allowed. A validation message will appear if a date in the past is entered.
|
765
|
+
*/
|
766
|
+
"disablePast"?: boolean;
|
767
|
+
/**
|
768
|
+
* The text to display as the validation message when `disablePast` is true and a date in the past is entered.
|
769
|
+
*/
|
770
|
+
"disablePastMessage"?: string;
|
771
|
+
/**
|
772
|
+
* If `true`, the disabled state will be set.
|
773
|
+
*/
|
774
|
+
"disabled"?: boolean;
|
775
|
+
/**
|
776
|
+
* The helper text that will be displayed for additional field guidance. This will default to the text "Use format" along with the `dateFormat` value.
|
777
|
+
*/
|
778
|
+
"helperText"?: string;
|
779
|
+
/**
|
780
|
+
* The ID for the input.
|
781
|
+
*/
|
782
|
+
"inputId"?: string;
|
783
|
+
/**
|
784
|
+
* The label for the date input.
|
785
|
+
*/
|
786
|
+
"label": string;
|
787
|
+
/**
|
788
|
+
* 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`.
|
789
|
+
*/
|
790
|
+
"max"?: string | Date;
|
791
|
+
/**
|
792
|
+
* 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`.
|
793
|
+
*/
|
794
|
+
"min"?: string | Date;
|
795
|
+
/**
|
796
|
+
* The name of the control, which is submitted with the form data.
|
797
|
+
*/
|
798
|
+
"name"?: string;
|
799
|
+
/**
|
800
|
+
* Emitted when the input loses focus.
|
801
|
+
*/
|
802
|
+
"onIcBlur"?: (event: IcDateInputCustomEvent<{ value: Date }>) => void;
|
803
|
+
/**
|
804
|
+
* Emitted when the value has changed.
|
805
|
+
*/
|
806
|
+
"onIcChange"?: (event: IcDateInputCustomEvent<{ value: Date }>) => void;
|
807
|
+
/**
|
808
|
+
* Emitted when the input gains focus.
|
809
|
+
*/
|
810
|
+
"onIcFocus"?: (event: IcDateInputCustomEvent<{ value: Date }>) => void;
|
811
|
+
/**
|
812
|
+
* If `true`, the input will require a value.
|
813
|
+
*/
|
814
|
+
"required"?: boolean;
|
815
|
+
/**
|
816
|
+
* If `true`, a button which clears the date input when clicked will be displayed.
|
817
|
+
*/
|
818
|
+
"showClearButton"?: boolean;
|
819
|
+
/**
|
820
|
+
* The size of the date input to be displayed.
|
821
|
+
*/
|
822
|
+
"size"?: IcSizes;
|
823
|
+
/**
|
824
|
+
* The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
|
825
|
+
*/
|
826
|
+
"validationStatus"?: IcInformationStatusOrEmpty;
|
827
|
+
/**
|
828
|
+
* The text to display as the validation message. This will override the built-in date validation.
|
829
|
+
*/
|
830
|
+
"validationText"?: string;
|
831
|
+
/**
|
832
|
+
* 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.
|
833
|
+
*/
|
834
|
+
"value"?: string | Date | null | undefined;
|
835
|
+
}
|
836
|
+
interface IcDatePicker {
|
837
|
+
/**
|
838
|
+
* The format in which the date will be displayed.
|
839
|
+
*/
|
840
|
+
"dateFormat"?: IcDateFormat;
|
841
|
+
/**
|
842
|
+
* The days of the week to disable.
|
843
|
+
*/
|
844
|
+
"disableDays"?: IcWeekDays[];
|
845
|
+
/**
|
846
|
+
* The text to display as the validation message when `disableDays` is `true` and a disabled date is entered.
|
847
|
+
*/
|
848
|
+
"disableDaysMessage"?: string;
|
849
|
+
/**
|
850
|
+
* If `true`, dates in the future are not allowed. A validation message will appear if a date in the future is entered.
|
851
|
+
*/
|
852
|
+
"disableFuture"?: boolean;
|
853
|
+
/**
|
854
|
+
* The text to display as the validation message when `disableFuture` is `true` and a date in the future is entered.
|
855
|
+
*/
|
856
|
+
"disableFutureMessage"?: string;
|
857
|
+
/**
|
858
|
+
* If `true`, dates in the past are not allowed. A validation message will appear if a date in the past is entered.
|
859
|
+
*/
|
860
|
+
"disablePast"?: boolean;
|
861
|
+
/**
|
862
|
+
* The text to display as the validation message when `disablePast` is `true` and a date in the past is entered.
|
863
|
+
*/
|
864
|
+
"disablePastMessage"?: string;
|
865
|
+
/**
|
866
|
+
* If `true`, the disabled state will be set.
|
867
|
+
*/
|
868
|
+
"disabled"?: boolean;
|
869
|
+
/**
|
870
|
+
* The helper text that will be displayed for additional field guidance. This will default to the text "Use format" along with the `dateFormat` value.
|
871
|
+
*/
|
872
|
+
"helperText"?: string;
|
873
|
+
/**
|
874
|
+
* The ID for the input field. The default will be an automatically generated value.
|
875
|
+
*/
|
876
|
+
"inputId"?: string;
|
877
|
+
/**
|
878
|
+
* The label for the date input.
|
879
|
+
*/
|
880
|
+
"label": string;
|
881
|
+
/**
|
882
|
+
* 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`.
|
883
|
+
*/
|
884
|
+
"max"?: string | Date;
|
885
|
+
/**
|
886
|
+
* 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`.
|
887
|
+
*/
|
888
|
+
"min"?: string | Date;
|
889
|
+
/**
|
890
|
+
* The name of the control, which is submitted with the form data.
|
891
|
+
*/
|
892
|
+
"name"?: string;
|
893
|
+
/**
|
894
|
+
* Emitted when the value has changed.
|
895
|
+
*/
|
896
|
+
"onIcChange"?: (event: IcDatePickerCustomEvent<{ value: Date }>) => void;
|
897
|
+
/**
|
898
|
+
* 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.
|
899
|
+
*/
|
900
|
+
"openAtDate"?: string | Date;
|
901
|
+
/**
|
902
|
+
* If `true`, the input will require a value.
|
903
|
+
*/
|
904
|
+
"required"?: boolean;
|
905
|
+
/**
|
906
|
+
* If `true`, days outside the current month will be visible in the date picker.
|
907
|
+
*/
|
908
|
+
"showDaysOutsideMonth"?: boolean;
|
909
|
+
/**
|
910
|
+
* If `true`, the `Clear` button on the date picker will be visible.
|
911
|
+
*/
|
912
|
+
"showPickerClearButton"?: boolean;
|
913
|
+
/**
|
914
|
+
* If `true`, the `Go to today` button on the date picker will be visible.
|
915
|
+
*/
|
916
|
+
"showPickerTodayButton"?: boolean;
|
917
|
+
/**
|
918
|
+
* The size of the date picker to be displayed.
|
919
|
+
*/
|
920
|
+
"size"?: IcSizes;
|
921
|
+
/**
|
922
|
+
* The first day of the week. `0` for Sunday, `1` for Monday, etc. Default is Monday.
|
923
|
+
*/
|
924
|
+
"startOfWeek"?: IcWeekDays;
|
925
|
+
/**
|
926
|
+
* The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
|
927
|
+
*/
|
928
|
+
"validationStatus"?: IcInformationStatusOrEmpty;
|
929
|
+
/**
|
930
|
+
* The text to display as the validation message. This will override the built-in date validation.
|
931
|
+
*/
|
932
|
+
"validationText"?: string;
|
933
|
+
/**
|
934
|
+
* 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.
|
935
|
+
*/
|
936
|
+
"value"?: string | Date | null | undefined;
|
937
|
+
}
|
507
938
|
interface IcMenuWithMulti {
|
508
939
|
/**
|
509
940
|
* Determines whether options manually set as values (by pressing 'Enter') when they receive focus using keyboard navigation.
|
@@ -803,6 +1234,8 @@ declare namespace LocalJSX {
|
|
803
1234
|
}
|
804
1235
|
interface IntrinsicElements {
|
805
1236
|
"ic-data-table": IcDataTable;
|
1237
|
+
"ic-date-input": IcDateInput;
|
1238
|
+
"ic-date-picker": IcDatePicker;
|
806
1239
|
"ic-menu-with-multi": IcMenuWithMulti;
|
807
1240
|
"ic-pagination-bar": IcPaginationBar;
|
808
1241
|
"ic-select-with-multi": IcSelectWithMulti;
|
@@ -813,6 +1246,8 @@ declare module "@stencil/core" {
|
|
813
1246
|
export namespace JSX {
|
814
1247
|
interface IntrinsicElements {
|
815
1248
|
"ic-data-table": LocalJSX.IcDataTable & JSXBase.HTMLAttributes<HTMLIcDataTableElement>;
|
1249
|
+
"ic-date-input": LocalJSX.IcDateInput & JSXBase.HTMLAttributes<HTMLIcDateInputElement>;
|
1250
|
+
"ic-date-picker": LocalJSX.IcDatePicker & JSXBase.HTMLAttributes<HTMLIcDatePickerElement>;
|
816
1251
|
"ic-menu-with-multi": LocalJSX.IcMenuWithMulti & JSXBase.HTMLAttributes<HTMLIcMenuWithMultiElement>;
|
817
1252
|
"ic-pagination-bar": LocalJSX.IcPaginationBar & JSXBase.HTMLAttributes<HTMLIcPaginationBarElement>;
|
818
1253
|
"ic-select-with-multi": LocalJSX.IcSelectWithMulti & JSXBase.HTMLAttributes<HTMLIcSelectWithMultiElement>;
|
@@ -1 +1,38 @@
|
|
1
|
+
export declare const VARIANT_ICONS: {
|
2
|
+
neutral: {
|
3
|
+
icon: string;
|
4
|
+
ariaLabel: string;
|
5
|
+
};
|
6
|
+
info: {
|
7
|
+
icon: string;
|
8
|
+
ariaLabel: string;
|
9
|
+
};
|
10
|
+
warning: {
|
11
|
+
icon: string;
|
12
|
+
ariaLabel: string;
|
13
|
+
};
|
14
|
+
error: {
|
15
|
+
icon: string;
|
16
|
+
ariaLabel: string;
|
17
|
+
};
|
18
|
+
success: {
|
19
|
+
icon: string;
|
20
|
+
ariaLabel: string;
|
21
|
+
};
|
22
|
+
};
|
1
23
|
export declare const IC_INHERITED_ARIA: string[];
|
24
|
+
export declare const IC_DEVICE_SIZES: {
|
25
|
+
XS: number;
|
26
|
+
S: number;
|
27
|
+
M: number;
|
28
|
+
L: number;
|
29
|
+
XL: number;
|
30
|
+
};
|
31
|
+
export declare const IC_BLOCK_COLOR_COMPONENTS: string[];
|
32
|
+
export declare const IC_FIXED_COLOR_COMPONENTS: string[];
|
33
|
+
export interface IcColorExceptions {
|
34
|
+
[details: string]: string[];
|
35
|
+
}
|
36
|
+
export declare const IC_BLOCK_COLOR_EXCEPTIONS: IcColorExceptions;
|
37
|
+
export declare const BLACK_MIN_COLOR_BRIGHTNESS = 136.701;
|
38
|
+
export declare const WHITE_MAX_COLOR_BRIGHTNESS = 130;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { IcDateFormat, IcWeekDays } from "../utils/types";
|
2
|
+
export declare const isMonthFirstFormat: (dateString: string) => boolean;
|
3
|
+
export declare const isDayFirstFormat: (dateString: string) => boolean;
|
4
|
+
export declare const createDate: (date: string | Date, dateFormat: IcDateFormat) => Date;
|
5
|
+
export declare const isDateOrEpoch: (date: Date | string) => boolean;
|
6
|
+
export declare const extractDateFromZuluDateTime: (zuluDateTime: string) => string;
|
7
|
+
export declare const splitStringDate: (date: string, dateFormat: IcDateFormat) => string[];
|
8
|
+
export declare const convertToDoubleDigits: (value: string | number) => string;
|
9
|
+
export declare const getWeekStart: (date: Date, startDay: IcWeekDays) => Date;
|
10
|
+
export declare const getWeekEnd: (date: Date, startDay: IcWeekDays) => Date;
|
11
|
+
export declare const getMonthStart: (date: Date) => Date;
|
12
|
+
export declare const getMonthEnd: (date: Date) => Date;
|
13
|
+
/**
|
14
|
+
* Compare if two dates are equal exactly equal
|
15
|
+
*/
|
16
|
+
export declare const dateMatches: (a: Date, b: Date) => boolean;
|
17
|
+
export declare const clampDate: (date: Date, min: Date, max: Date) => Date;
|
18
|
+
/**
|
19
|
+
* Compare if date is within specified range
|
20
|
+
*/
|
21
|
+
export declare const dateInRange: (date: Date, min: Date, max: Date) => boolean;
|
22
|
+
export declare const yearInRange: (year: number, min: Date, max: Date) => boolean;
|