@limetech/lime-elements 39.26.0 → 39.28.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 (286) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/cjs/lime-elements.cjs.js +1 -1
  3. package/dist/cjs/limel-action-bar_3.cjs.entry.js +1 -1
  4. package/dist/cjs/limel-ai-avatar.cjs.entry.js +136 -12
  5. package/dist/cjs/limel-badge.cjs.entry.js +2 -2
  6. package/dist/cjs/limel-banner.cjs.entry.js +1 -1
  7. package/dist/cjs/limel-breadcrumbs_8.cjs.entry.js +8 -8
  8. package/dist/cjs/limel-button-group.cjs.entry.js +1 -1
  9. package/dist/cjs/limel-button.cjs.entry.js +2 -2
  10. package/dist/cjs/limel-callout.cjs.entry.js +2 -2
  11. package/dist/cjs/limel-card.cjs.entry.js +1 -1
  12. package/dist/cjs/limel-chart.cjs.entry.js +1 -1
  13. package/dist/cjs/limel-checkbox.cjs.entry.js +1 -1
  14. package/dist/cjs/limel-chip-set.cjs.entry.js +21 -3
  15. package/dist/cjs/limel-chip_2.cjs.entry.js +2 -2
  16. package/dist/cjs/limel-circular-progress.cjs.entry.js +1 -1
  17. package/dist/cjs/limel-code-diff.cjs.entry.js +2 -2
  18. package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
  19. package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
  20. package/dist/cjs/limel-color-picker-palette.cjs.entry.js +2 -2
  21. package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
  22. package/dist/cjs/limel-dialog.cjs.entry.js +2 -2
  23. package/dist/cjs/limel-dock.cjs.entry.js +2 -2
  24. package/dist/cjs/limel-drag-handle.cjs.entry.js +2 -2
  25. package/dist/cjs/limel-email-viewer.cjs.entry.js +2 -2
  26. package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +2 -2
  27. package/dist/cjs/limel-file-viewer.cjs.entry.js +1 -1
  28. package/dist/cjs/limel-file.cjs.entry.js +2 -2
  29. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +2 -2
  30. package/dist/cjs/limel-flex-container.cjs.entry.js +1 -1
  31. package/dist/cjs/limel-form.cjs.entry.js +1 -1
  32. package/dist/cjs/limel-grid.cjs.entry.js +1 -1
  33. package/dist/cjs/limel-header.cjs.entry.js +1 -1
  34. package/dist/cjs/limel-help-content.cjs.entry.js +1 -1
  35. package/dist/cjs/limel-help.cjs.entry.js +2 -2
  36. package/dist/cjs/limel-helper-line.cjs.entry.js +2 -2
  37. package/dist/cjs/limel-hotkey_4.cjs.entry.js +5 -5
  38. package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
  39. package/dist/cjs/limel-icon.cjs.entry.js +23 -1
  40. package/dist/cjs/limel-info-tile.cjs.entry.js +2 -2
  41. package/dist/cjs/limel-list-item.cjs.entry.js +3 -3
  42. package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
  43. package/dist/cjs/limel-masonry-layout.cjs.entry.js +1 -1
  44. package/dist/cjs/limel-menu-item-meta.cjs.entry.js +1 -1
  45. package/dist/cjs/limel-picker.cjs.entry.js +107 -35
  46. package/dist/cjs/limel-popover_2.cjs.entry.js +2 -2
  47. package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
  48. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +2 -2
  49. package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
  50. package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
  51. package/dist/cjs/limel-select.cjs.entry.js +1 -1
  52. package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
  53. package/dist/cjs/limel-slider.cjs.entry.js +2 -2
  54. package/dist/cjs/limel-snackbar.cjs.entry.js +3 -3
  55. package/dist/cjs/limel-split-button.cjs.entry.js +2 -2
  56. package/dist/cjs/limel-switch.cjs.entry.js +1 -1
  57. package/dist/cjs/limel-tab-bar.cjs.entry.js +2 -2
  58. package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
  59. package/dist/cjs/limel-table.cjs.entry.js +4 -4
  60. package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +4 -4
  61. package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
  62. package/dist/cjs/loader.cjs.js +1 -1
  63. package/dist/cjs/{translations-D4j_eojG.js → translations-VEsa81QY.js} +56 -0
  64. package/dist/collection/components/ai-avatar/ai-avatar.css +363 -124
  65. package/dist/collection/components/ai-avatar/ai-avatar.js +199 -16
  66. package/dist/collection/components/ai-avatar/ai-avatar.types.js +1 -0
  67. package/dist/collection/components/badge/badge.js +2 -2
  68. package/dist/collection/components/banner/banner.js +1 -1
  69. package/dist/collection/components/breadcrumbs/breadcrumbs.js +1 -1
  70. package/dist/collection/components/button/button.js +2 -2
  71. package/dist/collection/components/button-group/button-group.js +1 -1
  72. package/dist/collection/components/callout/callout.js +1 -1
  73. package/dist/collection/components/card/card.js +1 -1
  74. package/dist/collection/components/checkbox/checkbox.js +1 -1
  75. package/dist/collection/components/chip/chip.js +1 -1
  76. package/dist/collection/components/chip-set/chip-set.js +40 -2
  77. package/dist/collection/components/circular-progress/circular-progress.js +1 -1
  78. package/dist/collection/components/code-diff/code-diff.js +1 -1
  79. package/dist/collection/components/code-editor/code-editor.js +1 -1
  80. package/dist/collection/components/collapsible-section/collapsible-section.js +1 -1
  81. package/dist/collection/components/color-picker/color-picker-palette.js +2 -2
  82. package/dist/collection/components/color-picker/color-picker.js +1 -1
  83. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +1 -1
  84. package/dist/collection/components/dialog/dialog.js +2 -2
  85. package/dist/collection/components/dock/dock.js +2 -2
  86. package/dist/collection/components/drag-handle/drag-handle.js +1 -1
  87. package/dist/collection/components/email-viewer/email-viewer.js +1 -1
  88. package/dist/collection/components/file/file.js +1 -1
  89. package/dist/collection/components/file-dropzone/file-dropzone.js +1 -1
  90. package/dist/collection/components/file-input/file-input.js +1 -1
  91. package/dist/collection/components/flex-container/flex-container.js +1 -1
  92. package/dist/collection/components/form/form.js +1 -1
  93. package/dist/collection/components/grid/grid.js +1 -1
  94. package/dist/collection/components/header/header.js +1 -1
  95. package/dist/collection/components/help/help-content.js +1 -1
  96. package/dist/collection/components/help/help.js +2 -2
  97. package/dist/collection/components/helper-line/helper-line.js +2 -2
  98. package/dist/collection/components/hotkey/hotkey.js +1 -1
  99. package/dist/collection/components/icon/icon.js +43 -1
  100. package/dist/collection/components/icon-button/icon-button.js +1 -1
  101. package/dist/collection/components/info-tile/info-tile.js +2 -2
  102. package/dist/collection/components/input-field/input-field.js +1 -1
  103. package/dist/collection/components/list/list.js +1 -1
  104. package/dist/collection/components/list-item/list-item.js +2 -2
  105. package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.js +1 -1
  106. package/dist/collection/components/markdown/markdown.js +1 -1
  107. package/dist/collection/components/masonry-layout/masonry-layout.js +1 -1
  108. package/dist/collection/components/menu/menu.js +1 -1
  109. package/dist/collection/components/menu-list/menu-list.js +1 -1
  110. package/dist/collection/components/menu-surface/menu-surface.js +1 -1
  111. package/dist/collection/components/notched-outline/notched-outline.js +1 -1
  112. package/dist/collection/components/picker/picker.js +136 -36
  113. package/dist/collection/components/popover/popover.js +1 -1
  114. package/dist/collection/components/popover-surface/popover-surface.js +1 -1
  115. package/dist/collection/components/portal/portal.js +1 -1
  116. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  117. package/dist/collection/components/radio-button-group/radio-button.js +2 -2
  118. package/dist/collection/components/select/select.js +1 -1
  119. package/dist/collection/components/shortcut/shortcut.js +1 -1
  120. package/dist/collection/components/slider/slider.js +2 -2
  121. package/dist/collection/components/snackbar/snackbar.js +2 -2
  122. package/dist/collection/components/spinner/spinner.js +1 -1
  123. package/dist/collection/components/split-button/split-button.js +2 -2
  124. package/dist/collection/components/switch/switch.js +1 -1
  125. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  126. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  127. package/dist/collection/components/table/table.js +3 -3
  128. package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
  129. package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +1 -1
  130. package/dist/collection/components/text-editor/text-editor.js +1 -1
  131. package/dist/collection/components/tooltip/tooltip-content.js +1 -1
  132. package/dist/collection/components/tooltip/tooltip.js +2 -2
  133. package/dist/collection/translations/da.js +7 -0
  134. package/dist/collection/translations/de.js +7 -0
  135. package/dist/collection/translations/en.js +7 -0
  136. package/dist/collection/translations/fi.js +7 -0
  137. package/dist/collection/translations/fr.js +7 -0
  138. package/dist/collection/translations/nl.js +7 -0
  139. package/dist/collection/translations/no.js +7 -0
  140. package/dist/collection/translations/sv.js +7 -0
  141. package/dist/esm/lime-elements.js +1 -1
  142. package/dist/esm/limel-action-bar_3.entry.js +1 -1
  143. package/dist/esm/limel-ai-avatar.entry.js +136 -12
  144. package/dist/esm/limel-badge.entry.js +2 -2
  145. package/dist/esm/limel-banner.entry.js +1 -1
  146. package/dist/esm/limel-breadcrumbs_8.entry.js +8 -8
  147. package/dist/esm/limel-button-group.entry.js +1 -1
  148. package/dist/esm/limel-button.entry.js +2 -2
  149. package/dist/esm/limel-callout.entry.js +2 -2
  150. package/dist/esm/limel-card.entry.js +1 -1
  151. package/dist/esm/limel-chart.entry.js +1 -1
  152. package/dist/esm/limel-checkbox.entry.js +1 -1
  153. package/dist/esm/limel-chip-set.entry.js +21 -3
  154. package/dist/esm/limel-chip_2.entry.js +2 -2
  155. package/dist/esm/limel-circular-progress.entry.js +1 -1
  156. package/dist/esm/limel-code-diff.entry.js +2 -2
  157. package/dist/esm/limel-code-editor.entry.js +2 -2
  158. package/dist/esm/limel-collapsible-section.entry.js +2 -2
  159. package/dist/esm/limel-color-picker-palette.entry.js +2 -2
  160. package/dist/esm/limel-color-picker.entry.js +1 -1
  161. package/dist/esm/limel-dialog.entry.js +2 -2
  162. package/dist/esm/limel-dock.entry.js +2 -2
  163. package/dist/esm/limel-drag-handle.entry.js +2 -2
  164. package/dist/esm/limel-email-viewer.entry.js +2 -2
  165. package/dist/esm/limel-file-dropzone_2.entry.js +2 -2
  166. package/dist/esm/limel-file-viewer.entry.js +1 -1
  167. package/dist/esm/limel-file.entry.js +2 -2
  168. package/dist/esm/limel-flatpickr-adapter.entry.js +2 -2
  169. package/dist/esm/limel-flex-container.entry.js +1 -1
  170. package/dist/esm/limel-form.entry.js +1 -1
  171. package/dist/esm/limel-grid.entry.js +1 -1
  172. package/dist/esm/limel-header.entry.js +1 -1
  173. package/dist/esm/limel-help-content.entry.js +1 -1
  174. package/dist/esm/limel-help.entry.js +2 -2
  175. package/dist/esm/limel-helper-line.entry.js +2 -2
  176. package/dist/esm/limel-hotkey_4.entry.js +5 -5
  177. package/dist/esm/limel-icon-button.entry.js +1 -1
  178. package/dist/esm/limel-icon.entry.js +23 -1
  179. package/dist/esm/limel-info-tile.entry.js +2 -2
  180. package/dist/esm/limel-list-item.entry.js +3 -3
  181. package/dist/esm/limel-markdown.entry.js +1 -1
  182. package/dist/esm/limel-masonry-layout.entry.js +1 -1
  183. package/dist/esm/limel-menu-item-meta.entry.js +1 -1
  184. package/dist/esm/limel-picker.entry.js +108 -36
  185. package/dist/esm/limel-popover_2.entry.js +2 -2
  186. package/dist/esm/limel-profile-picture.entry.js +1 -1
  187. package/dist/esm/limel-prosemirror-adapter.entry.js +2 -2
  188. package/dist/esm/limel-radio-button-group.entry.js +1 -1
  189. package/dist/esm/limel-radio-button.entry.js +2 -2
  190. package/dist/esm/limel-select.entry.js +1 -1
  191. package/dist/esm/limel-shortcut.entry.js +1 -1
  192. package/dist/esm/limel-slider.entry.js +2 -2
  193. package/dist/esm/limel-snackbar.entry.js +3 -3
  194. package/dist/esm/limel-split-button.entry.js +2 -2
  195. package/dist/esm/limel-switch.entry.js +1 -1
  196. package/dist/esm/limel-tab-bar.entry.js +2 -2
  197. package/dist/esm/limel-tab-panel.entry.js +1 -1
  198. package/dist/esm/limel-table.entry.js +4 -4
  199. package/dist/esm/limel-text-editor-link-menu.entry.js +4 -4
  200. package/dist/esm/limel-text-editor.entry.js +1 -1
  201. package/dist/esm/loader.js +1 -1
  202. package/dist/esm/{translations-Dv3YcsA7.js → translations-EPnIW0K5.js} +56 -0
  203. package/dist/lime-elements/lime-elements.esm.js +1 -1
  204. package/dist/lime-elements/{p-96ee6090.entry.js → p-08a261ce.entry.js} +1 -1
  205. package/dist/lime-elements/p-122cd39d.entry.js +1 -0
  206. package/dist/lime-elements/{p-469ec146.entry.js → p-140afd9f.entry.js} +1 -1
  207. package/dist/lime-elements/{p-5cc370fe.entry.js → p-1614ad86.entry.js} +1 -1
  208. package/dist/lime-elements/{p-01651634.entry.js → p-19a259ff.entry.js} +1 -1
  209. package/dist/lime-elements/{p-512b2e14.entry.js → p-1a5541f1.entry.js} +1 -1
  210. package/dist/lime-elements/{p-104d0fb3.entry.js → p-1ae8b33a.entry.js} +1 -1
  211. package/dist/lime-elements/{p-95ac0387.entry.js → p-1e155de4.entry.js} +1 -1
  212. package/dist/lime-elements/{p-c8eabc9d.entry.js → p-1efd78ee.entry.js} +1 -1
  213. package/dist/lime-elements/{p-cc17846b.entry.js → p-22f34040.entry.js} +1 -1
  214. package/dist/lime-elements/{p-5442e09e.entry.js → p-263bfd74.entry.js} +1 -1
  215. package/dist/lime-elements/{p-a026cc24.entry.js → p-2a92790c.entry.js} +1 -1
  216. package/dist/lime-elements/{p-42b9b57a.entry.js → p-2a9e7bf5.entry.js} +1 -1
  217. package/dist/lime-elements/{p-05d533b5.entry.js → p-2b0a8066.entry.js} +1 -1
  218. package/dist/lime-elements/{p-aa43c751.entry.js → p-46900c5b.entry.js} +1 -1
  219. package/dist/lime-elements/{p-1c244f85.entry.js → p-49901dd7.entry.js} +1 -1
  220. package/dist/lime-elements/{p-ddd7cb78.entry.js → p-4d948ed5.entry.js} +1 -1
  221. package/dist/lime-elements/{p-60327283.entry.js → p-5017cb3f.entry.js} +1 -1
  222. package/dist/lime-elements/{p-fbdca779.entry.js → p-50f51eb9.entry.js} +1 -1
  223. package/dist/lime-elements/p-59716b48.entry.js +1 -0
  224. package/dist/lime-elements/{p-9caeca33.entry.js → p-5d9adcbb.entry.js} +1 -1
  225. package/dist/lime-elements/{p-da4429a8.entry.js → p-5f121609.entry.js} +1 -1
  226. package/dist/lime-elements/{p-eff0a330.entry.js → p-6015621e.entry.js} +1 -1
  227. package/dist/lime-elements/{p-c4813e26.entry.js → p-60518e6b.entry.js} +1 -1
  228. package/dist/lime-elements/{p-374ec191.entry.js → p-61ec46d5.entry.js} +1 -1
  229. package/dist/lime-elements/{p-cba72cd6.entry.js → p-6b7e58c3.entry.js} +1 -1
  230. package/dist/lime-elements/{p-6a26ea78.entry.js → p-6ca1da96.entry.js} +1 -1
  231. package/dist/lime-elements/{p-f6e58e6c.entry.js → p-730ba357.entry.js} +1 -1
  232. package/dist/lime-elements/{p-e7e2737b.entry.js → p-7b074737.entry.js} +1 -1
  233. package/dist/lime-elements/{p-79c797f5.entry.js → p-8203eea8.entry.js} +1 -1
  234. package/dist/lime-elements/{p-19d0861e.entry.js → p-82fb5c74.entry.js} +1 -1
  235. package/dist/lime-elements/{p-bcf03d4e.entry.js → p-871eb795.entry.js} +1 -1
  236. package/dist/lime-elements/{p-6f6c28f8.entry.js → p-8fde4714.entry.js} +1 -1
  237. package/dist/lime-elements/p-91990c64.entry.js +1 -0
  238. package/dist/lime-elements/{p-80162ba0.entry.js → p-9359e870.entry.js} +1 -1
  239. package/dist/lime-elements/{p-f867b424.entry.js → p-989f4a52.entry.js} +1 -1
  240. package/dist/lime-elements/{p-a435d1c3.entry.js → p-9b3e8f43.entry.js} +1 -1
  241. package/dist/lime-elements/{p-f2f01f2a.entry.js → p-9e1a4d63.entry.js} +1 -1
  242. package/dist/lime-elements/{p-b1645d2d.entry.js → p-9f4f1854.entry.js} +1 -1
  243. package/dist/lime-elements/p-EPnIW0K5.js +1 -0
  244. package/dist/lime-elements/p-a6805c64.entry.js +1 -0
  245. package/dist/lime-elements/{p-97c401f1.entry.js → p-a7764b6d.entry.js} +1 -1
  246. package/dist/lime-elements/{p-d227f4df.entry.js → p-a85b2734.entry.js} +1 -1
  247. package/dist/lime-elements/p-ac5a3f55.entry.js +1 -0
  248. package/dist/lime-elements/{p-d1477eca.entry.js → p-afd4be62.entry.js} +1 -1
  249. package/dist/lime-elements/{p-a712087a.entry.js → p-b61a1d27.entry.js} +1 -1
  250. package/dist/lime-elements/{p-4ecd565b.entry.js → p-bffbd011.entry.js} +1 -1
  251. package/dist/lime-elements/p-c9fa7a09.entry.js +1 -0
  252. package/dist/lime-elements/{p-733ebba6.entry.js → p-cc1e3d79.entry.js} +1 -1
  253. package/dist/lime-elements/{p-72b9d03e.entry.js → p-d0607ba8.entry.js} +1 -1
  254. package/dist/lime-elements/{p-067a13bb.entry.js → p-d09e74b1.entry.js} +1 -1
  255. package/dist/lime-elements/{p-504dcdb6.entry.js → p-d23af300.entry.js} +1 -1
  256. package/dist/lime-elements/{p-eecef02e.entry.js → p-d4a94dce.entry.js} +1 -1
  257. package/dist/lime-elements/{p-e5c7cac0.entry.js → p-d5f189b9.entry.js} +2 -2
  258. package/dist/lime-elements/{p-6eaa9776.entry.js → p-dcffc27b.entry.js} +3 -3
  259. package/dist/lime-elements/{p-92539877.entry.js → p-de203f64.entry.js} +1 -1
  260. package/dist/lime-elements/p-dee5717c.entry.js +1 -0
  261. package/dist/lime-elements/{p-86a001e2.entry.js → p-df0b927e.entry.js} +1 -1
  262. package/dist/lime-elements/{p-d00ec6c2.entry.js → p-f5d60f9c.entry.js} +1 -1
  263. package/dist/lime-elements/{p-d4d4236b.entry.js → p-faceccc0.entry.js} +1 -1
  264. package/dist/types/components/ai-avatar/ai-avatar.d.ts +31 -7
  265. package/dist/types/components/ai-avatar/ai-avatar.types.d.ts +26 -0
  266. package/dist/types/components/chip-set/chip-set.d.ts +16 -0
  267. package/dist/types/components/icon/icon.d.ts +15 -0
  268. package/dist/types/components/picker/picker.d.ts +34 -6
  269. package/dist/types/components.d.ts +87 -20
  270. package/dist/types/translations/da.d.ts +7 -0
  271. package/dist/types/translations/de.d.ts +7 -0
  272. package/dist/types/translations/en.d.ts +7 -0
  273. package/dist/types/translations/fi.d.ts +7 -0
  274. package/dist/types/translations/fr.d.ts +7 -0
  275. package/dist/types/translations/nl.d.ts +7 -0
  276. package/dist/types/translations/no.d.ts +7 -0
  277. package/dist/types/translations/sv.d.ts +7 -0
  278. package/package.json +1 -1
  279. package/dist/lime-elements/p-438652d6.entry.js +0 -1
  280. package/dist/lime-elements/p-56cc6800.entry.js +0 -1
  281. package/dist/lime-elements/p-58615011.entry.js +0 -1
  282. package/dist/lime-elements/p-5eadcd4a.entry.js +0 -1
  283. package/dist/lime-elements/p-7436490f.entry.js +0 -1
  284. package/dist/lime-elements/p-7cfed02f.entry.js +0 -1
  285. package/dist/lime-elements/p-Dv3YcsA7.js +0 -1
  286. package/dist/lime-elements/p-cba2dbb6.entry.js +0 -1
