@infineon/infineon-design-system-stencil 39.5.3--canary.2143.7e22c74e4f4e08bfb2cb8d5e5811adf79267a112.0 → 39.5.3--canary.2144.4d6adbdd15b2843a11fb5f8cf503f6424f864373.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 (228) hide show
  1. package/dist/cjs/ifx-alert_2.cjs.entry.js +1 -1
  2. package/dist/cjs/ifx-basic-table.cjs.entry.js +1 -1
  3. package/dist/cjs/ifx-checkbox.cjs.entry.js +12 -12
  4. package/dist/cjs/ifx-checkbox.cjs.entry.js.map +1 -1
  5. package/dist/cjs/ifx-checkbox.entry.cjs.js.map +1 -1
  6. package/dist/cjs/ifx-faq.cjs.entry.js +1 -1
  7. package/dist/cjs/ifx-filter-accordion.cjs.entry.js +2 -2
  8. package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
  9. package/dist/cjs/ifx-filter-search.cjs.entry.js +1 -1
  10. package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
  11. package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
  12. package/dist/cjs/ifx-multiselect_2.cjs.entry.js +10 -10
  13. package/dist/cjs/ifx-search-field.cjs.entry.js +59 -2
  14. package/dist/cjs/ifx-search-field.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ifx-search-field.entry.cjs.js.map +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_2.cjs.entry.js +4 -4
  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-templates-ui.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/cjs/ifx-tree-view-item.cjs.entry.js +2 -2
  32. package/dist/cjs/ifx-tree-view.cjs.entry.js +1 -1
  33. package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
  34. package/dist/cjs/loader.cjs.js +1 -1
  35. package/dist/collection/components/checkbox/checkbox.js +15 -14
  36. package/dist/collection/components/checkbox/checkbox.js.map +1 -1
  37. package/dist/collection/components/search-field/search-field.js +59 -2
  38. package/dist/collection/components/search-field/search-field.js.map +1 -1
  39. package/dist/collection/components/segmented-control/segment/segment.js +1 -1
  40. package/dist/collection/components/segmented-control/segmented-control.js +2 -2
  41. package/dist/collection/components/select/multi-select/multiselect-option.js +4 -4
  42. package/dist/collection/components/select/multi-select/multiselect.js +6 -6
  43. package/dist/collection/components/select/single-select/select.js +2 -2
  44. package/dist/collection/components/slider/slider.js +2 -2
  45. package/dist/collection/components/spinner/spinner.js +2 -2
  46. package/dist/collection/components/status/status.js +1 -1
  47. package/dist/collection/components/stepper/step/step.js +4 -4
  48. package/dist/collection/components/stepper/stepper.js +2 -2
  49. package/dist/collection/components/switch/switch.js +1 -1
  50. package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.js +1 -1
  51. package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.js +2 -2
  52. package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.js +1 -1
  53. package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js +1 -1
  54. package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.js +1 -1
  55. package/dist/collection/components/table-advanced-version/table.js +2 -2
  56. package/dist/collection/components/table-advanced-version/table.stories.js +71 -71
  57. package/dist/collection/components/table-advanced-version/table.stories.js.map +1 -1
  58. package/dist/collection/components/table-basic-version/table.js +1 -1
  59. package/dist/collection/components/table-basic-version/table.stories.js +15 -15
  60. package/dist/collection/components/table-basic-version/table.stories.js.map +1 -1
  61. package/dist/collection/components/tabs/tab.js +1 -1
  62. package/dist/collection/components/tabs/tabs.js +2 -2
  63. package/dist/collection/components/templates/template/template.js +1 -1
  64. package/dist/collection/components/templates/templates-ui/templates-ui.js +1 -1
  65. package/dist/collection/components/text-field/text-field.js +2 -2
  66. package/dist/collection/components/textarea/textarea.js +2 -2
  67. package/dist/collection/components/tooltip/tooltip.js +4 -4
  68. package/dist/collection/components/tree-view/tree-view-item.js +2 -2
  69. package/dist/collection/components/tree-view/tree-view.js +1 -1
  70. package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
  71. package/dist/components/ifx-basic-table.js +1 -1
  72. package/dist/components/ifx-checkbox.js +1 -1
  73. package/dist/components/ifx-chip-item.js +1 -1
  74. package/dist/components/ifx-faq.js +1 -1
  75. package/dist/components/ifx-filter-accordion.js +2 -2
  76. package/dist/components/ifx-filter-bar.js +1 -1
  77. package/dist/components/ifx-filter-search.js +2 -2
  78. package/dist/components/ifx-filter-type-group.js +1 -1
  79. package/dist/components/ifx-icons-preview.js +1 -1
  80. package/dist/components/ifx-list-entry.js +2 -2
  81. package/dist/components/ifx-multiselect-option.js +1 -1
  82. package/dist/components/ifx-multiselect.js +1 -1
  83. package/dist/components/ifx-pagination.js +1 -1
  84. package/dist/components/ifx-search-bar.js +1 -1
  85. package/dist/components/ifx-search-field.js +1 -1
  86. package/dist/components/ifx-segment.js +1 -1
  87. package/dist/components/ifx-segmented-control.js +2 -2
  88. package/dist/components/ifx-select.js +1 -1
  89. package/dist/components/ifx-set-filter.js +6 -6
  90. package/dist/components/ifx-slider.js +2 -2
  91. package/dist/components/ifx-spinner.js +1 -1
  92. package/dist/components/ifx-status.js +1 -1
  93. package/dist/components/ifx-step.js +4 -4
  94. package/dist/components/ifx-stepper.js +2 -2
  95. package/dist/components/ifx-switch.js +1 -1
  96. package/dist/components/ifx-tab.js +1 -1
  97. package/dist/components/ifx-table.js +6 -6
  98. package/dist/components/ifx-tabs.js +2 -2
  99. package/dist/components/ifx-template.js +1 -1
  100. package/dist/components/ifx-templates-ui.js +4 -4
  101. package/dist/components/ifx-text-field.js +1 -1
  102. package/dist/components/ifx-textarea.js +2 -2
  103. package/dist/components/ifx-tooltip.js +4 -4
  104. package/dist/components/ifx-tree-view-item.js +3 -3
  105. package/dist/components/ifx-tree-view.js +1 -1
  106. package/dist/components/{p-DQYngnHn.js → p-B-I2VhI5.js} +10 -10
  107. package/dist/components/{p-DQYngnHn.js.map → p-B-I2VhI5.js.map} +1 -1
  108. package/dist/components/{p-DGAOPH_P.js → p-B61i82g5.js} +4 -4
  109. package/dist/components/{p-DGAOPH_P.js.map → p-B61i82g5.js.map} +1 -1
  110. package/dist/components/{p-WVpEOqoG.js → p-BG2S8rtL.js} +3 -3
  111. package/dist/components/{p-WVpEOqoG.js.map → p-BG2S8rtL.js.map} +1 -1
  112. package/dist/components/{p-DxKWinW1.js → p-Bc_ZM813.js} +7 -7
  113. package/dist/components/{p-DxKWinW1.js.map → p-Bc_ZM813.js.map} +1 -1
  114. package/dist/components/{p-D7r3u21_.js → p-C53lC4vo.js} +3 -3
  115. package/dist/components/{p-D7r3u21_.js.map → p-C53lC4vo.js.map} +1 -1
  116. package/dist/components/{p-CtzLf4yZ.js → p-CROLVxZq.js} +16 -15
  117. package/dist/components/p-CROLVxZq.js.map +1 -0
  118. package/dist/components/{p-BxWZjkxk.js → p-DdOsLLJc.js} +4 -4
  119. package/dist/components/{p-BxWZjkxk.js.map → p-DdOsLLJc.js.map} +1 -1
  120. package/dist/components/{p-Dce2xAGf.js → p-DmM40b2X.js} +5 -5
  121. package/dist/components/{p-Dce2xAGf.js.map → p-DmM40b2X.js.map} +1 -1
  122. package/dist/components/{p-kFkxPh9g.js → p-GP5uSTr1.js} +4 -4
  123. package/dist/components/{p-kFkxPh9g.js.map → p-GP5uSTr1.js.map} +1 -1
  124. package/dist/components/{p-BO6nWGLo.js → p-ZCLJED5S.js} +61 -4
  125. package/dist/components/p-ZCLJED5S.js.map +1 -0
  126. package/dist/esm/ifx-alert_2.entry.js +1 -1
  127. package/dist/esm/ifx-basic-table.entry.js +1 -1
  128. package/dist/esm/ifx-checkbox.entry.js +12 -12
  129. package/dist/esm/ifx-checkbox.entry.js.map +1 -1
  130. package/dist/esm/ifx-faq.entry.js +1 -1
  131. package/dist/esm/ifx-filter-accordion.entry.js +2 -2
  132. package/dist/esm/ifx-filter-bar.entry.js +1 -1
  133. package/dist/esm/ifx-filter-search.entry.js +1 -1
  134. package/dist/esm/ifx-filter-type-group.entry.js +1 -1
  135. package/dist/esm/ifx-list-entry.entry.js +1 -1
  136. package/dist/esm/ifx-multiselect_2.entry.js +10 -10
  137. package/dist/esm/ifx-search-field.entry.js +59 -2
  138. package/dist/esm/ifx-search-field.entry.js.map +1 -1
  139. package/dist/esm/ifx-segment.entry.js +1 -1
  140. package/dist/esm/ifx-segmented-control.entry.js +2 -2
  141. package/dist/esm/ifx-select.entry.js +2 -2
  142. package/dist/esm/ifx-slider.entry.js +2 -2
  143. package/dist/esm/ifx-spinner_2.entry.js +4 -4
  144. package/dist/esm/ifx-status.entry.js +1 -1
  145. package/dist/esm/ifx-step.entry.js +4 -4
  146. package/dist/esm/ifx-stepper.entry.js +2 -2
  147. package/dist/esm/ifx-switch.entry.js +1 -1
  148. package/dist/esm/ifx-tab.entry.js +1 -1
  149. package/dist/esm/ifx-table.entry.js +2 -2
  150. package/dist/esm/ifx-tabs.entry.js +2 -2
  151. package/dist/esm/ifx-templates-ui.entry.js +1 -1
  152. package/dist/esm/ifx-textarea.entry.js +2 -2
  153. package/dist/esm/ifx-tooltip.entry.js +4 -4
  154. package/dist/esm/ifx-tree-view-item.entry.js +2 -2
  155. package/dist/esm/ifx-tree-view.entry.js +1 -1
  156. package/dist/esm/infineon-design-system-stencil.js +1 -1
  157. package/dist/esm/loader.js +1 -1
  158. package/dist/infineon-design-system-stencil/ifx-checkbox.entry.esm.js.map +1 -1
  159. package/dist/infineon-design-system-stencil/ifx-search-field.entry.esm.js.map +1 -1
  160. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
  161. package/dist/infineon-design-system-stencil/{p-8eef85bc.entry.js → p-0d4211db.entry.js} +2 -2
  162. package/dist/infineon-design-system-stencil/{p-44026267.entry.js → p-0d9da371.entry.js} +2 -2
  163. package/dist/infineon-design-system-stencil/{p-b3ba9994.entry.js → p-13fed6df.entry.js} +2 -2
  164. package/dist/infineon-design-system-stencil/p-22a45c93.entry.js +2 -0
  165. package/dist/infineon-design-system-stencil/{p-2a7e30cf.entry.js.map → p-22a45c93.entry.js.map} +1 -1
  166. package/dist/infineon-design-system-stencil/{p-2b4778da.entry.js → p-242fc6b0.entry.js} +2 -2
  167. package/dist/infineon-design-system-stencil/{p-ebce6648.entry.js → p-372fa9eb.entry.js} +2 -2
  168. package/dist/infineon-design-system-stencil/{p-ddff8e4e.entry.js → p-3f3a5140.entry.js} +2 -2
  169. package/dist/infineon-design-system-stencil/{p-c3362d41.entry.js → p-453bd9bd.entry.js} +2 -2
  170. package/dist/infineon-design-system-stencil/{p-39a29970.entry.js → p-54785004.entry.js} +2 -2
  171. package/dist/infineon-design-system-stencil/{p-f06af3d9.entry.js → p-6407c496.entry.js} +2 -2
  172. package/dist/infineon-design-system-stencil/{p-6162a610.entry.js → p-6504f8d0.entry.js} +2 -2
  173. package/dist/infineon-design-system-stencil/{p-fc030370.entry.js → p-83816596.entry.js} +2 -2
  174. package/dist/infineon-design-system-stencil/{p-8aabbd26.entry.js → p-8ab64504.entry.js} +2 -2
  175. package/dist/infineon-design-system-stencil/{p-9577d799.entry.js → p-913a8693.entry.js} +2 -2
  176. package/dist/infineon-design-system-stencil/{p-07e1efa5.entry.js → p-98c2e3a9.entry.js} +2 -2
  177. package/dist/infineon-design-system-stencil/{p-0d5a32ec.entry.js → p-9ea43bb7.entry.js} +2 -2
  178. package/dist/infineon-design-system-stencil/{p-f855d12d.entry.js → p-af1e0cb5.entry.js} +2 -2
  179. package/dist/infineon-design-system-stencil/p-b23596f4.entry.js +2 -0
  180. package/dist/infineon-design-system-stencil/p-b23596f4.entry.js.map +1 -0
  181. package/dist/infineon-design-system-stencil/{p-9dbede78.entry.js → p-b5efb1d6.entry.js} +2 -2
  182. package/dist/infineon-design-system-stencil/p-ba4ee343.entry.js +2 -0
  183. package/dist/infineon-design-system-stencil/p-c9d594e1.entry.js +2 -0
  184. package/dist/infineon-design-system-stencil/{p-bfbe3ddc.entry.js.map → p-c9d594e1.entry.js.map} +1 -1
  185. package/dist/infineon-design-system-stencil/p-d3a6bbf7.entry.js +2 -0
  186. package/dist/infineon-design-system-stencil/{p-3b5cf4ca.entry.js → p-dcc7240e.entry.js} +2 -2
  187. package/dist/infineon-design-system-stencil/{p-4fca78a6.entry.js → p-e7b72d33.entry.js} +2 -2
  188. package/dist/infineon-design-system-stencil/{p-fef185c2.entry.js → p-eed36710.entry.js} +2 -2
  189. package/dist/infineon-design-system-stencil/{p-a827c4bc.entry.js → p-f5811026.entry.js} +2 -2
  190. package/dist/infineon-design-system-stencil/{p-49eb8d14.entry.js → p-f63ba4a3.entry.js} +2 -2
  191. package/dist/infineon-design-system-stencil/p-f63ba4a3.entry.js.map +1 -0
  192. package/dist/infineon-design-system-stencil/{p-1fcb504e.entry.js → p-fe373208.entry.js} +2 -2
  193. package/dist/types/components/checkbox/checkbox.d.ts +1 -0
  194. package/dist/types/components/search-field/search-field.d.ts +4 -0
  195. package/package.json +2 -2
  196. package/dist/components/p-BO6nWGLo.js.map +0 -1
  197. package/dist/components/p-CtzLf4yZ.js.map +0 -1
  198. package/dist/infineon-design-system-stencil/p-2537f7fe.entry.js +0 -2
  199. package/dist/infineon-design-system-stencil/p-2a7e30cf.entry.js +0 -2
  200. package/dist/infineon-design-system-stencil/p-49eb8d14.entry.js.map +0 -1
  201. package/dist/infineon-design-system-stencil/p-8d19ae4f.entry.js +0 -2
  202. package/dist/infineon-design-system-stencil/p-8d19ae4f.entry.js.map +0 -1
  203. package/dist/infineon-design-system-stencil/p-9c93e258.entry.js +0 -2
  204. package/dist/infineon-design-system-stencil/p-bfbe3ddc.entry.js +0 -2
  205. /package/dist/infineon-design-system-stencil/{p-8eef85bc.entry.js.map → p-0d4211db.entry.js.map} +0 -0
  206. /package/dist/infineon-design-system-stencil/{p-44026267.entry.js.map → p-0d9da371.entry.js.map} +0 -0
  207. /package/dist/infineon-design-system-stencil/{p-b3ba9994.entry.js.map → p-13fed6df.entry.js.map} +0 -0
  208. /package/dist/infineon-design-system-stencil/{p-2b4778da.entry.js.map → p-242fc6b0.entry.js.map} +0 -0
  209. /package/dist/infineon-design-system-stencil/{p-ebce6648.entry.js.map → p-372fa9eb.entry.js.map} +0 -0
  210. /package/dist/infineon-design-system-stencil/{p-ddff8e4e.entry.js.map → p-3f3a5140.entry.js.map} +0 -0
  211. /package/dist/infineon-design-system-stencil/{p-c3362d41.entry.js.map → p-453bd9bd.entry.js.map} +0 -0
  212. /package/dist/infineon-design-system-stencil/{p-39a29970.entry.js.map → p-54785004.entry.js.map} +0 -0
  213. /package/dist/infineon-design-system-stencil/{p-f06af3d9.entry.js.map → p-6407c496.entry.js.map} +0 -0
  214. /package/dist/infineon-design-system-stencil/{p-6162a610.entry.js.map → p-6504f8d0.entry.js.map} +0 -0
  215. /package/dist/infineon-design-system-stencil/{p-fc030370.entry.js.map → p-83816596.entry.js.map} +0 -0
  216. /package/dist/infineon-design-system-stencil/{p-8aabbd26.entry.js.map → p-8ab64504.entry.js.map} +0 -0
  217. /package/dist/infineon-design-system-stencil/{p-9577d799.entry.js.map → p-913a8693.entry.js.map} +0 -0
  218. /package/dist/infineon-design-system-stencil/{p-07e1efa5.entry.js.map → p-98c2e3a9.entry.js.map} +0 -0
  219. /package/dist/infineon-design-system-stencil/{p-0d5a32ec.entry.js.map → p-9ea43bb7.entry.js.map} +0 -0
  220. /package/dist/infineon-design-system-stencil/{p-f855d12d.entry.js.map → p-af1e0cb5.entry.js.map} +0 -0
  221. /package/dist/infineon-design-system-stencil/{p-9dbede78.entry.js.map → p-b5efb1d6.entry.js.map} +0 -0
  222. /package/dist/infineon-design-system-stencil/{p-9c93e258.entry.js.map → p-ba4ee343.entry.js.map} +0 -0
  223. /package/dist/infineon-design-system-stencil/{p-2537f7fe.entry.js.map → p-d3a6bbf7.entry.js.map} +0 -0
  224. /package/dist/infineon-design-system-stencil/{p-3b5cf4ca.entry.js.map → p-dcc7240e.entry.js.map} +0 -0
  225. /package/dist/infineon-design-system-stencil/{p-4fca78a6.entry.js.map → p-e7b72d33.entry.js.map} +0 -0
  226. /package/dist/infineon-design-system-stencil/{p-fef185c2.entry.js.map → p-eed36710.entry.js.map} +0 -0
  227. /package/dist/infineon-design-system-stencil/{p-a827c4bc.entry.js.map → p-f5811026.entry.js.map} +0 -0
  228. /package/dist/infineon-design-system-stencil/{p-1fcb504e.entry.js.map → p-fe373208.entry.js.map} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"names":["searchFieldCss","SearchField","constructor","hostRef","this","value","suggestions","showSuggestions","maxSuggestions","maxHistoryItems","enableHistory","historyKey","historyHeaderText","ariaLabel","deleteIconAriaLabel","historyDeleteAriaLabel","dropdownAriaLabel","suggestionAriaLabel","historyItemAriaLabel","showDropdown","filteredSuggestions","selectedSuggestionIndex","searchHistory","showDeleteIcon","showDeleteIconInternalState","disabled","size","isFocused","placeholder","autocomplete","maxlength","focusEmitted","handleInput","query","inputElement","ifxInput","emit","requestSuggestions","handleDelete","hideDropdown","handleSearch","trim","length","addToHistory","handleOutsideClick","event","path","composedPath","includes","dropdownElement","handleKeyDown","key","preventDefault","navigateSuggestions","selectSuggestion","valueWatcher","newValue","updateSuggestions","suggestionsWatcher","focusInput","ifxFocus","showHistoryDropdown","blurInput","setTimeout","ifxBlur","loadSearchHistory","localStorage","stored","getItem","JSON","parse","clearSearchHistory","removeItem","term","history","existingIndex","indexOf","splice","unshift","slice","setItem","stringify","ifxSuggestionRequested","toLowerCase","filteredExternal","filter","s","text","filteredHistory","map","index","id","type","sort","a","b","aText","bText","aStartsWith","startsWith","bStartsWith","localeCompare","historySuggestions","uniqueSuggestions","reduce","unique","current","findIndex","item","scope","push","direction","maxIndex","suggestion","ifxSuggestionSelected","componentWillLoad","componentDidLoad","isNestedInIfxComponent","el","framework","detectFramework","trackComponent","componentWillUpdate","render","h","class","getWrapperClassNames","onClick","icon","ref","onInput","onFocus","onBlur","role","onKeyDown","getSizeClass","classNames","getSuggestionClassNames","_a"],"sources":["src/components/search-field/search-field.scss?tag=ifx-search-field&encapsulation=shadow","src/components/search-field/search-field.tsx"],"sourcesContent":["@use '~@infineon/design-system-tokens/dist/tokens';\n@use '../../global/font.scss';\n\n:host {\n display: flex;\n}\n\n.search-field {\n box-sizing: border-box;\n background-color: tokens.$ifxColorBaseWhite;\n width: 100%;\n font-family: var(--ifx-font-family);\n position: relative; // Wichtig für absolute positioning des Dropdowns\n\n .search-field__wrapper {\n box-sizing: border-box;\n height: tokens.$ifxSize500;\n display: flex;\n align-items: center;\n border: 1px solid #8d8786;\n border-radius: tokens.$ifxBorderRadius12;\n padding: tokens.$ifxSpace100 tokens.$ifxSpace200;\n gap: tokens.$ifxSpace150;\n flex: none;\n order: 0;\n align-self: stretch;\n flex-grow: 0;\n position: relative;\n width: 100%;\n outline: none;\n\n &:focus-visible:not(.disabled) {\n outline: 2px solid tokens.$ifxColorOcean500;\n outline-offset: 2px;\n }\n\n &.search-field__wrapper-s {\n height: 36px;\n }\n\n &:hover:not(.focused, :focus) {\n border: 1px solid #3c3a39;\n }\n\n & .delete-icon {\n outline: 1px solid transparent;\n right: 12px;\n cursor: pointer;\n &:focus-visible {\n outline: 2px solid tokens.$ifxColorOcean500;\n outline-offset: 1px;\n }\n }\n\n input[type='text'] {\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n //line-height: 24px;\n color: #8d8786;\n border: none;\n width: 100%;\n outline: none;\n //height: 100%;\n height: 16px;\n\n &:focus {\n outline: none;\n color: #1d1d1d;\n }\n\n &:disabled {\n background: tokens.$ifxColorEngineering300;\n color: tokens.$ifxColorBaseWhite;\n\n &::placeholder {\n color: tokens.$ifxColorBaseWhite;\n }\n }\n }\n\n &.disabled {\n background: tokens.$ifxColorEngineering300;\n border: none;\n color: tokens.$ifxColorBaseWhite;\n\n &:hover {\n border: none;\n outline: none;\n }\n\n & .delete-icon { \n cursor: default;\n &:focus-visible { \n outline: 1px solid transparent;\n }\n }\n }\n }\n\n // Suggestions Dropdown Styles\n .suggestions-dropdown {\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: tokens.$ifxColorBaseWhite;\n margin-top: tokens.$ifxSpace50;\n border: 1px solid tokens.$ifxColorEngineering200;\n box-shadow: 0px 6px 9px 0px rgba(29, 29, 29, 0.1);\n z-index: 1000;\n max-height: 300px;\n overflow-y: auto;\n container-type: inline-size; // Enable container queries\n\n .suggestions-header {\n // font: tokens.$ifxEyebrowEyebrow02; TODO\n font-family: Source Sans 3;\n font-size: 0.8125rem;\n font-weight: 600;\n line-height: 1.25rem;\n\n letter-spacing: 0.25em;\n text-transform: uppercase;\n color: tokens.$ifxColorEngineering500;\n border-bottom: 1px solid tokens.$ifxColorEngineering200;\n padding: tokens.$ifxSpace150 tokens.$ifxSpace200;\n }\n\n .suggestion-item {\n padding: tokens.$ifxSpace150 tokens.$ifxSpace200;\n cursor: pointer;\n transition: background-color 0.2s ease;\n\n &:last-child {\n border-bottom: none;\n }\n\n &:hover,\n &--selected {\n background-color: tokens.$ifxColorEngineering200;\n }\n\n .suggestion-content {\n display: flex;\n align-items: center;\n gap: tokens.$ifxSpace150;\n\n .suggestion-icon {\n color: tokens.$ifxColorEngineering500;\n flex-shrink: 0;\n\n &--history {\n color: tokens.$ifxColorEngineering500;\n }\n }\n\n .suggestion-text {\n flex: 1;\n display: flex;\n align-items: center;\n min-width: 0; // Important for flexbox truncation\n\n .suggestion-main-text {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n flex-shrink: 1;\n min-width: 0;\n }\n\n .suggestion-scope {\n color: tokens.$ifxColorEngineering400;\n flex-shrink: 0; // Never truncate the scope\n white-space: nowrap;\n margin-left: tokens.$ifxSpace25; // Add space before the scope\n font-weight: tokens.$ifxFontWeightSemibold;\n font-size: tokens.$ifxFontSizeXs;\n }\n\n // When container is narrow, stack scope below main text\n @container (max-width: 320px) {\n flex-direction: column;\n align-items: flex-start;\n\n .suggestion-main-text {\n width: 100%;\n max-width: 100%;\n }\n\n .suggestion-scope {\n margin-left: 0;\n margin-top: 0;\n width: 100%;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n flex-shrink: 1; // Allow truncation when narrow\n }\n }\n }\n\n .suggestion-count {\n color: tokens.$ifxColorEngineering400;\n margin-left: auto;\n flex-shrink: 0;\n }\n\n .suggestion-delete-icon {\n opacity: 0;\n visibility: hidden;\n transition: opacity 0.2s ease, visibility 0.2s ease;\n cursor: pointer;\n margin-left: auto;\n flex-shrink: 0;\n color: tokens.$ifxColorEngineering500;\n\n &:hover {\n color: tokens.$ifxColorEngineering600;\n }\n }\n }\n\n &:hover {\n .suggestion-delete-icon {\n opacity: 1;\n visibility: visible;\n }\n }\n }\n }\n\n // Wrapper modifications when dropdown is open\n .search-field__wrapper.dropdown-open {\n border-radius: tokens.$ifxBorderRadius12 tokens.$ifxBorderRadius12 0 0;\n border-color: tokens.$ifxColorOcean500;\n }\n}\n","import { Component, EventEmitter, h, Event, Prop, Watch, State, Listen, Element } from '@stencil/core';\nimport { trackComponent } from '../../global/utils/tracking';\nimport { isNestedInIfxComponent } from '../../global/utils/dom-utils';\nimport { detectFramework } from '../../global/utils/framework-detection';\nimport classNames from 'classnames';\n\nexport interface SuggestionItem {\n id: string;\n text: string;\n type?: 'suggestion' | 'history';\n scope?: string;\n resultCount?: number;\n metadata?: any;\n}\n\n@Component({\n tag: 'ifx-search-field',\n styleUrl: 'search-field.scss',\n shadow: true\n})\n\nexport class SearchField {\n @Element() el;\n private inputElement: HTMLInputElement;\n private dropdownElement: HTMLDivElement;\n\n @Prop({ mutable: true }) value: string = '';\n @Prop() suggestions: SuggestionItem[] = [];\n @Prop() showSuggestions: boolean = false;\n @Prop() maxSuggestions: number = 10;\n @Prop() maxHistoryItems: number = 5;\n @Prop() enableHistory: boolean = true;\n @Prop() historyKey: string = 'ifx-search-history';\n @Prop() historyHeaderText: string = 'Recent Searches';\n\n // ARIA Labels and Accessibility Props\n @Prop() ariaLabel: string | null = \"Search Field\"\n @Prop() ariaLabelledBy?: string | null;\n @Prop() ariaDescribedBy?: string | null;\n @Prop() deleteIconAriaLabel: string = 'Clear search';\n @Prop() historyDeleteAriaLabel: string = 'Remove from history';\n @Prop() dropdownAriaLabel: string = 'Search suggestions and history';\n @Prop() suggestionAriaLabel: string = 'Search suggestion';\n @Prop() historyItemAriaLabel: string = 'Search history item';\n\n @Event() ifxInput: EventEmitter<string>;\n @Event() ifxSuggestionRequested: EventEmitter<string>;\n @Event() ifxSuggestionSelected: EventEmitter<SuggestionItem>;\n @Event() ifxFocus: EventEmitter<void>;\n @Event() ifxBlur: EventEmitter<void>;\n\n @State() showDropdown: boolean = false;\n @State() filteredSuggestions: SuggestionItem[] = [];\n @State() selectedSuggestionIndex: number = -1;\n @State() searchHistory: string[] = [];\n\n @Prop() showDeleteIcon: boolean = false;\n @State() showDeleteIconInternalState: boolean = false;\n @Prop() disabled: boolean = false;\n @Prop() size: string = 'l';\n @State() isFocused: boolean = false;\n @Prop() placeholder: string = \"Search...\";\n @Prop() autocomplete: string = \"off\";\n @Prop() maxlength?: number = null;\n\n private focusEmitted: boolean = false;\n\n @Listen('mousedown', { target: 'document' })\n handleOutsideClick(event: MouseEvent) {\n const path = event.composedPath();\n if (!path.includes(this.inputElement) && !path.includes(this.dropdownElement)) {\n this.hideDropdown();\n }\n }\n\n @Listen('keydown')\n handleKeyDown(event: KeyboardEvent) {\n if (!this.showDropdown) return;\n\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault();\n this.navigateSuggestions(1);\n break;\n case 'ArrowUp':\n event.preventDefault();\n this.navigateSuggestions(-1);\n break;\n case 'Enter':\n event.preventDefault();\n if (this.selectedSuggestionIndex >= 0) {\n this.selectSuggestion(this.filteredSuggestions[this.selectedSuggestionIndex]);\n } else {\n this.handleSearch();\n }\n break;\n case 'Escape':\n this.hideDropdown();\n break;\n }\n }\n\n @Watch('value')\n valueWatcher(newValue: string) {\n if (this.inputElement && newValue !== this.inputElement.value) {\n this.inputElement.value = newValue;\n }\n this.updateSuggestions();\n }\n\n @Watch('suggestions')\n suggestionsWatcher() {\n this.updateSuggestions();\n }\n\n\n handleInput = () => {\n const query = this.inputElement.value;\n this.value = query;\n this.ifxInput.emit(this.value);\n\n if (this.showSuggestions) {\n this.showDropdown = true;\n this.selectedSuggestionIndex = -1;\n this.requestSuggestions(query);\n }\n };\n\n handleDelete = () => {\n if(!this.disabled) { \n this.inputElement.value = '';\n this.value = \"\";\n this.ifxInput.emit(this.value);\n this.hideDropdown();\n }\n }\n\n handleSearch = () => {\n if (this.value.trim() && this.enableHistory) {\n // Only add to history if there are actual results\n if (this.filteredSuggestions.length > 0) {\n this.addToHistory(this.value);\n }\n }\n this.hideDropdown();\n }\n\n focusInput() {\n // Only emit focus event if it hasn't been emitted already\n if (!this.focusEmitted) {\n this.focusEmitted = true;\n this.isFocused = true;\n this.ifxFocus.emit();\n }\n\n if (this.showSuggestions) {\n // On focus without input: Show only history\n if (this.value.length === 0) {\n this.showHistoryDropdown();\n // Only show dropdown if history is actually present\n this.showDropdown = this.enableHistory && this.searchHistory.length > 0;\n } else {\n // With existing input: Normal suggestion logic\n this.updateSuggestions();\n this.showDropdown = this.filteredSuggestions.length > 0;\n }\n }\n }\n\n blurInput() {\n setTimeout(() => {\n this.isFocused = false;\n this.focusEmitted = false; // Reset focus flag when blur occurs\n this.ifxBlur.emit();\n }, 150);\n }\n\n // Public method to update history from external sources\n public loadSearchHistory() {\n if (this.enableHistory && typeof localStorage !== 'undefined') {\n const stored = localStorage.getItem(this.historyKey);\n this.searchHistory = stored ? JSON.parse(stored) : [];\n\n // Update suggestions when history is loaded\n this.updateSuggestions();\n\n // If no input and no history left, close dropdown\n if (this.value.length === 0 && this.searchHistory.length === 0) {\n this.showDropdown = false;\n }\n }\n }\n\n // Public method to completely clear history\n public clearSearchHistory() {\n if (this.enableHistory && typeof localStorage !== 'undefined') {\n // Clear from localStorage\n localStorage.removeItem(this.historyKey);\n\n // Clear internal history\n this.searchHistory = [];\n\n // Reset all dropdown-relevant states\n this.filteredSuggestions = [];\n this.selectedSuggestionIndex = -1;\n this.showDropdown = false;\n\n // Update suggestions after reset\n this.updateSuggestions();\n }\n }\n\n // Suggestion Management Methods\n private addToHistory(term: string) {\n if (!this.enableHistory || !term.trim()) return;\n\n const history = [...this.searchHistory];\n const existingIndex = history.indexOf(term);\n\n if (existingIndex > -1) {\n history.splice(existingIndex, 1);\n }\n\n history.unshift(term);\n // Limit history to maxHistoryItems (default 5)\n this.searchHistory = history.slice(0, this.maxHistoryItems);\n\n if (typeof localStorage !== 'undefined') {\n localStorage.setItem(this.historyKey, JSON.stringify(this.searchHistory));\n }\n }\n\n private requestSuggestions(query: string) {\n this.ifxSuggestionRequested.emit(query);\n this.updateSuggestions();\n }\n\n private updateSuggestions() {\n const query = this.value.toLowerCase();\n let suggestions: SuggestionItem[] = [];\n\n if (query.length > 0) {\n // For text input: Mix external suggestions and relevant history\n\n // 1. Filter external suggestions\n if (this.suggestions && this.suggestions.length > 0) {\n const filteredExternal = this.suggestions.filter(s =>\n s.text.toLowerCase().includes(query)\n );\n suggestions = [...suggestions, ...filteredExternal];\n }\n\n // 2. Filter relevant history entries\n if (this.enableHistory && this.searchHistory.length > 0) {\n const filteredHistory = this.searchHistory\n .filter(term => term.toLowerCase().includes(query))\n .map((term, index) => ({\n id: `history-${index}`,\n text: term,\n type: 'history' as const\n }));\n suggestions = [...suggestions, ...filteredHistory];\n }\n\n // 3. Sort by relevance (exact matches first, then prefix matches)\n suggestions.sort((a, b) => {\n const aText = a.text.toLowerCase();\n const bText = b.text.toLowerCase();\n\n // Exact match has highest priority\n if (aText === query && bText !== query) return -1;\n if (bText === query && aText !== query) return 1;\n\n // Prefix match has second highest priority\n const aStartsWith = aText.startsWith(query);\n const bStartsWith = bText.startsWith(query);\n\n if (aStartsWith && !bStartsWith) return -1;\n if (bStartsWith && !aStartsWith) return 1;\n\n // With equal relevance: external suggestions before history\n if (a.type === 'suggestion' && b.type === 'history') return -1;\n if (a.type === 'history' && b.type === 'suggestion') return 1;\n\n // Alphabetical sorting as last criterion\n return aText.localeCompare(bText);\n });\n\n } else {\n // For empty query: Show only history (no external suggestions)\n if (this.enableHistory && this.searchHistory.length > 0) {\n const historySuggestions = this.searchHistory.map((term, index) => ({\n id: `history-${index}`,\n text: term,\n type: 'history' as const\n }));\n\n suggestions = historySuggestions;\n }\n // For empty query DO NOT show external suggestions\n }\n\n // Remove duplicates based on text and scope combination (history takes precedence over external)\n const uniqueSuggestions = suggestions.reduce((unique: SuggestionItem[], current) => {\n const existingIndex = unique.findIndex(item =>\n item.text.toLowerCase() === current.text.toLowerCase() &&\n item.scope === current.scope\n );\n if (existingIndex === -1) {\n unique.push(current);\n } else {\n // If already exists, prefer history over external suggestions\n if (current.type === 'history' && unique[existingIndex].type !== 'history') {\n unique[existingIndex] = current;\n }\n }\n return unique;\n }, []);\n\n this.filteredSuggestions = uniqueSuggestions.slice(0, this.maxSuggestions);\n this.selectedSuggestionIndex = -1;\n }\n\n private navigateSuggestions(direction: number) {\n const maxIndex = this.filteredSuggestions.length - 1;\n\n if (direction > 0) {\n this.selectedSuggestionIndex = this.selectedSuggestionIndex < maxIndex\n ? this.selectedSuggestionIndex + 1\n : 0;\n } else {\n this.selectedSuggestionIndex = this.selectedSuggestionIndex > 0\n ? this.selectedSuggestionIndex - 1\n : maxIndex;\n }\n }\n\n private selectSuggestion(suggestion: SuggestionItem) {\n this.value = suggestion.text;\n this.inputElement.value = suggestion.text;\n this.ifxSuggestionSelected.emit(suggestion);\n this.ifxInput.emit(this.value);\n\n if (this.enableHistory) {\n // Always add selected suggestions to history since they are valid results\n this.addToHistory(suggestion.text);\n }\n\n this.hideDropdown();\n }\n\n private hideDropdown() {\n this.showDropdown = false;\n this.selectedSuggestionIndex = -1;\n this.isFocused = false;\n }\n\n // Show only history in dropdown (e.g. on focus without input)\n private showHistoryDropdown() {\n if (this.enableHistory && this.searchHistory.length > 0) {\n // Show only history entries\n const historySuggestions = this.searchHistory.map((term, index) => ({\n id: `history-${index}`,\n text: term,\n type: 'history' as const\n }));\n\n this.filteredSuggestions = historySuggestions.slice(0, this.maxSuggestions);\n this.selectedSuggestionIndex = -1;\n } else {\n this.filteredSuggestions = [];\n }\n }\n\n componentWillLoad() {\n this.loadSearchHistory();\n }\n\n async componentDidLoad() { \n if(!isNestedInIfxComponent(this.el)) {\n const framework = detectFramework()\n trackComponent('ifx-search-field', await framework)\n }\n }\n\n componentWillUpdate() {\n if (this.value !== \"\") {\n this.showDeleteIconInternalState = true;\n } else this.showDeleteIconInternalState = false;\n }\n\n render() {\n return (\n <div\n class='search-field'\n >\n <div\n class={this.getWrapperClassNames()}\n onClick={() => this.focusInput()}\n >\n <ifx-icon icon=\"search-16\" class=\"search-icon\"></ifx-icon>\n <input\n ref={(el) => (this.inputElement = el)}\n type=\"text\"\n autocomplete={this.autocomplete}\n onInput={() => this.handleInput()}\n onFocus={() => this.focusInput()}\n onBlur={() => this.blurInput()}\n placeholder={this.placeholder}\n disabled={this.disabled}\n maxlength={this.maxlength}\n value={this.value}\n role=\"combobox\"\n />\n {this.showDeleteIcon && this.showDeleteIconInternalState ? (\n <ifx-icon\n icon=\"cRemove16\"\n class=\"delete-icon\"\n onClick={this.handleDelete}\n onKeyDown={(event) => {\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n this.handleDelete();\n }\n }}>\n </ifx-icon>\n ) : null}\n </div>\n </div>\n );\n }\n\n getSizeClass() {\n return `${this.size}` === \"s\"\n ? \"search-field__wrapper-s\"\n : \"\";\n }\n\n getWrapperClassNames() {\n return classNames(\n `search-field__wrapper`,\n `search-field__wrapper ${this.getSizeClass()}`,\n `${this.isFocused ? 'focused' : \"\"}`,\n `${this.showDropdown ? 'dropdown-open' : \"\"}`,\n `${this.disabled ? 'disabled' : \"\"}`\n );\n }\n\n getSuggestionClassNames(index: number) {\n return classNames(\n 'suggestion-item',\n {\n 'suggestion-item--selected': index === this.selectedSuggestionIndex,\n 'suggestion-item--history': this.filteredSuggestions[index]?.type === 'history'\n }\n );\n }\n}\n"],"mappings":"oMAAA,MAAMA,EAAiB,q9K,MCqBVC,EAAW,MANxB,WAAAC,CAAAC,G,6OAW2BC,KAAKC,MAAW,GACjCD,KAAWE,YAAqB,GAChCF,KAAeG,gBAAY,MAC3BH,KAAcI,eAAW,GACzBJ,KAAeK,gBAAW,EAC1BL,KAAaM,cAAY,KACzBN,KAAUO,WAAW,qBACrBP,KAAiBQ,kBAAW,kBAG5BR,KAASS,UAAkB,eAG3BT,KAAmBU,oBAAW,eAC9BV,KAAsBW,uBAAW,sBACjCX,KAAiBY,kBAAW,iCAC5BZ,KAAmBa,oBAAW,oBAC9Bb,KAAoBc,qBAAW,sBAQ9Bd,KAAYe,aAAY,MACxBf,KAAmBgB,oBAAqB,GACxChB,KAAuBiB,yBAAW,EAClCjB,KAAakB,cAAa,GAE3BlB,KAAcmB,eAAY,MACzBnB,KAA2BoB,4BAAY,MACxCpB,KAAQqB,SAAY,MACpBrB,KAAIsB,KAAW,IACdtB,KAASuB,UAAY,MACtBvB,KAAWwB,YAAW,YACtBxB,KAAYyB,aAAW,MACvBzB,KAAS0B,UAAY,KAErB1B,KAAY2B,aAAY,MAmDhC3B,KAAW4B,YAAG,KACZ,MAAMC,EAAQ7B,KAAK8B,aAAa7B,MAChC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KAAKkC,c,KAIT,M,CAMZ,YAAAiG,GACE,MAAO,GAAGnI,KAAKsB,SAAW,IACtB,0BACA,E,CAGN,oBAAAoG,GACE,OAAOU,EACL,wBACA,yBAAyBpI,KAAKmI,iBAC9B,GAAGnI,KAAKuB,UAAY,UAAY,KAChC,GAAGvB,KAAKe,aAAe,gBAAkB,KACzC,GAAGf,KAAKqB,SAAW,WAAa,K,CAIpC,uBAAAgH,CAAwB/C,G,MACtB,OAAO8C,EACL,kBACA,CACE,4BAA6B9C,IAAUtF,KAAKiB,wBAC5C,6BAA4BqH,EAAAtI,KAAKgB,oBAAoBsE,MAAM,MAAAgD,SAAA,SAAAA,EAAE9C,QAAS,W","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,c as s,h as e,a as i}from"./p-DtIEDtZ8.js";const a=".list-entry{display:flex;align-items:center;margin-top:8px;align-self:stretch}";const r=class{constructor(e){t(this,e);this.ifxListEntryChange=s(this,"ifxListEntryChange",7)}valueChanged(t){if(t){this.host.setAttribute("value","true")}else{this.host.removeAttribute("value")}}handleFilterEntryChange(t){this.value=t.detail;this.ifxListEntryChange.emit({label:this.label,value:this.value,type:this.type})}render(){return e("div",{key:"a141d7bb36e2a1b02b38f72fb4d299fc4b3b3d9f",class:"wrapper"},this.type==="checkbox"?e("div",{class:"list-entry"},e("ifx-checkbox",{size:"s",checked:this.value},this.label)):e("div",{class:"list-entry"},e("ifx-radio-button",{size:"s",checked:this.value},this.label)))}get host(){return i(this)}static get watchers(){return{value:["valueChanged"]}}};r.style=a;export{r as ifx_list_entry};
2
- //# sourceMappingURL=p-9c93e258.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,c as s,h as e,a}from"./p-DtIEDtZ8.js";const r=":host{display:block}";const i=class{constructor(e){t(this,e);this.tabHeaderChange=s(this,"tabHeaderChange",7);this.icon="";this.iconPosition="left"}componentWillUpdate(){this.tabHeaderChange.emit(this.header)}render(){return e("slot",{key:"9e488e9a6cf5496a6e0ccfb3790786f4b6295ad7"})}get el(){return a(this)}};i.style=r;export{i as ifx_tab};
2
- //# sourceMappingURL=p-bfbe3ddc.entry.js.map