@infineon/infineon-design-system-stencil 30.9.3--canary.1677.79bde5cb960ca0ee87364cb0899d078b69a61f7b.0 → 30.9.3--canary.1679.8d0c83c3f0040ae0386585c5203298c7d94911f3.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.
Files changed (194) hide show
  1. package/dist/cjs/ifx-basic-table.cjs.entry.js +1 -1
  2. package/dist/cjs/ifx-chip_3.cjs.entry.js +1 -1
  3. package/dist/cjs/ifx-faq.cjs.entry.js +1 -1
  4. package/dist/cjs/ifx-filter-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
  6. package/dist/cjs/ifx-filter-search.cjs.entry.js +1 -1
  7. package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
  8. package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
  9. package/dist/cjs/ifx-multiselect_2.cjs.entry.js +4 -4
  10. package/dist/cjs/ifx-overview-table.cjs.entry.js +1 -1
  11. package/dist/cjs/ifx-overview-table.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ifx-progress-bar.cjs.entry.js +1 -1
  13. package/dist/cjs/ifx-radio-button.cjs.entry.js +2 -2
  14. package/dist/cjs/ifx-search-bar.cjs.entry.js +1 -1
  15. package/dist/cjs/ifx-search-field.cjs.entry.js +1 -1
  16. package/dist/cjs/ifx-segment.cjs.entry.js +1 -1
  17. package/dist/cjs/ifx-segmented-control.cjs.entry.js +2 -2
  18. package/dist/cjs/ifx-select.cjs.entry.js +2 -2
  19. package/dist/cjs/ifx-slider.cjs.entry.js +2 -2
  20. package/dist/cjs/ifx-spinner.cjs.entry.js +2 -2
  21. package/dist/cjs/ifx-status.cjs.entry.js +1 -1
  22. package/dist/cjs/ifx-step.cjs.entry.js +4 -4
  23. package/dist/cjs/ifx-stepper.cjs.entry.js +2 -2
  24. package/dist/cjs/ifx-switch.cjs.entry.js +1 -1
  25. package/dist/cjs/ifx-tab.cjs.entry.js +1 -1
  26. package/dist/cjs/ifx-table.cjs.entry.js +2 -2
  27. package/dist/cjs/ifx-tabs.cjs.entry.js +2 -2
  28. package/dist/cjs/ifx-tag.cjs.entry.js +1 -1
  29. package/dist/cjs/ifx-textarea.cjs.entry.js +2 -2
  30. package/dist/cjs/ifx-tooltip.cjs.entry.js +4 -4
  31. package/dist/collection/components/overview-table/overview-table.js +1 -1
  32. package/dist/collection/components/overview-table/overview-table.js.map +1 -1
  33. package/dist/collection/components/pagination/pagination.js +1 -1
  34. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  35. package/dist/collection/components/radio-button/radio-button.js +2 -2
  36. package/dist/collection/components/search-bar/search-bar.js +1 -1
  37. package/dist/collection/components/search-field/search-field.js +1 -1
  38. package/dist/collection/components/segmented-control/segment/segment.js +1 -1
  39. package/dist/collection/components/segmented-control/segmented-control.js +2 -2
  40. package/dist/collection/components/select/single-select/select.js +2 -2
  41. package/dist/collection/components/slider/slider.js +2 -2
  42. package/dist/collection/components/spinner/spinner.js +2 -2
  43. package/dist/collection/components/status/status.js +1 -1
  44. package/dist/collection/components/stepper/step/step.js +4 -4
  45. package/dist/collection/components/stepper/stepper.js +2 -2
  46. package/dist/collection/components/switch/switch.js +1 -1
  47. package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.js +1 -1
  48. package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.js +2 -2
  49. package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.js +1 -1
  50. package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js +1 -1
  51. package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.js +1 -1
  52. package/dist/collection/components/table-advanced-version/table.js +2 -2
  53. package/dist/collection/components/table-basic-version/table.js +1 -1
  54. package/dist/collection/components/tabs/tab.js +1 -1
  55. package/dist/collection/components/tabs/tabs.js +2 -2
  56. package/dist/collection/components/tag/tag.js +1 -1
  57. package/dist/collection/components/text-field/text-field.js +4 -4
  58. package/dist/collection/components/textarea/textarea.js +2 -2
  59. package/dist/collection/components/tooltip/tooltip.js +4 -4
  60. package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
  61. package/dist/components/ifx-basic-table.js +1 -1
  62. package/dist/components/ifx-faq.js +1 -1
  63. package/dist/components/ifx-filter-accordion.js +2 -2
  64. package/dist/components/ifx-filter-bar.js +1 -1
  65. package/dist/components/ifx-filter-search.js +2 -2
  66. package/dist/components/ifx-filter-type-group.js +1 -1
  67. package/dist/components/ifx-list-entry.js +2 -2
  68. package/dist/components/ifx-overview-table.js +1 -1
  69. package/dist/components/ifx-overview-table.js.map +1 -1
  70. package/dist/components/ifx-pagination.js +1 -1
  71. package/dist/components/ifx-progress-bar.js +1 -1
  72. package/dist/components/ifx-radio-button.js +1 -1
  73. package/dist/components/ifx-search-bar.js +2 -2
  74. package/dist/components/ifx-search-field.js +1 -1
  75. package/dist/components/ifx-segment.js +1 -1
  76. package/dist/components/ifx-segmented-control.js +2 -2
  77. package/dist/components/ifx-select.js +1 -1
  78. package/dist/components/ifx-set-filter.js +2 -2
  79. package/dist/components/ifx-slider.js +2 -2
  80. package/dist/components/ifx-spinner.js +2 -2
  81. package/dist/components/ifx-status.js +1 -1
  82. package/dist/components/ifx-step.js +4 -4
  83. package/dist/components/ifx-stepper.js +2 -2
  84. package/dist/components/ifx-switch.js +1 -1
  85. package/dist/components/ifx-tab.js +1 -1
  86. package/dist/components/ifx-table.js +4 -4
  87. package/dist/components/ifx-tabs.js +2 -2
  88. package/dist/components/ifx-tag.js +1 -1
  89. package/dist/components/ifx-text-field.js +1 -1
  90. package/dist/components/ifx-textarea.js +2 -2
  91. package/dist/components/ifx-tooltip.js +4 -4
  92. package/dist/components/{p-12e02e47.js → p-03181918.js} +5 -5
  93. package/dist/components/{p-12e02e47.js.map → p-03181918.js.map} +1 -1
  94. package/dist/components/{p-11922b8b.js → p-2f603818.js} +3 -3
  95. package/dist/components/{p-11922b8b.js.map → p-2f603818.js.map} +1 -1
  96. package/dist/components/{p-d57db1c4.js → p-63edb8e2.js} +2 -2
  97. package/dist/components/{p-d57db1c4.js.map → p-63edb8e2.js.map} +1 -1
  98. package/dist/components/{p-7bbdeac1.js → p-e181fc5c.js} +3 -3
  99. package/dist/components/{p-7bbdeac1.js.map → p-e181fc5c.js.map} +1 -1
  100. package/dist/components/{p-2f1e7628.js → p-f9cdecb2.js} +3 -3
  101. package/dist/components/{p-2f1e7628.js.map → p-f9cdecb2.js.map} +1 -1
  102. package/dist/esm/ifx-basic-table.entry.js +1 -1
  103. package/dist/esm/ifx-chip_3.entry.js +1 -1
  104. package/dist/esm/ifx-faq.entry.js +1 -1
  105. package/dist/esm/ifx-filter-accordion.entry.js +2 -2
  106. package/dist/esm/ifx-filter-bar.entry.js +1 -1
  107. package/dist/esm/ifx-filter-search.entry.js +1 -1
  108. package/dist/esm/ifx-filter-type-group.entry.js +1 -1
  109. package/dist/esm/ifx-list-entry.entry.js +1 -1
  110. package/dist/esm/ifx-multiselect_2.entry.js +4 -4
  111. package/dist/esm/ifx-overview-table.entry.js +1 -1
  112. package/dist/esm/ifx-overview-table.entry.js.map +1 -1
  113. package/dist/esm/ifx-progress-bar.entry.js +1 -1
  114. package/dist/esm/ifx-radio-button.entry.js +2 -2
  115. package/dist/esm/ifx-search-bar.entry.js +1 -1
  116. package/dist/esm/ifx-search-field.entry.js +1 -1
  117. package/dist/esm/ifx-segment.entry.js +1 -1
  118. package/dist/esm/ifx-segmented-control.entry.js +2 -2
  119. package/dist/esm/ifx-select.entry.js +2 -2
  120. package/dist/esm/ifx-slider.entry.js +2 -2
  121. package/dist/esm/ifx-spinner.entry.js +2 -2
  122. package/dist/esm/ifx-status.entry.js +1 -1
  123. package/dist/esm/ifx-step.entry.js +4 -4
  124. package/dist/esm/ifx-stepper.entry.js +2 -2
  125. package/dist/esm/ifx-switch.entry.js +1 -1
  126. package/dist/esm/ifx-tab.entry.js +1 -1
  127. package/dist/esm/ifx-table.entry.js +2 -2
  128. package/dist/esm/ifx-tabs.entry.js +2 -2
  129. package/dist/esm/ifx-tag.entry.js +1 -1
  130. package/dist/esm/ifx-textarea.entry.js +2 -2
  131. package/dist/esm/ifx-tooltip.entry.js +4 -4
  132. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
  133. package/dist/infineon-design-system-stencil/{p-d101e5a0.entry.js → p-04dcd856.entry.js} +2 -2
  134. package/dist/infineon-design-system-stencil/{p-ad3db607.entry.js → p-0a629668.entry.js} +2 -2
  135. package/dist/infineon-design-system-stencil/{p-7f59e05a.entry.js → p-117a6839.entry.js} +2 -2
  136. package/dist/infineon-design-system-stencil/{p-c34f5517.entry.js → p-15effb48.entry.js} +2 -2
  137. package/dist/infineon-design-system-stencil/{p-32510d11.entry.js → p-2435017b.entry.js} +2 -2
  138. package/dist/infineon-design-system-stencil/{p-a116e0d2.entry.js → p-24fcd716.entry.js} +2 -2
  139. package/dist/infineon-design-system-stencil/{p-35d0daa5.entry.js → p-25266bf9.entry.js} +2 -2
  140. package/dist/infineon-design-system-stencil/{p-a2d7c880.entry.js → p-2d4c5959.entry.js} +2 -2
  141. package/dist/infineon-design-system-stencil/{p-85f4399b.entry.js → p-384ffeb8.entry.js} +2 -2
  142. package/dist/infineon-design-system-stencil/p-3ef52c09.entry.js +2 -0
  143. package/dist/infineon-design-system-stencil/{p-030a5b46.entry.js.map → p-3ef52c09.entry.js.map} +1 -1
  144. package/dist/infineon-design-system-stencil/{p-53f2ab7f.entry.js → p-4b0f836d.entry.js} +2 -2
  145. package/dist/infineon-design-system-stencil/{p-dc7deb14.entry.js → p-50f06657.entry.js} +2 -2
  146. package/dist/infineon-design-system-stencil/{p-9ee328a5.entry.js → p-5f34d2bc.entry.js} +2 -2
  147. package/dist/infineon-design-system-stencil/{p-4fab3a1e.entry.js → p-6f00d371.entry.js} +2 -2
  148. package/dist/infineon-design-system-stencil/{p-c80f9282.entry.js → p-79a73b5f.entry.js} +2 -2
  149. package/dist/infineon-design-system-stencil/{p-f8d7bbe2.entry.js → p-7c0bbef1.entry.js} +2 -2
  150. package/dist/infineon-design-system-stencil/{p-7fa8ccd3.entry.js → p-97e9e312.entry.js} +2 -2
  151. package/dist/infineon-design-system-stencil/{p-89c7209f.entry.js → p-9a47f8ad.entry.js} +2 -2
  152. package/dist/infineon-design-system-stencil/{p-0a011c63.entry.js → p-a16d5258.entry.js} +2 -2
  153. package/dist/infineon-design-system-stencil/{p-44b2cbe1.entry.js → p-b14bd5b7.entry.js} +2 -2
  154. package/dist/infineon-design-system-stencil/{p-6c5f0f7b.entry.js → p-bbaa8d57.entry.js} +2 -2
  155. package/dist/infineon-design-system-stencil/{p-00d6e46e.entry.js → p-c668bc59.entry.js} +2 -2
  156. package/dist/infineon-design-system-stencil/p-c7f80bba.entry.js +2 -0
  157. package/dist/infineon-design-system-stencil/p-c7f80bba.entry.js.map +1 -0
  158. package/dist/infineon-design-system-stencil/{p-9481adc8.entry.js → p-c8728936.entry.js} +2 -2
  159. package/dist/infineon-design-system-stencil/{p-366148e2.entry.js → p-d09be3a1.entry.js} +2 -2
  160. package/dist/infineon-design-system-stencil/{p-6fdc1a34.entry.js → p-d28dda66.entry.js} +2 -2
  161. package/dist/infineon-design-system-stencil/{p-c5daebfa.entry.js → p-d71e765c.entry.js} +2 -2
  162. package/dist/infineon-design-system-stencil/{p-499dba27.entry.js → p-d82e1057.entry.js} +2 -2
  163. package/dist/infineon-design-system-stencil/{p-8a497a15.entry.js → p-f856fa8b.entry.js} +2 -2
  164. package/package.json +1 -1
  165. package/dist/infineon-design-system-stencil/p-030a5b46.entry.js +0 -2
  166. package/dist/infineon-design-system-stencil/p-18f5a5e3.entry.js +0 -2
  167. package/dist/infineon-design-system-stencil/p-18f5a5e3.entry.js.map +0 -1
  168. /package/dist/infineon-design-system-stencil/{p-d101e5a0.entry.js.map → p-04dcd856.entry.js.map} +0 -0
  169. /package/dist/infineon-design-system-stencil/{p-ad3db607.entry.js.map → p-0a629668.entry.js.map} +0 -0
  170. /package/dist/infineon-design-system-stencil/{p-7f59e05a.entry.js.map → p-117a6839.entry.js.map} +0 -0
  171. /package/dist/infineon-design-system-stencil/{p-c34f5517.entry.js.map → p-15effb48.entry.js.map} +0 -0
  172. /package/dist/infineon-design-system-stencil/{p-32510d11.entry.js.map → p-2435017b.entry.js.map} +0 -0
  173. /package/dist/infineon-design-system-stencil/{p-a116e0d2.entry.js.map → p-24fcd716.entry.js.map} +0 -0
  174. /package/dist/infineon-design-system-stencil/{p-35d0daa5.entry.js.map → p-25266bf9.entry.js.map} +0 -0
  175. /package/dist/infineon-design-system-stencil/{p-a2d7c880.entry.js.map → p-2d4c5959.entry.js.map} +0 -0
  176. /package/dist/infineon-design-system-stencil/{p-85f4399b.entry.js.map → p-384ffeb8.entry.js.map} +0 -0
  177. /package/dist/infineon-design-system-stencil/{p-53f2ab7f.entry.js.map → p-4b0f836d.entry.js.map} +0 -0
  178. /package/dist/infineon-design-system-stencil/{p-dc7deb14.entry.js.map → p-50f06657.entry.js.map} +0 -0
  179. /package/dist/infineon-design-system-stencil/{p-9ee328a5.entry.js.map → p-5f34d2bc.entry.js.map} +0 -0
  180. /package/dist/infineon-design-system-stencil/{p-4fab3a1e.entry.js.map → p-6f00d371.entry.js.map} +0 -0
  181. /package/dist/infineon-design-system-stencil/{p-c80f9282.entry.js.map → p-79a73b5f.entry.js.map} +0 -0
  182. /package/dist/infineon-design-system-stencil/{p-f8d7bbe2.entry.js.map → p-7c0bbef1.entry.js.map} +0 -0
  183. /package/dist/infineon-design-system-stencil/{p-7fa8ccd3.entry.js.map → p-97e9e312.entry.js.map} +0 -0
  184. /package/dist/infineon-design-system-stencil/{p-89c7209f.entry.js.map → p-9a47f8ad.entry.js.map} +0 -0
  185. /package/dist/infineon-design-system-stencil/{p-0a011c63.entry.js.map → p-a16d5258.entry.js.map} +0 -0
  186. /package/dist/infineon-design-system-stencil/{p-44b2cbe1.entry.js.map → p-b14bd5b7.entry.js.map} +0 -0
  187. /package/dist/infineon-design-system-stencil/{p-6c5f0f7b.entry.js.map → p-bbaa8d57.entry.js.map} +0 -0
  188. /package/dist/infineon-design-system-stencil/{p-00d6e46e.entry.js.map → p-c668bc59.entry.js.map} +0 -0
  189. /package/dist/infineon-design-system-stencil/{p-9481adc8.entry.js.map → p-c8728936.entry.js.map} +0 -0
  190. /package/dist/infineon-design-system-stencil/{p-366148e2.entry.js.map → p-d09be3a1.entry.js.map} +0 -0
  191. /package/dist/infineon-design-system-stencil/{p-6fdc1a34.entry.js.map → p-d28dda66.entry.js.map} +0 -0
  192. /package/dist/infineon-design-system-stencil/{p-c5daebfa.entry.js.map → p-d71e765c.entry.js.map} +0 -0
  193. /package/dist/infineon-design-system-stencil/{p-499dba27.entry.js.map → p-d82e1057.entry.js.map} +0 -0
  194. /package/dist/infineon-design-system-stencil/{p-8a497a15.entry.js.map → p-f856fa8b.entry.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { P as Pagination, d as defineCustomElement$1 } from './p-2f1e7628.js';
1
+ import { P as Pagination, d as defineCustomElement$1 } from './p-f9cdecb2.js';
2
2
 
3
3
  const IfxPagination = Pagination;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -22,7 +22,7 @@ const ProgressBar = /*@__PURE__*/ proxyCustomElement(class ProgressBar extends H
22
22
  this.internalValue = this.value;
23
23
  }
24
24
  render() {
25
- return (h("div", { key: '9357496a783f4b3e1b044ab4d706ee83e443dd58', "aria-label": 'a progress bar', "aria-value": this.value, class: `progress-bar ${this.size}` }, h("div", { key: '29fd4c791396b927456b4fc514fdbada0d03bc7f', class: "progress", style: { width: `${this.internalValue}%` } }, this.showLabel && this.size !== "s" && this.internalValue !== 0 && h("span", { key: '945e380d7991c53930f1b3ebc396cfec1bc06d31', class: "label" }, `${this.internalValue}%`))));
25
+ return (h("div", { key: '08f1b959803b48ce212fcabd9bd1daf8987ebb8d', "aria-label": 'a progress bar', "aria-value": this.value, class: `progress-bar ${this.size}` }, h("div", { key: '6e4c7d9c69c917c0986c6793a86894f7f94e0681', class: "progress", style: { width: `${this.internalValue}%` } }, this.showLabel && this.size !== "s" && this.internalValue !== 0 && h("span", { key: '88e5e1d3fb79ec93262b38ddec839002281de965', class: "label" }, `${this.internalValue}%`))));
26
26
  }
27
27
  static get watchers() { return {
28
28
  "value": ["valueChanged"]
@@ -1,4 +1,4 @@
1
- import { R as RadioButton, d as defineCustomElement$1 } from './p-7bbdeac1.js';
1
+ import { R as RadioButton, d as defineCustomElement$1 } from './p-e181fc5c.js';
2
2
 
3
3
  const IfxRadioButton = RadioButton;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h } from './p-68d90201.js';
2
2
  import { d as defineCustomElement$3 } from './p-7e430b83.js';
3
- import { d as defineCustomElement$2 } from './p-d57db1c4.js';
3
+ import { d as defineCustomElement$2 } from './p-63edb8e2.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;
@@ -43,7 +43,7 @@ const SearchBar = /*@__PURE__*/ proxyCustomElement(class SearchBar extends H {
43
43
  this.value = event.detail;
44
44
  }
45
45
  render() {
46
- return (h("div", { key: '80312faf68e6b0af2260c977d53f23b42067813f', "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" })))));
46
+ return (h("div", { key: '126123cf2e7c3bd9a362349c293ebc5be37be980', "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" })))));
47
47
  }
