@infineon/infineon-design-system-stencil 30.9.3--canary.1678.5b4a7e71bc0aa2e3f495f00864e3c9507193dd72.0 → 30.9.3--canary.1640.e9ef59f97cf624f94f0207779497ed5e51e1ed11.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 +7 -7
- package/dist/cjs/ifx-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-breadcrumb-item-label.cjs.entry.js +1 -1
- package/dist/cjs/ifx-breadcrumb-item-label.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/ifx-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-chip_3.cjs.entry.js +19 -21
- package/dist/cjs/ifx-chip_3.cjs.entry.js.map +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 +5 -5
- package/dist/cjs/ifx-multiselect_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-navbar.cjs.entry.js +3 -3
- package/dist/cjs/ifx-navbar.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-sidebar-item.cjs.entry.js +9 -10
- package/dist/cjs/ifx-sidebar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-status.cjs.entry.js +3 -3
- package/dist/cjs/ifx-status.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-table.cjs.entry.js +22 -20
- package/dist/cjs/ifx-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-tabs.cjs.entry.js +6 -6
- package/dist/cjs/ifx-tabs.cjs.entry.js.map +1 -1
- 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.js +2 -2
- package/dist/collection/components/accordion/accordion.js.map +1 -1
- package/dist/collection/components/accordion/accordion.stories.js +81 -7
- package/dist/collection/components/accordion/accordion.stories.js.map +1 -1
- package/dist/collection/components/accordion/accordionItem.js +10 -10
- package/dist/collection/components/accordion/accordionItem.js.map +1 -1
- package/dist/collection/components/alert/alert.stories.js +45 -12
- package/dist/collection/components/alert/alert.stories.js.map +1 -1
- package/dist/collection/components/badge/badge.stories.js +28 -7
- package/dist/collection/components/badge/badge.stories.js.map +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb-item-label.js +3 -3
- package/dist/collection/components/breadcrumb/breadcrumb-item-label.js.map +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +3 -3
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.stories.js +87 -13
- package/dist/collection/components/breadcrumb/breadcrumb.stories.js.map +1 -1
- package/dist/collection/components/button/button.stories.js +101 -9
- package/dist/collection/components/button/button.stories.js.map +1 -1
- package/dist/collection/components/card/card.stories.js +85 -4
- package/dist/collection/components/card/card.stories.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.stories.js +72 -14
- package/dist/collection/components/checkbox/checkbox.stories.js.map +1 -1
- package/dist/collection/components/chip/chip-item/chip-item.js +4 -4
- package/dist/collection/components/chip/chip-item/chip-item.js.map +1 -1
- package/dist/collection/components/chip/chip.js +15 -15
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/chip/chip.stories.js +21 -26
- package/dist/collection/components/chip/chip.stories.js.map +1 -1
- package/dist/collection/components/chip/interfaces.js.map +1 -1
- package/dist/collection/components/content-switcher/content-switcher.stories.js +65 -3
- package/dist/collection/components/content-switcher/content-switcher.stories.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.stories.js +97 -7
- package/dist/collection/components/date-picker/date-picker.stories.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.stories.js +222 -64
- package/dist/collection/components/dropdown/dropdown.stories.js.map +1 -1
- package/dist/collection/components/footer/footer.stories.js +31 -1
- package/dist/collection/components/footer/footer.stories.js.map +1 -1
- package/dist/collection/components/icon/infineonIconStencil.stories.js +7 -2
- package/dist/collection/components/icon/infineonIconStencil.stories.js.map +1 -1
- package/dist/collection/components/icon-button/icon-button.stories.js +61 -5
- package/dist/collection/components/icon-button/icon-button.stories.js.map +1 -1
- package/dist/collection/components/link/link.stories.js +53 -4
- 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 +96 -19
- package/dist/collection/components/modal/modal.stories.js.map +1 -1
- package/dist/collection/components/navigation/navbar/navbar.js +4 -4
- package/dist/collection/components/navigation/navbar/navbar.js.map +1 -1
- package/dist/collection/components/navigation/navbar/navbar.stories.js +176 -12
- package/dist/collection/components/navigation/navbar/navbar.stories.js.map +1 -1
- package/dist/collection/components/navigation/sidebar/sidebar-item.js +11 -32
- package/dist/collection/components/navigation/sidebar/sidebar-item.js.map +1 -1
- package/dist/collection/components/navigation/sidebar/sidebar.stories.js +184 -19
- package/dist/collection/components/navigation/sidebar/sidebar.stories.js.map +1 -1
- package/dist/collection/components/notification/notification.stories.js +55 -8
- package/dist/collection/components/notification/notification.stories.js.map +1 -1
- package/dist/collection/components/number-indicator/number-indicator.stories.js +19 -0
- package/dist/collection/components/number-indicator/number-indicator.stories.js.map +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -31
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/pagination/pagination.stories.js +19 -14
- package/dist/collection/components/pagination/pagination.stories.js.map +1 -1
- package/dist/collection/components/progress-bar/progress-bar.stories.js +31 -8
- package/dist/collection/components/progress-bar/progress-bar.stories.js.map +1 -1
- package/dist/collection/components/radio-button/radio-button.stories.js +66 -13
- 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 +58 -9
- package/dist/collection/components/search-bar/search-bar.stories.js.map +1 -1
- package/dist/collection/components/search-field/search-field.stories.js +54 -8
- package/dist/collection/components/search-field/search-field.stories.js.map +1 -1
- package/dist/collection/components/segmented-control/segmented-control.stories.js +1 -10
- package/dist/collection/components/segmented-control/segmented-control.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 +131 -5
- package/dist/collection/components/select/multi-select/multiselect.stories.js.map +1 -1
- package/dist/collection/components/select/single-select/select.stories.js +83 -26
- package/dist/collection/components/select/single-select/select.stories.js.map +1 -1
- package/dist/collection/components/slider/slider.stories.js +97 -13
- package/dist/collection/components/slider/slider.stories.js.map +1 -1
- package/dist/collection/components/spinner/spinner.stories.js +34 -2
- package/dist/collection/components/spinner/spinner.stories.js.map +1 -1
- package/dist/collection/components/status/status.css +20 -140
- package/dist/collection/components/status/status.js +5 -5
- package/dist/collection/components/status/status.js.map +1 -1
- package/dist/collection/components/status/status.stories.js +27 -3
- package/dist/collection/components/status/status.stories.js.map +1 -1
- package/dist/collection/components/stepper/stepper.stories.js +54 -25
- package/dist/collection/components/stepper/stepper.stories.js.map +1 -1
- package/dist/collection/components/switch/switch.stories.js +51 -4
- package/dist/collection/components/switch/switch.stories.js.map +1 -1
- package/dist/collection/components/table-advanced-version/table.js +23 -21
- package/dist/collection/components/table-advanced-version/table.js.map +1 -1
- package/dist/collection/components/table-advanced-version/table.stories.js +124 -39
- package/dist/collection/components/table-advanced-version/table.stories.js.map +1 -1
- package/dist/collection/components/table-basic-version/table.stories.js +31 -4
- package/dist/collection/components/table-basic-version/table.stories.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +7 -7
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/tabs/tabs.stories.js +104 -29
- package/dist/collection/components/tabs/tabs.stories.js.map +1 -1
- package/dist/collection/components/tag/tag.stories.js +18 -0
- package/dist/collection/components/tag/tag.stories.js.map +1 -1
- package/dist/collection/components/text-field/text-field.stories.js +116 -13
- package/dist/collection/components/text-field/text-field.stories.js.map +1 -1
- package/dist/collection/components/textarea/textarea.stories.js +1 -3
- package/dist/collection/components/textarea/textarea.stories.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.stories.js +48 -4
- package/dist/collection/components/tooltip/tooltip.stories.js.map +1 -1
- package/dist/components/ifx-accordion-item.js +1 -1
- package/dist/components/ifx-accordion.js +1 -1
- package/dist/components/ifx-breadcrumb-item-label.js +2 -2
- package/dist/components/ifx-breadcrumb-item-label.js.map +1 -1
- package/dist/components/ifx-breadcrumb.js +3 -3
- package/dist/components/ifx-breadcrumb.js.map +1 -1
- package/dist/components/ifx-chip-item.js +1 -1
- package/dist/components/ifx-chip.js +1 -1
- package/dist/components/ifx-faq.js +2 -2
- 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-navbar.js +4 -4
- package/dist/components/ifx-navbar.js.map +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-set-filter.js +1 -1
- package/dist/components/ifx-sidebar-item.js +11 -13
- package/dist/components/ifx-sidebar-item.js.map +1 -1
- package/dist/components/ifx-status.js +3 -3
- package/dist/components/ifx-status.js.map +1 -1
- package/dist/components/ifx-table.js +26 -24
- package/dist/components/ifx-table.js.map +1 -1
- package/dist/components/ifx-tabs.js +6 -6
- package/dist/components/ifx-tabs.js.map +1 -1
- package/dist/components/{p-ecfb353b.js → p-28a8736e.js} +2 -4
- package/dist/components/p-28a8736e.js.map +1 -0
- package/dist/components/{p-9f15ef5a.js → p-61ecfa9a.js} +15 -15
- package/dist/components/p-61ecfa9a.js.map +1 -0
- package/dist/components/{p-474e011d.js → p-62eff23e.js} +8 -8
- package/dist/components/{p-474e011d.js.map → p-62eff23e.js.map} +1 -1
- package/dist/components/{p-2167e98c.js → p-a6310ccf.js} +3 -3
- package/dist/components/{p-2167e98c.js.map → p-a6310ccf.js.map} +1 -1
- package/dist/components/{p-6613f3b4.js → p-dd91260d.js} +5 -5
- package/dist/components/p-dd91260d.js.map +1 -0
- package/dist/components/{p-f0953b8a.js → p-fce5491f.js} +6 -6
- package/dist/components/p-fce5491f.js.map +1 -0
- package/dist/esm/ifx-accordion_2.entry.js +7 -7
- package/dist/esm/ifx-accordion_2.entry.js.map +1 -1
- package/dist/esm/ifx-breadcrumb-item-label.entry.js +1 -1
- package/dist/esm/ifx-breadcrumb-item-label.entry.js.map +1 -1
- package/dist/esm/ifx-breadcrumb.entry.js +3 -3
- package/dist/esm/ifx-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ifx-chip_3.entry.js +19 -21
- package/dist/esm/ifx-chip_3.entry.js.map +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 +5 -5
- package/dist/esm/ifx-multiselect_2.entry.js.map +1 -1
- package/dist/esm/ifx-navbar.entry.js +3 -3
- package/dist/esm/ifx-navbar.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-sidebar-item.entry.js +9 -10
- package/dist/esm/ifx-sidebar-item.entry.js.map +1 -1
- package/dist/esm/ifx-status.entry.js +3 -3
- package/dist/esm/ifx-status.entry.js.map +1 -1
- package/dist/esm/ifx-table.entry.js +22 -20
- package/dist/esm/ifx-table.entry.js.map +1 -1
- package/dist/esm/ifx-tabs.entry.js +6 -6
- package/dist/esm/ifx-tabs.entry.js.map +1 -1
- 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-134d043c.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-134d043c.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-ef68ce70.entry.js → p-23978a74.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-23978a74.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/p-45e42392.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-45e42392.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-f0884a54.entry.js → p-520ddc60.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-520ddc60.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/p-56e92d85.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-56e92d85.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/p-73505b17.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-56426c94.entry.js.map → p-73505b17.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/p-7fbfd8a9.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-7fbfd8a9.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/p-878db58b.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-878db58b.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-aaada3f2.entry.js → p-8e416f0e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-8e416f0e.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-19a2740f.entry.js → p-ae1791a8.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-ae1791a8.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/p-c27f4f95.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-c27f4f95.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/p-f6a9f419.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-f6a9f419.entry.js.map +1 -0
- package/dist/types/components/accordion/accordion.stories.d.ts +67 -1
- package/dist/types/components/accordion/accordionItem.d.ts +3 -3
- package/dist/types/components/alert/alert.stories.d.ts +38 -11
- package/dist/types/components/badge/badge.stories.d.ts +23 -3
- package/dist/types/components/breadcrumb/breadcrumb-item-label.d.ts +1 -1
- package/dist/types/components/breadcrumb/breadcrumb.stories.d.ts +83 -1
- package/dist/types/components/button/button.stories.d.ts +92 -16
- package/dist/types/components/card/card.stories.d.ts +95 -1
- package/dist/types/components/checkbox/checkbox.stories.d.ts +65 -10
- package/dist/types/components/chip/chip-item/chip-item.d.ts +1 -1
- package/dist/types/components/chip/chip.d.ts +1 -1
- package/dist/types/components/chip/chip.stories.d.ts +11 -4
- package/dist/types/components/chip/interfaces.d.ts +1 -1
- package/dist/types/components/content-switcher/content-switcher.stories.d.ts +66 -0
- package/dist/types/components/date-picker/date-picker.stories.d.ts +89 -2
- package/dist/types/components/dropdown/dropdown.stories.d.ts +90 -33
- package/dist/types/components/footer/footer.stories.d.ts +26 -0
- package/dist/types/components/icon/infineonIconStencil.stories.d.ts +5 -0
- package/dist/types/components/icon-button/icon-button.stories.d.ts +56 -8
- package/dist/types/components/link/link.stories.d.ts +49 -6
- package/dist/types/components/modal/modal.d.ts +2 -2
- package/dist/types/components/modal/modal.stories.d.ts +77 -3
- package/dist/types/components/navigation/navbar/navbar.stories.d.ts +222 -6
- package/dist/types/components/navigation/sidebar/sidebar-item.d.ts +2 -3
- package/dist/types/components/navigation/sidebar/sidebar.stories.d.ts +161 -7
- package/dist/types/components/notification/notification.stories.d.ts +46 -2
- package/dist/types/components/number-indicator/number-indicator.stories.d.ts +19 -0
- package/dist/types/components/pagination/pagination.d.ts +0 -2
- package/dist/types/components/pagination/pagination.stories.d.ts +12 -7
- package/dist/types/components/progress-bar/progress-bar.stories.d.ts +25 -4
- package/dist/types/components/radio-button/radio-button.stories.d.ts +59 -8
- package/dist/types/components/search-bar/search-bar.d.ts +1 -1
- package/dist/types/components/search-bar/search-bar.stories.d.ts +60 -3
- package/dist/types/components/search-field/search-field.stories.d.ts +45 -6
- package/dist/types/components/segmented-control/segmented-control.stories.d.ts +0 -3
- package/dist/types/components/select/multi-select/multiselect.d.ts +1 -1
- package/dist/types/components/select/multi-select/multiselect.stories.d.ts +125 -0
- package/dist/types/components/select/single-select/select.stories.d.ts +67 -24
- package/dist/types/components/slider/slider.stories.d.ts +110 -0
- package/dist/types/components/spinner/spinner.stories.d.ts +32 -0
- package/dist/types/components/status/status.d.ts +1 -1
- package/dist/types/components/status/status.stories.d.ts +24 -2
- package/dist/types/components/stepper/stepper.stories.d.ts +30 -6
- package/dist/types/components/switch/switch.stories.d.ts +47 -1
- package/dist/types/components/table-advanced-version/table.stories.d.ts +50 -11
- package/dist/types/components/table-basic-version/table.stories.d.ts +21 -1
- package/dist/types/components/tabs/tabs.d.ts +1 -1
- package/dist/types/components/tabs/tabs.stories.d.ts +88 -9
- package/dist/types/components/tag/tag.stories.d.ts +20 -0
- package/dist/types/components/text-field/text-field.stories.d.ts +106 -10
- package/dist/types/components/tooltip/tooltip.stories.d.ts +41 -6
- package/dist/types/components.d.ts +22 -28
- package/package.json +3 -2
- package/dist/components/p-6613f3b4.js.map +0 -1
- package/dist/components/p-9f15ef5a.js.map +0 -1
- package/dist/components/p-ecfb353b.js.map +0 -1
- package/dist/components/p-f0953b8a.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-022dbe8b.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-022dbe8b.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-19a2740f.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-1c5c318c.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-1c5c318c.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-56426c94.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-5a83ef48.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-5a83ef48.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-7c9ca144.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-7c9ca144.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-974829c7.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-974829c7.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-9a013f52.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-9a013f52.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-a6c07e60.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-a6c07e60.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-aaada3f2.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-ef68ce70.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-f0884a54.entry.js.map +0 -1
@@ -2,50 +2,130 @@ declare const _default: {
|
|
2
2
|
title: string;
|
3
3
|
tags: string[];
|
4
4
|
component: string;
|
5
|
+
args: {
|
6
|
+
amountOfTabs: number;
|
7
|
+
orientation: string;
|
8
|
+
icon: string;
|
9
|
+
header: string;
|
10
|
+
disabled: boolean;
|
11
|
+
fullWidth: boolean;
|
12
|
+
};
|
5
13
|
argTypes: {
|
6
14
|
amountOfTabs: {
|
7
15
|
name: string;
|
8
16
|
control: string;
|
17
|
+
description: string;
|
18
|
+
table: {
|
19
|
+
category: string;
|
20
|
+
type: {
|
21
|
+
summary: string;
|
22
|
+
};
|
23
|
+
};
|
9
24
|
};
|
10
25
|
orientation: {
|
11
|
-
name: string;
|
12
26
|
options: string[];
|
13
27
|
control: {
|
14
28
|
type: string;
|
15
29
|
};
|
30
|
+
description: string;
|
31
|
+
table: {
|
32
|
+
category: string;
|
33
|
+
defaultValue: {
|
34
|
+
summary: string;
|
35
|
+
};
|
36
|
+
type: {
|
37
|
+
summary: string;
|
38
|
+
};
|
39
|
+
};
|
16
40
|
};
|
17
41
|
icon: {
|
18
42
|
name: string;
|
19
43
|
control: {
|
20
44
|
type: string;
|
21
45
|
};
|
46
|
+
options: any[];
|
47
|
+
description: string;
|
48
|
+
table: {
|
49
|
+
category: string;
|
50
|
+
defaultValue: {
|
51
|
+
summary: string;
|
52
|
+
};
|
53
|
+
type: {
|
54
|
+
summary: string;
|
55
|
+
};
|
56
|
+
};
|
22
57
|
};
|
23
58
|
fullWidth: {
|
24
|
-
name: string;
|
25
59
|
control: {
|
26
60
|
type: string;
|
27
61
|
};
|
28
62
|
description: string;
|
63
|
+
table: {
|
64
|
+
category: string;
|
65
|
+
defaultValue: {
|
66
|
+
summary: string;
|
67
|
+
};
|
68
|
+
type: {
|
69
|
+
summary: string;
|
70
|
+
};
|
71
|
+
};
|
29
72
|
};
|
30
73
|
iconPosition: {
|
31
|
-
name: string;
|
32
74
|
options: string[];
|
33
75
|
control: {
|
34
76
|
type: string;
|
35
77
|
};
|
36
|
-
|
37
|
-
|
38
|
-
|
78
|
+
description: string;
|
79
|
+
table: {
|
80
|
+
category: string;
|
81
|
+
defaultValue: {
|
82
|
+
summary: string;
|
83
|
+
};
|
84
|
+
type: {
|
85
|
+
summary: string;
|
86
|
+
};
|
39
87
|
};
|
40
88
|
};
|
41
89
|
activeTabIndex: {
|
42
|
-
name: string;
|
43
90
|
description: string;
|
91
|
+
table: {
|
92
|
+
category: string;
|
93
|
+
defaultValue: {
|
94
|
+
summary: string;
|
95
|
+
};
|
96
|
+
type: {
|
97
|
+
summary: string;
|
98
|
+
};
|
99
|
+
};
|
100
|
+
};
|
101
|
+
header: {
|
102
|
+
control: string;
|
103
|
+
description: string;
|
104
|
+
table: {
|
105
|
+
defaultValue: {
|
106
|
+
summary: string;
|
107
|
+
};
|
108
|
+
category: string;
|
109
|
+
type: {
|
110
|
+
summary: string;
|
111
|
+
};
|
112
|
+
};
|
113
|
+
};
|
114
|
+
disabled: {
|
115
|
+
control: string;
|
116
|
+
description: string;
|
117
|
+
table: {
|
118
|
+
category: string;
|
119
|
+
defaultValue: {
|
120
|
+
summary: string;
|
121
|
+
};
|
122
|
+
};
|
44
123
|
};
|
45
|
-
|
124
|
+
ifxChange: {
|
46
125
|
action: string;
|
47
126
|
description: string;
|
48
127
|
table: {
|
128
|
+
category: string;
|
49
129
|
type: {
|
50
130
|
summary: string;
|
51
131
|
detail: string;
|
@@ -56,4 +136,3 @@ declare const _default: {
|
|
56
136
|
};
|
57
137
|
export default _default;
|
58
138
|
export declare const Default: any;
|
59
|
-
export declare const Disabled: any;
|
@@ -6,11 +6,31 @@ declare const _default: {
|
|
6
6
|
icon: string;
|
7
7
|
};
|
8
8
|
argTypes: {
|
9
|
+
label: {
|
10
|
+
name: string;
|
11
|
+
control: {
|
12
|
+
type: string;
|
13
|
+
};
|
14
|
+
description: string;
|
15
|
+
table: {
|
16
|
+
category: string;
|
17
|
+
type: {
|
18
|
+
summary: string;
|
19
|
+
};
|
20
|
+
};
|
21
|
+
};
|
9
22
|
icon: {
|
10
23
|
options: any[];
|
11
24
|
control: {
|
12
25
|
type: string;
|
13
26
|
};
|
27
|
+
description: string;
|
28
|
+
table: {
|
29
|
+
category: string;
|
30
|
+
type: {
|
31
|
+
summary: string;
|
32
|
+
};
|
33
|
+
};
|
14
34
|
};
|
15
35
|
};
|
16
36
|
};
|
@@ -1,49 +1,145 @@
|
|
1
1
|
declare const _default: {
|
2
2
|
title: string;
|
3
3
|
args: {
|
4
|
+
label: string;
|
5
|
+
error: boolean;
|
4
6
|
disabled: boolean;
|
5
7
|
size: string;
|
8
|
+
icon: string;
|
6
9
|
success: boolean;
|
7
|
-
label: string;
|
8
10
|
placeholder: string;
|
9
|
-
error: boolean;
|
10
11
|
caption: string;
|
11
12
|
required: boolean;
|
12
13
|
optional: boolean;
|
13
|
-
icon: string;
|
14
14
|
name: string;
|
15
15
|
showDeleteIcon: boolean;
|
16
|
+
maxlength: string;
|
17
|
+
value: string;
|
16
18
|
};
|
17
19
|
argTypes: {
|
20
|
+
label: {
|
21
|
+
name: string;
|
22
|
+
description: string;
|
23
|
+
table: {
|
24
|
+
category: string;
|
25
|
+
};
|
26
|
+
};
|
27
|
+
error: {
|
28
|
+
description: string;
|
29
|
+
table: {
|
30
|
+
category: string;
|
31
|
+
defaultValue: {
|
32
|
+
summary: boolean;
|
33
|
+
};
|
34
|
+
};
|
35
|
+
};
|
36
|
+
disabled: {
|
37
|
+
description: string;
|
38
|
+
table: {
|
39
|
+
category: string;
|
40
|
+
defaultValue: {
|
41
|
+
summary: boolean;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
};
|
18
45
|
size: {
|
19
46
|
description: string;
|
20
47
|
options: string[];
|
21
|
-
control:
|
22
|
-
|
48
|
+
control: string;
|
49
|
+
table: {
|
50
|
+
category: string;
|
51
|
+
defaultValue: {
|
52
|
+
summary: string;
|
53
|
+
};
|
23
54
|
};
|
24
55
|
};
|
25
56
|
icon: {
|
57
|
+
description: string;
|
26
58
|
options: any[];
|
27
|
-
control:
|
28
|
-
|
59
|
+
control: string;
|
60
|
+
table: {
|
61
|
+
category: string;
|
62
|
+
defaultValue: {
|
63
|
+
summary: string;
|
64
|
+
};
|
65
|
+
};
|
66
|
+
};
|
67
|
+
success: {
|
68
|
+
description: string;
|
69
|
+
table: {
|
70
|
+
category: string;
|
71
|
+
defaultValue: {
|
72
|
+
summary: boolean;
|
73
|
+
};
|
74
|
+
};
|
75
|
+
};
|
76
|
+
placeholder: {
|
77
|
+
description: string;
|
78
|
+
table: {
|
79
|
+
category: string;
|
80
|
+
};
|
81
|
+
};
|
82
|
+
caption: {
|
83
|
+
description: string;
|
84
|
+
table: {
|
85
|
+
category: string;
|
86
|
+
};
|
87
|
+
};
|
88
|
+
required: {
|
89
|
+
description: string;
|
90
|
+
table: {
|
91
|
+
category: string;
|
92
|
+
defaultValue: {
|
93
|
+
summary: boolean;
|
94
|
+
};
|
95
|
+
};
|
96
|
+
};
|
97
|
+
optional: {
|
98
|
+
description: string;
|
99
|
+
table: {
|
100
|
+
category: string;
|
101
|
+
defaultValue: {
|
102
|
+
summary: boolean;
|
103
|
+
};
|
29
104
|
};
|
30
105
|
};
|
31
106
|
name: {
|
32
107
|
description: string;
|
108
|
+
table: {
|
109
|
+
category: string;
|
110
|
+
};
|
111
|
+
};
|
112
|
+
showDeleteIcon: {
|
113
|
+
description: string;
|
114
|
+
table: {
|
115
|
+
category: string;
|
116
|
+
defaultValue: {
|
117
|
+
summary: boolean;
|
118
|
+
};
|
119
|
+
};
|
33
120
|
};
|
34
121
|
maxlength: {
|
35
122
|
description: string;
|
36
|
-
control:
|
37
|
-
|
123
|
+
control: string;
|
124
|
+
table: {
|
125
|
+
category: string;
|
38
126
|
};
|
39
127
|
};
|
40
|
-
|
128
|
+
value: {
|
41
129
|
description: string;
|
130
|
+
control: string;
|
131
|
+
table: {
|
132
|
+
category: string;
|
133
|
+
type: {
|
134
|
+
summary: string;
|
135
|
+
};
|
136
|
+
};
|
42
137
|
};
|
43
138
|
ifxInput: {
|
44
139
|
action: string;
|
45
140
|
description: string;
|
46
141
|
table: {
|
142
|
+
category: string;
|
47
143
|
type: {
|
48
144
|
summary: string;
|
49
145
|
detail: string;
|
@@ -9,30 +9,65 @@ declare const _default: {
|
|
9
9
|
icon: string;
|
10
10
|
};
|
11
11
|
argTypes: {
|
12
|
+
text: {
|
13
|
+
description: string;
|
14
|
+
control: string;
|
15
|
+
table: {
|
16
|
+
category: string;
|
17
|
+
type: {
|
18
|
+
summary: string;
|
19
|
+
};
|
20
|
+
};
|
21
|
+
};
|
12
22
|
icon: {
|
23
|
+
description: string;
|
13
24
|
options: any[];
|
14
|
-
control:
|
15
|
-
|
25
|
+
control: string;
|
26
|
+
table: {
|
27
|
+
category: string;
|
28
|
+
type: {
|
29
|
+
summary: string;
|
30
|
+
defaultValue: {
|
31
|
+
summary: string;
|
32
|
+
};
|
33
|
+
};
|
16
34
|
};
|
17
35
|
};
|
18
36
|
position: {
|
37
|
+
description: string;
|
19
38
|
options: string[];
|
20
|
-
control:
|
21
|
-
|
39
|
+
control: string;
|
40
|
+
table: {
|
41
|
+
category: string;
|
42
|
+
defaultValue: {
|
43
|
+
summary: string;
|
44
|
+
};
|
22
45
|
};
|
23
46
|
};
|
24
47
|
variant: {
|
48
|
+
description: string;
|
49
|
+
control: string;
|
25
50
|
options: string[];
|
26
|
-
|
27
|
-
|
51
|
+
table: {
|
52
|
+
category: string;
|
53
|
+
defaultValue: {
|
54
|
+
summary: string;
|
55
|
+
};
|
28
56
|
};
|
29
57
|
};
|
30
58
|
header: {
|
59
|
+
description: string;
|
31
60
|
control: string;
|
32
61
|
if: {
|
33
62
|
arg: string;
|
34
63
|
neq: string;
|
35
64
|
};
|
65
|
+
table: {
|
66
|
+
category: string;
|
67
|
+
type: {
|
68
|
+
summary: string;
|
69
|
+
};
|
70
|
+
};
|
36
71
|
};
|
37
72
|
};
|
38
73
|
};
|
@@ -24,7 +24,7 @@ export namespace Components {
|
|
24
24
|
"autoCollapse": boolean;
|
25
25
|
}
|
26
26
|
interface IfxAccordionItem {
|
27
|
-
"
|
27
|
+
"AriaLevel": number;
|
28
28
|
"caption": string;
|
29
29
|
"open": boolean;
|
30
30
|
}
|
@@ -47,9 +47,9 @@ export namespace Components {
|
|
47
47
|
interface IfxBreadcrumbItem {
|
48
48
|
}
|
49
49
|
interface IfxBreadcrumbItemLabel {
|
50
|
+
"href": string;
|
50
51
|
"icon": string;
|
51
52
|
"target": string;
|
52
|
-
"url": string;
|
53
53
|
}
|
54
54
|
interface IfxButton {
|
55
55
|
"AriaLabel": string;
|
@@ -436,7 +436,6 @@ export namespace Components {
|
|
436
436
|
"numberIndicator": string;
|
437
437
|
"setActiveClasses": () => Promise<void>;
|
438
438
|
"target": string;
|
439
|
-
"value": string;
|
440
439
|
}
|
441
440
|
interface IfxSidebarTitle {
|
442
441
|
}
|
@@ -462,7 +461,7 @@ export namespace Components {
|
|
462
461
|
}
|
463
462
|
interface IfxStatus {
|
464
463
|
"border": boolean;
|
465
|
-
"color": '
|
464
|
+
"color": 'orange' | 'ocean' | 'grey' | 'light-grey' | 'red' | 'green' | 'berry';
|
466
465
|
"label": string;
|
467
466
|
}
|
468
467
|
interface IfxStep {
|
@@ -716,8 +715,8 @@ declare global {
|
|
716
715
|
new (): HTMLIfxAccordionElement;
|
717
716
|
};
|
718
717
|
interface HTMLIfxAccordionItemElementEventMap {
|
719
|
-
"
|
720
|
-
"
|
718
|
+
"ifxOpen": any;
|
719
|
+
"ifxClose": any;
|
721
720
|
}
|
722
721
|
interface HTMLIfxAccordionItemElement extends Components.IfxAccordionItem, HTMLStencilElement {
|
723
722
|
addEventListener<K extends keyof HTMLIfxAccordionItemElementEventMap>(type: K, listener: (this: HTMLIfxAccordionItemElement, ev: IfxAccordionItemCustomEvent<HTMLIfxAccordionItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
@@ -862,7 +861,7 @@ declare global {
|
|
862
861
|
new (): HTMLIfxCheckboxElement;
|
863
862
|
};
|
864
863
|
interface HTMLIfxChipElementEventMap {
|
865
|
-
"
|
864
|
+
"ifxChange": { previousSelection: Array<ChipItemSelectEvent>, currentSelection: Array<ChipItemSelectEvent>, name: string };
|
866
865
|
}
|
867
866
|
interface HTMLIfxChipElement extends Components.IfxChip, HTMLStencilElement {
|
868
867
|
addEventListener<K extends keyof HTMLIfxChipElementEventMap>(type: K, listener: (this: HTMLIfxChipElement, ev: IfxChipCustomEvent<HTMLIfxChipElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
@@ -1169,8 +1168,8 @@ declare global {
|
|
1169
1168
|
new (): HTMLIfxListEntryElement;
|
1170
1169
|
};
|
1171
1170
|
interface HTMLIfxModalElementEventMap {
|
1172
|
-
"
|
1173
|
-
"
|
1171
|
+
"ifxOpen": any;
|
1172
|
+
"ifxClose": any;
|
1174
1173
|
}
|
1175
1174
|
interface HTMLIfxModalElement extends Components.IfxModal, HTMLStencilElement {
|
1176
1175
|
addEventListener<K extends keyof HTMLIfxModalElementEventMap>(type: K, listener: (this: HTMLIfxModalElement, ev: IfxModalCustomEvent<HTMLIfxModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
@@ -1188,7 +1187,7 @@ declare global {
|
|
1188
1187
|
};
|
1189
1188
|
interface HTMLIfxMultiselectElementEventMap {
|
1190
1189
|
"ifxSelect": any;
|
1191
|
-
"
|
1190
|
+
"ifxOpen": any;
|
1192
1191
|
}
|
1193
1192
|
interface HTMLIfxMultiselectElement extends Components.IfxMultiselect, HTMLStencilElement {
|
1194
1193
|
addEventListener<K extends keyof HTMLIfxMultiselectElementEventMap>(type: K, listener: (this: HTMLIfxMultiselectElement, ev: IfxMultiselectCustomEvent<HTMLIfxMultiselectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
@@ -1264,8 +1263,6 @@ declare global {
|
|
1264
1263
|
};
|
1265
1264
|
interface HTMLIfxPaginationElementEventMap {
|
1266
1265
|
"ifxPageChange": any;
|
1267
|
-
"ifxNextPage": any;
|
1268
|
-
"ifxPrevPage": any;
|
1269
1266
|
}
|
1270
1267
|
interface HTMLIfxPaginationElement extends Components.IfxPagination, HTMLStencilElement {
|
1271
1268
|
addEventListener<K extends keyof HTMLIfxPaginationElementEventMap>(type: K, listener: (this: HTMLIfxPaginationElement, ev: IfxPaginationCustomEvent<HTMLIfxPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
@@ -1306,7 +1303,7 @@ declare global {
|
|
1306
1303
|
};
|
1307
1304
|
interface HTMLIfxSearchBarElementEventMap {
|
1308
1305
|
"ifxInput": any;
|
1309
|
-
"
|
1306
|
+
"ifxOpen": any;
|
1310
1307
|
}
|
1311
1308
|
interface HTMLIfxSearchBarElement extends Components.IfxSearchBar, HTMLStencilElement {
|
1312
1309
|
addEventListener<K extends keyof HTMLIfxSearchBarElementEventMap>(type: K, listener: (this: HTMLIfxSearchBarElement, ev: IfxSearchBarCustomEvent<HTMLIfxSearchBarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
@@ -1532,7 +1529,7 @@ declare global {
|
|
1532
1529
|
new (): HTMLIfxTableElement;
|
1533
1530
|
};
|
1534
1531
|
interface HTMLIfxTabsElementEventMap {
|
1535
|
-
"
|
1532
|
+
"ifxChange": any;
|
1536
1533
|
}
|
1537
1534
|
interface HTMLIfxTabsElement extends Components.IfxTabs, HTMLStencilElement {
|
1538
1535
|
addEventListener<K extends keyof HTMLIfxTabsElementEventMap>(type: K, listener: (this: HTMLIfxTabsElement, ev: IfxTabsCustomEvent<HTMLIfxTabsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
@@ -1676,10 +1673,10 @@ declare namespace LocalJSX {
|
|
1676
1673
|
"autoCollapse"?: boolean;
|
1677
1674
|
}
|
1678
1675
|
interface IfxAccordionItem {
|
1679
|
-
"
|
1676
|
+
"AriaLevel"?: number;
|
1680
1677
|
"caption"?: string;
|
1681
|
-
"
|
1682
|
-
"
|
1678
|
+
"onIfxClose"?: (event: IfxAccordionItemCustomEvent<any>) => void;
|
1679
|
+
"onIfxOpen"?: (event: IfxAccordionItemCustomEvent<any>) => void;
|
1683
1680
|
"open"?: boolean;
|
1684
1681
|
}
|
1685
1682
|
interface IfxAlert {
|
@@ -1702,10 +1699,10 @@ declare namespace LocalJSX {
|
|
1702
1699
|
interface IfxBreadcrumbItem {
|
1703
1700
|
}
|
1704
1701
|
interface IfxBreadcrumbItemLabel {
|
1702
|
+
"href"?: string;
|
1705
1703
|
"icon"?: string;
|
1706
1704
|
"onBreadcrumbMenuIconWrapper"?: (event: IfxBreadcrumbItemLabelCustomEvent<CustomEvent>) => void;
|
1707
1705
|
"target"?: string;
|
1708
|
-
"url"?: string;
|
1709
1706
|
}
|
1710
1707
|
interface IfxButton {
|
1711
1708
|
"AriaLabel"?: string;
|
@@ -1749,7 +1746,7 @@ declare namespace LocalJSX {
|
|
1749
1746
|
}
|
1750
1747
|
interface IfxChip {
|
1751
1748
|
"AriaLabel"?: string;
|
1752
|
-
"
|
1749
|
+
"onIfxChange"?: (event: IfxChipCustomEvent<{ previousSelection: Array<ChipItemSelectEvent>, currentSelection: Array<ChipItemSelectEvent>, name: string }>) => void;
|
1753
1750
|
"placeholder"?: string;
|
1754
1751
|
"readOnly"?: boolean;
|
1755
1752
|
"size"?: 'small' | 'large';
|
@@ -1893,8 +1890,8 @@ declare namespace LocalJSX {
|
|
1893
1890
|
"caption"?: string;
|
1894
1891
|
"closeOnOverlayClick"?: boolean;
|
1895
1892
|
"okButtonLabel"?: string;
|
1896
|
-
"
|
1897
|
-
"
|
1893
|
+
"onIfxClose"?: (event: IfxModalCustomEvent<any>) => void;
|
1894
|
+
"onIfxOpen"?: (event: IfxModalCustomEvent<any>) => void;
|
1898
1895
|
"opened"?: boolean;
|
1899
1896
|
"showCloseButton"?: boolean;
|
1900
1897
|
"size"?: 's' | 'm' | 'l';
|
@@ -1908,7 +1905,7 @@ declare namespace LocalJSX {
|
|
1908
1905
|
"label"?: string;
|
1909
1906
|
"maxItemCount"?: number;
|
1910
1907
|
"name"?: string;
|
1911
|
-
"
|
1908
|
+
"onIfxOpen"?: (event: IfxMultiselectCustomEvent<any>) => void;
|
1912
1909
|
"onIfxSelect"?: (event: IfxMultiselectCustomEvent<any>) => void;
|
1913
1910
|
"options"?: any[] | string;
|
1914
1911
|
"placeholder"?: string;
|
@@ -1954,9 +1951,7 @@ declare namespace LocalJSX {
|
|
1954
1951
|
}
|
1955
1952
|
interface IfxPagination {
|
1956
1953
|
"currentPage"?: number;
|
1957
|
-
"onIfxNextPage"?: (event: IfxPaginationCustomEvent<any>) => void;
|
1958
1954
|
"onIfxPageChange"?: (event: IfxPaginationCustomEvent<any>) => void;
|
1959
|
-
"onIfxPrevPage"?: (event: IfxPaginationCustomEvent<any>) => void;
|
1960
1955
|
"total"?: number;
|
1961
1956
|
}
|
1962
1957
|
interface IfxProgressBar {
|
@@ -1978,7 +1973,7 @@ declare namespace LocalJSX {
|
|
1978
1973
|
"isOpen"?: boolean;
|
1979
1974
|
"maxlength"?: number;
|
1980
1975
|
"onIfxInput"?: (event: IfxSearchBarCustomEvent<any>) => void;
|
1981
|
-
"
|
1976
|
+
"onIfxOpen"?: (event: IfxSearchBarCustomEvent<any>) => void;
|
1982
1977
|
"value"?: string;
|
1983
1978
|
}
|
1984
1979
|
interface IfxSearchField {
|
@@ -2086,7 +2081,6 @@ declare namespace LocalJSX {
|
|
2086
2081
|
"onIfxSidebarMenu"?: (event: IfxSidebarItemCustomEvent<any>) => void;
|
2087
2082
|
"onIfxSidebarNavigationItem"?: (event: IfxSidebarItemCustomEvent<any>) => void;
|
2088
2083
|
"target"?: string;
|
2089
|
-
"value"?: string;
|
2090
2084
|
}
|
2091
2085
|
interface IfxSidebarTitle {
|
2092
2086
|
}
|
@@ -2113,7 +2107,7 @@ declare namespace LocalJSX {
|
|
2113
2107
|
}
|
2114
2108
|
interface IfxStatus {
|
2115
2109
|
"border"?: boolean;
|
2116
|
-
"color"?: '
|
2110
|
+
"color"?: 'orange' | 'ocean' | 'grey' | 'light-grey' | 'red' | 'green' | 'berry';
|
2117
2111
|
"label"?: string;
|
2118
2112
|
}
|
2119
2113
|
interface IfxStep {
|
@@ -2159,7 +2153,7 @@ declare namespace LocalJSX {
|
|
2159
2153
|
interface IfxTabs {
|
2160
2154
|
"activeTabIndex"?: number;
|
2161
2155
|
"fullWidth"?: boolean;
|
2162
|
-
"
|
2156
|
+
"onIfxChange"?: (event: IfxTabsCustomEvent<any>) => void;
|
2163
2157
|
"orientation"?: string;
|
2164
2158
|
}
|
2165
2159
|
interface IfxTag {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@infineon/infineon-design-system-stencil",
|
3
|
-
"version": "30.9.3--canary.
|
3
|
+
"version": "30.9.3--canary.1640.e9ef59f97cf624f94f0207779497ed5e51e1ed11.0",
|
4
4
|
"private": false,
|
5
5
|
"description": "Infineon design system Stencil web components",
|
6
6
|
"homepage": "https://infineon.github.io/infineon-design-system-stencil",
|
@@ -50,6 +50,7 @@
|
|
50
50
|
"classnames": "^2.3.2",
|
51
51
|
"glob": "^11.0.0",
|
52
52
|
"i": "^0.3.7",
|
53
|
+
"lerna": "8.1.9",
|
53
54
|
"npm": "^10.2.1",
|
54
55
|
"npm-run-all": "^4.1.5",
|
55
56
|
"prettier-standalone": "^1.3.1-0"
|
@@ -86,7 +87,7 @@
|
|
86
87
|
"jest": "^29.7.0",
|
87
88
|
"jest-cli": "^29.7.0",
|
88
89
|
"ncp": "^2.0.0",
|
89
|
-
"puppeteer": "^
|
90
|
+
"puppeteer": "^24.0.0",
|
90
91
|
"react": "^18.3.1",
|
91
92
|
"react-dom": "^18.3.1",
|
92
93
|
"sass": "^1.78.0",
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"p-6613f3b4.js","mappings":"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","names":[],"sources":["src/components/chip/chip-item/chip-item.scss?tag=ifx-chip-item&encapsulation=shadow","src/components/chip/chip-item/chip-item.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../../global/font.scss\";\n\n.chip-item {\n display: flex;\n align-items: center;\n gap: tokens.$ifxSpace100;\n \n padding: tokens.$ifxSpace100 tokens.$ifxSpace200;\n \n user-select: none;\n \n transition: all 100ms ease;\n transition-property: background, color;\n \n &:hover {\n cursor: pointer;\n \n background-color: tokens.$ifxColorEngineering200;\n }\n \n &:active {\n background-color: tokens.$ifxColorEngineering300;\n }\n\n &:focus {\n outline: 2px solid tokens.$ifxColorOcean500;\n }\n \n &.chip-item--large {\n font: tokens.$ifxBodyBody03;\n }\n \n &.chip-item--small {\n font: tokens.$ifxBodyBody04;\n }\n\n &.chip-item--selected {\n color: tokens.$ifxColorOcean500;\n\n .chip-item__selected-indicator {\n display: block;\n }\n }\n}\n\n.chip-item__selected-indicator {\n display: none;\n \n margin-left: auto;\n}\n\n","import { h,\n Component,\n Element,\n Event,\n EventEmitter, \n Listen,\n Prop, \n Watch } from '@stencil/core';\nimport { ChipItemSelectEvent, ChipState } from '../interfaces';\n\n@Component({\ntag: 'ifx-chip-item',\nstyleUrl: 'chip-item.scss',\nshadow: true\n})\n\nexport class ChipItem {\n@Element() chipItem: HTMLIfxChipItemElement;\n\n@Event({ composed: false }) ifxChipItemSelect: EventEmitter<ChipItemSelectEvent>;\n\n@Prop() value: string = undefined;\n@Prop() chipState: ChipState = { emitIfxChipItemSelect: true, variant: 'multi', size: 'large' }; \n@Prop({ mutable: true, reflect: true }) selected: boolean = false;\n\n@Listen('ifxChipItemSelect', { target: 'body' })\nupdateItemSelection(event: CustomEvent<ChipItemSelectEvent>) {\n if (this.chipState.variant === 'single') {\n const target = event.target as HTMLIfxChipItemElement;\n /* Also making sure chip items are from the same group (parent) while unselecting. */\n if (this.chipItem !== target && this.chipItem.parentElement === target.parentElement) {\n this.selected = false;\n }\n }\n} \n\n@Watch('selected')\nvalidateSelected(newValue: boolean, oldValue: boolean) {\n if (newValue !== oldValue) {\n /* Do not emit if ChipState does not allow. */\n if (this.chipState.emitIfxChipItemSelect){\n this.emitIfxChipItemSelectEvent();\n } else {\n this.chipState.emitIfxChipItemSelect = true;\n }\n }\n} \n\ngetItemLabel(): string {\n return this.chipItem.innerText as string;\n}\n\ntoggleItemSelection() {\n this.selected = !this.selected;\n}\n \n\nemitIfxChipItemSelectEvent(emitIfxChipChange: boolean = true) {\n this.ifxChipItemSelect.emit({ emitIfxChipChange: emitIfxChipChange,\n key: this.chipState.key,\n label: this.getItemLabel(), \n selected: this.selected, \n value: this.value });\n}\n\nhandleItemClick() {\n this.toggleItemSelection();\n}\n\nhandleItemKeyDown(event: KeyboardEvent) {\n if (event.code === 'Enter' || event.code === 'Space') {\n this.toggleItemSelection();\n }\n}\n\nhandleSelectedState() {\n if (this.selected) {\n this.emitIfxChipItemSelectEvent(false);\n }\n}\n\n\ncomponentWillLoad() {\n /* Propogating the selected state to the Chip (Parent) component if it is set. */\n this.handleSelectedState();\n}\n\nrender() {\n return (\n <div class={`chip-item chip-item--${this.chipState.size} \n chip-item--${(this.selected && this.chipState.variant) === 'single' ? 'selected' : ''}`} \n tabIndex={0}\n onClick={() => {this.handleItemClick()}}\n onKeyDown={(e) => {this.handleItemKeyDown(e)}}\n role=\"option\"\n aria-selected={this.selected.toString()}> \n {/* Checkbox; renders only in 'multi' variant. */}\n { \n this.chipState.variant === 'multi' &&\n <ifx-checkbox checked={this.selected}\n tabIndex={-1} \n size='s'>\n </ifx-checkbox>\n }\n\n <div class='chip-item__label'> <slot /> </div>\n\n {/* Selected indicator only visible in 'single' variant. */}\n <div class='chip-item__selected-indicator'> \n <ifx-icon icon={`check${this.chipState.size === 'small' ? '12' : '16'}`}> </ifx-icon> \n </div>\n\n </div>\n );\n}\n}"],"version":3}
|