@ukic/canary-web-components 2.0.0-canary.7 → 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-00b08718.js → helpers-7a069459.js} +8 -3
- package/dist/cjs/helpers-7a069459.js.map +1 -0
- package/dist/cjs/helpers-f75cf7cf.js +280 -0
- package/dist/cjs/helpers-f75cf7cf.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +6 -2
- package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +4 -3
- package/dist/cjs/ic-badge.cjs.entry.js.map +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 +29 -12
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +5 -6
- package/dist/cjs/ic-card.cjs.entry.js.map +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-entity.cjs.entry.js +3 -6
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +21 -35
- package/dist/cjs/ic-data-row.cjs.entry.js.map +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 +2599 -0
- package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -0
- package/dist/cjs/{ic-input-component-container_3.cjs.entry.js → ic-menu.cjs.entry.js} +8 -70
- 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 +2 -18
- package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +21 -13
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +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-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select-with-multi.cjs.entry.js +824 -0
- package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +1 -0
- 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-group.cjs.entry.js +184 -0
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-toggle-button.cjs.entry.js +6 -3
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +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 +24 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/calendar.svg +3 -0
- package/dist/collection/collection-manifest.json +6 -1
- 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.css +701 -0
- package/dist/collection/components/ic-menu-with-multi/ic-menu.js +1458 -0
- package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -0
- package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +880 -0
- package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-select-with-multi/assets/Check.svg +3 -0
- package/dist/collection/components/ic-select-with-multi/assets/Clear.svg +3 -0
- package/dist/collection/components/ic-select-with-multi/assets/Expand.svg +3 -0
- package/dist/collection/components/ic-select-with-multi/ic-select.css +693 -0
- package/dist/collection/components/ic-select-with-multi/ic-select.js +1649 -0
- package/dist/collection/components/ic-select-with-multi/ic-select.js.map +1 -0
- package/dist/collection/components/ic-select-with-multi/story-data.js +216 -0
- package/dist/collection/components/ic-select-with-multi/story-data.js.map +1 -0
- package/dist/collection/components/ic-select-with-multi/test/a11y/ic-select.test.a11y.js +146 -0
- package/dist/collection/components/ic-select-with-multi/test/a11y/ic-select.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js +2040 -0
- package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.e2e.js.map +1 -0
- package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js +1518 -0
- package/dist/collection/components/ic-select-with-multi/test/basic/ic-select.spec.js.map +1 -0
- package/dist/collection/utils/constants.js +83 -0
- package/dist/collection/utils/constants.js.map +1 -0
- 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 +417 -5
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js +58 -0
- package/dist/collection/utils/types.js.map +1 -0
- package/dist/components/helpers.js +8 -3
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/helpers2.js +262 -0
- package/dist/components/helpers2.js.map +1 -0
- package/dist/components/ic-accordion-group.js +7 -2
- package/dist/components/ic-accordion-group.js.map +1 -1
- package/dist/components/ic-badge.js +3 -2
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-button2.js +32 -13
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +6 -19
- package/dist/components/ic-card.js.map +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-data-entity.js +3 -6
- package/dist/components/ic-data-entity.js.map +1 -1
- package/dist/components/ic-data-row.js +20 -34
- package/dist/components/ic-data-row.js.map +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 +7 -6
- 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-menu-with-multi.d.ts +11 -0
- package/dist/components/ic-menu-with-multi.js +8 -0
- package/dist/components/ic-menu-with-multi.js.map +1 -0
- package/dist/components/ic-menu2.js +5 -4
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-menu3.js +2665 -0
- package/dist/components/ic-menu3.js.map +1 -0
- package/dist/components/ic-navigation-button.js +1 -1
- package/dist/components/ic-pagination-bar2.js +1 -17
- package/dist/components/ic-pagination-bar2.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-pagination2.js +1 -1
- package/dist/components/ic-popover-menu.js +1 -1
- package/dist/components/ic-popover-menu.js.map +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-search-bar.js.map +1 -1
- package/dist/components/ic-select-with-multi.d.ts +11 -0
- package/dist/components/ic-select-with-multi.js +949 -0
- package/dist/components/ic-select-with-multi.js.map +1 -0
- package/dist/components/ic-select2.js +23 -14
- package/dist/components/ic-select2.js.map +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-group.js +210 -0
- package/dist/components/ic-toggle-button-group.js.map +1 -0
- package/dist/components/ic-toggle-button.js +6 -3
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/core/core.css +8 -5
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-5e94fae8.entry.js → p-06ae5bec.entry.js} +2 -2
- package/dist/core/p-06ae5bec.entry.js.map +1 -0
- package/dist/core/{p-d5cc084b.entry.js → p-0939ce92.entry.js} +2 -2
- package/dist/core/{p-d5cc084b.entry.js.map → p-0939ce92.entry.js.map} +1 -1
- package/dist/core/{p-6de46cb7.entry.js → p-16f67397.entry.js} +2 -2
- package/dist/core/p-16f67397.entry.js.map +1 -0
- package/dist/core/{p-a2f366c7.entry.js → p-1832f4b5.entry.js} +2 -2
- package/dist/core/{p-28fb7cca.entry.js → p-1b7d426b.entry.js} +2 -2
- package/dist/core/p-1b7d426b.entry.js.map +1 -0
- package/dist/core/{p-ff1d23cd.entry.js → p-1ce75941.entry.js} +2 -2
- package/dist/core/{p-5746577f.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-ca262cdc.entry.js → p-36508aad.entry.js} +2 -2
- package/dist/core/{p-7276339a.entry.js → p-3745da83.entry.js} +2 -2
- package/dist/core/{p-b43bd4f3.entry.js → p-3f2e77c3.entry.js} +2 -2
- package/dist/core/{p-24945ee5.entry.js → p-452985d9.entry.js} +2 -2
- package/dist/core/p-452985d9.entry.js.map +1 -0
- package/dist/core/{p-3c859b9e.entry.js → p-47ac6838.entry.js} +2 -2
- package/dist/core/{p-3d2fcf84.entry.js → p-4f1ffa39.entry.js} +2 -2
- package/dist/core/{p-4df42c76.entry.js → p-5759d771.entry.js} +2 -2
- package/dist/core/{p-32f18701.entry.js → p-5e2e6c3b.entry.js} +2 -2
- package/dist/core/{p-f436630b.entry.js → p-5fe96107.entry.js} +2 -2
- package/dist/core/{p-7dfd61bb.entry.js → p-62e22508.entry.js} +2 -2
- package/dist/core/{p-d49660e0.entry.js → p-6690bc04.entry.js} +2 -2
- package/dist/core/{p-f827e4c0.entry.js → p-6c0e2ceb.entry.js} +2 -2
- package/dist/core/{p-a3ab9f4c.entry.js → p-76915584.entry.js} +2 -2
- package/dist/core/p-76915584.entry.js.map +1 -0
- package/dist/core/{p-966ab920.entry.js → p-76d26018.entry.js} +2 -2
- package/dist/core/{p-79b71c18.entry.js → p-776671cf.entry.js} +2 -2
- package/dist/core/{p-434780c8.entry.js → p-7cecf5d5.entry.js} +2 -2
- package/dist/core/{p-88971cea.entry.js → p-85609bdd.entry.js} +2 -2
- package/dist/core/{p-95d3cd52.entry.js → p-86012178.entry.js} +2 -2
- package/dist/core/{p-2094c844.entry.js → p-8a7e7d23.entry.js} +2 -2
- package/dist/core/{p-aafb2c79.entry.js → p-8c90110a.entry.js} +2 -2
- package/dist/core/{p-9ce5f082.entry.js → p-8ea47d42.entry.js} +2 -2
- package/dist/core/{p-0d181ac8.entry.js → p-982a6e88.entry.js} +2 -2
- package/dist/core/{p-3b9f3a07.entry.js → p-98448bdb.entry.js} +2 -2
- package/dist/core/{p-c263542a.entry.js → p-9d01a7ad.entry.js} +2 -2
- package/dist/core/{p-051b8266.entry.js → p-9d540656.entry.js} +2 -2
- package/dist/core/p-9e3178e8.entry.js +2 -0
- package/dist/core/p-9e3178e8.entry.js.map +1 -0
- package/dist/core/{p-9fd84c69.entry.js → p-a0f9b259.entry.js} +2 -2
- package/dist/core/{p-7632acc6.entry.js → p-a42c2f37.entry.js} +2 -2
- package/dist/core/{p-fbb1fba0.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-116b18fe.entry.js → p-ae422058.entry.js} +2 -2
- package/dist/core/{p-a7d52bd1.entry.js → p-b306cbc8.entry.js} +2 -2
- package/dist/core/p-c7590421.entry.js +2 -0
- package/dist/core/p-c7590421.entry.js.map +1 -0
- package/dist/core/{p-a162744e.entry.js → p-c7820c23.entry.js} +2 -2
- package/dist/core/{p-a162744e.entry.js.map → p-c7820c23.entry.js.map} +1 -1
- package/dist/core/{p-d78fd9f3.entry.js → p-ca8cbd6a.entry.js} +2 -2
- package/dist/core/{p-da4f0a58.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-27aa95e7.entry.js → p-d3856ed3.entry.js} +2 -2
- package/dist/core/{p-c345a874.entry.js → p-d4fdd8c1.entry.js} +2 -2
- package/dist/core/{p-337b6e05.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-e74f1d09.entry.js +2 -0
- package/dist/core/p-e74f1d09.entry.js.map +1 -0
- package/dist/core/p-e79e0292.entry.js +2 -0
- package/dist/core/p-e79e0292.entry.js.map +1 -0
- package/dist/core/{p-0f0509ee.entry.js → p-e84b0310.entry.js} +2 -2
- package/dist/core/p-e84b0310.entry.js.map +1 -0
- package/dist/core/{p-93c5b849.entry.js → p-f55ad6ae.entry.js} +2 -2
- 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-d9342548.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-d06dc4ed.js → helpers-7aa21b0a.js} +8 -3
- package/dist/esm/helpers-7aa21b0a.js.map +1 -0
- package/dist/esm/helpers-f328a7b6.js +262 -0
- package/dist/esm/helpers-f328a7b6.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +6 -2
- package/dist/esm/ic-accordion-group.entry.js.map +1 -1
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-alert.entry.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-badge.entry.js +4 -3
- package/dist/esm/ic-badge.entry.js.map +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 +29 -12
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +5 -6
- package/dist/esm/ic-card.entry.js.map +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-entity.entry.js +3 -6
- package/dist/esm/ic-data-entity.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +21 -35
- package/dist/esm/ic-data-row.entry.js.map +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 +2595 -0
- package/dist/esm/ic-menu-with-multi.entry.js.map +1 -0
- package/dist/esm/{ic-input-component-container_3.entry.js → ic-menu.entry.js} +10 -70
- 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 -17
- package/dist/esm/ic-pagination-bar.entry.js.map +1 -1
- package/dist/esm/ic-pagination_4.entry.js +21 -13
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +1 -1
- package/dist/esm/ic-popover-menu.entry.js.map +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-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-select-with-multi.entry.js +820 -0
- package/dist/esm/ic-select-with-multi.entry.js.map +1 -0
- 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-group.entry.js +180 -0
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -0
- package/dist/esm/ic-toggle-button.entry.js +6 -3
- package/dist/esm/ic-toggle-button.entry.js.map +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 +24 -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 +208 -0
- package/dist/types/components/ic-select-with-multi/ic-select.d.ts +289 -0
- package/dist/types/components/ic-select-with-multi/story-data.d.ts +32 -0
- package/dist/types/components/ic-select-with-multi/test/a11y/ic-select.test.a11y.d.ts +1 -0
- package/dist/types/components.d.ts +966 -0
- package/dist/types/utils/constants.d.ts +38 -0
- package/dist/types/utils/date-helpers.d.ts +22 -0
- package/dist/types/utils/helpers.d.ts +133 -2
- package/dist/types/utils/types.d.ts +107 -0
- package/hydrate/index.js +12358 -6070
- package/package.json +3 -3
- package/dist/cjs/helpers-00b08718.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-0f0509ee.entry.js.map +0 -1
- package/dist/core/p-24945ee5.entry.js.map +0 -1
- package/dist/core/p-28fb7cca.entry.js.map +0 -1
- package/dist/core/p-2aad58b6.js +0 -2
- package/dist/core/p-2aad58b6.js.map +0 -1
- package/dist/core/p-38314d45.entry.js +0 -2
- package/dist/core/p-38314d45.entry.js.map +0 -1
- package/dist/core/p-5e94fae8.entry.js.map +0 -1
- package/dist/core/p-6de46cb7.entry.js.map +0 -1
- package/dist/core/p-7b849cb5.entry.js +0 -2
- package/dist/core/p-7b849cb5.entry.js.map +0 -1
- package/dist/core/p-9fdd7d73.entry.js +0 -2
- package/dist/core/p-9fdd7d73.entry.js.map +0 -1
- package/dist/core/p-a3ab9f4c.entry.js.map +0 -1
- package/dist/core/p-c9b11488.entry.js +0 -2
- package/dist/core/p-c9b11488.entry.js.map +0 -1
- package/dist/core/p-f163a406.entry.js +0 -2
- package/dist/core/p-f163a406.entry.js.map +0 -1
- package/dist/esm/helpers-d06dc4ed.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-a2f366c7.entry.js.map → p-1832f4b5.entry.js.map} +0 -0
- /package/dist/core/{p-ff1d23cd.entry.js.map → p-1ce75941.entry.js.map} +0 -0
- /package/dist/core/{p-5746577f.entry.js.map → p-2e2e0099.entry.js.map} +0 -0
- /package/dist/core/{p-ca262cdc.entry.js.map → p-36508aad.entry.js.map} +0 -0
- /package/dist/core/{p-7276339a.entry.js.map → p-3745da83.entry.js.map} +0 -0
- /package/dist/core/{p-b43bd4f3.entry.js.map → p-3f2e77c3.entry.js.map} +0 -0
- /package/dist/core/{p-3c859b9e.entry.js.map → p-47ac6838.entry.js.map} +0 -0
- /package/dist/core/{p-3d2fcf84.entry.js.map → p-4f1ffa39.entry.js.map} +0 -0
- /package/dist/core/{p-4df42c76.entry.js.map → p-5759d771.entry.js.map} +0 -0
- /package/dist/core/{p-32f18701.entry.js.map → p-5e2e6c3b.entry.js.map} +0 -0
- /package/dist/core/{p-f436630b.entry.js.map → p-5fe96107.entry.js.map} +0 -0
- /package/dist/core/{p-7dfd61bb.entry.js.map → p-62e22508.entry.js.map} +0 -0
- /package/dist/core/{p-d49660e0.entry.js.map → p-6690bc04.entry.js.map} +0 -0
- /package/dist/core/{p-f827e4c0.entry.js.map → p-6c0e2ceb.entry.js.map} +0 -0
- /package/dist/core/{p-966ab920.entry.js.map → p-76d26018.entry.js.map} +0 -0
- /package/dist/core/{p-79b71c18.entry.js.map → p-776671cf.entry.js.map} +0 -0
- /package/dist/core/{p-434780c8.entry.js.map → p-7cecf5d5.entry.js.map} +0 -0
- /package/dist/core/{p-88971cea.entry.js.map → p-85609bdd.entry.js.map} +0 -0
- /package/dist/core/{p-95d3cd52.entry.js.map → p-86012178.entry.js.map} +0 -0
- /package/dist/core/{p-2094c844.entry.js.map → p-8a7e7d23.entry.js.map} +0 -0
- /package/dist/core/{p-aafb2c79.entry.js.map → p-8c90110a.entry.js.map} +0 -0
- /package/dist/core/{p-9ce5f082.entry.js.map → p-8ea47d42.entry.js.map} +0 -0
- /package/dist/core/{p-0d181ac8.entry.js.map → p-982a6e88.entry.js.map} +0 -0
- /package/dist/core/{p-3b9f3a07.entry.js.map → p-98448bdb.entry.js.map} +0 -0
- /package/dist/core/{p-c263542a.entry.js.map → p-9d01a7ad.entry.js.map} +0 -0
- /package/dist/core/{p-051b8266.entry.js.map → p-9d540656.entry.js.map} +0 -0
- /package/dist/core/{p-9fd84c69.entry.js.map → p-a0f9b259.entry.js.map} +0 -0
- /package/dist/core/{p-7632acc6.entry.js.map → p-a42c2f37.entry.js.map} +0 -0
- /package/dist/core/{p-fbb1fba0.entry.js.map → p-a6447b13.entry.js.map} +0 -0
- /package/dist/core/{p-116b18fe.entry.js.map → p-ae422058.entry.js.map} +0 -0
- /package/dist/core/{p-a7d52bd1.entry.js.map → p-b306cbc8.entry.js.map} +0 -0
- /package/dist/core/{p-d78fd9f3.entry.js.map → p-ca8cbd6a.entry.js.map} +0 -0
- /package/dist/core/{p-da4f0a58.entry.js.map → p-caf857de.entry.js.map} +0 -0
- /package/dist/core/{p-27aa95e7.entry.js.map → p-d3856ed3.entry.js.map} +0 -0
- /package/dist/core/{p-c345a874.entry.js.map → p-d4fdd8c1.entry.js.map} +0 -0
- /package/dist/core/{p-337b6e05.entry.js.map → p-d5c99ec3.entry.js.map} +0 -0
- /package/dist/core/{p-93c5b849.entry.js.map → p-f55ad6ae.entry.js.map} +0 -0
- /package/dist/core/{p-d9342548.entry.js.map → p-fbf4e9b7.entry.js.map} +0 -0
@@ -0,0 +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
|
+
};
|
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;
|
@@ -1,6 +1,85 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
/**
|
2
|
+
* To investigate:
|
3
|
+
* IcColorRGBA works via @ukic/web-components but IcThemeForeground does not even though they are exported
|
4
|
+
* from @ukic/web-components in the same file. Why?
|
5
|
+
*/
|
6
|
+
import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcNavParentDetails, IcPropObject, IcSearchMatchPositions, IcColorRGBA } from "@ukic/web-components";
|
7
|
+
import { IcMenuOption, IcThemeForeground } from "./types";
|
8
|
+
import { EventEmitter } from "../stencil-public-runtime";
|
9
|
+
/**
|
10
|
+
* converts an enum of strings into an array of strings
|
11
|
+
*/
|
12
|
+
export declare const stringEnumToArray: (theEnum: Record<string, string | number>) => string[];
|
13
|
+
/**
|
14
|
+
* Used to inherit global attributes set on the host. Called in componentWillLoad and assigned
|
15
|
+
* to a variable that is later used in the render function.
|
16
|
+
*
|
17
|
+
* This does not need to be reactive as changing attributes on the host element
|
18
|
+
* does not trigger a re-render.
|
19
|
+
*/
|
20
|
+
export declare const inheritAttributes: (element: HTMLElement, attributes?: string[]) => {
|
21
|
+
[key: string]: unknown;
|
22
|
+
};
|
23
|
+
export declare const debounceEvent: (event: EventEmitter, wait: number) => EventEmitter;
|
24
|
+
export declare const debounce: (func: (...args: unknown[]) => void, wait?: number) => unknown;
|
25
|
+
/**
|
26
|
+
* This method is used to add a hidden input to a host element that contains
|
27
|
+
* a Shadow DOM. It does not add the input inside of the Shadow root which
|
28
|
+
* allows it to be picked up inside of forms. It should contain the same
|
29
|
+
* values as the host element.
|
30
|
+
*
|
31
|
+
* @param always Add a hidden input even if the container does not use Shadow
|
32
|
+
* @param container The element where the input will be added
|
33
|
+
* @param name The name of the input
|
34
|
+
* @param value The value of the input
|
35
|
+
* @param disabled If true, the input is disabled
|
36
|
+
*/
|
37
|
+
export declare const renderHiddenInput: (always: boolean, container: HTMLElement, name: string, value: string | Date | undefined | null, disabled: boolean) => void;
|
38
|
+
export declare const removeHiddenInput: (container: HTMLElement) => void;
|
39
|
+
/**
|
40
|
+
* This method helps to understand the context in which a component exists,
|
41
|
+
* to assist with choosing appropriate foreground colours to use. For example,
|
42
|
+
* this method will help you use the 'white' version of a button if it's within
|
43
|
+
* a block colour element using white foreground text.
|
44
|
+
*
|
45
|
+
* This only works for components/elements passed via <slot> and not if they
|
46
|
+
* are part of an IC component.
|
47
|
+
*
|
48
|
+
* ""
|
49
|
+
* @returns IcThemeForeground depending on the context
|
50
|
+
*/
|
51
|
+
export declare const getThemeFromContext: (el: Element, themeFromEvent?: IcThemeForeground) => IcThemeForeground;
|
52
|
+
/**
|
53
|
+
* Will create a button within the lightDOM which interacts with the parent form.
|
54
|
+
* This is required as buttons within the shadowDOM will not invoke a submit or reset
|
55
|
+
*
|
56
|
+
* @param form - parent form element which contains shadowDom button
|
57
|
+
* @param button - shadowDOM button
|
58
|
+
*/
|
59
|
+
export declare const handleHiddenFormButtonClick: (form: HTMLFormElement, button: HTMLIcButtonElement | HTMLButtonElement) => void;
|
60
|
+
export declare const isEmptyString: (value: string) => boolean;
|
61
|
+
export declare const isPropDefined: (prop: string) => string | null;
|
62
|
+
export declare const deviceSizeMatches: (size: number) => boolean;
|
63
|
+
export declare const getCurrentDeviceSize: () => number;
|
3
64
|
export declare const getCssProperty: (cssVar: string) => string;
|
65
|
+
/**
|
66
|
+
* Returns the brightness of the theme colour, calculated by using the theme RGB CSS values by:
|
67
|
+
* - Multiplying each RGB value by a set number: https://www.w3.org/TR/AERT/#color-contrast
|
68
|
+
* - Adding them together and dividing by 1000
|
69
|
+
* This is a similar calculation to its CSS counterpart: "--ic-theme-text"
|
70
|
+
* @returns number representing the brightness of the theme colour
|
71
|
+
*/
|
72
|
+
export declare const getThemeColorBrightness: () => number;
|
73
|
+
/**
|
74
|
+
* Returns if dark or light foreground colors should be used for color contrast reasons
|
75
|
+
* @returns "dark" or "light"
|
76
|
+
*/
|
77
|
+
export declare const getThemeForegroundColor: () => IcThemeForeground;
|
78
|
+
export declare const getSlot: (element: HTMLElement, name: string) => Element | null;
|
79
|
+
export declare const slotHasContent: (element: HTMLElement, name: string) => boolean;
|
80
|
+
export declare const getSlotContent: (element: HTMLElement, name: string) => Element[] | NodeListOf<ChildNode> | null;
|
81
|
+
export declare const getSlotElements: (slot: Element) => NodeListOf<ChildNode> | Element[];
|
82
|
+
export declare const getNavItemParentDetails: (el: HTMLElement) => IcNavParentDetails;
|
4
83
|
export declare const DEVICE_SIZES: {
|
5
84
|
XS: number;
|
6
85
|
S: number;
|
@@ -9,3 +88,55 @@ export declare const DEVICE_SIZES: {
|
|
9
88
|
XL: number;
|
10
89
|
UNDEFINED: number;
|
11
90
|
};
|
91
|
+
export declare const isSlotUsed: (element: HTMLElement, slotName: string) => boolean;
|
92
|
+
export declare const onComponentPropUndefinedChange: (oldValue: string | undefined, newValue: string | undefined, callback: IcCallbackFunctionNoReturn) => void;
|
93
|
+
export declare const hasShadowDom: (el: HTMLElement) => boolean;
|
94
|
+
export declare const getInputHelperTextID: (id: string) => string;
|
95
|
+
export declare const getInputValidationTextID: (id: string) => string;
|
96
|
+
export declare const getInputDescribedByText: (inputId: string, helperText: boolean, validationText: boolean) => string;
|
97
|
+
export declare const isMobileOrTablet: () => boolean;
|
98
|
+
/**
|
99
|
+
* Extracts the label using the value from an object. Requires the object to have a label and value property.
|
100
|
+
* @param value - value from object
|
101
|
+
* @param options - list of menu items
|
102
|
+
* @returns - label corresponding to value
|
103
|
+
*/
|
104
|
+
export declare const getLabelFromValue: (value: string, options: IcMenuOption[], valueField?: string, labelField?: string) => string | undefined;
|
105
|
+
/**
|
106
|
+
* Filters the options based on the search string.
|
107
|
+
* @param options - array of options
|
108
|
+
* @param includeDescriptions - determines whether option descriptions are included when filtering options
|
109
|
+
* @param searchString - string used to filter the options
|
110
|
+
* @param position - whether the search string matches the start of or anywhere in the options
|
111
|
+
* @returns filtered array of options
|
112
|
+
*/
|
113
|
+
export declare const getFilteredMenuOptions: (options: IcMenuOption[], includeDescriptions: boolean, searchString: string, position: IcSearchMatchPositions, labelField?: string) => IcMenuOption[];
|
114
|
+
/**
|
115
|
+
* Gets count of options where only group title "parent" options have been removed.
|
116
|
+
* Disabled options are included in the count.
|
117
|
+
* @param options - array of options
|
118
|
+
* @returns number of options not including group titles
|
119
|
+
*/
|
120
|
+
export declare const getOptionsWithoutGroupTitlesCount: (options: IcMenuOption[]) => number;
|
121
|
+
export declare const hexToRgba: (hex: string) => IcColorRGBA;
|
122
|
+
export declare const rgbaStrToObj: (rgbaStr: string) => IcColorRGBA;
|
123
|
+
export declare const elementOverflowsX: (element: HTMLElement) => boolean;
|
124
|
+
/**
|
125
|
+
*
|
126
|
+
* @param child - The child element
|
127
|
+
* @returns string
|
128
|
+
*/
|
129
|
+
export declare const getParentElementType: (child: HTMLElement) => string;
|
130
|
+
export declare const getParentElement: (child: HTMLElement) => HTMLElement;
|
131
|
+
export declare const hasClassificationBanner: () => boolean;
|
132
|
+
export declare const pxToRem: (px: string, base?: number) => string;
|
133
|
+
export declare const isNumeric: (value: string) => boolean;
|
134
|
+
export declare const hasValidationStatus: (status: IcInformationStatusOrEmpty, disabled: boolean) => boolean;
|
135
|
+
export declare const onComponentRequiredPropUndefined: (props: IcPropObject[], component: string) => void;
|
136
|
+
export declare const kebabToCamelCase: (kebabCase: string) => string;
|
137
|
+
export declare const checkResizeObserver: (callbackFn: IcCallbackFunctionNoReturn) => void;
|
138
|
+
export declare const getForm: (el: HTMLElement) => HTMLFormElement;
|
139
|
+
export declare const addFormResetListener: (el: HTMLElement, callbackFn: IcCallbackFunctionNoReturn) => void;
|
140
|
+
export declare const removeFormResetListener: (el: HTMLElement, callbackFn: IcCallbackFunctionNoReturn) => void;
|
141
|
+
export declare const removeDisabledFalse: (disabled: boolean, element: HTMLElement) => void;
|
142
|
+
export declare const isMacDevice: () => boolean;
|
@@ -0,0 +1,107 @@
|
|
1
|
+
export type IcFocusableComponents = HTMLIcBreadcrumbElement | HTMLIcButtonElement | HTMLIcCardElement | HTMLIcCheckboxElement | HTMLIcChipElement | HTMLIcLinkElement | HTMLIcNavigationButtonElement | HTMLIcNavigationGroupElement | HTMLIcNavigationItemElement | HTMLIcRadioOptionElement | HTMLIcSearchBarElement | HTMLIcSelectElement | HTMLIcSwitchElement | HTMLIcTabElement | HTMLIcTextFieldElement;
|
2
|
+
export type IcStatusVariants = "neutral" | "info" | "warning" | "error" | "success";
|
3
|
+
export declare enum IcInformationStatus {
|
4
|
+
Warning = "warning",
|
5
|
+
Error = "error",
|
6
|
+
Success = "success"
|
7
|
+
}
|
8
|
+
export type IcSearchMatchPositions = "start" | "anywhere";
|
9
|
+
export type IcSizes = "default" | "large" | "small";
|
10
|
+
export type IcSizesNoLarge = "default" | "small";
|
11
|
+
export type IcInformationStatusOrEmpty = "warning" | "error" | "success" | "";
|
12
|
+
export type IcNavType = "side" | "top" | "page-header";
|
13
|
+
export type IcAutocompleteTypes = "on" | "off" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo";
|
14
|
+
export type IcAlignment = "left" | "center" | "full-width";
|
15
|
+
export declare enum IcThemeForegroundEnum {
|
16
|
+
Default = "default",
|
17
|
+
Dark = "dark",
|
18
|
+
Light = "light"
|
19
|
+
}
|
20
|
+
export interface IcValueEventDetail {
|
21
|
+
value: string | string[];
|
22
|
+
keyPressed?: string;
|
23
|
+
}
|
24
|
+
export type IcThemeForeground = "default" | "dark" | "light";
|
25
|
+
export type IcThemeForegroundNoDefault = "dark" | "light";
|
26
|
+
export type IcTheme = {
|
27
|
+
mode: IcThemeForeground;
|
28
|
+
color: IcColorRGB;
|
29
|
+
};
|
30
|
+
export type IcAdditionalFieldTypes = "static" | "dynamic";
|
31
|
+
export type IcColorRGB = {
|
32
|
+
r: number;
|
33
|
+
g: number;
|
34
|
+
b: number;
|
35
|
+
};
|
36
|
+
export type IcColorRGBA = IcColorRGB & {
|
37
|
+
a: number;
|
38
|
+
};
|
39
|
+
export type IcActivationTypes = "automatic" | "manual";
|
40
|
+
export type IcAutocorrectStates = "on" | "off";
|
41
|
+
export type IcNavParentDetails = {
|
42
|
+
navType: IcNavType | "";
|
43
|
+
parent: HTMLElement;
|
44
|
+
};
|
45
|
+
export type IcTypographyVariants = "h1" | "h2" | "h3" | "h4" | "subtitle-large" | "subtitle-small" | "body" | "label" | "label-uppercase" | "caption" | "caption-uppercase" | "code-large" | "code-small" | "code-extra-small" | "badge" | "badge-small";
|
46
|
+
/**
|
47
|
+
* @interface IcMenuOption
|
48
|
+
* @field {string} A label field to options. Defaults to "label", but can have any custom name.
|
49
|
+
* @field {string} A value field to options. Defaults to "value", but can have any custom name.
|
50
|
+
*/
|
51
|
+
export interface IcMenuOption {
|
52
|
+
description?: string;
|
53
|
+
disabled?: boolean;
|
54
|
+
recommended?: boolean;
|
55
|
+
children?: IcMenuOption[];
|
56
|
+
loading?: boolean;
|
57
|
+
timedOut?: boolean;
|
58
|
+
[key: string]: any;
|
59
|
+
element?: {
|
60
|
+
component: any;
|
61
|
+
ariaLabel: string;
|
62
|
+
};
|
63
|
+
icon?: any;
|
64
|
+
}
|
65
|
+
export type IcCallbackFunctionNoReturn = (...args: unknown[]) => void;
|
66
|
+
export type IcDateFormat = "DD/MM/YYYY" | "MM/DD/YYYY" | "YYYY/MM/DD";
|
67
|
+
export declare enum IcDateInputMonths {
|
68
|
+
"January" = 0,
|
69
|
+
"February" = 1,
|
70
|
+
"March" = 2,
|
71
|
+
"April" = 3,
|
72
|
+
"May" = 4,
|
73
|
+
"June" = 5,
|
74
|
+
"July" = 6,
|
75
|
+
"August" = 7,
|
76
|
+
"September" = 8,
|
77
|
+
"October" = 9,
|
78
|
+
"November" = 10,
|
79
|
+
"December" = 11
|
80
|
+
}
|
81
|
+
export declare enum IcShortDayNames {
|
82
|
+
"Sun" = 0,
|
83
|
+
"Mon" = 1,
|
84
|
+
"Tue" = 2,
|
85
|
+
"Wed" = 3,
|
86
|
+
"Thu" = 4,
|
87
|
+
"Fri" = 5,
|
88
|
+
"Sat" = 6
|
89
|
+
}
|
90
|
+
export declare enum IcDayNames {
|
91
|
+
"Sunday" = 0,
|
92
|
+
"Monday" = 1,
|
93
|
+
"Tuesday" = 2,
|
94
|
+
"Wednesday" = 3,
|
95
|
+
"Thursday" = 4,
|
96
|
+
"Friday" = 5,
|
97
|
+
"Saturday" = 6
|
98
|
+
}
|
99
|
+
export declare enum IcWeekDays {
|
100
|
+
Sunday = 0,
|
101
|
+
Monday = 1,
|
102
|
+
Tuesday = 2,
|
103
|
+
Wednesday = 3,
|
104
|
+
Thursday = 4,
|
105
|
+
Friday = 5,
|
106
|
+
Saturday = 6
|
107
|
+
}
|