48
48
  get el() { return this; }
49
49
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { S as SearchField, d as defineCustomElement$1 } from './p-d57db1c4.js';
1
+ import { S as SearchField, d as defineCustomElement$1 } from './p-63edb8e2.js';
2
2
 
3
3
  const IfxSearchField = SearchField;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -30,7 +30,7 @@ const Segment = /*@__PURE__*/ proxyCustomElement(class Segment extends H {
30
30
  }
31
31
  }
32
32
  render() {
33
- return (h("div", { key: '49c56df2adf407d13685ae7c99b512afa532c6de', class: `segment ${this.selected ? 'segment--selected' : ''}`, tabIndex: 0, onClick: () => { this.handleSegmentClick(); }, onKeyDown: (e) => { this.handleSegmentKeyDown(e); } }, h("ifx-icon", { key: 'c576b2bb7b09ae6ed1946759df7303df36b430dc', icon: this.icon }), " ", h("slot", { key: '61d467f2cda3552d5c90e9995ceccdca76c6825c' })));
33
+ return (h("div", { key: '65b451c80bc02f4c9fa388fa8c3d37db370c88c6', class: `segment ${this.selected ? 'segment--selected' : ''}`, tabIndex: 0, onClick: () => { this.handleSegmentClick(); }, onKeyDown: (e) => { this.handleSegmentKeyDown(e); } }, h("ifx-icon", { key: '6e2e6d4115dcf308a4ae09f412b90c7d1c6f6bce', icon: this.icon }), " ", h("slot", { key: '0fbdd8238a3ebe51e47e17c7b4ad2e1b119dbd15' })));
34
34
  }
