@infineon/infineon-design-system-stencil 30.1.1--canary.1640.e4770f238d16196b9059daf4898d2d6ef7cdcbdd.0 → 30.2.0--canary.1641.2fa3dc92b1652a9ad0c0488d80e396bc04aab9d2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ifx-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ifx-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-basic-table.cjs.entry.js +1 -1
- package/dist/cjs/ifx-faq.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-accordion.cjs.entry.js +2 -2
- package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-search.cjs.entry.js +1 -1
- package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
- package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
- package/dist/cjs/ifx-modal.cjs.entry.js +8 -8
- package/dist/cjs/ifx-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-multiselect_2.cjs.entry.js +9 -9
- package/dist/cjs/ifx-multiselect_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-search-bar.cjs.entry.js +5 -5
- package/dist/cjs/ifx-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-select.cjs.entry.js +2 -2
- package/dist/cjs/ifx-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-sidebar-item.cjs.entry.js +9 -9
- package/dist/cjs/ifx-sidebar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-slider.cjs.entry.js +2 -2
- package/dist/cjs/ifx-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ifx-status.cjs.entry.js +1 -1
- package/dist/cjs/ifx-step.cjs.entry.js +4 -4
- package/dist/cjs/ifx-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ifx-switch.cjs.entry.js +1 -1
- package/dist/cjs/ifx-tab.cjs.entry.js +1 -1
- package/dist/cjs/ifx-table.cjs.entry.js +2 -2
- package/dist/cjs/ifx-tabs.cjs.entry.js +2 -2
- package/dist/cjs/ifx-tag.cjs.entry.js +1 -1
- package/dist/cjs/ifx-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ifx-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/accordion/accordion.stories.js +3 -79
- package/dist/collection/components/accordion/accordion.stories.js.map +1 -1
- package/dist/collection/components/accordion/accordionItem.js +4 -4
- package/dist/collection/components/accordion/accordionItem.js.map +1 -1
- package/dist/collection/components/alert/alert.stories.js +12 -45
- package/dist/collection/components/alert/alert.stories.js.map +1 -1
- package/dist/collection/components/badge/badge.stories.js +7 -28
- package/dist/collection/components/badge/badge.stories.js.map +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.stories.js +7 -66
- package/dist/collection/components/breadcrumb/breadcrumb.stories.js.map +1 -1
- package/dist/collection/components/button/button.stories.js +9 -104
- package/dist/collection/components/button/button.stories.js.map +1 -1
- package/dist/collection/components/card/card.stories.js +2 -85
- package/dist/collection/components/card/card.stories.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.stories.js +13 -74
- package/dist/collection/components/checkbox/checkbox.stories.js.map +1 -1
- package/dist/collection/components/content-switcher/content-switcher.stories.js +3 -48
- package/dist/collection/components/content-switcher/content-switcher.stories.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.stories.js +6 -73
- package/dist/collection/components/date-picker/date-picker.stories.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.stories.js +64 -161
- package/dist/collection/components/dropdown/dropdown.stories.js.map +1 -1
- package/dist/collection/components/footer/footer.stories.js +1 -7
- package/dist/collection/components/footer/footer.stories.js.map +1 -1
- package/dist/collection/components/icon/infineonIconStencil.stories.js +2 -7
- package/dist/collection/components/icon/infineonIconStencil.stories.js.map +1 -1
- package/dist/collection/components/icon-button/icon-button.stories.js +5 -61
- package/dist/collection/components/icon-button/icon-button.stories.js.map +1 -1
- package/dist/collection/components/link/link.stories.js +4 -56
- package/dist/collection/components/link/link.stories.js.map +1 -1
- package/dist/collection/components/modal/modal.js +10 -10
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/modal/modal.stories.js +19 -96
- package/dist/collection/components/modal/modal.stories.js.map +1 -1
- package/dist/collection/components/navigation/navbar/navbar.stories.js +12 -203
- package/dist/collection/components/navigation/navbar/navbar.stories.js.map +1 -1
- package/dist/collection/components/navigation/sidebar/sidebar-item.js +11 -11
- package/dist/collection/components/navigation/sidebar/sidebar-item.js.map +1 -1
- package/dist/collection/components/navigation/sidebar/sidebar.stories.js +17 -110
- package/dist/collection/components/navigation/sidebar/sidebar.stories.js.map +1 -1
- package/dist/collection/components/notification/notification.stories.js +4 -51
- package/dist/collection/components/notification/notification.stories.js.map +1 -1
- package/dist/collection/components/number-indicator/number-indicator.stories.js +0 -19
- package/dist/collection/components/number-indicator/number-indicator.stories.js.map +1 -1
- package/dist/collection/components/pagination/pagination.stories.js +3 -30
- package/dist/collection/components/pagination/pagination.stories.js.map +1 -1
- package/dist/collection/components/progress-bar/progress-bar.stories.js +8 -31
- package/dist/collection/components/progress-bar/progress-bar.stories.js.map +1 -1
- package/dist/collection/components/radio-button/radio-button.stories.js +13 -66
- package/dist/collection/components/radio-button/radio-button.stories.js.map +1 -1
- package/dist/collection/components/search-bar/search-bar.js +6 -6
- package/dist/collection/components/search-bar/search-bar.js.map +1 -1
- package/dist/collection/components/search-bar/search-bar.stories.js +9 -58
- package/dist/collection/components/search-bar/search-bar.stories.js.map +1 -1
- package/dist/collection/components/search-field/search-field.stories.js +7 -43
- package/dist/collection/components/search-field/search-field.stories.js.map +1 -1
- package/dist/collection/components/select/multi-select/multiselect.js +6 -6
- package/dist/collection/components/select/multi-select/multiselect.js.map +1 -1
- package/dist/collection/components/select/multi-select/multiselect.stories.js +5 -131
- package/dist/collection/components/select/multi-select/multiselect.stories.js.map +1 -1
- package/dist/collection/components/select/single-select/select.css +16 -0
- package/dist/collection/components/select/single-select/select.js +1 -1
- package/dist/collection/components/select/single-select/select.js.map +1 -1
- package/dist/collection/components/select/single-select/select.stories.js +26 -83
- package/dist/collection/components/select/single-select/select.stories.js.map +1 -1
- package/dist/collection/components/slider/slider.js +2 -2
- package/dist/collection/components/slider/slider.stories.js +13 -97
- package/dist/collection/components/slider/slider.stories.js.map +1 -1
- package/dist/collection/components/spinner/spinner.js +2 -2
- package/dist/collection/components/spinner/spinner.stories.js +2 -34
- package/dist/collection/components/spinner/spinner.stories.js.map +1 -1
- package/dist/collection/components/status/status.js +1 -1
- package/dist/collection/components/status/status.stories.js +1 -24
- package/dist/collection/components/status/status.stories.js.map +1 -1
- package/dist/collection/components/stepper/step/step.js +4 -4
- package/dist/collection/components/stepper/stepper.js +2 -2
- package/dist/collection/components/stepper/stepper.stories.js +16 -33
- package/dist/collection/components/stepper/stepper.stories.js.map +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/switch/switch.stories.js +4 -54
- package/dist/collection/components/switch/switch.stories.js.map +1 -1
- package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.js +1 -1
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.js +2 -2
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.js +1 -1
- package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js +1 -1
- package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.js +1 -1
- package/dist/collection/components/table-advanced-version/table.js +2 -2
- package/dist/collection/components/table-advanced-version/table.stories.js +13 -235
- package/dist/collection/components/table-advanced-version/table.stories.js.map +1 -1
- package/dist/collection/components/table-basic-version/table.js +1 -1
- package/dist/collection/components/table-basic-version/table.stories.js +1 -17
- package/dist/collection/components/table-basic-version/table.stories.js.map +1 -1
- package/dist/collection/components/tabs/tab.js +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tabs/tabs.stories.js +23 -89
- package/dist/collection/components/tabs/tabs.stories.js.map +1 -1
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/tag/tag.stories.js +0 -18
- package/dist/collection/components/tag/tag.stories.js.map +1 -1
- package/dist/collection/components/text-field/text-field.js +4 -4
- package/dist/collection/components/text-field/text-field.stories.js +13 -104
- package/dist/collection/components/text-field/text-field.stories.js.map +1 -1
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/tooltip/tooltip.stories.js +4 -48
- package/dist/collection/components/tooltip/tooltip.stories.js.map +1 -1
- package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
- package/dist/components/ifx-accordion-item.js +1 -1
- package/dist/components/ifx-basic-table.js +1 -1
- package/dist/components/ifx-faq.js +2 -2
- package/dist/components/ifx-filter-accordion.js +2 -2
- package/dist/components/ifx-filter-bar.js +1 -1
- package/dist/components/ifx-filter-search.js +1 -1
- package/dist/components/ifx-filter-type-group.js +1 -1
- package/dist/components/ifx-list-entry.js +1 -1
- package/dist/components/ifx-modal.js +8 -8
- package/dist/components/ifx-modal.js.map +1 -1
- package/dist/components/ifx-multiselect.js +1 -1
- package/dist/components/ifx-pagination.js +1 -1
- package/dist/components/ifx-search-bar.js +5 -5
- package/dist/components/ifx-search-bar.js.map +1 -1
- package/dist/components/ifx-select.js +1 -1
- package/dist/components/ifx-set-filter.js +3 -3
- package/dist/components/ifx-sidebar-item.js +11 -11
- package/dist/components/ifx-sidebar-item.js.map +1 -1
- package/dist/components/ifx-slider.js +2 -2
- package/dist/components/ifx-spinner.js +2 -2
- package/dist/components/ifx-status.js +1 -1
- package/dist/components/ifx-step.js +4 -4
- package/dist/components/ifx-stepper.js +2 -2
- package/dist/components/ifx-switch.js +1 -1
- package/dist/components/ifx-tab.js +1 -1
- package/dist/components/ifx-table.js +4 -4
- package/dist/components/ifx-tabs.js +2 -2
- package/dist/components/ifx-tag.js +1 -1
- package/dist/components/ifx-text-field.js +1 -1
- package/dist/components/ifx-textarea.js +2 -2
- package/dist/components/ifx-tooltip.js +4 -4
- package/dist/components/{p-78f3e867.js → p-0a68c458.js} +4 -4
- package/dist/components/{p-78f3e867.js.map → p-0a68c458.js.map} +1 -1
- package/dist/components/{p-81357e99.js → p-652fc14d.js} +2 -2
- package/dist/components/{p-81357e99.js.map → p-652fc14d.js.map} +1 -1
- package/dist/components/{p-b9024e1a.js → p-7826add7.js} +3 -3
- package/dist/components/p-7826add7.js.map +1 -0
- package/dist/components/{p-bac84326.js → p-96fbc3db.js} +6 -6
- package/dist/components/p-96fbc3db.js.map +1 -0
- package/dist/components/{p-d5a199fb.js → p-a6736b21.js} +5 -5
- package/dist/components/{p-d5a199fb.js.map → p-a6736b21.js.map} +1 -1
- package/dist/esm/ifx-accordion_2.entry.js +2 -2
- package/dist/esm/ifx-accordion_2.entry.js.map +1 -1
- package/dist/esm/ifx-basic-table.entry.js +1 -1
- package/dist/esm/ifx-faq.entry.js +1 -1
- package/dist/esm/ifx-filter-accordion.entry.js +2 -2
- package/dist/esm/ifx-filter-bar.entry.js +1 -1
- package/dist/esm/ifx-filter-search.entry.js +1 -1
- package/dist/esm/ifx-filter-type-group.entry.js +1 -1
- package/dist/esm/ifx-list-entry.entry.js +1 -1
- package/dist/esm/ifx-modal.entry.js +8 -8
- package/dist/esm/ifx-modal.entry.js.map +1 -1
- package/dist/esm/ifx-multiselect_2.entry.js +9 -9
- package/dist/esm/ifx-multiselect_2.entry.js.map +1 -1
- package/dist/esm/ifx-search-bar.entry.js +5 -5
- package/dist/esm/ifx-search-bar.entry.js.map +1 -1
- package/dist/esm/ifx-select.entry.js +2 -2
- package/dist/esm/ifx-select.entry.js.map +1 -1
- package/dist/esm/ifx-sidebar-item.entry.js +9 -9
- package/dist/esm/ifx-sidebar-item.entry.js.map +1 -1
- package/dist/esm/ifx-slider.entry.js +2 -2
- package/dist/esm/ifx-spinner.entry.js +2 -2
- package/dist/esm/ifx-status.entry.js +1 -1
- package/dist/esm/ifx-step.entry.js +4 -4
- package/dist/esm/ifx-stepper.entry.js +2 -2
- package/dist/esm/ifx-switch.entry.js +1 -1
- package/dist/esm/ifx-tab.entry.js +1 -1
- package/dist/esm/ifx-table.entry.js +2 -2
- package/dist/esm/ifx-tabs.entry.js +2 -2
- package/dist/esm/ifx-tag.entry.js +1 -1
- package/dist/esm/ifx-textarea.entry.js +2 -2
- package/dist/esm/ifx-tooltip.entry.js +4 -4
- package/dist/esm/infineon-design-system-stencil.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
- package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js.map +1 -1
- package/dist/infineon-design-system-stencil/{p-37ecac74.entry.js → p-190ebb90.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-a10f9b3c.entry.js → p-2e2ab749.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0ddf85fc.entry.js → p-32c617c6.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-2e8c0115.entry.js → p-42a6429b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b30b66e5.entry.js → p-44e64146.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-50e122c4.entry.js → p-462946bf.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-8b089cd1.entry.js → p-4a6e75a4.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-598324f5.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-31e9d4f8.entry.js.map → p-598324f5.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/p-6902ee06.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-49872432.entry.js → p-6e2eec34.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-7131a2b3.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-7131a2b3.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/p-79b4d359.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-79b4d359.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/p-7f510d1c.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-7378190d.entry.js → p-874f2bf6.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-39697853.entry.js → p-88fb3c49.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-30640970.entry.js → p-90687777.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-bc40ad21.entry.js → p-a1c9b6fc.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-25bf54c9.entry.js → p-a24039e5.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-a29b6247.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-a29b6247.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-c428a56a.entry.js → p-b8f31dc3.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-b8f31dc3.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-02be14a9.entry.js → p-c68be6d9.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-cdad5d2c.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-cdad5d2c.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-5edfe317.entry.js → p-db956276.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c2e6cbdb.entry.js → p-e954b757.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b010bfcb.entry.js → p-ec0c6eb5.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b010bfcb.entry.js.map → p-ec0c6eb5.entry.js.map} +1 -1
- package/dist/types/components/accordion/accordion.stories.d.ts +1 -67
- package/dist/types/components/accordion/accordionItem.d.ts +1 -1
- package/dist/types/components/alert/alert.stories.d.ts +11 -38
- package/dist/types/components/badge/badge.stories.d.ts +3 -23
- package/dist/types/components/breadcrumb/breadcrumb.stories.d.ts +1 -66
- package/dist/types/components/button/button.stories.d.ts +16 -95
- package/dist/types/components/card/card.stories.d.ts +1 -95
- package/dist/types/components/checkbox/checkbox.stories.d.ts +10 -68
- package/dist/types/components/content-switcher/content-switcher.stories.d.ts +0 -50
- package/dist/types/components/date-picker/date-picker.stories.d.ts +2 -67
- package/dist/types/components/dropdown/dropdown.stories.d.ts +27 -111
- package/dist/types/components/footer/footer.stories.d.ts +0 -4
- package/dist/types/components/icon/infineonIconStencil.stories.d.ts +0 -5
- package/dist/types/components/icon-button/icon-button.stories.d.ts +8 -56
- package/dist/types/components/link/link.stories.d.ts +6 -52
- package/dist/types/components/modal/modal.d.ts +2 -2
- package/dist/types/components/modal/modal.stories.d.ts +3 -77
- package/dist/types/components/navigation/navbar/navbar.stories.d.ts +6 -243
- package/dist/types/components/navigation/sidebar/sidebar-item.d.ts +2 -2
- package/dist/types/components/navigation/sidebar/sidebar.stories.d.ts +7 -90
- package/dist/types/components/notification/notification.stories.d.ts +0 -44
- package/dist/types/components/number-indicator/number-indicator.stories.d.ts +0 -19
- package/dist/types/components/pagination/pagination.stories.d.ts +0 -27
- package/dist/types/components/progress-bar/progress-bar.stories.d.ts +4 -25
- package/dist/types/components/radio-button/radio-button.stories.d.ts +8 -59
- package/dist/types/components/search-bar/search-bar.d.ts +1 -1
- package/dist/types/components/search-bar/search-bar.stories.d.ts +3 -60
- package/dist/types/components/search-field/search-field.stories.d.ts +6 -36
- package/dist/types/components/select/multi-select/multiselect.d.ts +1 -1
- package/dist/types/components/select/multi-select/multiselect.stories.d.ts +0 -125
- package/dist/types/components/select/single-select/select.stories.d.ts +24 -67
- package/dist/types/components/slider/slider.stories.d.ts +0 -110
- package/dist/types/components/spinner/spinner.stories.d.ts +0 -32
- package/dist/types/components/status/status.stories.d.ts +2 -23
- package/dist/types/components/stepper/stepper.stories.d.ts +4 -21
- package/dist/types/components/switch/switch.stories.d.ts +1 -50
- package/dist/types/components/table-advanced-version/table.stories.d.ts +2 -243
- package/dist/types/components/table-basic-version/table.stories.d.ts +1 -19
- package/dist/types/components/tabs/tabs.stories.d.ts +7 -77
- package/dist/types/components/tag/tag.stories.d.ts +0 -20
- package/dist/types/components/text-field/text-field.stories.d.ts +11 -96
- package/dist/types/components/tooltip/tooltip.stories.d.ts +6 -41
- package/dist/types/components.d.ts +10 -10
- package/package.json +1 -1
- package/dist/components/p-b9024e1a.js.map +0 -1
- package/dist/components/p-bac84326.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-16f9a47c.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-227d384c.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-227d384c.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-2849823e.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-2849823e.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-31e9d4f8.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-3ca407c8.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-3ca407c8.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-b1688ca4.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-b1688ca4.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-c428a56a.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-ea74d7ab.entry.js +0 -2
- /package/dist/infineon-design-system-stencil/{p-37ecac74.entry.js.map → p-190ebb90.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a10f9b3c.entry.js.map → p-2e2ab749.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0ddf85fc.entry.js.map → p-32c617c6.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2e8c0115.entry.js.map → p-42a6429b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b30b66e5.entry.js.map → p-44e64146.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-50e122c4.entry.js.map → p-462946bf.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-8b089cd1.entry.js.map → p-4a6e75a4.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-16f9a47c.entry.js.map → p-6902ee06.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-49872432.entry.js.map → p-6e2eec34.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ea74d7ab.entry.js.map → p-7f510d1c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7378190d.entry.js.map → p-874f2bf6.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-39697853.entry.js.map → p-88fb3c49.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-30640970.entry.js.map → p-90687777.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-bc40ad21.entry.js.map → p-a1c9b6fc.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-25bf54c9.entry.js.map → p-a24039e5.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-02be14a9.entry.js.map → p-c68be6d9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-5edfe317.entry.js.map → p-db956276.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c2e6cbdb.entry.js.map → p-e954b757.entry.js.map} +0 -0
@@ -4,52 +4,20 @@ export default {
|
|
4
4
|
args: {
|
5
5
|
size: 'm',
|
6
6
|
variant: 'default',
|
7
|
-
inverted: false,
|
8
7
|
},
|
9
8
|
argTypes: {
|
10
9
|
size: {
|
11
|
-
description: 'Size options: s (24px) and m (40px)
|
10
|
+
description: 'Size options: s (24px) and m (40px) - default: m',
|
12
11
|
options: ['s', 'm'],
|
13
12
|
control: { type: 'radio' },
|
14
|
-
table: {
|
15
|
-
category: 'ifx-spinner props',
|
16
|
-
defaultValue: {
|
17
|
-
summary: 'm'
|
18
|
-
},
|
19
|
-
type: {
|
20
|
-
summary: 's | m'
|
21
|
-
}
|
22
|
-
}
|
23
13
|
},
|
24
14
|
variant: {
|
25
|
-
description: 'Variant of the spinner.',
|
26
15
|
options: ['default', 'brand'],
|
27
16
|
control: { type: 'radio' },
|
28
|
-
table: {
|
29
|
-
category: 'ifx-spinner props',
|
30
|
-
defaultValue: {
|
31
|
-
summary: 'default'
|
32
|
-
},
|
33
|
-
type: {
|
34
|
-
summary: 'string'
|
35
|
-
}
|
36
|
-
},
|
37
17
|
},
|
38
|
-
inverted: {
|
39
|
-
description: 'Changes the color of spinner to white.',
|
40
|
-
table: {
|
41
|
-
category: 'ifx-spinner props',
|
42
|
-
defaultValue: {
|
43
|
-
summary: 'false'
|
44
|
-
},
|
45
|
-
type: {
|
46
|
-
summary: 'boolean'
|
47
|
-
}
|
48
|
-
}
|
49
|
-
}
|
50
18
|
},
|
51
19
|
};
|
52
|
-
const DefaultTemplate = args => `<ifx-spinner variant="${args.variant}" size="${args.size}"
|
20
|
+
const DefaultTemplate = args => `<ifx-spinner variant="${args.variant}" size="${args.size}"></ifx-spinner>`;
|
53
21
|
export const Default = DefaultTemplate.bind({});
|
54
22
|
Default.argsTypes = {};
|
55
23
|
//# sourceMappingURL=spinner.stories.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"spinner.stories.js","sourceRoot":"","sources":["../../../src/components/spinner/spinner.stories.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"spinner.stories.js","sourceRoot":"","sources":["../../../src/components/spinner/spinner.stories.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,KAAK,EAAE,oBAAoB;IAC3B,IAAI,EAAE,CAAC,UAAU,CAAC;IAElB,IAAI,EAAE;QACJ,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,WAAW,EAAE,kDAAkD;YAC/D,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;YACnB,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;SAC3B;QACD,OAAO,EAAE;YACP,OAAO,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC;YAC7B,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;SAC3B;KACF;CACF,CAAC;AAEF,MAAM,eAAe,GAAG,IAAI,CAAC,EAAE,CAAC,yBAAyB,IAAI,CAAC,OAAO,WAAW,IAAI,CAAC,IAAI,kBAAkB,CAAC;AAE5G,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,OAAO,CAAC,SAAS,GAAG,EAAE,CAAC","sourcesContent":["export default {\n title: 'Components/Spinner',\n tags: ['autodocs'],\n\n args: {\n size: 'm',\n variant: 'default',\n },\n argTypes: {\n size: {\n description: 'Size options: s (24px) and m (40px) - default: m',\n options: ['s', 'm'],\n control: { type: 'radio' },\n },\n variant: {\n options: ['default', 'brand'],\n control: { type: 'radio' },\n },\n },\n};\n\nconst DefaultTemplate = args => `<ifx-spinner variant=\"${args.variant}\" size=\"${args.size}\"></ifx-spinner>`;\n\nexport const Default = DefaultTemplate.bind({});\nDefault.argsTypes = {};\n"]}
|
@@ -7,7 +7,7 @@ export class Status {
|
|
7
7
|
}
|
8
8
|
render() {
|
9
9
|
const containerClass = this.border ? `container border-${this.color}` : 'container no-border';
|
10
|
-
return (h("div", { key: '
|
10
|
+
return (h("div", { key: '19a3eab541d00aba6fe122b0dcf614b78c1ac913', "aria-label": "a status indicator", "aria-value": this.label, class: containerClass }, h("span", { key: '0e72f1e4274f0bb7c2beda4bb95d0fb2eb5d2abf', class: `dot ${this.color}` }), h("p", { key: '11717011847ac449fac6e57ac2f73a2b20acde7e', class: "text" }, this.label)));
|
11
11
|
}
|
12
12
|
static get is() { return "ifx-status"; }
|
13
13
|
static get encapsulation() { return "shadow"; }
|
@@ -7,36 +7,13 @@ export default {
|
|
7
7
|
border: true,
|
8
8
|
},
|
9
9
|
argTypes: {
|
10
|
-
label: {
|
11
|
-
description: 'Sets the label of *<ifx-status>*.',
|
12
|
-
table: {
|
13
|
-
category: 'ifx-status props',
|
14
|
-
type: {
|
15
|
-
summary: '<ifx-status> `label` </ifx-status>'
|
16
|
-
}
|
17
|
-
}
|
18
|
-
},
|
19
10
|
border: {
|
20
|
-
description: 'When set to **true** the status has a border.',
|
21
11
|
control: 'boolean',
|
22
12
|
attr: 'border',
|
23
|
-
table: {
|
24
|
-
category: 'ifx-status props',
|
25
|
-
defaultValue: {
|
26
|
-
summary: true
|
27
|
-
}
|
28
|
-
}
|
29
13
|
},
|
30
14
|
color: {
|
31
|
-
description: 'Sets the color of the status.',
|
32
|
-
control: 'radio',
|
33
15
|
options: ['orange', 'ocean', 'grey', 'light-grey', 'red', 'green', 'berry'],
|
34
|
-
|
35
|
-
category: 'ifx-status props',
|
36
|
-
defaultValue: {
|
37
|
-
summary: 'orange'
|
38
|
-
}
|
39
|
-
}
|
16
|
+
control: { type: 'radio' },
|
40
17
|
},
|
41
18
|
},
|
42
19
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"status.stories.js","sourceRoot":"","sources":["../../../src/components/status/status.stories.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,KAAK,EAAE,mBAAmB;IAC1B,IAAI,EAAE,CAAC,UAAU,CAAC;IAElB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,IAAI;KACb;IACD,QAAQ,EAAE;QACR,
|
1
|
+
{"version":3,"file":"status.stories.js","sourceRoot":"","sources":["../../../src/components/status/status.stories.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,KAAK,EAAE,mBAAmB;IAC1B,IAAI,EAAE,CAAC,UAAU,CAAC;IAElB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,IAAI;KACb;IACD,QAAQ,EAAE;QACR,MAAM,EAAE;YACN,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,QAAQ;SACf;QACD,KAAK,EAAE;YACL,OAAO,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC;YAC3E,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;SAC3B;KACF;CACF,CAAC;AAEF,MAAM,eAAe,GAAG,IAAI,CAAC,EAAE,CAAC,sBAAsB,IAAI,CAAC,KAAK,YAAY,IAAI,CAAC,KAAK,aAAa,IAAI,CAAC,MAAM,KAAK,CAAC;AAEpH,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChD,OAAO,CAAC,QAAQ,GAAG,EAAE,CAAC","sourcesContent":["export default {\n title: 'Components/Status',\n tags: ['autodocs'],\n\n args: {\n label: 'text',\n color: 'orange',\n border: true,\n },\n argTypes: {\n border: {\n control: 'boolean',\n attr: 'border',\n },\n color: {\n options: ['orange', 'ocean', 'grey', 'light-grey', 'red', 'green', 'berry'],\n control: { type: 'radio' },\n },\n },\n};\n\nconst DefaultTemplate = args => `<ifx-status label=\"${args.label}\" color=\"${args.color}\" border=\"${args.border}\"/>`;\n\nexport const Default = DefaultTemplate.bind({});\nDefault.argTypes = {};\n"]}
|
@@ -43,7 +43,7 @@ export class Step {
|
|
43
43
|
}
|
44
44
|
}
|
45
45
|
render() {
|
46
|
-
return (h("div", { key: '
|
46
|
+
return (h("div", { key: 'c8c845647b6369ad3fe1d326969fb453700a5f5c', "aria-current": this.active ? 'step' : false, "aria-disabled": this.active || this.complete ? false : true, onClick: (e) => this.stopOnClickPropogation(e), class: `step-wrapper ${this.stepId === 1 ? 'first-step' : ''}
|
47
47
|
${this.error ? 'error' : ''}
|
48
48
|
${this.stepperState.variant}
|
49
49
|
${this.complete ? 'complete' : ''}
|
@@ -51,11 +51,11 @@ export class Step {
|
|
51
51
|
indicator-${this.stepperState.indicatorPosition}
|
52
52
|
${this.active ? 'active' : ''}
|
53
53
|
${this.clickable ? 'clickable' : ''}
|
54
|
-
${this.disabled ? 'disabled' : ''}` }, h("div", { key: '
|
55
|
-
h("div", { key: '
|
54
|
+
${this.disabled ? 'disabled' : ''}` }, h("div", { key: '3019d9b56df531149deb257eef6aaeb990dd1fb3', class: 'step-icon-wrapper' }, this.stepperState.variant !== 'compact' && h("span", { key: 'be7fbbcd0bdb5bda59d0b528e2bb60b19bc2708c', class: 'step-connector-l' }), (this.stepperState.variant !== 'compact' && (!this.error || (this.error && this.active))) &&
|
55
|
+
h("div", { key: '49a0b2c9b09b64d0248fa36cde97c3daa3bd2cd7', class: 'step-icon' }, (this.stepperState.showStepNumber && !this.complete && !this.active) ? this.stepId : '', (this.complete && !this.active) && h("ifx-icon", { key: '447cdd5e0773ad569138b71962110195b8c3c17c', icon: 'check16' }), this.active && h("span", { key: '51116fcc79acb005179c179e8e5b5e5f23432808', class: 'active-indic' })), (this.stepperState.variant !== 'compact' && this.error && !this.active) && h("ifx-icon", { key: 'abae3da7c883fc6ce37742257037b99f0d4b97ab', icon: 'warningf24' }), this.stepperState.variant !== 'compact' && h("span", { key: '1d57ea3b21619a36f07ef3608e1d206482d51234', class: `step-connector-r ${this.active ? 'active' : ''}` })),
|
56
56
|
/* Step labels */
|
57
57
|
(this.stepperState.variant !== 'compact' || (this.stepperState.variant === 'compact' && (this.active || this.stepId === this.stepperState.activeStep + 1))) &&
|
58
|
-
h("div", { key: '
|
58
|
+
h("div", { key: 'cad82acab0da56e24293c649e5ba5559fa120a92', tabIndex: !this.disabled && this.complete && !this.active ? 0 : -1, class: `step-label ${this.stepperState.variant === 'compact' ? (this.active ? 'curr-label' : 'next-label') : ''}`, onClick: () => { this.handleStepClick(); }, onKeyDown: (e) => { this.handleStepKeyDown(e); } }, (this.stepperState.variant !== 'compact') && h("slot", { key: '08ff4b25de6e4df2c127ac33aa1679cff983cd39' }), this.stepperState.variant === 'compact' && !this.active ? 'Next: ' : '', this.stepperState.variant === 'compact' && h("slot", { key: '029007e8536edb302042d27744ef2847a14b6853' }))));
|
59
59
|
}
|
60
60
|
;
|
61
61
|
static get is() { return "ifx-step"; }
|
@@ -117,10 +117,10 @@ export class Stepper {
|
|
117
117
|
this.syncIfxSteps();
|
118
118
|
}
|
119
119
|
render() {
|
120
|
-
return (h("div", { key: '
|
120
|
+
return (h("div", { key: 'f1854a617aa6b4df49ef214049f88663de38073c', "aria-label": 'a stepper', role: 'navigation', class: `stepper ${(this.variant !== 'compact' && this.variant !== 'vertical') ? 'default' : this.variant} ${this.variant === 'compact' ? 'compact-' + this.indicatorPosition : ''}` },
|
121
121
|
/* Progress bar for compact variant. */
|
122
122
|
(this.variant === 'compact') &&
|
123
|
-
h("div", { key: '
|
123
|
+
h("div", { key: '2b45742f0b252764bd9c8352c6ac9fec7f6df899', class: 'stepper-progress' }, h("div", { key: '974d2ab9ddb9f0410a42d7b6b32d7dcb1d463eae', class: 'progress-detail' }, `${Math.min(this.activeStep, this.stepsCount)} of ${this.stepsCount}`)), h("div", { key: '0b8254cae99242267e586c9b9d52057931f2b682', class: `stepper-wrapper` }, h("slot", { key: '6c7267faee11e150e3dc565880e90ad8d99dfade' }))));
|
124
124
|
}
|
125
125
|
;
|
126
126
|
componentDidRender() {
|
@@ -2,8 +2,8 @@ import { action } from "@storybook/addon-actions";
|
|
2
2
|
export default {
|
3
3
|
title: 'Components/Stepper',
|
4
4
|
args: {
|
5
|
-
amountOfSteps: 5,
|
6
5
|
activeStep: 2,
|
6
|
+
amountOfSteps: 5,
|
7
7
|
errorStep: 0,
|
8
8
|
disabled: false,
|
9
9
|
indicatorPosition: 'left',
|
@@ -16,26 +16,20 @@ export default {
|
|
16
16
|
type: 'number',
|
17
17
|
min: 1
|
18
18
|
},
|
19
|
-
description: 'Indicates the current active step
|
19
|
+
description: 'Indicates the current active step',
|
20
20
|
table: {
|
21
|
-
|
22
|
-
defaultValue: { summary: 2 }
|
21
|
+
defaultValue: { summary: 1 }
|
23
22
|
}
|
24
23
|
},
|
25
24
|
amountOfSteps: {
|
26
|
-
name: 'Amount of
|
25
|
+
name: 'Amount of steps',
|
27
26
|
control: 'number',
|
28
|
-
description: 'Indicates the number of steps in stepper in a story
|
29
|
-
table: {
|
30
|
-
category: 'story controls',
|
31
|
-
defaultValue: { summary: 5 }
|
32
|
-
}
|
27
|
+
description: 'Indicates the number of steps in stepper in a story'
|
33
28
|
},
|
34
29
|
completeStep: {
|
35
30
|
name: 'complete',
|
36
|
-
description: 'A boolean prop to mark
|
31
|
+
description: 'A boolean prop to mark a step complete.<br>Usage:',
|
37
32
|
table: {
|
38
|
-
category: 'ifx-step props',
|
39
33
|
defaultValue: { summary: false },
|
40
34
|
type: {
|
41
35
|
summary: `<ifx-step complete=true> </ifx-step>`
|
@@ -45,9 +39,8 @@ export default {
|
|
45
39
|
disabled: {
|
46
40
|
name: 'disabled',
|
47
41
|
control: 'boolean',
|
48
|
-
description: 'A boolean prop to make
|
42
|
+
description: 'A boolean prop to make the step unclickable:',
|
49
43
|
table: {
|
50
|
-
category: 'ifx-step props',
|
51
44
|
defaultValue: { summary: false },
|
52
45
|
type: {
|
53
46
|
summary: `<ifx-step disabled=true> </ifx-step>`
|
@@ -58,44 +51,34 @@ export default {
|
|
58
51
|
errorStep: {
|
59
52
|
name: 'error',
|
60
53
|
control: 'number',
|
61
|
-
description: 'Specified step number indicates to have an error
|
54
|
+
description: 'Specified step number indicates to have an error',
|
62
55
|
table: {
|
63
|
-
|
56
|
+
defaultValue: { summary: false }
|
64
57
|
},
|
65
58
|
},
|
66
59
|
indicatorPosition: {
|
67
60
|
control: 'radio',
|
68
61
|
defaultValue: { summary: 'left' },
|
69
|
-
description: 'Allows to swap the
|
62
|
+
description: 'Allows to swap the progross bar and steps\' label',
|
70
63
|
options: ['left', 'right'],
|
71
|
-
if: { arg: 'variant', eq: 'compact' }
|
72
|
-
table: {
|
73
|
-
category: 'ifx-stepper props'
|
74
|
-
}
|
64
|
+
if: { arg: 'variant', eq: 'compact' }
|
75
65
|
},
|
76
66
|
showStepNumber: {
|
77
67
|
control: 'boolean',
|
78
68
|
defaultValue: { summary: 'false' },
|
79
|
-
description: 'Shows the step number when set true
|
80
|
-
if: { arg: 'variant', eq: 'default' }
|
81
|
-
table: {
|
82
|
-
category: 'ifx-stepper props'
|
83
|
-
}
|
69
|
+
description: 'Shows the step number when set true',
|
70
|
+
if: { arg: 'variant', eq: 'default' }
|
84
71
|
},
|
85
72
|
variant: {
|
86
73
|
options: ['default', 'compact', 'vertical'],
|
87
74
|
defaultValue: { summary: 'default' },
|
88
|
-
description: 'Allows to switch between default and compact variant
|
89
|
-
control: 'radio'
|
90
|
-
table: {
|
91
|
-
category: 'ifx-stepper props'
|
92
|
-
}
|
75
|
+
description: 'Allows to switch between default and compact variant',
|
76
|
+
control: 'radio'
|
93
77
|
},
|
94
78
|
ifxChange: {
|
95
79
|
action: 'ifxChange',
|
96
|
-
description: 'A custom event emitted when active step changes
|
80
|
+
description: 'A custom event emitted when active step changes',
|
97
81
|
table: {
|
98
|
-
category: 'custom events',
|
99
82
|
type: {
|
100
83
|
summary: 'Framework integration',
|
101
84
|
detail: `
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stepper.stories.js","sourceRoot":"","sources":["../../../src/components/stepper/stepper.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,
|
1
|
+
{"version":3,"file":"stepper.stories.js","sourceRoot":"","sources":["../../../src/components/stepper/stepper.stories.ts"],"names":[],"mappings":"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","sourcesContent":["import { action } from '@storybook/addon-actions';\n\nexport default{\n title: 'Components/Stepper',\n args: { \n activeStep: 2,\n amountOfSteps: 5,\n errorStep: 0,\n disabled: false,\n indicatorPosition: 'left',\n showStepNumber: false,\n variant: 'default'\n },\n argTypes: {\n activeStep: { \n control: {\n type: 'number',\n min: 1\n }, \n description: 'Indicates the current active step', \n table: {\n defaultValue: { summary: 1 }\n }\n },\n amountOfSteps: { \n name: 'Amount of steps',\n control: 'number', \n description: 'Indicates the number of steps in stepper in a story'\n },\n completeStep: {\n name: 'complete',\n description: 'A boolean prop to mark a step complete.<br>Usage:',\n table: {\n defaultValue: { summary: false },\n type: {\n summary: `<ifx-step complete=true> </ifx-step>`\n }\n }\n },\n disabled: {\n name: 'disabled',\n control: 'boolean',\n description: 'A boolean prop to make the step unclickable:',\n table: {\n defaultValue: { summary: false },\n type: {\n summary: `<ifx-step disabled=true> </ifx-step>`\n }\n },\n if: { arg:'variant', eq: 'default' }\n },\n errorStep: {\n name: 'error',\n control: 'number',\n description: 'Specified step number indicates to have an error',\n table: {\n defaultValue: { summary: false }\n },\n },\n indicatorPosition: {\n control: 'radio',\n defaultValue: { summary: 'left' },\n description: 'Allows to swap the progross bar and steps\\' label',\n options: ['left', 'right'],\n if: { arg:'variant', eq: 'compact' }\n },\n showStepNumber: { \n control: 'boolean', \n defaultValue: { summary: 'false' },\n description: 'Shows the step number when set true',\n if: { arg: 'variant', eq: 'default' }\n },\n variant: {\n options: ['default', 'compact', 'vertical'],\n defaultValue: { summary: 'default' },\n description: 'Allows to switch between default and compact variant',\n control: 'radio'\n },\n ifxChange: {\n action: 'ifxChange',\n description: 'A custom event emitted when active step changes',\n table: {\n type: {\n summary: 'Framework integration',\n detail: `\nReact: onIfxChange={handleChange}\nVue:@ifxChange=\"handleChange\"\nAngular:(ifxChange)=\"handleChange()\"\nVanillaJs:.addEventListener(\"ifxChange\", (event) => {//handle change});`,\n }\n }\n }\n }\n}\n\nconst Template = (args) => {\n const wrapper = document.createElement('div');\n wrapper.innerHTML = `\n<ifx-stepper \nactive-step=${args.activeStep} \n${args.variant === 'compact' ? `indicator-position=${args.indicatorPosition}` : ''} \n${args.variant === 'default' ? `show-step-number=${args.showStepNumber}` : ''} \nvariant=${args.variant}>\n ${\n (()=>{\n return Array.from({ length: args.amountOfSteps }, (_, stepId) => {\n const step = document.createElement('ifx-step')\n step.innerHTML = `Step Label ${stepId+1}`\n if (args.errorStep === stepId+1) step.setAttribute('error', 'true')\n if (args.disabled) step.setAttribute('disabled', 'true')\n return step.outerHTML\n }).join(`\\n `)\n })()\n }\n</ifx-stepper>`\n\n const stepper = wrapper.querySelector('ifx-stepper');\n stepper.addEventListener('ifxChange', action('ifxChange'));\n \n return stepper;\n};\n\nexport const Default = Template.bind({});\nDefault.args = {\n variant: 'default'\n};\n\nexport const Compact = Template.bind({});\nCompact.args = {\n variant: 'compact'\n};\n\nexport const Vertical = Template.bind({});\nVertical.args = {\n variant: 'vertical'\n}\n"]}
|
@@ -64,7 +64,7 @@ export class Switch {
|
|
64
64
|
this.internals.setFormValue(null);
|
65
65
|
}
|
66
66
|
render() {
|
67
|
-
return (h("div", { key: '
|
67
|
+
return (h("div", { key: '16d5d06fafa337fd6beac9ace18322ab5727968f', class: "container", role: "switch", "aria-checked": this.internalChecked ? 'true' : 'false', "aria-label": this.name, onClick: () => this.toggleSwitch(), onKeyDown: (event) => this.handleKeyDown(event) }, h("div", { key: '79dc45173c4a30f01075c4294771181bdfe18423', class: `switch__checkbox-container ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}`, tabindex: "0" }, h("div", { key: '8aee9283fdd91234ba4c19d37a38de74f244445a', class: "switch__checkbox-wrapper" }, h("input", { key: '8d1c55b322721fecce9b4015a91410760a8cb469', type: "checkbox", hidden: true, name: this.name, disabled: this.disabled, checked: this.internalChecked, value: `${this.value}` }), h("div", { key: '34c9e0a329a4b326adbf9d5372cd43ff0c3645a5', class: `switch ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}` }))), h("div", { key: 'a27b19ca30180b0ff29c2c5bff8e59a8c98bb417', class: `switch__label-wrapper ${this.disabled ? 'disabled' : ''}` }, h("label", { key: '502e523b69a2bb3007eb7023321904848c1e6c1a', htmlFor: "switch" }, h("slot", { key: '46adc952c72ee5320bc26c1ed1e41d1ef52857af', onSlotchange: () => this.toggleLabelGap() })))));
|
68
68
|
}
|
69
69
|
static get is() { return "ifx-switch"; }
|
70
70
|
static get encapsulation() { return "shadow"; }
|
@@ -3,70 +3,21 @@ export default {
|
|
3
3
|
title: 'Components/Switch',
|
4
4
|
tags: ['autodocs'],
|
5
5
|
args: {
|
6
|
-
label: 'Switch',
|
7
6
|
checked: false,
|
7
|
+
label: 'Switch',
|
8
8
|
name: 'switch',
|
9
9
|
value: 'switch',
|
10
|
-
disabled: false,
|
11
10
|
},
|
12
11
|
argTypes: {
|
13
|
-
label: {
|
14
|
-
name: 'Label',
|
15
|
-
description: 'Set the label of <ifx-switch>.',
|
16
|
-
table: {
|
17
|
-
category: 'story controls',
|
18
|
-
type: {
|
19
|
-
summary: '<ifx-switch> `label` </ifx-switch>'
|
20
|
-
}
|
21
|
-
}
|
22
|
-
},
|
23
12
|
name: {
|
24
|
-
description: 'Name of the element, that is used as reference when a form is submitted.'
|
25
|
-
table: {
|
26
|
-
category: 'ifx-switch props',
|
27
|
-
type: {
|
28
|
-
summary: 'string'
|
29
|
-
}
|
30
|
-
}
|
31
|
-
},
|
32
|
-
checked: {
|
33
|
-
name: 'checked',
|
34
|
-
description: 'Set the checked state of the switch.',
|
35
|
-
table: {
|
36
|
-
category: 'ifx-switch props',
|
37
|
-
defaultValue: {
|
38
|
-
summary: 'false'
|
39
|
-
},
|
40
|
-
type: {
|
41
|
-
summary: 'boolean'
|
42
|
-
}
|
43
|
-
}
|
13
|
+
description: 'Name of the element, that is used as reference when a form is submitted.'
|
44
14
|
},
|
45
15
|
value: {
|
46
|
-
description: 'The value that gets submitted, when the radio button is checked
|
47
|
-
table: {
|
48
|
-
category: 'ifx-switch props',
|
49
|
-
type: {
|
50
|
-
summary: 'string'
|
51
|
-
}
|
52
|
-
}
|
53
|
-
},
|
54
|
-
disabled: {
|
55
|
-
description: 'The value that gets submitted, when the radio button is checked.',
|
56
|
-
table: {
|
57
|
-
category: 'ifx-switch props',
|
58
|
-
defaultValue: {
|
59
|
-
summary: 'false'
|
60
|
-
},
|
61
|
-
type: {
|
62
|
-
summary: 'boolean'
|
63
|
-
}
|
64
|
-
}
|
16
|
+
description: 'The value that gets submitted, when the radio button is checked'
|
65
17
|
},
|
66
18
|
ifxChange: {
|
67
|
-
description: 'Custom event emitted on change
|
19
|
+
description: 'Custom event emitted on change',
|
68
20
|
table: {
|
69
|
-
category: 'custom events',
|
70
21
|
type: {
|
71
22
|
summary: 'Framework integration',
|
72
23
|
detail: 'React: onIfxChange={handleChange}\nVue:@ifxChange="handleChange"\nAngular:(ifxChange)="handleChange()"\nVanillaJs:.addEventListener("ifxChange", (event) => {//handle change});',
|
@@ -82,7 +33,6 @@ const DefaultTemplate = args => {
|
|
82
33
|
element.setAttribute('checked', args.checked);
|
83
34
|
element.setAttribute('name', args.name);
|
84
35
|
element.setAttribute('value', args.value);
|
85
|
-
element.setAttribute('disabled', args.disabled);
|
86
36
|
// Add the event listener
|
87
37
|
// element.addEventListener('ifxChange', action('ifxChange'));
|
88
38
|
// Inside your story, add an event listener for the custom event
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"switch.stories.js","sourceRoot":"","sources":["../../../src/components/switch/switch.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,mBAAmB;IAC1B,IAAI,EAAE,CAAC,UAAU,CAAC;IAElB,IAAI,EAAE;QACJ,
|
1
|
+
{"version":3,"file":"switch.stories.js","sourceRoot":"","sources":["../../../src/components/switch/switch.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,mBAAmB;IAC1B,IAAI,EAAE,CAAC,UAAU,CAAC;IAElB,IAAI,EAAE;QACJ,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,QAAQ;KAChB;IACD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,WAAW,EAAE,0EAA0E;SACxF;QACD,KAAK,EAAE;YACL,WAAW,EAAE,iEAAiE;SAC/E;QACD,SAAS,EAAE;YACT,WAAW,EAAE,gCAAgC;YAC7C,KAAK,EAAE;gBACL,IAAI,EAAE;oBACJ,OAAO,EAAE,uBAAuB;oBAChC,MAAM,EACJ,iLAAiL;iBACpL;aACF;YACD,MAAM,EAAE,WAAW;SACpB;KACF;CACF,CAAC;AAEF,MAAM,eAAe,GAAG,IAAI,CAAC,EAAE;IAC7B,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,YAAY,CAAyB,CAAC;IAE7E,qBAAqB;IACrB,OAAO,CAAC,YAAY,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9C,OAAO,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACxC,OAAO,CAAC,YAAY,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAE1C,yBAAyB;IACzB,8DAA8D;IAC9D,gEAAgE;IAChE,OAAO,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,KAAY,EAAE,EAAE;QACrD,MAAM,WAAW,GAAG,KAAoB,CAAC;QACzC,MAAM,QAAQ,GAAG,WAAW,CAAC,MAAM,CAAC;QAEpC,MAAM,CAAC,WAAW,CAAC,CAAC,WAAW,CAAC,CAAC;QAEjC,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC;IACxB,CAAC,CAAC,CAAC;IAEH,MAAM,WAAW,GAAG,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACxD,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IAEjC,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC","sourcesContent":["import { action } from '@storybook/addon-actions';\n\nexport default {\n title: 'Components/Switch',\n tags: ['autodocs'],\n\n args: {\n checked: false,\n label: 'Switch',\n name: 'switch',\n value: 'switch',\n },\n argTypes: {\n name: {\n description: 'Name of the element, that is used as reference when a form is submitted.'\n },\n value: {\n description: 'The value that gets submitted, when the radio button is checked'\n },\n ifxChange: {\n description: 'Custom event emitted on change',\n table: {\n type: {\n summary: 'Framework integration',\n detail:\n 'React: onIfxChange={handleChange}\\nVue:@ifxChange=\"handleChange\"\\nAngular:(ifxChange)=\"handleChange()\"\\nVanillaJs:.addEventListener(\"ifxChange\", (event) => {//handle change});',\n },\n },\n action: 'ifxChange',\n },\n },\n};\n\nconst DefaultTemplate = args => {\n const element = document.createElement('ifx-switch') as HTMLIfxSwitchElement;\n\n // Set the attributes\n element.setAttribute('checked', args.checked);\n element.setAttribute('name', args.name);\n element.setAttribute('value', args.value);\n\n // Add the event listener\n // element.addEventListener('ifxChange', action('ifxChange'));\n // Inside your story, add an event listener for the custom event\n element.addEventListener('ifxChange', (event: Event) => {\n const customEvent = event as CustomEvent;\n const newValue = customEvent.detail;\n\n action('ifxChange')(customEvent);\n\n args.value = newValue;\n });\n\n const slotContent = document.createTextNode(args.label);\n element.appendChild(slotContent);\n\n return element;\n};\n\nexport const Default = DefaultTemplate.bind({});\n"]}
|
@@ -89,7 +89,7 @@ export class FilterBar {
|
|
89
89
|
// Calculate slotsToShow safely
|
90
90
|
const slotsToShow = Math.min(safeVisibleSlots, actualNumberOfComponents, Number.MAX_SAFE_INTEGER);
|
91
91
|
const slots = Array.from({ length: slotsToShow }, (_, i) => (h("div", { class: "filter-slot-wrapper" }, h("slot", { name: `filter-component-${i + 1}` }))));
|
92
|
-
return (h(Host, { key: '
|
92
|
+
return (h(Host, { key: '8d992ffd80f889fd3f46ec87b98f993077ce2ab6' }, h("div", { key: '29e0d9cc180d967b7229b964ffc5cdc081101bd2', class: "search-container" }, h("slot", { key: 'c757deed2f3a4ad84b248fe027856ab4561cbc35', name: "filter-search" }), " "), h("div", { key: 'a0ea9ef14b7b833c00d2db05ca90e6b3930af952', class: "components-container" }, slots.length > 0 ? slots : h("slot", { name: "filter-component" }), this.showMoreFiltersButton && !this.showAllFilters && (h("div", { key: 'c27dddea4f9dd0351f57c7749147c1ee74e29589', class: "more-filters-wrapper", onClick: this.handleMoreFiltersClick }, h("ifx-button", { key: '503c3c5d8f1fac1036add1d92180a2d753059001', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false" }, h("ifx-icon", { key: '0d6c2b038b10c18a2cbb49ad3fcae932950b25ae', icon: "filter-16" }), "More filters"))))));
|
93
93
|
}
|
94
94
|
static get is() { return "ifx-filter-bar"; }
|
95
95
|
static get encapsulation() { return "shadow"; }
|
@@ -32,8 +32,8 @@ export class FilterAccordion {
|
|
32
32
|
this.el.removeEventListener('ifxListUpdate', this.handleCheckedChange);
|
33
33
|
}
|
34
34
|
render() {
|
35
|
-
return (h("div", { key: '
|
36
|
-
h("div", { key: '
|
35
|
+
return (h("div", { key: 'be54eed905ef119ba75b1971bdc869d5e6aa16bd', class: `accordion ${this.expanded ? 'expanded' : ''}` }, h("div", { key: 'df2ecea4f02390be7b470e52c4bed4c63a2f9447', class: `header ${this.expanded ? 'expanded' : ''}`, onClick: this.toggleAccordion }, h("div", { key: 'd7574969d1f6fa109cbefc3993020e8b7ae32ea7', class: `text-and-icon ${this.expanded ? 'expanded' : ''}` }, h("div", { key: 'e51196847c8934489d67f375770900798ee890d7', class: "text" }, h("span", { key: '7d6c62daed486d04f6ff21e74f1ec6c43a1ce2fb' }, this.filterGroupName), h("ifx-number-indicator", { key: 'c4b446dca424c4f18f4557727b8109f8d79e1e05' }, this.count)), h("ifx-icon", { key: '888521e2c95046c1bccbbd277457c4e862cbc05f', class: this.expanded ? '' : 'hidden', icon: "minus-16", onClick: this.toggleAccordion }), h("ifx-icon", { key: 'e65c9023c548d1e6ef23e182a41530bef8995c4a', class: this.expanded ? 'hidden' : '', icon: "plus-16", onClick: this.toggleAccordion }))), this.expanded &&
|
36
|
+
h("div", { key: '7eee355e26d09e94749ea8c53d6aaa2f1a7682a2', class: "filter-accordion-container" }, h("slot", { key: '754064c2206e538327500e16de19ee29a60bd248', name: "list" }))));
|
37
37
|
}
|
38
38
|
static get is() { return "ifx-filter-accordion"; }
|
39
39
|
static get encapsulation() { return "shadow"; }
|
@@ -27,7 +27,7 @@ export class FilterSearch {
|
|
27
27
|
this.ifxFilterSearchChange.emit({ filterName: this.filterName, filterValue: this.filterValue, filterKey: this.filterKey }); // Emitting filterKey along with other properties
|
28
28
|
}
|
29
29
|
render() {
|
30
|
-
return (h("div", { key: '
|
30
|
+
return (h("div", { key: '9b3f578bd618636a2836fe7e663d826f6fc332f9', class: `${this.filterOrientation === 'sidebar' ? 'sidebar-filter-search-wrapper' : 'topbar-filter-search-wrapper'}` }, h("div", { key: '5162a3f51282bda8920d891cc052d2d8867c4636', class: "filter-name" }, this.filterName), h("ifx-search-field", { key: 'ffd736cc9534e377f6a8d7825e2a80394b425d37', placeholder: this.placeholder, "show-delete-icon": this.showDeleteIcon, disabled: this.disabled, value: this.filterValue })));
|
31
31
|
}
|
32
32
|
static get is() { return "ifx-filter-search"; }
|
33
33
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js
CHANGED
@@ -119,7 +119,7 @@ export class IfxFilterTypeGroup {
|
|
119
119
|
window.removeEventListener('ifxResetFiltersEvent', this.handleResetEvent);
|
120
120
|
}
|
121
121
|
render() {
|
122
|
-
return (h(Host, { key: '
|
122
|
+
return (h(Host, { key: 'd501181f0ff9311976fda4d41b04ee2b871aa3b1' }, h("div", { key: '29fb80146dc2605bb3c4e95ef7944a0af6489c2e', class: "filter-type-group" }, h("slot", { key: 'c9b256944dd5c75ee893ac908e2f282c12b7613e', name: "filter-search" }), h("slot", { key: 'a365f9582579ab4c149d0fec711113843a95a3b3', name: "filter-accordion" }))));
|
123
123
|
}
|
124
124
|
static get is() { return "ifx-filter-type-group"; }
|
125
125
|
static get encapsulation() { return "shadow"; }
|
@@ -18,7 +18,7 @@ export class ListEntry {
|
|
18
18
|
this.ifxListEntryChange.emit({ label: this.label, value: this.value, type: this.type });
|
19
19
|
}
|
20
20
|
render() {
|
21
|
-
return (h("div", { key: '
|
21
|
+
return (h("div", { key: '5824b3919639cc0c54b3fc0da1e7c9170cd04e86', class: "wrapper" }, this.type === 'checkbox' ? (h("div", { class: "list-entry" }, h("ifx-checkbox", { size: "s", checked: this.value }, this.label))) : (h("div", { class: "list-entry" }, h("ifx-radio-button", { size: "s", checked: this.value }, this.label)))));
|
22
22
|
}
|
23
23
|
static get is() { return "ifx-list-entry"; }
|
24
24
|
static get encapsulation() { return "shadow"; }
|
@@ -339,12 +339,12 @@ export class Table {
|
|
339
339
|
};
|
340
340
|
}
|
341
341
|
const filterClass = this.filterOrientation === 'topbar' ? 'topbar-layout' : 'sidebar-layout';
|
342
|
-
return (h(Host, { key: '
|
342
|
+
return (h(Host, { key: 'e57b86ec80a374430abc14b0d7f91f3e0a99c8f2' }, h("div", { key: '0437ee0601403bb1dac471c21434882addc4ec30', class: "table-container" }, this.filterOrientation === 'sidebar' && (h("div", { key: 'ac517863d5ace6559c7beaece0d603be3d573fad', class: "sidebar-btn" }, h("ifx-button", { key: 'a50e5db74a11b415bd926a3ec0b1677368f0fc40', type: "button", disabled: false, variant: "secondary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.toggleSidebarFilters() }, h("ifx-icon", { key: '606e6da9b4a37dd67e798c82a7c1968b800c7d0b', icon: "cross-12" }), this.showSidebarFilters ? 'Hide Filters' : 'Show Filters'))), h("div", { key: '9fec8c29948accb924cbac6a6c5468090fec510a', class: filterClass }, this.filterOrientation === 'sidebar' && this.showSidebarFilters && (h("div", { key: '393adba196751261e2ebd28d248c2f014a76235a', class: "sidebar-container" }, h("div", { key: 'd418ac2e02623dbfb618d655272f4e8ca858ac10', class: "filters-title-container" }, h("span", { key: '99e0a1abdba3079e1403e357f8c7c81d1598a9c8', class: "filters-title" }, "Filters")), h("div", { key: '678a2100b63507a6ba913c2f2bb79a0b0328ab39', class: "set-filter-wrapper-sidebar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: 'ea9d567f1cb9ec4a30543e6e548e6738dd431a64', name: "sidebar-filter" }))))), this.filterOrientation !== 'none' && this.filterOrientation !== 'sidebar' && (h("div", { key: '424dfd1b0b97c9e9bae4415515e93e83fcd899ba', class: "set-filter-wrapper-topbar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: 'feed6e020e9064937d2ee98f658fad1c5cca5006', name: "topbar-filter" })))), h("div", { key: '7bfd7553dc5fb91e23c038011117b36fde1f1cdc', class: "table-pagination-wrapper" }, h("div", { key: '9ab09b47494a1aa0fb321271e7b2e70da35f5465', class: "filter-chips" }, this.filterOrientation !== 'none' && this.filterOrientation !== 'topbar' && this.showSidebarFilters && (Object.keys(this.currentFilters).map(name => {
|
343
343
|
const filter = this.currentFilters[name];
|
344
344
|
const filterValues = filter.filterValues;
|
345
345
|
const isMultiSelect = filter.type !== 'text';
|
346
346
|
return filterValues.length > 0 ? (h("ifx-chip", { placeholder: name, size: "large", variant: isMultiSelect ? "multi" : "single", readOnly: true, value: filterValues, key: name }, filterValues.map(filterValue => (h("ifx-chip-item", { value: filterValue, selected: true, key: filterValue }, filterValue))))) : null;
|
347
|
-
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: '
|
347
|
+
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: '416320b457ef8130c63d162af2bdff105eac05c3', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.handleResetButtonClick() }, h("ifx-icon", { key: 'bcac9c1392bace580732a3c08c03b3b26896e2ee', icon: "curved-arrow-left-16" }), "Reset all"))), this.filterOrientation !== 'none' && (h("div", { key: 'd598ec5ffff9954e7da760ff14c2b9ce324a2fc2', class: "matching-results-container" }, h("span", { key: '696fe11af3ecc84393056100f44c146e7d570ba5', class: "matching-results-count" }, this.matchingResultsCount), h("span", { key: 'a78973038e721c63d88c231f0ec697c63be6e8da', class: "matching-results-text" }, "matching results"))), h("div", { key: '3539762cd6a74d535659a843e084730ad1fe9a41', id: "table-wrapper", class: this.getTableClassNames() }, h("div", { key: 'e9d36b814f4b83b1ae6eb7f0fa87292df47c91ab', id: `ifxTable-${this.uniqueKey}`, class: 'ifx-ag-grid', style: style, ref: (el) => this.container = el })), this.pagination ? h("ifx-pagination", { total: this.allRowData.length, "current-page": this.currentPage }) : null)))));
|
348
348
|
}
|
349
349
|
hasButtonCol() {
|
350
350
|
return this.getColData().some(column => column.field === 'button');
|