@infineon/infineon-design-system-stencil 31.4.0--canary.1681.9592b12da32b64b6c8ace449f71e3399531ff0ae.0 → 31.4.0--canary.1722.4c36ad612a71a0b0b1ae7544eda5883b207d8359.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.cjs.entry.js +4 -11
- package/dist/cjs/ifx-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-chip_3.cjs.entry.js +11 -11
- package/dist/cjs/ifx-content-switcher-item.cjs.entry.js +1 -1
- package/dist/cjs/ifx-content-switcher.cjs.entry.js +1 -1
- package/dist/cjs/ifx-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/ifx-dropdown-header.cjs.entry.js +1 -1
- package/dist/cjs/ifx-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/ifx-dropdown-menu.cjs.entry.js +2 -2
- package/dist/cjs/ifx-dropdown-separator.cjs.entry.js +1 -1
- package/dist/cjs/ifx-dropdown-trigger-button.cjs.entry.js +2 -2
- package/dist/cjs/ifx-dropdown-trigger.cjs.entry.js +1 -1
- package/dist/cjs/ifx-dropdown.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-footer-column.cjs.entry.js +1 -1
- package/dist/cjs/ifx-footer.cjs.entry.js +4 -4
- package/dist/cjs/ifx-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/ifx-icon.cjs.entry.js +1 -1
- package/dist/cjs/ifx-icons-preview.cjs.entry.js +1 -1
- package/dist/cjs/ifx-link.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-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 +2 -2
- 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_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 +17 -4
- package/dist/cjs/ifx-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/ifx-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/index-1ce5aae1.js +0 -4
- 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 -1
- package/dist/collection/components/checkbox/checkbox.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +3 -26
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.stories.js +3 -12
- package/dist/collection/components/checkbox/checkbox.stories.js.map +1 -1
- package/dist/collection/components/chip/chip-item/chip-item.js +2 -2
- package/dist/collection/components/chip/chip.js +8 -8
- package/dist/collection/components/content-switcher/content-switcher-item.js +1 -1
- package/dist/collection/components/content-switcher/content-switcher.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/dropdown/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown/dropdown-menu/dropdown-menu.js +2 -2
- package/dist/collection/components/dropdown/dropdown-seperator/dropdown-separator.js +1 -1
- package/dist/collection/components/dropdown/dropdown-trigger/dropdown-trigger.js +1 -1
- package/dist/collection/components/dropdown/dropdown-trigger-button/dropdown-trigger-button.js +2 -2
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/footer/footer-column.js +1 -1
- package/dist/collection/components/footer/footer.js +4 -4
- package/dist/collection/components/icon/infineonIconStencil.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/icons-preview/icons-preview.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- 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 +2 -2
- 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.css +12 -0
- package/dist/collection/components/textarea/textarea.js +36 -3
- package/dist/collection/components/textarea/textarea.js.map +1 -1
- package/dist/collection/components/textarea/textarea.stories.js +11 -0
- package/dist/collection/components/textarea/textarea.stories.js.map +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-accordion-item.js +1 -1
- package/dist/components/ifx-alert.js +1 -1
- package/dist/components/ifx-basic-table.js +1 -1
- package/dist/components/ifx-breadcrumb-item-label.js +1 -1
- package/dist/components/ifx-checkbox.js +1 -1
- package/dist/components/ifx-chip-item.js +1 -1
- package/dist/components/ifx-chip.js +1 -1
- package/dist/components/ifx-content-switcher-item.js +1 -1
- package/dist/components/ifx-content-switcher.js +1 -1
- package/dist/components/ifx-date-picker.js +2 -2
- package/dist/components/ifx-dropdown-header.js +1 -1
- package/dist/components/ifx-dropdown-item.js +2 -2
- package/dist/components/ifx-dropdown-menu.js +2 -2
- package/dist/components/ifx-dropdown-separator.js +1 -1
- package/dist/components/ifx-dropdown-trigger-button.js +3 -3
- package/dist/components/ifx-dropdown-trigger.js +1 -1
- package/dist/components/ifx-dropdown.js +1 -1
- package/dist/components/ifx-faq.js +3 -3
- package/dist/components/ifx-filter-accordion.js +4 -4
- package/dist/components/ifx-filter-bar.js +2 -2
- package/dist/components/ifx-filter-search.js +3 -3
- package/dist/components/ifx-filter-type-group.js +1 -1
- package/dist/components/ifx-footer-column.js +1 -1
- package/dist/components/ifx-footer.js +4 -4
- package/dist/components/ifx-icon-button.js +1 -1
- package/dist/components/ifx-icon.js +1 -1
- package/dist/components/ifx-icons-preview.js +4 -4
- package/dist/components/ifx-link.js +1 -1
- package/dist/components/ifx-list-entry.js +4 -4
- package/dist/components/ifx-list.js +2 -2
- package/dist/components/ifx-modal.js +4 -4
- package/dist/components/ifx-multiselect.js +1 -1
- package/dist/components/ifx-navbar-item.js +3 -3
- package/dist/components/ifx-navbar-profile.js +3 -3
- package/dist/components/ifx-navbar.js +4 -4
- package/dist/components/ifx-notification.js +1 -1
- package/dist/components/ifx-number-indicator.js +1 -1
- package/dist/components/ifx-overview-table.js +4 -4
- 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 +3 -3
- package/dist/components/ifx-search-field.js +1 -1
- package/dist/components/ifx-segment.js +2 -2
- package/dist/components/ifx-segmented-control.js +3 -3
- package/dist/components/ifx-select.js +1 -1
- package/dist/components/ifx-set-filter.js +6 -6
- package/dist/components/ifx-sidebar-item.js +7 -7
- package/dist/components/ifx-sidebar-title.js +1 -1
- package/dist/components/ifx-sidebar.js +5 -5
- package/dist/components/ifx-slider.js +3 -3
- package/dist/components/ifx-spinner.js +1 -1
- package/dist/components/ifx-status.js +1 -1
- package/dist/components/ifx-step.js +5 -5
- 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 +10 -10
- package/dist/components/ifx-tabs.js +3 -3
- package/dist/components/ifx-tag.js +2 -2
- package/dist/components/ifx-template.js +1 -1
- package/dist/components/ifx-templates-ui.js +8 -8
- package/dist/components/ifx-text-field.js +1 -1
- package/dist/components/ifx-textarea.js +18 -4
- package/dist/components/ifx-textarea.js.map +1 -1
- package/dist/components/ifx-tooltip.js +5 -5
- package/dist/components/{p-977668df.js → p-0b116203.js} +3 -3
- package/dist/components/{p-977668df.js.map → p-0b116203.js.map} +1 -1
- package/dist/components/{p-3d46d2af.js → p-0ca597ea.js} +6 -6
- package/dist/components/{p-3d46d2af.js.map → p-0ca597ea.js.map} +1 -1
- package/dist/components/{p-5fe24279.js → p-3cbe73f9.js} +2 -2
- package/dist/components/{p-5fe24279.js.map → p-3cbe73f9.js.map} +1 -1
- package/dist/components/{p-27216109.js → p-4f70863f.js} +5 -5
- package/dist/components/{p-27216109.js.map → p-4f70863f.js.map} +1 -1
- package/dist/components/{p-d8045654.js → p-6d91c497.js} +6 -14
- package/dist/components/p-6d91c497.js.map +1 -0
- package/dist/components/{p-25dce5bf.js → p-711cfe1c.js} +3 -3
- package/dist/components/{p-25dce5bf.js.map → p-711cfe1c.js.map} +1 -1
- package/dist/components/{p-80856f14.js → p-7b91b0ec.js} +6 -6
- package/dist/components/{p-80856f14.js.map → p-7b91b0ec.js.map} +1 -1
- package/dist/components/{p-b3918f07.js → p-82ea5424.js} +5 -5
- package/dist/components/{p-b3918f07.js.map → p-82ea5424.js.map} +1 -1
- package/dist/components/{p-5f01ab1d.js → p-8e549467.js} +3 -3
- package/dist/components/{p-5f01ab1d.js.map → p-8e549467.js.map} +1 -1
- package/dist/components/{p-dbf6be15.js → p-9ef57ec1.js} +2 -2
- package/dist/components/{p-dbf6be15.js.map → p-9ef57ec1.js.map} +1 -1
- package/dist/components/{p-fd590059.js → p-a5768429.js} +11 -11
- package/dist/components/{p-fd590059.js.map → p-a5768429.js.map} +1 -1
- package/dist/components/{p-9c7d6c8c.js → p-a803e6b3.js} +4 -4
- package/dist/components/{p-9c7d6c8c.js.map → p-a803e6b3.js.map} +1 -1
- package/dist/components/{p-be22dd11.js → p-aa905dcf.js} +2 -2
- package/dist/components/{p-be22dd11.js.map → p-aa905dcf.js.map} +1 -1
- package/dist/components/{p-6925a52c.js → p-bd0c2dc7.js} +2 -2
- package/dist/components/{p-6925a52c.js.map → p-bd0c2dc7.js.map} +1 -1
- package/dist/components/{p-ec51e955.js → p-c6d94a88.js} +2 -2
- package/dist/components/{p-ec51e955.js.map → p-c6d94a88.js.map} +1 -1
- package/dist/components/{p-4cd3a589.js → p-dd2f84a3.js} +2 -2
- package/dist/components/{p-4cd3a589.js.map → p-dd2f84a3.js.map} +1 -1
- package/dist/components/{p-15a737a8.js → p-df1ab648.js} +4 -4
- package/dist/components/{p-15a737a8.js.map → p-df1ab648.js.map} +1 -1
- package/dist/components/{p-2cb994f0.js → p-e288bc05.js} +5 -5
- package/dist/components/{p-2cb994f0.js.map → p-e288bc05.js.map} +1 -1
- package/dist/components/{p-47853a7b.js → p-f6eb75e8.js} +3 -3
- package/dist/components/{p-47853a7b.js.map → p-f6eb75e8.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.entry.js +4 -11
- package/dist/esm/ifx-checkbox.entry.js.map +1 -1
- package/dist/esm/ifx-chip_3.entry.js +11 -11
- package/dist/esm/ifx-content-switcher-item.entry.js +1 -1
- package/dist/esm/ifx-content-switcher.entry.js +1 -1
- package/dist/esm/ifx-date-picker.entry.js +1 -1
- package/dist/esm/ifx-dropdown-header.entry.js +1 -1
- package/dist/esm/ifx-dropdown-item.entry.js +1 -1
- package/dist/esm/ifx-dropdown-menu.entry.js +2 -2
- package/dist/esm/ifx-dropdown-separator.entry.js +1 -1
- package/dist/esm/ifx-dropdown-trigger-button.entry.js +2 -2
- package/dist/esm/ifx-dropdown-trigger.entry.js +1 -1
- package/dist/esm/ifx-dropdown.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-footer-column.entry.js +1 -1
- package/dist/esm/ifx-footer.entry.js +4 -4
- package/dist/esm/ifx-icon-button.entry.js +1 -1
- package/dist/esm/ifx-icon.entry.js +1 -1
- package/dist/esm/ifx-icons-preview.entry.js +1 -1
- package/dist/esm/ifx-link.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-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 +2 -2
- 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_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 +18 -5
- package/dist/esm/ifx-textarea.entry.js.map +1 -1
- package/dist/esm/ifx-tooltip.entry.js +4 -4
- package/dist/esm/index-b4eaf00e.js +0 -4
- package/dist/esm/infineon-design-system-stencil.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
- package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js.map +1 -1
- package/dist/infineon-design-system-stencil/{p-f9298124.entry.js → p-011a8cce.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-025924da.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-939f2f37.entry.js.map → p-025924da.entry.js.map} +1 -1
- package/dist/infineon-design-system-stencil/{p-182854c8.entry.js → p-08c4de8b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-1b907dbd.entry.js → p-09597e91.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-2ad3b594.entry.js → p-09dfde13.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-65b50486.entry.js → p-0c19661f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-d3957af9.entry.js → p-0c34e7ab.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-272aab7f.entry.js → p-10d8c7e1.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c8fecc8e.entry.js → p-12535be0.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b1bd480b.entry.js → p-18c53271.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-b0156752.entry.js → p-1f41961c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-c85dc125.entry.js → p-24f531ca.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-84ae744c.entry.js → p-25f6f1ac.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-fcec715a.entry.js → p-28961fb4.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-5c144c40.entry.js → p-2defb71b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-2fac384a.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-cffc5d17.entry.js → p-32c62437.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-332afce9.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-1e44b494.entry.js → p-34182e4c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-37e5b4b4.entry.js → p-3bd8af6b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-386f62f0.entry.js → p-42ea3581.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-757132ca.entry.js → p-44bd4a94.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-ccba569e.entry.js → p-45ed163c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-733bcf3d.entry.js → p-4afef8e3.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-40466219.entry.js → p-4fb1282d.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-5031d738.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-59888005.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-5a1b3e6b.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-5a1b3e6b.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/p-5b444517.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-de532a77.entry.js → p-6e900d3f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-00baeb0a.entry.js → p-7032b693.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-9901114e.entry.js → p-8332bfe5.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-1c869534.entry.js → p-95db9c5f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-188274f9.entry.js → p-98ffcc21.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-2d8c79bc.entry.js → p-99d8b86a.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-bb5fbeb8.entry.js → p-9fd021ff.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-16430d76.entry.js → p-a7c2fbdb.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-cc859294.entry.js → p-ac14a8c6.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-0c747aac.entry.js → p-b37da251.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-1a93de53.entry.js → p-b5fe7ee8.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-7b9fd2df.entry.js → p-b8471917.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-8ab52cac.entry.js → p-bb1f03e1.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-fd866344.entry.js → p-be38376b.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-4d1670ed.entry.js → p-be8764ca.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-d2998185.entry.js → p-c67f057e.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-8c0927d0.entry.js → p-caa2c40c.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-d1efcac6.entry.js +2 -0
- package/dist/infineon-design-system-stencil/{p-7c1fe0b0.entry.js → p-e1be33ce.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-6167fe81.entry.js → p-e675986f.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-260c4f53.entry.js → p-ea52834a.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/p-eb752024.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-eb78b152.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-ecd0640d.entry.js +2 -0
- package/dist/infineon-design-system-stencil/p-ecd0640d.entry.js.map +1 -0
- package/dist/infineon-design-system-stencil/{p-fc9a13fa.entry.js → p-f0bed0a7.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-094349b2.entry.js → p-facf8df6.entry.js} +2 -2
- package/dist/infineon-design-system-stencil/{p-35979bd9.entry.js → p-fbed47fd.entry.js} +2 -2
- package/dist/types/components/checkbox/checkbox.d.ts +0 -2
- package/dist/types/components/checkbox/checkbox.stories.d.ts +0 -10
- package/dist/types/components/textarea/textarea.d.ts +4 -0
- package/dist/types/components/textarea/textarea.stories.d.ts +10 -0
- package/dist/types/components.d.ts +2 -30
- package/package.json +1 -1
- package/dist/cjs/ifx-checkbox-group.cjs.entry.js +0 -61
- package/dist/cjs/ifx-checkbox-group.cjs.entry.js.map +0 -1
- package/dist/collection/components/checkbox-group/checkbox-group.css +0 -59
- package/dist/collection/components/checkbox-group/checkbox-group.js +0 -238
- package/dist/collection/components/checkbox-group/checkbox-group.js.map +0 -1
- package/dist/collection/components/checkbox-group/checkbox-group.stories.js +0 -151
- package/dist/collection/components/checkbox-group/checkbox-group.stories.js.map +0 -1
- package/dist/components/ifx-checkbox-group.d.ts +0 -11
- package/dist/components/ifx-checkbox-group.js +0 -91
- package/dist/components/ifx-checkbox-group.js.map +0 -1
- package/dist/components/p-d8045654.js.map +0 -1
- package/dist/esm/ifx-checkbox-group.entry.js +0 -57
- package/dist/esm/ifx-checkbox-group.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-19ebd7a9.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-1b5ebeef.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-4701832b.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-4701832b.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-52c46b22.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-7721aa73.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-88a3c2e8.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-89c4fae2.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-8edfc4d5.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-b2535014.entry.js +0 -2
- package/dist/infineon-design-system-stencil/p-b2535014.entry.js.map +0 -1
- package/dist/infineon-design-system-stencil/p-bfd26211.entry.js +0 -2
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -19
- package/dist/types/components/checkbox-group/checkbox-group.stories.d.ts +0 -183
- /package/dist/infineon-design-system-stencil/{p-f9298124.entry.js.map → p-011a8cce.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-182854c8.entry.js.map → p-08c4de8b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1b907dbd.entry.js.map → p-09597e91.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2ad3b594.entry.js.map → p-09dfde13.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-65b50486.entry.js.map → p-0c19661f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-d3957af9.entry.js.map → p-0c34e7ab.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-272aab7f.entry.js.map → p-10d8c7e1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c8fecc8e.entry.js.map → p-12535be0.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b1bd480b.entry.js.map → p-18c53271.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-b0156752.entry.js.map → p-1f41961c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-c85dc125.entry.js.map → p-24f531ca.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-84ae744c.entry.js.map → p-25f6f1ac.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-fcec715a.entry.js.map → p-28961fb4.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-5c144c40.entry.js.map → p-2defb71b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7721aa73.entry.js.map → p-2fac384a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-cffc5d17.entry.js.map → p-32c62437.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-8edfc4d5.entry.js.map → p-332afce9.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1e44b494.entry.js.map → p-34182e4c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-37e5b4b4.entry.js.map → p-3bd8af6b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-386f62f0.entry.js.map → p-42ea3581.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-757132ca.entry.js.map → p-44bd4a94.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-ccba569e.entry.js.map → p-45ed163c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-733bcf3d.entry.js.map → p-4afef8e3.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-40466219.entry.js.map → p-4fb1282d.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-52c46b22.entry.js.map → p-5031d738.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-89c4fae2.entry.js.map → p-59888005.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-88a3c2e8.entry.js.map → p-5b444517.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-de532a77.entry.js.map → p-6e900d3f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-00baeb0a.entry.js.map → p-7032b693.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-9901114e.entry.js.map → p-8332bfe5.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1c869534.entry.js.map → p-95db9c5f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-188274f9.entry.js.map → p-98ffcc21.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-2d8c79bc.entry.js.map → p-99d8b86a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-bb5fbeb8.entry.js.map → p-9fd021ff.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-16430d76.entry.js.map → p-a7c2fbdb.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-cc859294.entry.js.map → p-ac14a8c6.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-0c747aac.entry.js.map → p-b37da251.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1a93de53.entry.js.map → p-b5fe7ee8.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7b9fd2df.entry.js.map → p-b8471917.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-8ab52cac.entry.js.map → p-bb1f03e1.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-fd866344.entry.js.map → p-be38376b.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-4d1670ed.entry.js.map → p-be8764ca.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-d2998185.entry.js.map → p-c67f057e.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-8c0927d0.entry.js.map → p-caa2c40c.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-1b5ebeef.entry.js.map → p-d1efcac6.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-7c1fe0b0.entry.js.map → p-e1be33ce.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-6167fe81.entry.js.map → p-e675986f.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-260c4f53.entry.js.map → p-ea52834a.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-19ebd7a9.entry.js.map → p-eb752024.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-bfd26211.entry.js.map → p-eb78b152.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-fc9a13fa.entry.js.map → p-f0bed0a7.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-094349b2.entry.js.map → p-facf8df6.entry.js.map} +0 -0
- /package/dist/infineon-design-system-stencil/{p-35979bd9.entry.js.map → p-fbed47fd.entry.js.map} +0 -0
@@ -137,7 +137,7 @@ export class Pagination {
|
|
137
137
|
this.initPagination(paginationElement);
|
138
138
|
}
|
139
139
|
render() {
|
140
|
-
return (h("div", { key: '
|
140
|
+
return (h("div", { key: '8c0511fb15d35448655931630d0327dcd15decef', "aria-label": 'a pagination', "aria-value": this.currentPage, class: "container" }, h("div", { key: '837e788cead111913b8f5c7a85d69806464f9d99', class: 'items__per-page-wrapper' }, h("div", { key: 'b7d44991c21d686b054aa0468d8f00d723258307', class: 'items__per-page-label' }, "Results per Page"), h("div", { key: '3220f2aff5b6e3bd4277c1d38b2056bd4d2aa7cf', class: 'items__per-page-field' }, h("ifx-select", { key: '2fa70f09f22b9996e174a36f8422898e0915742f', 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: '[{"value":"ten","label":"10","selected":true}, {"value":"Twenty","label":"20","selected":false}, {"value":"Thirty","label":"30","selected":false}]' }))), h("div", { key: 'd70ff369ce0157f3697baeaecfcf2f51b360be3f', class: 'items__total-wrapper' }, h("div", { key: '276b0401d80e9ba2b0a71dca92b5d377ae07f87a', class: 'page__numbers-wrapper' }, h("div", { key: '1ba61a67594fb314f54c94f99585ba8beec8a4dd', class: "pagination" }, h("ifx-icon-button", { key: '1878ff1be80497db9b908bff31ff312713889676', variant: 'secondary', class: "prev", color: 'primary', icon: 'arrow-left-24' }), h("ol", { key: '255a90ea782385a1eebb8e7addd38973f2e421a2' }, this.numberOfPages.map((item) => h("li", { class: `${this.internalPage === item ? 'active' : ""}` }, h("a", { href: undefined }, item)))), h("ifx-icon-button", { key: 'd16a8059bf6f3fbb6d17c71bc15a5e8ca8aa816e', class: "next", variant: 'secondary', color: 'primary', icon: 'arrow-right-24' }))))));
|
141
141
|
}
|
142
142
|
static get is() { return "ifx-pagination"; }
|
143
143
|
static get encapsulation() { return "shadow"; }
|
@@ -13,7 +13,7 @@ export class ProgressBar {
|
|
13
13
|
this.internalValue = this.value;
|
14
14
|
}
|
15
15
|
render() {
|
16
|
-
return (h("div", { key: '
|
16
|
+
return (h("div", { key: 'e4ba3d7984ad1444c1e07edbfb7623a5471c059e', "aria-label": 'a progress bar', "aria-value": this.value, class: `progress-bar ${this.size}` }, h("div", { key: '995d64992f539dae4deae9dfcdc04a93f9c3b255', class: "progress", style: { width: `${this.internalValue}%` } }, this.showLabel && this.size !== "s" && this.internalValue !== 0 && h("span", { key: 'f7cc21c3da249ef83d26d43fac35aa6efe69a425', class: "label" }, `${this.internalValue}%`))));
|
17
17
|
}
|
18
18
|
static get is() { return "ifx-progress-bar"; }
|
19
19
|
static get encapsulation() { return "shadow"; }
|
@@ -82,10 +82,10 @@ export class RadioButton {
|
|
82
82
|
}
|
83
83
|
}
|
84
84
|
render() {
|
85
|
-
return (h("div", { key: '
|
85
|
+
return (h("div", { key: 'fae53d7eafb00b6e7a1f58145af14c6eb2ab05df', role: "radio", "aria-checked": String(this.internalChecked), "aria-disabled": String(this.disabled), class: `radioButton__container ${this.size} ${this.disabled ? 'disabled' : ''}`, onClick: (e) => this.handleRadioButtonClick(e), tabindex: this.disabled ? -1 : 0 }, h("div", { key: '74ca30fb71544197ca732c626a9afd04ba6de059', class: `radioButton__wrapper
|
86
86
|
${this.internalChecked ? 'checked' : ''}
|
87
87
|
${this.disabled ? 'disabled' : ''}
|
88
|
-
${this.error ? 'error' : ''}` }, this.internalChecked && h("div", { key: '
|
88
|
+
${this.error ? 'error' : ''}` }, this.internalChecked && h("div", { key: 'cd925eb77b85631c617b809b5d232e54c10009f2', class: "radioButton__wrapper-mark" })), this.hasSlot && (h("div", { key: '2343f841254057810313be262f74076a40398913', class: `label ${this.size === "m" ? "label-m" : ""} ${this.disabled ? 'disabled' : ''}` }, h("slot", { key: '501a334c5b09cc21cc5c528cd1bdf1ff465011d9' }))), h("input", { key: 'e1c0bc279da1c379d552ab5bc25f274654514f62', type: "radio", hidden: true, ref: el => this.inputElement = el, name: this.name, value: this.value, checked: this.internalChecked, disabled: this.disabled, onClick: (e) => e.stopPropagation() })));
|
89
89
|
}
|
90
90
|
static get is() { return "ifx-radio-button"; }
|
91
91
|
static get encapsulation() { return "shadow"; }
|
@@ -29,7 +29,7 @@ export class SearchBar {
|
|
29
29
|
this.value = event.detail;
|
30
30
|
}
|
31
31
|
render() {
|
32
|
-
return (h("div", { key: '
|
32
|
+
return (h("div", { key: '8d79e2302e0e1d0f457a5ce94740966b8f7a6095', "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" })))));
|
33
33
|
}
|
34
34
|
static get is() { return "ifx-search-bar"; }
|
35
35
|
static get encapsulation() { return "shadow"; }
|
@@ -45,7 +45,7 @@ export class SearchField {
|
|
45
45
|
this.showDeleteIconInternalState = false;
|
46
46
|
}
|
47
47
|
render() {
|
48
|
-
return (h("div", { key: '
|
48
|
+
return (h("div", { key: 'dee8f8a10987683421db49a63c7e2f7a66ce1b64', "aria-label": "a search field for user input", "aria-disabled": this.disabled, "aria-value": this.value, class: 'search-field' }, h("div", { key: 'e6cc99edb05791bb80be7c2262088c668d6424b7', class: this.getWrapperClassNames(), tabindex: 1, onFocus: () => this.focusInput(), onClick: () => this.focusInput() }, h("ifx-icon", { key: '50cf96f238932cf46b1f0186bcb3b8a96a207889', icon: "search-16", class: "search-icon" }), h("input", { key: '358c300cc7c03ef61f1725b4c2380180eb7c26f2', ref: (el) => (this.inputElement = el), type: "text", onInput: () => this.handleInput(), placeholder: this.placeholder, disabled: this.disabled, maxlength: this.maxlength, value: this.value }), this.showDeleteIcon && this.showDeleteIconInternalState ? (h("ifx-icon", { icon: "cremove16", class: "delete-icon", onClick: this.handleDelete })) : null)));
|
49
49
|
}
|
50
50
|
getSizeClass() {
|
51
51
|
return `${this.size}` === "s"
|
@@ -18,7 +18,7 @@ export class Segment {
|
|
18
18
|
}
|
19
19
|
}
|
20
20
|
render() {
|
21
|
-
return (h("div", { key: '
|
21
|
+
return (h("div", { key: 'ba16c44bcff74ca96370132c7e191ad8659312e0', class: `segment ${this.selected ? 'segment--selected' : ''}`, tabIndex: 0, onClick: () => { this.handleSegmentClick(); }, onKeyDown: (e) => { this.handleSegmentKeyDown(e); } }, h("ifx-icon", { key: '1746bfc0ea5acfcee7e39832613beb3a65ec3b74', icon: this.icon }), " ", h("slot", { key: '978c5dd19baeb0bdc7029a381891bf858c4a7806' })));
|
22
22
|
}
|
23
23
|
static get is() { return "ifx-segment"; }
|
24
24
|
static get encapsulation() { return "shadow"; }
|
@@ -62,8 +62,8 @@ export class SegmentedControl {
|
|
62
62
|
this.setActiveSegment();
|
63
63
|
}
|
64
64
|
render() {
|
65
|
-
return (h("div", { key: '
|
66
|
-
h("div", { key: '
|
65
|
+
return (h("div", { key: '107dc81c1511f43afe458598f531dba52c291e32', "aria-value": this.selectedValue, "aria-label": 'segmented control', class: 'group' }, h("div", { key: '879f0a9e7969f6dee38992352af1c5abb0ff1844', class: 'group__label' }, this.label.trim()), h("div", { key: '114496531e8455b9b109d62d882b943920b8f925', class: 'group__controls' }, h("slot", { key: '2199416c1ffee2e0ca7b6f158da9cc697f1ae290' })), this.caption.trim() &&
|
66
|
+
h("div", { key: '78c776417c479c9ac008d0a5e249f11300d0f9e8', class: 'group__caption' }, h("ifx-icon", { key: '4e275a5017e078c8eda524151fec0e1a7129e807', icon: 'cinfo16' }), " ", this.caption.trim())));
|
67
67
|
}
|
68
68
|
componentDidRender() {
|
69
69
|
this.setSegmentSize();
|
@@ -209,9 +209,9 @@ export class Choices {
|
|
209
209
|
// destroy choices element to restore previous dom structure
|
210
210
|
// so vdom can replace the element correctly
|
211
211
|
this.destroy();
|
212
|
-
return (h("div", { key: '
|
212
|
+
return (h("div", { key: '56b4f3729b61745ba48a7d73b431ee327490a1d0', class: `ifx-select-container` }, this.label ? (h("div", { class: "ifx-label-wrapper" }, h("span", null, this.label))) : null, h("div", { key: 'd9b2690e71fcffb51f2b9521030b56c832504401', class: `${choicesWrapperClass}
|
213
213
|
${this.disabled ? 'disabled' : ''}
|
214
|
-
${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : () => this.toggleDropdown(), onKeyDown: event => this.handleKeyDown(event) }, h("select", Object.assign({ key: '
|
214
|
+
${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : () => this.toggleDropdown(), onKeyDown: event => this.handleKeyDown(event) }, h("select", Object.assign({ key: 'f6a3b0f9f8237102ee80c7307dd1af4178628e83', class: 'single__select-input-field', disabled: this.disabled }, attributes, { "data-trigger": true, onChange: () => this.handleChange() }), this.createSelectOptions(this.options)), h("div", { key: '74814a6824d7da1afa510ad7e399d9443c2876e3', class: "single__select-icon-container" }, this.optionIsSelected && (h("div", { key: '5b24471c46f85b9effcf75a9c22e39a1da8162cb', class: "ifx-choices__icon-wrapper-delete" }, h("ifx-icon", { key: '225d88540e641b7dbda3f2197a9cbcd1d82d4bdb', icon: "cremove16", onClick: () => this.handleDeleteSelection() }))), h("div", { key: '066855967421b0796aaf674b7c563c0728105e03', class: "ifx-choices__icon-wrapper-up" }, h("ifx-icon", { key: "icon-up", icon: "chevronup-16" })), h("div", { key: '7908ba5b0c29d8e5773ee27417a1e7baee80a4b3', class: "ifx-choices__icon-wrapper-down" }, h("ifx-icon", { key: "icon-down", icon: "chevron-down-16" })))), this.error ? (h("div", { class: "ifx-error-message-wrapper" }, h("span", null, this.errorMessage))) : null));
|
215
215
|
}
|
216
216
|
toggleDropdown() {
|
217
217
|
const div = this.root.querySelector('.ifx-choices__wrapper');
|
@@ -136,10 +136,10 @@ export class IfxSlider {
|
|
136
136
|
this.updateValuePercent();
|
137
137
|
}
|
138
138
|
render() {
|
139
|
-
return (h("div", { key: '
|
139
|
+
return (h("div", { key: '4fdcc386679f8d0bc627c36ee2847e72577da844', class: "ifx-slider" }, this.leftText && (h("span", { key: '5523880c46e467acd326d34efeae3f84072e931a', class: `left-text` }, this.leftText)), this.leftIcon && (h("ifx-icon", { key: 'a6191c056b723dc639ecdf14da488fd4af29b1fc', icon: this.leftIcon, class: `left-icon${this.disabled ? ' disabled' : ''}` })), (this.type !== 'double') ?
|
140
140
|
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 })
|
141
141
|
:
|
142
|
-
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: '
|
142
|
+
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: '05d09fab9f697a5b4f59a4848fb968c4327165dd', icon: this.rightIcon, class: `right-icon${this.disabled ? ' disabled' : ''}` })), this.rightText && (h("span", { key: '22c867720cdc51aa5ee335324e6702784acef861', class: `right-text${this.disabled ? ' disabled' : ''}` }, this.rightText)), this.showPercentage && (this.type !== "double") && (h("span", { key: '6d1f39ccac1208b0eddf072db7d7661da3b2afbf', class: `percentage-display${this.disabled ? ' disabled' : ''}` }, this.percentage, "%"))));
|
143
143
|
}
|
144
144
|
static get is() { return "ifx-slider"; }
|
145
145
|
static get encapsulation() { return "shadow"; }
|
@@ -5,8 +5,8 @@ export class Spinner {
|
|
5
5
|
this.inverted = false;
|
6
6
|
}
|
7
7
|
render() {
|
8
|
-
return (h("div", { key: '
|
9
|
-
&& h("div", { key: '
|
8
|
+
return (h("div", { key: '6db48f54c2484025c92300c3c63698d4f16965ff', "aria-label": "spinner indicating a loading process", class: this.getClassNames() }, h("div", { key: '85f604c1cae6f9e290f5a07cdab730cb4ce445c1', class: `${this.variant !== 'brand' ? 'border' : ""} ${this.inverted ? 'inverted' : ""}` }), this.variant === 'brand'
|
9
|
+
&& h("div", { key: '6a3132d2ebb933fbd4007dbf9cfb2943078939ed', class: `semiconductor ${this.inverted ? 'inverted' : ""} ${this.getSizeClass()}` }, h("svg", { key: '22f7f2edd61e25e6c73c2fa18738f4c2f9c67e44', width: '40', height: '40', viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '4d72092059485d2bb662cc2451f20953afcf5200', id: "spinner/conductor" }, h("path", { key: '9cbec7c69604cd24de46bd63b336f224a386c23b', id: "Vector", d: "M38.75 18.75C39.4375 18.75 40 19.3125 40 20C40 20.6875 39.4409 21.25 38.75 21.25H35V26.25H38.75C39.4375 26.25 40 26.8125 40 27.5C40 28.1875 39.4409 28.75 38.75 28.75H35V30C35 32.7617 32.7617 35 30 35H28.75V38.75C28.75 39.4409 28.1875 40 27.5 40C26.8125 40 26.25 39.4409 26.25 38.75V35H21.25V38.75C21.25 39.4409 20.6875 40 20 40C19.3125 40 18.75 39.4409 18.75 38.75V35H13.75V38.75C13.75 39.4409 13.1875 40 12.5 40C11.8125 40 11.25 39.4409 11.25 38.75V35H10C7.23828 35 5 32.7617 5 30V28.75H1.25C0.559062 28.75 0 28.1875 0 27.5C0 26.8125 0.559062 26.25 1.25 26.25H5V21.25H1.25C0.559062 21.25 0 20.6875 0 20C0 19.3125 0.559062 18.75 1.25 18.75H5V13.75H1.25C0.559062 13.75 0 13.1875 0 12.5C0 11.8125 0.559062 11.25 1.25 11.25H5V10C5 7.23828 7.23828 5 10 5H11.25V1.25C11.25 0.5625 11.8125 0 12.5 0C13.1875 0 13.75 0.559063 13.75 1.25V5H18.75V1.25C18.75 0.559063 19.3091 0 20 0C20.6909 0 21.25 0.559063 21.25 1.25V5H26.25V1.25C26.25 0.559063 26.8091 0 27.5 0C28.1909 0 28.75 0.559063 28.75 1.25V5H30C32.7617 5 35 7.23828 35 10V11.25H38.75C39.4409 11.25 40 11.8091 40 12.5C40 13.1909 39.4409 13.75 38.75 13.75H35V18.75H38.75ZM32.5 10C32.5 8.62188 31.3781 7.5 30 7.5H10C8.62187 7.5 7.5 8.62188 7.5 10V30C7.5 31.3781 8.62187 32.5 10 32.5H30C31.3781 32.5 32.5 31.3781 32.5 30V10Z" }))))));
|
10
10
|
}
|
11
11
|
getSizeClass() {
|
12
12
|
return `${this.size}` === "s"
|
@@ -8,7 +8,7 @@ export class Status {
|
|
8
8
|
var _a;
|
9
9
|
const effectiveColor = ((_a = this.color) === null || _a === void 0 ? void 0 : _a.trim()) ? this.color : 'orange-500';
|
10
10
|
const containerClass = this.border ? `container border-${effectiveColor}` : 'container no-border';
|
11
|
-
return (h("div", { key: '
|
11
|
+
return (h("div", { key: '47ae575c6a7d0ec7ef235e8e26057770d4d57a26', "aria-label": "a status indicator", "aria-value": this.label, class: containerClass }, h("span", { key: '07d4064a8edab77890485507da16e90d3144c86e', class: `dot ${effectiveColor}` }), h("p", { key: 'e279c797130698ddd4157924caf0498b7b5ae171', class: "text" }, this.label)));
|
12
12
|
}
|
13
13
|
static get is() { return "ifx-status"; }
|
14
14
|
static get encapsulation() { return "shadow"; }
|
@@ -42,7 +42,7 @@ export class Step {
|
|
42
42
|
}
|
43
43
|
}
|
44
44
|
render() {
|
45
|
-
return (h("div", { key: '
|
45
|
+
return (h("div", { key: '9bec08d1c4384419d833dce0c8d569da151c1c99', "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' : ''}
|
46
46
|
${this.error ? 'error' : ''}
|
47
47
|
${this.stepperState.variant}
|
48
48
|
${this.complete ? 'complete' : ''}
|
@@ -50,11 +50,11 @@ export class Step {
|
|
50
50
|
indicator-${this.stepperState.indicatorPosition}
|
51
51
|
${this.active ? 'active' : ''}
|
52
52
|
${this.clickable ? 'clickable' : ''}
|
53
|
-
${this.disabled ? 'disabled' : ''}` }, h("div", { key: '
|
54
|
-
h("div", { key: '
|
53
|
+
${this.disabled ? 'disabled' : ''}` }, h("div", { key: '8e7ac36b9befc86925d246c82fd0a3fc6b2d610a', class: 'step-icon-wrapper' }, this.stepperState.variant !== 'compact' && h("span", { key: '0f45ee02f78561bacab88156f7e722ae77865a5d', class: 'step-connector-l' }), (this.stepperState.variant !== 'compact' && (!this.error || (this.error && this.active))) &&
|
54
|
+
h("div", { key: '72cf042174bee53e234c401ee01b987ccd104365', class: 'step-icon' }, (this.stepperState.showStepNumber && !this.complete && !this.active) ? this.stepId : '', (this.complete && !this.active) && h("ifx-icon", { key: 'dd5fea2b7e02ccb0d00c0d411eb193a18a2a3119', icon: 'check16' }), this.active && h("span", { key: 'b3e67ff3e974d853d0aaa05cc227fa57dce06d3b', class: 'active-indic' })), (this.stepperState.variant !== 'compact' && this.error && !this.active) && h("ifx-icon", { key: '14cfb2b3b0c1fada1fa5e9817ede6c9de161df4f', icon: 'warningf24' }), this.stepperState.variant !== 'compact' && h("span", { key: 'ba1cc86995aa9461e58fcaac9e40ec1c2fc8d811', class: `step-connector-r ${this.active ? 'active' : ''}` })),
|
55
55
|
/* Step labels */
|
56
56
|
(this.stepperState.variant !== 'compact' || (this.stepperState.variant === 'compact' && (this.active || this.stepId === this.stepperState.activeStep + 1))) &&
|
57
|
-
h("div", { key: '
|
57
|
+
h("div", { key: 'cb433be92c598a228898ce55645c9da91d063935', 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: '30802380d8e7bd7c7fb7aa478c06660bc6047d27' }), this.stepperState.variant === 'compact' && !this.active ? 'Next: ' : '', this.stepperState.variant === 'compact' && h("slot", { key: '11f41e62813e9dc4a8c52a9805d000fc88da29fa' }))));
|
58
58
|
}
|
59
59
|
;
|
60
60
|
static get is() { return "ifx-step"; }
|
@@ -116,10 +116,10 @@ export class Stepper {
|
|
116
116
|
this.syncIfxSteps();
|
117
117
|
}
|
118
118
|
render() {
|
119
|
-
return (h("div", { key: '
|
119
|
+
return (h("div", { key: '126ad20b9d0522b3904ccdefa7f0e54a0bd68e41', "aria-label": 'a stepper', role: 'navigation', class: `stepper ${(this.variant !== 'compact' && this.variant !== 'vertical') ? 'default' : this.variant} ${this.variant === 'compact' ? 'compact-' + this.indicatorPosition : ''}` },
|
120
120
|
/* Progress bar for compact variant. */
|
121
121
|
(this.variant === 'compact') &&
|
122
|
-
h("div", { key: '
|
122
|
+
h("div", { key: '6b19ef3f8d03c267269c3a1ae50534df4b35f44c', class: 'stepper-progress' }, h("div", { key: '4a3b106590ff11ed82bc50df48f8018f8e83caba', class: 'progress-detail' }, `${Math.min(this.activeStep, this.stepsCount)} of ${this.stepsCount}`)), h("div", { key: '7e27ac45d89e00f080e298bc0681b64cb33c1039', class: `stepper-wrapper` }, h("slot", { key: '1f168942e091e9cbe96466deda03b6949b6ff015' }))));
|
123
123
|
}
|
124
124
|
;
|
125
125
|
componentDidRender() {
|
@@ -63,7 +63,7 @@ export class Switch {
|
|
63
63
|
this.internals.setFormValue(null);
|
64
64
|
}
|
65
65
|
render() {
|
66
|
-
return (h("div", { key: '
|
66
|
+
return (h("div", { key: '7e20607f16e9fcd47e30f1b851d5dddbaf90514a', 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: '1154186734d042176d5d5843650b0cde4890be4c', class: `switch__checkbox-container ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}`, tabindex: "0" }, h("div", { key: 'b495c8cd62b3bd6a577f9942ddb88f7dbbc7ae29', class: "switch__checkbox-wrapper" }, h("input", { key: 'ba68653e86a3f801a77766625c2f303ba7098c9f', type: "checkbox", hidden: true, name: this.name, disabled: this.disabled, checked: this.internalChecked, value: `${this.value}` }), h("div", { key: '925e50cb39c9cdbef596db82a3f079471c7ef4fb', class: `switch ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}` }))), h("div", { key: '724eb84c9b3994d60339162392fe7df7a5dee5fe', class: `switch__label-wrapper ${this.disabled ? 'disabled' : ''}` }, h("label", { key: '81b1b498725340c17cf069502fa4befcc8a3697b', htmlFor: "switch" }, h("slot", { key: '3b3800a830e33c76a86adac325ba2cf6e57ecd44', onSlotchange: () => this.toggleLabelGap() })))));
|
67
67
|
}
|
68
68
|
static get is() { return "ifx-switch"; }
|
69
69
|
static get encapsulation() { return "shadow"; }
|
@@ -88,7 +88,7 @@ export class FilterBar {
|
|
88
88
|
// Calculate slotsToShow safely
|
89
89
|
const slotsToShow = Math.min(safeVisibleSlots, actualNumberOfComponents, Number.MAX_SAFE_INTEGER);
|
90
90
|
const slots = Array.from({ length: slotsToShow }, (_, i) => (h("div", { class: "filter-slot-wrapper" }, h("slot", { name: `filter-component-${i + 1}` }))));
|
91
|
-
return (h(Host, { key: '
|
91
|
+
return (h(Host, { key: 'af9e6eb798cff6746bbeac12a81401113facdc22' }, h("div", { key: '369dda1556c97cce7d5be0a6c54a3541733a1d56', class: "search-container" }, h("slot", { key: 'f1f83778e1d12d00a2b7ab263f10659218e49909', name: "filter-search" }), " "), h("div", { key: 'a423b9b5242764fe878b7f050f348ceaaf1c403e', class: "components-container" }, slots.length > 0 ? slots : h("slot", { name: "filter-component" }), this.showMoreFiltersButton && !this.showAllFilters && (h("div", { key: 'b165c290a11781ac9d7fb0b602ff3c7af39d8d32', class: "more-filters-wrapper", onClick: this.handleMoreFiltersClick }, h("ifx-button", { key: 'c235cb9f2f29ad3a1e3398eb5b1147a5a51c24ed', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false" }, h("ifx-icon", { key: 'e1789ccb9f87b6efac40e0ad76e32dde8e7644da', icon: "filter-16" }), "More filters"))))));
|
92
92
|
}
|
93
93
|
static get is() { return "ifx-filter-bar"; }
|
94
94
|
static get encapsulation() { return "shadow"; }
|
@@ -31,8 +31,8 @@ export class FilterAccordion {
|
|
31
31
|
this.el.removeEventListener('ifxListUpdate', this.handleCheckedChange);
|
32
32
|
}
|
33
33
|
render() {
|
34
|
-
return (h("div", { key: '
|
35
|
-
h("div", { key: '
|
34
|
+
return (h("div", { key: 'a516541ef3dc49acfe900213815c8d17c5ff0f7b', class: `accordion ${this.expanded ? 'expanded' : ''}` }, h("div", { key: '2502af32b8322a440282f18a95508777bd70602b', class: `header ${this.expanded ? 'expanded' : ''}`, onClick: this.toggleAccordion }, h("div", { key: '661853e99db03cace8f273d8e447effd06f31baa', class: `text-and-icon ${this.expanded ? 'expanded' : ''}` }, h("div", { key: '9f2c658782ed1ca845f85a361ea5fced99bb41da', class: "text" }, h("span", { key: 'a2bc905dbcb739acab31b39c85360414a8dcaed8' }, this.filterGroupName), h("ifx-number-indicator", { key: 'c64226f2ff8d651f8febf99a99a65f3e8e1fae68' }, this.count)), h("ifx-icon", { key: 'c00346c7bf984b49d28af20363803ba7f081ac17', class: this.expanded ? '' : 'hidden', icon: "minus-16", onClick: this.toggleAccordion }), h("ifx-icon", { key: '480dbf4cb9844bfa8660844451ced3c1d798c39c', class: this.expanded ? 'hidden' : '', icon: "plus-16", onClick: this.toggleAccordion }))), this.expanded &&
|
35
|
+
h("div", { key: '48de4905ba421e86c4e13a72287edf0b1281a149', class: "filter-accordion-container" }, h("slot", { key: '15fc58422854c0e1403fd2d85be09008dc6be4a3', name: "list" }))));
|
36
36
|
}
|
37
37
|
static get is() { return "ifx-filter-accordion"; }
|
38
38
|
static get encapsulation() { return "shadow"; }
|
@@ -23,7 +23,7 @@ export class FilterSearch {
|
|
23
23
|
this.ifxFilterSearchChange.emit({ filterName: this.filterName, filterValue: this.filterValue, filterKey: this.filterKey }); // Emitting filterKey along with other properties
|
24
24
|
}
|
25
25
|
render() {
|
26
|
-
return (h("div", { key: '
|
26
|
+
return (h("div", { key: '6a51c11ebb7ef44a420b4c9775877960530752f9', class: `${this.filterOrientation === 'sidebar' ? 'sidebar-filter-search-wrapper' : 'topbar-filter-search-wrapper'}` }, h("div", { key: 'ac67262dfe2ba3f4b51a892377013bea52ec66e8', class: "filter-name" }, this.filterName), h("ifx-search-field", { key: 'b43473fa4afbfc2fd62c27a4ef2f94d4fcd955ec', placeholder: this.placeholder, "show-delete-icon": this.showDeleteIcon, disabled: this.disabled, value: this.filterValue })));
|
27
27
|
}
|
28
28
|
static get is() { return "ifx-filter-search"; }
|
29
29
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js
CHANGED
@@ -119,7 +119,7 @@ export class IfxFilterTypeGroup {
|
|
119
119
|
window.removeEventListener('ifxResetFiltersEvent', this.handleResetEvent);
|
120
120
|
}
|
121
121
|
render() {
|
122
|
-
return (h(Host, { key: '
|
122
|
+
return (h(Host, { key: 'a8195eb2d535ce15c760e9391b797de4e8b5cec0' }, h("div", { key: '69ba55a9a775881f00064fadccabfd94979ef8e6', class: "filter-type-group" }, h("slot", { key: '18360386fa18b1b55f6a2c0ba19623029649189b', name: "filter-search" }), h("slot", { key: '34d295aa182142abc7215fd5def1f0b0a11477e4', name: "filter-accordion" }))));
|
123
123
|
}
|
124
124
|
static get is() { return "ifx-filter-type-group"; }
|
125
125
|
static get encapsulation() { return "shadow"; }
|
@@ -13,7 +13,7 @@ export class ListEntry {
|
|
13
13
|
this.ifxListEntryChange.emit({ label: this.label, value: this.value, type: this.type });
|
14
14
|
}
|
15
15
|
render() {
|
16
|
-
return (h("div", { key: '
|
16
|
+
return (h("div", { key: '7c3d09e5c8d18387b4b2111050522b8862275ae3', class: "wrapper" }, this.type === 'checkbox' ? (h("div", { class: "list-entry" }, h("ifx-checkbox", { size: "s", checked: this.value }, this.label))) : (h("div", { class: "list-entry" }, h("ifx-radio-button", { size: "s", checked: this.value }, this.label)))));
|
17
17
|
}
|
18
18
|
static get is() { return "ifx-list-entry"; }
|
19
19
|
static get encapsulation() { return "shadow"; }
|
@@ -354,12 +354,12 @@ export class Table {
|
|
354
354
|
};
|
355
355
|
}
|
356
356
|
const filterClass = this.filterOrientation === 'topbar' ? 'topbar-layout' : 'sidebar-layout';
|
357
|
-
return (h(Host, { key: '
|
357
|
+
return (h(Host, { key: '0f5161792669d260a795fc5b5af0a2d62b25e015' }, h("div", { key: '1b047ffba32d2b1161a9e4827ea0ba35e1039ea2', class: "table-container" }, this.filterOrientation === 'sidebar' && (h("div", { key: '602654f9a4a1d0bf7d085e6cbc73db36ac8a8936', class: "sidebar-btn" }, h("ifx-button", { key: 'ec54a9a7cc3fc375ce3be6ac2331d7a050dc3e77', type: "button", disabled: false, variant: "secondary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.toggleSidebarFilters() }, h("ifx-icon", { key: 'ef1be17736c4f54345172941d4e0c06dacb2d45b', icon: "cross-12" }), this.showSidebarFilters ? 'Hide Filters' : 'Show Filters'))), h("div", { key: '53e2c21c149cfff4df87592d6b3dc63f640767af', class: filterClass }, this.filterOrientation === 'sidebar' && this.showSidebarFilters && (h("div", { key: 'c2fb4c3a9749a5dd3cc480af92595bf38ae44f93', class: "sidebar-container" }, h("div", { key: '991e810f5875347cf3260a9cef1ae643038ed850', class: "filters-title-container" }, h("span", { key: '9043c614276d0b17730a6e844534994df191c274', class: "filters-title" }, "Filters")), h("div", { key: '7cfdb1e15eeb3848da5c9415d966e9eccf45a64a', class: "set-filter-wrapper-sidebar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: '19be35ca4d56deff54af054fddd93abf6b093b3c', name: "sidebar-filter" }))))), this.filterOrientation !== 'none' && this.filterOrientation !== 'sidebar' && (h("div", { key: '6c5bb6e23277d966c00961138c4faf93ba04b5a6', class: "set-filter-wrapper-topbar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: 'da76a9dc53096223c5b55357da935aaa68a57809', name: "topbar-filter" })))), h("div", { key: '80f2990257cf6e8535ab805d71a3bcd94cf9c0a2', class: "table-pagination-wrapper" }, h("div", { key: '505479d1f73fd6d1b12e74149a8fb7ccaf4138cb', class: "filter-chips" }, this.filterOrientation !== 'none' && this.filterOrientation !== 'topbar' && this.showSidebarFilters && (Object.keys(this.currentFilters).map(name => {
|
358
358
|
const filter = this.currentFilters[name];
|
359
359
|
const filterValues = filter.filterValues;
|
360
360
|
const isMultiSelect = filter.type !== 'text';
|
361
361
|
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;
|
362
|
-
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: '
|
362
|
+
})), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: 'dd5ddff34324a9862ec266b69dff815088130ab1', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.handleResetButtonClick() }, h("ifx-icon", { key: 'c94bb876bf336c7fec3b8fe0321c1d1b20f7cf6c', icon: "curved-arrow-left-16" }), "Reset all"))), this.filterOrientation !== 'none' && (h("div", { key: 'ff9fe63f9801b645c92d98c777b2c664be144265', class: "matching-results-container" }, h("span", { key: '1ab39b442e88b8717e60b876d5e590abc49ea015', class: "matching-results-count" }, this.matchingResultsCount), h("span", { key: '5e7dee60f2df77e57966506766464a7cc166f83d', class: "matching-results-text" }, "matching results"))), h("div", { key: '1ea9a03eb36ecbb42bb6f660b984bde302f8e0dd', id: "table-wrapper", class: this.getTableClassNames() }, h("div", { key: 'c3885e21c36be6413ae2b1e87ded9ce6ba2f183c', id: `ifxTable-${this.uniqueKey}`, class: 'ifx-ag-grid', style: style, ref: (el) => this.container = el })), this.pagination ? h("ifx-pagination", { total: this.allRowData.length, "current-page": this.currentPage }) : null)))));
|
363
363
|
}
|
364
364
|
hasButtonCol() {
|
365
365
|
return this.getColData().some(column => column.field === 'button');
|
@@ -143,7 +143,7 @@ export class Table {
|
|
143
143
|
return {};
|
144
144
|
}
|
145
145
|
render() {
|
146
|
-
return (h(Host, { key: '
|
146
|
+
return (h(Host, { key: 'aad9914fcf873da2a71ed7bbfa7db2be5dec54a5' }, h("div", { key: 'bc436824ba11ec68a0dca3fc0381993dc66ff593', id: "table-wrapper", class: this.getClassNames() }, h("div", { key: '9c290e9797c50dae868ab333ad613035715e1518', id: `ifxTable-${this.uniqueKey}`, class: "ifx-ag-grid", style: this.getTableStyle(), ref: (el) => (this.container = el) }))));
|
147
147
|
}
|
148
148
|
static get is() { return "ifx-basic-table"; }
|
149
149
|
static get originalStyleUrls() {
|
@@ -8,7 +8,7 @@ export class IfxTab {
|
|
8
8
|
this.tabHeaderChange.emit(this.header);
|
9
9
|
}
|
10
10
|
render() {
|
11
|
-
return h("slot", { key: '
|
11
|
+
return h("slot", { key: '68fdfaa881c7619f208c32bf8f1ec579997fc7cf' });
|
12
12
|
}
|
13
13
|
static get is() { return "ifx-tab"; }
|
14
14
|
static get originalStyleUrls() {
|
@@ -193,9 +193,9 @@ export class IfxTabs {
|
|
193
193
|
}
|
194
194
|
render() {
|
195
195
|
var _a;
|
196
|
-
return (h("div", { key: '
|
196
|
+
return (h("div", { key: '5aad10898d04249d8f6d8ebbec663409e937ad8e', "aria-label": "navigation tabs", class: `tabs ${this.internalOrientation}` }, h("ul", { key: 'f4651912a63389fe4263867a2e43fbd76c35d1e3', role: "tablist", class: "tabs-list" }, (_a = this.tabObjects) === null || _a === void 0 ? void 0 :
|
197
197
|
_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 :
|
198
|
-
tab.header))), h("div", { key: '
|
198
|
+
tab.header))), h("div", { key: '2fa5337ec103789d238efc7e34340435d1589cc9', class: "active-border" })), h("div", { key: '15936a72562679e7e3b21adb031ddbefcd309a07', class: "tab-content" }, Array.from(this.tabObjects).map((_, index) => (h("div", { style: { display: index === this.internalActiveTabIndex ? 'block' : 'none' } }, h("slot", { name: `tab-${index}` })))))));
|
199
199
|
}
|
200
200
|
static get is() { return "ifx-tabs"; }
|
201
201
|
static get encapsulation() { return "shadow"; }
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { h } from "@stencil/core";
|
2
2
|
export class Tag {
|
3
3
|
render() {
|
4
|
-
return (h("div", { key: '
|
4
|
+
return (h("div", { key: '41331d90004cb31b76563b71e0614e11635badca', "aria-label": "a tag", class: "container" }, this.icon && (h("ifx-icon", { key: 'a05f1a5ab32772e4ab2b0571def479a48fdcf35f', icon: this.icon })), h("a", { key: 'e5f810e31d7650a90dcecd657d5a9955c41b1fbf', href: "javascript:void(null);", class: "label-wrapper" }, h("p", { key: '526a2ea2b178bc583f0ab93351df949fc5c8e667', class: "label" }, h("slot", { key: '384383d1bd6f44f9f7bc409858eb54356c48bd51' })))));
|
5
5
|
}
|
6
6
|
static get is() { return "ifx-tag"; }
|
7
7
|
static get encapsulation() { return "shadow"; }
|
@@ -128,7 +128,7 @@ export class Template {
|
|
128
128
|
}
|
129
129
|
}
|
130
130
|
render() {
|
131
|
-
return (h("div", { key: '
|
131
|
+
return (h("div", { key: 'b0774ebe1c3e3144ef40770c6ca8169c1f518c00' }, this.isTemplatePage
|
132
132
|
?
|
133
133
|
h("div", { class: "template__page-wrapper" }, !this.repoUrl && !this.repoError &&
|
134
134
|
h("div", null, h("h3", null, "Your repository is getting ready.."), h("p", null, "This will only take a minute.")), this.isLoading && !this.repoError && h("div", null, h("ifx-spinner", { variant: 'default', size: 's' })), this.repoUrl && h("ifx-link", { href: this.repoUrl, target: "_parent", size: "m", variant: "underlined" }, "Your repository"), this.repoError && h("div", null, this.repoError))
|
@@ -40,7 +40,7 @@ export class TemplatesUI {
|
|
40
40
|
alertWrapper.classList.remove('show');
|
41
41
|
}
|
42
42
|
render() {
|
43
|
-
return (h("div", { key: '
|
43
|
+
return (h("div", { key: '0836cefbd6e9760badefacd6fcdc5dec7e3bc5fb', class: 'templates__container' }, h("div", { key: '3cddf53fe880bafa5d41e296530810ea26a9bc88', class: "back__btn-wrapper" }, h("ifx-icon-button", { key: '756b35df3419e8d92363307866047818c271f868', onClick: () => this.filterTemplates(false), shape: "round", variant: "tertiary", icon: "arrow-left-16", target: "_blank", size: "m" }), h("div", { key: 'f990f29dac2c7ca78f2f652894fc2fe994ae759c', class: "alert__wrapper" }, h("ifx-alert", { key: '2553f88d9af2fbcdd29bf796a76acee7da3cf74c', onClick: () => this.closeAlert(), "aria-live": "assertive", variant: "danger", icon: "c-info-24" }, "All fields are mandatory"))), h("h2", { key: '7dc3b09d76864c415446b6fed4ca46dcb0f216cb', class: "templates__title" }, "Choose your template"), h("div", { key: '6bbd867fbc390f0cfbd8fb823046adff02d25239', class: "templates__wrapper" }, h("ifx-template", { key: 'b7afc320afed39824056ca067c4366264c2095eb', name: 'template-01', thumbnail: this.tableTemplate }), h("ifx-template", { key: 'eabb40da6e08a54d40f50d81350d8dad0041b40f', name: 'template-02', thumbnail: this.wizardTemplate }))));
|
44
44
|
}
|
45
45
|
static get is() { return "ifx-templates-ui"; }
|
46
46
|
static get encapsulation() { return "shadow"; }
|
@@ -38,12 +38,12 @@ export class TextField {
|
|
38
38
|
this.internals.setFormValue("");
|
39
39
|
}
|
40
40
|
render() {
|
41
|
-
return (h("div", { key: '
|
41
|
+
return (h("div", { key: '6c1d37820601366febde1472171e21643616f0a2', "aria-label": "a text field for user input", "aria-value": this.value, "aria-disabled": this.disabled, class: `textInput__container ${this.disabled ? 'disabled' : ""}` }, h("div", { key: 'b447456a1f37fc2721240d255c8ed0a5152d4a4c', class: "textInput__top-wrapper" }, h("label", { key: '88368a2a8a6c981950698c4b2735d7c1be8f865d', htmlFor: "text-field" }, h("slot", { key: 'd022625c2476227a398f518dac47dbf41b4e965c' }), this.optional && this.required ? (h("span", { class: "optional-required" }, "(optional) *")) : this.optional ? (h("span", { class: "optional" }, "(optional)")) : this.required ? (h("span", { class: `required ${this.error ? 'error' : ""}` }, "*")) : null)), h("div", { key: '85830b03ae0476ef5082086a65d4d679cd719b29', class: "textInput__bottom-wrapper" }, h("div", { key: '7572d87e0e2d023332f1c44ba26f6754960fc7fa', class: "input-container" }, this.icon && (h("ifx-icon", { key: '60dab8ca9db0462b4bb96d3029bfcd50c3189df3', class: 'input-icon', icon: this.icon })), h("input", { key: '57d7f5afd1839f8d8e680b178a3a5a4de14e55b2', ref: (el) => (this.inputElement = el), disabled: this.disabled, type: "text", id: 'text-field', value: this.value, onInput: () => this.handleInput(), placeholder: this.placeholder, maxlength: this.maxlength, class: `${this.icon ? 'icon' : ""}
|
42
42
|
${this.error ? 'error' : ""}
|
43
43
|
${this.size === "s" ? "input-s" : ""}
|
44
|
-
${this.success ? "success" : ""}` }), (this.showDeleteIcon && this.value) && (h("ifx-icon", { key: '
|
45
|
-
h("div", { key: '
|
46
|
-
h("div", { key: '
|
44
|
+
${this.success ? "success" : ""}` }), (this.showDeleteIcon && this.value) && (h("ifx-icon", { key: '1b1828c2ef25fd5a8010a78484efb7783c445a45', class: "delete-icon", icon: "cremove16", onClick: () => this.handleDeleteContent() }))), this.caption && !this.error &&
|
45
|
+
h("div", { key: 'ab245df20620f9b9dd3a2f1a38ffa77109277b23', class: `textInput__bottom-wrapper-caption ${this.disabled} ? disabled : ""` }, this.caption), this.error &&
|
46
|
+
h("div", { key: '70b3e872ad79ac6868f25f7a1e2acf2a5737c375', class: "textInput__bottom-wrapper-caption error" }, this.caption))));
|
47
47
|
}
|
48
48
|
static get is() { return "ifx-text-field"; }
|
49
49
|
static get encapsulation() { return "shadow"; }
|
@@ -6,6 +6,7 @@
|
|
6
6
|
:host {
|
7
7
|
display: flex;
|
8
8
|
flex-direction: column;
|
9
|
+
width: 100%;
|
9
10
|
}
|
10
11
|
|
11
12
|
.wrapper__label {
|
@@ -17,6 +18,17 @@
|
|
17
18
|
color: #575352;
|
18
19
|
}
|
19
20
|
|
21
|
+
.wrapper__textarea {
|
22
|
+
width: 100%;
|
23
|
+
}
|
24
|
+
.wrapper__textarea.fullWidth {
|
25
|
+
width: 100%;
|
26
|
+
}
|
27
|
+
.wrapper__textarea.fullWidth textarea {
|
28
|
+
width: 100%;
|
29
|
+
box-sizing: border-box;
|
30
|
+
}
|
31
|
+
|
20
32
|
.wrapper__textarea textarea {
|
21
33
|
border: 1px solid #8D8786;
|
22
34
|
border-radius: 1px;
|
@@ -7,10 +7,24 @@ export class TextArea {
|
|
7
7
|
this.readOnly = false;
|
8
8
|
this.resize = 'both';
|
9
9
|
this.wrap = 'soft';
|
10
|
+
this.fullWidth = "false";
|
10
11
|
}
|
11
12
|
async reset() {
|
12
13
|
this.resetTextarea();
|
13
14
|
}
|
15
|
+
handleComponentWidth() {
|
16
|
+
const textareaWrapper = this.el.shadowRoot.querySelector('.wrapper__textarea');
|
17
|
+
const isFullWidth = this.fullWidth.toLowerCase() === "true";
|
18
|
+
if (isFullWidth) {
|
19
|
+
textareaWrapper.classList.add('fullWidth');
|
20
|
+
}
|
21
|
+
else if (textareaWrapper.classList.contains('fullWidth')) {
|
22
|
+
textareaWrapper.classList.remove('fullWidth');
|
23
|
+
}
|
24
|
+
}
|
25
|
+
componentDidRender() {
|
26
|
+
this.handleComponentWidth();
|
27
|
+
}
|
14
28
|
formResetCallback() {
|
15
29
|
this.resetTextarea();
|
16
30
|
this.internals.setFormValue("");
|
@@ -30,9 +44,7 @@ export class TextArea {
|
|
30
44
|
}
|
31
45
|
render() {
|
32
46
|
var _a, _b;
|
33
|
-
return (h(Host, { key: '
|
34
|
-
wrapper--${this.error ? 'error' : ''}
|
35
|
-
wrapper--${this.disabled ? 'disabled' : ''}` }, h("label", { key: 'd7aa698c69fdcb2e59b04029ce85a43d3282858f', class: 'wrapper__label', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 : _a.trim()), h("div", { key: '298a2c5b2573a35515078db8d5a3d6eac6e73d2d', class: 'wrapper__textarea' }, h("textarea", { key: 'f478499addab961e0535d8263beb40bf334a56e5', "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: '3643148558fd49f60e321a03c52497d62fbf1477', class: 'wrapper__caption' }, this.caption.trim()))));
|
47
|
+
return (h(Host, { key: 'a7304cebfe559ded62cee964452f88a18f78bc16', class: `wrapper--${this.error ? 'error' : ''} wrapper--${this.disabled ? 'disabled' : ''}` }, h("label", { key: '167baaa954c6ab656c134e3467158bcf1fc87322', class: 'wrapper__label', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 : _a.trim()), h("div", { key: 'd58c71e350ddd3be36d864e19e3cb8478e3e4ef4', class: 'wrapper__textarea' }, h("textarea", { key: 'ea720b738bf064ee3f8b12a01a6bf72fc3b5b1ce', "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: '5ad456153a75b793d9e41d3b9c557a125b5251d6', class: 'wrapper__caption' }, this.caption.trim()))));
|
36
48
|
}
|
37
49
|
static get is() { return "ifx-textarea"; }
|
38
50
|
static get encapsulation() { return "shadow"; }
|
@@ -300,6 +312,26 @@ export class TextArea {
|
|
300
312
|
"attribute": "wrap",
|
301
313
|
"reflect": false,
|
302
314
|
"defaultValue": "'soft'"
|
315
|
+
},
|
316
|
+
"fullWidth": {
|
317
|
+
"type": "string",
|
318
|
+
"mutable": false,
|
319
|
+
"complexType": {
|
320
|
+
"original": "string",
|
321
|
+
"resolved": "string",
|
322
|
+
"references": {}
|
323
|
+
},
|
324
|
+
"required": false,
|
325
|
+
"optional": false,
|
326
|
+
"docs": {
|
327
|
+
"tags": [],
|
328
|
+
"text": ""
|
329
|
+
},
|
330
|
+
"getter": false,
|
331
|
+
"setter": false,
|
332
|
+
"attribute": "full-width",
|
333
|
+
"reflect": true,
|
334
|
+
"defaultValue": "\"false\""
|
303
335
|
}
|
304
336
|
};
|
305
337
|
}
|
@@ -347,6 +379,7 @@ export class TextArea {
|
|
347
379
|
}
|
348
380
|
};
|
349
381
|
}
|
382
|
+
static get elementRef() { return "el"; }
|
350
383
|
static get attachInternalsMemberName() { return "internals"; }
|
351
384
|
}
|
352
385
|
let textareaId = 0;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"textarea.js","sourceRoot":"","sources":["../../../src/components/textarea/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,eAAe,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;
|
1
|
+
{"version":3,"file":"textarea.js","sourceRoot":"","sources":["../../../src/components/textarea/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,eAAe,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAS/G,MAAM,OAAO,QAAQ;IAPrB;QASS,YAAO,GAAW,gBAAgB,EAAE,UAAU,EAAE,CAAC;QAQjD,aAAQ,GAAY,KAAK,CAAC;QAC1B,UAAK,GAAY,KAAK,CAAC;QAKvB,aAAQ,GAAY,KAAK,CAAC;QAC1B,WAAM,GAAgD,MAAM,CAAC;QAG7D,SAAI,GAA4B,MAAM,CAAC;QACtB,cAAS,GAAW,OAAO,CAAC;KA8ErD;IA3EA,KAAK,CAAC,KAAK;QACV,IAAI,CAAC,aAAa,EAAE,CAAC;IACtB,CAAC;IAED,oBAAoB;QACnB,MAAM,eAAe,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAA;QAC9E,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,MAAM,CAAC;QAE1D,IAAI,WAAW,EAAE,CAAC;YACnB,eAAe,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,CAAA;QACzC,CAAC;aAAM,IAAG,eAAe,CAAC,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC;YAC7D,eAAe,CAAC,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QAC7C,CAAC;IACH,CAAC;IAEF,kBAAkB;QACf,IAAI,CAAC,oBAAoB,EAAE,CAAA;IAC7B,CAAC;IAEF,iBAAiB;QAChB,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IACjC,CAAC;IAED,aAAa,CAAC,CAAa;QAC1B,IAAI,CAAC,KAAK,GAAI,CAAC,CAAC,MAA8B,CAAC,KAAK,CAAC;QACrD,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;IAED,aAAa;QACZ,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;QAC/B,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IACjC,CAAC;IAED,iBAAiB;QAChB,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACzC,CAAC;IAED,MAAM;;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,YAAY,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,aAAa,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAA,CAAC,CAAC,EAAE,EAAE;YAC9F,8DAAO,KAAK,EAAC,gBAAgB,EAAC,OAAO,EAAG,IAAI,CAAC,OAAO,IACjD,MAAA,IAAI,CAAC,KAAK,0CAAE,IAAI,EAAE,CACb;YAER,4DAAK,KAAK,EAAC,mBAAmB;gBAC7B,+EACY,YAAY,gBACV,IAAI,CAAC,KAAK,mBACP,IAAI,CAAC,QAAQ,EAC7B,EAAE,EAAG,IAAI,CAAC,OAAO,EACjB,KAAK,EAAG,EAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAC,EAC7B,IAAI,EAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,EAC3C,IAAI,EAAG,IAAI,CAAC,IAAI,EAChB,IAAI,EAAG,IAAI,CAAC,IAAI,EAChB,SAAS,EAAG,IAAI,CAAC,SAAS,EAC1B,IAAI,EAAG,IAAI,CAAC,IAAI,EAChB,QAAQ,EAAG,IAAI,CAAC,QAAQ,EACxB,QAAQ,EAAG,IAAI,CAAC,QAAQ,EACxB,WAAW,EAAG,IAAI,CAAC,WAAW,EAC9B,KAAK,EAAG,IAAI,CAAC,KAAK,EAClB,OAAO,EAAG,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,GACrC,CACG;YAEJ,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,IAAI,EAAE,KAAI,CACzB,4DAAK,KAAK,EAAC,kBAAkB,IAC1B,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAChB,CACN,CACK,CACP,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AAED,IAAI,UAAU,GAAG,CAAC,CAAC","sourcesContent":["import { h, AttachInternals, Component, Event, EventEmitter, Host, Method, Prop, Element } from \"@stencil/core\"\n\n@Component({\n\tformAssociated: true,\n\tshadow: true,\n\tstyleUrl: 'textarea.scss',\n\ttag: 'ifx-textarea'\n})\n\nexport class TextArea {\n\n\tprivate inputId: string = `ifx-textarea-${++textareaId}`;\n\n\t@AttachInternals() internals: ElementInternals;\n\n\t@Event() ifxInput: EventEmitter<String>;\n\t@Element() el;\n\t@Prop() caption: string;\n\t@Prop() cols: number;\n\t@Prop() disabled: boolean = false;\n\t@Prop() error: boolean = false;\n\t@Prop() label: string;\n\t@Prop() maxlength: number;\n\t@Prop() name: string;\n\t@Prop() placeholder: string;\n\t@Prop() readOnly: boolean = false;\n\t@Prop() resize: 'both' | 'horizontal' | 'vertical' | 'none' = 'both';\n\t@Prop() rows: number;\n\t@Prop({ mutable: true }) value: string;\n\t@Prop() wrap: 'hard' | 'soft' | 'off' = 'soft';\n\t@Prop({ reflect: true }) fullWidth: string = \"false\";\n\n\t@Method()\n\tasync reset() {\n\t\tthis.resetTextarea();\n\t}\n\n\thandleComponentWidth() {\n\t\tconst textareaWrapper = this.el.shadowRoot.querySelector('.wrapper__textarea')\n\t\tconst isFullWidth = this.fullWidth.toLowerCase() === \"true\";\n\t\t\n if (isFullWidth) {\n\t\t\ttextareaWrapper.classList.add('fullWidth')\n } else if(textareaWrapper.classList.contains('fullWidth')) {\n\t\t\ttextareaWrapper.classList.remove('fullWidth');\n }\n }\n\n\tcomponentDidRender() {\n this.handleComponentWidth()\n }\n\t\n\tformResetCallback(): void {\n\t\tthis.resetTextarea();\n\t\tthis.internals.setFormValue(\"\");\n\t}\n\t\n\thandleOnInput(e: InputEvent): void {\n\t\tthis.value = (e.target as HTMLTextAreaElement).value;\n\t\tthis.internals.setFormValue(this.value);\n\t\tthis.ifxInput.emit(this.value);\n\t}\n\n\tresetTextarea() {\n\t\tthis.value = '';\n\t\tthis.internals.setValidity({});\n\t\tthis.internals.setFormValue('');\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.internals.setFormValue(this.value);\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`wrapper--${this.error ? 'error' : ''} wrapper--${this.disabled ? 'disabled': ''}`}>\n\t\t\t\t<label class='wrapper__label' htmlFor={ this.inputId }>\n\t\t\t\t\t{ this.label?.trim() }\n\t\t\t\t</label>\n\n\t\t\t\t<div class='wrapper__textarea'>\n\t\t\t\t\t<textarea\n\t\t\t\t\t\taria-label='a textarea'\n\t\t\t\t\t\taria-value={ this.value }\n\t\t\t\t\t\taria-disabled={ this.disabled }\n\t\t\t\t\t\tid={ this.inputId }\n\t\t\t\t\t\tstyle={ {resize: this.resize} }\n\t\t\t\t\t\tname={ this.name ? this.name : this.inputId}\n\t\t\t\t\t\tcols={ this.cols }\n\t\t\t\t\t\trows={ this.rows }\n\t\t\t\t\t\tmaxlength={ this.maxlength }\n\t\t\t\t\t\twrap={ this.wrap }\n\t\t\t\t\t\tdisabled={ this.disabled }\n\t\t\t\t\t\treadonly={ this.readOnly }\n\t\t\t\t\t\tplaceholder={ this.placeholder }\n\t\t\t\t\t\tvalue={ this.value }\n\t\t\t\t\t\tonInput={ (e) => this.handleOnInput(e) }\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\n\t\t\t\t{ this.caption?.trim() && (\n\t\t\t\t\t<div class='wrapper__caption'>\n\t\t\t\t\t\t{ this.caption.trim() }\n\t\t\t\t\t</div> \n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n\nlet textareaId = 0;"]}
|