@ukic/canary-web-components 3.0.0-canary.4 → 3.0.0-canary.6
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/{helpers-36cdc6cb.js → helpers-0d86316e.js} +33 -28
- package/dist/cjs/helpers-0d86316e.js.map +1 -0
- package/dist/cjs/{helpers-a67ad3a4.js → helpers-e0da4ae1.js} +27 -25
- package/dist/cjs/helpers-e0da4ae1.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +8 -1
- package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +4 -4
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +8 -5
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +3 -3
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +43 -20
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +18 -17
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-horizontal.cjs.entry.js +17 -8
- package/dist/cjs/ic-card-horizontal.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +20 -10
- package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +5 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +5 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +9 -4
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +7 -7
- package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-table.cjs.entry.js +86 -72
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-input.cjs.entry.js +14 -9
- package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-picker.cjs.entry.js +14 -5
- package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +2 -2
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +3 -3
- package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-empty-state_2.cjs.entry.js +9 -6
- package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +6 -7
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +4 -5
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +7 -8
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +6 -7
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +14 -7
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +22 -25
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +21 -25
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +10 -12
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +16 -9
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +11 -8
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +7 -6
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +31 -6
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -4
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +5 -3
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +66 -54
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +6 -6
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +9 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +5 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +10 -6
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +14 -10
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +5 -4
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +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 +7 -3
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +3 -19
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +5 -2
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +20 -20
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +31 -4
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +15 -6
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +13 -7
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tree-item.cjs.entry.js +13 -4
- package/dist/cjs/ic-tree-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tree-view.cjs.entry.js +16 -4
- package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +2 -2
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.css +14 -11
- package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js +22 -10
- package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js.map +1 -1
- package/dist/collection/components/ic-card-horizontal/test/basic/ic-card-horizontal.spec.js +10 -0
- package/dist/collection/components/ic-card-horizontal/test/basic/ic-card-horizontal.spec.js.map +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.css +70 -32
- package/dist/collection/components/ic-data-table/ic-data-table.js +116 -90
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
- package/dist/collection/components/ic-data-table/story-data.js +129 -2
- package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
- package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +39 -1
- package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
- package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.css +9 -4
- package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +5 -5
- package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js.map +1 -1
- package/dist/collection/components/ic-date-input/ic-date-input.css +60 -7
- package/dist/collection/components/ic-date-input/ic-date-input.js +40 -9
- package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
- package/dist/collection/components/ic-date-picker/ic-date-picker.css +16 -15
- package/dist/collection/components/ic-date-picker/ic-date-picker.js +39 -4
- package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.css +1 -5
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +8 -5
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
- package/dist/collection/components/ic-tree-item/ic-tree-item.css +24 -4
- package/dist/collection/components/ic-tree-item/ic-tree-item.js +33 -5
- package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -1
- package/dist/collection/components/ic-tree-item/test/basic/ic-tree-item.spec.js +3 -0
- package/dist/collection/components/ic-tree-item/test/basic/ic-tree-item.spec.js.map +1 -1
- package/dist/collection/components/ic-tree-view/ic-tree-view.css +16 -2
- package/dist/collection/components/ic-tree-view/ic-tree-view.js +53 -3
- package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -1
- package/dist/collection/utils/helpers.js +31 -32
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js +6 -6
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +30 -25
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/helpers2.js +26 -24
- package/dist/components/helpers2.js.map +1 -1
- package/dist/components/ic-accordion.js +9 -1
- package/dist/components/ic-accordion.js.map +1 -1
- package/dist/components/ic-alert.js +4 -4
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-back-to-top.js +9 -5
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.js +3 -3
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +43 -19
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +1 -1
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +21 -19
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card-horizontal.js +20 -9
- package/dist/components/ic-card-horizontal.js.map +1 -1
- package/dist/components/ic-card-vertical.js +25 -13
- package/dist/components/ic-card-vertical.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +5 -0
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +5 -0
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +11 -4
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-data-table-title-bar.js +6 -6
- package/dist/components/ic-data-table-title-bar.js.map +1 -1
- package/dist/components/ic-data-table.js +86 -71
- package/dist/components/ic-data-table.js.map +1 -1
- package/dist/components/ic-date-input2.js +16 -9
- package/dist/components/ic-date-input2.js.map +1 -1
- package/dist/components/ic-date-picker.js +16 -5
- package/dist/components/ic-date-picker.js.map +1 -1
- package/dist/components/ic-dialog.js +1 -1
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +4 -4
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +7 -8
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +5 -6
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +8 -9
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +7 -8
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +16 -7
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +21 -23
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +12 -17
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +8 -8
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +13 -15
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-menu-item2.js +20 -11
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +4 -4
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +13 -9
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +9 -7
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +33 -7
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +6 -4
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +5 -2
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-bar2.js +7 -4
- package/dist/components/ic-pagination-bar2.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +6 -1
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination2.js +9 -22
- package/dist/components/ic-pagination2.js.map +1 -1
- package/dist/components/ic-popover-menu.js +5 -5
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +8 -0
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +6 -1
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +11 -6
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select2.js +20 -14
- package/dist/components/ic-select2.js.map +1 -1
- package/dist/components/ic-side-navigation.js +15 -11
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-status-tag.js +5 -3
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-switch.js +9 -4
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-group.js +2 -18
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab.js +5 -2
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +40 -20
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +22 -22
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toast.js +1 -1
- package/dist/components/ic-toggle-button-group.js +38 -6
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +20 -8
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-top-navigation.js +15 -8
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-tree-item.js +15 -4
- package/dist/components/ic-tree-item.js.map +1 -1
- package/dist/components/ic-tree-view.js +19 -4
- package/dist/components/ic-tree-view.js.map +1 -1
- package/dist/components/ic-typography2.js +1 -1
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/core/core.css +899 -123
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-006d37d0.entry.js +2 -0
- package/dist/core/p-006d37d0.entry.js.map +1 -0
- package/dist/core/p-06cda732.entry.js +2 -0
- package/dist/core/p-06cda732.entry.js.map +1 -0
- package/dist/core/{p-606ad46f.entry.js → p-07881c14.entry.js} +2 -2
- package/dist/core/{p-1d24a02a.entry.js → p-1084a7f9.entry.js} +2 -2
- package/dist/core/p-1084a7f9.entry.js.map +1 -0
- package/dist/core/p-1893f635.entry.js +2 -0
- package/dist/core/p-1893f635.entry.js.map +1 -0
- package/dist/core/{p-fbb5c8f2.entry.js → p-19f85b60.entry.js} +2 -2
- package/dist/core/p-21f6619f.entry.js +2 -0
- package/dist/core/p-21f6619f.entry.js.map +1 -0
- package/dist/core/p-2412ba0b.entry.js +2 -0
- package/dist/core/p-2412ba0b.entry.js.map +1 -0
- package/dist/core/p-2664bfab.entry.js +2 -0
- package/dist/core/p-2664bfab.entry.js.map +1 -0
- package/dist/core/{p-42f1b9cc.entry.js → p-26a41692.entry.js} +2 -2
- package/dist/core/p-29a86adf.entry.js +2 -0
- package/dist/core/p-29a86adf.entry.js.map +1 -0
- package/dist/core/p-2c38ff71.entry.js +2 -0
- package/dist/core/p-2c38ff71.entry.js.map +1 -0
- package/dist/core/p-324be8cf.entry.js +2 -0
- package/dist/core/p-324be8cf.entry.js.map +1 -0
- package/dist/core/p-3272931c.entry.js +2 -0
- package/dist/core/p-3272931c.entry.js.map +1 -0
- package/dist/core/p-34e57694.entry.js +2 -0
- package/dist/core/p-34e57694.entry.js.map +1 -0
- package/dist/core/{p-5eecd3fc.entry.js → p-35caddb3.entry.js} +2 -2
- package/dist/core/p-35caddb3.entry.js.map +1 -0
- package/dist/core/p-38aca488.entry.js +2 -0
- package/dist/core/p-38aca488.entry.js.map +1 -0
- package/dist/core/{p-878df16f.entry.js → p-39190da3.entry.js} +2 -2
- package/dist/core/p-39190da3.entry.js.map +1 -0
- package/dist/core/p-3ae329ab.entry.js +2 -0
- package/dist/core/p-3ae329ab.entry.js.map +1 -0
- package/dist/core/p-3b84953c.entry.js +2 -0
- package/dist/core/p-3b84953c.entry.js.map +1 -0
- package/dist/core/p-3bc4bc81.entry.js +2 -0
- package/dist/core/p-3bc4bc81.entry.js.map +1 -0
- package/dist/core/{p-cc22644d.entry.js → p-47f2f713.entry.js} +2 -2
- package/dist/core/p-4bcd86cf.js +2 -0
- package/dist/core/p-4bcd86cf.js.map +1 -0
- package/dist/core/{p-3b0fae40.entry.js → p-5284ccab.entry.js} +2 -2
- package/dist/core/p-5284ccab.entry.js.map +1 -0
- package/dist/core/p-5d749879.entry.js +2 -0
- package/dist/core/p-5d749879.entry.js.map +1 -0
- package/dist/core/{p-8ffdd236.entry.js → p-670c10af.entry.js} +2 -2
- package/dist/core/p-670c10af.entry.js.map +1 -0
- package/dist/core/p-68eb216b.entry.js +2 -0
- package/dist/core/p-68eb216b.entry.js.map +1 -0
- package/dist/core/{p-7c6710f8.entry.js → p-6a2ed698.entry.js} +2 -2
- package/dist/core/p-6aa0f42b.entry.js +2 -0
- package/dist/core/p-6aa0f42b.entry.js.map +1 -0
- package/dist/core/p-6d179eed.entry.js +2 -0
- package/dist/core/p-6d179eed.entry.js.map +1 -0
- package/dist/core/p-7765a219.entry.js +2 -0
- package/dist/core/p-7765a219.entry.js.map +1 -0
- package/dist/core/p-77a98aa2.entry.js +2 -0
- package/dist/core/p-77a98aa2.entry.js.map +1 -0
- package/dist/core/p-78f747ee.entry.js +2 -0
- package/dist/core/p-78f747ee.entry.js.map +1 -0
- package/dist/core/{p-80b296cd.entry.js → p-7a9de1bb.entry.js} +2 -2
- package/dist/core/{p-e6a330e4.js → p-808715e2.js} +2 -2
- package/dist/core/p-808715e2.js.map +1 -0
- package/dist/core/{p-7aa6b76e.entry.js → p-83f39782.entry.js} +2 -2
- package/dist/core/p-8e300091.entry.js +2 -0
- package/dist/core/p-8e300091.entry.js.map +1 -0
- package/dist/core/p-92398f47.entry.js +2 -0
- package/dist/core/p-92398f47.entry.js.map +1 -0
- package/dist/core/p-95d1c9e6.entry.js +2 -0
- package/dist/core/p-95d1c9e6.entry.js.map +1 -0
- package/dist/core/p-9b600ef3.entry.js +2 -0
- package/dist/core/p-9b600ef3.entry.js.map +1 -0
- package/dist/core/{p-53228014.entry.js → p-a0dfd2cf.entry.js} +2 -2
- package/dist/core/p-a0dfd2cf.entry.js.map +1 -0
- package/dist/core/p-a7cda2d6.entry.js +2 -0
- package/dist/core/p-a7cda2d6.entry.js.map +1 -0
- package/dist/core/p-aa876e5e.entry.js +2 -0
- package/dist/core/p-aa876e5e.entry.js.map +1 -0
- package/dist/core/p-b047cd84.entry.js +2 -0
- package/dist/core/p-b047cd84.entry.js.map +1 -0
- package/dist/core/p-b1c68968.entry.js +2 -0
- package/dist/core/p-b1c68968.entry.js.map +1 -0
- package/dist/core/{p-00ff3a06.entry.js → p-b7e5b682.entry.js} +2 -2
- package/dist/core/p-b7e5b682.entry.js.map +1 -0
- package/dist/core/{p-e7b6d9c5.entry.js → p-b9081a99.entry.js} +2 -2
- package/dist/core/p-b9081a99.entry.js.map +1 -0
- package/dist/core/p-c6bdbee1.entry.js +2 -0
- package/dist/core/p-c6bdbee1.entry.js.map +1 -0
- package/dist/core/p-ca4bfffd.entry.js +2 -0
- package/dist/core/p-ca4bfffd.entry.js.map +1 -0
- package/dist/core/p-ccd141a9.entry.js +2 -0
- package/dist/core/p-ccd141a9.entry.js.map +1 -0
- package/dist/core/{p-b3d93bc1.entry.js → p-d5648fdc.entry.js} +2 -2
- package/dist/core/p-d5648fdc.entry.js.map +1 -0
- package/dist/core/p-d7bc2e7f.entry.js +2 -0
- package/dist/core/p-d7bc2e7f.entry.js.map +1 -0
- package/dist/core/p-d981ef7a.entry.js +2 -0
- package/dist/core/p-d981ef7a.entry.js.map +1 -0
- package/dist/core/p-e0b556b4.entry.js +2 -0
- package/dist/core/p-e0b556b4.entry.js.map +1 -0
- package/dist/core/{p-8bec76d1.entry.js → p-eb6e3878.entry.js} +2 -2
- package/dist/core/p-eb6e3878.entry.js.map +1 -0
- package/dist/core/{p-82aa8136.entry.js → p-efd608ab.entry.js} +2 -2
- package/dist/core/p-efd608ab.entry.js.map +1 -0
- package/dist/core/p-f02d5539.entry.js +2 -0
- package/dist/core/p-f02d5539.entry.js.map +1 -0
- package/dist/core/p-f95e52d8.entry.js +2 -0
- package/dist/core/p-f95e52d8.entry.js.map +1 -0
- package/dist/core/{p-26613dbd.entry.js → p-fafc157b.entry.js} +2 -2
- package/dist/core/p-fafc157b.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-1e2516ae.js → helpers-759bbf51.js} +27 -25
- package/dist/esm/helpers-759bbf51.js.map +1 -0
- package/dist/esm/{helpers-c326255f.js → helpers-fcc7a364.js} +31 -26
- package/dist/esm/helpers-fcc7a364.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +1 -1
- package/dist/esm/ic-accordion.entry.js +8 -1
- package/dist/esm/ic-accordion.entry.js.map +1 -1
- package/dist/esm/ic-alert.entry.js +4 -4
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +9 -6
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-badge.entry.js +3 -3
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +43 -20
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +2 -2
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +18 -17
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-horizontal.entry.js +17 -8
- package/dist/esm/ic-card-horizontal.entry.js.map +1 -1
- package/dist/esm/ic-card-vertical.entry.js +20 -10
- package/dist/esm/ic-card-vertical.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +5 -1
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +5 -1
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +9 -4
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +1 -1
- package/dist/esm/ic-data-table-title-bar.entry.js +7 -7
- package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -1
- package/dist/esm/ic-data-table.entry.js +86 -72
- package/dist/esm/ic-data-table.entry.js.map +1 -1
- package/dist/esm/ic-date-input.entry.js +14 -9
- package/dist/esm/ic-date-input.entry.js.map +1 -1
- package/dist/esm/ic-date-picker.entry.js +14 -5
- package/dist/esm/ic-date-picker.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +2 -2
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +3 -3
- package/dist/esm/ic-divider.entry.js.map +1 -1
- package/dist/esm/ic-empty-state_2.entry.js +9 -6
- package/dist/esm/ic-empty-state_2.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +6 -7
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +4 -5
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +7 -8
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +6 -7
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +14 -7
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +22 -25
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +21 -25
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +10 -12
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +16 -9
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +11 -8
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +7 -6
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +31 -6
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +5 -4
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +5 -3
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination_4.entry.js +66 -54
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +6 -6
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +9 -1
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +5 -1
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +10 -6
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +14 -10
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +5 -4
- package/dist/esm/ic-status-tag.entry.js.map +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 +7 -3
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +3 -19
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +1 -1
- package/dist/esm/ic-tab.entry.js +5 -2
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +20 -20
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +31 -4
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +15 -6
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +13 -7
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-tree-item.entry.js +13 -4
- package/dist/esm/ic-tree-item.entry.js.map +1 -1
- package/dist/esm/ic-tree-view.entry.js +16 -4
- package/dist/esm/ic-tree-view.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +2 -2
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-card-horizontal/ic-card-horizontal.d.ts +4 -3
- package/dist/types/components/ic-data-table/ic-data-table.d.ts +8 -5
- package/dist/types/components/ic-data-table/story-data.d.ts +103 -0
- package/dist/types/components/ic-date-input/ic-date-input.d.ts +6 -1
- package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +6 -1
- package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +1 -1
- package/dist/types/components/ic-tree-item/ic-tree-item.d.ts +7 -2
- package/dist/types/components/ic-tree-view/ic-tree-view.d.ts +10 -2
- package/dist/types/components.d.ts +55 -17
- package/dist/types/utils/helpers.d.ts +9 -9
- package/dist/types/utils/types.d.ts +5 -5
- package/hydrate/index.js +736 -493
- package/package.json +3 -3
- package/dist/cjs/helpers-36cdc6cb.js.map +0 -1
- package/dist/cjs/helpers-a67ad3a4.js.map +0 -1
- package/dist/core/p-00ff3a06.entry.js.map +0 -1
- package/dist/core/p-036d251b.entry.js +0 -2
- package/dist/core/p-036d251b.entry.js.map +0 -1
- package/dist/core/p-043cf5de.js +0 -2
- package/dist/core/p-043cf5de.js.map +0 -1
- package/dist/core/p-13d2db9b.entry.js +0 -2
- package/dist/core/p-13d2db9b.entry.js.map +0 -1
- package/dist/core/p-1d24a02a.entry.js.map +0 -1
- package/dist/core/p-235b461f.entry.js +0 -2
- package/dist/core/p-235b461f.entry.js.map +0 -1
- package/dist/core/p-24d03bbd.entry.js +0 -2
- package/dist/core/p-24d03bbd.entry.js.map +0 -1
- package/dist/core/p-26613dbd.entry.js.map +0 -1
- package/dist/core/p-2873f871.entry.js +0 -2
- package/dist/core/p-2873f871.entry.js.map +0 -1
- package/dist/core/p-2a3bd99a.entry.js +0 -2
- package/dist/core/p-2a3bd99a.entry.js.map +0 -1
- package/dist/core/p-2f4bec06.entry.js +0 -2
- package/dist/core/p-2f4bec06.entry.js.map +0 -1
- package/dist/core/p-350074d4.entry.js +0 -2
- package/dist/core/p-350074d4.entry.js.map +0 -1
- package/dist/core/p-39101ffc.entry.js +0 -2
- package/dist/core/p-39101ffc.entry.js.map +0 -1
- package/dist/core/p-3b0fae40.entry.js.map +0 -1
- package/dist/core/p-50dd2744.entry.js +0 -2
- package/dist/core/p-50dd2744.entry.js.map +0 -1
- package/dist/core/p-53228014.entry.js.map +0 -1
- package/dist/core/p-574355c9.entry.js +0 -2
- package/dist/core/p-574355c9.entry.js.map +0 -1
- package/dist/core/p-5af1273f.entry.js +0 -2
- package/dist/core/p-5af1273f.entry.js.map +0 -1
- package/dist/core/p-5eecd3fc.entry.js.map +0 -1
- package/dist/core/p-620b758c.entry.js +0 -2
- package/dist/core/p-620b758c.entry.js.map +0 -1
- package/dist/core/p-637035c3.entry.js +0 -2
- package/dist/core/p-637035c3.entry.js.map +0 -1
- package/dist/core/p-6727166b.entry.js +0 -2
- package/dist/core/p-6727166b.entry.js.map +0 -1
- package/dist/core/p-6dc00a8f.entry.js +0 -2
- package/dist/core/p-6dc00a8f.entry.js.map +0 -1
- package/dist/core/p-6dffaac0.entry.js +0 -2
- package/dist/core/p-6dffaac0.entry.js.map +0 -1
- package/dist/core/p-72210cd4.entry.js +0 -2
- package/dist/core/p-72210cd4.entry.js.map +0 -1
- package/dist/core/p-7b90f0ae.entry.js +0 -2
- package/dist/core/p-7b90f0ae.entry.js.map +0 -1
- package/dist/core/p-7c3c080a.entry.js +0 -2
- package/dist/core/p-7c3c080a.entry.js.map +0 -1
- package/dist/core/p-7c663d4a.entry.js +0 -2
- package/dist/core/p-7c663d4a.entry.js.map +0 -1
- package/dist/core/p-80dee118.entry.js +0 -2
- package/dist/core/p-80dee118.entry.js.map +0 -1
- package/dist/core/p-82aa8136.entry.js.map +0 -1
- package/dist/core/p-83b4efe2.entry.js +0 -2
- package/dist/core/p-83b4efe2.entry.js.map +0 -1
- package/dist/core/p-83e4d955.entry.js +0 -2
- package/dist/core/p-83e4d955.entry.js.map +0 -1
- package/dist/core/p-85d51975.entry.js +0 -2
- package/dist/core/p-85d51975.entry.js.map +0 -1
- package/dist/core/p-878df16f.entry.js.map +0 -1
- package/dist/core/p-8bec76d1.entry.js.map +0 -1
- package/dist/core/p-8ffdd236.entry.js.map +0 -1
- package/dist/core/p-97953d8b.entry.js +0 -2
- package/dist/core/p-97953d8b.entry.js.map +0 -1
- package/dist/core/p-9a62c3b8.entry.js +0 -2
- package/dist/core/p-9a62c3b8.entry.js.map +0 -1
- package/dist/core/p-a22d335b.entry.js +0 -2
- package/dist/core/p-a22d335b.entry.js.map +0 -1
- package/dist/core/p-a22e5356.entry.js +0 -2
- package/dist/core/p-a22e5356.entry.js.map +0 -1
- package/dist/core/p-b03218df.entry.js +0 -2
- package/dist/core/p-b03218df.entry.js.map +0 -1
- package/dist/core/p-b3d93bc1.entry.js.map +0 -1
- package/dist/core/p-c1feb2b2.entry.js +0 -2
- package/dist/core/p-c1feb2b2.entry.js.map +0 -1
- package/dist/core/p-c40c57ee.entry.js +0 -2
- package/dist/core/p-c40c57ee.entry.js.map +0 -1
- package/dist/core/p-c883b5c1.entry.js +0 -2
- package/dist/core/p-c883b5c1.entry.js.map +0 -1
- package/dist/core/p-d7632baf.entry.js +0 -2
- package/dist/core/p-d7632baf.entry.js.map +0 -1
- package/dist/core/p-dcbfc485.entry.js +0 -2
- package/dist/core/p-dcbfc485.entry.js.map +0 -1
- package/dist/core/p-e6a330e4.js.map +0 -1
- package/dist/core/p-e7b6d9c5.entry.js.map +0 -1
- package/dist/core/p-ea3e2419.entry.js +0 -2
- package/dist/core/p-ea3e2419.entry.js.map +0 -1
- package/dist/core/p-f32ab3de.entry.js +0 -2
- package/dist/core/p-f32ab3de.entry.js.map +0 -1
- package/dist/core/p-f3f9acbb.entry.js +0 -2
- package/dist/core/p-f3f9acbb.entry.js.map +0 -1
- package/dist/esm/helpers-1e2516ae.js.map +0 -1
- package/dist/esm/helpers-c326255f.js.map +0 -1
- /package/dist/core/{p-606ad46f.entry.js.map → p-07881c14.entry.js.map} +0 -0
- /package/dist/core/{p-fbb5c8f2.entry.js.map → p-19f85b60.entry.js.map} +0 -0
- /package/dist/core/{p-42f1b9cc.entry.js.map → p-26a41692.entry.js.map} +0 -0
- /package/dist/core/{p-cc22644d.entry.js.map → p-47f2f713.entry.js.map} +0 -0
- /package/dist/core/{p-7c6710f8.entry.js.map → p-6a2ed698.entry.js.map} +0 -0
- /package/dist/core/{p-80b296cd.entry.js.map → p-7a9de1bb.entry.js.map} +0 -0
- /package/dist/core/{p-7aa6b76e.entry.js.map → p-83f39782.entry.js.map} +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { IcBrand, IcBrandForeground, IcThemeMode } from "../../utils/types";
|
2
2
|
import { IcCardSizes } from "./ic-card-horizontal.types";
|
3
3
|
/**
|
4
4
|
* @slot heading - Content will be placed at the top of the horizontal card to the right of the icon.
|
@@ -10,7 +10,7 @@ import { IcCardSizes } from "./ic-card-horizontal.types";
|
|
10
10
|
export declare class Card {
|
11
11
|
private hostMutationObserver;
|
12
12
|
el: HTMLIcCardHorizontalElement;
|
13
|
-
appearance?:
|
13
|
+
appearance?: IcBrandForeground;
|
14
14
|
isFocussed: boolean;
|
15
15
|
parentEl: HTMLElement | null;
|
16
16
|
parentIsAnchorTag: boolean;
|
@@ -22,6 +22,7 @@ export declare class Card {
|
|
22
22
|
* If `true`, the horizontal card will be disabled if it is clickable.
|
23
23
|
*/
|
24
24
|
disabled?: boolean;
|
25
|
+
watchDisabledHandler(): void;
|
25
26
|
/**
|
26
27
|
* The heading for the horizontal card. This is required, unless a slotted heading is used.
|
27
28
|
*/
|
@@ -62,7 +63,7 @@ export declare class Card {
|
|
62
63
|
componentWillLoad(): void;
|
63
64
|
componentDidLoad(): void;
|
64
65
|
handleHostClick(event: Event): void;
|
65
|
-
|
66
|
+
brandChangeHandler(ev: CustomEvent<IcBrand>): void;
|
66
67
|
/**
|
67
68
|
* Sets focus on the card.
|
68
69
|
*/
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
2
2
|
import { IcDataTableDataType, IcDataTableColumnObject, IcDataTableDensityOptions, IcDataTableRowHeights, IcDataTableSortOrderOptions, IcDataTableTruncationTypes, IcDensityUpdateEventDetail, IcSortEventDetail } from "./ic-data-table.types";
|
3
|
-
import {
|
4
|
-
import { IcPaginationBarOptions } from "../../utils/types";
|
3
|
+
import { IcPaginationBarOptions, IcThemeMode } from "../../utils/types";
|
5
4
|
/**
|
6
5
|
* @slot empty-state - Content is slotted below the table header when there is no data and the table is not loading.
|
7
6
|
* @slot {COLUMN_KEY}-{ROW_INDEX}[-icon] - Each cell should have its own slot, named using the column tag and the row index, allowing for custom elements to be displayed. Include `-icon` at the end for that cell's icon slot.
|
@@ -69,7 +68,7 @@ export declare class DataTable {
|
|
69
68
|
/**
|
70
69
|
* The row content for the table.
|
71
70
|
*/
|
72
|
-
data
|
71
|
+
data?: IcDataTableDataType[];
|
73
72
|
/**
|
74
73
|
* Set the density of the table including font and padding.
|
75
74
|
*/
|
@@ -98,7 +97,6 @@ export declare class DataTable {
|
|
98
97
|
* Sets the props for the circular loading indicator used in the loading state.
|
99
98
|
*/
|
100
99
|
loadingOptions?: {
|
101
|
-
appearance?: IcThemeForegroundNoDefault;
|
102
100
|
description?: string;
|
103
101
|
label?: string;
|
104
102
|
labelDuration?: number;
|
@@ -151,6 +149,10 @@ export declare class DataTable {
|
|
151
149
|
* Sets the layout of the table
|
152
150
|
*/
|
153
151
|
tableLayout?: "fixed" | "auto";
|
152
|
+
/**
|
153
|
+
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
154
|
+
*/
|
155
|
+
theme?: IcThemeMode;
|
154
156
|
/**
|
155
157
|
* Sets the method used to truncate long text in cells where textWrap is `false`. The `tooltip` truncation pattern allows the overflowing text to be seen in a tooltip. The `show-hide` truncation pattern allows the overflowing text to be shown and hidden using the ic-typography "See more"/"See less" buttons.
|
156
158
|
*/
|
@@ -163,7 +165,6 @@ export declare class DataTable {
|
|
163
165
|
* Sets the props for the linear loading indicator used in the updating state.
|
164
166
|
*/
|
165
167
|
updatingOptions?: {
|
166
|
-
appearance?: IcThemeForegroundNoDefault;
|
167
168
|
description?: string;
|
168
169
|
max?: number;
|
169
170
|
min?: number;
|
@@ -245,6 +246,8 @@ export declare class DataTable {
|
|
245
246
|
private setTruncationClass;
|
246
247
|
private getColumnWidth;
|
247
248
|
private getRowHeight;
|
249
|
+
private adjustWidthForActionElement;
|
250
|
+
private createCellContent;
|
248
251
|
private createCells;
|
249
252
|
private createColumnHeaders;
|
250
253
|
private onRowClick;
|
@@ -171,6 +171,31 @@ export declare const DATA_CELL_ALIGNMENT: ({
|
|
171
171
|
jobTitle: string;
|
172
172
|
address: string;
|
173
173
|
})[];
|
174
|
+
export declare const DATA_EMPHASIS: ({
|
175
|
+
firstName: {
|
176
|
+
data: string;
|
177
|
+
emphasis: string;
|
178
|
+
};
|
179
|
+
lastName: string;
|
180
|
+
age: number;
|
181
|
+
jobTitle: string;
|
182
|
+
address: string;
|
183
|
+
} | {
|
184
|
+
firstName: string;
|
185
|
+
lastName: {
|
186
|
+
data: string;
|
187
|
+
emphasis: string;
|
188
|
+
};
|
189
|
+
age: number;
|
190
|
+
jobTitle: string;
|
191
|
+
address: string;
|
192
|
+
} | {
|
193
|
+
firstName: string;
|
194
|
+
lastName: string;
|
195
|
+
age: number;
|
196
|
+
jobTitle: string;
|
197
|
+
address: string;
|
198
|
+
})[];
|
174
199
|
export declare const ROW_ALIGNMENT: ({
|
175
200
|
header: {
|
176
201
|
title: string;
|
@@ -279,6 +304,20 @@ export declare const DATA_ELEMENTS: ({
|
|
279
304
|
firstName: {
|
280
305
|
data: string;
|
281
306
|
href: string;
|
307
|
+
target: string;
|
308
|
+
rel: string;
|
309
|
+
};
|
310
|
+
actions2: string;
|
311
|
+
age: number;
|
312
|
+
jobTitle: string;
|
313
|
+
address: string;
|
314
|
+
} | {
|
315
|
+
actions: string;
|
316
|
+
firstName: {
|
317
|
+
data: string;
|
318
|
+
href: string;
|
319
|
+
target?: undefined;
|
320
|
+
rel?: undefined;
|
282
321
|
};
|
283
322
|
actions2: string;
|
284
323
|
age: number;
|
@@ -296,6 +335,18 @@ export declare const DATA_REACT_ELEMENTS: ({
|
|
296
335
|
firstName: {
|
297
336
|
data: string;
|
298
337
|
href: string;
|
338
|
+
target: string;
|
339
|
+
rel: string;
|
340
|
+
};
|
341
|
+
age: number;
|
342
|
+
jobTitle: string;
|
343
|
+
address: string;
|
344
|
+
} | {
|
345
|
+
firstName: {
|
346
|
+
data: string;
|
347
|
+
href: string;
|
348
|
+
target?: undefined;
|
349
|
+
rel?: undefined;
|
299
350
|
};
|
300
351
|
age: number;
|
301
352
|
jobTitle: string;
|
@@ -321,6 +372,56 @@ export declare const DATA_REACT_ELEMENTS_WITH_ICONS: ({
|
|
321
372
|
jobTitle: string;
|
322
373
|
address: string;
|
323
374
|
})[];
|
375
|
+
export declare const ACTION_DATA_ELEMENTS: ({
|
376
|
+
firstName: {
|
377
|
+
data: string;
|
378
|
+
actionElement: string;
|
379
|
+
};
|
380
|
+
lastName: string;
|
381
|
+
age: number;
|
382
|
+
jobTitle: string;
|
383
|
+
address: string;
|
384
|
+
} | {
|
385
|
+
firstName: string;
|
386
|
+
lastName: string;
|
387
|
+
age: number;
|
388
|
+
jobTitle: {
|
389
|
+
data: string;
|
390
|
+
actionElement: string;
|
391
|
+
};
|
392
|
+
address: string;
|
393
|
+
} | {
|
394
|
+
firstName: string;
|
395
|
+
lastName: string;
|
396
|
+
age: {
|
397
|
+
data: number;
|
398
|
+
actionElement: string;
|
399
|
+
};
|
400
|
+
jobTitle: string;
|
401
|
+
address: string;
|
402
|
+
} | {
|
403
|
+
firstName: string;
|
404
|
+
lastName: string;
|
405
|
+
age: number;
|
406
|
+
jobTitle: string;
|
407
|
+
address: string;
|
408
|
+
} | {
|
409
|
+
firstName: string;
|
410
|
+
lastName: string;
|
411
|
+
age: number;
|
412
|
+
jobTitle: string;
|
413
|
+
address: {
|
414
|
+
data: string;
|
415
|
+
actionElement: string;
|
416
|
+
};
|
417
|
+
})[];
|
418
|
+
export declare const DATA_WITH_EMPTY_VALUES: {
|
419
|
+
firstName: string;
|
420
|
+
lastName: string;
|
421
|
+
age: number;
|
422
|
+
jobTitle: string;
|
423
|
+
address: string;
|
424
|
+
}[];
|
324
425
|
export declare const createDataTableElement: (caption: string, columns?: IcDataTableColumnObject[], data?: object[]) => HTMLIcDataTableElement;
|
325
426
|
export declare const Basic: () => HTMLIcDataTableElement;
|
326
427
|
export declare const DataTableSizing: () => HTMLElement;
|
@@ -351,4 +452,6 @@ export declare const TruncationTooltip: () => HTMLElement;
|
|
351
452
|
export declare const CustomTitleBar: () => HTMLIcDataTableElement;
|
352
453
|
export declare const UpdatingData: () => HTMLElement;
|
353
454
|
export declare const SlottedPagination: () => HTMLIcDataTableElement;
|
455
|
+
export declare const ActionElement: () => HTMLElement;
|
456
|
+
export declare const MissingCellData: () => HTMLElement;
|
354
457
|
export declare const DevArea: () => HTMLElement;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
2
|
-
import { IcInformationStatusOrEmpty, IcSizes, IcDateFormat, IcWeekDays } from "../../utils/types";
|
2
|
+
import { IcInformationStatusOrEmpty, IcSizes, IcDateFormat, IcWeekDays, IcThemeMode } from "../../utils/types";
|
3
3
|
export declare class DateInput {
|
4
4
|
private ARIA_INVALID;
|
5
5
|
private ARIA_LABEL;
|
@@ -57,6 +57,7 @@ export declare class DateInput {
|
|
57
57
|
* If `true`, the disabled state will be set.
|
58
58
|
*/
|
59
59
|
disabled?: boolean;
|
60
|
+
watchDisabledHandler(): void;
|
60
61
|
/**
|
61
62
|
* The days of the week to disable.
|
62
63
|
*/
|
@@ -140,6 +141,10 @@ export declare class DateInput {
|
|
140
141
|
* The size of the date input to be displayed.
|
141
142
|
*/
|
142
143
|
size?: IcSizes;
|
144
|
+
/**
|
145
|
+
* Sets the date picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
|
146
|
+
*/
|
147
|
+
theme?: IcThemeMode;
|
143
148
|
/**
|
144
149
|
* 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.
|
145
150
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
2
|
-
import { IcWeekDays, IcDateFormat, IcSizes, IcInformationStatusOrEmpty } from "../../utils/types";
|
2
|
+
import { IcWeekDays, IcDateFormat, IcSizes, IcInformationStatusOrEmpty, IcThemeMode } from "../../utils/types";
|
3
3
|
export declare class DatePicker {
|
4
4
|
private inputEl;
|
5
5
|
private clearButtonEl;
|
@@ -49,6 +49,7 @@ export declare class DatePicker {
|
|
49
49
|
* If `true`, the disabled state will be set.
|
50
50
|
*/
|
51
51
|
disabled?: boolean;
|
52
|
+
watchDisabledHandler(): void;
|
52
53
|
/**
|
53
54
|
* The days of the week to disable.
|
54
55
|
*/
|
@@ -146,6 +147,10 @@ export declare class DatePicker {
|
|
146
147
|
*/
|
147
148
|
startOfWeek?: IcWeekDays;
|
148
149
|
watchStartOfWeekHandler(): void;
|
150
|
+
/**
|
151
|
+
* Sets the date picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
|
152
|
+
*/
|
153
|
+
theme?: IcThemeMode;
|
149
154
|
/**
|
150
155
|
* The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
|
151
156
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
2
|
-
import { IcThemeMode } from "
|
2
|
+
import { IcThemeMode } from "../../utils/types";
|
3
3
|
import { IcPageChangeEventDetail } from "./ic-pagination-bar.types";
|
4
4
|
import { IcPaginationAlignmentOptions, IcPaginationLabelTypes, IcPaginationTypes } from "@ukic/web-components/dist/types/components/ic-pagination/ic-pagination.types";
|
5
5
|
export declare class PaginationBar {
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
2
|
-
import { IcSizes } from "../../utils/types";
|
3
|
-
import { IcThemeMode } from "@ukic/web-components";
|
2
|
+
import { IcSizes, IcThemeMode } from "../../utils/types";
|
4
3
|
/**
|
5
4
|
* @slot label - Content is set as the tree item label.
|
6
5
|
* @slot icon - Content is placed to the left of the label.
|
@@ -19,6 +18,7 @@ export declare class TreeItem {
|
|
19
18
|
* If `true`, the tree item appears in the disabled state.
|
20
19
|
*/
|
21
20
|
disabled?: boolean;
|
21
|
+
watchDisabledHandler(): void;
|
22
22
|
/**
|
23
23
|
* If `true`, the tree item appears in the expanded state.
|
24
24
|
*/
|
@@ -72,6 +72,10 @@ export declare class TreeItem {
|
|
72
72
|
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
73
73
|
*/
|
74
74
|
theme?: IcThemeMode;
|
75
|
+
/**
|
76
|
+
* If `true`, the tree item label will be truncated instead of text wrapping.
|
77
|
+
*/
|
78
|
+
truncateTreeItem?: boolean;
|
75
79
|
/**
|
76
80
|
* Emitted when tree item is selected.
|
77
81
|
*/
|
@@ -79,6 +83,7 @@ export declare class TreeItem {
|
|
79
83
|
id: string;
|
80
84
|
}>;
|
81
85
|
disconnectedCallback(): void;
|
86
|
+
componentWillLoad(): void;
|
82
87
|
componentDidLoad(): void;
|
83
88
|
componentDidUpdate(): void;
|
84
89
|
handleKeyDown(ev: KeyboardEvent): void;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { IcSizes } from "../../utils/types";
|
2
|
-
import { IcThemeMode } from "@ukic/web-components";
|
1
|
+
import { IcSizes, IcThemeMode } from "../../utils/types";
|
3
2
|
/**
|
4
3
|
* @slot heading - Content is set as the tree view heading.
|
5
4
|
* @slot icon - Content is placed to the left of the heading.
|
@@ -29,6 +28,15 @@ export declare class TreeView {
|
|
29
28
|
*/
|
30
29
|
theme?: IcThemeMode;
|
31
30
|
watchThemeHandler(): void;
|
31
|
+
/**
|
32
|
+
* If `true`, the tree view heading will be truncated instead of text wrapping.
|
33
|
+
*/
|
34
|
+
truncateHeading?: boolean;
|
35
|
+
/**
|
36
|
+
* If `true`, tree items will be truncated, unless they are individually overridden.
|
37
|
+
*/
|
38
|
+
truncateTreeItems?: boolean;
|
39
|
+
watchTruncateTreeItemsHandler(): void;
|
32
40
|
disconnectedCallback(): void;
|
33
41
|
componentDidLoad(): void;
|
34
42
|
handleTreeItemSelected(event: CustomEvent): void;
|
@@ -8,19 +8,13 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { IcCardSizes } from "./components/ic-card-horizontal/ic-card-horizontal.types";
|
9
9
|
import { IcDateFormat, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcSizes, IcThemeMode, IcWeekDays } from "./utils/types";
|
10
10
|
import { IcDataTableColumnObject, IcDataTableDataType, IcDataTableDensityOptions, IcDataTableRowHeights, IcDataTableSortOrderOptions, IcDataTableTruncationTypes, IcDensityUpdateEventDetail, IcSortEventDetail } from "./components/ic-data-table/ic-data-table.types";
|
11
|
-
import { IcThemeForegroundNoDefault } from "@ukic/web-components/dist/types/utils/types";
|
12
11
|
import { IcPaginationAlignmentOptions, IcPaginationLabelTypes, IcPaginationTypes } from "@ukic/web-components/dist/types/components/ic-pagination/ic-pagination.types";
|
13
|
-
import { IcThemeMode as IcThemeMode1 } from "@ukic/web-components/dist/types/interface";
|
14
12
|
import { IcPageChangeEventDetail } from "./components/ic-pagination-bar/ic-pagination-bar.types";
|
15
|
-
import { IcThemeMode as IcThemeMode2 } from "@ukic/web-components";
|
16
13
|
export { IcCardSizes } from "./components/ic-card-horizontal/ic-card-horizontal.types";
|
17
14
|
export { IcDateFormat, IcInformationStatusOrEmpty, IcPaginationBarOptions, IcSizes, IcThemeMode, IcWeekDays } from "./utils/types";
|
18
15
|
export { IcDataTableColumnObject, IcDataTableDataType, IcDataTableDensityOptions, IcDataTableRowHeights, IcDataTableSortOrderOptions, IcDataTableTruncationTypes, IcDensityUpdateEventDetail, IcSortEventDetail } from "./components/ic-data-table/ic-data-table.types";
|
19
|
-
export { IcThemeForegroundNoDefault } from "@ukic/web-components/dist/types/utils/types";
|
20
16
|
export { IcPaginationAlignmentOptions, IcPaginationLabelTypes, IcPaginationTypes } from "@ukic/web-components/dist/types/components/ic-pagination/ic-pagination.types";
|
21
|
-
export { IcThemeMode as IcThemeMode1 } from "@ukic/web-components/dist/types/interface";
|
22
17
|
export { IcPageChangeEventDetail } from "./components/ic-pagination-bar/ic-pagination-bar.types";
|
23
|
-
export { IcThemeMode as IcThemeMode2 } from "@ukic/web-components";
|
24
18
|
export namespace Components {
|
25
19
|
interface IcCardHorizontal {
|
26
20
|
/**
|
@@ -88,7 +82,7 @@ export namespace Components {
|
|
88
82
|
/**
|
89
83
|
* The row content for the table.
|
90
84
|
*/
|
91
|
-
"data"
|
85
|
+
"data"?: IcDataTableDataType[];
|
92
86
|
/**
|
93
87
|
* Set the density of the table including font and padding.
|
94
88
|
*/
|
@@ -117,7 +111,6 @@ export namespace Components {
|
|
117
111
|
* Sets the props for the circular loading indicator used in the loading state.
|
118
112
|
*/
|
119
113
|
"loadingOptions"?: {
|
120
|
-
appearance?: IcThemeForegroundNoDefault;
|
121
114
|
description?: string;
|
122
115
|
label?: string;
|
123
116
|
labelDuration?: number;
|
@@ -174,6 +167,10 @@ export namespace Components {
|
|
174
167
|
* Sets the layout of the table
|
175
168
|
*/
|
176
169
|
"tableLayout"?: "fixed" | "auto";
|
170
|
+
/**
|
171
|
+
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
172
|
+
*/
|
173
|
+
"theme"?: IcThemeMode;
|
177
174
|
/**
|
178
175
|
* Sets the method used to truncate long text in cells where textWrap is `false`. The `tooltip` truncation pattern allows the overflowing text to be seen in a tooltip. The `show-hide` truncation pattern allows the overflowing text to be shown and hidden using the ic-typography "See more"/"See less" buttons.
|
179
176
|
*/
|
@@ -186,7 +183,6 @@ export namespace Components {
|
|
186
183
|
* Sets the props for the linear loading indicator used in the updating state.
|
187
184
|
*/
|
188
185
|
"updatingOptions"?: {
|
189
|
-
appearance?: IcThemeForegroundNoDefault;
|
190
186
|
description?: string;
|
191
187
|
max?: number;
|
192
188
|
min?: number;
|
@@ -312,6 +308,10 @@ export namespace Components {
|
|
312
308
|
* The size of the date input to be displayed.
|
313
309
|
*/
|
314
310
|
"size"?: IcSizes;
|
311
|
+
/**
|
312
|
+
* Sets the date picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
|
313
|
+
*/
|
314
|
+
"theme"?: IcThemeMode;
|
315
315
|
"triggerIcChange": (d: Date) => Promise<void>;
|
316
316
|
/**
|
317
317
|
* The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
|
@@ -423,6 +423,10 @@ export namespace Components {
|
|
423
423
|
* The first day of the week. `0` for Sunday, `1` for Monday, etc. Default is Monday.
|
424
424
|
*/
|
425
425
|
"startOfWeek"?: IcWeekDays;
|
426
|
+
/**
|
427
|
+
* Sets the date picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
|
428
|
+
*/
|
429
|
+
"theme"?: IcThemeMode;
|
426
430
|
/**
|
427
431
|
* The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
|
428
432
|
*/
|
@@ -487,7 +491,7 @@ export namespace Components {
|
|
487
491
|
/**
|
488
492
|
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
489
493
|
*/
|
490
|
-
"theme"?:
|
494
|
+
"theme"?: IcThemeMode;
|
491
495
|
/**
|
492
496
|
* Total number of items to be displayed across all pages.
|
493
497
|
*/
|
@@ -545,7 +549,11 @@ export namespace Components {
|
|
545
549
|
/**
|
546
550
|
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
547
551
|
*/
|
548
|
-
"theme"?:
|
552
|
+
"theme"?: IcThemeMode;
|
553
|
+
/**
|
554
|
+
* If `true`, the tree item label will be truncated instead of text wrapping.
|
555
|
+
*/
|
556
|
+
"truncateTreeItem"?: boolean;
|
549
557
|
"updateAriaLabel": () => Promise<void>;
|
550
558
|
}
|
551
559
|
interface IcTreeView {
|
@@ -564,7 +572,15 @@ export namespace Components {
|
|
564
572
|
/**
|
565
573
|
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
566
574
|
*/
|
567
|
-
"theme"?:
|
575
|
+
"theme"?: IcThemeMode;
|
576
|
+
/**
|
577
|
+
* If `true`, the tree view heading will be truncated instead of text wrapping.
|
578
|
+
*/
|
579
|
+
"truncateHeading"?: boolean;
|
580
|
+
/**
|
581
|
+
* If `true`, tree items will be truncated, unless they are individually overridden.
|
582
|
+
*/
|
583
|
+
"truncateTreeItems"?: boolean;
|
568
584
|
}
|
569
585
|
}
|
570
586
|
export interface IcDataTableCustomEvent<T> extends CustomEvent<T> {
|
@@ -814,7 +830,6 @@ declare namespace LocalJSX {
|
|
814
830
|
* Sets the props for the circular loading indicator used in the loading state.
|
815
831
|
*/
|
816
832
|
"loadingOptions"?: {
|
817
|
-
appearance?: IcThemeForegroundNoDefault;
|
818
833
|
description?: string;
|
819
834
|
label?: string;
|
820
835
|
labelDuration?: number;
|
@@ -875,6 +890,10 @@ declare namespace LocalJSX {
|
|
875
890
|
* Sets the layout of the table
|
876
891
|
*/
|
877
892
|
"tableLayout"?: "fixed" | "auto";
|
893
|
+
/**
|
894
|
+
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
895
|
+
*/
|
896
|
+
"theme"?: IcThemeMode;
|
878
897
|
/**
|
879
898
|
* Sets the method used to truncate long text in cells where textWrap is `false`. The `tooltip` truncation pattern allows the overflowing text to be seen in a tooltip. The `show-hide` truncation pattern allows the overflowing text to be shown and hidden using the ic-typography "See more"/"See less" buttons.
|
880
899
|
*/
|
@@ -887,7 +906,6 @@ declare namespace LocalJSX {
|
|
887
906
|
* Sets the props for the linear loading indicator used in the updating state.
|
888
907
|
*/
|
889
908
|
"updatingOptions"?: {
|
890
|
-
appearance?: IcThemeForegroundNoDefault;
|
891
909
|
description?: string;
|
892
910
|
max?: number;
|
893
911
|
min?: number;
|
@@ -1021,6 +1039,10 @@ declare namespace LocalJSX {
|
|
1021
1039
|
* The size of the date input to be displayed.
|
1022
1040
|
*/
|
1023
1041
|
"size"?: IcSizes;
|
1042
|
+
/**
|
1043
|
+
* Sets the date picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
|
1044
|
+
*/
|
1045
|
+
"theme"?: IcThemeMode;
|
1024
1046
|
/**
|
1025
1047
|
* The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
|
1026
1048
|
*/
|
@@ -1135,6 +1157,10 @@ declare namespace LocalJSX {
|
|
1135
1157
|
* The first day of the week. `0` for Sunday, `1` for Monday, etc. Default is Monday.
|
1136
1158
|
*/
|
1137
1159
|
"startOfWeek"?: IcWeekDays;
|
1160
|
+
/**
|
1161
|
+
* Sets the date picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
|
1162
|
+
*/
|
1163
|
+
"theme"?: IcThemeMode;
|
1138
1164
|
/**
|
1139
1165
|
* The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
|
1140
1166
|
*/
|
@@ -1207,7 +1233,7 @@ declare namespace LocalJSX {
|
|
1207
1233
|
/**
|
1208
1234
|
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
1209
1235
|
*/
|
1210
|
-
"theme"?:
|
1236
|
+
"theme"?: IcThemeMode;
|
1211
1237
|
/**
|
1212
1238
|
* Total number of items to be displayed across all pages.
|
1213
1239
|
*/
|
@@ -1261,7 +1287,11 @@ declare namespace LocalJSX {
|
|
1261
1287
|
/**
|
1262
1288
|
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
1263
1289
|
*/
|
1264
|
-
"theme"?:
|
1290
|
+
"theme"?: IcThemeMode;
|
1291
|
+
/**
|
1292
|
+
* If `true`, the tree item label will be truncated instead of text wrapping.
|
1293
|
+
*/
|
1294
|
+
"truncateTreeItem"?: boolean;
|
1265
1295
|
}
|
1266
1296
|
interface IcTreeView {
|
1267
1297
|
/**
|
@@ -1279,7 +1309,15 @@ declare namespace LocalJSX {
|
|
1279
1309
|
/**
|
1280
1310
|
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
1281
1311
|
*/
|
1282
|
-
"theme"?:
|
1312
|
+
"theme"?: IcThemeMode;
|
1313
|
+
/**
|
1314
|
+
* If `true`, the tree view heading will be truncated instead of text wrapping.
|
1315
|
+
*/
|
1316
|
+
"truncateHeading"?: boolean;
|
1317
|
+
/**
|
1318
|
+
* If `true`, tree items will be truncated, unless they are individually overridden.
|
1319
|
+
*/
|
1320
|
+
"truncateTreeItems"?: boolean;
|
1283
1321
|
}
|
1284
1322
|
interface IntrinsicElements {
|
1285
1323
|
"ic-card-horizontal": IcCardHorizontal;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/**
|
2
2
|
* To investigate:
|
3
|
-
* IcColorRGBA works via @ukic/web-components but
|
3
|
+
* IcColorRGBA works via @ukic/web-components but IcBrandForeground does not even though they are exported
|
4
4
|
* from @ukic/web-components in the same file. Why?
|
5
5
|
*/
|
6
6
|
import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcNavParentDetails, IcPropObject, IcSearchMatchPositions, IcColorRGBA } from "@ukic/web-components";
|
7
|
-
import { IcMenuOption,
|
7
|
+
import { IcMenuOption, IcBrandForeground } from "./types";
|
8
8
|
import { EventEmitter } from "../stencil-public-runtime";
|
9
9
|
import { IcDataTableDataType } from "../interface";
|
10
10
|
/**
|
@@ -48,9 +48,9 @@ export declare const removeHiddenInput: (container: HTMLElement) => void;
|
|
48
48
|
* are part of an IC component.
|
49
49
|
*
|
50
50
|
* ""
|
51
|
-
* @returns
|
51
|
+
* @returns IcBrandForeground depending on the context
|
52
52
|
*/
|
53
|
-
export declare const
|
53
|
+
export declare const getBrandFromContext: (el: Element, brandFromEvent?: IcBrandForeground) => IcBrandForeground;
|
54
54
|
/**
|
55
55
|
* Will create a button within the lightDOM which interacts with the parent form.
|
56
56
|
* This is required as buttons within the shadowDOM will not invoke a submit or reset
|
@@ -65,18 +65,18 @@ export declare const deviceSizeMatches: (size: number) => boolean;
|
|
65
65
|
export declare const getCurrentDeviceSize: () => number;
|
66
66
|
export declare const getCssProperty: (cssVar: string) => string;
|
67
67
|
/**
|
68
|
-
* Returns the brightness of the
|
68
|
+
* Returns the brightness of the brand colour, calculated by using the brand RGB CSS values by:
|
69
69
|
* - Multiplying each RGB value by a set number: https://www.w3.org/TR/AERT/#color-contrast
|
70
70
|
* - Adding them together and dividing by 1000
|
71
|
-
* This is a similar calculation to its CSS counterpart: "--ic-
|
72
|
-
* @returns number representing the brightness of the
|
71
|
+
* This is a similar calculation to its CSS counterpart: "--ic-brand-text-color"
|
72
|
+
* @returns number representing the brightness of the brand colour
|
73
73
|
*/
|
74
|
-
export declare const
|
74
|
+
export declare const getBrandColorBrightness: () => number;
|
75
75
|
/**
|
76
76
|
* Returns if dark or light foreground colors should be used for color contrast reasons
|
77
77
|
* @returns "dark" or "light"
|
78
78
|
*/
|
79
|
-
export declare const
|
79
|
+
export declare const getBrandForegroundAppearance: () => IcBrandForeground;
|
80
80
|
export declare const getSlot: (element: HTMLElement, name: string) => Element | null;
|
81
81
|
export declare const slotHasContent: (element: HTMLElement, name: string) => boolean;
|
82
82
|
export declare const getSlotContent: (element: HTMLElement, name: string) => Element[] | NodeListOf<ChildNode> | null;
|
@@ -12,15 +12,15 @@ export type IcInformationStatusOrEmpty = "warning" | "error" | "success" | "";
|
|
12
12
|
export type IcNavType = "side" | "top" | "page-header";
|
13
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
14
|
export type IcAlignment = "left" | "center" | "full-width";
|
15
|
-
export declare enum
|
15
|
+
export declare enum IcBrandForegroundEnum {
|
16
16
|
Default = "default",
|
17
17
|
Dark = "dark",
|
18
18
|
Light = "light"
|
19
19
|
}
|
20
|
-
export type
|
21
|
-
export type
|
22
|
-
export type
|
23
|
-
mode:
|
20
|
+
export type IcBrandForeground = "default" | "dark" | "light";
|
21
|
+
export type IcBrandForegroundNoDefault = "dark" | "light";
|
22
|
+
export type IcBrand = {
|
23
|
+
mode: IcBrandForeground;
|
24
24
|
color: IcColorRGB;
|
25
25
|
};
|
26
26
|
export type IcThemeMode = "dark" | "light" | "inherit";
|