@@ -9,6 +9,7 @@ import { ActionBarItem } from "./components/action-bar/action-bar.types";
9
9
  import { ListItem, ListSeparator } from "./components/list-item/list-item.types";
10
10
  import { DateType, Languages } from "./components/date-picker/date.types";
11
11
  import { MenuItem, MenuSearcher, OpenDirection, SurfaceWidth } from "./components/menu/menu.types";
12
+ import { AiAvatarMode, AiAvatarVariant } from "./components/ai-avatar/ai-avatar.types";
12
13
  import { Icon, IconName } from "./global/shared-types/icon.types";
13
14
  import { BreadcrumbsItem } from "./components/breadcrumbs/breadcrumbs.types";
14
15
  import { Button } from "./components/button/button.types";
@@ -53,6 +54,7 @@ export { ActionBarItem } from "./components/action-bar/action-bar.types";
53
54
  export { ListItem, ListSeparator } from "./components/list-item/list-item.types";
54
55
  export { DateType, Languages } from "./components/date-picker/date.types";
55
56
  export { MenuItem, MenuSearcher, OpenDirection, SurfaceWidth } from "./components/menu/menu.types";
57
+ export { AiAvatarMode, AiAvatarVariant } from "./components/ai-avatar/ai-avatar.types";
56
58
  export { Icon, IconName } from "./global/shared-types/icon.types";
