@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
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"checkbox.stories.js","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,qBAAqB;IAC5B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,IAAI,EAAE;QACJ,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"checkbox.stories.js","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,qBAAqB;IAC5B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,IAAI,EAAE;QACJ,KAAK,EAAE,KAAK;QACZ,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,GAAG;QACT,aAAa,EAAE,KAAK;QACpB,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,UAAU;KAClB;IAED,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,SAAS,EAAE;YACT,MAAM,EAAE,WAAW;YACnB,WAAW,EAAE,oDAAoD;YACjE,KAAK,EAAE;gBACL,IAAI,EAAE;oBACJ,OAAO,EAAE,uBAAuB;oBAChC,MAAM,EACJ,iLAAiL;iBACpL;aACF;SACF;QACD,IAAI,EAAE;YACJ,WAAW,EAAE,0EAA0E;SACxF;QACD,KAAK,EAAE;YACL,WAAW,EAAE,6DAA6D;SAC3E;KACF;CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE;IAC/E,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;IACxD,QAAQ,CAAC,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACtC,QAAQ,CAAC,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC1C,QAAQ,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACpC,QAAQ,CAAC,YAAY,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;IACtD,QAAQ,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAEpC,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;IAE5D,QAAQ,CAAC,SAAS,GAAG;MACjB,KAAK;GACR,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,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/Checkbox',\n tags: ['autodocs'],\n args: {\n error: false,\n checked: false,\n label: 'Text',\n size: 's',\n indeterminate: false,\n name: 'checkbox',\n value: 'checkbox',\n },\n\n argTypes: {\n size: {\n description: 'Size options: s (21px) and m (25px) - default: m',\n options: ['s', 'm'],\n control: { type: 'radio' },\n },\n ifxChange: {\n action: 'ifxChange',\n description: 'Custom event emitted when accordion-item is closed',\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 },\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 checkbox is seleted'\n }\n },\n};\n\nconst DefaultTemplate = ({ error, checked, indeterminate, size, label, name }) => {\n const checkbox = document.createElement('ifx-checkbox');\n checkbox.setAttribute('error', error);\n checkbox.setAttribute('checked', checked);\n checkbox.setAttribute('size', size);\n checkbox.setAttribute('indeterminate', indeterminate);\n checkbox.setAttribute('name', name);\n\n checkbox.addEventListener('ifxChange', action('ifxChange'));\n\n checkbox.innerHTML = `\n ${label}\n `;\n\n return checkbox;\n};\n\nexport const Default = DefaultTemplate.bind({});\n"]}
|
@@ -1,63 +1,18 @@
|
|
1
1
|
import { action } from "@storybook/addon-actions";
|
2
|
-
import { icons } from "@infineon/infineon-icons";
|
3
2
|
export default {
|
4
3
|
title: 'Components/Content Switcher',
|
5
4
|
tags: ['autodocs'],
|
6
5
|
args: {
|
7
6
|
amountOfItems: 4,
|
8
|
-
label: 'Item',
|
9
|
-
value: 'item',
|
10
|
-
icon: 'applications-16'
|
11
7
|
},
|
12
8
|
argTypes: {
|
13
9
|
amountOfItems: {
|
14
|
-
name: 'Amount of Items',
|
15
10
|
control: { type: 'number' },
|
16
|
-
description: 'Set the number of content-switcher-items to be rendered.',
|
17
|
-
table: {
|
18
|
-
category: 'story controls',
|
19
|
-
type: {
|
20
|
-
summary: 'number'
|
21
|
-
}
|
22
|
-
}
|
23
|
-
},
|
24
|
-
label: {
|
25
|
-
name: 'Label',
|
26
|
-
control: { type: 'text' },
|
27
|
-
description: 'Set the label of the content-switcher-item.',
|
28
|
-
table: {
|
29
|
-
category: 'story controls',
|
30
|
-
type: {
|
31
|
-
summary: 'string'
|
32
|
-
}
|
33
|
-
}
|
34
|
-
},
|
35
|
-
value: {
|
36
|
-
control: { type: 'text' },
|
37
|
-
description: 'Set the value of the content-switcher-item.',
|
38
|
-
table: {
|
39
|
-
category: 'content-switcher-item props',
|
40
|
-
type: {
|
41
|
-
summary: 'string'
|
42
|
-
}
|
43
|
-
}
|
44
|
-
},
|
45
|
-
icon: {
|
46
|
-
description: 'The icon of the content-switcher-item.',
|
47
|
-
options: Object.values(icons).map(i => i['name']),
|
48
|
-
control: { type: 'select' },
|
49
|
-
table: {
|
50
|
-
category: 'ifx-icon props',
|
51
|
-
type: {
|
52
|
-
summary: 'string'
|
53
|
-
}
|
54
|
-
}
|
55
11
|
},
|
56
12
|
ifxChange: {
|
57
13
|
action: 'ifxChange',
|
58
14
|
description: 'Custom event emitted when a different content-switcher-item gets selected. Contains the value of the previous and the new selected item.',
|
59
15
|
table: {
|
60
|
-
category: 'custom events',
|
61
16
|
type: {
|
62
17
|
summary: 'Framework integration',
|
63
18
|
detail: 'React: onIfxChange={handleChange}\nVue:@ifxChange="handleChange"\nAngular:(ifxChange)="handleChange()"\nVanillaJs:.addEventListener("ifxChange", (event) => {//handle change});',
|
@@ -66,13 +21,13 @@ export default {
|
|
66
21
|
}
|
67
22
|
},
|
68
23
|
};
|
69
|
-
const DefaultTemplate = ({ amountOfItems
|
24
|
+
const DefaultTemplate = ({ amountOfItems }) => {
|
70
25
|
const element = document.createElement('ifx-content-switcher');
|
71
26
|
for (let i = 0; i < amountOfItems; i++) {
|
72
27
|
const item = document.createElement('ifx-content-switcher-item');
|
73
|
-
item.setAttribute('value',
|
28
|
+
item.setAttribute('value', `item-${i + 1}`);
|
74
29
|
item.innerHTML = `
|
75
|
-
<ifx-icon icon="
|
30
|
+
<ifx-icon icon="applications-16"></ifx-icon>Item ${i + 1}
|
76
31
|
`;
|
77
32
|
element.appendChild(item);
|
78
33
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"content-switcher.stories.js","sourceRoot":"","sources":["../../../src/components/content-switcher/content-switcher.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;
|
1
|
+
{"version":3,"file":"content-switcher.stories.js","sourceRoot":"","sources":["../../../src/components/content-switcher/content-switcher.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,6BAA6B;IACpC,IAAI,EAAE,CAAC,UAAU,CAAC;IAElB,IAAI,EAAE;QACJ,aAAa,EAAE,CAAC;KAEjB;IACD,QAAQ,EAAE;QACR,aAAa,EAAE;YACb,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SAC5B;QACD,SAAS,EAAE;YACT,MAAM,EAAE,WAAW;YACnB,WAAW,EAAE,0IAA0I;YACvJ,KAAK,EAAE;gBACL,IAAI,EAAE;oBACJ,OAAO,EAAE,uBAAuB;oBAChC,MAAM,EACJ,iLAAiL;iBACpL;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,EAAE,aAAa,EAAE,EAAE,EAAE;IAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC;IAE/D,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,EAAE,CAAC,EAAE,EAAE,CAAC;QACvC,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,2BAA2B,CAAC,CAAC;QACjE,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC5C,IAAI,CAAC,SAAS,GAAG;yDACoC,CAAC,GAAG,CAAC;KACzD,CAAC;QAEF,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED,OAAO,CAAC,gBAAgB,CAAC,WAAW,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;IAE3D,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/Content Switcher',\n tags: ['autodocs'],\n\n args: {\n amountOfItems: 4,\n\n },\n argTypes: {\n amountOfItems: {\n control: { type: 'number' },\n }, \n ifxChange: {\n action: 'ifxChange',\n description: 'Custom event emitted when a different content-switcher-item gets selected. Contains the value of the previous and the new selected item.', \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 }\n },\n};\n\nconst DefaultTemplate = ({ amountOfItems }) => {\n const element = document.createElement('ifx-content-switcher');\n\n for (let i = 0; i < amountOfItems; i++) {\n const item = document.createElement('ifx-content-switcher-item');\n item.setAttribute('value', `item-${i + 1}`);\n item.innerHTML = `\n <ifx-icon icon=\"applications-16\"></ifx-icon>Item ${i + 1}\n `;\n\n element.appendChild(item);\n }\n\n element.addEventListener('ifxChange', action('ifxChange'));\n\n return element;\n};\n\nexport const Default = DefaultTemplate.bind({});"]}
|
@@ -12,91 +12,24 @@ export default {
|
|
12
12
|
max: '',
|
13
13
|
min: '',
|
14
14
|
label: "Label Text",
|
15
|
-
caption: "Caption text, description, error notification
|
15
|
+
caption: "Caption text, description, error notification",
|
16
16
|
},
|
17
17
|
argTypes: {
|
18
|
-
label: {
|
19
|
-
description: 'Label of Date Picker.',
|
20
|
-
table: {
|
21
|
-
category: 'ifx-date-picker props',
|
22
|
-
}
|
23
|
-
},
|
24
|
-
caption: {
|
25
|
-
description: 'Caption text, description, error notification.',
|
26
|
-
table: {
|
27
|
-
category: 'ifx-date-picker props',
|
28
|
-
}
|
29
|
-
},
|
30
|
-
min: {
|
31
|
-
description: 'Minimum date that can be selected',
|
32
|
-
table: {
|
33
|
-
category: 'ifx-date-picker props',
|
34
|
-
}
|
35
|
-
},
|
36
|
-
max: {
|
37
|
-
description: 'The latest date that can be selected.',
|
38
|
-
table: {
|
39
|
-
category: 'ifx-date-picker props',
|
40
|
-
}
|
41
|
-
},
|
42
|
-
disabled: {
|
43
|
-
description: 'Disables the date picker',
|
44
|
-
control: 'boolean',
|
45
|
-
table: {
|
46
|
-
category: 'ifx-date-picker props',
|
47
|
-
defaultValue: {
|
48
|
-
summary: false
|
49
|
-
}
|
50
|
-
}
|
51
|
-
},
|
52
|
-
success: {
|
53
|
-
description: 'Indicates success in the date picker.',
|
54
|
-
control: 'boolean',
|
55
|
-
table: {
|
56
|
-
category: 'ifx-date-picker props',
|
57
|
-
defaultValue: {
|
58
|
-
summary: false
|
59
|
-
}
|
60
|
-
}
|
61
|
-
},
|
62
|
-
error: {
|
63
|
-
description: 'Indicates error in the date picker.',
|
64
|
-
control: 'boolean',
|
65
|
-
table: {
|
66
|
-
category: 'ifx-date-picker props',
|
67
|
-
defaultValue: {
|
68
|
-
summary: false
|
69
|
-
}
|
70
|
-
}
|
71
|
-
},
|
72
18
|
size: {
|
73
|
-
description: '
|
74
|
-
control: 'radio',
|
19
|
+
description: 'Size options: Height small (36px) and Height large (40px) - default: small',
|
75
20
|
options: ['s', 'l'],
|
76
|
-
|
77
|
-
category: 'ifx-date-picker props',
|
78
|
-
defaultValue: {
|
79
|
-
summary: 's'
|
80
|
-
}
|
81
|
-
}
|
21
|
+
control: { type: 'radio' },
|
82
22
|
},
|
83
23
|
name: {
|
84
|
-
description: 'Name of the element, that is used as reference when a form is submitted.'
|
85
|
-
table: {
|
86
|
-
category: 'ifx-date-picker props'
|
87
|
-
}
|
24
|
+
description: 'Name of the element, that is used as reference when a form is submitted.'
|
88
25
|
},
|
89
26
|
value: {
|
90
|
-
description: 'Displayed date is formatted based on the locale of the user`s browser, but the parsed value is always formatted yyyy-mm-dd'
|
91
|
-
table: {
|
92
|
-
category: 'ifx-date-picker props'
|
93
|
-
}
|
27
|
+
description: 'Displayed date is formatted based on the locale of the user`s browser, but the parsed value is always formatted yyyy-mm-dd'
|
94
28
|
},
|
95
29
|
ifxDate: {
|
96
30
|
action: 'ifxDate',
|
97
|
-
description: '
|
31
|
+
description: 'Custom event',
|
98
32
|
table: {
|
99
|
-
category: 'custom events',
|
100
33
|
type: {
|
101
34
|
summary: 'Framework integration',
|
102
35
|
detail: 'React: onIfxDate={handleInput}\nVue:@ifxDate="handleInput"\nAngular:(ifxDate)="handleInput()"\nVanillaJs:.addEventListener("ifxDate", (event) => {//handle input});',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"date-picker.stories.js","sourceRoot":"","sources":["../../../src/components/date-picker/date-picker.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,wBAAwB;IAC/B,IAAI,EAAE,CAAC,UAAU,CAAC;IAElB,IAAI,EAAE;QACJ,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,YAAY;QACnB,OAAO,EAAE
|
1
|
+
{"version":3,"file":"date-picker.stories.js","sourceRoot":"","sources":["../../../src/components/date-picker/date-picker.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,eAAe;IACb,KAAK,EAAE,wBAAwB;IAC/B,IAAI,EAAE,CAAC,UAAU,CAAC;IAElB,IAAI,EAAE;QACJ,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,YAAY;QACnB,OAAO,EAAE,+CAA+C;KACzD;IACD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,WAAW,EAAE,6EAA6E;YAC1F,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;YACnB,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;SAC3B;QACD,IAAI,EAAE;YACJ,WAAW,EAAE,0EAA0E;SACxF;QACD,KAAK,EAAE;YACL,WAAW,EAAE,4HAA4H;SAC1I;QACD,OAAO,EAAE;YACP,MAAM,EAAE,SAAS;YACjB,WAAW,EAAE,cAAc;YAC3B,KAAK,EAAE;gBACL,IAAI,EAAE;oBACJ,OAAO,EAAE,uBAAuB;oBAChC,MAAM,EACJ,qKAAqK;iBACxK;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE;IAC9F,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAC1D,OAAO,CAAC,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACrC,OAAO,CAAC,YAAY,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IAC3C,OAAO,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACnC,OAAO,CAAC,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACzC,OAAO,CAAC,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACrC,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACjC,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACjC,OAAO,CAAC,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACrC,OAAO,CAAC,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACzC,OAAO,CAAC,gBAAgB,CAAC,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;IACvD,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/Date Picker',\n tags: ['autodocs'],\n\n args: {\n disabled: false,\n size: 's',\n success: false,\n error: false,\n name: 'date-picker',\n value: '',\n max: '',\n min: '',\n label: \"Label Text\",\n caption: \"Caption text, description, error notification\",\n },\n argTypes: {\n size: {\n description: 'Size options: Height small (36px) and Height large (40px) - default: small',\n options: ['s', 'l'],\n control: { type: 'radio' },\n },\n name: {\n description: 'Name of the element, that is used as reference when a form is submitted.'\n },\n value: { \n description: 'Displayed date is formatted based on the locale of the user`s browser, but the parsed value is always formatted yyyy-mm-dd'\n },\n ifxDate: {\n action: 'ifxDate',\n description: 'Custom event',\n table: {\n type: {\n summary: 'Framework integration',\n detail:\n 'React: onIfxDate={handleInput}\\nVue:@ifxDate=\"handleInput\"\\nAngular:(ifxDate)=\"handleInput()\"\\nVanillaJs:.addEventListener(\"ifxDate\", (event) => {//handle input});',\n },\n },\n },\n },\n};\n\nconst DefaultTemplate = ({ error, disabled, success, size, value, max, min, caption, label }) => {\n const element = document.createElement('ifx-date-picker');\n element.setAttribute('error', error);\n element.setAttribute('disabled', disabled);\n element.setAttribute('size', size);\n element.setAttribute('success', success);\n element.setAttribute('value', value);\n element.setAttribute('max', max);\n element.setAttribute('min', min);\n element.setAttribute('label', label);\n element.setAttribute('caption', caption);\n element.addEventListener('ifxDate', action('ifxDate'));\n return element;\n};\n\nexport const Default = DefaultTemplate.bind({});"]}
|
@@ -4,25 +4,25 @@ export default {
|
|
4
4
|
title: 'Components/Dropdown',
|
5
5
|
tags: ['autodocs'],
|
6
6
|
args: {
|
7
|
-
|
7
|
+
Label: 'Dropdown',
|
8
|
+
variant: 'primary',
|
8
9
|
disabled: false,
|
10
|
+
icon: 'c-check-16',
|
11
|
+
size: 'm',
|
12
|
+
Search: false,
|
13
|
+
Header: false,
|
14
|
+
href: '',
|
15
|
+
target: '_self',
|
16
|
+
Separator: false,
|
17
|
+
DropDownMenuItemIcon: false,
|
9
18
|
defaultOpen: false,
|
10
19
|
noCloseOnOutsideClick: false,
|
11
20
|
noCloseOnMenuClick: false,
|
12
21
|
noAppendToBody: false,
|
13
|
-
variant: 'primary',
|
14
22
|
placement: 'bottom-start',
|
15
|
-
size: 'm',
|
16
|
-
searchField: false,
|
17
|
-
header: false,
|
18
|
-
separator: false,
|
19
|
-
href: '',
|
20
|
-
target: '_self',
|
21
|
-
icon: 'c-info-16',
|
22
23
|
},
|
23
24
|
argTypes: {
|
24
25
|
placement: {
|
25
|
-
description: 'Specifies the position of the dropdown relative to its trigger element.',
|
26
26
|
options: [
|
27
27
|
'auto',
|
28
28
|
'auto-start',
|
@@ -40,159 +40,57 @@ export default {
|
|
40
40
|
'left-start',
|
41
41
|
'left-end',
|
42
42
|
],
|
43
|
-
control: 'select',
|
44
|
-
table: {
|
45
|
-
category: 'ifx-dropdown props',
|
46
|
-
defaultValue: {
|
47
|
-
summary: 'bottom-start'
|
48
|
-
}
|
49
|
-
}
|
43
|
+
control: { type: 'select' },
|
50
44
|
},
|
51
|
-
|
52
|
-
|
53
|
-
description: 'The visible name or label for the dropdown button.',
|
54
|
-
table: {
|
55
|
-
category: 'story controls',
|
56
|
-
defaultValue: {
|
57
|
-
summary: 'Dropdown'
|
58
|
-
}
|
59
|
-
}
|
45
|
+
Label: {
|
46
|
+
description: 'The visible name or label for the dropdown button',
|
60
47
|
// if: { arg: 'Type', eq: 'Default' }
|
61
48
|
},
|
62
49
|
size: {
|
63
|
-
description: 'Font Size options for menu items: s (14px) and m (16px) - default: m
|
50
|
+
description: 'Font Size options for menu items: s (14px) and m (16px) - default: m',
|
64
51
|
options: ['s', 'm'],
|
65
|
-
control: 'radio',
|
66
|
-
table: {
|
67
|
-
category: 'ifx-dropdown-menu props',
|
68
|
-
defaultValue: {
|
69
|
-
summary: 'm'
|
70
|
-
}
|
71
|
-
}
|
72
|
-
},
|
73
|
-
disabled: {
|
74
|
-
description: 'Determines if the dropdown button should be disabled.',
|
75
|
-
control: 'boolean',
|
76
|
-
table: {
|
77
|
-
category: 'ifx-dropdown props',
|
78
|
-
defaultValue: {
|
79
|
-
summary: false
|
80
|
-
}
|
81
|
-
}
|
52
|
+
control: { type: 'radio' },
|
82
53
|
},
|
54
|
+
disabled: { description: 'Determines if the dropdown button should be disabled' },
|
83
55
|
variant: {
|
84
|
-
description: 'The visual style of the dropdown button. Accepted values are "primary", "secondary", "tertiary"
|
56
|
+
description: 'The visual style of the dropdown button. Accepted values are "primary", "secondary", "tertiary"',
|
85
57
|
options: ['primary', 'secondary', 'tertiary'],
|
86
|
-
control: 'radio',
|
87
|
-
table: {
|
88
|
-
category: 'ifx-dropdown-trigger-button props',
|
89
|
-
defaultValue: {
|
90
|
-
summary: 'primary'
|
91
|
-
}
|
92
|
-
}
|
58
|
+
control: { type: 'radio' },
|
93
59
|
// if: { arg: 'Type', eq: 'Default' }
|
94
60
|
},
|
95
61
|
target: {
|
96
|
-
description: 'Determines where to open the linked document when the dropdown item is clicked.',
|
97
62
|
options: ['_self', '_blank'],
|
98
|
-
control: 'radio',
|
99
|
-
table: {
|
100
|
-
category: 'ifx-dropdown-item props',
|
101
|
-
defaultValue: {
|
102
|
-
summary: '_self'
|
103
|
-
}
|
104
|
-
}
|
63
|
+
control: { type: 'radio' },
|
105
64
|
},
|
106
65
|
href: {
|
107
|
-
description: 'href link to menu item
|
108
|
-
table: {
|
109
|
-
category: 'ifx-dropdown-item props'
|
110
|
-
}
|
66
|
+
description: 'href link to menu item'
|
111
67
|
},
|
112
68
|
icon: {
|
113
|
-
description: 'The icon to be displayed on the dropdown
|
114
|
-
options:
|
115
|
-
control: 'select',
|
116
|
-
table: {
|
117
|
-
category: 'ifx-dropdown-item props',
|
118
|
-
defaultValue: {
|
119
|
-
summary: 'c-info-16'
|
120
|
-
}
|
121
|
-
}
|
69
|
+
description: 'The icon to be displayed on the dropdown button',
|
70
|
+
options: Object.values(icons).map(i => i['name']),
|
71
|
+
control: { type: 'select' },
|
122
72
|
// if: { arg: 'Type', eq: 'Label Trigger' }
|
123
73
|
},
|
124
|
-
|
125
|
-
description: 'Show Search Bar
|
126
|
-
table: {
|
127
|
-
category: 'ifx-dropdown-menu props',
|
128
|
-
defaultValue: {
|
129
|
-
summary: false
|
130
|
-
}
|
131
|
-
}
|
132
|
-
},
|
133
|
-
header: {
|
134
|
-
description: 'Add Header Text.',
|
135
|
-
table: {
|
136
|
-
category: 'ifx-dropdown-menu props',
|
137
|
-
defaultValue: {
|
138
|
-
summary: false
|
139
|
-
}
|
140
|
-
}
|
141
|
-
},
|
142
|
-
separator: {
|
143
|
-
description: 'Use separator in dropdown.',
|
144
|
-
table: {
|
145
|
-
category: 'ifx-dropdown-menu props',
|
146
|
-
defaultValue: {
|
147
|
-
summary: false
|
148
|
-
}
|
149
|
-
}
|
150
|
-
},
|
151
|
-
defaultOpen: {
|
152
|
-
description: 'Determines if the dropdown should be open by default.',
|
153
|
-
control: 'boolean',
|
154
|
-
table: {
|
155
|
-
category: 'ifx-dropdown props',
|
156
|
-
defaultValue: {
|
157
|
-
summary: false
|
158
|
-
}
|
159
|
-
}
|
74
|
+
Search: {
|
75
|
+
description: 'Show Search Bar'
|
160
76
|
},
|
161
|
-
|
162
|
-
description: '
|
163
|
-
control: 'boolean',
|
164
|
-
table: {
|
165
|
-
category: 'ifx-dropdown props',
|
166
|
-
defaultValue: {
|
167
|
-
summary: false
|
168
|
-
}
|
169
|
-
}
|
77
|
+
Header: {
|
78
|
+
description: 'Add Header Text'
|
170
79
|
},
|
171
|
-
|
172
|
-
description: '
|
173
|
-
control: 'boolean',
|
174
|
-
table: {
|
175
|
-
category: 'ifx-dropdown props',
|
176
|
-
defaultValue: {
|
177
|
-
summary: false
|
178
|
-
}
|
179
|
-
}
|
80
|
+
Separator: {
|
81
|
+
description: 'Use seperator in dropdown'
|
180
82
|
},
|
181
|
-
|
182
|
-
description: '
|
183
|
-
control: 'boolean',
|
184
|
-
table: {
|
185
|
-
category: 'ifx-dropdown props',
|
186
|
-
defaultValue: {
|
187
|
-
summary: false
|
188
|
-
}
|
189
|
-
}
|
83
|
+
DropDownMenuItemIcon: {
|
84
|
+
description: 'Show menu item icon in dropdown'
|
190
85
|
},
|
86
|
+
defaultOpen: { description: 'Determines if the dropdown should be open by default' },
|
87
|
+
noCloseOnOutsideClick: { description: 'Determines if the dropdown should not close when a click outside the dropdown happens' },
|
88
|
+
noCloseOnMenuClick: { description: 'Determines if the dropdown should not close when a click inside the dropdown menu happens' },
|
89
|
+
noAppendToBody: { description: 'Determines if the dropdown should not be appended to the body' },
|
191
90
|
ifxOpen: {
|
192
91
|
action: 'ifxOpen',
|
193
|
-
description: 'Custom event that is emitted when the dropdown opens
|
92
|
+
description: 'Custom event that is emitted when the dropdown opens',
|
194
93
|
table: {
|
195
|
-
category: 'custom events',
|
196
94
|
type: {
|
197
95
|
summary: 'Framework integration',
|
198
96
|
detail: 'React: onIfxOpen={handleChange}\nVue:@ifxOpen="handleChange"\nAngular:(ifxOpen)="handleChange()"\nVanillaJs:.addEventListener("ifxOpen", (event) => {//handle change});',
|
@@ -201,9 +99,8 @@ export default {
|
|
201
99
|
},
|
202
100
|
ifxClose: {
|
203
101
|
action: 'ifxClose',
|
204
|
-
description: 'Custom event emitted when dropdown closes
|
102
|
+
description: 'Custom event emitted when dropdown closes',
|
205
103
|
table: {
|
206
|
-
category: 'custom events',
|
207
104
|
type: {
|
208
105
|
summary: 'Framework integration',
|
209
106
|
detail: 'React: onIfxClose={handleChange}\nVue:@ifxClose="handleChange"\nAngular:(ifxClose)="handleChange()"\nVanillaJs:.addEventListener("ifxClose", (event) => {//handle change});',
|
@@ -212,9 +109,8 @@ export default {
|
|
212
109
|
},
|
213
110
|
ifxDropdownMenuItem: {
|
214
111
|
action: 'ifxDropdownMenuItem',
|
215
|
-
description: 'Custom event emitted when an item is selected
|
112
|
+
description: 'Custom event emitted when an item is selected',
|
216
113
|
table: {
|
217
|
-
category: 'custom events',
|
218
114
|
type: {
|
219
115
|
summary: 'Framework integration',
|
220
116
|
detail: 'React: onIfxDropdownMenuItem={handleChange}\nVue:@ifxDropdownMenuItem="handleChange"\nAngular:(ifxDropdownMenuItem)="handleChange()"\nVanillaJs:.addEventListener("ifxDropdownMenuItem", (event) => {//handle change});',
|
@@ -233,18 +129,18 @@ const DefaultTemplate = args => {
|
|
233
129
|
no-append-to-body="${args.noAppendToBody}">
|
234
130
|
|
235
131
|
<ifx-dropdown-trigger-button variant="${args.variant}">
|
236
|
-
${args.
|
132
|
+
${args.Label}
|
237
133
|
</ifx-dropdown-trigger-button>
|
238
134
|
|
239
135
|
<ifx-dropdown-menu size="${args.size}">
|
240
|
-
${args.
|
241
|
-
${args.
|
242
|
-
<ifx-dropdown-item icon="${args.
|
243
|
-
<ifx-dropdown-item icon="${args.
|
244
|
-
<ifx-dropdown-item icon="${args.
|
245
|
-
<ifx-dropdown-item icon="${args.
|
246
|
-
${args.
|
247
|
-
<ifx-dropdown-item icon="${args.
|
136
|
+
${args.Header ? `<ifx-dropdown-header>Header Text</ifx-dropdown-header>` : ''}
|
137
|
+
${args.Search ? `<ifx-search-field show-delete-icon="false"></ifx-search-field>` : ''}
|
138
|
+
<ifx-dropdown-item icon="${args.DropDownMenuItemIcon ? 'c-info-16' : ''}" target="${args.target}" href="${args.href !== '' ? args.href : ''}">Menu Item</ifx-dropdown-item>
|
139
|
+
<ifx-dropdown-item icon="${args.DropDownMenuItemIcon ? 'c-info-16' : ''}" target="${args.target}" href="${args.href !== '' ? args.href : ''}">Menu Item</ifx-dropdown-item>
|
140
|
+
<ifx-dropdown-item icon="${args.DropDownMenuItemIcon ? 'c-info-16' : ''}" target="${args.target}" href="${args.href !== '' ? args.href : ''}">Menu Item</ifx-dropdown-item>
|
141
|
+
<ifx-dropdown-item icon="${args.DropDownMenuItemIcon ? 'c-info-16' : ''}" target="${args.target}" href="${args.href !== '' ? args.href : ''}">Menu Item</ifx-dropdown-item>
|
142
|
+
${args.Separator ? `<ifx-dropdown-separator></ifx-dropdown-separator>` : ''}
|
143
|
+
<ifx-dropdown-item icon="${args.DropDownMenuItemIcon ? 'c-info-16' : ''}" target="${args.target}" href="${args.href !== '' ? args.href : ''}">Menu Item</ifx-dropdown-item>
|
248
144
|
</ifx-dropdown-menu>
|
249
145
|
</ifx-dropdown>`;
|
250
146
|
const dropdown = wrapper.querySelector('ifx-dropdown');
|
@@ -255,6 +151,13 @@ const DefaultTemplate = args => {
|
|
255
151
|
return wrapper;
|
256
152
|
};
|
257
153
|
export const Default = DefaultTemplate.bind({});
|
154
|
+
Default.argTypes = {
|
155
|
+
icon: {
|
156
|
+
table: {
|
157
|
+
disable: true
|
158
|
+
}
|
159
|
+
}
|
160
|
+
};
|
258
161
|
const LabelTriggerTemplate = args => {
|
259
162
|
const wrapper = document.createElement('div');
|
260
163
|
wrapper.innerHTML = `<ifx-dropdown
|
@@ -267,18 +170,18 @@ const LabelTriggerTemplate = args => {
|
|
267
170
|
>
|
268
171
|
Hello World! Click on the text to open the dropdown
|
269
172
|
<ifx-dropdown-trigger>
|
270
|
-
<ifx-icon icon="${
|
173
|
+
<ifx-icon icon="${args.icon}"></ifx-icon>
|
271
174
|
</ifx-dropdown-trigger>
|
272
175
|
Some more text
|
273
176
|
<ifx-dropdown-menu size="${args.size}">
|
274
|
-
${args.
|
275
|
-
${args.
|
276
|
-
<ifx-dropdown-item icon="${args.
|
277
|
-
<ifx-dropdown-item icon="${args.
|
278
|
-
<ifx-dropdown-item icon="${args.
|
279
|
-
<ifx-dropdown-item icon="${args.
|
280
|
-
${args.
|
281
|
-
<ifx-dropdown-item icon="${args.
|
177
|
+
${args.Header ? `<ifx-dropdown-header>Header Text</ifx-dropdown-header>` : ''}
|
178
|
+
${args.Search ? `<ifx-search-field show-delete-icon="false"></ifx-search-field>` : ''}
|
179
|
+
<ifx-dropdown-item icon="${args.DropDownMenuItemIcon ? 'c-info-16' : ''}" target="${args.target}" href="${args.href !== '' ? args.href : ''}">Menu Item</ifx-dropdown-item>
|
180
|
+
<ifx-dropdown-item icon="${args.DropDownMenuItemIcon ? 'c-info-16' : ''}" target="${args.target}" href="${args.href !== '' ? args.href : ''}">Menu Item</ifx-dropdown-item>
|
181
|
+
<ifx-dropdown-item icon="${args.DropDownMenuItemIcon ? 'c-info-16' : ''}" target="${args.target}" href="${args.href !== '' ? args.href : ''}">Menu Item</ifx-dropdown-item>
|
182
|
+
<ifx-dropdown-item icon="${args.DropDownMenuItemIcon ? 'c-info-16' : ''}" target="${args.target}" href="${args.href !== '' ? args.href : ''}">Menu Item</ifx-dropdown-item>
|
183
|
+
${args.Separator ? `<ifx-dropdown-separator></ifx-dropdown-separator>` : ''}
|
184
|
+
<ifx-dropdown-item icon="${args.DropDownMenuItemIcon ? 'c-info-16' : ''}" target="${args.target}" href="${args.href !== '' ? args.href : ''}">Menu Item</ifx-dropdown-item>
|
282
185
|
</ifx-dropdown-menu>
|
283
186
|
</ifx-dropdown>`;
|
284
187
|
const dropdown = wrapper.querySelector('ifx-dropdown');
|
@@ -290,7 +193,7 @@ const LabelTriggerTemplate = args => {
|
|
290
193
|
};
|
291
194
|
export const LabelTrigger = LabelTriggerTemplate.bind({});
|
292
195
|
LabelTrigger.argTypes = {
|
293
|
-
|
196
|
+
Label: {
|
294
197
|
table: {
|
295
198
|
disable: true
|
296
199
|
}
|