35
35
  static get style() { return IfxSegmentStyle0; }
36
36
  }, [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: '2a980fa0fd18e469c2d92c57c80c62b7dfee30e9', "aria-value": this.selectedValue, "aria-label": 'segmented control', class: 'group' }, h("div", { key: 'bf202bd9f2a4967c5a5c0cd24013242ad4752a80', class: 'group__label' }, this.label.trim()), h("div", { key: '89e974d972a4ad903193459e9a65b47c89114ab8', class: 'group__controls' }, h("slot", { key: '10a57ab800389b4a7ae482c152817486a28ae96f' })), this.caption.trim() &&
75
- h("div", { key: 'f63a61eabf58e03cc0c4b5bae031965b82cb4f2c', class: 'group__caption' }, h("ifx-icon", { key: 'b758bb66d96d48e795565dbd662f1a2fc3648bfe', icon: 'cinfo16' }), " ", this.caption.trim())));
74
+ return (h("div", { key: 'd9e5a150744e74e5f74acc2f515ff47b8e3419d4', "aria-value": this.selectedValue, "aria-label": 'segmented control', class: 'group' }, h("div", { key: 'be06aeb64d42d76d10b24241922f02e0ae1198e7', class: 'group__label' }, this.label.trim()), h("div", { key: 'd02bbd03b4f3cc2b8758519dcd3ac0bcc56d30e0', class: 'group__controls' }, h("slot", { key: 'edc51c6caf5148d83fff252f0418194f4be20744' })), this.caption.trim() &&
75
+ h("div", { key: '58111856e2d4ceb7491ce1b9cff7abc821cc3c31', class: 'group__caption' }, h("ifx-icon", { key: 'c9178cc674af2865eb99422dc598c0da8cf8e390', icon: 'cinfo16' }), " ", this.caption.trim())));
76
76
  }
77
77
  componentDidRender() {
78
78
  this.setSegmentSize();
@@ -1,4 +1,4 @@
1
- import { C as Choices, d as defineCustomElement$1 } from './p-11922b8b.js';
1
+ import { C as Choices, d as defineCustomElement$1 } from './p-2f603818.js';
2
2
 
3
3
  const IfxSelect = Choices;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -3,8 +3,8 @@ import { d as defineCustomElement$7 } from './p-f0f583d5.js';
3
3
  import { d as defineCustomElement$6 } from './p-4b3befbf.js';
4
4
  import { d as defineCustomElement$5 } from './p-7e430b83.js';
5
5
  import { d as defineCustomElement$4 } from './p-04b73e62.js';
6
- import { d as defineCustomElement$3 } from './p-11922b8b.js';
7
- import { d as defineCustomElement$2 } from './p-12e02e47.js';
6
+ import { d as defineCustomElement$3 } from './p-2f603818.js';
7
+ import { d as defineCustomElement$2 } from './p-03181918.js';
8
8
 
9
9
  const setFilterCss = "";
10
10
  const IfxSetFilterStyle0 = setFilterCss;
@@ -152,10 +152,10 @@ const IfxSlider$1 = /*@__PURE__*/ proxyCustomElement(class IfxSlider extends H {
152
152
  this.updateValuePercent();
153
153
  }
154
154
  render() {
155
- return (h("div", { key: 'b465d077094d60c3bdf74cd5ac862e967841067b', class: "ifx-slider" }, this.leftText && (h("span", { key: '5913654492aa7e837b6778935b5cb3a7002308fd', class: `left-text` }, this.leftText)), this.leftIcon && (h("ifx-icon", { key: '26b106c741836e06e127ef3299f0d433de693ab9', icon: this.leftIcon, class: `left-icon${this.disabled ? ' disabled' : ''}` })), (this.type !== 'double') ?
155
+ return (h("div", { key: 'c3d57c86d3f73a10d8230c6a0ac2d6518f8798e1', class: "ifx-slider" }, this.leftText && (h("span", { key: '2ce7ac5b13daec0ccf6b9a3f5d9875add891d40b', class: `left-text` }, this.leftText)), this.leftIcon && (h("ifx-icon", { key: '09563c6af0be70c77cf997b1eaaa89a62cd686df', icon: this.leftIcon, class: `left-icon${this.disabled ? ' disabled' : ''}` })), (this.type !== 'double') ?
156
156
  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 })
157
157
  :
158
- 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: '4af440423ce265817ecd177c0f74a9ed1d0e5f10', icon: this.rightIcon, class: `right-icon${this.disabled ? ' disabled' : ''}` })), this.rightText && (h("span", { key: '627694f955bfc92530e91fdd56ddaa791d7006e7', class: `right-text${this.disabled ? ' disabled' : ''}` }, this.rightText)), this.showPercentage && (this.type !== "double") && (h("span", { key: '6b564afbe80debd694cd325e6719c5fecd40ca66', class: `percentage-display${this.disabled ? ' disabled' : ''}` }, this.percentage, "%"))));
158
+ 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: 'bd45db810d36c8819dcdbaf7bc4795648d30077e', icon: this.rightIcon, class: `right-icon${this.disabled ? ' disabled' : ''}` })), this.rightText && (h("span", { key: 'e6f12c0b49d26756ef83fb5b4ac20f25bf33207d', class: `right-text${this.disabled ? ' disabled' : ''}` }, this.rightText)), this.showPercentage && (this.type !== "double") && (h("span", { key: '5abd9643a6f772ded758d514a0b0dc8f9e18e3c0', class: `percentage-display${this.disabled ? ' disabled' : ''}` }, this.percentage, "%"))));
159
159
  }
160
160
  get el() { return this; }