57
59
  export { BreadcrumbsItem } from "./components/breadcrumbs/breadcrumbs.types";
58
60
  export { Button } from "./components/button/button.types";
@@ -195,20 +197,21 @@ export namespace Components {
195
197
  /**
196
198
  * This component displays an avatar, representing Lime AI assistants.
197
199
  * :::warning
198
- * This is a private component used internally in the Lime's various applications,
200
+ * This is a private component used internally in Lime's various applications,
199
201
  * which is the reason for having it in Lime Elements —to ease the distribution
200
202
  * of the component across all our apps.
201
203
  * 3rd party developers are not allowed use this component directly.
202
204
  * :::
203
205
  * @private
204
206
  * @exampleComponent limel-example-ai-avatar-basic
205
- * @exampleComponent limel-example-ai-avatar-colors
206
- * @exampleComponent limel-example-ai-avatar-white-background
207
- * @exampleComponent limel-example-ai-avatar-color-props
207
+ * @exampleComponent limel-example-ai-avatar-variant
208
+ * @exampleComponent limel-example-ai-avatar-mode
209
+ * @exampleComponent limel-example-ai-avatar-branded
210
+ * @exampleComponent limel-example-ai-avatar-export
208
211
  */
209
212
  interface LimelAiAvatar {
210
213
  /**
211
- * Set to `true` to trigger animations that indicate that the AI is "thinking" or processing something.
214
+ * @deprecated Use the `mode` property with the value `thinking` instead. This property will be removed in a future major version. Until removal, setting this to `true` is bridged to `mode="thinking"` when `mode` is at its default (`idle`); an explicit `mode` value always wins, so consumers can migrate by replacing `isThinking={true}` with `mode="thinking"` without coordination.
212
215
  * @default false
213
216
  */
214
217
  "isThinking": boolean;
@@ -217,6 +220,16 @@ export namespace Components {
217
220
  * @default document.documentElement.lang as Languages
218
221
  */
219
222
  "language": Languages;
223
+ /**
224
+ * Represents the current activity of the AI agent. The avatar uses this to drive its visual state and animations. Defaults to `idle`.
225
+ * @default 'idle'
226
+ */
227
+ "mode": AiAvatarMode;
228
+ /**
229
+ * Selects the avatar's visual style. The `detailed` variant is the fully detailed orb; the `minimal` variant is a simplified design with a single gradient orb, a stroked outline, and a soft halo. Eye and mouth shapes (and all animations driving them) are shared across variants.
230
+ * @default 'minimal'
231
+ */
232
+ "variant": AiAvatarVariant;
220
233
  }
221
234
  /**
222
235
  * The Badge component can be used to display a notification badge,
@@ -845,6 +858,11 @@ export namespace Components {
845
858
  * @default true
846
859
  */
847
860
  "emptyInputOnBlur": boolean;
861
+ /**
862
+ * Whether the input field should be emptied when the set of chips changes (i.e. when the `value` prop is updated — a chip is added, removed, or the array is replaced). Defaults to `true`, which is the right behavior for a standalone input chip-set where the typed text *becomes* the next chip on <kbd>Enter</kbd>. The input is then cleared to make room for the next chip, and help user type a new keyword from scratch. Set to `false` when the input represents a search query over an external suggestion list (as in `limel-picker`), so the typed keyword survives while chips are added or removed (when user selects items from the search results list, while it is open).
863
+ * @default true
864
+ */
865
+ "emptyInputOnChange": boolean;
848
866
  /**
849
867
  * Used to find out whether the chip-set is in edit mode.
850
868
  * @returns `true` if the chip-set is in edit mode, `false` otherwise.
@@ -2051,6 +2069,7 @@ export namespace Components {
2051
2069
  * @exampleComponent limel-example-icon-name
2052
2070
  * @exampleComponent limel-example-icon-size
2053
2071
  * @exampleComponent limel-example-icon-color
2072
+ * @exampleComponent limel-example-icon-svg-class
2054
2073
  */
2055
2074
  interface LimelIcon {
2056
2075
  /**
@@ -2065,6 +2084,10 @@ export namespace Components {
2065
2084
  * Size of the icon
2066
2085
  */
2067
2086
  "size": IconSize;
2087
+ /**
2088
+ * Sets the `class` attribute on the inner `<svg>` element rendered by this component, replacing whatever class the source SVG shipped with. This is meant for icons whose SVG file contains internal `<style>` blocks with rules that respond to classes — a single file that ships with multiple visual states selectable via class names. Setting `svgClass` is how a consumer reaches across the shadow boundary to pick which of those states is active. For typical stateless icons, this prop has no visible effect.
2089
+ */
2090
+ "svgClass"?: string;
2068
2091
  }
2069
2092
  /**
2070
2093
  * @exampleComponent limel-example-icon-button-basic
@@ -2756,6 +2779,7 @@ export namespace Components {
2756
2779
  * @exampleComponent limel-example-picker-value-as-object
2757
2780
  * @exampleComponent limel-example-picker-value-as-object-with-actions
2758
2781
  * @exampleComponent limel-example-picker-empty-suggestions
2782
+ * @exampleComponent limel-example-picker-empty-result-message
2759
2783
  * @exampleComponent limel-example-picker-leading-icon
2760
2784
  * @exampleComponent limel-example-picker-static-actions
2761
2785
  * @exampleComponent limel-example-picker-sections
@@ -2798,7 +2822,7 @@ export namespace Components {
2798
2822
  */
2799
2823
  "disabled": boolean;
2800
2824
  /**
2801
- * A message to display when the search returned an empty result
2825
+ * A message to display when the search returned an empty result. If unset (or set to an empty string), the picker shows a default translated message (`No results matching "X"` in English, where `X` is the current query) chosen by the `language` prop. Set this to override the default with custom text — for example, when the picker's domain calls for more specific wording like "No matching participants found".
2802
2826
  */
2803
2827
  "emptyResultMessage": string;
2804
2828
  /**
@@ -2814,6 +2838,11 @@ export namespace Components {
2814
2838
  * Text to display for the input field of the picker
2815
2839
  */
2816
2840
  "label": string;
2841
+ /**
2842
+ * Defines the language for translations. Affects the labels rendered by the picker itself, such as the "Results matching" header shown above the suggestion list while the user is typing.
2843
+ * @default 'en'
2844
+ */
2845
+ "language": Languages;
2817
2846
  /**
2818
2847
  * Leading icon to show to the far left in the text field
2819
2848
  */
@@ -4213,16 +4242,17 @@ declare global {
4213
4242
  /**
4214
4243
  * This component displays an avatar, representing Lime AI assistants.
4215
4244
  * :::warning
4216
- * This is a private component used internally in the Lime's various applications,
4245
+ * This is a private component used internally in Lime's various applications,
4217
4246
  * which is the reason for having it in Lime Elements —to ease the distribution
4218
4247
  * of the component across all our apps.
4219
4248
  * 3rd party developers are not allowed use this component directly.
4220
4249
  * :::
4221
4250
  * @private
4222
4251
  * @exampleComponent limel-example-ai-avatar-basic
4223
- * @exampleComponent limel-example-ai-avatar-colors
4224
- * @exampleComponent limel-example-ai-avatar-white-background
4225
- * @exampleComponent limel-example-ai-avatar-color-props
4252
+ * @exampleComponent limel-example-ai-avatar-variant
4253
+ * @exampleComponent limel-example-ai-avatar-mode
4254
+ * @exampleComponent limel-example-ai-avatar-branded
4255
+ * @exampleComponent limel-example-ai-avatar-export
4226
4256
  */
4227
4257
  interface HTMLLimelAiAvatarElement extends Components.LimelAiAvatar, HTMLStencilElement {
4228
4258
  }
@@ -5364,6 +5394,7 @@ declare global {
5364
5394
  * @exampleComponent limel-example-icon-name
5365
5395
  * @exampleComponent limel-example-icon-size
5366
5396
  * @exampleComponent limel-example-icon-color
5397
+ * @exampleComponent limel-example-icon-svg-class
5367
5398
  */
5368
5399
  interface HTMLLimelIconElement extends Components.LimelIcon, HTMLStencilElement {
5369
5400
  }
@@ -5717,6 +5748,7 @@ declare global {
5717
5748
  * @exampleComponent limel-example-picker-value-as-object
5718
5749
  * @exampleComponent limel-example-picker-value-as-object-with-actions
5719
5750
  * @exampleComponent limel-example-picker-empty-suggestions
5751
+ * @exampleComponent limel-example-picker-empty-result-message
5720
5752
  * @exampleComponent limel-example-picker-leading-icon
5721
5753
  * @exampleComponent limel-example-picker-static-actions
5722
5754
  * @exampleComponent limel-example-picker-sections
@@ -6624,20 +6656,21 @@ declare namespace LocalJSX {
6624
6656
  /**
6625
6657
  * This component displays an avatar, representing Lime AI assistants.
6626
6658
  * :::warning
6627
- * This is a private component used internally in the Lime's various applications,
6659
+ * This is a private component used internally in Lime's various applications,
6628
6660
  * which is the reason for having it in Lime Elements —to ease the distribution
6629
6661
  * of the component across all our apps.
6630
6662
  * 3rd party developers are not allowed use this component directly.
6631
6663
  * :::
6632
6664
  * @private
6633
6665
  * @exampleComponent limel-example-ai-avatar-basic
6634
- * @exampleComponent limel-example-ai-avatar-colors
6635
- * @exampleComponent limel-example-ai-avatar-white-background
6636
- * @exampleComponent limel-example-ai-avatar-color-props
6666
+ * @exampleComponent limel-example-ai-avatar-variant
6667
+ * @exampleComponent limel-example-ai-avatar-mode
6668
+ * @exampleComponent limel-example-ai-avatar-branded
6669
+ * @exampleComponent limel-example-ai-avatar-export
6637
6670
  */
6638
6671
  interface LimelAiAvatar {
6639
6672
  /**
6640
- * Set to `true` to trigger animations that indicate that the AI is "thinking" or processing something.
6673
+ * @deprecated Use the `mode` property with the value `thinking` instead. This property will be removed in a future major version. Until removal, setting this to `true` is bridged to `mode="thinking"` when `mode` is at its default (`idle`); an explicit `mode` value always wins, so consumers can migrate by replacing `isThinking={true}` with `mode="thinking"` without coordination.
6641
6674
  * @default false
6642
6675
  */
6643
6676
  "isThinking"?: boolean;
@@ -6646,6 +6679,16 @@ declare namespace LocalJSX {
6646
6679
  * @default document.documentElement.lang as Languages
6647
6680
  */
6648
6681
  "language"?: Languages;
6682
+ /**
6683
+ * Represents the current activity of the AI agent. The avatar uses this to drive its visual state and animations. Defaults to `idle`.
6684
+ * @default 'idle'
6685
+ */
6686
+ "mode"?: AiAvatarMode;
6687
+ /**
6688
+ * Selects the avatar's visual style. The `detailed` variant is the fully detailed orb; the `minimal` variant is a simplified design with a single gradient orb, a stroked outline, and a soft halo. Eye and mouth shapes (and all animations driving them) are shared across variants.
6689
+ * @default 'minimal'
6690
+ */
6691
+ "variant"?: AiAvatarVariant;
6649
6692
  }
6650
6693
  /**
6651
6694
  * The Badge component can be used to display a notification badge,
@@ -7289,6 +7332,11 @@ declare namespace LocalJSX {
7289
7332
  * @default true
7290
7333
  */
7291
7334
  "emptyInputOnBlur"?: boolean;
7335
+ /**
7336
+ * Whether the input field should be emptied when the set of chips changes (i.e. when the `value` prop is updated — a chip is added, removed, or the array is replaced). Defaults to `true`, which is the right behavior for a standalone input chip-set where the typed text *becomes* the next chip on <kbd>Enter</kbd>. The input is then cleared to make room for the next chip, and help user type a new keyword from scratch. Set to `false` when the input represents a search query over an external suggestion list (as in `limel-picker`), so the typed keyword survives while chips are added or removed (when user selects items from the search results list, while it is open).
7337
+ * @default true
7338
+ */
7339
+ "emptyInputOnChange"?: boolean;
7292
7340
  /**
7293
7341
  * Optional helper text to display below the chipset. When type is `input`, the helper text is displayed below the input field when it has focus. When type is not `input`, the helper text is always displayed if the device is touch screen; otherwise it is shown when chip-set is hovered or focused using keyboard navigation.
7294
7342
  */
@@ -8605,6 +8653,7 @@ declare namespace LocalJSX {
8605
8653
  * @exampleComponent limel-example-icon-name
8606
8654
  * @exampleComponent limel-example-icon-size
8607
8655
  * @exampleComponent limel-example-icon-color
8656
+ * @exampleComponent limel-example-icon-svg-class
8608
8657
  */
8609
8658
  interface LimelIcon {
8610
8659
  /**
@@ -8619,6 +8668,10 @@ declare namespace LocalJSX {
8619
8668
  * Size of the icon
8620
8669
  */
8621
8670
  "size"?: IconSize;
8671
+ /**
8672
+ * Sets the `class` attribute on the inner `<svg>` element rendered by this component, replacing whatever class the source SVG shipped with. This is meant for icons whose SVG file contains internal `<style>` blocks with rules that respond to classes — a single file that ships with multiple visual states selectable via class names. Setting `svgClass` is how a consumer reaches across the shadow boundary to pick which of those states is active. For typical stateless icons, this prop has no visible effect.
8673
+ */
8674
+ "svgClass"?: string;
8622
8675
  }
8623
8676
  /**
8624
8677
  * @exampleComponent limel-example-icon-button-basic
@@ -9333,6 +9386,7 @@ declare namespace LocalJSX {
9333
9386
  * @exampleComponent limel-example-picker-value-as-object
9334
9387
  * @exampleComponent limel-example-picker-value-as-object-with-actions
9335
9388
  * @exampleComponent limel-example-picker-empty-suggestions
9389
+ * @exampleComponent limel-example-picker-empty-result-message
9336
9390
  * @exampleComponent limel-example-picker-leading-icon
9337
9391
  * @exampleComponent limel-example-picker-static-actions
9338
9392
  * @exampleComponent limel-example-picker-sections
@@ -9375,7 +9429,7 @@ declare namespace LocalJSX {
9375
9429
  */
9376
9430
  "disabled"?: boolean;
9377
9431
  /**
9378
- * A message to display when the search returned an empty result
9432
+ * A message to display when the search returned an empty result. If unset (or set to an empty string), the picker shows a default translated message (`No results matching "X"` in English, where `X` is the current query) chosen by the `language` prop. Set this to override the default with custom text — for example, when the picker's domain calls for more specific wording like "No matching participants found".
9379
9433
  */
9380
9434
  "emptyResultMessage"?: string;
9381
9435
  /**
@@ -9391,6 +9445,11 @@ declare namespace LocalJSX {
9391
9445
  * Text to display for the input field of the picker
9392
9446
  */
9393
9447
  "label"?: string;
9448
+ /**
9449
+ * Defines the language for translations. Affects the labels rendered by the picker itself, such as the "Results matching" header shown above the suggestion list while the user is typing.
9450
+ * @default 'en'
9451
+ */
9452
+ "language"?: Languages;
9394
9453
  /**
9395
9454
  * Leading icon to show to the far left in the text field
9396
9455
  */
@@ -10687,6 +10746,8 @@ declare namespace LocalJSX {
10687
10746
  }
10688
10747
  interface LimelAiAvatarAttributes {
10689
10748
  "isThinking": boolean;
10749
+ "mode": AiAvatarMode;
10750
+ "variant": AiAvatarVariant;
10690
10751
  "language": Languages;
10691
10752
  }
10692
10753
  interface LimelBadgeAttributes {
@@ -10787,6 +10848,7 @@ declare namespace LocalJSX {
10787
10848
  "required": boolean;
10788
10849
  "searchLabel": string;
10789
10850
  "emptyInputOnBlur": boolean;
10851
+ "emptyInputOnChange": boolean;
10790
10852
  "clearAllButton": boolean;
10791
10853
  "leadingIcon": IconName;
10792
10854
  "delimiter": string;
@@ -10975,6 +11037,7 @@ declare namespace LocalJSX {
10975
11037
  "size": IconSize;
10976
11038
  "name": string;
10977
11039
  "badge": boolean;
11040
+ "svgClass": string;
10978
11041
  }
10979
11042
  interface LimelIconButtonAttributes {
10980
11043
  "icon": IconName | Icon;
@@ -11094,6 +11157,7 @@ declare namespace LocalJSX {
11094
11157
  "helperText": string;
11095
11158
  "leadingIcon": IconName;
11096
11159
  "emptyResultMessage": string;
11160
+ "language": Languages;
11097
11161
  "required": boolean;
11098
11162
  "invalid": boolean;
11099
11163
  "multiple": boolean;
@@ -11396,16 +11460,17 @@ declare module "@stencil/core" {
11396
11460
  /**
11397
11461
  * This component displays an avatar, representing Lime AI assistants.
11398
11462
  * :::warning
11399
- * This is a private component used internally in the Lime's various applications,
11463
+ * This is a private component used internally in Lime's various applications,
11400
11464
  * which is the reason for having it in Lime Elements —to ease the distribution
11401
11465
  * of the component across all our apps.
11402
11466
  * 3rd party developers are not allowed use this component directly.
11403
11467
  * :::
11404
11468
  * @private
11405
11469
  * @exampleComponent limel-example-ai-avatar-basic
11406
- * @exampleComponent limel-example-ai-avatar-colors
11407
- * @exampleComponent limel-example-ai-avatar-white-background
11408
- * @exampleComponent limel-example-ai-avatar-color-props
11470
+ * @exampleComponent limel-example-ai-avatar-variant
11471
+ * @exampleComponent limel-example-ai-avatar-mode
11472
+ * @exampleComponent limel-example-ai-avatar-branded
11473
+ * @exampleComponent limel-example-ai-avatar-export
11409
11474
  */
11410
11475
  "limel-ai-avatar": LocalJSX.IntrinsicElements["limel-ai-avatar"] & JSXBase.HTMLAttributes<HTMLLimelAiAvatarElement>;
11411
11476
  /**
@@ -12094,6 +12159,7 @@ declare module "@stencil/core" {
12094
12159
  * @exampleComponent limel-example-icon-name
12095
12160
  * @exampleComponent limel-example-icon-size
12096
12161
  * @exampleComponent limel-example-icon-color
12162
+ * @exampleComponent limel-example-icon-svg-class
12097
12163
  */
12098
12164
  "limel-icon": LocalJSX.IntrinsicElements["limel-icon"] & JSXBase.HTMLAttributes<HTMLLimelIconElement>;
12099
12165
  /**
@@ -12311,6 +12377,7 @@ declare module "@stencil/core" {
12311
12377
  * @exampleComponent limel-example-picker-value-as-object
12312
12378
  * @exampleComponent limel-example-picker-value-as-object-with-actions
12313
12379
  * @exampleComponent limel-example-picker-empty-suggestions
12380
+ * @exampleComponent limel-example-picker-empty-result-message
12314
12381
  * @exampleComponent limel-example-picker-leading-icon
12315
12382
  * @exampleComponent limel-example-picker-static-actions
12316
12383
  * @exampleComponent limel-example-picker-sections
@@ -68,6 +68,11 @@ declare const _default: {
68
68
  'progress-bar': string;
69
69
  'ai-avatar.label': string;
70
70
  'ai-avatar.thinking': string;
71
+ 'ai-avatar.mode.active': string;
72
+ 'ai-avatar.mode.thinking': string;
73
+ 'ai-avatar.mode.typing': string;
74
+ 'ai-avatar.mode.working': string;
75
+ 'ai-avatar.mode.waiting': string;
71
76
  'table.select-all': string;
72
77
  'table.select-row': string;
73
78
  'code-diff.table-label': string;
@@ -102,6 +107,8 @@ declare const _default: {
102
107
  'profile-picture.remove': string;
103
108
  'profile-picture.unsupported-preview.title': string;
104
109
  'profile-picture.unsupported-preview.description': string;
110
+ 'picker.results-matching': string;
111
+ 'picker.no-matching-results': string;
105
112
  };
106
113
  export default _default;
107
114
  //# sourceMappingURL=da.d.ts.map
@@ -68,6 +68,11 @@ declare const _default: {
68
68
  'progress-bar': string;
69
69
  'ai-avatar.label': string;
70
70
  'ai-avatar.thinking': string;
71
+ 'ai-avatar.mode.active': string;
72
+ 'ai-avatar.mode.thinking': string;
73
+ 'ai-avatar.mode.typing': string;
74
+ 'ai-avatar.mode.working': string;
75
+ 'ai-avatar.mode.waiting': string;
71
76
  'table.select-all': string;
72
77
  'table.select-row': string;
73
78
  'code-diff.table-label': string;
@@ -102,6 +107,8 @@ declare const _default: {
102
107
  'profile-picture.remove': string;
103
108
  'profile-picture.unsupported-preview.title': string;
104
109
  'profile-picture.unsupported-preview.description': string;
110
+ 'picker.results-matching': string;
111
+ 'picker.no-matching-results': string;
105
112
  };
106
113
  export default _default;
107
114
  //# sourceMappingURL=de.d.ts.map
@@ -68,6 +68,11 @@ declare const _default: {
68
68
  'progress-bar': string;
69
69
  'ai-avatar.label': string;
70
70
  'ai-avatar.thinking': string;
71
+ 'ai-avatar.mode.active': string;
72
+ 'ai-avatar.mode.thinking': string;
73
+ 'ai-avatar.mode.typing': string;
74
+ 'ai-avatar.mode.working': string;
75
+ 'ai-avatar.mode.waiting': string;
71
76
  'table.select-all': string;
72
77
  'table.select-row': string;
73
78
  'code-diff.table-label': string;
@@ -102,6 +107,8 @@ declare const _default: {
102
107
  'profile-picture.remove': string;
103
108
  'profile-picture.unsupported-preview.title': string;
104
109
  'profile-picture.unsupported-preview.description': string;
110
+ 'picker.results-matching': string;
111
+ 'picker.no-matching-results': string;
105
112
  };
106
113
  export default _default;
107
114
  //# sourceMappingURL=en.d.ts.map
@@ -68,6 +68,11 @@ declare const _default: {
68
68
  'progress-bar': string;
69
69
  'ai-avatar.label': string;
70
70
  'ai-avatar.thinking': string;
71
+ 'ai-avatar.mode.active': string;
72
+ 'ai-avatar.mode.thinking': string;
73
+ 'ai-avatar.mode.typing': string;
74
+ 'ai-avatar.mode.working': string;
75
+ 'ai-avatar.mode.waiting': string;
71
76
  'table.select-all': string;
72
77
  'table.select-row': string;
73
78
  'code-diff.table-label': string;
@@ -102,6 +107,8 @@ declare const _default: {
102
107
  'profile-picture.remove': string;
103
108
  'profile-picture.unsupported-preview.title': string;
104
109
  'profile-picture.unsupported-preview.description': string;
110
+ 'picker.results-matching': string;
111
+ 'picker.no-matching-results': string;
105
112
  };
106
113
  export default _default;
107
114
  //# sourceMappingURL=fi.d.ts.map
@@ -68,6 +68,11 @@ declare const _default: {
68
68
  'progress-bar': string;
69
69
  'ai-avatar.label': string;
70
70
  'ai-avatar.thinking': string;
71
+ 'ai-avatar.mode.active': string;
72
+ 'ai-avatar.mode.thinking': string;
73
+ 'ai-avatar.mode.typing': string;
74
+ 'ai-avatar.mode.working': string;
75
+ 'ai-avatar.mode.waiting': string;
71
76
  'table.select-all': string;
72
77
  'table.select-row': string;
73
78
  'code-diff.table-label': string;
@@ -102,6 +107,8 @@ declare const _default: {
102
107
  'profile-picture.remove': string;
103
108
  'profile-picture.unsupported-preview.title': string;
104
109
  'profile-picture.unsupported-preview.description': string;
110
+ 'picker.results-matching': string;
111
+ 'picker.no-matching-results': string;
105
112
  };
106
113
  export default _default;
107
114
  //# sourceMappingURL=fr.d.ts.map
@@ -68,6 +68,11 @@ declare const _default: {
68
68
  'progress-bar': string;
69
69
  'ai-avatar.label': string;
70
70
  'ai-avatar.thinking': string;
71
+ 'ai-avatar.mode.active': string;
72
+ 'ai-avatar.mode.thinking': string;
73
+ 'ai-avatar.mode.typing': string;
74
+ 'ai-avatar.mode.working': string;
75
+ 'ai-avatar.mode.waiting': string;
71
76
  'table.select-all': string;
72
77
  'table.select-row': string;
73
78
  'code-diff.table-label': string;
@@ -102,6 +107,8 @@ declare const _default: {
102
107
  'profile-picture.remove': string;
103
108
  'profile-picture.unsupported-preview.title': string;
104
109
  'profile-picture.unsupported-preview.description': string;
110
+ 'picker.results-matching': string;
111
+ 'picker.no-matching-results': string;
105
112
  };
106
113
  export default _default;
107
114
  //# sourceMappingURL=nl.d.ts.map
@@ -68,6 +68,11 @@ declare const _default: {
68
68
  'snackbar.dismiss': string;
69
69
  'ai-avatar.label': string;
70
70
  'ai-avatar.thinking': string;
71
+ 'ai-avatar.mode.active': string;
72
+ 'ai-avatar.mode.thinking': string;
73
+ 'ai-avatar.mode.typing': string;
74
+ 'ai-avatar.mode.working': string;
75
+ 'ai-avatar.mode.waiting': string;
71
76
  'table.select-all': string;
72
77
  'table.select-row': string;
73
78
  'code-diff.table-label': string;
@@ -102,6 +107,8 @@ declare const _default: {
102
107
  'profile-picture.remove': string;
103
108
  'profile-picture.unsupported-preview.title': string;
104
109
  'profile-picture.unsupported-preview.description': string;
110
+ 'picker.results-matching': string;
111
+ 'picker.no-matching-results': string;
105
112
  };
106
113
  export default _default;
107
114
  //# sourceMappingURL=no.d.ts.map
@@ -68,6 +68,11 @@ declare const _default: {
68
68
  'progress-bar': string;
69
69
  'ai-avatar.label': string;
70
70
  'ai-avatar.thinking': string;
71
+ 'ai-avatar.mode.active': string;
72
+ 'ai-avatar.mode.thinking': string;
73
+ 'ai-avatar.mode.typing': string;
74
+ 'ai-avatar.mode.working': string;
75
+ 'ai-avatar.mode.waiting': string;
71
76
  'table.select-all': string;
72
77
  'table.select-row': string;
73
78
  'code-diff.table-label': string;
@@ -102,6 +107,8 @@ declare const _default: {
102
107
  'profile-picture.remove': string;
103
108
  'profile-picture.unsupported-preview.title': string;
104
109
  'profile-picture.unsupported-preview.description': string;
110
+ 'picker.results-matching': string;
111
+ 'picker.no-matching-results': string;
105
112
  };
106
113
  export default _default;
107
114
  //# sourceMappingURL=sv.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-elements",
3
- "version": "39.26.0",
3
+ "version": "39.28.0",
4
4
  "description": "Lime Elements",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",
@@ -1 +0,0 @@
1
- import{r as t,h as i,a as r}from"./p-DBTJNfo7.js";import{g as e}from"./p-Dnt5w_Bp.js";class s{constructor(t){this.promises={},this.cache=t}async get(t,i=""){const r=await this.cache,e=this.getUrl(t,i);let s=await r.match(e);return s||(s=await this.fetchData(e,r)),this.getIcon(s)}async fetchData(t,i){let r=this.promises[t];return void 0===r&&(r=i.add(t),this.promises[t]=r),await r,i.match(t)}async getIcon(t){let i=await t.text();if(i=i.replaceAll("#000000","currentColor"),!this.validSvg(i))throw new Error("Invalid SVG");return i}validSvg(t){return"svg"===(new DOMParser).parseFromString(t,"image/svg+xml").documentElement.tagName.toLowerCase()}getUrl(t,i){let r=i||"";return i&&!i.endsWith("/")&&(r=`${i}/`),`${r}assets/icons/${t}.svg`}}class n{constructor(){this.cache={},this.resolveFunctions={}}async get(t,i=""){return this.cache[t]||(this.cache[t]=await this.getIcon(t,i)),this.cache[t]}getIcon(t,i){return new Promise((r=>{this.resolveFunctions[t]||(this.resolveFunctions[t]=[],this.fetchData(t,i)),this.resolveFunctions[t].push(r)}))}async fetchData(t,i){let r=i||"";i&&!i.endsWith("/")&&(r=`${i}/`);const e=await fetch(`${r}assets/icons/${t}.svg`);let s=await e.text();if(s=s.replaceAll("#000000","currentColor"),!this.validSvg(s))throw new Error("Invalid SVG");this.resolvePromises(t,s)}validSvg(t){return"svg"===(new DOMParser).parseFromString(t,"image/svg+xml").documentElement.tagName.toLowerCase()}resolvePromises(t,i){const r=this.resolveFunctions[t];for(const t of r)t(i);this.resolveFunctions[t]=null}}var o=function(){try{const t=caches.open("@limetech/lime-elements/icons");return new s(t)}catch(t){return new n}}();const a=class{constructor(i){t(this,i)}componentDidLoad(){this.loadIcon(this.name)}render(){return i("div",{key:"23b5f2c90c98461f65c0bcdb291f9958e00ac353",class:"container"})}async loadIcon(t){if(void 0===t||""===t)return;const i=await this.loadSvg(t);this.renderSvg(i)}loadSvg(t){return o.get(t,e.iconPath)}renderSvg(t){const i=this.host.shadowRoot.querySelector("div.container");i&&(i.innerHTML=t)}get host(){return r(this)}static get watchers(){return{name:[{loadIcon:0}]}}};a.style=":host{background-color:var(--icon-background-color, transparent);border-radius:50%;display:inline-block;line-height:0;box-sizing:border-box}:host svg{fill:currentColor;height:100%;pointer-events:none;width:100%}:host div{margin:var(--limel-icon-svg-margin, 0)}:host([hidden]){display:none}:host([size=x-small]){height:1rem !important;width:1rem !important}:host([size=small]){height:1.25rem !important;width:1.25rem !important}:host([size=medium]){height:1.5rem !important;width:1.5rem !important}:host([size=large]){height:1.75rem !important;width:1.75rem !important}:host([badge][size=x-small]){height:1.5rem !important;width:1.5rem !important;--limel-icon-svg-margin:0.25rem}:host([badge][size=small]){height:1.75rem !important;width:1.75rem !important;--limel-icon-svg-margin:0.25rem}:host([badge][size=medium]){height:2.5rem !important;width:2.5rem !important;--limel-icon-svg-margin:0.5rem}:host([badge][size=large]){height:2.75rem !important;width:2.75rem !important;--limel-icon-svg-margin:0.5rem}";export{a as limel_icon}
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as o,a as i}from"./p-DBTJNfo7.js";import{m as a,r}from"./p-BgTwPGeH.js";import{d as n,g as s}from"./p-CgNJbSP4.js";const l=class{constructor(t){e(this,t),this.primary=!1,this.outlined=!1,this.disabled=!1,this.loading=!1,this.loadingFailed=!1,this.justLoaded=!1,this.filterClickWhenDisabled=e=>{this.disabled&&e.preventDefault()}}componentWillLoad(){a(this.host)}disconnectedCallback(){r(this.host)}render(){return t(o,{key:"0c409d801aa06800490755411975a2c47fe81331",onClick:this.filterClickWhenDisabled},t("button",{key:"d6f001cc42e8ffcf0986896e546a4f9349415160",class:{loading:this.loading,"just-loaded":this.justLoaded&&!this.loadingFailed,"just-failed":this.justLoaded&&this.loadingFailed,outlined:this.outlined},disabled:this.disabled||this.loading,"aria-busy":this.loading?"true":"false","aria-live":"polite"},this.renderIcon(this.icon),this.renderLabel(),this.renderSpinner(),t("svg",{key:"1a43254ec41997b2218ae39050605402685a66ed",viewBox:"0 0 30 30"},this.renderLoadingIcons())))}loadingWatcher(e,t){this.hasFinishedLoading(e,t)?this.handleLoadingFinished():e&&this.handleLoadingStarted()}hasFinishedLoading(e,t){return t&&!e}handleLoadingFinished(){this.justLoaded=!0,this.justLoadedTimeout=window.setTimeout((()=>{this.justLoaded=!1}),2e3)}handleLoadingStarted(){this.justLoaded=!1,window.clearTimeout(this.justLoadedTimeout)}renderLoadingIcons(){return this.loadingFailed?[t("line",{x1:"9",y1:"9",x2:"21",y2:"21"}),t("line",{x1:"21",y1:"9",x2:"9",y2:"21"})]:[t("line",{x1:"8",y1:"14",x2:"15",y2:"20"}),t("line",{x1:"23",y1:"9",x2:"14",y2:"20"})]}renderIcon(e){const o=s(e);if(!o)return;const i=n(e);let a;return this.label||i||console.warn("⚠️ Accessibility warning: `limel-button` has no `label` and its `icon` has no `title`. This creates an inaccessible button for screen reader users. Please add either a `label`, a `title` to the `icon`, or use a `limel-tooltip`. See https://lundalogik.github.io/lime-elements/versions/latest/#/component/limel-button/ for more information."),"object"==typeof e&&(a=e.color),t("limel-icon",Object.assign({},{role:"presentation",name:o,"aria-label":i,"aria-hidden":i?null:"true",style:{color:a}}))}renderLabel(){if(this.label)return t("span",{class:"label"},this.label)}renderSpinner(){if(this.loading)return t("limel-spinner",{limeBranded:!1})}static get delegatesFocus(){return!0}get host(){return i(this)}static get watchers(){return{loading:[{loadingWatcher:0}]}}};l.style='@charset "UTF-8";@keyframes reduced-presence{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.7)}}:host(.has-reduced-presence) button[disabled]:not(.loading):not(.just-loaded){animation:reduced-presence 0.3s ease forwards;transition:padding 0.3s ease, min-width 0.3s ease;transition-delay:0.3s;padding:0;min-width:0}:host(.has-reduced-presence) button[disabled]:not(.loading):not(.just-loaded) .label{transition:font-size 0.8s ease;transition-delay:0.3s;font-size:0;opacity:0}:host(.has-reduced-presence) button[disabled]:not(.loading):not(.just-loaded) limel-icon,:host(.has-reduced-presence) button[disabled]:not(.loading):not(.just-loaded) limel-spinner,:host(.has-reduced-presence) button[disabled]:not(.loading):not(.just-loaded) svg,:host(.has-reduced-presence) button[disabled]:not(.loading):not(.just-loaded) .icon{transition:all 0.3s ease;transition-delay:0.3s;opacity:0;width:0;height:0}:host{display:inline-block}:host([hidden]){display:none}:host([aria-expanded=true]) button,:host([aria-expanded]:not([aria-expanded=false])) button{box-shadow:var(--button-shadow-inset-pressed) !important}button.mdc-button{font-family:inherit}button{--_primary-color:var( --lime-primary-color, var(--limel-theme-primary-color) );display:flex;align-items:center;justify-content:center;gap:0.125rem;border:none;border-radius:0.4rem;padding-top:0;padding-right:var(--button-padding-right, 0.5rem);padding-bottom:0;padding-left:var(--button-padding-left, 0.5rem);min-height:2.25rem;width:100%}button:not(:disabled){transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal)}button:not(:disabled):hover,button:not(:disabled):focus,button:not(:disabled):focus-visible{will-change:color, background-color, box-shadow, transform}button:not(:disabled):hover,button:not(:disabled):focus-visible{transform:translate3d(0, -0.04rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}button:not(:disabled):active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button:not(:disabled):hover,button:not(:disabled):active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button:not(:disabled):focus{outline:none}button:not(:disabled):focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button:disabled{cursor:not-allowed}:host(limel-button[primary]) button:not(:disabled){color:var(--lime-on-primary-color, var(--limel-theme-on-primary-color));background-color:var(--_primary-color)}:host(limel-button[primary]) button:disabled{background-color:color-mix(in srgb, var(--_primary-color), transparent 80%)}:host(limel-button:not([primary])) button:not(:disabled){color:var(--_primary-color)}:host(limel-button:not([primary])) button:disabled.outlined{color:color-mix(in srgb, var(--_primary-color), transparent 60%);border-color:color-mix(in srgb, var(--_primary-color), transparent 70%)}:host(limel-button:not([primary])) button:disabled:not(.outlined){color:rgba(var(--contrast-1100), 0.37);background-color:rgba(var(--contrast-900), 0.1)}.label{font-size:var(--limel-theme-default-font-size);font-weight:600;letter-spacing:0.03125rem;padding:0 0.25rem}limel-spinner{position:absolute}limel-icon{width:1.25rem;flex-shrink:0;vertical-align:top}svg{height:1.875rem;opacity:0;pointer-events:none;position:absolute;width:1.875rem}svg line{stroke:rgb(var(--contrast-600));stroke-width:2}limel-icon,.label,limel-spinner,svg{transition:opacity 300ms ease-in-out}.loading limel-icon,.loading .label{opacity:0}.loading limel-spinner{opacity:1}.just-loaded limel-icon,.just-loaded .label,.just-failed limel-icon,.just-failed .label{opacity:0}.just-loaded svg,.just-failed svg{opacity:1}.just-failed{background-color:var(--limel-theme-error-color) !important;animation:shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both}.outlined{border:1px solid;border-color:var(--_primary-color)}@keyframes shake{10%,90%{transform:translate3d(-0.0625rem, 0, 0)}20%,80%{transform:translate3d(0.125rem, 0, 0)}30%,50%,70%{transform:translate3d(-0.1875rem, 0, 0)}40%,60%{transform:translate3d(0.1875rem, 0, 0)}}';export{l as limel_button}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as s}from"./p-DBTJNfo7.js";const i=class{constructor(s){t(this,s),this.change=e(this,"change"),this.disabled=!1,this.maxLinesSecondaryText=3,this.handleChange=t=>{t.stopPropagation(),this.disabled||this.change.emit(t.detail)}}render(){return s("limel-list",{key:"0a68f90122f1e246d966e3b747f0e13bed2c901b",items:this.createItems(),type:"radio",badgeIcons:this.badgeIcons,maxLinesSecondaryText:this.maxLinesSecondaryText,onChange:this.handleChange})}createItems(){return this.items.map((t=>{var e;return"separator"in t?t:Object.assign(Object.assign({},t),{selected:t.value===(null===(e=this.selectedItem)||void 0===e?void 0:e.value),disabled:this.disabled||t.disabled})}))}};export{i as limel_radio_button_group}
@@ -1 +0,0 @@
1
- import{r as a,h as r,H as e}from"./p-DBTJNfo7.js";import{t}from"./p-Dv3YcsA7.js";const i=class{constructor(r){a(this,r),this.isThinking=!1,this.language=document.documentElement.lang,this.getTranslation=a=>t.get(a,this.language)}render(){return r(e,{key:"8b04584ecdd86d9768666efb7299c0985bf9948f",role:"img","aria-label":this.getHostAriaLabel()},this.renderCircle("red"),this.renderCircle("green"),this.renderCircle("blue"),this.renderCircle("orange"),r("div",{key:"a4434ecc24403ee1bb04b82acd9a41c85da139d0",class:"core"}),r("div",{key:"788fec45e563e226d27fbf30b828dd5bc2d42db6",class:"orbitals"}))}getHostAriaLabel(){let a="";return this.isThinking&&(a=` (${this.getTranslation("ai-avatar.thinking")})`),`${this.getTranslation("ai-avatar.label")}${a}`}renderCircle(a){return r("svg",{class:a,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",role:"presentation"},r("circle",{cx:"50",cy:"50",r:"40",fill:"none",stroke:"currentColor","stroke-width":"6"}))}};i.style=':host(limel-ai-avatar){display:flex;justify-content:center;align-self:center;position:relative;aspect-ratio:1;max-width:10rem;max-height:8rem;min-width:1.75rem;min-height:1.75rem;border-radius:0.5rem}*{box-sizing:border-box}:host(limel-ai-avatar[is-thinking]:not([is-thinking=false])){--ai-avatar-animation-play-state:running;--ai-avatar-orbitals-opacity:0.6;--ai-avatar-orbitals-animation-play-state:running}.core,.orbitals{position:absolute;inset:0;margin:auto;display:flex;align-items:center;justify-content:center;aspect-ratio:1;border-radius:50%}.core{opacity:0.3;width:70%;animation:breathe 3s ease infinite var(--ai-avatar-animation-play-state, paused);background-color:rgb(var(--color-glaucous-darker), 0.6);mix-blend-mode:var(--ai-avatar-core-blend-mode, plus-lighter)}.orbitals{mix-blend-mode:var(--ai-avatar-core-blend-mode, plus-lighter);width:clamp(0.375rem, 20%, 3.5rem);animation:rotate 5s linear infinite var(--ai-avatar-orbitals-animation-play-state, paused);transition:opacity 0.2s ease;opacity:var(--ai-avatar-orbitals-opacity, 0)}.orbitals:after,.orbitals:before{content:"";display:block;position:absolute;inset:0;margin:auto;width:clamp(0.125rem, 50%, 0.75rem);aspect-ratio:1;border-radius:50%;background-color:rgb(var(--color-glaucous-lighter))}.orbitals:before{animation:orbit 1s linear infinite var(--ai-avatar-orbitals-animation-play-state, paused);opacity:0.6;transform-origin:-220% 0;margin-right:-70%}.orbitals:after{animation:orbit 2s linear infinite var(--ai-avatar-orbitals-animation-play-state, paused);opacity:0.8;scale:0.7;transform-origin:0% -250%;margin-bottom:-70%}@keyframes orbit{0%{transform:rotateZ(0deg) translate3d(0, 0, 0)}100%{transform:rotateZ(360deg) translate3d(0, 0, 0)}}@keyframes breathe{1%,100%{transform:scale(1)}50%{transform:scale(0.86)}}@keyframes rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}svg{position:absolute;margin:auto;mix-blend-mode:var(--ai-avatar-rings-blend-mode, screen);animation-iteration-count:infinite;animation-play-state:var(--ai-avatar-animation-play-state, paused)}.red{rotate:20deg;color:var(--ai-avatar-color-one, rgb(var(--color-red-default)));animation-name:rotate, scale-circle-one;animation-duration:5s}.green{rotate:36deg;color:var(--ai-avatar-color-two, rgb(var(--color-green-default)));animation-name:rotate, scale-circle-two;animation-duration:5.5s}.blue{rotate:100deg;color:var(--ai-avatar-color-three, rgb(var(--color-blue-default)));animation-name:rotate, scale-circle-three;animation-duration:4.5s}.orange{rotate:165deg;color:var(--ai-avatar-color-four, rgb(var(--color-orange-default)));animation-name:rotate, scale-circle-four;animation-duration:6.5s}@keyframes scale-circle-one{0%,100%{transform:scaleX(1) scaleY(0.8)}25%,75%{transform:scaleX(0.8) scaleY(0.9)}50%{transform:scaleX(1) scaleY(0.7)}}@keyframes scale-circle-two{0%,100%{transform:scaleX(0.8) scaleY(1)}25%,75%{transform:scaleX(0.9) scaleY(0.75)}50%{transform:scaleX(0.72) scaleY(1)}}@keyframes scale-circle-three{0%,100%{transform:scaleX(0.9) scaleY(0.8)}50%{transform:scaleX(0.75) scaleY(0.9)}}@keyframes scale-circle-four{0%,100%{transform:scaleX(0.8) scaleY(0.95)}25%,75%{transform:scaleX(0.95) scaleY(0.75)}50%{transform:scaleX(0.75) scaleY(0.95)}}';export{i as limel_ai_avatar}
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as t}from"./p-DBTJNfo7.js";import{t as e}from"./p-Dv3YcsA7.js";const l={note:"info",important:"exclamation_mark",tip:"idea",caution:"high_priority",warning:"error"};function a(o,r="note"){var t;return o||(null!==(t=l[r])&&void 0!==t?t:l.note)}const i=class{constructor(r){o(this,r),this.type="note",this.language="en"}render(){return r(t,{key:"9af3d9dc95f93714f7f334695d64f7f02b8b52e2"},r("div",{key:"014e90ead94b3c88f33dcb40de1a56d6b85c4c9b",class:"side",role:"presentation"},r("limel-icon",{key:"042773fb922877be2b6ef77c276a4b24c48517e2",name:a(this.icon,this.type)})),r("div",{key:"b211a6f7eb0d2680ef96adbbb5b4646c44e8d147",class:"main"},r("h1",{key:"7e4f4d05a54cc719b51144a21b28cfc1b1024a52",class:"heading"},function(o,r="note",t="en"){if(o)return o;const l=`callout.${r}`;try{return e.get(l,t)}catch(o){return e.get(l,"en")}}(this.heading,this.type,this.language)),r("slot",{key:"d1f333b26662b75cd403e3048229e6926e4279ed"})))}};i.style='*,*::before,*::after{box-sizing:border-box;min-height:0;min-width:0}:host(limel-callout){box-sizing:border-box;display:flex;border-radius:0.5rem;overflow:hidden;--limel-callout-tint-color:var( --callout-color, rgb(var(--color-contrast-100)) );color:var(--callout-text-color, rgb(var(--contrast-1100)));font-size:var(--limel-theme-default-font-size)}:host([type=note]){--limel-callout-tint-color:var( --callout-color, rgb(var(--color-gray-default)) )}:host([type=important]){--limel-callout-tint-color:var( --callout-color, rgb(var(--color-sky-default)) )}:host([type=tip]){--limel-callout-tint-color:var( --callout-color, rgb(var(--color-green-default)) )}:host([type=caution]){--limel-callout-tint-color:var( --callout-color, rgb(var(--color-orange-light)) )}:host([type=warning]){--limel-callout-tint-color:var( --callout-color, rgb(var(--color-red-dark)) )}.side{padding:0.25rem;position:relative}.side:before{content:"";position:absolute;inset:0;opacity:0.2;background-color:var(--limel-callout-tint-color)}.side limel-icon{width:1.5rem;color:var(--limel-callout-tint-color);margin-top:0.0625rem}.main{display:flex;flex:1;flex-direction:column;gap:0.5rem;padding:0.25rem 0.5rem 0.5rem 0.5rem;background-color:var(--callout-background-color, rgb(var(--contrast-300)))}.heading{margin:0;font-size:1rem;font-weight:600}';export{i as limel_callout}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,a as h}from"./p-DBTJNfo7.js";import{i as e}from"./p-B9Ofc5RB.js";import{T as n,E as o,a as r,A as l,b as a}from"./p-rI0IeKpx.js";import{c as d}from"./p-JbKhhoXs.js";import{a as c,g as p}from"./p-CgNJbSP4.js";import{d as u}from"./p-BviYUVSD.js";import"./p-BJQylLSL.js";import"./p-D6dCQvwl.js";import"./p-BOEi1C7r.js";import"./p-oiMYqRQ0.js";const m=class{constructor(s){t(this,s),this.change=i(this,"change"),this.interact=i(this,"interact"),this.action=i(this,"action"),this.disabled=!1,this.readonly=!1,this.required=!1,this.invalid=!1,this.allItems=[],this.multiple=!1,this.delimiter=null,this.actions=[],this.actionPosition="bottom",this.actionScrollBehavior="sticky",this.badgeIcons=!1,this.textValue="",this.loading=!1,this.chips=[],this.chipSetEditMode=!1,this.getValueId=t=>{const i=t.value;return i&&"object"==typeof i?i.id:i},this.createChips=t=>t?this.multiple?t.map(this.createChip):[this.createChip(t)]:[],this.createChip=t=>{const i=p(t.icon),s=c(t.icon,t.iconColor);return{id:`${this.getValueId(t)}`,text:t.text,removable:!1!==t.removable,icon:i?{name:i,color:s}:void 0,image:t.image,value:t,menuItems:t.actions}},this.search=async t=>{const i=setTimeout((()=>{this.loading=!0})),s=this.searcher||this.defaultSearcher,h=await s(this.textValue);clearTimeout(i),this.handleSearchResult(t,h)},this.defaultSearcher=async t=>""===t?this.allItems.slice(0,20):this.allItems.filter((i=>{let s=i.text.toLowerCase();return i.secondaryText&&(s=s+" "+i.secondaryText.toLowerCase()),s.includes(t.toLowerCase())})).slice(0,20),this.handleTextInput=this.handleTextInput.bind(this),this.handleInputKeyDown=this.handleInputKeyDown.bind(this),this.handleDropdownKeyDown=this.handleDropdownKeyDown.bind(this),this.handleInputFieldFocus=this.handleInputFieldFocus.bind(this),this.handleChange=this.handleChange.bind(this),this.handleInteract=this.handleInteract.bind(this),this.handleListChange=this.handleListChange.bind(this),this.handleActionListChange=this.handleActionListChange.bind(this),this.handleStopEditAndBlur=this.handleStopEditAndBlur.bind(this),this.handleCloseMenu=this.handleCloseMenu.bind(this),this.onListKeyDown=this.onListKeyDown.bind(this),this.portalId=d(),this.debouncedSearch=u(this.search,300)}componentWillLoad(){this.chips=this.createChips(this.value)}componentDidLoad(){this.chipSet=this.host.shadowRoot.querySelector("limel-chip-set"),this.updateTabIndex()}disconnectedCallback(){this.debouncedSearch.cancel()}onDisabledChange(){this.updateTabIndex()}updateTabIndex(){this.host.setAttribute("tabindex",this.disabled||this.readonly?"-1":"0")}async componentWillUpdate(){this.chipSetEditMode=!1,this.chipSet&&(this.chipSetEditMode=await this.chipSet.getEditMode())}render(){const t={};return this.multiple||(t.maxItems=1),[s("limel-chip-set",Object.assign({key:"d3490b3bcba25c3603a13881b9ce4708f459dc09",type:"input",inputType:"search",label:this.label,helperText:this.helperText,leadingIcon:this.leadingIcon,value:this.chips,disabled:this.disabled,invalid:this.invalid,delimiter:this.renderDelimiter(),readonly:this.readonly,required:this.required,searchLabel:this.searchLabel,onInput:this.handleTextInput,onKeyDown:this.handleInputKeyDown,onChange:this.handleChange,onInteract:this.handleInteract,onStartEdit:this.handleInputFieldFocus,onStopEdit:this.handleStopEditAndBlur,emptyInputOnBlur:!1,clearAllButton:this.multiple&&!this.chipSetEditMode},t)),this.renderDropdown()]}onChangeValue(){this.chips=this.createChips(this.value)}renderDelimiter(){return this.multiple?this.delimiter:null}renderDropdown(){const t=this.getDropdownContent(),i=[];if(this.shouldShowDropDownContent()){const s=this.getActionContent();"top"===this.actionPosition&&i.push(s),t&&i.push(t),"bottom"===this.actionPosition&&i.push(s)}return this.renderPortal(i)}getActionContent(){var t,i;return 0===(null!==(i=null===(t=this.actions)||void 0===t?void 0:t.length)&&void 0!==i?i:0)?null:[s("limel-list",{class:{"static-actions-list":!0,"is-on-top":"top"===this.actionPosition,"is-at-bottom":"bottom"===this.actionPosition,"has-position-sticky":"sticky"===this.actionScrollBehavior},badgeIcons:!0,type:"selectable",onChange:this.handleActionListChange,items:this.actions.map(this.removeUnusedPropertiesOnAction)})]}removeUnusedPropertiesOnAction(t){return Object.assign(Object.assign({},t),{actions:[]})}shouldShowDropDownContent(){return!this.isFull()&&!!this.chipSetEditMode}getDropdownContent(){var t;if(this.shouldShowDropDownContent())return this.loading?this.renderSpinner():(null===(t=this.items)||void 0===t?void 0:t.length)?this.renderListResult():this.renderEmptyMessage()}isFull(){return!this.multiple&&!!this.value}renderSpinner(){return s("div",{style:{width:"100%",display:"flex","align-items":"center","justify-content":"center",padding:"1rem 0"}},s("limel-spinner",{limeBranded:!1}))}renderEmptyMessage(){if(this.emptyResultMessage)return s("p",{style:{color:"rgb(var(--contrast-1100))","text-align":"center",margin:"0.5rem 1rem"}},this.emptyResultMessage)}renderListResult(){return s("limel-list",{badgeIcons:this.badgeIcons,onChange:this.handleListChange,onKeyDown:this.onListKeyDown,type:"selectable",items:this.items})}onListKeyDown(t){[n,o,r].includes(t.key)&&this.chipSet.setFocus()}renderPortal(t=[]){const i=getComputedStyle(this.host).getPropertyValue("--dropdown-z-index");return s("limel-portal",{visible:t.length>0,containerId:this.portalId,inheritParentWidth:!0,containerStyle:{"z-index":i}},s("limel-menu-surface",{open:t.length>0,allowClicksElement:this.host,style:{"--menu-surface-width":"100%","max-height":"inherit",display:"flex"},onDismiss:this.handleCloseMenu},t))}handleStopEditAndBlur(){const t=this.host.shadowRoot.activeElement||document.activeElement,i=document.querySelector(`#${this.portalId}`);e(t,this.host)||e(t,i)||this.clearInputField()}async handleTextInput(t){t.stopPropagation();const i=t.detail;this.textValue=i,this.debouncedSearch(i),""===i&&this.debouncedSearch.flush()}handleListChange(t){var i,s;if(t.stopPropagation(),!this.value||this.value!==t.detail){let s=t.detail;this.multiple&&(s=[...null!==(i=this.value)&&void 0!==i?i:[],t.detail]),this.change.emit(s),this.items=[]}this.multiple&&(this.textValue="",null===(s=this.chipSet)||void 0===s||s.setFocus(!0))}handleActionListChange(t){t.stopPropagation(),t.detail&&(this.action.emit(t.detail.value),this.items=[])}handleInputFieldFocus(){this.debouncedSearch(this.textValue)}handleChange(t){t.stopPropagation(),this.textValue="";let i=null;this.multiple&&(i=t.detail.map((t=>this.value.find((i=>`${this.getValueId(i)}`===t.id))))),this.change.emit(i)}handleInteract(t){t.stopPropagation(),this.interact.emit(t.detail?t.detail.value:t.detail)}handleInputKeyDown(t){const i=t.key===n&&!t.altKey&&!t.metaKey&&!t.shiftKey,s=t.key===l,h=t.key===a;if(!i&&!s&&!h)return;const e=document.querySelector(` #${this.portalId} limel-list`);if(e){if(i||h){const i=e.shadowRoot.querySelector(".mdc-deprecated-list-item");if(!i)return;return t.preventDefault(),void i.focus()}if(s){const i=[...e.shadowRoot.querySelectorAll(".mdc-deprecated-list-item")].at(-1);if(!i)return;t.preventDefault(),i.focus()}}}handleDropdownKeyDown(t){t.key===o&&(t.preventDefault(),this.textValue="",this.chipSet.setFocus(!0))}handleSearchResult(t,i){var s;if(t===this.textValue){if(this.items=i,this.multiple){const t=null!==(s=this.value)&&void 0!==s?s:[];this.items=i.filter((i=>!t.includes(i)))}this.loading=!1}}handleCloseMenu(){this.items.length>0||this.clearInputField()}clearInputField(){this.chipSet.emptyInput(),this.textValue="",this.handleSearchResult("",[]),this.debouncedSearch.cancel()}static get delegatesFocus(){return!0}get host(){return h(this)}static get watchers(){return{disabled:[{onDisabledChange:0}],value:[{onChangeValue:0}]}}};m.style=":host{position:relative;display:block}:host([hidden]){display:none}";export{m as limel_picker}