@infineon/infineon-design-system-stencil 32.2.0--canary.1735.73ac0fc3ba8a84e7408b2b0ddf5922d4ab28ecf8.0 → 32.2.1--canary.1723.3ba1eae65365a2b9dbfb11ee8c5bb6331631337c.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-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/ifx-basic-table.cjs.entry.js +1 -1
- package/dist/cjs/ifx-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ifx-checkbox-group.cjs.entry.js.map +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-overview-table.cjs.entry.js +1 -1
- package/dist/cjs/ifx-overview-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ifx-radio-button-group.cjs.entry.js +61 -0
- package/dist/cjs/ifx-radio-button-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ifx-radio-button.cjs.entry.js +11 -4
- package/dist/cjs/ifx-radio-button.cjs.entry.js.map +1 -1
- 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 +2 -11
- package/dist/cjs/ifx-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-slider.cjs.entry.js +2 -2
- package/dist/cjs/ifx-spinner_2.cjs.entry.js +6 -6
- 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-templates-ui.cjs.entry.js +1 -1
- package/dist/cjs/ifx-textarea.cjs.entry.js +1 -1
- package/dist/cjs/ifx-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/index-1ce5aae1.js +4 -0
- 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 +1 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +3 -2
- package/dist/collection/components/overview-table/overview-table.js +1 -1
- package/dist/collection/components/overview-table/overview-table.js.map +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.css +4 -0
- package/dist/collection/components/radio-button/radio-button.js +25 -2
- package/dist/collection/components/radio-button/radio-button.js.map +1 -1
- package/dist/collection/components/radio-button/radio-button.stories.js +13 -1
- package/dist/collection/components/radio-button/radio-button.stories.js.map +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +60 -0
- package/dist/collection/components/radio-button-group/radio-button-group.js +238 -0
- package/dist/collection/components/radio-button-group/radio-button-group.js.map +1 -0
- package/dist/collection/components/radio-button-group/radio-button-group.stories.js +143 -0
- package/dist/collection/components/radio-button-group/radio-button-group.stories.js.map +1 -0
- 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 +2 -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/templates/template/template.js +1 -1
- package/dist/collection/components/templates/templates-ui/templates-ui.js +1 -1
- package/dist/collection/components/text-field/text-field.js +4 -4
- package/dist/collection/components/textarea/textarea.js +1 -1
- 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-checkbox-group.js +1 -1
- package/dist/components/ifx-checkbox-group.js.map +1 -1
- package/dist/components/ifx-faq.js +1 -1
- package/dist/components/ifx-filter-accordion.js +2 -2
- package/dist/components/ifx-filter-bar.js +1 -1
- package/dist/components/ifx-filter-search.js +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-overview-table.js +1 -1
- package/dist/components/ifx-overview-table.js.map +1 -1
- package/dist/components/ifx-pagination.js +1 -1
- package/dist/components/ifx-progress-bar.js +1 -1
- package/dist/components/ifx-radio-button-group.d.ts +11 -0
- package/dist/components/ifx-radio-button-group.js +91 -0
- package/dist/components/ifx-radio-button-group.js.map +1 -0
- 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-slider.js +2 -2
- package/dist/components/ifx-spinner.js +1 -1
- package/dist/components/ifx-status.js +1 -1
- package/dist/components/ifx-step.js +4 -4
- package/dist/components/ifx-stepper.js +2 -2
- package/dist/components/ifx-switch.js +1 -1
- package/dist/components/ifx-tab.js +1 -1
- package/dist/components/ifx-table.js +4 -4
- package/dist/components/ifx-tabs.js +2 -2
- package/dist/components/ifx-tag.js +1 -1
- package/dist/components/ifx-template.js +1 -1
- package/dist/components/ifx-templates-ui.js +4 -4
- package/dist/components/ifx-text-field.js +1 -1
- package/dist/components/ifx-textarea.js +1 -1
- package/dist/components/ifx-tooltip.js +4 -4
- package/dist/components/{p-432e892a.js → p-1ab9b2d3.js} +3 -3
- package/dist/components/{p-432e892a.js.map → p-1ab9b2d3.js.map} +1 -1
- package/dist/components/{p-25dce5bf.js → p-6758b716.js} +2 -2
- package/dist/components/{p-25dce5bf.js.map → p-6758b716.js.map} +1 -1
- package/dist/components/{p-80856f14.js → p-bf0b6855.js} +4 -4
- package/dist/components/{p-80856f14.js.map → p-bf0b6855.js.map} +1 -1
- package/dist/components/{p-3d46d2af.js → p-c24216e7.js} +5 -5
- package/dist/components/{p-3d46d2af.js.map → p-c24216e7.js.map} +1 -1
- package/dist/components/{p-2eb42cd6.js → p-da211009.js} +3 -12
- package/dist/components/p-da211009.js.map +1 -0
- package/dist/components/{p-977668df.js → p-e3b1b73d.js} +14 -6
- package/dist/components/p-e3b1b73d.js.map +1 -0
- package/dist/components/{p-47853a7b.js → p-efb9a50a.js} +3 -3
- package/dist/components/{p-47853a7b.js.map → p-efb9a50a.js.map} +1 -1
- package/dist/esm/ifx-alert_2.entry.js +1 -1
- package/dist/esm/ifx-basic-table.entry.js +1 -1
- package/dist/esm/ifx-checkbox-group.entry.js +1 -1
- package/dist/esm/ifx-checkbox-group.entry.js.map +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-overview-table.entry.js +1 -1
- package/dist/esm/ifx-overview-table.entry.js.map +1 -1
- package/dist/esm/ifx-progress-bar.entry.js +1 -1
- package/dist/esm/ifx-radio-button-group.entry.js +57 -0
- package/dist/esm/ifx-radio-button-group.entry.js.map +1 -0
- package/dist/esm/ifx-radio-button.entry.js +11 -4
- package/dist/esm/ifx-radio-button.entry.js.map +1 -1
- 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 +2 -11
- package/dist/esm/ifx-select.entry.js.map +1 -1
- package/dist/esm/ifx-slider.entry.js +2 -2
- package/dist/esm/ifx-spinner_2.entry.js +6 -6
- 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-templates-ui.entry.js +1 -1
- package/dist/esm/ifx-textarea.entry.js +1 -1
- package/dist/esm/ifx-tooltip.entry.js +4 -4
- package/dist/esm/index-b4eaf00e.js +4 -0
- 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-2d8c79bc.entry.js → p-0682ec9e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0c747aac.entry.js → p-0ed489eb.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-1b907dbd.entry.js → p-137b4109.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-8276469c.entry.js → p-1d4fc278.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-260c4f53.entry.js → p-2c83ff9d.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-f9298124.entry.js → p-42103a85.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-182854c8.entry.js → p-44c3ef6d.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-484ab7c4.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-939f2f37.entry.js.map → p-484ab7c4.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/{p-1a93de53.entry.js → p-48701f83.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b0156752.entry.js → p-62396204.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-f8f10567.entry.js → p-6cf93534.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-65b50486.entry.js → p-6ede583b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-71b5d16a.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-71b5d16a.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-0c8e65cc.entry.js → p-724a6be7.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-724a6be7.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-4ea09b73.entry.js → p-73b7e3a5.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-778a65ae.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-7a2688a5.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-7a2688a5.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-386f62f0.entry.js → p-8a92bb07.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-9631e187.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-9631e187.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-37e5b4b4.entry.js → p-9bc3708f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-16430d76.entry.js → p-a2616b8d.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b1bd480b.entry.js → p-a8fdba36.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-ccba569e.entry.js → p-b4982f52.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7b9fd2df.entry.js → p-bb2885be.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-d2998185.entry.js → p-c70eddd7.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-1c869534.entry.js → p-ce37b499.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c8fecc8e.entry.js → p-daa1ac45.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-272aab7f.entry.js → p-e58a1c25.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-8c0927d0.entry.js → p-e69d348c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-9901114e.entry.js → p-ebef8ea8.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-8ab52cac.entry.js → p-ece5ec08.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-f24935f6.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-f24935f6.entry.js.map +1 -0
- package/dist/types/components/radio-button/radio-button.d.ts +2 -0
- package/dist/types/components/radio-button/radio-button.stories.d.ts +11 -0
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +19 -0
- package/dist/types/components/radio-button-group/radio-button-group.stories.d.ts +171 -0
- package/dist/types/components/select/single-select/select.d.ts +0 -1
- package/dist/types/components.d.ts +30 -0
- package/package.json +1 -1
- package/dist/components/p-2eb42cd6.js.map +0 -1
- package/dist/components/p-977668df.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-094349b2.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-094349b2.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-0c8e65cc.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-19ebd7a9.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-19ebd7a9.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-89c4fae2.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-939f2f37.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-a1d3859e.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-a1d3859e.entry.js.map +0 -1
- /package/dist/infineon-design-system-stencil/{p-2d8c79bc.entry.js.map → p-0682ec9e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0c747aac.entry.js.map → p-0ed489eb.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1b907dbd.entry.js.map → p-137b4109.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-8276469c.entry.js.map → p-1d4fc278.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-260c4f53.entry.js.map → p-2c83ff9d.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-f9298124.entry.js.map → p-42103a85.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-182854c8.entry.js.map → p-44c3ef6d.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1a93de53.entry.js.map → p-48701f83.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b0156752.entry.js.map → p-62396204.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-f8f10567.entry.js.map → p-6cf93534.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-65b50486.entry.js.map → p-6ede583b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-4ea09b73.entry.js.map → p-73b7e3a5.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-89c4fae2.entry.js.map → p-778a65ae.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-386f62f0.entry.js.map → p-8a92bb07.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-37e5b4b4.entry.js.map → p-9bc3708f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-16430d76.entry.js.map → p-a2616b8d.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b1bd480b.entry.js.map → p-a8fdba36.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ccba569e.entry.js.map → p-b4982f52.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7b9fd2df.entry.js.map → p-bb2885be.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-d2998185.entry.js.map → p-c70eddd7.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1c869534.entry.js.map → p-ce37b499.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c8fecc8e.entry.js.map → p-daa1ac45.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-272aab7f.entry.js.map → p-e58a1c25.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-8c0927d0.entry.js.map → p-e69d348c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9901114e.entry.js.map → p-ebef8ea8.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-8ab52cac.entry.js.map → p-ece5ec08.entry.js.map} +0 -0
@@ -20,7 +20,7 @@ const ProgressBar = /*@__PURE__*/ proxyCustomElement(class ProgressBar extends H
|
|
20
20
|
this.internalValue = this.value;
|
21
21
|
}
|
22
22
|
render() {
|
23
|
-
return (h("div", { key: '
|
23
|
+
return (h("div", { key: '3f68729d3447897fb8b0d6ac8e5cfa4b4d1bbd0e', "aria-label": 'a progress bar', "aria-value": this.value, class: `progress-bar ${this.size}` }, h("div", { key: '86abff96eb8a1260c96e6736f90fe4e79e2a5a03', class: "progress", style: { width: `${this.internalValue}%` } }, this.showLabel && this.size !== "s" && this.internalValue !== 0 && h("span", { key: '55d35acd3cc70a2b0a1f9058569f1a0a7751990e', class: "label" }, `${this.internalValue}%`))));
|
24
24
|
}
|
25
25
|
static get watchers() { return {
|
26
26
|
"value": ["valueChanged"]
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
2
|
+
|
3
|
+
interface IfxRadioButtonGroup extends Components.IfxRadioButtonGroup, HTMLElement {}
|
4
|
+
export const IfxRadioButtonGroup: {
|
5
|
+
prototype: IfxRadioButtonGroup;
|
6
|
+
new (): IfxRadioButtonGroup;
|
7
|
+
};
|
8
|
+
/**
|
9
|
+
* Used to define this component and all nested components recursively.
|
10
|
+
*/
|
11
|
+
export const defineCustomElement: () => void;
|
@@ -0,0 +1,91 @@
|
|
1
|
+
import { p as proxyCustomElement, H, h } from './p-e27586b6.js';
|
2
|
+
import { d as defineCustomElement$2 } from './p-4cd3a589.js';
|
3
|
+
|
4
|
+
const radioButtonGroupCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}.radio-button-group-container{display:flex;flex-direction:column}.radio-button-group{display:flex;font-family:var(--ifx-font-family);gap:8px}.radio-button-group.horizontal{flex-direction:row;column-gap:12px}.radio-button-group.vertical{flex-direction:column;row-gap:12px}.group-label{font:400 0.75rem/1rem \"Source Sans 3\";margin-bottom:8px;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.caption{margin-top:8px;align-self:flex-start;display:flex;width:100%;column-gap:8px;justify-content:space-between;align-items:center}.caption.default{color:#1D1D1D}.caption.error{color:#CD002F}.caption-text{font:400 0.75rem/1rem \"Source Sans 3\";flex:1;text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.caption-icon{flex:0;display:flex}";
|
5
|
+
const IfxRadioButtonGroupStyle0 = radioButtonGroupCss;
|
6
|
+
|
7
|
+
const RadioButtonGroup = /*@__PURE__*/ proxyCustomElement(class RadioButtonGroup extends H {
|
8
|
+
constructor() {
|
9
|
+
super();
|
10
|
+
this.__registerHost();
|
11
|
+
this.__attachShadow();
|
12
|
+
this.errorStates = new Map();
|
13
|
+
this.alignment = 'vertical';
|
14
|
+
this.groupLabelText = 'Group Label Text';
|
15
|
+
this.hasErrors = false;
|
16
|
+
this.handleSlotChange = () => {
|
17
|
+
this.initializeState();
|
18
|
+
};
|
19
|
+
}
|
20
|
+
handleRadioButtonError(event) {
|
21
|
+
const radioButton = event.target;
|
22
|
+
if (radioButton.tagName === 'ifx-radio-button') {
|
23
|
+
this.errorStates.set(radioButton, event.detail);
|
24
|
+
this.updateHasErrors();
|
25
|
+
}
|
26
|
+
}
|
27
|
+
// Method to set the error state of all radio-butttons in the group
|
28
|
+
async setGroupError(error) {
|
29
|
+
const radioButtons = Array.from(this.el.querySelectorAll('ifx-radio-button'));
|
30
|
+
radioButtons.forEach((radioButton) => {
|
31
|
+
radioButton.error = error;
|
32
|
+
});
|
33
|
+
}
|
34
|
+
componentWillLoad() {
|
35
|
+
this.initializeState();
|
36
|
+
}
|
37
|
+
initializeState() {
|
38
|
+
this.errorStates.clear();
|
39
|
+
const radioButtons = Array.from(this.el.querySelectorAll('ifx-radio-button'));
|
40
|
+
radioButtons.forEach((radioButton) => {
|
41
|
+
if (!this.errorStates.has(radioButton)) {
|
42
|
+
this.errorStates.set(radioButton, radioButton.error || false);
|
43
|
+
}
|
44
|
+
});
|
45
|
+
this.updateHasErrors();
|
46
|
+
}
|
47
|
+
updateHasErrors() {
|
48
|
+
this.hasErrors = Array.from(this.errorStates.values()).some((error) => error);
|
49
|
+
}
|
50
|
+
render() {
|
51
|
+
return (h("div", { key: '0c359fed41079b31dae0c28ace5192cdd43cc076', class: 'radio-button-group-container' }, this.showGroupLabel ? h("div", { class: 'group-label' }, this.groupLabelText, " *") : '', h("div", { key: '735ec208d1aee30020ccd60621f90690c765c8bb', class: `radio-button-group ${this.alignment} ${this.size}` }, h("slot", { key: '1d42c5173fc75d43c3497a2ed602fc781e98271b', onSlotchange: this.handleSlotChange })), this.showCaption ? (h("div", { class: `caption ${this.hasErrors ? 'error' : 'default'}` }, this.showCaptionIcon ? h("div", { class: 'caption-icon' }, h("ifx-icon", { icon: "c-info-16" })) : '', h("div", { class: 'caption-text' }, this.captionText))) : ''));
|
52
|
+
}
|
53
|
+
static get formAssociated() { return true; }
|
54
|
+
get el() { return this; }
|
55
|
+
static get style() { return IfxRadioButtonGroupStyle0; }
|
56
|
+
}, [65, "ifx-radio-button-group", {
|
57
|
+
"alignment": [1],
|
58
|
+
"size": [1],
|
59
|
+
"showGroupLabel": [4, "show-group-label"],
|
60
|
+
"groupLabelText": [1, "group-label-text"],
|
61
|
+
"showCaption": [4, "show-caption"],
|
62
|
+
"captionText": [1, "caption-text"],
|
63
|
+
"showCaptionIcon": [4, "show-caption-icon"],
|
64
|
+
"hasErrors": [32],
|
65
|
+
"setGroupError": [64]
|
66
|
+
}, [[0, "ifxError", "handleRadioButtonError"]]]);
|
67
|
+
function defineCustomElement$1() {
|
68
|
+
if (typeof customElements === "undefined") {
|
69
|
+
return;
|
70
|
+
}
|
71
|
+
const components = ["ifx-radio-button-group", "ifx-icon"];
|
72
|
+
components.forEach(tagName => { switch (tagName) {
|
73
|
+
case "ifx-radio-button-group":
|
74
|
+
if (!customElements.get(tagName)) {
|
75
|
+
customElements.define(tagName, RadioButtonGroup);
|
76
|
+
}
|
77
|
+
break;
|
78
|
+
case "ifx-icon":
|
79
|
+
if (!customElements.get(tagName)) {
|
80
|
+
defineCustomElement$2();
|
81
|
+
}
|
82
|
+
break;
|
83
|
+
} });
|
84
|
+
}
|
85
|
+
|
86
|
+
const IfxRadioButtonGroup = RadioButtonGroup;
|
87
|
+
const defineCustomElement = defineCustomElement$1;
|
88
|
+
|
89
|
+
export { IfxRadioButtonGroup, defineCustomElement };
|
90
|
+
|
91
|
+
//# sourceMappingURL=ifx-radio-button-group.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"ifx-radio-button-group.js","mappings":";;;AAAA,MAAM,mBAAmB,GAAG,k3BAAk3B,CAAC;AAC/4B,kCAAe,mBAAmB;;MCQrB,gBAAgB;IAP7B;;;;QAQY,gBAAW,GAA8B,IAAI,GAAG,EAAE,CAAC;QAGnD,cAAS,GAA8B,UAAU,CAAC;QAGlD,mBAAc,GAAW,kBAAkB,CAAC;QAI3C,cAAS,GAAY,KAAK,CAAC;QAwBpC,qBAAgB,GAAG;YACf,IAAI,CAAC,eAAe,EAAE,CAAC;SAC1B,CAAC;KAiCL;IAxDG,sBAAsB,CAAC,KAAkB;QACrC,MAAM,WAAW,GAAG,KAAK,CAAC,MAAqB,CAAC;QAChD,IAAI,WAAW,CAAC,OAAO,KAAK,kBAAkB,EAAE;YAC5C,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;YAChD,IAAI,CAAC,eAAe,EAAE,CAAC;SAC1B;KACJ;;IAIC,MAAM,aAAa,CAAC,KAAc;QAChC,MAAM,YAAY,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,CAAC;QAC9E,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW;YAC9B,WAAmB,CAAC,KAAK,GAAG,KAAK,CAAC;SACpC,CAAC,CAAC;KACJ;IAEH,iBAAiB;QACb,IAAI,CAAC,eAAe,EAAE,CAAC;KAC1B;IAMO,eAAe;QACnB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;QACzB,MAAM,YAAY,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC,CAAC;QAC9E,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW;YAC7B,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE;gBACpC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,EAAG,WAAmB,CAAC,KAAK,IAAI,KAAK,CAAC,CAAC;aAC1E;SACJ,CAAC,CAAC;QACH,IAAI,CAAC,eAAe,EAAE,CAAC;KAC1B;IAEO,eAAe;QACnB,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC;KACjF;IAED,MAAM;QACF,QACI,4DAAK,KAAK,EAAC,8BAA8B,IACpC,IAAI,CAAC,cAAc,GAAG,WAAK,KAAK,EAAC,aAAa,IAAE,IAAI,CAAC,cAAc,OAAS,GAAG,EAAE,EAClF,4DAAK,KAAK,EAAE,sBAAsB,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,EAAE,IAC3D,6DAAM,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAU,CACjD,EACL,IAAI,CAAC,WAAW,IACb,WAAK,KAAK,EAAE,WAAW,IAAI,CAAC,SAAS,GAAG,OAAO,GAAG,SAAS,EAAE,IACxD,IAAI,CAAC,eAAe,GAAG,WAAK,KAAK,EAAC,cAAc,IAAC,gBAAU,IAAI,EAAC,WAAW,GACjE,CAAM,GAAG,EAAE,EACtB,WAAK,KAAK,EAAC,cAAc,IAAE,IAAI,CAAC,WAAW,CAAO,CAChD,IAAI,EAAE,CACd,EACR;KACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/radio-button-group/radio-button-group.scss?tag=ifx-radio-button-group&encapsulation=shadow","src/components/radio-button-group/radio-button-group.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n.radio-button-group-container {\n display: flex;\n flex-direction: column;\n}\n\n.radio-button-group {\n display: flex;\n font-family: var(--ifx-font-family);\n gap: tokens.$ifxSpace100;\n\n &.horizontal {\n flex-direction: row;\n column-gap: tokens.$ifxSpace150;\n }\n\n &.vertical {\n flex-direction: column;\n row-gap: tokens.$ifxSpace150;\n }\n}\n\n.group-label {\n font: tokens.$ifxBodyBody05;\n margin-bottom: tokens.$ifxSpace100;\n text-align: left;\n text-underline-position: from-font;\n text-decoration-skip-ink: none;\n}\n\n.caption {\n margin-top: tokens.$ifxSpace100;\n align-self: flex-start;\n display: flex;\n width: 100%;\n column-gap: tokens.$ifxSpace100;\n justify-content: space-between;\n align-items: center;\n\n &.default {\n color: tokens.$ifxColorBaseBlack;\n }\n\n &.error {\n color: tokens.$ifxColorRed500;\n }\n}\n\n.caption-text {\n font: tokens.$ifxBodyBody05;\n flex: 1;\n text-align: left;\n text-underline-position: from-font;\n text-decoration-skip-ink: none;\n}\n\n.caption-icon {\n flex:0;\n display: flex;\n}","import { Component, State, Prop, h, Element, Listen, Method } from '@stencil/core';\n\n@Component({\n tag: 'ifx-radio-button-group',\n styleUrl: 'radio-button-group.scss',\n shadow: true,\n formAssociated: true\n})\n\nexport class RadioButtonGroup {\n private errorStates: Map<HTMLElement, boolean> = new Map();\n\n @Element() el: HTMLElement;\n @Prop() alignment: 'horizontal' | 'vertical' = 'vertical';\n @Prop() size: string;\n @Prop() showGroupLabel: boolean;\n @Prop() groupLabelText: string = 'Group Label Text';\n @Prop() showCaption: boolean;\n @Prop() captionText: string;\n @Prop() showCaptionIcon: boolean;\n @State() hasErrors: boolean = false;\n \n @Listen('ifxError')\n handleRadioButtonError(event: CustomEvent) {\n const radioButton = event.target as HTMLElement;\n if (radioButton.tagName === 'ifx-radio-button') {\n this.errorStates.set(radioButton, event.detail);\n this.updateHasErrors();\n }\n }\n\n // Method to set the error state of all radio-butttons in the group\n @Method()\n async setGroupError(error: boolean) {\n const radioButtons = Array.from(this.el.querySelectorAll('ifx-radio-button'));\n radioButtons.forEach((radioButton) => {\n (radioButton as any).error = error;\n });\n }\n\n componentWillLoad() {\n this.initializeState();\n }\n\n handleSlotChange = () => {\n this.initializeState();\n };\n\n private initializeState() {\n this.errorStates.clear();\n const radioButtons = Array.from(this.el.querySelectorAll('ifx-radio-button'));\n radioButtons.forEach((radioButton) => {\n if (!this.errorStates.has(radioButton)) {\n this.errorStates.set(radioButton, (radioButton as any).error || false);\n }\n });\n this.updateHasErrors();\n }\n\n private updateHasErrors() {\n this.hasErrors = Array.from(this.errorStates.values()).some((error) => error);\n }\n\n render() {\n return (\n <div class='radio-button-group-container'>\n {this.showGroupLabel ? <div class='group-label'>{this.groupLabelText} *</div> : ''}\n <div class={`radio-button-group ${this.alignment} ${this.size}`}>\n <slot onSlotchange={this.handleSlotChange} ></slot>\n </div>\n {this.showCaption ? (\n <div class={`caption ${this.hasErrors ? 'error' : 'default'}`}>\n {this.showCaptionIcon ? <div class='caption-icon'><ifx-icon icon=\"c-info-16\">\n </ifx-icon></div> : ''}\n <div class='caption-text'>{this.captionText}</div>\n </div>) : ''}\n </div>\n );\n }\n}"],"version":3}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './p-e27586b6.js';
|
2
2
|
import { d as defineCustomElement$3 } from './p-4cd3a589.js';
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
3
|
+
import { d as defineCustomElement$2 } from './p-6758b716.js';
|
4
4
|
|
5
5
|
const searchBarCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{width:100%;display:flex}.search-bar{box-sizing:border-box;height:40px;background-color:#FFFFFF;display:flex;flex-direction:row;align-items:center;width:100%;font-family:var(--ifx-font-family)}.search-bar.closed{display:flex;width:auto;justify-content:flex-start}.search-bar .search-bar-wrapper{display:flex;align-items:center;gap:16px;width:100%}.search-bar .search-bar-wrapper a{text-decoration:none;font-size:1rem;font-style:normal;font-weight:600;line-height:1.5rem;color:#0A8276;cursor:pointer}.search-bar .search-bar-wrapper ifx-search-field{width:100%}.search-bar .search-bar__icon-wrapper{display:none;flex-direction:row;align-items:center}.search-bar .search-bar__icon-wrapper ifx-icon:hover{cursor:pointer}.search-bar.closed .search-bar__icon-wrapper{display:flex}.search-bar.closed .search-bar-wrapper{display:none}";
|
6
6
|
const IfxSearchBarStyle0 = searchBarCss;
|
@@ -40,7 +40,7 @@ const SearchBar = /*@__PURE__*/ proxyCustomElement(class SearchBar extends H {
|
|
40
40
|
this.value = event.detail;
|
41
41
|
}
|
42
42
|
render() {
|
43
|
-
return (h("div", { key: '
|
43
|
+
return (h("div", { key: 'c313e088c8320ea5ba602f5da512624edaf44c36', "aria-label": 'a search bar', "aria-disabled": this.disabled, class: `search-bar ${this.internalState ? 'open' : 'closed'}` }, this.internalState ? (h("div", { class: "search-bar-wrapper" }, h("ifx-search-field", { disabled: this.disabled, value: this.value, maxlength: this.maxlength, onIfxInput: this.handleInput.bind(this) }, h("ifx-icon", { icon: "search-16", slot: "search-icon" })), h("a", { tabindex: "-1", href: 'javascript:void(0)', onClick: this.handleCloseButton }, "Close"))) : (h("div", { class: "search-bar__icon-wrapper", onClick: this.handleCloseButton }, h("ifx-icon", { icon: "search-16" })))));
|
44
44
|
}
|
45
45
|
get el() { return this; }
|
46
46
|
static get watchers() { return {
|
@@ -27,7 +27,7 @@ const Segment = /*@__PURE__*/ proxyCustomElement(class Segment extends H {
|
|
27
27
|
}
|
28
28
|
}
|
29
29
|
render() {
|
30
|
-
return (h("div", { key: '
|
30
|
+
return (h("div", { key: '2faaac48b77184cbd62852220903045cbf815a67', class: `segment ${this.selected ? 'segment--selected' : ''}`, tabIndex: 0, onClick: () => { this.handleSegmentClick(); }, onKeyDown: (e) => { this.handleSegmentKeyDown(e); } }, h("ifx-icon", { key: 'a69957b7ff87a6a4f717371b9227ddf3885e3878', icon: this.icon }), " ", h("slot", { key: 'ae2b9b7a9d2a2bce3b0b28f907df5755e32dcc4f' })));
|
31
31
|
}
|
32
32
|
static get style() { return IfxSegmentStyle0; }
|
33
33
|
}, [1, "ifx-segment", {
|
@@ -71,8 +71,8 @@ const SegmentedControl = /*@__PURE__*/ proxyCustomElement(class SegmentedControl
|
|
71
71
|
this.setActiveSegment();
|
72
72
|
}
|
73
73
|
render() {
|
74
|
-
return (h("div", { key: '
|
75
|
-
h("div", { key: '
|
74
|
+
return (h("div", { key: 'f16a4862c4630a165c0af78ab548c543f361c8a1', "aria-value": this.selectedValue, "aria-label": 'segmented control', class: 'group' }, h("div", { key: '0fedee3b59c3bad5f2d456cb8d9c1e93bdaa7983', class: 'group__label' }, this.label.trim()), h("div", { key: 'a194d05342ac05dbbe14f60a4cbffcff3876dd81', class: 'group__controls' }, h("slot", { key: '3c14e9cdd5aec6283dff6d61ee4fef59cef54b18' })), this.caption.trim() &&
|
75
|
+
h("div", { key: '76d3c32b1670d7c4690ddd235a19b5f11bcd8be8', class: 'group__caption' }, h("ifx-icon", { key: '7418495c943d83788a2a1b2dac6131041dc049d6', icon: 'cinfo16' }), " ", this.caption.trim())));
|
76
76
|
}
|
77
77
|
componentDidRender() {
|
78
78
|
this.setSegmentSize();
|
@@ -3,8 +3,8 @@ import { d as defineCustomElement$7 } from './p-d8045654.js';
|
|
3
3
|
import { d as defineCustomElement$6 } from './p-ec51e955.js';
|
4
4
|
import { d as defineCustomElement$5 } from './p-4cd3a589.js';
|
5
5
|
import { d as defineCustomElement$4 } from './p-9c7d6c8c.js';
|
6
|
-
import { d as defineCustomElement$3 } from './p-
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
6
|
+
import { d as defineCustomElement$3 } from './p-da211009.js';
|
7
|
+
import { d as defineCustomElement$2 } from './p-c24216e7.js';
|
8
8
|
|
9
9
|
const setFilterCss = "";
|
10
10
|
const IfxSetFilterStyle0 = setFilterCss;
|
@@ -145,10 +145,10 @@ const IfxSlider$1 = /*@__PURE__*/ proxyCustomElement(class IfxSlider extends H {
|
|
145
145
|
this.updateValuePercent();
|
146
146
|
}
|
147
147
|
render() {
|
148
|
-
return (h("div", { key: '
|
148
|
+
return (h("div", { key: '8cd3872e29ca5a7c35ef9991db8f74b2dfb1562d', class: "ifx-slider" }, this.leftText && (h("span", { key: 'af9eb0dd16d9936d18be75eef0c6b2ea8a6617a4', class: `left-text` }, this.leftText)), this.leftIcon && (h("ifx-icon", { key: '265016e5326dfadd3ca9080384bd1ab863e4a4c7', icon: this.leftIcon, class: `left-icon${this.disabled ? ' disabled' : ''}` })), (this.type !== 'double') ?
|
149
149
|
h("input", { type: "range", min: this.min, max: this.max, step: this.step, value: this.internalValue, disabled: this.disabled, ref: (el) => (this.inputRef = el), onInput: (event) => this.handleInputChange(event), "aria-label": 'a slider', "aria-value": this.value, "aria-disabled": this.disabled })
|
150
150
|
:
|
151
|
-
h("div", { class: 'range-slider__wrapper', "aria-label": 'a range slider', "aria-value": this.value, "aria-disabled": this.disabled }, h("input", { id: 'min-slider', type: 'range', min: this.min, max: this.max, step: this.step, value: this.internalMinValue, disabled: this.disabled, ref: (el) => (this.minInputRef = el), onInput: (event) => this.handleInputChangeOfRangeSlider(event), onMouseUp: (event) => this.handleOnMouseLeaveOfRangeSlider(event) }), h("input", { id: 'max-slider', type: 'range', min: this.min, max: this.max, step: this.step, value: this.internalMaxValue, disabled: this.disabled, ref: (el) => (this.maxInputRef = el), onInput: (event) => this.handleInputChangeOfRangeSlider(event), onMouseUp: (event) => this.handleOnMouseLeaveOfRangeSlider(event) })), this.rightIcon && (h("ifx-icon", { key: '
|
151
|
+
h("div", { class: 'range-slider__wrapper', "aria-label": 'a range slider', "aria-value": this.value, "aria-disabled": this.disabled }, h("input", { id: 'min-slider', type: 'range', min: this.min, max: this.max, step: this.step, value: this.internalMinValue, disabled: this.disabled, ref: (el) => (this.minInputRef = el), onInput: (event) => this.handleInputChangeOfRangeSlider(event), onMouseUp: (event) => this.handleOnMouseLeaveOfRangeSlider(event) }), h("input", { id: 'max-slider', type: 'range', min: this.min, max: this.max, step: this.step, value: this.internalMaxValue, disabled: this.disabled, ref: (el) => (this.maxInputRef = el), onInput: (event) => this.handleInputChangeOfRangeSlider(event), onMouseUp: (event) => this.handleOnMouseLeaveOfRangeSlider(event) })), this.rightIcon && (h("ifx-icon", { key: '6ce6262cb945e24e813f59137fb3e4eb999937d0', icon: this.rightIcon, class: `right-icon${this.disabled ? ' disabled' : ''}` })), this.rightText && (h("span", { key: 'be785686c57bb4fd19a333bd45616bb90e947e33', class: `right-text${this.disabled ? ' disabled' : ''}` }, this.rightText)), this.showPercentage && (this.type !== "double") && (h("span", { key: 'dfbad6ac5e8965642419846f7b85501ea98823e5', class: `percentage-display${this.disabled ? ' disabled' : ''}` }, this.percentage, "%"))));
|
152
152
|
}
|
153
153
|
get el() { return this; }
|
154
154
|
static get watchers() { return {
|
@@ -15,7 +15,7 @@ const Status = /*@__PURE__*/ proxyCustomElement(class Status extends H {
|
|
15
15
|
var _a;
|
16
16
|
const effectiveColor = ((_a = this.color) === null || _a === void 0 ? void 0 : _a.trim()) ? this.color : 'orange-500';
|
17
17
|
const containerClass = this.border ? `container border-${effectiveColor}` : 'container no-border';
|
18
|
-
return (h("div", { key: '
|
18
|
+
return (h("div", { key: '5584af4d19e2ed3e4c43937254b6496ac3498bab', "aria-label": "a status indicator", "aria-value": this.label, class: containerClass }, h("span", { key: 'd6ea110d9b65e05257f2a58220c78833af2e61c5', class: `dot ${effectiveColor}` }), h("p", { key: '4593faaff5f1a430d7c1ef77dd182ffac5dcdfe1', class: "text" }, this.label)));
|
19
19
|
}
|
20
20
|
static get style() { return IfxStatusStyle0; }
|
21
21
|
}, [1, "ifx-status", {
|
@@ -50,7 +50,7 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends H {
|
|
50
50
|
}
|
51
51
|
}
|
52
52
|
render() {
|
53
|
-
return (h("div", { key: '
|
53
|
+
return (h("div", { key: '89bf8ebdda8d27e4d64eb115375f101e6bd63a47', "aria-current": this.active ? 'step' : false, "aria-disabled": this.active || this.complete ? false : true, onClick: (e) => this.stopOnClickPropogation(e), class: `step-wrapper ${this.stepId === 1 ? 'first-step' : ''}
|
54
54
|
${this.error ? 'error' : ''}
|
55
55
|
${this.stepperState.variant}
|
56
56
|
${this.complete ? 'complete' : ''}
|
@@ -58,11 +58,11 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends H {
|
|
58
58
|
indicator-${this.stepperState.indicatorPosition}
|
59
59
|
${this.active ? 'active' : ''}
|
60
60
|
${this.clickable ? 'clickable' : ''}
|
61
|
-
${this.disabled ? 'disabled' : ''}` }, h("div", { key: '
|
62
|
-
h("div", { key: '
|
61
|
+
${this.disabled ? 'disabled' : ''}` }, h("div", { key: '7d132907a091474aab641783df974ef713d2e082', class: 'step-icon-wrapper' }, this.stepperState.variant !== 'compact' && h("span", { key: 'addc3091c2c1bff1f15bff47b688b41503ac0170', class: 'step-connector-l' }), (this.stepperState.variant !== 'compact' && (!this.error || (this.error && this.active))) &&
|
62
|
+
h("div", { key: '36ea1c2447f4d1315c67c1d7c55c008ada016eb7', class: 'step-icon' }, (this.stepperState.showStepNumber && !this.complete && !this.active) ? this.stepId : '', (this.complete && !this.active) && h("ifx-icon", { key: '7f9cd53a08acdb8a91c636a033d4728159857533', icon: 'check16' }), this.active && h("span", { key: 'fd7461691611746decffa1f53a6d7c5d3401e267', class: 'active-indic' })), (this.stepperState.variant !== 'compact' && this.error && !this.active) && h("ifx-icon", { key: '47b3af98bab586eb434a8161fe1b3954268aa7ab', icon: 'warningf24' }), this.stepperState.variant !== 'compact' && h("span", { key: '1e67448a5a81c2dfb049ac20f0dd353dd83e3ab6', class: `step-connector-r ${this.active ? 'active' : ''}` })),
|
63
63
|
/* Step labels */
|
64
64
|
(this.stepperState.variant !== 'compact' || (this.stepperState.variant === 'compact' && (this.active || this.stepId === this.stepperState.activeStep + 1))) &&
|
65
|
-
h("div", { key: '
|
65
|
+
h("div", { key: 'fc375ac7341cdae182d5cdb32e03a7ca93dd10aa', tabIndex: !this.disabled && this.complete && !this.active ? 0 : -1, class: `step-label ${this.stepperState.variant === 'compact' ? (this.active ? 'curr-label' : 'next-label') : ''}`, onClick: () => { this.handleStepClick(); }, onKeyDown: (e) => { this.handleStepKeyDown(e); } }, (this.stepperState.variant !== 'compact') && h("slot", { key: '40fc3dfa9690e41aa522857c67e07765f68251dc' }), this.stepperState.variant === 'compact' && !this.active ? 'Next: ' : '', this.stepperState.variant === 'compact' && h("slot", { key: '5d43cd127b2a67b63d976084ef8265d048c27b2a' }))));
|
66
66
|
}
|
67
67
|
;
|
68
68
|
static get watchers() { return {
|
@@ -124,10 +124,10 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends H {
|
|
124
124
|
this.syncIfxSteps();
|
125
125
|
}
|
126
126
|
render() {
|
127
|
-
return (h("div", { key: '
|
127
|
+
return (h("div", { key: '719914f95d3ad6cdd1a691e850a87eb071bd8cce', "aria-label": 'a stepper', role: 'navigation', class: `stepper ${(this.variant !== 'compact' && this.variant !== 'vertical') ? 'default' : this.variant} ${this.variant === 'compact' ? 'compact-' + this.indicatorPosition : ''}` },
|
128
128
|
/* Progress bar for compact variant. */
|
129
129
|
(this.variant === 'compact') &&
|
130
|
-
h("div", { key: '
|
130
|
+
h("div", { key: 'c4ebfb6dc14d0d80c1b5ad564fedacab324773d7', class: 'stepper-progress' }, h("div", { key: 'dffd68985729abdcd767270d85232eb83422fa2c', class: 'progress-detail' }, `${Math.min(this.activeStep, this.stepsCount)} of ${this.stepsCount}`)), h("div", { key: '1b5016a54756a1d000449c185c1ee116dcf0acf2', class: `stepper-wrapper` }, h("slot", { key: '923375c6e3929b63796198d1956e702ee7cc456e' }))));
|
131
131
|
}
|
132
132
|
;
|
133
133
|
componentDidRender() {
|
@@ -72,7 +72,7 @@ const Switch = /*@__PURE__*/ proxyCustomElement(class Switch extends H {
|
|
72
72
|
this.internals.setFormValue(null);
|
73
73
|
}
|
74
74
|
render() {
|
75
|
-
return (h("div", { key: '
|
75
|
+
return (h("div", { key: '360fc8c66c42ca0abe29a8a1c7f719d7584ff84f', class: "container", role: "switch", "aria-checked": this.internalChecked ? 'true' : 'false', "aria-label": this.name, onClick: () => this.toggleSwitch(), onKeyDown: (event) => this.handleKeyDown(event) }, h("div", { key: '13f5e32ddc32582010d9e1c27f4c030b86e36712', class: `switch__checkbox-container ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}`, tabindex: "0" }, h("div", { key: '0f931031b5d338598f95dad4ce43a5fca6a0d8a3', class: "switch__checkbox-wrapper" }, h("input", { key: '86731f8df0ad982510263794f1c498066f89e3f9', type: "checkbox", hidden: true, name: this.name, disabled: this.disabled, checked: this.internalChecked, value: `${this.value}` }), h("div", { key: '2c26fa3bbc7b2a095b51dc89088906c7fa069fb9', class: `switch ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}` }))), h("div", { key: '1136f618847607a27671e4a6ddf98a6506bafcbb', class: `switch__label-wrapper ${this.disabled ? 'disabled' : ''}` }, h("label", { key: 'bec0ca4982b7d978f54633341464820f18015603', htmlFor: "switch" }, h("slot", { key: '83948bfbeec352d2666d96299302a9ba01d3c7d2', onSlotchange: () => this.toggleLabelGap() })))));
|
76
76
|
}
|
77
77
|
static get formAssociated() { return true; }
|
78
78
|
get el() { return this; }
|
@@ -15,7 +15,7 @@ const IfxTab$1 = /*@__PURE__*/ proxyCustomElement(class IfxTab extends H {
|
|
15
15
|
this.tabHeaderChange.emit(this.header);
|
16
16
|
}
|
17
17
|
render() {
|
18
|
-
return h("slot", { key: '
|
18
|
+
return h("slot", { key: '37043a27bd989be177366265767fcd7a9ed21e87' });
|
19
19
|
}
|
20
20
|
get el() { return this; }
|
21
21
|
static get style() { return IfxTabStyle0; }
|
@@ -8,8 +8,8 @@ import { d as defineCustomElement$7 } from './p-2cb994f0.js';
|
|
8
8
|
import { d as defineCustomElement$6 } from './p-4cd3a589.js';
|
9
9
|
import { d as defineCustomElement$5 } from './p-5f01ab1d.js';
|
10
10
|
import { d as defineCustomElement$4 } from './p-6925a52c.js';
|
11
|
-
import { d as defineCustomElement$3 } from './p-
|
12
|
-
import { d as defineCustomElement$2 } from './p-
|
11
|
+
import { d as defineCustomElement$3 } from './p-1ab9b2d3.js';
|
12
|
+
import { d as defineCustomElement$2 } from './p-da211009.js';
|
13
13
|
|
14
14
|
class ButtonCellRenderer {
|
15
15
|
init(params) {
|
@@ -465,12 +465,12 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends H {
|
|
465
465
|
};
|
466
466
|
}
|
467
467
|
const filterClass = this.filterOrientation === 'topbar' ? 'topbar-layout' : 'sidebar-layout';
|
468
|
-
return (h(Host, { key: '
|
468
|
+
return (h(Host, { key: 'ca27d66579b36a35943b42f26c152355337fd7e0' }, h("div", { key: 'a8441afd7cc158dcb845ef0e08e92a6f253295d4', class: "table-container" }, this.filterOrientation === 'sidebar' && (h("div", { key: '4562d5b52546a66bb44ed20d141770b82babe011', class: "sidebar-btn" }, h("ifx-button", { key: '2b1ca677c2d8534ef7e0019d9c0fee6a4c7ebeb2', type: "button", disabled: false, variant: "secondary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.toggleSidebarFilters() }, h("ifx-icon", { key: '4edc158cec10a16b3fdcec3389cbb726247219cc', icon: "cross-12" }), this.showSidebarFilters ? 'Hide Filters' : 'Show Filters'))), h("div", { key: 'd82c1a1d8d7c25f0c5d4301e552a1f07febc345c', class: filterClass }, this.filterOrientation === 'sidebar' && this.showSidebarFilters && (h("div", { key: '5000c0f4b4c342ce863d0c63042c41c7b10e71d0', class: "sidebar-container" }, h("div", { key: '971fa35458bbe4391b2bca5673bb4395db9ffb5c', class: "filters-title-container" }, h("span", { key: '71be790bc93bdefe9df3087de7d5f40f37a51b71', class: "filters-title" }, "Filters")), h("div", { key: 'e6e11f96cfdc23dd1e10441c5a68583f9f5e61a6', class: "set-filter-wrapper-sidebar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: '6fcc1e285a543c59c0c1d2b542ff10d28700af5d', name: "sidebar-filter" }))))), this.filterOrientation !== 'none' && this.filterOrientation !== 'sidebar' && (h("div", { key: '2ee1540762249a77400aa3cb509742ec12443eaa', class: "set-filter-wrapper-topbar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: '33e466bc340c5de4be400dcf4d7a0afd3ed3f323', name: "topbar-filter" })))), h("div", { key: 'f9d150eb60941ffa62cfd1fc31d302078da8e4a4', class: "table-pagination-wrapper" }, h("div", { key: '984fe856aa3e3df884c0adbe0a7aef7b218af0d5', class: "filter-chips" }, this.filterOrientation !== 'none' && this.filterOrientation !== 'topbar' && this.showSidebarFilters && (Object.keys(this.currentFilters).map(name => {
|
469
469
|
const filter = this.currentFilters[name];
|
470
470
|
const filterValues = filter.filterValues;
|
471
471
|
const isMultiSelect = filter.type !== 'text';
|
472
472
|
return filterValues.length > 0 ? (h("ifx-chip", { placeholder: name, size: "large", variant: isMultiSelect ? "multi" : "single", readOnly: true, value: filterValues, key: name }, filterValues.map(filterValue => (h("ifx-chip-item", { value: filterValue, selected: true, key: filterValue }, filterValue))))) : null;
|
473
|
-
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: '
|
473
|
+
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: '15ddf1b9ec292abcdeef5df58e1915bcb1c0cbc7', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.handleResetButtonClick() }, h("ifx-icon", { key: '2a61e609ae85ee9a9cf7b58fc980377285172c6e', icon: "curved-arrow-left-16" }), "Reset all"))), this.filterOrientation !== 'none' && (h("div", { key: 'b6e47ae8fdf63b9c290892007365fc8d016c48f2', class: "matching-results-container" }, h("span", { key: '6d446c83abea3b3975666b590beee51676deb99b', class: "matching-results-count" }, this.matchingResultsCount), h("span", { key: '6dfee4e96e729a799a63f567631eacbaf8ccc6db', class: "matching-results-text" }, "matching results"))), h("div", { key: '06ae73e8b0f9ee655d7e85b8a87e0b6f96bd1173', id: "table-wrapper", class: this.getTableClassNames() }, h("div", { key: '22a918d161d6b827030d2c7a41f43586fea5de0b', id: `ifxTable-${this.uniqueKey}`, class: 'ifx-ag-grid', style: style, ref: (el) => this.container = el })), this.pagination ? h("ifx-pagination", { total: this.allRowData.length, "current-page": this.currentPage, "items-per-page": '[{"value":"ten","label":"10","selected":true}, {"value":"Twenty","label":"20","selected":false}, {"value":"Thirty","label":"30","selected":false}]' }) : null)))));
|
474
474
|
}
|
475
475
|
hasButtonCol() {
|
476
476
|
return this.getColData().some(column => column.field === 'button');
|
@@ -200,9 +200,9 @@ const IfxTabs$1 = /*@__PURE__*/ proxyCustomElement(class IfxTabs extends H {
|
|
200
200
|
}
|
201
201
|
render() {
|
202
202
|
var _a;
|
203
|
-
return (h("div", { key: '
|
203
|
+
return (h("div", { key: 'f2663abe44d99b51791ae20c24fd6d8255bf80b5', "aria-label": "navigation tabs", class: `tabs ${this.internalOrientation}` }, h("ul", { key: '0b949be9e67da9496346bf619af9c322236c8fd3', role: "tablist", class: "tabs-list" }, (_a = this.tabObjects) === null || _a === void 0 ? void 0 :
|
204
204
|
_a.map((tab, index) => (h("li", { class: this.getTabItemClass(index), ref: (el) => (this.tabHeaderRefs[index] = el), onMouseDown: (event) => event.preventDefault(), onClick: () => this.handleClick(tab, index), "aria-selected": index === this.internalActiveTabIndex ? 'true' : 'false', "aria-disabled": tab.disabled ? 'true' : 'false', role: "tab" }, (tab === null || tab === void 0 ? void 0 : tab.icon) ? h("ifx-icon", { icon: tab.icon }) : '', tab === null || tab === void 0 ? void 0 :
|
205
|
-
tab.header))), h("div", { key: '
|
205
|
+
tab.header))), h("div", { key: '2caa33a941a3aaa5b6a9d2e6f748f7880f1037cf', class: "active-border" })), h("div", { key: '9dc32106ee0e5dda07ed4e33c829a67772463c9d', class: "tab-content" }, Array.from(this.tabObjects).map((_, index) => (h("div", { style: { display: index === this.internalActiveTabIndex ? 'block' : 'none' } }, h("slot", { name: `tab-${index}` })))))));
|
206
206
|
}
|
207
207
|
get el() { return this; }
|
208
208
|
static get watchers() { return {
|
@@ -11,7 +11,7 @@ const Tag = /*@__PURE__*/ proxyCustomElement(class Tag extends H {
|
|
11
11
|
this.__attachShadow();
|
12
12
|
}
|
13
13
|
render() {
|
14
|
-
return (h("div", { key: '
|
14
|
+
return (h("div", { key: '77c20a8047f83ad313438cefde30e0bc5b6551ef', "aria-label": "a tag", class: "container" }, this.icon && (h("ifx-icon", { key: 'd13d992176898e60faf045c1ebec0967e44d0825', icon: this.icon })), h("a", { key: '2507414c6bb49499c9f9c0361575b6df1fbb55f6', href: "javascript:void(null);", class: "label-wrapper" }, h("p", { key: '946daf5532025ce4da084044bb14e1cbd7032ad0', class: "label" }, h("slot", { key: 'fe49bdfd098c349cfdcbfa414717a34dc28ef617' })))));
|
15
15
|
}
|
16
16
|
static get style() { return IfxTagStyle0; }
|
17
17
|
}, [1, "ifx-tag", {
|
@@ -4,9 +4,9 @@ import { d as defineCustomElement$8 } from './p-c7cced92.js';
|
|
4
4
|
import { d as defineCustomElement$7 } from './p-4cd3a589.js';
|
5
5
|
import { d as defineCustomElement$6 } from './p-5f01ab1d.js';
|
6
6
|
import { d as defineCustomElement$5 } from './p-be22dd11.js';
|
7
|
-
import { d as defineCustomElement$4 } from './p-
|
8
|
-
import { d as defineCustomElement$3 } from './p-
|
9
|
-
import { d as defineCustomElement$2 } from './p-
|
7
|
+
import { d as defineCustomElement$4 } from './p-efb9a50a.js';
|
8
|
+
import { d as defineCustomElement$3 } from './p-bf0b6855.js';
|
9
|
+
import { d as defineCustomElement$2 } from './p-c24216e7.js';
|
10
10
|
|
11
11
|
const templatesUiCss = "*{padding:0;margin:0}.templates__container{display:flex;flex-direction:column;align-items:center}.templates__container .back__btn-wrapper{display:none}.templates__container .back__btn-wrapper.show{display:flex;justify-content:space-between;width:100%}.templates__container .back__btn-wrapper .alert__wrapper{display:none}.templates__container .back__btn-wrapper .alert__wrapper.show{display:block}.templates__container .templates__wrapper{display:flex;padding:20px 0px;gap:20px;flex-wrap:wrap}.templates__container .templates__title.hide{display:none}";
|
12
12
|
const IfxTemplatesUiStyle0 = templatesUiCss;
|
@@ -55,7 +55,7 @@ const TemplatesUI = /*@__PURE__*/ proxyCustomElement(class TemplatesUI extends H
|
|
55
55
|
alertWrapper.classList.remove('show');
|
56
56
|
}
|
57
57
|
render() {
|
58
|
-
return (h("div", { key: '
|
58
|
+
return (h("div", { key: 'bf4c5ead310d88f7fe5c9bc213e40267bf429cb8', class: 'templates__container' }, h("div", { key: 'e248745b8db68d2b1512202fa134d042edeb010e', class: "back__btn-wrapper" }, h("ifx-icon-button", { key: 'f10c5d5b37071427b674f11a4debd5a80df1af5e', onClick: () => this.filterTemplates(false), shape: "round", variant: "tertiary", icon: "arrow-left-16", target: "_blank", size: "m" }), h("div", { key: 'e5960d85b1e46f37580a3b62547164d0356cf575', class: "alert__wrapper" }, h("ifx-alert", { key: 'ea1ce75c12f68e79f688e5bca76f40cf25fd72f9', onClick: () => this.closeAlert(), "aria-live": "assertive", variant: "danger", icon: "c-info-24" }, "All fields are mandatory"))), h("h2", { key: '8bbfa839ab5da993bc89ff3371e8bc64460f1c68', class: "templates__title" }, "Choose your template"), h("div", { key: '9f30ea639383bde71678215f0b80ee7111c4c5b1', class: "templates__wrapper" }, h("ifx-template", { key: '06d4725d8707904e4af6c4e302fbd00900cb0d9b', name: 'template-01', thumbnail: this.tableTemplate }), h("ifx-template", { key: '755c2d29318c854be38e364d6c971b9931da19c6', name: 'template-02', thumbnail: this.wizardTemplate }))));
|
59
59
|
}
|
60
60
|
static get assetsDirs() { return ["assets"]; }
|
61
61
|
get el() { return this; }
|
@@ -53,7 +53,7 @@ const TextArea = /*@__PURE__*/ proxyCustomElement(class TextArea extends H {
|
|
53
53
|
}
|
54
54
|
render() {
|
55
55
|
var _a, _b;
|
56
|
-
return (h(Host, { key: '
|
56
|
+
return (h(Host, { key: '146538196346541c8b375878f2f2160375acd65a', class: `wrapper--${this.error ? 'error' : ''} wrapper--${this.disabled ? 'disabled' : ''}` }, h("label", { key: '04ef3fae2b80fff2a201cc9525794fa9eaaf3e24', class: 'wrapper__label', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 : _a.trim()), h("div", { key: '385249e168003aa04ad324959849f48efecfbab5', class: 'wrapper__textarea' }, h("textarea", { key: 'f4a39d7c68dae8ea6dde67c1d11a7d5c94d41487', "aria-label": 'a textarea', "aria-value": this.value, "aria-disabled": this.disabled, id: this.inputId, style: { resize: this.resize }, name: this.name ? this.name : this.inputId, cols: this.cols, rows: this.rows, maxlength: this.maxlength, wrap: this.wrap, disabled: this.disabled, readonly: this.readOnly, placeholder: this.placeholder, value: this.value, onInput: (e) => this.handleOnInput(e) })), ((_b = this.caption) === null || _b === void 0 ? void 0 : _b.trim()) && (h("div", { key: 'b6d6d4127b5db04d80031fda02a4a34ccc61c439', class: 'wrapper__caption' }, this.caption.trim()))));
|
57
57
|
}
|
58
58
|
static get formAssociated() { return true; }
|
59
59
|
get el() { return this; }
|
@@ -155,10 +155,10 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends H {
|
|
155
155
|
'tooltip-extended': true,
|
156
156
|
'visible': this.tooltipVisible,
|
157
157
|
};
|
158
|
-
return (h("div", { key: '
|
159
|
-
h("div", { key: '
|
160
|
-
h("div", { key: '
|
161
|
-
h("svg", { class: "extended_icon", xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24" }, h("path", { stroke: "#fff", "stroke-linecap": "round", "stroke-linejoin": "round", d: "M20.5 2.5h-16a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-16a2 2 0 0 0-2-2Z" }), h("path", { stroke: "#fff", d: "M19 17H6l2.5-4 2.097 2.516.405.486.379-.506 4.118-5.49.003-.002L19 17Z" }), h("path", { fill: "#fff", d: "M10 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" }))), h("div", { key: '
|
158
|
+
return (h("div", { key: '506af35d3cc603e10da9e7e876b0cbb8f178848f', "aria-label": "a tooltip showing important information", "aria-value": this.header, class: "tooltip__container" }, h("slot", { key: 'b9e4ba99abe1e3a8f6b565bdc7e0d474aea87978' }), this.variant.toLowerCase() === 'dismissible' && h("div", { key: 'c456b23ba375682d6034372ac7b6bf4f7859c043', class: tooltipDismissible }, h("button", { key: '65a84189cbdad93b6089e272f9e13338eb0108b4', "aria-label": "Close Tooltip", class: "close-button", onClick: this.onDismissClick }, h("ifx-icon", { key: '3955b9bfb5df89fc6c66d711fa4656150611a7f1', icon: "cross16" })), h("div", { key: '03258c50dbb13154e924243871ffbccb6928dc38', class: "tooltip-dismissible-content" }, this.header && h("div", { key: 'ba48e4e73733a42793612ebbca4b06c84d3956c7', class: "tooltip-dismissible-header" }, this.header), h("div", { key: '46bdcbb01fb37b5891d3aa0c488a6c92e07541d2', class: "tooltip-dismissible-body" }, this.text)), h("svg", { key: '7aa9ebdb6c80cd5bab576416049f6c3b81973502', class: "tooltip-arrow-svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '7556ea74cff95938870d45dc451034d7446cc229', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'compact' &&
|
159
|
+
h("div", { key: '1352f2d81b04fb79aa5bb4c280839a819264f00c', class: tooltipCompact }, this.text, h("svg", { key: '386e78fbd87ddd0b69a5689bc6fee904a4600326', class: "tooltip-arrow-svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '84b1f1ff3fd5087f4a324846d0709aebb8f26a94', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'extended' &&
|
160
|
+
h("div", { key: 'ede68a870e45f4f643d7eac689e88a9d20d1d758', class: tooltipExtended }, h("slot", { key: '1243ab83fc3c6290e7f27c0246d5e1e71e1c4264', name: "icon" }, this.icon ? h("div", { class: "extended_icon" }, h("ifx-icon", { icon: this.icon })) :
|
161
|
+
h("svg", { class: "extended_icon", xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24" }, h("path", { stroke: "#fff", "stroke-linecap": "round", "stroke-linejoin": "round", d: "M20.5 2.5h-16a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-16a2 2 0 0 0-2-2Z" }), h("path", { stroke: "#fff", d: "M19 17H6l2.5-4 2.097 2.516.405.486.379-.506 4.118-5.49.003-.002L19 17Z" }), h("path", { fill: "#fff", d: "M10 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" }))), h("div", { key: '58c82f5021968d4a92c2009d0ba6f4049b50681f', class: "tooltip-extended-content" }, this.header && h("div", { key: '455b7a234ae4516b452a0b95c318a18ef8f7f3ec', class: "tooltip-extended-header" }, this.header), h("div", { key: '8fb07ece39017c45e43becf4754055356fb506fb', class: "tooltip-extended-body" }, this.text)), h("svg", { key: '1b72fb690cdcfd11c33df69539b54daf0944c607', class: "tooltip-arrow-svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'f2f6f5b41a8bb22821a89f9cdb62873c5323f1a9', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" })))));
|
162
162
|
}
|
163
163
|
get el() { return this; }
|
164
164
|
static get watchers() { return {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h } from './p-e27586b6.js';
|
2
2
|
import { d as defineCustomElement$3 } from './p-4cd3a589.js';
|
3
3
|
import { d as defineCustomElement$2 } from './p-5f01ab1d.js';
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
4
|
+
import { d as defineCustomElement$1 } from './p-da211009.js';
|
5
5
|
|
6
6
|
const paginationCss = "@charset \"UTF-8\";:root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{display:inline-flex}.container{display:inline-flex;justify-content:center;align-items:center;gap:32px;font-family:var(--ifx-font-family)}.container .items__per-page-wrapper{display:flex;align-items:center;gap:16px}.container .items__per-page-wrapper .items__per-page-label{color:#1D1D1D;font-size:14px;font-style:normal;font-weight:600;line-height:20px}.container .items__per-page-wrapper .items__per-page-field{display:flex;flex-direction:column;align-items:flex-start}.container .items__per-page-wrapper .items__per-page-field ifx-select{width:92px}.container .items__total-wrapper{display:flex;justify-content:center;align-items:center;gap:12px}.container .items__total-wrapper .items__total-button{display:flex;width:40px;height:40px;justify-content:center;align-items:center;border-radius:100px;border:1px solid #BFBBBB;background:#FFF}.container .items__total-wrapper .page__numbers-wrapper{display:flex;justify-content:center;align-items:center;gap:12px}.container .items__total-wrapper .page__numbers-wrapper .page__number-item{display:flex;padding:6px;flex-direction:column;justify-content:center;align-items:center;gap:10px;border-radius:100px}.container .items__total-wrapper .page__numbers-wrapper .page__number-item.active{background-color:#0A8276}.container .items__total-wrapper .page__numbers-wrapper .page__number-item.active span{color:#fff}.container .items__total-wrapper .page__numbers-wrapper .page__number-item:hover{cursor:pointer}.container .items__total-wrapper .page__numbers-wrapper .page__number-item:hover:not(.active){background-color:#ddd}.container .items__total-wrapper .page__numbers-wrapper .page__number-item:active:not(.active){background-color:#575352}.container .items__total-wrapper .page__numbers-wrapper .page__number-item span{display:flex;width:16px;height:16px;flex-direction:column;justify-content:center;color:#1D1D1D;text-align:center;font-size:13px;font-style:normal;font-weight:400;line-height:20px}.pagination{display:flex}.pagination ifx-icon-button:first-of-type{margin-right:12px}.pagination ifx-icon-button:last-of-type{margin-left:12px}a{padding:8px;border-radius:100px}ol{list-style-type:none;padding:0;margin:0;display:inline-flex;align-items:center;gap:12px}li{display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:100px}li:hover:not(.active) a{background-color:#EEEDED}li:active:not(.active) a{background-color:#575352;color:#fff}li.active{background-color:#0A8276}li.active a{color:#fff}li:hover{cursor:pointer}li a{text-decoration:none;display:flex;width:16px;height:16px;flex-direction:column;justify-content:center;color:#1D1D1D;text-align:center;font-size:13px;font-style:normal;font-weight:400;line-height:20px;align-items:center}.prev.disabled,.next.disabled{cursor:default}.prev.disabled:hover,.next.disabled:hover{cursor:default;text-decoration:none}.prev{margin-right:2.5px}.next{margin-left:2.5px}@media (min-width: 400px){li:first-child,li.active-sibling,li.active,li.active+li,li:last-child{display:inline-flex !important;flex-direction:row}li:first-child:nth-last-child(n+8)~li{display:none}li:first-child:nth-last-child(n+8)~li.active-sibling:before{content:\"…\";font-size:13px;display:inline-block;margin-right:6px}li:first-child:nth-last-child(n+8)~li.active+li:after{content:\"…\";font-size:13px;display:inline-block;margin-left:6px}li:first-child:nth-last-child(n+8)~li:nth-last-child(-n+5){display:inline-flex;flex-direction:row}li:first-child:nth-last-child(n+8)~li:nth-last-child(5):before{content:\"…\";font-size:13px;display:inline-block;margin-right:6px}li:first-child:nth-last-child(n+8)~li:nth-child(-n+2):before,li:first-child:nth-last-child(n+8)~li:nth-child(-n+2):after,li:first-child:nth-last-child(n+8)~li:nth-last-child(-n+2):before,li:first-child:nth-last-child(n+8)~li:nth-last-child(-n+2):after,li:first-child:nth-last-child(n+8)~li.active-sibling:nth-last-child(-n+4):before,li:first-child:nth-last-child(n+8)~li.active-sibling:nth-last-child(-n+4):after{display:none !important}li:first-child:nth-last-child(n+8).active~li:nth-last-child(-n+5),li:first-child:nth-last-child(n+8)~li.active~li:nth-last-child(-n+5){display:none}li:first-child:nth-last-child(n+8).active~li:nth-last-child(-n+5):before,li:first-child:nth-last-child(n+8)~li.active~li:nth-last-child(-n+5):before{display:none}li:first-child:nth-last-child(n+8).active~li:nth-child(-n+5),li:first-child:nth-last-child(n+8)~li.active~li:nth-child(-n+5){display:inline-flex !important;flex-direction:row}li:first-child:nth-last-child(n+8).active~li:nth-child(-n+4):after,li:first-child:nth-last-child(n+8)~li.active~li:nth-child(-n+4):after{display:none}li:first-child:nth-last-child(n+8).active~li:nth-child(5):after,li:first-child:nth-last-child(n+8)~li.active~li:nth-child(5):after{content:\"…\";font-size:13px;display:inline-block;margin-left:6px}li:first-child:nth-last-child(n+8).active:before,li:first-child:nth-last-child(n+8).active:after,li:first-child:nth-last-child(n+8)~li.active:before,li:first-child:nth-last-child(n+8)~li.active:after{display:none}}";
|
7
7
|
const IfxPaginationStyle0 = paginationCss;
|
@@ -159,7 +159,7 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class Pagination extends H {
|
|
159
159
|
this.initPagination(paginationElement);
|
160
160
|
}
|
161
161
|
render() {
|
162
|
-
return (h("div", { key: '
|
162
|
+
return (h("div", { key: '53dba8a48752bd5d92abac975c8e4c3db65ae40a', "aria-label": 'a pagination', "aria-value": this.currentPage, class: "container" }, h("div", { key: '8a1658996dc6672b7e1678a728bf5764a31e1b57', class: 'items__per-page-wrapper' }, h("div", { key: '5b2c09164b394d79a54dbb47d137755bb550720a', class: 'items__per-page-label' }, "Results per Page"), h("div", { key: 'f6267cbc5e1e3083a2dea30435259e2f340e527d', class: 'items__per-page-field' }, h("ifx-select", { key: '784ca9e3226720ad9e2c895527dcc876a27a2d07', value: 'undefined', size: 's', placeholder: 'false', "show-search": 'false', "search-placeholder-value": 'Search...', disabled: false, error: false, "error-message": 'Error', label: '', "placeholder-value": 'Placeholder', options: this.filteredItemsPerPage }))), h("div", { key: 'ce02a2a122a15939498ad3a9795b85e5ef56c02d', class: 'items__total-wrapper' }, h("div", { key: 'bd19a037778a3fd8a4026df5b495f42a17083392', class: 'page__numbers-wrapper' }, h("div", { key: '4c7616b926a2b3da40e629246b48d6b61992c9b1', class: "pagination" }, h("ifx-icon-button", { key: 'ac2eee7d5b4fc00122486a87b677d8364e8eb6df', variant: 'secondary', class: "prev", color: 'primary', icon: 'arrow-left-24' }), h("ol", { key: '3fe0b33cbc563154e5805a6141bfb611d7ade194' }, this.numberOfPages.map((item) => h("li", { class: `${this.internalPage === item ? 'active' : ""}` }, h("a", { href: undefined }, item)))), h("ifx-icon-button", { key: '39dd308535225eb7b5a376af4b8c6f904e100fc1', class: "next", variant: 'secondary', color: 'primary', icon: 'arrow-right-24' }))))));
|
163
163
|
}
|
164
164
|
get el() { return this; }
|
165
165
|
static get style() { return IfxPaginationStyle0; }
|
@@ -203,4 +203,4 @@ function defineCustomElement() {
|
|
203
203
|
|
204
204
|
export { Pagination as P, defineCustomElement as d };
|
205
205
|
|
206
|
-
//# sourceMappingURL=p-
|
206
|
+
//# sourceMappingURL=p-1ab9b2d3.js.map
|