@infineon/infineon-design-system-stencil 30.6.2--canary.1658.4e0299382cc78146674b539e7aec5baa0c8f1d1c.0 → 30.7.0--canary.1659.b0566d16d24e575a317729dc3e9da288c96252e2.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-basic-table.cjs.entry.js +1 -1
- package/dist/cjs/ifx-chip_3.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 +2 -2
- package/dist/cjs/ifx-multiselect_2.cjs.entry.js +4 -4
- package/dist/cjs/ifx-navbar-item.cjs.entry.js +2 -2
- package/dist/cjs/ifx-navbar-profile.cjs.entry.js +3 -3
- package/dist/cjs/ifx-navbar.cjs.entry.js +3 -3
- package/dist/cjs/ifx-notification.cjs.entry.js +2 -2
- package/dist/cjs/ifx-number-indicator.cjs.entry.js +1 -1
- package/dist/cjs/ifx-overview-table.cjs.entry.js +1 -1
- package/dist/cjs/ifx-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/ifx-search-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-search-field.cjs.entry.js +1 -1
- package/dist/cjs/ifx-segment.cjs.entry.js +1 -1
- package/dist/cjs/ifx-segmented-control.cjs.entry.js +2 -2
- package/dist/cjs/ifx-select.cjs.entry.js +3 -11
- package/dist/cjs/ifx-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-sidebar-item.cjs.entry.js +5 -5
- package/dist/cjs/ifx-sidebar-title.cjs.entry.js +1 -1
- package/dist/cjs/ifx-sidebar.cjs.entry.js +5 -5
- 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/index-af3b4f6c.js +0 -12
- package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -3
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/navigation/navbar/navbar-item.js +2 -2
- package/dist/collection/components/navigation/navbar/navbar-profile.js +3 -3
- package/dist/collection/components/navigation/navbar/navbar.js +3 -3
- package/dist/collection/components/navigation/sidebar/sidebar-item.js +5 -5
- package/dist/collection/components/navigation/sidebar/sidebar-title.js +1 -1
- package/dist/collection/components/navigation/sidebar/sidebar.js +5 -5
- package/dist/collection/components/notification/notification.js +2 -2
- package/dist/collection/components/number-indicator/number-indicator.js +1 -1
- package/dist/collection/components/overview-table/overview-table.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +2 -2
- package/dist/collection/components/search-bar/search-bar.js +1 -1
- package/dist/collection/components/search-field/search-field.js +1 -1
- package/dist/collection/components/segmented-control/segment/segment.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +2 -2
- package/dist/collection/components/select/single-select/select.js +3 -11
- package/dist/collection/components/select/single-select/select.js.map +1 -1
- package/dist/collection/components/slider/slider.js +2 -2
- package/dist/collection/components/spinner/spinner.js +2 -2
- package/dist/collection/components/status/status.js +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/switch/switch.js +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-basic-version/table.js +1 -1
- package/dist/collection/components/tabs/tab.js +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text-field/text-field.js +4 -4
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
- package/dist/components/ifx-basic-table.js +1 -1
- package/dist/components/ifx-chip.js +1 -1
- package/dist/components/ifx-faq.js +1 -1
- package/dist/components/ifx-filter-accordion.js +3 -3
- package/dist/components/ifx-filter-bar.js +1 -1
- package/dist/components/ifx-filter-search.js +2 -2
- package/dist/components/ifx-filter-type-group.js +1 -1
- package/dist/components/ifx-list-entry.js +2 -2
- package/dist/components/ifx-modal.js +2 -2
- package/dist/components/ifx-navbar-item.js +2 -2
- package/dist/components/ifx-navbar-profile.js +3 -3
- package/dist/components/ifx-navbar.js +3 -3
- package/dist/components/ifx-notification.js +2 -2
- package/dist/components/ifx-number-indicator.js +1 -1
- package/dist/components/ifx-overview-table.js +2 -2
- package/dist/components/ifx-pagination.js +1 -1
- package/dist/components/ifx-progress-bar.js +1 -1
- package/dist/components/ifx-radio-button.js +1 -1
- package/dist/components/ifx-search-bar.js +2 -2
- package/dist/components/ifx-search-field.js +1 -1
- package/dist/components/ifx-segment.js +1 -1
- package/dist/components/ifx-segmented-control.js +2 -2
- package/dist/components/ifx-select.js +1 -1
- package/dist/components/ifx-set-filter.js +2 -2
- package/dist/components/ifx-sidebar-item.js +6 -6
- package/dist/components/ifx-sidebar-title.js +1 -1
- package/dist/components/ifx-sidebar.js +5 -5
- 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 +6 -6
- 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-ecf8c880.js → p-12e02e47.js} +5 -5
- package/dist/components/{p-ecf8c880.js.map → p-12e02e47.js.map} +1 -1
- package/dist/components/{p-147fa378.js → p-184f1004.js} +2 -2
- package/dist/components/{p-147fa378.js.map → p-184f1004.js.map} +1 -1
- package/dist/components/{p-6062b2cd.js → p-20d5a2d5.js} +3 -3
- package/dist/components/{p-6062b2cd.js.map → p-20d5a2d5.js.map} +1 -1
- package/dist/components/{p-3f591754.js → p-7bbdeac1.js} +3 -3
- package/dist/components/{p-3f591754.js.map → p-7bbdeac1.js.map} +1 -1
- package/dist/components/{p-aecf447b.js → p-9ee4ea24.js} +2 -2
- package/dist/components/{p-aecf447b.js.map → p-9ee4ea24.js.map} +1 -1
- package/dist/components/{p-66a6b6bc.js → p-a058bdd9.js} +4 -12
- package/dist/components/p-a058bdd9.js.map +1 -0
- package/dist/components/{p-3fe9ad26.js → p-d57db1c4.js} +2 -2
- package/dist/components/{p-3fe9ad26.js.map → p-d57db1c4.js.map} +1 -1
- package/dist/esm/ifx-basic-table.entry.js +1 -1
- package/dist/esm/ifx-chip_3.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 +2 -2
- package/dist/esm/ifx-multiselect_2.entry.js +4 -4
- package/dist/esm/ifx-navbar-item.entry.js +2 -2
- package/dist/esm/ifx-navbar-profile.entry.js +3 -3
- package/dist/esm/ifx-navbar.entry.js +3 -3
- package/dist/esm/ifx-notification.entry.js +2 -2
- package/dist/esm/ifx-number-indicator.entry.js +1 -1
- package/dist/esm/ifx-overview-table.entry.js +1 -1
- package/dist/esm/ifx-progress-bar.entry.js +1 -1
- package/dist/esm/ifx-radio-button.entry.js +2 -2
- package/dist/esm/ifx-search-bar.entry.js +1 -1
- package/dist/esm/ifx-search-field.entry.js +1 -1
- package/dist/esm/ifx-segment.entry.js +1 -1
- package/dist/esm/ifx-segmented-control.entry.js +2 -2
- package/dist/esm/ifx-select.entry.js +3 -11
- package/dist/esm/ifx-select.entry.js.map +1 -1
- package/dist/esm/ifx-sidebar-item.entry.js +5 -5
- package/dist/esm/ifx-sidebar-title.entry.js +1 -1
- package/dist/esm/ifx-sidebar.entry.js +5 -5
- 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/index-dc4139fb.js +0 -12
- 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-030a5b46.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-10b773f0.entry.js.map → p-030a5b46.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/{p-b9d2484b.entry.js → p-0a011c63.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-18f5a5e3.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-7fd186f3.entry.js → p-210f9ccc.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b25e5ad7.entry.js → p-32510d11.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-5c1596a7.entry.js → p-35d0daa5.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b69e69b9.entry.js → p-39d2f2d1.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7f3ca443.entry.js → p-3b99fb06.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-e5e130b7.entry.js → p-3c5a8615.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-322d20bc.entry.js → p-436babb8.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-fc081136.entry.js → p-44b2cbe1.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-fea52bc2.entry.js → p-499dba27.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-a2147bb7.entry.js → p-4fab3a1e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-1e62f8ef.entry.js → p-53f2ab7f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-d2a39f3c.entry.js → p-5c6d5571.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-d0afd39c.entry.js → p-6c5f0f7b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c593bed5.entry.js → p-6c739e13.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-2f8767b1.entry.js → p-6fdc1a34.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-3058194d.entry.js → p-72d804fb.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-60a18a26.entry.js → p-775d187b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-15704add.entry.js → p-7f59e05a.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-ef63774d.entry.js → p-7fa8ccd3.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-a8d45ca9.entry.js → p-8a497a15.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-874482ee.entry.js → p-91f91586.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-68eb8e5a.entry.js → p-9481adc8.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-9ee328a5.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-1cffc36f.entry.js → p-a116e0d2.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-d3b4b20b.entry.js → p-a2d7c880.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-b5a3fad1.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-1de1bf3c.entry.js → p-bc8a4226.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-08b6d9c1.entry.js → p-c34f5517.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-ee055108.entry.js → p-c5daebfa.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c456c22b.entry.js → p-c80f9282.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-f5e3fe85.entry.js → p-caff080b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-af6d2a8f.entry.js → p-cfce9006.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-cfce9006.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-74b1b50f.entry.js → p-d101e5a0.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-27fde7a5.entry.js → p-dc7deb14.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0d774a43.entry.js → p-f8d7bbe2.entry.js} +2 -2
- package/dist/types/components/select/single-select/select.d.ts +0 -2
- package/dist/types/components.d.ts +0 -57
- package/package.json +1 -1
- package/dist/cjs/ifx-list-group.cjs.entry.js +0 -28
- package/dist/cjs/ifx-list-group.cjs.entry.js.map +0 -1
- package/dist/cjs/ifx-list-item.cjs.entry.js +0 -42
- package/dist/cjs/ifx-list-item.cjs.entry.js.map +0 -1
- package/dist/cjs/ifx-list-notification.cjs.entry.js +0 -87
- package/dist/cjs/ifx-list-notification.cjs.entry.js.map +0 -1
- package/dist/collection/components/list-group/list-group-item.css +0 -42
- package/dist/collection/components/list-group/list-group-item.js +0 -110
- package/dist/collection/components/list-group/list-group-item.js.map +0 -1
- package/dist/collection/components/list-group/list-group-notification.css +0 -50
- package/dist/collection/components/list-group/list-group-notification.js +0 -155
- package/dist/collection/components/list-group/list-group-notification.js.map +0 -1
- package/dist/collection/components/list-group/list-group.css +0 -9
- package/dist/collection/components/list-group/list-group.js +0 -91
- package/dist/collection/components/list-group/list-group.js.map +0 -1
- package/dist/components/ifx-list-group.d.ts +0 -11
- package/dist/components/ifx-list-group.js +0 -46
- package/dist/components/ifx-list-group.js.map +0 -1
- package/dist/components/ifx-list-item.d.ts +0 -11
- package/dist/components/ifx-list-item.js +0 -67
- package/dist/components/ifx-list-item.js.map +0 -1
- package/dist/components/ifx-list-notification.d.ts +0 -11
- package/dist/components/ifx-list-notification.js +0 -107
- package/dist/components/ifx-list-notification.js.map +0 -1
- package/dist/components/p-66a6b6bc.js.map +0 -1
- package/dist/esm/ifx-list-group.entry.js +0 -24
- package/dist/esm/ifx-list-group.entry.js.map +0 -1
- package/dist/esm/ifx-list-item.entry.js +0 -38
- package/dist/esm/ifx-list-item.entry.js.map +0 -1
- package/dist/esm/ifx-list-notification.entry.js +0 -83
- package/dist/esm/ifx-list-notification.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-10b773f0.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-10f15012.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-83007eb9.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-a351a04d.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-abff59ea.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-abff59ea.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-af6d2a8f.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-dd339d82.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-dd339d82.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-ddd9ece3.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-ddd9ece3.entry.js.map +0 -1
- package/dist/types/components/list-group/list-group-item.d.ts +0 -9
- package/dist/types/components/list-group/list-group-notification.d.ts +0 -15
- package/dist/types/components/list-group/list-group.d.ts +0 -7
- /package/dist/infineon-design-system-stencil/{p-b9d2484b.entry.js.map → p-0a011c63.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a351a04d.entry.js.map → p-18f5a5e3.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7fd186f3.entry.js.map → p-210f9ccc.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b25e5ad7.entry.js.map → p-32510d11.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-5c1596a7.entry.js.map → p-35d0daa5.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b69e69b9.entry.js.map → p-39d2f2d1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7f3ca443.entry.js.map → p-3b99fb06.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-e5e130b7.entry.js.map → p-3c5a8615.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-322d20bc.entry.js.map → p-436babb8.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-fc081136.entry.js.map → p-44b2cbe1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-fea52bc2.entry.js.map → p-499dba27.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a2147bb7.entry.js.map → p-4fab3a1e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1e62f8ef.entry.js.map → p-53f2ab7f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-d2a39f3c.entry.js.map → p-5c6d5571.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-d0afd39c.entry.js.map → p-6c5f0f7b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c593bed5.entry.js.map → p-6c739e13.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2f8767b1.entry.js.map → p-6fdc1a34.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-3058194d.entry.js.map → p-72d804fb.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-60a18a26.entry.js.map → p-775d187b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-15704add.entry.js.map → p-7f59e05a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ef63774d.entry.js.map → p-7fa8ccd3.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-a8d45ca9.entry.js.map → p-8a497a15.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-874482ee.entry.js.map → p-91f91586.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-68eb8e5a.entry.js.map → p-9481adc8.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-83007eb9.entry.js.map → p-9ee328a5.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1cffc36f.entry.js.map → p-a116e0d2.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-d3b4b20b.entry.js.map → p-a2d7c880.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-10f15012.entry.js.map → p-b5a3fad1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1de1bf3c.entry.js.map → p-bc8a4226.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-08b6d9c1.entry.js.map → p-c34f5517.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ee055108.entry.js.map → p-c5daebfa.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c456c22b.entry.js.map → p-c80f9282.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-f5e3fe85.entry.js.map → p-caff080b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-74b1b50f.entry.js.map → p-d101e5a0.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-27fde7a5.entry.js.map → p-dc7deb14.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0d774a43.entry.js.map → p-f8d7bbe2.entry.js.map} +0 -0
@@ -1,110 +0,0 @@
|
|
1
|
-
import { h } from "@stencil/core";
|
2
|
-
export class ListGroupItem {
|
3
|
-
constructor() {
|
4
|
-
this.isFlush = false;
|
5
|
-
this.hasBulletpoint = false;
|
6
|
-
this.badge = false;
|
7
|
-
this.badgeValue = 0;
|
8
|
-
}
|
9
|
-
componentWillLoad() {
|
10
|
-
const ifxListGroup = this.el.closest('ifx-list-group');
|
11
|
-
if (ifxListGroup.flush) {
|
12
|
-
this.isFlush = true;
|
13
|
-
}
|
14
|
-
else
|
15
|
-
this.isFlush = false;
|
16
|
-
if (ifxListGroup.bulletpoint && !this.badge) {
|
17
|
-
this.hasBulletpoint = true;
|
18
|
-
}
|
19
|
-
else
|
20
|
-
this.hasBulletpoint = false;
|
21
|
-
}
|
22
|
-
render() {
|
23
|
-
return (h("div", { key: 'd50beef84939fea9d25bd5a7a0450683f4580f89', class: `list-group-item
|
24
|
-
${this.isFlush ? 'flush' : ""}
|
25
|
-
${this.hasBulletpoint ? 'bulletpoint' : ""}` }, h("div", { key: '56373799f79b2379fb0f22ef0f2abf8468bd74c9', class: "list-group-item-content" }, h("slot", { key: '2080edc3978491aa3abd0de9dff866f5d8582a4b' })), this.badge && h("ifx-number-indicator", { key: '212364a9efd52a75d47f453c7652574c2332082c' }, this.badgeValue)));
|
26
|
-
}
|
27
|
-
static get is() { return "ifx-list-item"; }
|
28
|
-
static get encapsulation() { return "shadow"; }
|
29
|
-
static get originalStyleUrls() {
|
30
|
-
return {
|
31
|
-
"$": ["list-group-item.scss"]
|
32
|
-
};
|
33
|
-
}
|
34
|
-
static get styleUrls() {
|
35
|
-
return {
|
36
|
-
"$": ["list-group-item.css"]
|
37
|
-
};
|
38
|
-
}
|
39
|
-
static get properties() {
|
40
|
-
return {
|
41
|
-
"isFlush": {
|
42
|
-
"type": "boolean",
|
43
|
-
"mutable": true,
|
44
|
-
"complexType": {
|
45
|
-
"original": "boolean",
|
46
|
-
"resolved": "boolean",
|
47
|
-
"references": {}
|
48
|
-
},
|
49
|
-
"required": false,
|
50
|
-
"optional": false,
|
51
|
-
"docs": {
|
52
|
-
"tags": [],
|
53
|
-
"text": ""
|
54
|
-
},
|
55
|
-
"getter": false,
|
56
|
-
"setter": false,
|
57
|
-
"attribute": "is-flush",
|
58
|
-
"reflect": false,
|
59
|
-
"defaultValue": "false"
|
60
|
-
},
|
61
|
-
"badge": {
|
62
|
-
"type": "boolean",
|
63
|
-
"mutable": false,
|
64
|
-
"complexType": {
|
65
|
-
"original": "boolean",
|
66
|
-
"resolved": "boolean",
|
67
|
-
"references": {}
|
68
|
-
},
|
69
|
-
"required": false,
|
70
|
-
"optional": false,
|
71
|
-
"docs": {
|
72
|
-
"tags": [],
|
73
|
-
"text": ""
|
74
|
-
},
|
75
|
-
"getter": false,
|
76
|
-
"setter": false,
|
77
|
-
"attribute": "badge",
|
78
|
-
"reflect": false,
|
79
|
-
"defaultValue": "false"
|
80
|
-
},
|
81
|
-
"badgeValue": {
|
82
|
-
"type": "number",
|
83
|
-
"mutable": false,
|
84
|
-
"complexType": {
|
85
|
-
"original": "number",
|
86
|
-
"resolved": "number",
|
87
|
-
"references": {}
|
88
|
-
},
|
89
|
-
"required": false,
|
90
|
-
"optional": false,
|
91
|
-
"docs": {
|
92
|
-
"tags": [],
|
93
|
-
"text": ""
|
94
|
-
},
|
95
|
-
"getter": false,
|
96
|
-
"setter": false,
|
97
|
-
"attribute": "badge-value",
|
98
|
-
"reflect": false,
|
99
|
-
"defaultValue": "0"
|
100
|
-
}
|
101
|
-
};
|
102
|
-
}
|
103
|
-
static get states() {
|
104
|
-
return {
|
105
|
-
"hasBulletpoint": {}
|
106
|
-
};
|
107
|
-
}
|
108
|
-
static get elementRef() { return "el"; }
|
109
|
-
}
|
110
|
-
//# sourceMappingURL=list-group-item.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"list-group-item.js","sourceRoot":"","sources":["../../../src/components/list-group/list-group-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAQnE,MAAM,OAAO,aAAa;;uBAEoB,KAAK;8BACd,KAAK;qBACf,KAAK;0BACD,CAAC;;IAE9B,iBAAiB;QACf,MAAM,YAAY,GAAG,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAA;QACtD,IAAI,YAAY,CAAC,KAAK,EAAE,CAAC;YACvB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACtB,CAAC;;YAAM,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QAE5B,IAAI,YAAY,CAAC,WAAW,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;YAC5C,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;QAC7B,CAAC;;YAAM,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;IACrC,CAAC;IAED,MAAM;QACJ,OAAO,CACL,4DAAK,KAAK,EACR;UACE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;UAC3B,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE;YAC5C,4DAAK,KAAK,EAAC,yBAAyB;gBAClC,8DAAQ,CACJ;YACL,IAAI,CAAC,KAAK,IAAI,+EAAuB,IAAI,CAAC,UAAU,CAAwB,CACzE,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Element, Prop, State } from '@stencil/core';\n\n@Component({\n tag: 'ifx-list-item',\n styleUrl: 'list-group-item.scss',\n shadow: true,\n})\n\nexport class ListGroupItem {\n @Element() el;\n @Prop({ mutable: true }) isFlush: boolean = false;\n @State() hasBulletpoint: boolean = false;\n @Prop() badge: boolean = false;\n @Prop() badgeValue: number = 0;\n\n componentWillLoad() {\n const ifxListGroup = this.el.closest('ifx-list-group')\n if (ifxListGroup.flush) {\n this.isFlush = true;\n } else this.isFlush = false;\n\n if (ifxListGroup.bulletpoint && !this.badge) {\n this.hasBulletpoint = true;\n } else this.hasBulletpoint = false;\n }\n\n render() {\n return (\n <div class={\n `list-group-item \n ${this.isFlush ? 'flush' : \"\"}\n ${this.hasBulletpoint ? 'bulletpoint' : \"\"}`}>\n <div class=\"list-group-item-content\">\n <slot />\n </div>\n {this.badge && <ifx-number-indicator>{this.badgeValue}</ifx-number-indicator>}\n </div>\n );\n }\n}\n"]}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
.list-group-notification {
|
2
|
-
width: 350px;
|
3
|
-
height: 88px;
|
4
|
-
padding: 16px;
|
5
|
-
margin-bottom: 8px;
|
6
|
-
background-color: #FFFFFF;
|
7
|
-
border: 1px solid #EEEDED;
|
8
|
-
font-family: var(--ifx-font-family);
|
9
|
-
}
|
10
|
-
.list-group-notification .description__section {
|
11
|
-
display: -webkit-box;
|
12
|
-
-webkit-line-clamp: 1;
|
13
|
-
-webkit-box-orient: vertical;
|
14
|
-
overflow: hidden;
|
15
|
-
text-overflow: ellipsis;
|
16
|
-
}
|
17
|
-
.list-group-notification.flush {
|
18
|
-
border: none;
|
19
|
-
border-bottom: 1px solid #EEEDED;
|
20
|
-
}
|
21
|
-
.list-group-notification .heading__section {
|
22
|
-
display: flex;
|
23
|
-
justify-content: space-between;
|
24
|
-
margin-bottom: 8px;
|
25
|
-
color: #0A8276;
|
26
|
-
}
|
27
|
-
.list-group-notification .heading__section-title {
|
28
|
-
flex: 1;
|
29
|
-
margin: 0;
|
30
|
-
font-weight: 600;
|
31
|
-
line-height: 1.2;
|
32
|
-
font-size: 1rem;
|
33
|
-
display: -webkit-box;
|
34
|
-
-webkit-line-clamp: 1;
|
35
|
-
-webkit-box-orient: vertical;
|
36
|
-
overflow: hidden;
|
37
|
-
text-overflow: ellipsis;
|
38
|
-
}
|
39
|
-
.list-group-notification .heading__section-time {
|
40
|
-
flex: none;
|
41
|
-
margin-left: 2px;
|
42
|
-
font-size: 0.875rem;
|
43
|
-
line-height: 1.25rem;
|
44
|
-
font-weight: 400;
|
45
|
-
display: -webkit-box;
|
46
|
-
-webkit-line-clamp: 1;
|
47
|
-
-webkit-box-orient: vertical;
|
48
|
-
overflow: hidden;
|
49
|
-
text-overflow: ellipsis;
|
50
|
-
}
|
@@ -1,155 +0,0 @@
|
|
1
|
-
import { h } from "@stencil/core";
|
2
|
-
export class ListGroupNotification {
|
3
|
-
constructor() {
|
4
|
-
this.titleText = "";
|
5
|
-
this.isFlush = false;
|
6
|
-
this.creationTime = undefined;
|
7
|
-
this.postTime = undefined;
|
8
|
-
this.shownTime = undefined;
|
9
|
-
}
|
10
|
-
setDisplayTime(seconds, minutes, hours, days) {
|
11
|
-
if (seconds <= 60) {
|
12
|
-
this.shownTime = `Just now`;
|
13
|
-
}
|
14
|
-
else if (minutes <= 60) {
|
15
|
-
this.shownTime = `${minutes} min. ago`;
|
16
|
-
}
|
17
|
-
else if (hours <= 24) {
|
18
|
-
this.shownTime = hours > 1 ? `${hours} hr. ago` : `${hours} hrs. ago`;
|
19
|
-
}
|
20
|
-
else if (days) {
|
21
|
-
this.shownTime = hours < 48 ? `1 day ago` : `${days} days ago`;
|
22
|
-
if (hours > 168) {
|
23
|
-
this.shownTime = `${new Date().getDay()}.${new Date().getMonth()}.${new Date().getFullYear()}`;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
}
|
27
|
-
stringToDate(dataString) {
|
28
|
-
if (!dataString)
|
29
|
-
return null;
|
30
|
-
let dateParts = dataString.split("/");
|
31
|
-
if (dateParts[2]) {
|
32
|
-
if (dateParts[2].split(" ")[1]) {
|
33
|
-
let timeParts = dateParts[2].split(" ")[1].split(":");
|
34
|
-
dateParts[2] = dateParts[2].split(" ")[0];
|
35
|
-
return new Date(+dateParts[2], dateParts[1] - 1, +dateParts[0], timeParts[0], timeParts[1], timeParts[2]);
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
getElapsedTime(time) {
|
40
|
-
let date = this.stringToDate(time);
|
41
|
-
if (date) {
|
42
|
-
let miliseconds = Date.now() - date.getTime();
|
43
|
-
let seconds = Math.floor(miliseconds / 1000);
|
44
|
-
let minutes = Math.floor(miliseconds / 60000);
|
45
|
-
let hours = Math.floor(minutes / 60);
|
46
|
-
let days = Math.floor(hours / 24);
|
47
|
-
this.setDisplayTime(seconds, minutes, hours, days);
|
48
|
-
}
|
49
|
-
}
|
50
|
-
setTimeInterval(time) {
|
51
|
-
this.postTime = window.setInterval(() => {
|
52
|
-
this.getElapsedTime(time);
|
53
|
-
}, 1000);
|
54
|
-
}
|
55
|
-
;
|
56
|
-
componentWillLoad() {
|
57
|
-
this.getElapsedTime(this.creationTime);
|
58
|
-
this.setTimeInterval(this.creationTime); //if time update on refresh, delete this & clear interval
|
59
|
-
const ifxListGroup = this.el.closest('ifx-list-group');
|
60
|
-
if (ifxListGroup.flush) {
|
61
|
-
this.isFlush = true;
|
62
|
-
}
|
63
|
-
else
|
64
|
-
this.isFlush = false;
|
65
|
-
}
|
66
|
-
disconnectedCallback() {
|
67
|
-
window.clearInterval(this.postTime);
|
68
|
-
}
|
69
|
-
render() {
|
70
|
-
return (h("div", { key: '91e1c400374162be139fed99ce0d7e4495b46eb6', class: `list-group-notification ${this.isFlush ? 'flush' : ""}` }, h("div", { key: 'f15575375e0698d0bedb1989e86bfcc24347d1a6', class: "heading__section" }, h("h6", { key: 'ea441212ebfe13f6d2714417dbe3f2770598fd6d', class: "heading__section-title" }, this.titleText), h("div", { key: '0dffec118ce4c588e992531d68492382ad20476d', class: "heading__section-time" }, this.shownTime)), h("div", { key: '063ccfbb83b2a2d839e6e230ec88fba4b9d59a1d', class: "description__section" }, h("slot", { key: 'e449dec2d47fba283a71b1f284963652d39b8ac8' }))));
|
71
|
-
}
|
72
|
-
static get is() { return "ifx-list-notification"; }
|
73
|
-
static get encapsulation() { return "shadow"; }
|
74
|
-
static get originalStyleUrls() {
|
75
|
-
return {
|
76
|
-
"$": ["list-group-notification.scss"]
|
77
|
-
};
|
78
|
-
}
|
79
|
-
static get styleUrls() {
|
80
|
-
return {
|
81
|
-
"$": ["list-group-notification.css"]
|
82
|
-
};
|
83
|
-
}
|
84
|
-
static get properties() {
|
85
|
-
return {
|
86
|
-
"titleText": {
|
87
|
-
"type": "string",
|
88
|
-
"mutable": false,
|
89
|
-
"complexType": {
|
90
|
-
"original": "string",
|
91
|
-
"resolved": "string",
|
92
|
-
"references": {}
|
93
|
-
},
|
94
|
-
"required": false,
|
95
|
-
"optional": false,
|
96
|
-
"docs": {
|
97
|
-
"tags": [],
|
98
|
-
"text": ""
|
99
|
-
},
|
100
|
-
"getter": false,
|
101
|
-
"setter": false,
|
102
|
-
"attribute": "title-text",
|
103
|
-
"reflect": false,
|
104
|
-
"defaultValue": "\"\""
|
105
|
-
},
|
106
|
-
"isFlush": {
|
107
|
-
"type": "boolean",
|
108
|
-
"mutable": false,
|
109
|
-
"complexType": {
|
110
|
-
"original": "boolean",
|
111
|
-
"resolved": "boolean",
|
112
|
-
"references": {}
|
113
|
-
},
|
114
|
-
"required": false,
|
115
|
-
"optional": false,
|
116
|
-
"docs": {
|
117
|
-
"tags": [],
|
118
|
-
"text": ""
|
119
|
-
},
|
120
|
-
"getter": false,
|
121
|
-
"setter": false,
|
122
|
-
"attribute": "is-flush",
|
123
|
-
"reflect": false,
|
124
|
-
"defaultValue": "false"
|
125
|
-
},
|
126
|
-
"creationTime": {
|
127
|
-
"type": "any",
|
128
|
-
"mutable": false,
|
129
|
-
"complexType": {
|
130
|
-
"original": "any",
|
131
|
-
"resolved": "any",
|
132
|
-
"references": {}
|
133
|
-
},
|
134
|
-
"required": false,
|
135
|
-
"optional": false,
|
136
|
-
"docs": {
|
137
|
-
"tags": [],
|
138
|
-
"text": ""
|
139
|
-
},
|
140
|
-
"getter": false,
|
141
|
-
"setter": false,
|
142
|
-
"attribute": "creation-time",
|
143
|
-
"reflect": false
|
144
|
-
}
|
145
|
-
};
|
146
|
-
}
|
147
|
-
static get states() {
|
148
|
-
return {
|
149
|
-
"postTime": {},
|
150
|
-
"shownTime": {}
|
151
|
-
};
|
152
|
-
}
|
153
|
-
static get elementRef() { return "el"; }
|
154
|
-
}
|
155
|
-
//# sourceMappingURL=list-group-notification.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"list-group-notification.js","sourceRoot":"","sources":["../../../src/components/list-group/list-group-notification.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, h, Element, Prop, State } from '@stencil/core';\n\n@Component({\n tag: 'ifx-list-notification',\n styleUrl: 'list-group-notification.scss',\n shadow: true,\n})\n\nexport class ListGroupNotification {\n @Element() el;\n @Prop() titleText: string = \"\"\n @Prop() isFlush: boolean = false;\n @Prop() creationTime: any;\n @State() postTime: number;\n @State() shownTime: string;\n\n setDisplayTime(seconds, minutes, hours, days) {\n if (seconds <= 60) {\n this.shownTime = `Just now`\n } else if (minutes <= 60) {\n this.shownTime = `${minutes} min. ago`\n } else if (hours <= 24) {\n this.shownTime = hours > 1 ? `${hours} hr. ago` : `${hours} hrs. ago`\n } else if (days) {\n this.shownTime = hours < 48 ? `1 day ago` : `${days} days ago`\n if (hours > 168) {\n this.shownTime = `${new Date().getDay()}.${new Date().getMonth()}.${new Date().getFullYear()}`\n }\n }\n }\n\n stringToDate(dataString) {\n if (!dataString) return null\n let dateParts = dataString.split(\"/\");\n if (dateParts[2]) {\n if (dateParts[2].split(\" \")[1]) {\n let timeParts = dateParts[2].split(\" \")[1].split(\":\");\n dateParts[2] = dateParts[2].split(\" \")[0];\n return new Date(+dateParts[2], dateParts[1] - 1, +dateParts[0], timeParts[0], timeParts[1], timeParts[2]);\n }\n }\n }\n\n getElapsedTime(time) {\n let date = this.stringToDate(time)\n if (date) {\n let miliseconds = Date.now() - date.getTime()\n let seconds = Math.floor(miliseconds / 1000);\n let minutes = Math.floor(miliseconds / 60000);\n let hours = Math.floor(minutes / 60);\n let days = Math.floor(hours / 24);\n this.setDisplayTime(seconds, minutes, hours, days)\n }\n }\n\n setTimeInterval(time) {\n this.postTime = window.setInterval(() => {\n this.getElapsedTime(time)\n }, 1000)\n };\n\n componentWillLoad() {\n this.getElapsedTime(this.creationTime)\n this.setTimeInterval(this.creationTime) //if time update on refresh, delete this & clear interval\n const ifxListGroup = this.el.closest('ifx-list-group')\n if (ifxListGroup.flush) {\n this.isFlush = true;\n } else this.isFlush = false;\n }\n\n disconnectedCallback() {\n window.clearInterval(this.postTime);\n }\n\n render() {\n return (\n <div class={`list-group-notification ${this.isFlush ? 'flush' : \"\"}`}>\n <div class=\"heading__section\">\n <h6 class=\"heading__section-title\">{this.titleText}</h6>\n <div class=\"heading__section-time\">{this.shownTime}</div>\n </div>\n <div class=\"description__section\">\n <slot />\n </div>\n </div>\n );\n }\n}\n"]}
|
@@ -1,91 +0,0 @@
|
|
1
|
-
import { h, Host } from "@stencil/core";
|
2
|
-
export class ListGroup {
|
3
|
-
constructor() {
|
4
|
-
this.flush = false;
|
5
|
-
this.bulletpoint = false;
|
6
|
-
this.notification = false;
|
7
|
-
}
|
8
|
-
render() {
|
9
|
-
return (h(Host, { key: '5d89f65af5f1b8e1f78b88f70065c55281eb8c27' }, h("div", { key: '0ae653b5307044468d507ee9be6539a430c2103c', class: `list-group-container
|
10
|
-
${this.flush ? 'flush' : ""}
|
11
|
-
${this.bulletpoint ? 'bulletpoint' : ""}` }, h("slot", { key: 'd7cd601c0b1bfd63aa5dee3f4f657082fa1e30e3', name: 'list-item' }), h("slot", { key: '77efa54a094a8f97081f0d2dd26e527e96a3d79f', name: "list-notification" }))));
|
12
|
-
}
|
13
|
-
static get is() { return "ifx-list-group"; }
|
14
|
-
static get encapsulation() { return "shadow"; }
|
15
|
-
static get originalStyleUrls() {
|
16
|
-
return {
|
17
|
-
"$": ["list-group.scss"]
|
18
|
-
};
|
19
|
-
}
|
20
|
-
static get styleUrls() {
|
21
|
-
return {
|
22
|
-
"$": ["list-group.css"]
|
23
|
-
};
|
24
|
-
}
|
25
|
-
static get properties() {
|
26
|
-
return {
|
27
|
-
"flush": {
|
28
|
-
"type": "boolean",
|
29
|
-
"mutable": false,
|
30
|
-
"complexType": {
|
31
|
-
"original": "boolean",
|
32
|
-
"resolved": "boolean",
|
33
|
-
"references": {}
|
34
|
-
},
|
35
|
-
"required": false,
|
36
|
-
"optional": false,
|
37
|
-
"docs": {
|
38
|
-
"tags": [],
|
39
|
-
"text": ""
|
40
|
-
},
|
41
|
-
"getter": false,
|
42
|
-
"setter": false,
|
43
|
-
"attribute": "flush",
|
44
|
-
"reflect": false,
|
45
|
-
"defaultValue": "false"
|
46
|
-
},
|
47
|
-
"bulletpoint": {
|
48
|
-
"type": "boolean",
|
49
|
-
"mutable": false,
|
50
|
-
"complexType": {
|
51
|
-
"original": "boolean",
|
52
|
-
"resolved": "boolean",
|
53
|
-
"references": {}
|
54
|
-
},
|
55
|
-
"required": false,
|
56
|
-
"optional": false,
|
57
|
-
"docs": {
|
58
|
-
"tags": [],
|
59
|
-
"text": ""
|
60
|
-
},
|
61
|
-
"getter": false,
|
62
|
-
"setter": false,
|
63
|
-
"attribute": "bulletpoint",
|
64
|
-
"reflect": false,
|
65
|
-
"defaultValue": "false"
|
66
|
-
},
|
67
|
-
"notification": {
|
68
|
-
"type": "boolean",
|
69
|
-
"mutable": false,
|
70
|
-
"complexType": {
|
71
|
-
"original": "boolean",
|
72
|
-
"resolved": "boolean",
|
73
|
-
"references": {}
|
74
|
-
},
|
75
|
-
"required": false,
|
76
|
-
"optional": false,
|
77
|
-
"docs": {
|
78
|
-
"tags": [],
|
79
|
-
"text": ""
|
80
|
-
},
|
81
|
-
"getter": false,
|
82
|
-
"setter": false,
|
83
|
-
"attribute": "notification",
|
84
|
-
"reflect": false,
|
85
|
-
"defaultValue": "false"
|
86
|
-
}
|
87
|
-
};
|
88
|
-
}
|
89
|
-
static get elementRef() { return "el"; }
|
90
|
-
}
|
91
|
-
//# sourceMappingURL=list-group.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"list-group.js","sourceRoot":"","sources":["../../../src/components/list-group/list-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AASlE,MAAM,OAAO,SAAS;;qBAEK,KAAK;2BACC,KAAK;4BACJ,KAAK;;IAGrC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,4DAAK,KAAK,EACR;UACA,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;UACzB,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE;gBAEvC,6DAAM,IAAI,EAAC,WAAW,GAAG;gBACzB,6DAAM,IAAI,EAAC,mBAAmB,GAAG,CAC7B,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Element, Prop, Host } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-list-group',\n styleUrl: 'list-group.scss',\n shadow: true,\n})\n\nexport class ListGroup {\n @Element() el;\n @Prop() flush: boolean = false;\n @Prop() bulletpoint: boolean = false;\n @Prop() notification: boolean = false;\n\n\n render() {\n return (\n <Host>\n <div class={\n `list-group-container \n ${this.flush ? 'flush' : \"\"} \n ${this.bulletpoint ? 'bulletpoint' : \"\"}`\n }>\n <slot name='list-item' />\n <slot name=\"list-notification\" />\n </div>\n </Host>\n );\n }\n}\n"]}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
2
|
-
|
3
|
-
interface IfxListGroup extends Components.IfxListGroup, HTMLElement {}
|
4
|
-
export const IfxListGroup: {
|
5
|
-
prototype: IfxListGroup;
|
6
|
-
new (): IfxListGroup;
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Used to define this component and all nested components recursively.
|
10
|
-
*/
|
11
|
-
export const defineCustomElement: () => void;
|
@@ -1,46 +0,0 @@
|
|
1
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-68d90201.js';
|
2
|
-
|
3
|
-
const listGroupCss = ":host{display:inline-flex}.list-group-container{display:inline-flex;flex-direction:column;gap:3px}";
|
4
|
-
const IfxListGroupStyle0 = listGroupCss;
|
5
|
-
|
6
|
-
const ListGroup = /*@__PURE__*/ proxyCustomElement(class ListGroup extends H {
|
7
|
-
constructor() {
|
8
|
-
super();
|
9
|
-
this.__registerHost();
|
10
|
-
this.__attachShadow();
|
11
|
-
this.flush = false;
|
12
|
-
this.bulletpoint = false;
|
13
|
-
this.notification = false;
|
14
|
-
}
|
15
|
-
render() {
|
16
|
-
return (h(Host, { key: '5d89f65af5f1b8e1f78b88f70065c55281eb8c27' }, h("div", { key: '0ae653b5307044468d507ee9be6539a430c2103c', class: `list-group-container
|
17
|
-
${this.flush ? 'flush' : ""}
|
18
|
-
${this.bulletpoint ? 'bulletpoint' : ""}` }, h("slot", { key: 'd7cd601c0b1bfd63aa5dee3f4f657082fa1e30e3', name: 'list-item' }), h("slot", { key: '77efa54a094a8f97081f0d2dd26e527e96a3d79f', name: "list-notification" }))));
|
19
|
-
}
|
20
|
-
get el() { return this; }
|
21
|
-
static get style() { return IfxListGroupStyle0; }
|
22
|
-
}, [1, "ifx-list-group", {
|
23
|
-
"flush": [4],
|
24
|
-
"bulletpoint": [4],
|
25
|
-
"notification": [4]
|
26
|
-
}]);
|
27
|
-
function defineCustomElement$1() {
|
28
|
-
if (typeof customElements === "undefined") {
|
29
|
-
return;
|
30
|
-
}
|
31
|
-
const components = ["ifx-list-group"];
|
32
|
-
components.forEach(tagName => { switch (tagName) {
|
33
|
-
case "ifx-list-group":
|
34
|
-
if (!customElements.get(tagName)) {
|
35
|
-
customElements.define(tagName, ListGroup);
|
36
|
-
}
|
37
|
-
break;
|
38
|
-
} });
|
39
|
-
}
|
40
|
-
|
41
|
-
const IfxListGroup = ListGroup;
|
42
|
-
const defineCustomElement = defineCustomElement$1;
|
43
|
-
|
44
|
-
export { IfxListGroup, defineCustomElement };
|
45
|
-
|
46
|
-
//# sourceMappingURL=ifx-list-group.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"ifx-list-group.js","mappings":";;AAAA,MAAM,YAAY,GAAG,oGAAoG,CAAC;AAC1H,2BAAe,YAAY;;MCQd,SAAS;;;;;qBAEK,KAAK;2BACC,KAAK;4BACJ,KAAK;;IAGrC,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EACR;UACA,IAAI,CAAC,KAAK,GAAG,OAAO,GAAG,EAAE;UACzB,IAAI,CAAC,WAAW,GAAG,aAAa,GAAG,EAAE,EAAE,IAEvC,6DAAM,IAAI,EAAC,WAAW,GAAG,EACzB,6DAAM,IAAI,EAAC,mBAAmB,GAAG,CAC7B,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/list-group/list-group.scss?tag=ifx-list-group&encapsulation=shadow","src/components/list-group/list-group.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n\n\n:host {\n display: inline-flex;\n}\n\n.list-group-container {\n display: inline-flex;\n flex-direction: column;\n gap: 3px;\n}","import { Component, h, Element, Prop, Host } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-list-group',\n styleUrl: 'list-group.scss',\n shadow: true,\n})\n\nexport class ListGroup {\n @Element() el;\n @Prop() flush: boolean = false;\n @Prop() bulletpoint: boolean = false;\n @Prop() notification: boolean = false;\n\n\n render() {\n return (\n <Host>\n <div class={\n `list-group-container \n ${this.flush ? 'flush' : \"\"} \n ${this.bulletpoint ? 'bulletpoint' : \"\"}`\n }>\n <slot name='list-item' />\n <slot name=\"list-notification\" />\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
2
|
-
|
3
|
-
interface IfxListItem extends Components.IfxListItem, HTMLElement {}
|
4
|
-
export const IfxListItem: {
|
5
|
-
prototype: IfxListItem;
|
6
|
-
new (): IfxListItem;
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Used to define this component and all nested components recursively.
|
10
|
-
*/
|
11
|
-
export const defineCustomElement: () => void;
|
@@ -1,67 +0,0 @@
|
|
1
|
-
import { p as proxyCustomElement, H, h } from './p-68d90201.js';
|
2
|
-
import { d as defineCustomElement$2 } from './p-aecf447b.js';
|
3
|
-
|
4
|
-
const listGroupItemCss = "@charset \"UTF-8\";.list-group-item{display:flex;align-items:center;justify-content:space-between;height:40px;width:350px;padding:8px 16px;background-color:#FFFFFF;border:1px solid #EEEDED;border-radius:1px 1px 0px 0px;font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;font-family:var(--ifx-font-family)}.list-group-item.flush{border:none;border-bottom:1px solid #EEEDED}.list-group-item.flush.bulletpoint{padding:8px}.list-group-item.bulletpoint .list-group-item-content::before{content:\"•\";display:inline-block;font-size:1.125rem;padding-right:10px}.list-group-item:hover:not(.show){background-color:#EEEDED}.list-group-item:active:not(.show){background-color:#0A8276;color:#FFFFFF}.list-group-item.show{display:block;height:88px;padding:16px}";
|
5
|
-
const IfxListItemStyle0 = listGroupItemCss;
|
6
|
-
|
7
|
-
const ListGroupItem = /*@__PURE__*/ proxyCustomElement(class ListGroupItem extends H {
|
8
|
-
constructor() {
|
9
|
-
super();
|
10
|
-
this.__registerHost();
|
11
|
-
this.__attachShadow();
|
12
|
-
this.isFlush = false;
|
13
|
-
this.hasBulletpoint = false;
|
14
|
-
this.badge = false;
|
15
|
-
this.badgeValue = 0;
|
16
|
-
}
|
17
|
-
componentWillLoad() {
|
18
|
-
const ifxListGroup = this.el.closest('ifx-list-group');
|
19
|
-
if (ifxListGroup.flush) {
|
20
|
-
this.isFlush = true;
|
21
|
-
}
|
22
|
-
else
|
23
|
-
this.isFlush = false;
|
24
|
-
if (ifxListGroup.bulletpoint && !this.badge) {
|
25
|
-
this.hasBulletpoint = true;
|
26
|
-
}
|
27
|
-
else
|
28
|
-
this.hasBulletpoint = false;
|
29
|
-
}
|
30
|
-
render() {
|
31
|
-
return (h("div", { key: 'd50beef84939fea9d25bd5a7a0450683f4580f89', class: `list-group-item
|
32
|
-
${this.isFlush ? 'flush' : ""}
|
33
|
-
${this.hasBulletpoint ? 'bulletpoint' : ""}` }, h("div", { key: '56373799f79b2379fb0f22ef0f2abf8468bd74c9', class: "list-group-item-content" }, h("slot", { key: '2080edc3978491aa3abd0de9dff866f5d8582a4b' })), this.badge && h("ifx-number-indicator", { key: '212364a9efd52a75d47f453c7652574c2332082c' }, this.badgeValue)));
|
34
|
-
}
|
35
|
-
get el() { return this; }
|
36
|
-
static get style() { return IfxListItemStyle0; }
|
37
|
-
}, [1, "ifx-list-item", {
|
38
|
-
"isFlush": [1028, "is-flush"],
|
39
|
-
"badge": [4],
|
40
|
-
"badgeValue": [2, "badge-value"],
|
41
|
-
"hasBulletpoint": [32]
|
42
|
-
}]);
|
43
|
-
function defineCustomElement$1() {
|
44
|
-
if (typeof customElements === "undefined") {
|
45
|
-
return;
|
46
|
-
}
|
47
|
-
const components = ["ifx-list-item", "ifx-number-indicator"];
|
48
|
-
components.forEach(tagName => { switch (tagName) {
|
49
|
-
case "ifx-list-item":
|
50
|
-
if (!customElements.get(tagName)) {
|
51
|
-
customElements.define(tagName, ListGroupItem);
|
52
|
-
}
|
53
|
-
break;
|
54
|
-
case "ifx-number-indicator":
|
55
|
-
if (!customElements.get(tagName)) {
|
56
|
-
defineCustomElement$2();
|
57
|
-
}
|
58
|
-
break;
|
59
|
-
} });
|
60
|
-
}
|
61
|
-
|
62
|
-
const IfxListItem = ListGroupItem;
|
63
|
-
const defineCustomElement = defineCustomElement$1;
|
64
|
-
|
65
|
-
export { IfxListItem, defineCustomElement };
|
66
|
-
|
67
|
-
//# sourceMappingURL=ifx-list-item.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"ifx-list-item.js","mappings":";;;AAAA,MAAM,gBAAgB,GAAG,+vBAA+vB,CAAC;AACzxB,0BAAe,gBAAgB;;MCOlB,aAAa;;;;;uBAEoB,KAAK;8BACd,KAAK;qBACf,KAAK;0BACD,CAAC;;IAE9B,iBAAiB;QACf,MAAM,YAAY,GAAG,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAA;QACtD,IAAI,YAAY,CAAC,KAAK,EAAE;YACtB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;SACrB;;YAAM,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QAE5B,IAAI,YAAY,CAAC,WAAW,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YAC3C,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;SAC5B;;YAAM,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;KACpC;IAED,MAAM;QACJ,QACE,4DAAK,KAAK,EACR;UACE,IAAI,CAAC,OAAO,GAAG,OAAO,GAAG,EAAE;UAC3B,IAAI,CAAC,cAAc,GAAG,aAAa,GAAG,EAAE,EAAE,IAC5C,4DAAK,KAAK,EAAC,yBAAyB,IAClC,8DAAQ,CACJ,EACL,IAAI,CAAC,KAAK,IAAI,+EAAuB,IAAI,CAAC,UAAU,CAAwB,CACzE,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/list-group/list-group-item.scss?tag=ifx-list-item&encapsulation=shadow","src/components/list-group/list-group-item.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n\n.list-group-item {\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: tokens.$ifxSize500;\n width: 350px;\n padding: 8px 16px;\n background-color: tokens.$ifxColorBaseWhite;\n border: 1px solid tokens.$ifxColorEngineering200;\n border-radius: 1px 1px 0px 0px;\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n font-family: var(--ifx-font-family);\n\n &.flush {\n border: none;\n border-bottom: 1px solid tokens.$ifxColorEngineering200;\n\n &.bulletpoint {\n padding: 8px;\n }\n }\n\n &.bulletpoint {\n & .list-group-item-content::before {\n content: \"•\";\n display: inline-block;\n font-size: tokens.$ifxFontSizeL;\n padding-right: 10px;\n }\n }\n\n &:hover:not(.show) {\n background-color: tokens.$ifxColorEngineering200;\n }\n\n &:active:not(.show) {\n background-color: tokens.$ifxColorOcean500;\n color: tokens.$ifxColorBaseWhite;\n }\n\n &.show {\n display: block;\n height: 88px;\n padding: 16px;\n }\n}","import { Component, h, Element, Prop, State } from '@stencil/core';\n\n@Component({\n tag: 'ifx-list-item',\n styleUrl: 'list-group-item.scss',\n shadow: true,\n})\n\nexport class ListGroupItem {\n @Element() el;\n @Prop({ mutable: true }) isFlush: boolean = false;\n @State() hasBulletpoint: boolean = false;\n @Prop() badge: boolean = false;\n @Prop() badgeValue: number = 0;\n\n componentWillLoad() {\n const ifxListGroup = this.el.closest('ifx-list-group')\n if (ifxListGroup.flush) {\n this.isFlush = true;\n } else this.isFlush = false;\n\n if (ifxListGroup.bulletpoint && !this.badge) {\n this.hasBulletpoint = true;\n } else this.hasBulletpoint = false;\n }\n\n render() {\n return (\n <div class={\n `list-group-item \n ${this.isFlush ? 'flush' : \"\"}\n ${this.hasBulletpoint ? 'bulletpoint' : \"\"}`}>\n <div class=\"list-group-item-content\">\n <slot />\n </div>\n {this.badge && <ifx-number-indicator>{this.badgeValue}</ifx-number-indicator>}\n </div>\n );\n }\n}\n"],"version":3}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
2
|
-
|
3
|
-
interface IfxListNotification extends Components.IfxListNotification, HTMLElement {}
|
4
|
-
export const IfxListNotification: {
|
5
|
-
prototype: IfxListNotification;
|
6
|
-
new (): IfxListNotification;
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Used to define this component and all nested components recursively.
|
10
|
-
*/
|
11
|
-
export const defineCustomElement: () => void;
|