161
161
  static get watchers() { return {
@@ -14,8 +14,8 @@ const Spinner = /*@__PURE__*/ proxyCustomElement(class Spinner extends H {
14
14
  this.inverted = false;
15
15
  }
16
16
  render() {
17
- return (h("div", { key: 'd305e244c68c5b9f74f9a67d17c3132c4f7d1e21', "aria-label": "spinner indicating a loading process", class: this.getClassNames() }, h("div", { key: 'cc9610476f50516e906d314d4c13162be10045c8', class: `${this.variant !== 'brand' ? 'border' : ""} ${this.inverted ? 'inverted' : ""}` }), this.variant === 'brand'
18
- && h("div", { key: '526c5014652d47cb6db5cab0d512e2251bf10f39', class: `semiconductor ${this.inverted ? 'inverted' : ""} ${this.getSizeClass()}` }, h("svg", { key: '1b3505e30327ce55daeca879282c7332632bbd33', width: '40', height: '40', viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: 'a6f15ce30a574de0d4c2dfbc5fb976351e49935e', id: "spinner/conductor" }, h("path", { key: '9df9cdf10db9ea2e87f4a81e270e18c1b1d7f9d1', 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" }))))));
17
+ return (h("div", { key: '83d5b9453610b862a68aa9ece33899c4f04d827d', "aria-label": "spinner indicating a loading process", class: this.getClassNames() }, h("div", { key: 'bfcdabadb5086143182e10a5cfa6763865288217', class: `${this.variant !== 'brand' ? 'border' : ""} ${this.inverted ? 'inverted' : ""}` }), this.variant === 'brand'
18
+ && h("div", { key: '19bbd5c630d14d9823a635ac546a2ecd8cc908e4', class: `semiconductor ${this.inverted ? 'inverted' : ""} ${this.getSizeClass()}` }, h("svg", { key: 'b4228122ce3d92aabea862c9b0757563c90b7b0f', width: '40', height: '40', viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: 'ef219b50001f54cb297d31c70a1ec6c37a491023', id: "spinner/conductor" }, h("path", { key: 'acd452dcc07558d4841d0cfcb9c333eb25159398', 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" }))))));
19
19
  }
20
20
  getSizeClass() {
21
21
  return `${this.size}` === "s"
@@ -14,7 +14,7 @@ const Status = /*@__PURE__*/ proxyCustomElement(class Status extends H {
14
14
  }
15
15
  render() {
16
16
  const containerClass = this.border ? `container border-${this.color}` : 'container no-border';
17
- return (h("div", { key: '6e25a145cdcaee5a2137c94531b84c97b28c8a01', "aria-label": "a status indicator", "aria-value": this.label, class: containerClass }, h("span", { key: '5c43e25f62e1bafb8e856b786de7bc9a37e0ff4d', class: `dot ${this.color}` }), h("p", { key: '1d64598bbef69fc6de5e7dc529afb43f9cd0236b', class: "text" }, this.label)));
17
+ return (h("div", { key: '11cf42c29727b1de165faa101504fc8ed3ffe143', "aria-label": "a status indicator", "aria-value": this.label, class: containerClass }, h("span", { key: 'dd77aba86956af473fb23f891543cbf0abb3e424', class: `dot ${this.color}` }), h("p", { key: 'ef225e443394cb9b431087f4c2e7312bb6c8c40c', class: "text" }, this.label)));
18
18
  }
19
19
  static get style() { return IfxStatusStyle0; }
20
20
  }, [1, "ifx-status", {
@@ -51,7 +51,7 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends H {
51
51
  }
52
52
  }
53
53
  render() {
54
- return (h("div", { key: 'f811f73051339e459e5b3e8b2c808874b1b10ea9', "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
+ return (h("div", { key: '7cdac0ba78ab462dc0f341f9f7fea5714ce81e57', "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' : ''}
55
55
  ${this.error ? 'error' : ''}
56
56
  ${this.stepperState.variant}
57
57
  ${this.complete ? 'complete' : ''}
@@ -59,11 +59,11 @@ const Step = /*@__PURE__*/ proxyCustomElement(class Step extends H {
59
59
  indicator-${this.stepperState.indicatorPosition}
60
60
  ${this.active ? 'active' : ''}
61
61
  ${this.clickable ? 'clickable' : ''}
62
- ${this.disabled ? 'disabled' : ''}` }, h("div", { key: '2f237e3543d9a65ccaa722d43934560f8c0c6a29', class: 'step-icon-wrapper' }, this.stepperState.variant !== 'compact' && h("span", { key: 'd5be70693ae61126845412a1ae919d81cc16dd0a', class: 'step-connector-l' }), (this.stepperState.variant !== 'compact' && (!this.error || (this.error && this.active))) &&
63
- h("div", { key: '6fee4e214c21761f24ba9b2a113368b4b086e5d0', class: 'step-icon' }, (this.stepperState.showStepNumber && !this.complete && !this.active) ? this.stepId : '', (this.complete && !this.active) && h("ifx-icon", { key: 'e6e8aa2938c443da65655418b4718ab5f1534116', icon: 'check16' }), this.active && h("span", { key: '36c5708b9872ef0742c062c3475421819b5a6942', class: 'active-indic' })), (this.stepperState.variant !== 'compact' && this.error && !this.active) && h("ifx-icon", { key: '083e478b3acf9da5f74291be63d5ceec8f63fcf9', icon: 'warningf24' }), this.stepperState.variant !== 'compact' && h("span", { key: 'a4b4dd719be8a309d5adf6c229428115ed4a189e', class: `step-connector-r ${this.active ? 'active' : ''}` })),
62
+ ${this.disabled ? 'disabled' : ''}` }, h("div", { key: 'a6bee8557dfef1f5e6e170a8b78455316776544a', class: 'step-icon-wrapper' }, this.stepperState.variant !== 'compact' && h("span", { key: '793b87a257fd933c58c41ab5257cb8b30cbba302', class: 'step-connector-l' }), (this.stepperState.variant !== 'compact' && (!this.error || (this.error && this.active))) &&
63
+ h("div", { key: 'ad96dbb8a4814e7dfbd37f6e519df65366f510cc', class: 'step-icon' }, (this.stepperState.showStepNumber && !this.complete && !this.active) ? this.stepId : '', (this.complete && !this.active) && h("ifx-icon", { key: 'cd6e338685cf91590799155e6129e7176f02d7bb', icon: 'check16' }), this.active && h("span", { key: 'bf43224af7fc04dbb72e96572fa2564912de12fa', class: 'active-indic' })), (this.stepperState.variant !== 'compact' && this.error && !this.active) && h("ifx-icon", { key: 'ebbd45d8bfad46ee520a5054ed8f387a3c678c05', icon: 'warningf24' }), this.stepperState.variant !== 'compact' && h("span", { key: 'fdd0a2b2bc434b428379a2aa81fa2d413a8aae74', class: `step-connector-r ${this.active ? 'active' : ''}` })),
64
64
  /* Step labels */
65
65
  (this.stepperState.variant !== 'compact' || (this.stepperState.variant === 'compact' && (this.active || this.stepId === this.stepperState.activeStep + 1))) &&
66
- h("div", { key: '38ab0d35f35090fc408ecb8fc26221d1c6fc5d26', 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: 'af0c3cde7247fc38da13cc38b6f0287f62c87688' }), this.stepperState.variant === 'compact' && !this.active ? 'Next: ' : '', this.stepperState.variant === 'compact' && h("slot", { key: 'b6807a0ca71455d51eb73e1ec0c065e2e0a9d233' }))));
66
+ h("div", { key: '23a924683757b80f877cd42a1a1cedac11525d12', 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: '50cb22884954b7ebe674b7084db69791ef69e70b' }), this.stepperState.variant === 'compact' && !this.active ? 'Next: ' : '', this.stepperState.variant === 'compact' && h("slot", { key: '71d32772d0afe56e0078ad60eea63e7de6c87bf2' }))));
67
67
  }
68
68
  ;
69
69
  static get watchers() { return {
@@ -125,10 +125,10 @@ const Stepper = /*@__PURE__*/ proxyCustomElement(class Stepper extends H {
125
125
  this.syncIfxSteps();
126
126
  }
127
127
  render() {
128
- return (h("div", { key: '717c5de3dd19bba21b84ee182974fe95a5668d41', "aria-label": 'a stepper', role: 'navigation', class: `stepper ${(this.variant !== 'compact' && this.variant !== 'vertical') ? 'default' : this.variant} ${this.variant === 'compact' ? 'compact-' + this.indicatorPosition : ''}` },
128
+ return (h("div", { key: 'f2e93e259a501fd05a2a80c7397d06a0b8e1ac68', "aria-label": 'a stepper', role: 'navigation', class: `stepper ${(this.variant !== 'compact' && this.variant !== 'vertical') ? 'default' : this.variant} ${this.variant === 'compact' ? 'compact-' + this.indicatorPosition : ''}` },
129
129
  /* Progress bar for compact variant. */
130
130
  (this.variant === 'compact') &&
131
- h("div", { key: 'b0502d8ddf1d0617ba481b47afd8040139323c83', class: 'stepper-progress' }, h("div", { key: 'efea8c4a1038802bf66c27b780724a9a640f60b7', class: 'progress-detail' }, `${Math.min(this.activeStep, this.stepsCount)} of ${this.stepsCount}`)), h("div", { key: '193397aafdda31d67b33991e6b7fac0f886a2477', class: `stepper-wrapper` }, h("slot", { key: 'e4d31312f64282a929991bec647b7e3e0942605e' }))));
131
+ h("div", { key: 'ce3a39478b07bb66339386a4d5628f9f8863a4be', class: 'stepper-progress' }, h("div", { key: '5a7e0c967387d6b17dfa4dd2e676acc1eed4661a', class: 'progress-detail' }, `${Math.min(this.activeStep, this.stepsCount)} of ${this.stepsCount}`)), h("div", { key: '8db37824dcce73499eae526a34f17ff85a943e8d', class: `stepper-wrapper` }, h("slot", { key: 'b8bf71472c5b63c993999dcc41b6694d5f683afd' }))));
132
132
  }
133
133
  ;
134
134
  componentDidRender() {
@@ -73,7 +73,7 @@ const Switch = /*@__PURE__*/ proxyCustomElement(class Switch extends H {
73
73
  this.internals.setFormValue(null);
74
74
  }
75
75
  render() {
76
- return (h("div", { key: 'de6389b77c207826d77a570abe5478c6367d1a2f', 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: '1106e7915d271968cfb7e492416e4c4d3880c79f', class: `switch__checkbox-container ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}`, tabindex: "0" }, h("div", { key: '28e9a3a6b19b15e0bf7728de60d0096b0105e479', class: "switch__checkbox-wrapper" }, h("input", { key: '707c0926234f0efd3e89add4de113a60d93fa0f6', type: "checkbox", hidden: true, name: this.name, disabled: this.disabled, checked: this.internalChecked, value: `${this.value}` }), h("div", { key: 'c49f39e736dedca763a5e64c244150511002b362', class: `switch ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}` }))), h("div", { key: '11b0ea462a831639c84aa58cfaffed801881dc6a', class: `switch__label-wrapper ${this.disabled ? 'disabled' : ''}` }, h("label", { key: 'dc3fd52e702f0630283d871fff9b47184db4e535', htmlFor: "switch" }, h("slot", { key: '4b77fbdea92c23c4d056b71ad5ac889f24e34277', onSlotchange: () => this.toggleLabelGap() })))));
76
+ return (h("div", { key: '1ed3d8c2f655656146ed24e547175ac81617f9d9', 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: 'a0c5348b7011c57c2f8acc5d4f1aa6f34a014819', class: `switch__checkbox-container ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}`, tabindex: "0" }, h("div", { key: '05788440cc2d89f498b9d1dd61c96cff79d177aa', class: "switch__checkbox-wrapper" }, h("input", { key: 'afc473786a71945c1109551cd47ce76fd3a325d4', type: "checkbox", hidden: true, name: this.name, disabled: this.disabled, checked: this.internalChecked, value: `${this.value}` }), h("div", { key: '888e72f8e141ffbc0e314039d7c144daf2c580b3', class: `switch ${this.internalChecked ? 'checked' : ''} ${this.disabled ? 'disabled' : ''}` }))), h("div", { key: '50f218bae8c294eaebe3f9058c2818511cd515a5', class: `switch__label-wrapper ${this.disabled ? 'disabled' : ''}` }, h("label", { key: '833c29fc6dbb5f1efc2e073100f267b3fddefcb8', htmlFor: "switch" }, h("slot", { key: '7b43f97578aba84c4a67ced1b11fd1d9940d834e', onSlotchange: () => this.toggleLabelGap() })))));
77
77
  }
78
78
  static get formAssociated() { return true; }
79
79
  get el() { return this; }
@@ -17,7 +17,7 @@ const IfxTab$1 = /*@__PURE__*/ proxyCustomElement(class IfxTab extends H {
17
17
  this.tabHeaderChange.emit(this.header);
18
18
  }
19
19
  render() {
20
- return h("slot", { key: '159982e12cd57b8ea322152abd5b9bc5e261ba88' });
20
+ return h("slot", { key: 'b0f03bc9e9281a47ef501031cc13ada97d3d404c' });
21
21
  }
22
22
  get el() { return this; }
23
23
  static get style() { return IfxTabStyle0; }
@@ -8,8 +8,8 @@ import { d as defineCustomElement$7 } from './p-23cdd5a7.js';
8
8
  import { d as defineCustomElement$6 } from './p-7e430b83.js';
9
9
  import { d as defineCustomElement$5 } from './p-8eed2f39.js';
10
10
  import { d as defineCustomElement$4 } from './p-9ee4ea24.js';
11
- import { d as defineCustomElement$3 } from './p-2f1e7628.js';
12
- import { d as defineCustomElement$2 } from './p-11922b8b.js';
11
+ import { d as defineCustomElement$3 } from './p-f9cdecb2.js';
12
+ import { d as defineCustomElement$2 } from './p-2f603818.js';
13
13
 
14
14
  class ButtonCellRenderer {
15
15
  init(params) {
@@ -467,12 +467,12 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends H {
467
467
  };
468
468
  }
469
469
  const filterClass = this.filterOrientation === 'topbar' ? 'topbar-layout' : 'sidebar-layout';
470
- return (h(Host, { key: 'b729796301f2cbb41f9ed3f87eb1830dcd14f2f1' }, h("div", { key: '1aad01d8b7d76ce42e5e089a94d1301f912fdb3a', class: "table-container" }, this.filterOrientation === 'sidebar' && (h("div", { key: '4c71ac71b270f9efa4e1b8050b64f59688b4d941', class: "sidebar-btn" }, h("ifx-button", { key: '92f0b620f0b93c75d8a3a61e29c5530864d04eb5', type: "button", disabled: false, variant: "secondary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.toggleSidebarFilters() }, h("ifx-icon", { key: 'cdc76f610751c9fa5fa848a0bfd371b7cae2f5a0', icon: "cross-12" }), this.showSidebarFilters ? 'Hide Filters' : 'Show Filters'))), h("div", { key: 'dba2a36c5516555903c831c536b2851648b2df1e', class: filterClass }, this.filterOrientation === 'sidebar' && this.showSidebarFilters && (h("div", { key: '3f4bb65cc6ca31d4e51fe42a59cce0e20eea69f3', class: "sidebar-container" }, h("div", { key: '63487d20769bf234e2442d61a5dc5f82a69b97d6', class: "filters-title-container" }, h("span", { key: '3aed4afe6c475f7049eba269f3e0832fb2f7a61d', class: "filters-title" }, "Filters")), h("div", { key: 'eb71696ae6055053a75b7cda1fe39dca49be907d', class: "set-filter-wrapper-sidebar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: '57edff02ef255645c5be3a742ef55e031449d015', name: "sidebar-filter" }))))), this.filterOrientation !== 'none' && this.filterOrientation !== 'sidebar' && (h("div", { key: 'f7cbe678ba899380d23190e2b5abdaf0d399df97', class: "set-filter-wrapper-topbar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: '370b0c55c190e53df30281d2e877d8b556c2b01a', name: "topbar-filter" })))), h("div", { key: '813e23cdac3baf819662e21d8b5ea718b09e4ef3', class: "table-pagination-wrapper" }, h("div", { key: 'e7d64df89d6686c0f4fc90f0abfcba27fbde37e9', class: "filter-chips" }, this.filterOrientation !== 'none' && this.filterOrientation !== 'topbar' && this.showSidebarFilters && (Object.keys(this.currentFilters).map(name => {
470
+ return (h(Host, { key: '1c5dcd2b916b5453a274d7d0913468fd5511b59b' }, h("div", { key: 'dc9ddd3b35763b87db80a4a44f34ff5439a8ec8e', class: "table-container" }, this.filterOrientation === 'sidebar' && (h("div", { key: 'b08d52f24e32d4a64b672dd14df4cd9a110e9a6e', class: "sidebar-btn" }, h("ifx-button", { key: '8875fd5f849599dcb173c0c5b9de231c060a65f4', type: "button", disabled: false, variant: "secondary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.toggleSidebarFilters() }, h("ifx-icon", { key: '5bace653046cc94ef3e64ee2e148d40d254f289e', icon: "cross-12" }), this.showSidebarFilters ? 'Hide Filters' : 'Show Filters'))), h("div", { key: 'f9ddcdc45a9fe998050e367f64f19a95ad267090', class: filterClass }, this.filterOrientation === 'sidebar' && this.showSidebarFilters && (h("div", { key: '422eb6d3a12f85fd78f7a0d7b0f88c1edb6700d9', class: "sidebar-container" }, h("div", { key: '5008bc03ee7a1af7b47c529d16a03d74f81fa329', class: "filters-title-container" }, h("span", { key: 'bf1c4ab449155f2d5050d0128edb30e0a6ed48be', class: "filters-title" }, "Filters")), h("div", { key: 'f893dbd688af73495c360c5d4aaee54b9d8f262c', class: "set-filter-wrapper-sidebar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: '3b80155cd350ad5c809d84890cf16a34c47236ef', name: "sidebar-filter" }))))), this.filterOrientation !== 'none' && this.filterOrientation !== 'sidebar' && (h("div", { key: '6cee1cffb6af9539da3a32c2ba44de8666ba6b47', class: "set-filter-wrapper-topbar" }, (this.filterOrientation !== 'sidebar' || this.showSidebarFilters) && (h("slot", { key: 'b4b4cac6a833af606eac368cf1767001d0c4bd81', name: "topbar-filter" })))), h("div", { key: 'e30cd1e855e2f571692e44b897437929181497a1', class: "table-pagination-wrapper" }, h("div", { key: '576feb7b4bcce037b90533b3f532c165c726e154', class: "filter-chips" }, this.filterOrientation !== 'none' && this.filterOrientation !== 'topbar' && this.showSidebarFilters && (Object.keys(this.currentFilters).map(name => {
471
471
  const filter = this.currentFilters[name];
472
472
  const filterValues = filter.filterValues;
473
473
  const isMultiSelect = filter.type !== 'text';
474
474
  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;
475
- })), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: '9e9041366a224464301309ea6ac5301b86c8926a', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.handleResetButtonClick() }, h("ifx-icon", { key: '0f088308085da2c7014bb3758bddaff11bb10b9b', icon: "curved-arrow-left-16" }), "Reset all"))), this.filterOrientation !== 'none' && (h("div", { key: 'e82ec3824a61f386ee20a6e9c865d0c92ab6c17e', class: "matching-results-container" }, h("span", { key: '0752f434d64de56f498f43a8e179943f8f82044a', class: "matching-results-count" }, this.matchingResultsCount), h("span", { key: '0f3c5c1f3c5e38e10aae56e30693c29a2c1221f8', class: "matching-results-text" }, "matching results"))), h("div", { key: 'bbcffcc32dba388df4f1d0022cb986ba3ec3fcb2', id: "table-wrapper", class: this.getTableClassNames() }, h("div", { key: '3b596c305e94e20f6a3e9229396dea2ff77c7bbe', 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)))));
475
+ })), this.filterOrientation !== 'none' && this.filterOrientation === 'sidebar' && this.showSidebarFilters && Object.keys(this.currentFilters).length > 0 && (h("ifx-button", { key: '748c01409c308a5168664a882fe4c975467bab99', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false", onClick: () => this.handleResetButtonClick() }, h("ifx-icon", { key: 'f81b3198cb9fdecfbe45e82c42ba770688ad121d', icon: "curved-arrow-left-16" }), "Reset all"))), this.filterOrientation !== 'none' && (h("div", { key: '775527d29ffbed6bd26bbc00288d33210fd890e4', class: "matching-results-container" }, h("span", { key: 'f6ec1558e507bed037e0812977525e6afa428b1b', class: "matching-results-count" }, this.matchingResultsCount), h("span", { key: '5d590bdbfcb37ce1e2a0027c6764c509992fd18d', class: "matching-results-text" }, "matching results"))), h("div", { key: '27f61bf2fb36d22501defcfa34ab7f16ae3f9a01', id: "table-wrapper", class: this.getTableClassNames() }, h("div", { key: '13dfcfcf6b4b072bcb956298b2cc12257b523348', 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)))));
476
476
  }
477
477
  hasButtonCol() {
478
478
  return this.getColData().some(column => column.field === 'button');
@@ -201,9 +201,9 @@ const IfxTabs$1 = /*@__PURE__*/ proxyCustomElement(class IfxTabs extends H {
201
201
  }
202
202
  render() {
203
203
  var _a;
204
- return (h("div", { key: 'b94b74545720034560b78d35909a4757c9239c28', "aria-label": "navigation tabs", class: `tabs ${this.internalOrientation}` }, h("ul", { key: '9689012ae62d5d22c7f9938bce7a5247d7fd1022', role: "tablist", class: "tabs-list" }, (_a = this.tabObjects) === null || _a === void 0 ? void 0 :
204
+ return (h("div", { key: '7d737252faf0c189cd7ca58cbfa5c1f1526cae69', "aria-label": "navigation tabs", class: `tabs ${this.internalOrientation}` }, h("ul", { key: 'e9058cba8865f03c184337d7d3032c4cdf20b6b5', role: "tablist", class: "tabs-list" }, (_a = this.tabObjects) === null || _a === void 0 ? void 0 :
205
205
  _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 :
206
- tab.header))), h("div", { key: '0365da7db703747de5996d5b48f1a59ba3ebc3e0', class: "active-border" })), h("div", { key: '53bdc3fbd557dec39cbdea5543ef7e56bf57a156', class: "tab-content" }, Array.from(this.tabObjects).map((_, index) => (h("div", { style: { display: index === this.internalActiveTabIndex ? 'block' : 'none' } }, h("slot", { name: `tab-${index}` })))))));
206
+ tab.header))), h("div", { key: '3da244a99ddb71e2c0a7fffdb1f181496828d9ef', class: "active-border" })), h("div", { key: '63d9a76df41d39be73f46eb9c731945e924a2059', class: "tab-content" }, Array.from(this.tabObjects).map((_, index) => (h("div", { style: { display: index === this.internalActiveTabIndex ? 'block' : 'none' } }, h("slot", { name: `tab-${index}` })))))));
207
207
  }
208
208
  get el() { return this; }
209
209
  static get watchers() { return {
@@ -12,7 +12,7 @@ const Tag = /*@__PURE__*/ proxyCustomElement(class Tag extends H {
12
12
  this.icon = undefined;
13
13
  }
14
14
  render() {
15
- return (h("div", { key: 'fd95fec410cb814e865254b6d19168093ca817a3', "aria-label": "a tag", class: "container" }, this.icon && (h("ifx-icon", { key: '331869ac0b205e6dde434c45639d7a607ca77d77', icon: this.icon })), h("a", { key: '58027bdcb06e65fe2a6032a4f8cee44259a10473', href: "javascript:void(null);", class: "label-wrapper" }, h("p", { key: '6db956e912c4469eff6c0cda1eb0dda92a1e5c0b', class: "label" }, h("slot", { key: 'ada3f26e0ecc145a0ae3c7eacce57b682cd33595' })))));
15
+ return (h("div", { key: '103aaf52f43ba9b22e337a9984dd353cfe0fe155', "aria-label": "a tag", class: "container" }, this.icon && (h("ifx-icon", { key: '2f87ba630039cdf93aac9f6ff67660168fd43d60', icon: this.icon })), h("a", { key: '0d77514108965a1fcdd54e41e4ca932eb64d6161', href: "javascript:void(null);", class: "label-wrapper" }, h("p", { key: 'e15558bac0bcb4273cb4e73ee527f9368f4ce27c', class: "label" }, h("slot", { key: 'eff616388b80ffc1cd677761b5584554ddc64a4d' })))));
16
16
  }
17
17
  static get style() { return IfxTagStyle0; }
18
18
  }, [1, "ifx-tag", {
@@ -1,4 +1,4 @@
1
- import { T as TextField, d as defineCustomElement$1 } from './p-12e02e47.js';
1
+ import { T as TextField, d as defineCustomElement$1 } from './p-03181918.js';
2
2
 
3
3
  const IfxTextField = TextField;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -47,9 +47,9 @@ const TextArea = /*@__PURE__*/ proxyCustomElement(class TextArea extends H {
47
47
  }
48
48
  render() {
49
49
  var _a, _b;
50
- return (h(Host, { key: 'd557bff378899253b1eea26f202a3d934424deac', class: `wrapper
50
+ return (h(Host, { key: 'fa5c845d5352544c1b4c62a09407aebb95da24d3', class: `wrapper
51
51
  wrapper--${this.error ? 'error' : ''}
52
- wrapper--${this.disabled ? 'disabled' : ''}` }, h("label", { key: '9163e001e0423effcbc9bad56af021acb8fc5229', class: 'wrapper__label', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 : _a.trim()), h("div", { key: 'ce7ea7607837c9979a984627fb9d762494a211b8', class: 'wrapper__textarea' }, h("textarea", { key: '6587f63b3d5ef32db9bf4c25ba03246d31a1120e', "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: '96f109dfc94c8563ce9b3aacfae00eef4b6a49b2', class: 'wrapper__caption' }, this.caption.trim()))));
52
+ wrapper--${this.disabled ? 'disabled' : ''}` }, h("label", { key: 'e68472869f26f77d87cf8cefd29d8e56aac74c95', class: 'wrapper__label', htmlFor: this.inputId }, (_a = this.label) === null || _a === void 0 ? void 0 : _a.trim()), h("div", { key: 'e4d5c36b7608d981bf33dc764453c9cc75883f59', class: 'wrapper__textarea' }, h("textarea", { key: '93988a66ea85198eb40fab3989a82f8a794d815f', "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: 'f58f74a260af7090a6e8059081dfe27fc3fe49c9', class: 'wrapper__caption' }, this.caption.trim()))));
53
53
  }
54
54
  static get formAssociated() { return true; }
55
55
  static get style() { return IfxTextareaStyle0; }
@@ -156,10 +156,10 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends H {
156
156
  'tooltip-extended': true,
157
157
  'visible': this.tooltipVisible,
158
158
  };
159
- return (h("div", { key: '246f0b291e39bbe49ebea1eed9827400f22bb680', "aria-label": "a tooltip showing important information", "aria-value": this.header, class: "tooltip__container" }, h("slot", { key: 'a16771de825d12d46661be2ecb61ce8326e25794' }), this.variant.toLowerCase() === 'dismissible' && h("div", { key: '974e0fdbf389fcce6cc34eccb897b188f0413eea', class: tooltipDismissible }, h("button", { key: 'a777e5a63134c07f4330d790044a7aafdb63a83c', "aria-label": "Close Tooltip", class: "close-button", onClick: this.onDismissClick }, h("ifx-icon", { key: '69cc351f97d892f98cf8bc3df48d2877129e4238', icon: "cross16" })), h("div", { key: '5db6f0ceff12be22d6de58767bab509b67dd9ff8', class: "tooltip-dismissible-content" }, this.header && h("div", { key: '22fd94a588780e413dc04dcc126380b5b382fde6', class: "tooltip-dismissible-header" }, this.header), h("div", { key: 'abd4158d18a1c57dda508caddcdb1be945a8efd2', class: "tooltip-dismissible-body" }, this.text)), h("svg", { key: '1bcd11086f4922c03532c99b2dd1618b862af68b', 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: '5dfac1fa79d7204b1f0770ed243cdbadfc14fdd9', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'compact' &&
160
- h("div", { key: 'a52aec447163df16d86d14f96d74501c45266e2a', class: tooltipCompact }, this.text, h("svg", { key: 'c28c49ee4446d73b366bb68280ddf5b9192cc79a', 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: '2de515ea4344c728a1da4b368c93c7ade11badcb', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'extended' &&
161
- h("div", { key: '9e3186e4856770c831d0422bce64b131c64f55f0', class: tooltipExtended }, h("slot", { key: '089640249dbfcf8eed4525615d6e289955304e09', name: "icon" }, this.icon ? h("div", { class: "extended_icon" }, h("ifx-icon", { icon: this.icon })) :
162
- 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: 'eab4f9af96d154a289bec83673db47d3580c267d', class: "tooltip-extended-content" }, this.header && h("div", { key: '810497a167351bef22a9e61050264032be295455', class: "tooltip-extended-header" }, this.header), h("div", { key: '802dbe5e093b9d69b9155e188d35a421b2ca0c2e', class: "tooltip-extended-body" }, this.text)), h("svg", { key: 'ff19a79905e5ea4af628364a254e03e022a08a3d', 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: '557540e1fd91ad15580011ddf37a4cd25a8a6ae3', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" })))));
159
+ return (h("div", { key: '7da57630a19be3d8b55667e0764445203cd1f77c', "aria-label": "a tooltip showing important information", "aria-value": this.header, class: "tooltip__container" }, h("slot", { key: '3a55da34a85606a8fd32207550366fad3436f120' }), this.variant.toLowerCase() === 'dismissible' && h("div", { key: '67dec6dcc56c7f3ca8a8a67ff070df931433f71e', class: tooltipDismissible }, h("button", { key: 'db34f7fe5237d960ff0a728f4b82c3df30c6266b', "aria-label": "Close Tooltip", class: "close-button", onClick: this.onDismissClick }, h("ifx-icon", { key: 'de96a6255887700e6b89a38b0ff549ea3916e1e7', icon: "cross16" })), h("div", { key: 'e324ffa46233ca6931ebe766c95e391d7c3d9ce2', class: "tooltip-dismissible-content" }, this.header && h("div", { key: 'd435679be58ec126b9fa9f785e960d2ef39b259d', class: "tooltip-dismissible-header" }, this.header), h("div", { key: 'd3ce120faae0d9b12d28069673d19e403e52763f', class: "tooltip-dismissible-body" }, this.text)), h("svg", { key: '28bf2c543359173d1ab0be2c9f098ff813b17650', 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: 'a355efa505ea997469320a35262780942e495504', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'compact' &&
160
+ h("div", { key: '55d7bfd3d951839bf89f887419e57b85623a3a0e', class: tooltipCompact }, this.text, h("svg", { key: '36247aaeda7486865b15ca4e4097a36b69d571c1', 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: 'ac90b5fd1f7188993695a1fc3ac084d8ba8cc8ee', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" }))), this.variant.toLowerCase() === 'extended' &&
161
+ h("div", { key: 'de8269abcb6ddc0219024b77f26d95cb809c8818', class: tooltipExtended }, h("slot", { key: 'f88f2cdaa9bafa4d95d7a6953fc4a2b4c49cad35', name: "icon" }, this.icon ? h("div", { class: "extended_icon" }, h("ifx-icon", { icon: this.icon })) :
162
+ 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: '226db4dd5c26b73ee30e20378b5a664bc365581b', class: "tooltip-extended-content" }, this.header && h("div", { key: '47a5ffc018245e0375255ea0eefe77e85e3b630c', class: "tooltip-extended-header" }, this.header), h("div", { key: '7892a686219be701d4a912a77edf77ba9cb5840a', class: "tooltip-extended-body" }, this.text)), h("svg", { key: '143b7a548b751cabb80450637ca8f9da9d54efa7', 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: '973348331d6ff15eaa25d9d29ab8490b5961d510', id: "Indicator", d: "M6 0L12 8L0 8L6 0Z", fill: "#1D1D1D" })))));
163
163
  }
164
164
  get el() { return this; }
165
165
  static get watchers() { return {
@@ -49,12 +49,12 @@ const TextField = /*@__PURE__*/ proxyCustomElement(class TextField extends H {
49
49
  this.internals.setFormValue("");
50
50
  }
51
51
  render() {
52
- return (h("div", { key: '8d742d3a60998d4648040fab5d5d50853b12c7b4', "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: '4965d888690874e8775bfc83602340b6b83d3e5e', class: "textInput__top-wrapper" }, h("label", { key: 'd5224921d5c26fc62d551bf10dd1207d8ff5e67f', htmlFor: "text-field" }, h("slot", { key: 'eb5758011376ace0664b074fd4e755b1920fa7f4' }), 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: 'ec295037f306f2cd6ee6c3ba3310dc858c4a74f6', class: "textInput__bottom-wrapper" }, h("div", { key: 'bfb3f3e2c47c6f57f29f3fb16cc5e5b50a5e11f4', class: "input-container" }, this.icon && (h("ifx-icon", { key: 'e94e39b0426900264b834b79e9b7667563311b3c', class: 'input-icon', icon: this.icon })), h("input", { key: '08ba76dbe8ac6ab62ffbcb4d0aa44437f8c6b057', 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' : ""}
52
+ return (h("div", { key: 'bb23874d364dd5cd6a93018b402d5e903210b667', "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: '2dbde0b3989f6b86587396a85a3c3e8e02f3f4d7', class: "textInput__top-wrapper" }, h("label", { key: '90a36f87df7fc093f5ce2152a2cdbff0aa0fab96', htmlFor: "text-field" }, h("slot", { key: '70197d0b96b5e0f3c193d3fd3e09d4c3156165af' }), 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: '326320a974bd5b6af15430dc3aca413fc2637dd3', class: "textInput__bottom-wrapper" }, h("div", { key: '3e5187212136c6f03056de3f0755e387b46e0f35', class: "input-container" }, this.icon && (h("ifx-icon", { key: 'e748bf9dafec5c7dc917131bd96fd4d049606a42', class: 'input-icon', icon: this.icon })), h("input", { key: '96e3dc6d940e3a85493810a89f5ba5e9493f4c2a', 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' : ""}
53
53
  ${this.error ? 'error' : ""}
54
54
  ${this.size === "s" ? "input-s" : ""}
55
- ${this.success ? "success" : ""}` }), (this.showDeleteIcon && this.value) && (h("ifx-icon", { key: 'f0df7c42fe70e05928e2db93017db15d1f8c659c', class: "delete-icon", icon: "cremove16", onClick: () => this.handleDeleteContent() }))), this.caption && !this.error &&
56
- h("div", { key: 'ac6811a80b1728eb7ecea350a2821990d3e49b40', class: `textInput__bottom-wrapper-caption ${this.disabled} ? disabled : ""` }, this.caption), this.error &&
57
- h("div", { key: 'deba470325e740fc058a67bfcf056af34ab4d8ef', class: "textInput__bottom-wrapper-caption error" }, this.caption))));
55
+ ${this.success ? "success" : ""}` }), (this.showDeleteIcon && this.value) && (h("ifx-icon", { key: '53a67b4e4c3dd2f861e248b6deaf31ffbe448093', class: "delete-icon", icon: "cremove16", onClick: () => this.handleDeleteContent() }))), this.caption && !this.error &&
56
+ h("div", { key: '35e9c9fa9f7e2104c6b08f46a2669e0c65a6a456', class: `textInput__bottom-wrapper-caption ${this.disabled} ? disabled : ""` }, this.caption), this.error &&
57
+ h("div", { key: 'e613e3a9eabb12cb6001466a3e85b72cb456529d', class: "textInput__bottom-wrapper-caption error" }, this.caption))));
58
58
  }
59
59
  static get formAssociated() { return true; }
60
60
  get el() { return this; }
@@ -101,4 +101,4 @@ function defineCustomElement() {
101
101
 
102
102
  export { TextField as T, defineCustomElement as d };
103
103
 
104
- //# sourceMappingURL=p-12e02e47.js.map
104
+ //# sourceMappingURL=p-03181918.js.map
@@ -1 +1 @@
1
- {"file":"p-12e02e47.js","mappings":"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","names":[],"sources":["src/components/text-field/text-field.scss?tag=ifx-text-field&encapsulation=shadow","src/components/text-field/text-field.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: flex;\n}\n\n.textInput__container {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 0px;\n width: 100%;\n flex: none;\n order: 0;\n align-self: stretch;\n flex-grow: 0;\n font-family: var(--ifx-font-family);\n\n\n &.disabled {\n & .textInput__top-wrapper {\n & label {\n color: tokens.$ifxColorEngineering500;\n }\n }\n\n & .textInput__bottom-wrapper {\n input {\n border: 1px solid tokens.$ifxColorEngineering500;\n background-color: tokens.$ifxColorEngineering200;\n\n &::placeholder {\n font-size: tokens.$ifxFontSizeS;\n color: tokens.$ifxColorEngineering500;\n }\n }\n }\n }\n\n & .textInput__top-wrapper {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n padding: 0px;\n gap: 4px;\n flex: none;\n order: 0;\n align-self: stretch;\n flex-grow: 0;\n\n & label {\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n display: flex;\n align-items: center;\n color: tokens.$ifxColorBaseBlack;\n flex: none;\n order: 0;\n flex-grow: 0;\n\n & .optional-required {\n margin-left: 4px;\n }\n\n & .optional {\n margin-left: 4px;\n }\n\n & .required {\n margin-left: 4px;\n \n &.error {\n color: #CD002F;\n }\n }\n }\n }\n\n .input-container {\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n }\n\n\n & .textInput__bottom-wrapper {\n flex-grow: 1;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 0px;\n gap: 4px;\n flex: none;\n order: 1;\n align-self: stretch;\n flex-grow: 0;\n\n & input {\n width: 100%;\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: tokens.$ifxSpace100 tokens.$ifxSpace200;\n gap: tokens.$ifxSpace100;\n height: tokens.$ifxSize500;\n background-color: tokens.$ifxColorBaseWhite;\n color: tokens.$ifxColorBaseBlack;\n font-family: tokens.$ifxFontFamilyBody;\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n border: 1px solid tokens.$ifxColorEngineering400;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n align-self: stretch;\n flex-grow: 0;\n text-overflow: ellipsis;\n\n &.input-s {\n height: tokens.$ifxSize450;\n font-size: tokens.$ifxFontSizeS;\n line-height: tokens.$ifxLineHeightS;\n\n &::placeholder {\n font-size: tokens.$ifxFontSizeS;\n line-height: tokens.$ifxLineHeightS;\n }\n\n }\n\n &.icon {\n padding-left: tokens.$ifxSpace500;\n }\n\n &.error {\n border: 1px solid #CD002F;\n\n &:focus {\n outline: none;\n }\n }\n\n &.success {\n border: 1px solid #4CA460;\n\n &:focus {\n outline: none;\n }\n }\n\n\n &:focus:not(.error, .success) {\n outline: none;\n border: 1px solid tokens.$ifxColorOcean500;\n }\n\n &:hover:not(:disabled, :focus, .error, .success) {\n border: 1px solid tokens.$ifxColorEngineering500;\n }\n\n &::placeholder {\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n color: #8D8786;\n flex: none;\n order: 1;\n flex-grow: 1;\n }\n }\n\n & .input-icon {\n // Position the icon within the icon container\n // Adjust the positioning as needed\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: tokens.$ifxSpace200;\n /* Adjust this value to control the icon's left offset */\n transition: .3s;\n color: tokens.$ifxColorEngineering400;\n }\n\n & .textInput__bottom-wrapper-caption {\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeXs;\n line-height: tokens.$ifxLineHeightXs;\n letter-spacing: 0.2px;\n color: tokens.$ifxColorBaseBlack;\n flex: none;\n order: 1;\n align-self: stretch;\n flex-grow: 0;\n\n &.error {\n color: #CD002F;\n\n }\n\n &.disabled {\n color: tokens.$ifxColorEngineering500;\n }\n }\n\n \n }\n .delete-icon {\n position: absolute;\n right: tokens.$ifxSpace200;\n\n :hover {\n cursor: pointer;\n }\n }\n}","import { Component, h, Event, Element, Prop, EventEmitter, Watch, Method, AttachInternals } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-text-field',\n styleUrl: 'text-field.scss',\n shadow: true,\n formAssociated: true\n})\n\nexport class TextField {\n private inputElement: HTMLInputElement;\n @Element() el;\n @Prop() placeholder: string = \"Placeholder\"\n @Prop({ mutable: true }) value: string = '';\n @Prop() error: boolean = false;\n @Prop() label: string = \"\";\n @Prop() icon: string = \"\";\n @Prop() caption: string = \"\";\n @Prop() size: string = 'm';\n @Prop() required: boolean = false;\n @Prop() optional: boolean = false;\n @Prop() success: boolean = false;\n @Prop() disabled: boolean = false;\n @Prop() maxlength?: number;\n @Prop() showDeleteIcon: boolean = false;\n @Event() ifxInput: EventEmitter<String>;\n // @Prop({ reflect: true })\n // resetOnSubmit: boolean = false;\n\n @AttachInternals() internals: ElementInternals;\n\n\n @Watch('value')\n valueWatcher(newValue: string) {\n if (newValue !== this.inputElement.value) {\n this.inputElement.value = newValue;\n }\n }\n\n @Method()\n async reset() {\n this.value = '';\n this.inputElement.value = '';\n }\n\n handleDeleteContent() {\n this.reset();\n this.ifxInput.emit(this.value);\n }\n\n handleInput() {\n const query = this.inputElement.value;\n this.value = query; // update the value property when input changes\n this.internals.setFormValue(query) // update form value\n this.ifxInput.emit(this.value);\n }\n\n formResetCallback() {\n this.internals.setValidity({});\n this.internals.setFormValue(\"\");\n }\n\n render() {\n return (\n <div aria-label=\"a text field for user input\" aria-value={this.value} aria-disabled={this.disabled} class={`textInput__container ${this.disabled ? 'disabled' : \"\"}`}>\n <div class=\"textInput__top-wrapper\">\n <label htmlFor=\"text-field\">\n <slot></slot>\n {this.optional && this.required ? (\n <span class=\"optional-required\">(optional) *</span>\n ) : this.optional ? (\n <span class=\"optional\">(optional)</span>\n ) : this.required ? (\n <span class={`required ${this.error ? 'error' : \"\"}`}>*</span>\n ) : null}\n </label>\n </div>\n\n <div class=\"textInput__bottom-wrapper\">\n <div class=\"input-container\">\n {this.icon && (\n <ifx-icon class='input-icon' icon={this.icon} />\n )}\n <input\n ref={(el) => (this.inputElement = el)}\n disabled={this.disabled}\n type=\"text\"\n id='text-field'\n value={this.value}\n onInput={() => this.handleInput()}\n placeholder={this.placeholder}\n maxlength={this.maxlength}\n class={\n `${this.icon ? 'icon' : \"\"}\n ${this.error ? 'error' : \"\"} \n ${this.size === \"s\" ? \"input-s\" : \"\"}\n ${this.success ? \"success\" : \"\"}`} />\n\n { (this.showDeleteIcon && this.value) && (\n <ifx-icon class=\"delete-icon\" icon=\"cremove16\" onClick={() => this.handleDeleteContent()}></ifx-icon> \n )}\n </div>\n {this.caption && !this.error &&\n <div class={`textInput__bottom-wrapper-caption ${this.disabled} ? disabled : \"\"`}>\n {this.caption}\n </div>}\n {this.error &&\n <div class=\"textInput__bottom-wrapper-caption error\">\n {this.caption}\n </div>}\n </div>\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-03181918.js","mappings":"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","names":[],"sources":["src/components/text-field/text-field.scss?tag=ifx-text-field&encapsulation=shadow","src/components/text-field/text-field.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: flex;\n}\n\n.textInput__container {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 0px;\n width: 100%;\n flex: none;\n order: 0;\n align-self: stretch;\n flex-grow: 0;\n font-family: var(--ifx-font-family);\n\n\n &.disabled {\n & .textInput__top-wrapper {\n & label {\n color: tokens.$ifxColorEngineering500;\n }\n }\n\n & .textInput__bottom-wrapper {\n input {\n border: 1px solid tokens.$ifxColorEngineering500;\n background-color: tokens.$ifxColorEngineering200;\n\n &::placeholder {\n font-size: tokens.$ifxFontSizeS;\n color: tokens.$ifxColorEngineering500;\n }\n }\n }\n }\n\n & .textInput__top-wrapper {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n padding: 0px;\n gap: 4px;\n flex: none;\n order: 0;\n align-self: stretch;\n flex-grow: 0;\n\n & label {\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n display: flex;\n align-items: center;\n color: tokens.$ifxColorBaseBlack;\n flex: none;\n order: 0;\n flex-grow: 0;\n\n & .optional-required {\n margin-left: 4px;\n }\n\n & .optional {\n margin-left: 4px;\n }\n\n & .required {\n margin-left: 4px;\n \n &.error {\n color: #CD002F;\n }\n }\n }\n }\n\n .input-container {\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n }\n\n\n & .textInput__bottom-wrapper {\n flex-grow: 1;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 0px;\n gap: 4px;\n flex: none;\n order: 1;\n align-self: stretch;\n flex-grow: 0;\n\n & input {\n width: 100%;\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: tokens.$ifxSpace100 tokens.$ifxSpace200;\n gap: tokens.$ifxSpace100;\n height: tokens.$ifxSize500;\n background-color: tokens.$ifxColorBaseWhite;\n color: tokens.$ifxColorBaseBlack;\n font-family: tokens.$ifxFontFamilyBody;\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n border: 1px solid tokens.$ifxColorEngineering400;\n border-radius: tokens.$ifxBorderRadius12;\n flex: none;\n order: 0;\n align-self: stretch;\n flex-grow: 0;\n text-overflow: ellipsis;\n\n &.input-s {\n height: tokens.$ifxSize450;\n font-size: tokens.$ifxFontSizeS;\n line-height: tokens.$ifxLineHeightS;\n\n &::placeholder {\n font-size: tokens.$ifxFontSizeS;\n line-height: tokens.$ifxLineHeightS;\n }\n\n }\n\n &.icon {\n padding-left: tokens.$ifxSpace500;\n }\n\n &.error {\n border: 1px solid #CD002F;\n\n &:focus {\n outline: none;\n }\n }\n\n &.success {\n border: 1px solid #4CA460;\n\n &:focus {\n outline: none;\n }\n }\n\n\n &:focus:not(.error, .success) {\n outline: none;\n border: 1px solid tokens.$ifxColorOcean500;\n }\n\n &:hover:not(:disabled, :focus, .error, .success) {\n border: 1px solid tokens.$ifxColorEngineering500;\n }\n\n &::placeholder {\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n color: #8D8786;\n flex: none;\n order: 1;\n flex-grow: 1;\n }\n }\n\n & .input-icon {\n // Position the icon within the icon container\n // Adjust the positioning as needed\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: tokens.$ifxSpace200;\n /* Adjust this value to control the icon's left offset */\n transition: .3s;\n color: tokens.$ifxColorEngineering400;\n }\n\n & .textInput__bottom-wrapper-caption {\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeXs;\n line-height: tokens.$ifxLineHeightXs;\n letter-spacing: 0.2px;\n color: tokens.$ifxColorBaseBlack;\n flex: none;\n order: 1;\n align-self: stretch;\n flex-grow: 0;\n\n &.error {\n color: #CD002F;\n\n }\n\n &.disabled {\n color: tokens.$ifxColorEngineering500;\n }\n }\n\n \n }\n .delete-icon {\n position: absolute;\n right: tokens.$ifxSpace200;\n\n :hover {\n cursor: pointer;\n }\n }\n}","import { Component, h, Event, Element, Prop, EventEmitter, Watch, Method, AttachInternals } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-text-field',\n styleUrl: 'text-field.scss',\n shadow: true,\n formAssociated: true\n})\n\nexport class TextField {\n private inputElement: HTMLInputElement;\n @Element() el;\n @Prop() placeholder: string = \"Placeholder\"\n @Prop({ mutable: true }) value: string = '';\n @Prop() error: boolean = false;\n @Prop() label: string = \"\";\n @Prop() icon: string = \"\";\n @Prop() caption: string = \"\";\n @Prop() size: string = 'm';\n @Prop() required: boolean = false;\n @Prop() optional: boolean = false;\n @Prop() success: boolean = false;\n @Prop() disabled: boolean = false;\n @Prop() maxlength?: number;\n @Prop() showDeleteIcon: boolean = false;\n @Event() ifxInput: EventEmitter<String>;\n // @Prop({ reflect: true })\n // resetOnSubmit: boolean = false;\n\n @AttachInternals() internals: ElementInternals;\n\n\n @Watch('value')\n valueWatcher(newValue: string) {\n if (newValue !== this.inputElement.value) {\n this.inputElement.value = newValue;\n }\n }\n\n @Method()\n async reset() {\n this.value = '';\n this.inputElement.value = '';\n }\n\n handleDeleteContent() {\n this.reset();\n this.ifxInput.emit(this.value);\n }\n\n handleInput() {\n const query = this.inputElement.value;\n this.value = query; // update the value property when input changes\n this.internals.setFormValue(query) // update form value\n this.ifxInput.emit(this.value);\n }\n\n formResetCallback() {\n this.internals.setValidity({});\n this.internals.setFormValue(\"\");\n }\n\n render() {\n return (\n <div aria-label=\"a text field for user input\" aria-value={this.value} aria-disabled={this.disabled} class={`textInput__container ${this.disabled ? 'disabled' : \"\"}`}>\n <div class=\"textInput__top-wrapper\">\n <label htmlFor=\"text-field\">\n <slot></slot>\n {this.optional && this.required ? (\n <span class=\"optional-required\">(optional) *</span>\n ) : this.optional ? (\n <span class=\"optional\">(optional)</span>\n ) : this.required ? (\n <span class={`required ${this.error ? 'error' : \"\"}`}>*</span>\n ) : null}\n </label>\n </div>\n\n <div class=\"textInput__bottom-wrapper\">\n <div class=\"input-container\">\n {this.icon && (\n <ifx-icon class='input-icon' icon={this.icon} />\n )}\n <input\n ref={(el) => (this.inputElement = el)}\n disabled={this.disabled}\n type=\"text\"\n id='text-field'\n value={this.value}\n onInput={() => this.handleInput()}\n placeholder={this.placeholder}\n maxlength={this.maxlength}\n class={\n `${this.icon ? 'icon' : \"\"}\n ${this.error ? 'error' : \"\"} \n ${this.size === \"s\" ? \"input-s\" : \"\"}\n ${this.success ? \"success\" : \"\"}`} />\n\n { (this.showDeleteIcon && this.value) && (\n <ifx-icon class=\"delete-icon\" icon=\"cremove16\" onClick={() => this.handleDeleteContent()}></ifx-icon> \n )}\n </div>\n {this.caption && !this.error &&\n <div class={`textInput__bottom-wrapper-caption ${this.disabled} ? disabled : \"\"`}>\n {this.caption}\n </div>}\n {this.error &&\n <div class=\"textInput__bottom-wrapper-caption error\">\n {this.caption}\n </div>}\n </div>\n </div>\n );\n }\n}\n"],"version":3}
@@ -7088,9 +7088,9 @@ const Choices = /*@__PURE__*/ proxyCustomElement(class Choices extends H {
7088
7088
  // destroy choices element to restore previous dom structure
7089
7089
  // so vdom can replace the element correctly
7090
7090
  this.destroy();
7091
- return (h("div", { key: 'afb22e61adf2c1bbc5994d1bc2640a1f34997088', class: `ifx-select-container` }, this.label ? (h("div", { class: "ifx-label-wrapper" }, h("span", null, this.label))) : null, h("div", { key: 'febbedc83bd0420a136c5c4b65ede1703815bbc0', class: `${choicesWrapperClass}
7091
+ return (h("div", { key: '894eb9f6322fdc3561ddda575d0062d43e938a39', class: `ifx-select-container` }, this.label ? (h("div", { class: "ifx-label-wrapper" }, h("span", null, this.label))) : null, h("div", { key: '4595c15936578b6624bd9c8c40a15f64fcbcf748', class: `${choicesWrapperClass}
7092
7092
  ${this.disabled ? 'disabled' : ''}
7093
- ${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : () => this.toggleDropdown(), onKeyDown: event => this.handleKeyDown(event) }, h("select", Object.assign({ key: '339771447d7fbad6d17b75c032028958196d4ae7', class: 'single__select-input-field', disabled: this.disabled }, attributes, { "data-trigger": true, onChange: () => this.handleChange() }), this.createSelectOptions(this.options)), h("div", { key: 'f6e0803771328744a9d48fd196f8bb44886268a8', class: "single__select-icon-container" }, this.optionIsSelected && (h("div", { key: 'eab9c3c429d74eac31c24628d86078cec12e9a43', class: "ifx-choices__icon-wrapper-delete" }, h("ifx-icon", { key: '1283caadb33147058593a1fff2e08b4460edce0e', icon: "cremove16", onClick: () => this.handleDeleteSelection() }))), h("div", { key: '7fbd427273a0e6776395e44a91b495cc0f30b29c', class: "ifx-choices__icon-wrapper-up" }, h("ifx-icon", { key: "icon-up", icon: "chevronup-16" })), h("div", { key: 'bf571ef4fa089788f2c1a2ac44c476444cda22a7', 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));
7093
+ ${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : () => this.toggleDropdown(), onKeyDown: event => this.handleKeyDown(event) }, h("select", Object.assign({ key: 'dc1b69e570b311cd83f4da238c1f6d56746b92d0', class: 'single__select-input-field', disabled: this.disabled }, attributes, { "data-trigger": true, onChange: () => this.handleChange() }), this.createSelectOptions(this.options)), h("div", { key: '4a631aa5f51ae3385b9b48ba3ed89c95891abcf9', class: "single__select-icon-container" }, this.optionIsSelected && (h("div", { key: '029b1c36d79aa7db808b75dc90fbe5c375407d71', class: "ifx-choices__icon-wrapper-delete" }, h("ifx-icon", { key: '1510b8a80e594e94f7c74da0efa65421ffa0c4b8', icon: "cremove16", onClick: () => this.handleDeleteSelection() }))), h("div", { key: 'c199b919120720cbec1c949e3f31e10917ff459d', class: "ifx-choices__icon-wrapper-up" }, h("ifx-icon", { key: "icon-up", icon: "chevronup-16" })), h("div", { key: 'baf91d8bcf39988d98fc926966aa87c4a3439faa', 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));
7094
7094
  }
7095
7095
  toggleDropdown() {
7096
7096
  const div = this.root.querySelector('.ifx-choices__wrapper');
@@ -7415,4 +7415,4 @@ function defineCustomElement() {
7415
7415
 
7416
7416
  export { Choices as C, defineCustomElement as d };
7417
7417
 
7418
- //# sourceMappingURL=p-11922b8b.js.map
7418
+ //# sourceMappingURL=p-2f603818.js.map