@aceshooting/lyra-ui 31.2.1 → 32.1.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 (3244) hide show
  1. package/CHANGELOG.md +1582 -476
  2. package/README.md +31 -10
  3. package/design-tokens.json +1 -1
  4. package/dist/ai/adapters/a2ui.d.ts +1 -3
  5. package/dist/ai/adapters/a2ui.js +1 -1
  6. package/dist/ai/runtime.js +1 -1
  7. package/dist/ai/snapshot.js +1 -1
  8. package/dist/ai/types.d.ts +1 -1
  9. package/dist/all.d.ts +1 -1
  10. package/dist/all.js +1 -1
  11. package/dist/autoloader.d.ts +10 -0
  12. package/dist/autoloader.js +1 -1
  13. package/dist/cli/init-agents.mjs +13 -13
  14. package/dist/cli/lyra-ui.mjs +3 -3
  15. package/dist/cli/migrate-wa.mjs +62 -12
  16. package/dist/cli/migration-contract.json.gz +0 -0
  17. package/dist/components/agent-tools/activity-feed/activity-feed.class.d.ts +10 -3
  18. package/dist/components/agent-tools/activity-feed/activity-feed.class.js +7 -32
  19. package/dist/components/agent-tools/activity-feed/activity-feed.styles.js +1 -1
  20. package/dist/components/agent-tools/agent-action-button.styles.js +1 -1
  21. package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.class.d.ts +11 -6
  22. package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.class.js +6 -11
  23. package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.styles.js +1 -1
  24. package/dist/components/agent-tools/agent-question/agent-question-children.js +1 -0
  25. package/dist/components/agent-tools/agent-question/agent-question.class.d.ts +4 -3
  26. package/dist/components/agent-tools/agent-question/agent-question.class.js +6 -8
  27. package/dist/components/agent-tools/agent-question/agent-question.styles.js +1 -1
  28. package/dist/components/agent-tools/agent-run/agent-run.class.d.ts +2 -2
  29. package/dist/components/agent-tools/agent-run/agent-run.class.js +8 -18
  30. package/dist/components/agent-tools/agent-run/agent-run.styles.js +1 -1
  31. package/dist/components/agent-tools/agent-trace/agent-trace.class.d.ts +8 -2
  32. package/dist/components/agent-tools/agent-trace/agent-trace.class.js +5 -31
  33. package/dist/components/agent-tools/agent-trace/agent-trace.styles.js +1 -1
  34. package/dist/components/agent-tools/approval-action-buttons.js +1 -18
  35. package/dist/components/agent-tools/approval-queue/approval-queue.class.d.ts +19 -9
  36. package/dist/components/agent-tools/approval-queue/approval-queue.class.js +9 -27
  37. package/dist/components/agent-tools/approval-queue/approval-queue.styles.js +1 -1
  38. package/dist/components/agent-tools/artifact-panel/artifact-panel.class.d.ts +13 -9
  39. package/dist/components/agent-tools/artifact-panel/artifact-panel.class.js +13 -47
  40. package/dist/components/agent-tools/artifact-panel/artifact-panel.styles.js +1 -1
  41. package/dist/components/agent-tools/background-runs/background-runs.class.d.ts +22 -7
  42. package/dist/components/agent-tools/background-runs/background-runs.class.js +9 -23
  43. package/dist/components/agent-tools/background-runs/background-runs.styles.js +1 -1
  44. package/dist/components/agent-tools/browser-frame/browser-frame.class.d.ts +9 -2
  45. package/dist/components/agent-tools/browser-frame/browser-frame.class.js +8 -22
  46. package/dist/components/agent-tools/browser-frame/browser-frame.styles.js +1 -1
  47. package/dist/components/agent-tools/budget-meter/budget-meter.class.d.ts +13 -3
  48. package/dist/components/agent-tools/budget-meter/budget-meter.class.js +6 -14
  49. package/dist/components/agent-tools/budget-meter/budget-meter.styles.js +1 -1
  50. package/dist/components/agent-tools/change-review/change-review.class.d.ts +8 -3
  51. package/dist/components/agent-tools/change-review/change-review.class.js +8 -11
  52. package/dist/components/agent-tools/change-review/change-review.styles.js +1 -1
  53. package/dist/components/agent-tools/commit-card/commit-card.class.d.ts +13 -6
  54. package/dist/components/agent-tools/commit-card/commit-card.class.js +15 -42
  55. package/dist/components/agent-tools/commit-card/commit-card.styles.js +1 -1
  56. package/dist/components/agent-tools/compare-panel/compare-panel.class.d.ts +18 -3
  57. package/dist/components/agent-tools/compare-panel/compare-panel.class.js +6 -17
  58. package/dist/components/agent-tools/compare-panel/compare-panel.styles.js +1 -1
  59. package/dist/components/agent-tools/confirm-bar/confirm-bar.class.d.ts +5 -3
  60. package/dist/components/agent-tools/confirm-bar/confirm-bar.class.js +7 -40
  61. package/dist/components/agent-tools/confirm-bar/confirm-bar.styles.js +1 -1
  62. package/dist/components/agent-tools/connector-manager/connector-manager.class.d.ts +22 -4
  63. package/dist/components/agent-tools/connector-manager/connector-manager.class.js +6 -15
  64. package/dist/components/agent-tools/connector-manager/connector-manager.styles.js +1 -1
  65. package/dist/components/agent-tools/context-inspector/context-inspector.class.d.ts +3 -3
  66. package/dist/components/agent-tools/context-inspector/context-inspector.class.js +10 -21
  67. package/dist/components/agent-tools/eval-dataset/eval-dataset.class.d.ts +10 -5
  68. package/dist/components/agent-tools/eval-dataset/eval-dataset.class.js +10 -109
  69. package/dist/components/agent-tools/eval-dataset/eval-dataset.styles.js +1 -1
  70. package/dist/components/agent-tools/eval-result/eval-result-register.d.ts +1 -1
  71. package/dist/components/agent-tools/eval-result/eval-result-register.js +1 -1
  72. package/dist/components/agent-tools/eval-result/eval-result-source.js +1 -1
  73. package/dist/components/agent-tools/eval-result/eval-result.class.d.ts +2 -2
  74. package/dist/components/agent-tools/eval-result/eval-result.class.js +4 -65
  75. package/dist/components/agent-tools/eval-result/eval-result.styles.js +1 -1
  76. package/dist/components/agent-tools/evaluation-run/evaluation-run.class.d.ts +10 -4
  77. package/dist/components/agent-tools/evaluation-run/evaluation-run.class.js +11 -62
  78. package/dist/components/agent-tools/evaluation-run/evaluation-run.styles.js +1 -1
  79. package/dist/components/agent-tools/index.d.ts +1 -1
  80. package/dist/components/agent-tools/index.js +1 -1
  81. package/dist/components/agent-tools/mcp-app/mcp-app-protocol.js +1 -1
  82. package/dist/components/agent-tools/mcp-app/mcp-app.class.d.ts +1 -0
  83. package/dist/components/agent-tools/mcp-app/mcp-app.class.js +2 -2
  84. package/dist/components/agent-tools/mcp-app/mcp-app.styles.js +1 -1
  85. package/dist/components/agent-tools/permission-grant/permission-grant.class.d.ts +18 -3
  86. package/dist/components/agent-tools/permission-grant/permission-grant.class.js +6 -15
  87. package/dist/components/agent-tools/permission-grant/permission-grant.styles.js +1 -1
  88. package/dist/components/agent-tools/permission-rules/permission-rules.class.d.ts +17 -5
  89. package/dist/components/agent-tools/permission-rules/permission-rules.class.js +8 -15
  90. package/dist/components/agent-tools/permission-rules/permission-rules.styles.js +1 -1
  91. package/dist/components/agent-tools/policy-summary/policy-summary.class.d.ts +1 -3
  92. package/dist/components/agent-tools/policy-summary/policy-summary.class.js +4 -15
  93. package/dist/components/agent-tools/prompt-studio/prompt-studio.class.d.ts +17 -8
  94. package/dist/components/agent-tools/prompt-studio/prompt-studio.class.js +14 -86
  95. package/dist/components/agent-tools/prompt-studio/prompt-studio.styles.js +1 -1
  96. package/dist/components/agent-tools/result-card/result-card.class.d.ts +1 -1
  97. package/dist/components/agent-tools/result-card/result-card.class.js +2 -7
  98. package/dist/components/agent-tools/result-card/result-card.styles.js +1 -1
  99. package/dist/components/agent-tools/result-card/result-field.class.d.ts +1 -1
  100. package/dist/components/agent-tools/result-card/result-field.class.js +3 -5
  101. package/dist/components/agent-tools/result-card/result-field.styles.js +1 -1
  102. package/dist/components/agent-tools/schema-viewer/schema-viewer.class.d.ts +14 -7
  103. package/dist/components/agent-tools/schema-viewer/schema-viewer.class.js +16 -27
  104. package/dist/components/agent-tools/schema-viewer/schema-viewer.styles.js +1 -1
  105. package/dist/components/agent-tools/span-waterfall/span-waterfall.class.d.ts +21 -11
  106. package/dist/components/agent-tools/span-waterfall/span-waterfall.class.js +10 -33
  107. package/dist/components/agent-tools/span-waterfall/span-waterfall.styles.js +1 -1
  108. package/dist/components/agent-tools/stack-trace/stack-trace-parse.js +2 -2
  109. package/dist/components/agent-tools/stack-trace/stack-trace.class.d.ts +12 -4
  110. package/dist/components/agent-tools/stack-trace/stack-trace.class.js +8 -18
  111. package/dist/components/agent-tools/stack-trace/stack-trace.styles.js +1 -1
  112. package/dist/components/agent-tools/subagent-panel/subagent-panel.class.d.ts +13 -7
  113. package/dist/components/agent-tools/subagent-panel/subagent-panel.class.js +10 -53
  114. package/dist/components/agent-tools/subagent-panel/subagent-panel.styles.js +1 -1
  115. package/dist/components/agent-tools/task-list/task-list.class.d.ts +9 -5
  116. package/dist/components/agent-tools/task-list/task-list.class.js +12 -44
  117. package/dist/components/agent-tools/task-list/task-list.styles.js +1 -1
  118. package/dist/components/agent-tools/terminal/terminal.class.d.ts +47 -17
  119. package/dist/components/agent-tools/terminal/terminal.class.js +13 -40
  120. package/dist/components/agent-tools/terminal/terminal.styles.js +1 -1
  121. package/dist/components/agent-tools/test-results/test-results.class.d.ts +12 -7
  122. package/dist/components/agent-tools/test-results/test-results.class.js +19 -47
  123. package/dist/components/agent-tools/test-results/test-results.styles.js +1 -1
  124. package/dist/components/agent-tools/thinking-panel/thinking-panel.class.d.ts +12 -6
  125. package/dist/components/agent-tools/thinking-panel/thinking-panel.class.js +5 -20
  126. package/dist/components/agent-tools/thinking-panel/thinking-panel.styles.js +1 -1
  127. package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.class.d.ts +16 -6
  128. package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.class.js +9 -41
  129. package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.styles.js +1 -1
  130. package/dist/components/agent-tools/tool-call-block/tool-call-block.class.d.ts +12 -5
  131. package/dist/components/agent-tools/tool-call-block/tool-call-block.class.js +6 -23
  132. package/dist/components/agent-tools/tool-call-block/tool-call-block.styles.js +1 -1
  133. package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.d.ts +22 -5
  134. package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.js +9 -27
  135. package/dist/components/agent-tools/tool-call-chip/tool-call-chip.styles.js +1 -1
  136. package/dist/components/agent-tools/tool-param-form/tool-param-constraints.js +1 -1
  137. package/dist/components/agent-tools/tool-param-form/tool-param-form.class.d.ts +11 -9
  138. package/dist/components/agent-tools/tool-param-form/tool-param-form.class.js +6 -95
  139. package/dist/components/agent-tools/tool-param-form/tool-param-form.styles.js +1 -1
  140. package/dist/components/agent-tools/tool-param-form/tool-param-snapshot.js +1 -1
  141. package/dist/components/agent-tools/tool-redaction.js +1 -1
  142. package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.class.d.ts +20 -5
  143. package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.class.js +9 -24
  144. package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.styles.js +1 -1
  145. package/dist/components/agent-tools/tool-result-view/registry.d.ts +6 -0
  146. package/dist/components/agent-tools/tool-result-view/tool-result-view.class.d.ts +3 -2
  147. package/dist/components/agent-tools/tool-result-view/tool-result-view.class.js +2 -2
  148. package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.class.d.ts +34 -15
  149. package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.class.js +16 -68
  150. package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.styles.js +1 -1
  151. package/dist/components/agent-tools/tool-status.js +1 -18
  152. package/dist/components/agent-tools/tool-status.styles.js +1 -1
  153. package/dist/components/agent-tools/tool-timeline/tool-timeline.class.d.ts +22 -7
  154. package/dist/components/agent-tools/tool-timeline/tool-timeline.class.js +15 -56
  155. package/dist/components/agent-tools/trace-tree/trace-tree.class.d.ts +19 -11
  156. package/dist/components/agent-tools/trace-tree/trace-tree.class.js +13 -53
  157. package/dist/components/agent-tools/trace-tree/trace-tree.styles.js +1 -1
  158. package/dist/components/charts/chart/bar-chart.class.d.ts +3 -1
  159. package/dist/components/charts/chart/box-plot-loader.d.ts +1 -1
  160. package/dist/components/charts/chart/box-plot-loader.js +1 -1
  161. package/dist/components/charts/chart/box-plot.class.d.ts +29 -6
  162. package/dist/components/charts/chart/box-plot.class.js +13 -45
  163. package/dist/components/charts/chart/box-plot.styles.js +1 -1
  164. package/dist/components/charts/chart/bubble-chart.class.d.ts +3 -1
  165. package/dist/components/charts/chart/chart-band.js +1 -0
  166. package/dist/components/charts/chart/chart-bidi.js +1 -1
  167. package/dist/components/charts/chart/chart-colors.d.ts +1 -2
  168. package/dist/components/charts/chart/chart-core-loader.js +1 -1
  169. package/dist/components/charts/chart/chart-data-table.js +1 -1
  170. package/dist/components/charts/chart/chart-feature-loader.d.ts +3 -128
  171. package/dist/components/charts/chart/chart-feature-loader.js +1 -1
  172. package/dist/components/charts/chart/chart-forced-colors.js +1 -1
  173. package/dist/components/charts/chart/chart-input-projection.js +1 -0
  174. package/dist/components/charts/chart/chart-legend-visibility.d.ts +12 -0
  175. package/dist/components/charts/chart/chart-legend-visibility.js +1 -1
  176. package/dist/components/charts/chart/chart-peer.js +1 -0
  177. package/dist/components/charts/chart/chart-preload.js +1 -1
  178. package/dist/components/charts/chart/chart-prepared-data.d.ts +1 -11
  179. package/dist/components/charts/chart/chart-prepared-data.js +1 -1
  180. package/dist/components/charts/chart/chart-series-bounds.js +1 -1
  181. package/dist/components/charts/chart/chart-spatial-data.js +2 -2
  182. package/dist/components/charts/chart/chart-spatial-model.js +1 -0
  183. package/dist/components/charts/chart/chart-surface-shared.js +1 -1
  184. package/dist/components/charts/chart/chart-surface.styles.js +1 -1
  185. package/dist/components/charts/chart/chart-sync.js +1 -1
  186. package/dist/components/charts/chart/chart-sync.styles.js +1 -1
  187. package/dist/components/charts/chart/chart-token-cache.js +2 -2
  188. package/dist/components/charts/chart/chart-types.d.ts +99 -0
  189. package/dist/components/charts/chart/chart.class.d.ts +76 -90
  190. package/dist/components/charts/chart/chart.class.js +23 -80
  191. package/dist/components/charts/chart/chart.styles.js +1 -1
  192. package/dist/components/charts/chart/doughnut-chart.class.d.ts +3 -1
  193. package/dist/components/charts/chart/histogram-bin.d.ts +3 -1
  194. package/dist/components/charts/chart/histogram-bin.js +1 -1
  195. package/dist/components/charts/chart/histogram-buckets.d.ts +3 -1
  196. package/dist/components/charts/chart/histogram-buckets.js +1 -1
  197. package/dist/components/charts/chart/histogram.class.d.ts +6 -2
  198. package/dist/components/charts/chart/histogram.class.js +1 -1
  199. package/dist/components/charts/chart/line-chart.class.d.ts +3 -1
  200. package/dist/components/charts/chart/lite-chart.class.d.ts +44 -22
  201. package/dist/components/charts/chart/lite-chart.class.js +26 -165
  202. package/dist/components/charts/chart/lite-chart.styles.js +1 -1
  203. package/dist/components/charts/chart/pie-chart.class.d.ts +3 -1
  204. package/dist/components/charts/chart/polar-area-chart.class.d.ts +3 -1
  205. package/dist/components/charts/chart/radar-chart.class.d.ts +3 -1
  206. package/dist/components/charts/chart/scatter-chart.class.d.ts +3 -1
  207. package/dist/components/charts/chart-3d/chart-3d-data.d.ts +2 -1
  208. package/dist/components/charts/chart-3d/chart-3d-data.js +1 -1
  209. package/dist/components/charts/chart-3d/chart-3d-engine.js +1 -1
  210. package/dist/components/charts/chart-3d/chart-3d.class.d.ts +14 -8
  211. package/dist/components/charts/chart-3d/chart-3d.class.js +13 -21
  212. package/dist/components/charts/chart-3d/chart-3d.styles.js +1 -1
  213. package/dist/components/charts/index.d.ts +1 -1
  214. package/dist/components/charts/index.js +1 -1
  215. package/dist/components/conversation/agent-workspace/agent-workspace-register.d.ts +1 -1
  216. package/dist/components/conversation/agent-workspace/agent-workspace-register.js +1 -1
  217. package/dist/components/conversation/agent-workspace/agent-workspace.class.d.ts +34 -8
  218. package/dist/components/conversation/agent-workspace/agent-workspace.class.js +23 -82
  219. package/dist/components/conversation/agent-workspace/agent-workspace.styles.js +1 -1
  220. package/dist/components/conversation/audio-visualizer/audio-visualizer.class.d.ts +11 -5
  221. package/dist/components/conversation/audio-visualizer/audio-visualizer.class.js +1 -1
  222. package/dist/components/conversation/branch-picker/branch-picker.class.d.ts +14 -2
  223. package/dist/components/conversation/branch-picker/branch-picker.class.js +4 -16
  224. package/dist/components/conversation/branch-picker/branch-picker.styles.js +1 -1
  225. package/dist/components/conversation/catalog-picker-element.d.ts +64 -3
  226. package/dist/components/conversation/catalog-picker-element.js +1 -1
  227. package/dist/components/conversation/catalog-picker-trigger.styles.js +1 -1
  228. package/dist/components/conversation/chat-composer/chat-composer.class.d.ts +58 -14
  229. package/dist/components/conversation/chat-composer/chat-composer.class.js +4 -35
  230. package/dist/components/conversation/chat-composer/chat-composer.styles.js +1 -1
  231. package/dist/components/conversation/chat-message/chat-message.class.d.ts +27 -7
  232. package/dist/components/conversation/chat-message/chat-message.class.js +18 -32
  233. package/dist/components/conversation/chat-message/chat-message.styles.js +1 -1
  234. package/dist/components/conversation/chat-viewport/chat-viewport.class.d.ts +19 -6
  235. package/dist/components/conversation/chat-viewport/chat-viewport.class.js +5 -22
  236. package/dist/components/conversation/chat-viewport/chat-viewport.styles.js +1 -1
  237. package/dist/components/conversation/checkpoint/checkpoint.class.d.ts +29 -1
  238. package/dist/components/conversation/checkpoint/checkpoint.class.js +21 -52
  239. package/dist/components/conversation/checkpoint/checkpoint.styles.js +1 -1
  240. package/dist/components/conversation/code-block/code-block-base.class.d.ts +37 -6
  241. package/dist/components/conversation/code-block/code-block-base.class.js +1 -1
  242. package/dist/components/conversation/code-block/code-block-core.class.d.ts +71 -13
  243. package/dist/components/conversation/code-block/code-block-core.class.js +1 -1
  244. package/dist/components/conversation/code-block/code-block-shared.d.ts +25 -62
  245. package/dist/components/conversation/code-block/code-block-shared.js +11 -68
  246. package/dist/components/conversation/code-block/code-block.class.d.ts +70 -12
  247. package/dist/components/conversation/code-block/code-block.class.js +1 -1
  248. package/dist/components/conversation/code-block/code-block.styles.js +1 -1
  249. package/dist/components/conversation/code-block/code-loader.d.ts +2 -37
  250. package/dist/components/conversation/code-block/code-loader.js +1 -1
  251. package/dist/components/conversation/code-block/shiki-types.d.ts +1 -115
  252. package/dist/components/conversation/code-block/shiki-types.js +1 -1
  253. package/dist/components/conversation/conversation-item/conversation-item.class.d.ts +31 -6
  254. package/dist/components/conversation/conversation-item/conversation-item.class.js +16 -60
  255. package/dist/components/conversation/conversation-item/conversation-item.styles.js +1 -1
  256. package/dist/components/conversation/generation-metrics/generation-metrics.class.d.ts +11 -1
  257. package/dist/components/conversation/generation-metrics/generation-metrics.class.js +5 -22
  258. package/dist/components/conversation/generation-metrics/generation-metrics.styles.js +1 -1
  259. package/dist/components/conversation/handoff-divider/handoff-divider.class.d.ts +8 -2
  260. package/dist/components/conversation/handoff-divider/handoff-divider.class.js +4 -4
  261. package/dist/components/conversation/handoff-divider/handoff-divider.styles.js +1 -1
  262. package/dist/components/conversation/index.d.ts +1 -1
  263. package/dist/components/conversation/index.js +1 -1
  264. package/dist/components/conversation/markdown/katex-loader.d.ts +2 -7
  265. package/dist/components/conversation/markdown/katex-loader.js +1 -1
  266. package/dist/components/conversation/markdown/markdown-base.class.d.ts +7 -7
  267. package/dist/components/conversation/markdown/markdown-base.class.js +2 -1
  268. package/dist/components/conversation/markdown/markdown-code-header.d.ts +4 -2
  269. package/dist/components/conversation/markdown/markdown-code-header.js +1 -1
  270. package/dist/components/conversation/markdown/markdown-core.class.d.ts +69 -12
  271. package/dist/components/conversation/markdown/markdown-core.class.js +1 -1
  272. package/dist/components/conversation/markdown/markdown-fallback-code.d.ts +1 -5
  273. package/dist/components/conversation/markdown/markdown-fallback-code.js +2 -2
  274. package/dist/components/conversation/markdown/markdown-fence.js +2 -0
  275. package/dist/components/conversation/markdown/markdown-loader.d.ts +2 -17
  276. package/dist/components/conversation/markdown/markdown-loader.js +1 -1
  277. package/dist/components/conversation/markdown/markdown-progressive.js +4 -4
  278. package/dist/components/conversation/markdown/markdown-shared.d.ts +15 -48
  279. package/dist/components/conversation/markdown/markdown-shared.js +6 -6
  280. package/dist/components/conversation/markdown/markdown.class.d.ts +74 -18
  281. package/dist/components/conversation/markdown/markdown.class.js +1 -1
  282. package/dist/components/conversation/markdown/markdown.styles.js +1 -1
  283. package/dist/components/conversation/message-actions/message-actions.class.d.ts +2 -0
  284. package/dist/components/conversation/message-actions/message-actions.class.js +6 -35
  285. package/dist/components/conversation/message-actions/message-actions.styles.js +1 -1
  286. package/dist/components/conversation/message-actions/toolbar-actions.d.ts +1 -20
  287. package/dist/components/conversation/message-actions/toolbar-actions.js +1 -1
  288. package/dist/components/conversation/message-feedback/message-feedback.class.d.ts +27 -5
  289. package/dist/components/conversation/message-feedback/message-feedback.class.js +7 -52
  290. package/dist/components/conversation/message-feedback/message-feedback.styles.js +1 -1
  291. package/dist/components/conversation/message-parts/message-parts.class.d.ts +28 -3
  292. package/dist/components/conversation/message-parts/message-parts.class.js +10 -65
  293. package/dist/components/conversation/message-parts/message-parts.styles.js +1 -1
  294. package/dist/components/conversation/model-select/model-select.class.d.ts +44 -46
  295. package/dist/components/conversation/model-select/model-select.class.js +11 -78
  296. package/dist/components/conversation/model-select/model-select.styles.js +1 -1
  297. package/dist/components/conversation/model-settings-panel/model-settings-panel.class.d.ts +24 -2
  298. package/dist/components/conversation/model-settings-panel/model-settings-panel.class.js +4 -31
  299. package/dist/components/conversation/prompt-input/prompt-input-register.d.ts +1 -1
  300. package/dist/components/conversation/prompt-input/prompt-input-register.js +1 -1
  301. package/dist/components/conversation/prompt-input/prompt-input.class.d.ts +57 -14
  302. package/dist/components/conversation/prompt-input/prompt-input.class.js +13 -112
  303. package/dist/components/conversation/prompt-input/prompt-input.styles.js +1 -1
  304. package/dist/components/conversation/prompt-queue/prompt-queue.class.d.ts +19 -7
  305. package/dist/components/conversation/prompt-queue/prompt-queue.class.js +13 -62
  306. package/dist/components/conversation/prompt-queue/prompt-queue.styles.js +1 -1
  307. package/dist/components/conversation/push-to-talk/push-to-talk.class.d.ts +20 -7
  308. package/dist/components/conversation/push-to-talk/push-to-talk.class.js +4 -20
  309. package/dist/components/conversation/push-to-talk/push-to-talk.styles.js +1 -1
  310. package/dist/components/conversation/realtime-session/realtime-session.class.d.ts +23 -3
  311. package/dist/components/conversation/realtime-session/realtime-session.class.js +10 -35
  312. package/dist/components/conversation/realtime-session/realtime-session.styles.js +1 -1
  313. package/dist/components/conversation/selection-toolbar/selection-toolbar.class.d.ts +8 -2
  314. package/dist/components/conversation/selection-toolbar/selection-toolbar.class.js +2 -18
  315. package/dist/components/conversation/selection-toolbar/selection-toolbar.styles.js +1 -1
  316. package/dist/components/conversation/stream-status/stream-status.class.d.ts +8 -10
  317. package/dist/components/conversation/stream-status/stream-status.class.js +6 -7
  318. package/dist/components/conversation/streaming-text/streaming-text-base.class.d.ts +2 -2
  319. package/dist/components/conversation/streaming-text/streaming-text-base.class.js +27 -3
  320. package/dist/components/conversation/streaming-text/streaming-text-core.class.d.ts +3 -2
  321. package/dist/components/conversation/streaming-text/streaming-text-core.class.js +1 -24
  322. package/dist/components/conversation/streaming-text/streaming-text.class.d.ts +5 -4
  323. package/dist/components/conversation/streaming-text/streaming-text.class.js +1 -25
  324. package/dist/components/conversation/suggestion-chips/suggestion-chips.class.d.ts +12 -5
  325. package/dist/components/conversation/suggestion-chips/suggestion-chips.class.js +4 -12
  326. package/dist/components/conversation/suggestion-chips/suggestion-chips.styles.js +1 -1
  327. package/dist/components/conversation/thread-list/thread-list-buckets.js +1 -0
  328. package/dist/components/conversation/thread-list/thread-list-source.js +1 -0
  329. package/dist/components/conversation/thread-list/thread-list-types.d.ts +3 -0
  330. package/dist/components/conversation/thread-list/thread-list.class.d.ts +67 -22
  331. package/dist/components/conversation/thread-list/thread-list.class.js +25 -116
  332. package/dist/components/conversation/thread-list/thread-list.styles.js +1 -1
  333. package/dist/components/conversation/transcript-feed/transcript-feed.class.d.ts +15 -3
  334. package/dist/components/conversation/transcript-feed/transcript-feed.class.js +8 -18
  335. package/dist/components/conversation/transcript-feed/transcript-feed.styles.js +1 -1
  336. package/dist/components/conversation/typing-indicator/typing-indicator.class.d.ts +4 -6
  337. package/dist/components/conversation/typing-indicator/typing-indicator.class.js +1 -1
  338. package/dist/components/conversation/usage-badge/usage-badge-overlay-runtime.js +1 -1
  339. package/dist/components/conversation/usage-badge/usage-badge.class.d.ts +18 -1
  340. package/dist/components/conversation/usage-badge/usage-badge.class.js +3 -14
  341. package/dist/components/conversation/usage-badge/usage-badge.styles.js +1 -1
  342. package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +50 -33
  343. package/dist/components/conversation/voice-picker/voice-picker.class.js +14 -95
  344. package/dist/components/conversation/voice-picker/voice-picker.styles.js +1 -1
  345. package/dist/components/conversation/widget-renderer/widget-renderer.class.d.ts +3 -5
  346. package/dist/components/conversation/widget-renderer/widget-renderer.class.js +2 -2
  347. package/dist/components/data/calendar/calendar.class.d.ts +21 -6
  348. package/dist/components/data/calendar/calendar.class.js +2 -2
  349. package/dist/components/data/calendar/calendar.styles.js +1 -1
  350. package/dist/components/data/chord/chord-layout.d.ts +6 -0
  351. package/dist/components/data/chord/chord-layout.js +1 -0
  352. package/dist/components/data/chord/chord.class.d.ts +61 -0
  353. package/dist/components/data/chord/chord.class.js +5 -0
  354. package/dist/components/data/choropleth/choropleth-geometry.d.ts +7 -0
  355. package/dist/components/data/choropleth/choropleth-geometry.js +1 -0
  356. package/dist/components/data/choropleth/choropleth-layout.d.ts +7 -0
  357. package/dist/components/data/choropleth/choropleth-layout.js +1 -0
  358. package/dist/components/data/choropleth/choropleth.class.d.ts +73 -0
  359. package/dist/components/data/choropleth/choropleth.class.js +1 -0
  360. package/dist/components/data/condition-builder/condition-builder-register.d.ts +1 -1
  361. package/dist/components/data/condition-builder/condition-builder-register.js +1 -1
  362. package/dist/components/data/condition-builder/condition-builder.class.d.ts +9 -6
  363. package/dist/components/data/condition-builder/condition-builder.class.js +18 -117
  364. package/dist/components/data/condition-builder/condition-builder.styles.js +1 -1
  365. package/dist/components/data/context-meter/context-meter.class.d.ts +9 -7
  366. package/dist/components/data/context-meter/context-meter.class.js +12 -65
  367. package/dist/components/data/context-meter/context-meter.styles.js +1 -1
  368. package/dist/components/data/data-grid/data-grid-processing.js +2 -2
  369. package/dist/components/data/data-grid/data-grid-support.js +1 -0
  370. package/dist/components/data/data-grid/data-grid-types.d.ts +8 -6
  371. package/dist/components/data/data-grid/data-grid.class.d.ts +45 -16
  372. package/dist/components/data/data-grid/data-grid.class.js +56 -374
  373. package/dist/components/data/data-grid/data-grid.styles.js +1 -1
  374. package/dist/components/data/document-library/document-library-support.d.ts +11 -0
  375. package/dist/components/data/document-library/document-library-support.js +1 -0
  376. package/dist/components/data/document-library/document-library.class.d.ts +21 -16
  377. package/dist/components/data/document-library/document-library.class.js +16 -115
  378. package/dist/components/data/document-library/document-library.styles.js +1 -1
  379. package/dist/components/data/env-list/env-list.class.d.ts +11 -6
  380. package/dist/components/data/env-list/env-list.class.js +8 -17
  381. package/dist/components/data/env-list/env-list.styles.js +1 -1
  382. package/dist/components/data/file-tree/file-tree.class.d.ts +11 -4
  383. package/dist/components/data/file-tree/file-tree.class.js +3 -20
  384. package/dist/components/data/flow-canvas/flow-canvas.class.d.ts +25 -21
  385. package/dist/components/data/flow-canvas/flow-canvas.class.js +22 -127
  386. package/dist/components/data/flow-canvas/flow-canvas.styles.js +1 -1
  387. package/dist/components/data/flow-canvas/flow-companion-controller.js +1 -1
  388. package/dist/components/data/flow-canvas/flow-model.js +1 -1
  389. package/dist/components/data/flow-canvas/flow-status.styles.js +1 -1
  390. package/dist/components/data/flow-canvas/flow-types.d.ts +1 -2
  391. package/dist/components/data/flow-controls/flow-controls.class.d.ts +16 -2
  392. package/dist/components/data/flow-controls/flow-controls.class.js +6 -55
  393. package/dist/components/data/flow-controls/flow-controls.styles.js +1 -1
  394. package/dist/components/data/flow-minimap/flow-minimap.class.d.ts +5 -1
  395. package/dist/components/data/flow-minimap/flow-minimap.class.js +5 -44
  396. package/dist/components/data/flow-minimap/flow-minimap.styles.js +1 -1
  397. package/dist/components/data/flow-node/flow-node.class.d.ts +5 -6
  398. package/dist/components/data/flow-node/flow-node.class.js +13 -35
  399. package/dist/components/data/flow-node/flow-node.styles.js +1 -1
  400. package/dist/components/data/flow-run-status/flow-run-status.class.js +2 -2
  401. package/dist/components/data/flow-run-status/flow-run-status.styles.js +1 -1
  402. package/dist/components/data/funnel/funnel.class.d.ts +13 -13
  403. package/dist/components/data/funnel/funnel.class.js +9 -16
  404. package/dist/components/data/gauge/gauge.class.d.ts +7 -1
  405. package/dist/components/data/gauge/gauge.class.js +16 -81
  406. package/dist/components/data/graph-query-builder/graph-query-builder.class.d.ts +36 -7
  407. package/dist/components/data/graph-query-builder/graph-query-builder.class.js +19 -102
  408. package/dist/components/data/graph-query-builder/graph-query-builder.styles.js +1 -1
  409. package/dist/components/data/heatmap/calendar-grid.d.ts +4 -21
  410. package/dist/components/data/heatmap/calendar-grid.js +1 -1
  411. package/dist/components/data/heatmap/heatmap-colors.d.ts +3 -14
  412. package/dist/components/data/heatmap/heatmap-colors.js +1 -1
  413. package/dist/components/data/heatmap/heatmap-config.js +1 -0
  414. package/dist/components/data/heatmap/heatmap-grid-navigation.js +1 -1
  415. package/dist/components/data/heatmap/heatmap-model.d.ts +121 -0
  416. package/dist/components/data/heatmap/heatmap-model.js +1 -0
  417. package/dist/components/data/heatmap/heatmap-source-view.js +15 -0
  418. package/dist/components/data/heatmap/heatmap.class.d.ts +108 -134
  419. package/dist/components/data/heatmap/heatmap.class.js +25 -107
  420. package/dist/components/data/heatmap/heatmap.styles.js +1 -1
  421. package/dist/components/data/index.d.ts +1 -1
  422. package/dist/components/data/index.js +1 -1
  423. package/dist/components/data/pagination/pagination.class.d.ts +55 -18
  424. package/dist/components/data/pagination/pagination.class.js +20 -95
  425. package/dist/components/data/pagination/pagination.styles.js +1 -1
  426. package/dist/components/data/sankey/sankey-layout.d.ts +21 -0
  427. package/dist/components/data/sankey/sankey-layout.js +1 -0
  428. package/dist/components/data/sankey/sankey.class.d.ts +57 -0
  429. package/dist/components/data/sankey/sankey.class.js +2 -0
  430. package/dist/components/data/sequence-strip/sequence-strip-item.d.ts +1 -1
  431. package/dist/components/data/sequence-strip/sequence-strip.class.d.ts +4 -4
  432. package/dist/components/data/sequence-strip/sequence-strip.class.js +16 -53
  433. package/dist/components/data/sequence-strip/sequence-strip.styles.js +1 -1
  434. package/dist/components/data/sparkline/sparkline.class.d.ts +5 -2
  435. package/dist/components/data/sparkline/sparkline.class.js +4 -20
  436. package/dist/components/data/stat/stat.class.d.ts +76 -20
  437. package/dist/components/data/stat/stat.class.js +16 -34
  438. package/dist/components/data/stat/stat.styles.js +1 -1
  439. package/dist/components/data/table/table-row-attributes.js +1 -0
  440. package/dist/components/data/table/table-support.d.ts +339 -0
  441. package/dist/components/data/table/table-support.js +1 -0
  442. package/dist/components/data/table/table.class.d.ts +195 -272
  443. package/dist/components/data/table/table.class.js +27 -196
  444. package/dist/components/data/table/table.styles.js +1 -1
  445. package/dist/components/data/timeline/timeline-item.class.d.ts +41 -7
  446. package/dist/components/data/timeline/timeline-item.class.js +21 -40
  447. package/dist/components/data/timeline/timeline-item.styles.js +1 -1
  448. package/dist/components/data/timeline/timeline.class.d.ts +79 -7
  449. package/dist/components/data/timeline/timeline.class.js +11 -7
  450. package/dist/components/data/timeline/timeline.styles.js +1 -1
  451. package/dist/components/data/tree/tree-item.class.d.ts +12 -2
  452. package/dist/components/data/tree/tree-item.class.js +6 -31
  453. package/dist/components/data/tree/tree-item.styles.js +1 -1
  454. package/dist/components/data/tree/tree-owner-controller.js +1 -1
  455. package/dist/components/data/tree/tree-pointer-reorder.js +1 -1
  456. package/dist/components/data/tree/tree.class.d.ts +4 -4
  457. package/dist/components/data/tree/tree.class.js +4 -14
  458. package/dist/components/data/treemap/treemap-layout.d.ts +9 -0
  459. package/dist/components/data/treemap/treemap-layout.js +1 -0
  460. package/dist/components/data/treemap/treemap.class.d.ts +52 -0
  461. package/dist/components/data/treemap/treemap.class.js +4 -0
  462. package/dist/components/data/word-cloud/word-cloud.class.d.ts +4 -4
  463. package/dist/components/data/word-cloud/word-cloud.class.js +9 -48
  464. package/dist/components/data/word-cloud/word-cloud.styles.js +1 -1
  465. package/dist/components/forms/button/button.class.d.ts +20 -5
  466. package/dist/components/forms/button/button.class.js +5 -48
  467. package/dist/components/forms/button/button.styles.js +1 -1
  468. package/dist/components/forms/catalog-picker-base.d.ts +27 -5
  469. package/dist/components/forms/catalog-picker-base.js +12 -5
  470. package/dist/components/forms/catalog-picker-base.styles.js +1 -1
  471. package/dist/components/forms/checkbox/checkbox.class.d.ts +23 -12
  472. package/dist/components/forms/checkbox/checkbox.class.js +4 -53
  473. package/dist/components/forms/checkbox/checkbox.styles.js +1 -1
  474. package/dist/components/forms/checkbox-group/checkbox-group.class.d.ts +55 -10
  475. package/dist/components/forms/checkbox-group/checkbox-group.class.js +6 -17
  476. package/dist/components/forms/checkbox-group/checkbox-group.styles.js +1 -1
  477. package/dist/components/forms/code-editor/code-editor.class.d.ts +88 -19
  478. package/dist/components/forms/code-editor/code-editor.class.js +15 -69
  479. package/dist/components/forms/code-editor/code-editor.styles.js +1 -1
  480. package/dist/components/forms/color-picker/color-core.d.ts +5 -2
  481. package/dist/components/forms/color-picker/color-core.js +1 -1
  482. package/dist/components/forms/color-picker/color-picker.class.d.ts +72 -14
  483. package/dist/components/forms/color-picker/color-picker.class.js +23 -154
  484. package/dist/components/forms/color-picker/color-picker.styles.js +1 -1
  485. package/dist/components/forms/combobox/combobox-catalog.js +1 -1
  486. package/dist/components/forms/combobox/combobox.class.d.ts +192 -23
  487. package/dist/components/forms/combobox/combobox.class.js +26 -110
  488. package/dist/components/forms/combobox/combobox.styles.js +1 -1
  489. package/dist/components/forms/combobox/option.class.d.ts +6 -2
  490. package/dist/components/forms/combobox/option.class.js +2 -15
  491. package/dist/components/forms/combobox/option.styles.js +1 -1
  492. package/dist/components/forms/country-picker/country-picker.class.d.ts +28 -1
  493. package/dist/components/forms/country-picker/country-picker.class.js +1 -1
  494. package/dist/components/forms/currency-picker/currency-catalog.js +1 -1
  495. package/dist/components/forms/currency-picker/currency-picker.class.d.ts +27 -0
  496. package/dist/components/forms/currency-picker/currency-picker.class.js +1 -1
  497. package/dist/components/forms/date-picker/calendar-core.d.ts +1 -49
  498. package/dist/components/forms/date-picker/calendar-core.js +1 -1
  499. package/dist/components/forms/date-picker/date-input.class.d.ts +146 -17
  500. package/dist/components/forms/date-picker/date-input.class.js +15 -119
  501. package/dist/components/forms/date-picker/date-input.styles.js +1 -1
  502. package/dist/components/forms/date-picker/date-picker-disabled-dates.js +1 -1
  503. package/dist/components/forms/date-picker/date-picker.class.d.ts +85 -17
  504. package/dist/components/forms/date-picker/date-picker.class.js +20 -108
  505. package/dist/components/forms/date-picker/date-picker.styles.js +1 -1
  506. package/dist/components/forms/emoji-picker/emoji-data-loader.js +1 -1
  507. package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts +23 -6
  508. package/dist/components/forms/emoji-picker/emoji-picker.class.js +7 -69
  509. package/dist/components/forms/emoji-picker/emoji-picker.styles.js +1 -1
  510. package/dist/components/forms/icon-button/icon-button.class.d.ts +21 -10
  511. package/dist/components/forms/icon-button/icon-button.class.js +1 -37
  512. package/dist/components/forms/icon-button/icon-button.styles.js +1 -1
  513. package/dist/components/forms/index.d.ts +1 -1
  514. package/dist/components/forms/index.js +1 -1
  515. package/dist/components/forms/input/input-shared.d.ts +57 -13
  516. package/dist/components/forms/input/input-shared.js +13 -88
  517. package/dist/components/forms/input/input.styles.js +1 -1
  518. package/dist/components/forms/input/number-input.class.js +3 -17
  519. package/dist/components/forms/input/number-input.styles.js +1 -1
  520. package/dist/components/forms/input/time-input.class.d.ts +71 -7
  521. package/dist/components/forms/input/time-input.class.js +15 -109
  522. package/dist/components/forms/input/time-input.styles.js +1 -1
  523. package/dist/components/forms/locale-picker/locale-picker.class.d.ts +49 -9
  524. package/dist/components/forms/locale-picker/locale-picker.class.js +11 -74
  525. package/dist/components/forms/locale-picker/locale-picker.styles.js +1 -1
  526. package/dist/components/forms/otp-input/otp-input.class.d.ts +45 -4
  527. package/dist/components/forms/otp-input/otp-input.class.js +4 -38
  528. package/dist/components/forms/otp-input/otp-input.styles.js +1 -1
  529. package/dist/components/forms/phone-input/phone-input.class.d.ts +54 -14
  530. package/dist/components/forms/phone-input/phone-input.class.js +11 -53
  531. package/dist/components/forms/phone-input/phone-input.styles.js +1 -1
  532. package/dist/components/forms/phone-input/phone-number-adapter.js +1 -1
  533. package/dist/components/forms/radio/radio-button.class.d.ts +5 -1
  534. package/dist/components/forms/radio/radio-button.class.js +1 -1
  535. package/dist/components/forms/radio/radio-button.styles.js +1 -1
  536. package/dist/components/forms/radio/radio-group.class.d.ts +68 -10
  537. package/dist/components/forms/radio/radio-group.class.js +5 -17
  538. package/dist/components/forms/radio/radio-group.styles.js +1 -1
  539. package/dist/components/forms/radio/radio.class.d.ts +24 -9
  540. package/dist/components/forms/radio/radio.class.js +5 -19
  541. package/dist/components/forms/radio/radio.styles.js +1 -1
  542. package/dist/components/forms/rubric-form/rubric-form.class.d.ts +35 -12
  543. package/dist/components/forms/rubric-form/rubric-form.class.js +15 -103
  544. package/dist/components/forms/rubric-form/rubric-form.styles.js +1 -1
  545. package/dist/components/forms/select/select.class.d.ts +71 -18
  546. package/dist/components/forms/select/select.class.js +22 -115
  547. package/dist/components/forms/select/select.styles.js +1 -1
  548. package/dist/components/forms/signature-pad/signature-pad.class.d.ts +66 -5
  549. package/dist/components/forms/signature-pad/signature-pad.class.js +7 -30
  550. package/dist/components/forms/signature-pad/signature-pad.styles.js +1 -1
  551. package/dist/components/forms/slider/slider.class.d.ts +77 -9
  552. package/dist/components/forms/slider/slider.class.js +20 -54
  553. package/dist/components/forms/slider/slider.styles.js +1 -1
  554. package/dist/components/forms/swatch-picker/swatch-picker.class.d.ts +26 -11
  555. package/dist/components/forms/swatch-picker/swatch-picker.class.js +4 -22
  556. package/dist/components/forms/swatch-picker/swatch-picker.styles.js +1 -1
  557. package/dist/components/forms/switch/switch.class.d.ts +13 -7
  558. package/dist/components/forms/switch/switch.class.js +4 -25
  559. package/dist/components/forms/switch/switch.styles.js +1 -1
  560. package/dist/components/forms/textarea/textarea.class.d.ts +53 -14
  561. package/dist/components/forms/textarea/textarea.class.js +4 -36
  562. package/dist/components/forms/textarea/textarea.styles.js +1 -1
  563. package/dist/components/forms/time-range/time-range.class.d.ts +34 -22
  564. package/dist/components/forms/time-range/time-range.class.js +7 -60
  565. package/dist/components/forms/time-range/time-range.styles.js +1 -1
  566. package/dist/components/forms/time-zone-picker/time-zone-picker.class.d.ts +27 -0
  567. package/dist/components/forms/time-zone-picker/time-zone-picker.class.js +1 -1
  568. package/dist/components/forms/toggle/toggle.class.d.ts +1 -1
  569. package/dist/components/forms/toggle/toggle.class.js +1 -13
  570. package/dist/components/forms/toggle/toggle.styles.js +1 -1
  571. package/dist/components/forms/toggle-group/toggle-group.class.d.ts +5 -5
  572. package/dist/components/forms/toggle-group/toggle-group.class.js +1 -1
  573. package/dist/components/forms/token-input/token-input.class.d.ts +165 -31
  574. package/dist/components/forms/token-input/token-input.class.js +21 -85
  575. package/dist/components/forms/token-input/token-input.styles.js +1 -1
  576. package/dist/components/forms/unit-picker/unit-picker.class.d.ts +27 -0
  577. package/dist/components/forms/unit-picker/unit-picker.class.js +1 -1
  578. package/dist/components/layout/app-rail/app-rail-item.class.d.ts +48 -13
  579. package/dist/components/layout/app-rail/app-rail-item.class.js +6 -39
  580. package/dist/components/layout/app-rail/app-rail-item.styles.js +1 -1
  581. package/dist/components/layout/app-rail/app-rail.class.d.ts +75 -40
  582. package/dist/components/layout/app-rail/app-rail.class.js +9 -54
  583. package/dist/components/layout/app-rail/app-rail.styles.js +1 -1
  584. package/dist/components/layout/app-rail-group/app-rail-group.class.d.ts +29 -3
  585. package/dist/components/layout/app-rail-group/app-rail-group.class.js +5 -23
  586. package/dist/components/layout/app-rail-group/app-rail-group.styles.js +1 -1
  587. package/dist/components/layout/breadcrumb/breadcrumb-item.class.d.ts +11 -1
  588. package/dist/components/layout/breadcrumb/breadcrumb-item.class.js +2 -9
  589. package/dist/components/layout/breadcrumb/breadcrumb-item.styles.js +1 -1
  590. package/dist/components/layout/breadcrumb/breadcrumb.class.d.ts +11 -9
  591. package/dist/components/layout/breadcrumb/breadcrumb.class.js +1 -1
  592. package/dist/components/layout/breadcrumb/breadcrumb.styles.js +1 -1
  593. package/dist/components/layout/button-group/button-group.class.d.ts +9 -3
  594. package/dist/components/layout/button-group/button-group.class.js +1 -1
  595. package/dist/components/layout/card/card.class.d.ts +56 -7
  596. package/dist/components/layout/card/card.class.js +6 -38
  597. package/dist/components/layout/card/card.styles.js +1 -1
  598. package/dist/components/layout/carousel/carousel-item.class.js +1 -1
  599. package/dist/components/layout/carousel/carousel-loop.js +1 -0
  600. package/dist/components/layout/carousel/carousel.class.d.ts +36 -8
  601. package/dist/components/layout/carousel/carousel.class.js +12 -63
  602. package/dist/components/layout/carousel/carousel.styles.js +1 -1
  603. package/dist/components/layout/command-palette/command-palette.class.d.ts +11 -3
  604. package/dist/components/layout/command-palette/command-palette.class.js +11 -70
  605. package/dist/components/layout/command-palette/command-palette.styles.js +1 -1
  606. package/dist/components/layout/control-group/control-group.class.d.ts +5 -3
  607. package/dist/components/layout/control-group/control-group.class.js +1 -1
  608. package/dist/components/layout/dashboard-grid/dashboard-grid-register.d.ts +1 -1
  609. package/dist/components/layout/dashboard-grid/dashboard-grid-register.js +1 -1
  610. package/dist/components/layout/dashboard-grid/dashboard-grid.class.d.ts +17 -7
  611. package/dist/components/layout/dashboard-grid/dashboard-grid.class.js +4 -27
  612. package/dist/components/layout/dashboard-grid/dashboard-grid.styles.js +1 -1
  613. package/dist/components/layout/dashboard-grid/layout-internal.js +1 -1
  614. package/dist/components/layout/details/accordion-item.class.d.ts +12 -1
  615. package/dist/components/layout/details/accordion-item.class.js +5 -32
  616. package/dist/components/layout/details/accordion-item.styles.js +1 -1
  617. package/dist/components/layout/details/accordion.class.d.ts +1 -0
  618. package/dist/components/layout/details/accordion.class.js +1 -5
  619. package/dist/components/layout/details/details.class.d.ts +25 -11
  620. package/dist/components/layout/details/details.class.js +6 -34
  621. package/dist/components/layout/details/details.styles.js +1 -1
  622. package/dist/components/layout/details/disclosure-motion.js +1 -1
  623. package/dist/components/layout/dock-panel/dock-panel.class.d.ts +14 -3
  624. package/dist/components/layout/dock-panel/dock-panel.class.js +3 -25
  625. package/dist/components/layout/dock-panel/dock-panel.styles.js +1 -1
  626. package/dist/components/layout/drilldown-panel/drilldown-panel.class.d.ts +4 -1
  627. package/dist/components/layout/drilldown-panel/drilldown-panel.class.js +17 -82
  628. package/dist/components/layout/drilldown-panel/drilldown-panel.styles.js +1 -1
  629. package/dist/components/layout/filter-bar/filter-bar.class.d.ts +22 -28
  630. package/dist/components/layout/filter-bar/filter-bar.class.js +19 -153
  631. package/dist/components/layout/filter-bar/filter-bar.styles.js +1 -1
  632. package/dist/components/layout/index.d.ts +1 -1
  633. package/dist/components/layout/index.js +1 -1
  634. package/dist/components/layout/menu/dropdown-item.class.d.ts +8 -2
  635. package/dist/components/layout/menu/dropdown-item.class.js +1 -1
  636. package/dist/components/layout/menu/menu-item.class.d.ts +33 -15
  637. package/dist/components/layout/menu/menu-item.class.js +3 -17
  638. package/dist/components/layout/menu/menu-item.styles.js +1 -1
  639. package/dist/components/layout/menu/menu-label.class.d.ts +9 -1
  640. package/dist/components/layout/menu/menu-label.class.js +1 -1
  641. package/dist/components/layout/menu/menu.class.d.ts +34 -1
  642. package/dist/components/layout/menu/menu.class.js +4 -21
  643. package/dist/components/layout/menu/menu.styles.js +1 -1
  644. package/dist/components/layout/menubar/menubar-item.class.d.ts +9 -3
  645. package/dist/components/layout/menubar/menubar-item.class.js +1 -1
  646. package/dist/components/layout/menubar/menubar-item.styles.js +1 -1
  647. package/dist/components/layout/menubar/menubar.class.d.ts +11 -3
  648. package/dist/components/layout/menubar/menubar.class.js +1 -1
  649. package/dist/components/layout/menubar/menubar.styles.js +1 -1
  650. package/dist/components/layout/multi-split/multi-split-panel-ownership.js +1 -0
  651. package/dist/components/layout/multi-split/multi-split.class.d.ts +21 -18
  652. package/dist/components/layout/multi-split/multi-split.class.js +2 -16
  653. package/dist/components/layout/multi-split/multi-split.styles.js +1 -1
  654. package/dist/components/layout/navigation-menu/navigation-menu.class.d.ts +10 -6
  655. package/dist/components/layout/navigation-menu/navigation-menu.class.js +6 -24
  656. package/dist/components/layout/navigation-menu/navigation-menu.styles.js +1 -1
  657. package/dist/components/layout/navigation-menu-item/navigation-menu-item.class.d.ts +5 -2
  658. package/dist/components/layout/navigation-menu-item/navigation-menu-item.class.js +4 -27
  659. package/dist/components/layout/navigation-menu-item/navigation-menu-item.styles.js +1 -1
  660. package/dist/components/layout/page/page.class.d.ts +31 -14
  661. package/dist/components/layout/page/page.class.js +11 -42
  662. package/dist/components/layout/page/page.styles.js +1 -1
  663. package/dist/components/layout/reorder-list/reorder-item.class.d.ts +1 -1
  664. package/dist/components/layout/reorder-list/reorder-item.class.js +5 -21
  665. package/dist/components/layout/reorder-list/reorder-item.styles.js +1 -1
  666. package/dist/components/layout/reorder-list/reorder-list.class.d.ts +5 -5
  667. package/dist/components/layout/reorder-list/reorder-list.class.js +3 -10
  668. package/dist/components/layout/reorder-list/reorder-list.styles.js +1 -1
  669. package/dist/components/layout/responsive-panel/responsive-panel.class.d.ts +27 -10
  670. package/dist/components/layout/responsive-panel/responsive-panel.class.js +3 -9
  671. package/dist/components/layout/responsive-panel/responsive-panel.styles.js +1 -1
  672. package/dist/components/layout/scroller/scroller.class.d.ts +16 -4
  673. package/dist/components/layout/scroller/scroller.class.js +9 -37
  674. package/dist/components/layout/scroller/scroller.styles.js +1 -1
  675. package/dist/components/layout/segmented/segmented.class.d.ts +63 -11
  676. package/dist/components/layout/segmented/segmented.class.js +7 -29
  677. package/dist/components/layout/segmented/segmented.styles.js +1 -1
  678. package/dist/components/layout/split-panel/split-panel.class.d.ts +9 -2
  679. package/dist/components/layout/split-panel/split-panel.class.js +4 -21
  680. package/dist/components/layout/split-panel/split-panel.styles.js +1 -1
  681. package/dist/components/layout/stepper/step.class.d.ts +89 -0
  682. package/dist/components/layout/stepper/step.class.js +18 -0
  683. package/dist/components/layout/stepper/step.styles.js +1 -0
  684. package/dist/components/layout/stepper/stepper.class.d.ts +123 -12
  685. package/dist/components/layout/stepper/stepper.class.js +12 -45
  686. package/dist/components/layout/stepper/stepper.styles.js +1 -1
  687. package/dist/components/layout/tab-group/tab-group.class.d.ts +38 -10
  688. package/dist/components/layout/tab-group/tab-group.class.js +8 -49
  689. package/dist/components/layout/tab-group/tab-group.styles.js +1 -1
  690. package/dist/components/layout/tab-group/tab-panel.class.d.ts +1 -0
  691. package/dist/components/layout/tab-group/tab-panel.class.js +1 -1
  692. package/dist/components/layout/tab-group/tab.class.d.ts +7 -1
  693. package/dist/components/layout/tab-group/tab.class.js +2 -8
  694. package/dist/components/layout/tab-group/tab.styles.js +1 -1
  695. package/dist/components/layout/virtual-list/virtual-list.class.d.ts +25 -13
  696. package/dist/components/layout/virtual-list/virtual-list.class.js +9 -6
  697. package/dist/components/layout/virtual-list/virtual-list.styles.js +1 -1
  698. package/dist/components/layout/widget/widget.class.d.ts +37 -14
  699. package/dist/components/layout/widget/widget.class.js +13 -57
  700. package/dist/components/layout/widget/widget.styles.js +1 -1
  701. package/dist/components/lr-accordion-item.d.ts +1 -0
  702. package/dist/components/lr-accordion-item.js +1 -1
  703. package/dist/components/lr-accordion.d.ts +1 -0
  704. package/dist/components/lr-accordion.js +1 -1
  705. package/dist/components/lr-activity-feed.d.ts +1 -0
  706. package/dist/components/lr-activity-feed.js +1 -1
  707. package/dist/components/lr-agent-eval-dashboard.d.ts +1 -0
  708. package/dist/components/lr-agent-eval-dashboard.js +1 -1
  709. package/dist/components/lr-agent-question.d.ts +1 -0
  710. package/dist/components/lr-agent-question.js +1 -1
  711. package/dist/components/lr-agent-run.d.ts +1 -0
  712. package/dist/components/lr-agent-run.js +1 -1
  713. package/dist/components/lr-agent-trace.d.ts +1 -0
  714. package/dist/components/lr-agent-trace.js +1 -1
  715. package/dist/components/lr-agent-workspace.d.ts +1 -0
  716. package/dist/components/lr-agent-workspace.js +1 -1
  717. package/dist/components/lr-alert.d.ts +1 -0
  718. package/dist/components/lr-alert.js +1 -1
  719. package/dist/components/lr-animated-image.d.ts +1 -0
  720. package/dist/components/lr-animated-image.js +1 -1
  721. package/dist/components/lr-animation.d.ts +1 -0
  722. package/dist/components/lr-animation.js +1 -1
  723. package/dist/components/lr-app-rail-group.d.ts +1 -0
  724. package/dist/components/lr-app-rail-group.js +1 -1
  725. package/dist/components/lr-app-rail-item.d.ts +1 -0
  726. package/dist/components/lr-app-rail-item.js +1 -1
  727. package/dist/components/lr-app-rail.d.ts +1 -0
  728. package/dist/components/lr-app-rail.js +1 -1
  729. package/dist/components/lr-approval-queue.d.ts +1 -0
  730. package/dist/components/lr-approval-queue.js +1 -1
  731. package/dist/components/lr-archive-viewer.d.ts +1 -0
  732. package/dist/components/lr-archive-viewer.js +1 -1
  733. package/dist/components/lr-artifact-panel.d.ts +1 -0
  734. package/dist/components/lr-artifact-panel.js +1 -1
  735. package/dist/components/lr-attachment-chip.d.ts +1 -0
  736. package/dist/components/lr-attachment-chip.js +1 -1
  737. package/dist/components/lr-attachment-trigger.d.ts +1 -0
  738. package/dist/components/lr-attachment-trigger.js +1 -1
  739. package/dist/components/lr-audio-visualizer.d.ts +1 -0
  740. package/dist/components/lr-audio-visualizer.js +1 -1
  741. package/dist/components/lr-av-player.d.ts +1 -0
  742. package/dist/components/lr-av-player.js +1 -1
  743. package/dist/components/lr-avatar-group.d.ts +1 -0
  744. package/dist/components/lr-avatar-group.js +1 -1
  745. package/dist/components/lr-avatar.d.ts +1 -0
  746. package/dist/components/lr-avatar.js +1 -1
  747. package/dist/components/lr-background-runs.d.ts +1 -0
  748. package/dist/components/lr-background-runs.js +1 -1
  749. package/dist/components/lr-badge.d.ts +1 -0
  750. package/dist/components/lr-badge.js +1 -1
  751. package/dist/components/lr-bar-chart.d.ts +1 -0
  752. package/dist/components/lr-bar-chart.js +1 -1
  753. package/dist/components/lr-box-plot.d.ts +1 -0
  754. package/dist/components/lr-box-plot.js +1 -1
  755. package/dist/components/lr-branch-picker.d.ts +1 -0
  756. package/dist/components/lr-branch-picker.js +1 -1
  757. package/dist/components/lr-breadcrumb-item.d.ts +1 -0
  758. package/dist/components/lr-breadcrumb-item.js +1 -1
  759. package/dist/components/lr-breadcrumb.d.ts +1 -0
  760. package/dist/components/lr-breadcrumb.js +1 -1
  761. package/dist/components/lr-browser-frame.d.ts +1 -0
  762. package/dist/components/lr-browser-frame.js +1 -1
  763. package/dist/components/lr-bubble-chart.d.ts +1 -0
  764. package/dist/components/lr-bubble-chart.js +1 -1
  765. package/dist/components/lr-budget-meter.d.ts +1 -0
  766. package/dist/components/lr-budget-meter.js +1 -1
  767. package/dist/components/lr-button-group.d.ts +1 -0
  768. package/dist/components/lr-button-group.js +1 -1
  769. package/dist/components/lr-button.d.ts +1 -0
  770. package/dist/components/lr-button.js +1 -1
  771. package/dist/components/lr-calendar-viewer.d.ts +1 -0
  772. package/dist/components/lr-calendar-viewer.js +1 -1
  773. package/dist/components/lr-calendar.d.ts +1 -0
  774. package/dist/components/lr-calendar.js +1 -1
  775. package/dist/components/lr-callout.d.ts +1 -0
  776. package/dist/components/lr-callout.js +1 -1
  777. package/dist/components/lr-card.d.ts +1 -0
  778. package/dist/components/lr-card.js +1 -1
  779. package/dist/components/lr-carousel-item.d.ts +1 -0
  780. package/dist/components/lr-carousel-item.js +1 -1
  781. package/dist/components/lr-carousel.d.ts +1 -0
  782. package/dist/components/lr-carousel.js +1 -1
  783. package/dist/components/lr-change-review.d.ts +1 -0
  784. package/dist/components/lr-change-review.js +1 -1
  785. package/dist/components/lr-chart-3d.d.ts +1 -0
  786. package/dist/components/lr-chart-3d.js +1 -1
  787. package/dist/components/lr-chart.d.ts +1 -0
  788. package/dist/components/lr-chart.js +1 -1
  789. package/dist/components/lr-chat-composer.d.ts +1 -0
  790. package/dist/components/lr-chat-composer.js +1 -1
  791. package/dist/components/lr-chat-message.d.ts +1 -0
  792. package/dist/components/lr-chat-message.js +1 -1
  793. package/dist/components/lr-chat-viewport.d.ts +1 -0
  794. package/dist/components/lr-chat-viewport.js +1 -1
  795. package/dist/components/lr-checkbox-group.d.ts +1 -0
  796. package/dist/components/lr-checkbox-group.js +1 -1
  797. package/dist/components/lr-checkbox.d.ts +1 -0
  798. package/dist/components/lr-checkbox.js +1 -1
  799. package/dist/components/lr-checkpoint.d.ts +1 -0
  800. package/dist/components/lr-checkpoint.js +1 -1
  801. package/dist/components/lr-chip-group.d.ts +1 -0
  802. package/dist/components/lr-chip-group.js +1 -1
  803. package/dist/components/lr-chip.d.ts +1 -0
  804. package/dist/components/lr-chip.js +1 -1
  805. package/dist/components/lr-chord.d.ts +1 -0
  806. package/dist/components/lr-chord.js +1 -0
  807. package/dist/components/lr-choropleth.d.ts +1 -0
  808. package/dist/components/lr-choropleth.js +1 -0
  809. package/dist/components/lr-chunk-inspector.d.ts +1 -0
  810. package/dist/components/lr-chunk-inspector.js +1 -1
  811. package/dist/components/lr-citation-badge.d.ts +1 -0
  812. package/dist/components/lr-citation-badge.js +1 -1
  813. package/dist/components/lr-claim-evidence.d.ts +1 -0
  814. package/dist/components/lr-claim-evidence.js +1 -1
  815. package/dist/components/lr-code-block-core.d.ts +1 -0
  816. package/dist/components/lr-code-block-core.js +1 -1
  817. package/dist/components/lr-code-block.d.ts +1 -0
  818. package/dist/components/lr-code-block.js +1 -1
  819. package/dist/components/lr-code-editor.d.ts +1 -0
  820. package/dist/components/lr-code-editor.js +1 -1
  821. package/dist/components/lr-color-picker.d.ts +1 -0
  822. package/dist/components/lr-color-picker.js +1 -1
  823. package/dist/components/lr-combobox.d.ts +1 -0
  824. package/dist/components/lr-combobox.js +1 -1
  825. package/dist/components/lr-command-palette.d.ts +1 -0
  826. package/dist/components/lr-command-palette.js +1 -1
  827. package/dist/components/lr-commit-card.d.ts +1 -0
  828. package/dist/components/lr-commit-card.js +1 -1
  829. package/dist/components/lr-community-card.d.ts +1 -0
  830. package/dist/components/lr-community-card.js +1 -1
  831. package/dist/components/lr-compare-panel.d.ts +1 -0
  832. package/dist/components/lr-compare-panel.js +1 -1
  833. package/dist/components/lr-condition-builder.d.ts +1 -0
  834. package/dist/components/lr-condition-builder.js +1 -1
  835. package/dist/components/lr-confirm-bar.d.ts +1 -0
  836. package/dist/components/lr-confirm-bar.js +1 -1
  837. package/dist/components/lr-connector-manager.d.ts +1 -0
  838. package/dist/components/lr-connector-manager.js +1 -1
  839. package/dist/components/lr-contact-viewer.d.ts +1 -0
  840. package/dist/components/lr-contact-viewer.js +1 -1
  841. package/dist/components/lr-context-inspector.d.ts +1 -0
  842. package/dist/components/lr-context-inspector.js +1 -1
  843. package/dist/components/lr-context-menu.d.ts +1 -0
  844. package/dist/components/lr-context-menu.js +1 -1
  845. package/dist/components/lr-context-meter.d.ts +1 -0
  846. package/dist/components/lr-context-meter.js +1 -1
  847. package/dist/components/lr-control-group.d.ts +1 -0
  848. package/dist/components/lr-control-group.js +1 -1
  849. package/dist/components/lr-conversation-item.d.ts +1 -0
  850. package/dist/components/lr-conversation-item.js +1 -1
  851. package/dist/components/lr-copy-button.d.ts +1 -0
  852. package/dist/components/lr-copy-button.js +1 -1
  853. package/dist/components/lr-counter.d.ts +1 -0
  854. package/dist/components/lr-counter.js +1 -0
  855. package/dist/components/lr-country-picker.d.ts +1 -0
  856. package/dist/components/lr-country-picker.js +1 -1
  857. package/dist/components/lr-csv-viewer.d.ts +1 -0
  858. package/dist/components/lr-csv-viewer.js +1 -1
  859. package/dist/components/lr-currency-picker.d.ts +1 -0
  860. package/dist/components/lr-currency-picker.js +1 -1
  861. package/dist/components/lr-dashboard-grid.d.ts +1 -0
  862. package/dist/components/lr-dashboard-grid.js +1 -1
  863. package/dist/components/lr-data-grid.d.ts +1 -0
  864. package/dist/components/lr-data-grid.js +1 -1
  865. package/dist/components/lr-dataset-viewer.d.ts +1 -0
  866. package/dist/components/lr-dataset-viewer.js +1 -1
  867. package/dist/components/lr-date-input.d.ts +1 -0
  868. package/dist/components/lr-date-input.js +1 -1
  869. package/dist/components/lr-date-picker.d.ts +1 -0
  870. package/dist/components/lr-date-picker.js +1 -1
  871. package/dist/components/lr-details.d.ts +1 -0
  872. package/dist/components/lr-details.js +1 -1
  873. package/dist/components/lr-dialog.d.ts +1 -0
  874. package/dist/components/lr-dialog.js +1 -1
  875. package/dist/components/lr-diff-view.d.ts +1 -0
  876. package/dist/components/lr-diff-view.js +1 -1
  877. package/dist/components/lr-divider.d.ts +1 -0
  878. package/dist/components/lr-divider.js +1 -1
  879. package/dist/components/lr-dock-panel.d.ts +1 -0
  880. package/dist/components/lr-dock-panel.js +1 -1
  881. package/dist/components/lr-document-compare.d.ts +1 -0
  882. package/dist/components/lr-document-compare.js +1 -1
  883. package/dist/components/lr-document-library.d.ts +1 -0
  884. package/dist/components/lr-document-library.js +1 -1
  885. package/dist/components/lr-document-preview.d.ts +1 -0
  886. package/dist/components/lr-document-preview.js +1 -1
  887. package/dist/components/lr-document-viewer.d.ts +1 -0
  888. package/dist/components/lr-document-viewer.js +1 -1
  889. package/dist/components/lr-docx-viewer.d.ts +1 -0
  890. package/dist/components/lr-docx-viewer.js +1 -1
  891. package/dist/components/lr-doughnut-chart.d.ts +1 -0
  892. package/dist/components/lr-doughnut-chart.js +1 -1
  893. package/dist/components/lr-drawer.d.ts +1 -0
  894. package/dist/components/lr-drawer.js +1 -1
  895. package/dist/components/lr-drilldown-panel.d.ts +1 -0
  896. package/dist/components/lr-drilldown-panel.js +1 -1
  897. package/dist/components/lr-drop-zone.d.ts +1 -0
  898. package/dist/components/lr-drop-zone.js +1 -1
  899. package/dist/components/lr-dropdown-item.d.ts +1 -0
  900. package/dist/components/lr-dropdown-item.js +1 -1
  901. package/dist/components/lr-dropdown.d.ts +1 -0
  902. package/dist/components/lr-dropdown.js +1 -1
  903. package/dist/components/lr-ebook-viewer.d.ts +1 -0
  904. package/dist/components/lr-ebook-viewer.js +1 -1
  905. package/dist/components/lr-email-viewer.d.ts +1 -0
  906. package/dist/components/lr-email-viewer.js +1 -1
  907. package/dist/components/lr-embedding-explorer.d.ts +1 -0
  908. package/dist/components/lr-embedding-explorer.js +1 -1
  909. package/dist/components/lr-emoji-picker.d.ts +1 -0
  910. package/dist/components/lr-emoji-picker.js +1 -1
  911. package/dist/components/lr-empty.d.ts +1 -0
  912. package/dist/components/lr-empty.js +1 -1
  913. package/dist/components/lr-entity-card.d.ts +1 -0
  914. package/dist/components/lr-entity-card.js +1 -1
  915. package/dist/components/lr-entity-chip.d.ts +1 -0
  916. package/dist/components/lr-entity-chip.js +1 -1
  917. package/dist/components/lr-entity-dossier.d.ts +1 -0
  918. package/dist/components/lr-entity-dossier.js +1 -1
  919. package/dist/components/lr-env-list.d.ts +1 -0
  920. package/dist/components/lr-env-list.js +1 -1
  921. package/dist/components/lr-eval-dataset.d.ts +1 -0
  922. package/dist/components/lr-eval-dataset.js +1 -1
  923. package/dist/components/lr-eval-result.d.ts +1 -0
  924. package/dist/components/lr-eval-result.js +1 -1
  925. package/dist/components/lr-eval-run.d.ts +1 -0
  926. package/dist/components/lr-eval-run.js +1 -1
  927. package/dist/components/lr-export-button.d.ts +1 -0
  928. package/dist/components/lr-export-button.js +1 -1
  929. package/dist/components/lr-file-icon.d.ts +1 -0
  930. package/dist/components/lr-file-icon.js +1 -1
  931. package/dist/components/lr-file-input.d.ts +1 -0
  932. package/dist/components/lr-file-input.js +1 -1
  933. package/dist/components/lr-file-tree.d.ts +1 -0
  934. package/dist/components/lr-file-tree.js +1 -1
  935. package/dist/components/lr-filter-bar.d.ts +1 -0
  936. package/dist/components/lr-filter-bar.js +1 -1
  937. package/dist/components/lr-flag.d.ts +1 -0
  938. package/dist/components/lr-flag.js +1 -1
  939. package/dist/components/lr-flow-canvas.d.ts +1 -0
  940. package/dist/components/lr-flow-canvas.js +1 -1
  941. package/dist/components/lr-flow-controls.d.ts +1 -0
  942. package/dist/components/lr-flow-controls.js +1 -1
  943. package/dist/components/lr-flow-minimap.d.ts +1 -0
  944. package/dist/components/lr-flow-minimap.js +1 -1
  945. package/dist/components/lr-flow-node.d.ts +1 -0
  946. package/dist/components/lr-flow-node.js +1 -1
  947. package/dist/components/lr-flow-run-status.d.ts +1 -0
  948. package/dist/components/lr-flow-run-status.js +1 -1
  949. package/dist/components/lr-format-bytes.d.ts +1 -0
  950. package/dist/components/lr-format-bytes.js +1 -1
  951. package/dist/components/lr-format-date.d.ts +1 -0
  952. package/dist/components/lr-format-date.js +1 -1
  953. package/dist/components/lr-format-number.d.ts +1 -0
  954. package/dist/components/lr-format-number.js +1 -1
  955. package/dist/components/lr-funnel.d.ts +1 -0
  956. package/dist/components/lr-funnel.js +1 -1
  957. package/dist/components/lr-gauge.d.ts +1 -0
  958. package/dist/components/lr-gauge.js +1 -1
  959. package/dist/components/lr-generation-metrics.d.ts +1 -0
  960. package/dist/components/lr-generation-metrics.js +1 -1
  961. package/dist/components/lr-geojson-viewer.d.ts +1 -0
  962. package/dist/components/lr-geojson-viewer.js +1 -1
  963. package/dist/components/lr-graph-legend.d.ts +1 -0
  964. package/dist/components/lr-graph-legend.js +1 -1
  965. package/dist/components/lr-graph-query-builder.d.ts +1 -0
  966. package/dist/components/lr-graph-query-builder.js +1 -1
  967. package/dist/components/lr-graph.d.ts +1 -0
  968. package/dist/components/lr-graph.js +1 -1
  969. package/dist/components/lr-grounding-summary.d.ts +1 -0
  970. package/dist/components/lr-grounding-summary.js +1 -1
  971. package/dist/components/lr-handoff-divider.d.ts +1 -0
  972. package/dist/components/lr-handoff-divider.js +1 -1
  973. package/dist/components/lr-heatmap.d.ts +1 -0
  974. package/dist/components/lr-heatmap.js +1 -1
  975. package/dist/components/lr-help.d.ts +1 -0
  976. package/dist/components/lr-help.js +1 -0
  977. package/dist/components/lr-highlight-layer.d.ts +1 -0
  978. package/dist/components/lr-highlight-layer.js +1 -1
  979. package/dist/components/lr-histogram.d.ts +1 -0
  980. package/dist/components/lr-histogram.js +1 -1
  981. package/dist/components/lr-html-viewer.d.ts +1 -0
  982. package/dist/components/lr-html-viewer.js +1 -1
  983. package/dist/components/lr-icon-button.d.ts +1 -0
  984. package/dist/components/lr-icon-button.js +1 -1
  985. package/dist/components/lr-icon.d.ts +1 -0
  986. package/dist/components/lr-icon.js +1 -1
  987. package/dist/components/lr-image-comparer.d.ts +1 -0
  988. package/dist/components/lr-image-comparer.js +1 -1
  989. package/dist/components/lr-image-viewer.d.ts +1 -0
  990. package/dist/components/lr-image-viewer.js +1 -1
  991. package/dist/components/lr-include.d.ts +1 -0
  992. package/dist/components/lr-include.js +1 -1
  993. package/dist/components/lr-ingestion-queue.d.ts +1 -0
  994. package/dist/components/lr-ingestion-queue.js +1 -1
  995. package/dist/components/lr-input.d.ts +1 -0
  996. package/dist/components/lr-input.js +1 -1
  997. package/dist/components/lr-intersection-observer.d.ts +1 -0
  998. package/dist/components/lr-intersection-observer.js +1 -1
  999. package/dist/components/lr-json-schema-viewer.d.ts +1 -0
  1000. package/dist/components/lr-json-schema-viewer.js +1 -1
  1001. package/dist/components/lr-json-viewer.d.ts +1 -0
  1002. package/dist/components/lr-json-viewer.js +1 -1
  1003. package/dist/components/lr-kbd.d.ts +1 -0
  1004. package/dist/components/lr-kbd.js +1 -1
  1005. package/dist/components/lr-knowledge-base-admin.d.ts +1 -0
  1006. package/dist/components/lr-knowledge-base-admin.js +1 -1
  1007. package/dist/components/lr-knowledge-base.d.ts +1 -0
  1008. package/dist/components/lr-knowledge-base.js +1 -1
  1009. package/dist/components/lr-knowledge-graph-explorer.d.ts +1 -0
  1010. package/dist/components/lr-knowledge-graph-explorer.js +1 -1
  1011. package/dist/components/lr-known-date.d.ts +1 -0
  1012. package/dist/components/lr-known-date.js +1 -1
  1013. package/dist/components/lr-lightbox-item.d.ts +1 -0
  1014. package/dist/components/lr-lightbox-item.js +1 -0
  1015. package/dist/components/lr-lightbox.d.ts +1 -0
  1016. package/dist/components/lr-lightbox.js +1 -1
  1017. package/dist/components/lr-line-chart.d.ts +1 -0
  1018. package/dist/components/lr-line-chart.js +1 -1
  1019. package/dist/components/lr-lite-chart.d.ts +1 -0
  1020. package/dist/components/lr-lite-chart.js +1 -1
  1021. package/dist/components/lr-live-region.d.ts +1 -0
  1022. package/dist/components/lr-live-region.js +1 -1
  1023. package/dist/components/lr-locale-picker.d.ts +1 -0
  1024. package/dist/components/lr-locale-picker.js +1 -1
  1025. package/dist/components/lr-map-anchor.d.ts +1 -0
  1026. package/dist/components/lr-map-anchor.js +1 -1
  1027. package/dist/components/lr-map.d.ts +1 -0
  1028. package/dist/components/lr-map.js +1 -1
  1029. package/dist/components/lr-markdown-core.d.ts +1 -0
  1030. package/dist/components/lr-markdown-core.js +1 -1
  1031. package/dist/components/lr-markdown.d.ts +1 -0
  1032. package/dist/components/lr-markdown.js +1 -1
  1033. package/dist/components/lr-mcp-app.d.ts +1 -0
  1034. package/dist/components/lr-mcp-app.js +1 -1
  1035. package/dist/components/lr-media-card.d.ts +1 -0
  1036. package/dist/components/lr-media-card.js +1 -1
  1037. package/dist/components/lr-memory-panel.d.ts +1 -0
  1038. package/dist/components/lr-memory-panel.js +1 -1
  1039. package/dist/components/lr-mention-popover.d.ts +1 -0
  1040. package/dist/components/lr-mention-popover.js +1 -1
  1041. package/dist/components/lr-menu-item.d.ts +1 -0
  1042. package/dist/components/lr-menu-item.js +1 -1
  1043. package/dist/components/lr-menu-label.d.ts +1 -0
  1044. package/dist/components/lr-menu-label.js +1 -1
  1045. package/dist/components/lr-menu.d.ts +1 -0
  1046. package/dist/components/lr-menu.js +1 -1
  1047. package/dist/components/lr-menubar-item.d.ts +1 -0
  1048. package/dist/components/lr-menubar-item.js +1 -1
  1049. package/dist/components/lr-menubar.d.ts +1 -0
  1050. package/dist/components/lr-menubar.js +1 -1
  1051. package/dist/components/lr-message-actions.d.ts +1 -0
  1052. package/dist/components/lr-message-actions.js +1 -1
  1053. package/dist/components/lr-message-feedback.d.ts +1 -0
  1054. package/dist/components/lr-message-feedback.js +1 -1
  1055. package/dist/components/lr-message-parts.d.ts +1 -0
  1056. package/dist/components/lr-message-parts.js +1 -1
  1057. package/dist/components/lr-mind-map.d.ts +1 -0
  1058. package/dist/components/lr-mind-map.js +1 -1
  1059. package/dist/components/lr-model-select.d.ts +1 -0
  1060. package/dist/components/lr-model-select.js +1 -1
  1061. package/dist/components/lr-model-settings-panel.d.ts +1 -0
  1062. package/dist/components/lr-model-settings-panel.js +1 -1
  1063. package/dist/components/lr-model-viewer.d.ts +1 -0
  1064. package/dist/components/lr-model-viewer.js +1 -1
  1065. package/dist/components/lr-multi-split.d.ts +1 -0
  1066. package/dist/components/lr-multi-split.js +1 -1
  1067. package/dist/components/lr-mutation-observer.d.ts +1 -0
  1068. package/dist/components/lr-mutation-observer.js +1 -1
  1069. package/dist/components/lr-native-time-input.d.ts +1 -0
  1070. package/dist/components/lr-native-time-input.js +1 -1
  1071. package/dist/components/lr-navigation-menu-item.d.ts +1 -0
  1072. package/dist/components/lr-navigation-menu-item.js +1 -1
  1073. package/dist/components/lr-navigation-menu.d.ts +1 -0
  1074. package/dist/components/lr-navigation-menu.js +1 -1
  1075. package/dist/components/lr-neighbor-list.d.ts +1 -0
  1076. package/dist/components/lr-neighbor-list.js +1 -1
  1077. package/dist/components/lr-node-palette.d.ts +1 -0
  1078. package/dist/components/lr-node-palette.js +1 -1
  1079. package/dist/components/lr-notebook-viewer.d.ts +1 -0
  1080. package/dist/components/lr-notebook-viewer.js +1 -1
  1081. package/dist/components/lr-number-input.d.ts +1 -0
  1082. package/dist/components/lr-number-input.js +1 -1
  1083. package/dist/components/lr-number-ticker.d.ts +1 -0
  1084. package/dist/components/lr-number-ticker.js +1 -0
  1085. package/dist/components/lr-option.d.ts +1 -0
  1086. package/dist/components/lr-option.js +1 -1
  1087. package/dist/components/lr-otp-input.d.ts +1 -0
  1088. package/dist/components/lr-otp-input.js +1 -1
  1089. package/dist/components/lr-page-rail.d.ts +1 -0
  1090. package/dist/components/lr-page-rail.js +1 -1
  1091. package/dist/components/lr-page.d.ts +1 -0
  1092. package/dist/components/lr-page.js +1 -1
  1093. package/dist/components/lr-pagination.d.ts +1 -0
  1094. package/dist/components/lr-pagination.js +1 -1
  1095. package/dist/components/lr-pan-zoom.d.ts +1 -0
  1096. package/dist/components/lr-pan-zoom.js +1 -1
  1097. package/dist/components/lr-path-strip.d.ts +1 -0
  1098. package/dist/components/lr-path-strip.js +1 -1
  1099. package/dist/components/lr-pdf-viewer.d.ts +1 -0
  1100. package/dist/components/lr-pdf-viewer.js +1 -1
  1101. package/dist/components/lr-permission-grant.d.ts +1 -0
  1102. package/dist/components/lr-permission-grant.js +1 -1
  1103. package/dist/components/lr-permission-rules.d.ts +1 -0
  1104. package/dist/components/lr-permission-rules.js +1 -1
  1105. package/dist/components/lr-phone-input.d.ts +1 -0
  1106. package/dist/components/lr-phone-input.js +1 -1
  1107. package/dist/components/lr-pie-chart.d.ts +1 -0
  1108. package/dist/components/lr-pie-chart.js +1 -1
  1109. package/dist/components/lr-polar-area-chart.d.ts +1 -0
  1110. package/dist/components/lr-polar-area-chart.js +1 -1
  1111. package/dist/components/lr-policy-summary.d.ts +1 -0
  1112. package/dist/components/lr-policy-summary.js +1 -1
  1113. package/dist/components/lr-poll-status.d.ts +1 -0
  1114. package/dist/components/lr-poll-status.js +1 -1
  1115. package/dist/components/lr-popover.d.ts +1 -0
  1116. package/dist/components/lr-popover.js +1 -1
  1117. package/dist/components/lr-popup.d.ts +1 -0
  1118. package/dist/components/lr-popup.js +1 -1
  1119. package/dist/components/lr-pptx-viewer.d.ts +1 -0
  1120. package/dist/components/lr-pptx-viewer.js +1 -1
  1121. package/dist/components/lr-progress-bar.d.ts +1 -0
  1122. package/dist/components/lr-progress-bar.js +1 -1
  1123. package/dist/components/lr-progress-ring.d.ts +1 -0
  1124. package/dist/components/lr-progress-ring.js +1 -1
  1125. package/dist/components/lr-prompt-input.d.ts +1 -0
  1126. package/dist/components/lr-prompt-input.js +1 -1
  1127. package/dist/components/lr-prompt-queue.d.ts +1 -0
  1128. package/dist/components/lr-prompt-queue.js +1 -1
  1129. package/dist/components/lr-prompt-studio.d.ts +1 -0
  1130. package/dist/components/lr-prompt-studio.js +1 -1
  1131. package/dist/components/lr-provenance-panel.d.ts +1 -0
  1132. package/dist/components/lr-provenance-panel.js +1 -1
  1133. package/dist/components/lr-push-to-talk.d.ts +1 -0
  1134. package/dist/components/lr-push-to-talk.js +1 -1
  1135. package/dist/components/lr-qr-code.d.ts +1 -0
  1136. package/dist/components/lr-qr-code.js +1 -1
  1137. package/dist/components/lr-radar-chart.d.ts +1 -0
  1138. package/dist/components/lr-radar-chart.js +1 -1
  1139. package/dist/components/lr-radio-button.d.ts +1 -0
  1140. package/dist/components/lr-radio-button.js +1 -1
  1141. package/dist/components/lr-radio-group.d.ts +1 -0
  1142. package/dist/components/lr-radio-group.js +1 -1
  1143. package/dist/components/lr-radio.d.ts +1 -0
  1144. package/dist/components/lr-radio.js +1 -1
  1145. package/dist/components/lr-rag-answer.d.ts +1 -0
  1146. package/dist/components/lr-rag-answer.js +1 -1
  1147. package/dist/components/lr-rag-eval-dashboard.d.ts +1 -0
  1148. package/dist/components/lr-rag-eval-dashboard.js +1 -1
  1149. package/dist/components/lr-random-content.d.ts +1 -0
  1150. package/dist/components/lr-random-content.js +1 -1
  1151. package/dist/components/lr-rating.d.ts +1 -0
  1152. package/dist/components/lr-rating.js +1 -1
  1153. package/dist/components/lr-realtime-session.d.ts +1 -0
  1154. package/dist/components/lr-realtime-session.js +1 -1
  1155. package/dist/components/lr-relative-time.d.ts +1 -0
  1156. package/dist/components/lr-relative-time.js +1 -1
  1157. package/dist/components/lr-reorder-item.d.ts +1 -0
  1158. package/dist/components/lr-reorder-item.js +1 -1
  1159. package/dist/components/lr-reorder-list.d.ts +1 -0
  1160. package/dist/components/lr-reorder-list.js +1 -1
  1161. package/dist/components/lr-research-progress.d.ts +1 -0
  1162. package/dist/components/lr-research-progress.js +1 -1
  1163. package/dist/components/lr-resize-observer.d.ts +1 -0
  1164. package/dist/components/lr-resize-observer.js +1 -1
  1165. package/dist/components/lr-responsive-panel.d.ts +1 -0
  1166. package/dist/components/lr-responsive-panel.js +1 -1
  1167. package/dist/components/lr-result-card.d.ts +1 -0
  1168. package/dist/components/lr-result-card.js +1 -1
  1169. package/dist/components/lr-result-field.d.ts +1 -0
  1170. package/dist/components/lr-result-field.js +1 -1
  1171. package/dist/components/lr-retrieval-compare.d.ts +1 -0
  1172. package/dist/components/lr-retrieval-compare.js +1 -1
  1173. package/dist/components/lr-retrieval-results.d.ts +1 -0
  1174. package/dist/components/lr-retrieval-results.js +1 -1
  1175. package/dist/components/lr-retrieval-search.d.ts +1 -0
  1176. package/dist/components/lr-retrieval-search.js +1 -1
  1177. package/dist/components/lr-retrieval-trace.d.ts +1 -0
  1178. package/dist/components/lr-retrieval-trace.js +1 -1
  1179. package/dist/components/lr-rubric-form.d.ts +1 -0
  1180. package/dist/components/lr-rubric-form.js +1 -1
  1181. package/dist/components/lr-sankey.d.ts +1 -0
  1182. package/dist/components/lr-sankey.js +1 -0
  1183. package/dist/components/lr-scatter-chart.d.ts +1 -0
  1184. package/dist/components/lr-scatter-chart.js +1 -1
  1185. package/dist/components/lr-scroller.d.ts +1 -0
  1186. package/dist/components/lr-scroller.js +1 -1
  1187. package/dist/components/lr-segmented.d.ts +1 -0
  1188. package/dist/components/lr-segmented.js +1 -1
  1189. package/dist/components/lr-select.d.ts +1 -0
  1190. package/dist/components/lr-select.js +1 -1
  1191. package/dist/components/lr-selection-toolbar.d.ts +1 -0
  1192. package/dist/components/lr-selection-toolbar.js +1 -1
  1193. package/dist/components/lr-sequence-playback.d.ts +1 -0
  1194. package/dist/components/lr-sequence-playback.js +1 -1
  1195. package/dist/components/lr-sequence-strip.d.ts +1 -0
  1196. package/dist/components/lr-sequence-strip.js +1 -1
  1197. package/dist/components/lr-signature-pad.d.ts +1 -0
  1198. package/dist/components/lr-signature-pad.js +1 -1
  1199. package/dist/components/lr-skeleton.d.ts +1 -0
  1200. package/dist/components/lr-skeleton.js +1 -1
  1201. package/dist/components/lr-slider.d.ts +1 -0
  1202. package/dist/components/lr-slider.js +1 -1
  1203. package/dist/components/lr-source-card.d.ts +1 -0
  1204. package/dist/components/lr-source-card.js +1 -1
  1205. package/dist/components/lr-source-list.d.ts +1 -0
  1206. package/dist/components/lr-source-list.js +1 -1
  1207. package/dist/components/lr-source-picker.d.ts +1 -0
  1208. package/dist/components/lr-source-picker.js +1 -1
  1209. package/dist/components/lr-span-waterfall.d.ts +1 -0
  1210. package/dist/components/lr-span-waterfall.js +1 -1
  1211. package/dist/components/lr-sparkline.d.ts +1 -0
  1212. package/dist/components/lr-sparkline.js +1 -1
  1213. package/dist/components/lr-spinner.d.ts +1 -0
  1214. package/dist/components/lr-spinner.js +1 -1
  1215. package/dist/components/lr-split-panel.d.ts +1 -0
  1216. package/dist/components/lr-split-panel.js +1 -1
  1217. package/dist/components/lr-spreadsheet-viewer.d.ts +1 -0
  1218. package/dist/components/lr-spreadsheet-viewer.js +1 -1
  1219. package/dist/components/lr-stack-trace.d.ts +1 -0
  1220. package/dist/components/lr-stack-trace.js +1 -1
  1221. package/dist/components/lr-stat.d.ts +1 -0
  1222. package/dist/components/lr-stat.js +1 -1
  1223. package/dist/components/lr-step.d.ts +1 -0
  1224. package/dist/components/lr-step.js +1 -0
  1225. package/dist/components/lr-stepper.d.ts +1 -0
  1226. package/dist/components/lr-stepper.js +1 -1
  1227. package/dist/components/lr-stream-status.d.ts +1 -0
  1228. package/dist/components/lr-stream-status.js +1 -1
  1229. package/dist/components/lr-streaming-text-core.d.ts +1 -0
  1230. package/dist/components/lr-streaming-text-core.js +1 -1
  1231. package/dist/components/lr-streaming-text.d.ts +1 -0
  1232. package/dist/components/lr-streaming-text.js +1 -1
  1233. package/dist/components/lr-style-panel.d.ts +1 -0
  1234. package/dist/components/lr-style-panel.js +1 -0
  1235. package/dist/components/lr-subagent-panel.d.ts +1 -0
  1236. package/dist/components/lr-subagent-panel.js +1 -1
  1237. package/dist/components/lr-suggestion-chips.d.ts +1 -0
  1238. package/dist/components/lr-suggestion-chips.js +1 -1
  1239. package/dist/components/lr-svg-viewer.d.ts +1 -0
  1240. package/dist/components/lr-svg-viewer.js +1 -1
  1241. package/dist/components/lr-swatch-picker.d.ts +1 -0
  1242. package/dist/components/lr-swatch-picker.js +1 -1
  1243. package/dist/components/lr-switch.d.ts +1 -0
  1244. package/dist/components/lr-switch.js +1 -1
  1245. package/dist/components/lr-tab-group.d.ts +1 -0
  1246. package/dist/components/lr-tab-group.js +1 -1
  1247. package/dist/components/lr-tab-panel.d.ts +1 -0
  1248. package/dist/components/lr-tab-panel.js +1 -1
  1249. package/dist/components/lr-tab.d.ts +1 -0
  1250. package/dist/components/lr-tab.js +1 -1
  1251. package/dist/components/lr-table.d.ts +1 -0
  1252. package/dist/components/lr-table.js +1 -1
  1253. package/dist/components/lr-tag.d.ts +1 -0
  1254. package/dist/components/lr-tag.js +1 -1
  1255. package/dist/components/lr-task-list.d.ts +1 -0
  1256. package/dist/components/lr-task-list.js +1 -1
  1257. package/dist/components/lr-terminal.d.ts +1 -0
  1258. package/dist/components/lr-terminal.js +1 -1
  1259. package/dist/components/lr-test-results.d.ts +1 -0
  1260. package/dist/components/lr-test-results.js +1 -1
  1261. package/dist/components/lr-textarea.d.ts +1 -0
  1262. package/dist/components/lr-textarea.js +1 -1
  1263. package/dist/components/lr-thinking-panel.d.ts +1 -0
  1264. package/dist/components/lr-thinking-panel.js +1 -1
  1265. package/dist/components/lr-thread-list.d.ts +1 -0
  1266. package/dist/components/lr-thread-list.js +1 -1
  1267. package/dist/components/lr-time-input.d.ts +1 -0
  1268. package/dist/components/lr-time-input.js +1 -1
  1269. package/dist/components/lr-time-range.d.ts +1 -0
  1270. package/dist/components/lr-time-range.js +1 -1
  1271. package/dist/components/lr-time-zone-picker.d.ts +1 -0
  1272. package/dist/components/lr-time-zone-picker.js +1 -1
  1273. package/dist/components/lr-timeline-item.d.ts +1 -0
  1274. package/dist/components/lr-timeline-item.js +1 -1
  1275. package/dist/components/lr-timeline.d.ts +1 -0
  1276. package/dist/components/lr-timeline.js +1 -1
  1277. package/dist/components/lr-toast-item.d.ts +1 -0
  1278. package/dist/components/lr-toast-item.js +1 -1
  1279. package/dist/components/lr-toast.d.ts +1 -0
  1280. package/dist/components/lr-toast.js +1 -1
  1281. package/dist/components/lr-toggle-group.d.ts +1 -0
  1282. package/dist/components/lr-toggle-group.js +1 -1
  1283. package/dist/components/lr-toggle.d.ts +1 -0
  1284. package/dist/components/lr-toggle.js +1 -1
  1285. package/dist/components/lr-token-input.d.ts +1 -0
  1286. package/dist/components/lr-token-input.js +1 -1
  1287. package/dist/components/lr-tool-approval-dialog.d.ts +1 -0
  1288. package/dist/components/lr-tool-approval-dialog.js +1 -1
  1289. package/dist/components/lr-tool-call-block.d.ts +1 -0
  1290. package/dist/components/lr-tool-call-block.js +1 -1
  1291. package/dist/components/lr-tool-call-chip.d.ts +1 -0
  1292. package/dist/components/lr-tool-call-chip.js +1 -1
  1293. package/dist/components/lr-tool-param-form.d.ts +1 -0
  1294. package/dist/components/lr-tool-param-form.js +1 -1
  1295. package/dist/components/lr-tool-result-dialog.d.ts +1 -0
  1296. package/dist/components/lr-tool-result-dialog.js +1 -1
  1297. package/dist/components/lr-tool-result-view.d.ts +1 -0
  1298. package/dist/components/lr-tool-result-view.js +1 -1
  1299. package/dist/components/lr-tool-select-dialog.d.ts +1 -0
  1300. package/dist/components/lr-tool-select-dialog.js +1 -1
  1301. package/dist/components/lr-tool-timeline.d.ts +1 -0
  1302. package/dist/components/lr-tool-timeline.js +1 -1
  1303. package/dist/components/lr-tooltip.d.ts +1 -0
  1304. package/dist/components/lr-tooltip.js +1 -1
  1305. package/dist/components/lr-tour.d.ts +1 -0
  1306. package/dist/components/lr-tour.js +1 -1
  1307. package/dist/components/lr-trace-tree.d.ts +1 -0
  1308. package/dist/components/lr-trace-tree.js +1 -1
  1309. package/dist/components/lr-transcript-feed.d.ts +1 -0
  1310. package/dist/components/lr-transcript-feed.js +1 -1
  1311. package/dist/components/lr-tree-item.d.ts +1 -0
  1312. package/dist/components/lr-tree-item.js +1 -1
  1313. package/dist/components/lr-tree.d.ts +1 -0
  1314. package/dist/components/lr-tree.js +1 -1
  1315. package/dist/components/lr-treemap.d.ts +1 -0
  1316. package/dist/components/lr-treemap.js +1 -0
  1317. package/dist/components/lr-typing-indicator.d.ts +1 -0
  1318. package/dist/components/lr-typing-indicator.js +1 -1
  1319. package/dist/components/lr-unit-picker.d.ts +1 -0
  1320. package/dist/components/lr-unit-picker.js +1 -1
  1321. package/dist/components/lr-usage-badge.d.ts +1 -0
  1322. package/dist/components/lr-usage-badge.js +1 -1
  1323. package/dist/components/lr-video-playlist.d.ts +1 -0
  1324. package/dist/components/lr-video-playlist.js +1 -1
  1325. package/dist/components/lr-video.d.ts +1 -0
  1326. package/dist/components/lr-video.js +1 -1
  1327. package/dist/components/lr-virtual-list.d.ts +1 -0
  1328. package/dist/components/lr-virtual-list.js +1 -1
  1329. package/dist/components/lr-visually-hidden.d.ts +1 -0
  1330. package/dist/components/lr-visually-hidden.js +1 -1
  1331. package/dist/components/lr-voice-picker.d.ts +1 -0
  1332. package/dist/components/lr-voice-picker.js +1 -1
  1333. package/dist/components/lr-widget-renderer.d.ts +1 -0
  1334. package/dist/components/lr-widget-renderer.js +1 -1
  1335. package/dist/components/lr-widget.d.ts +1 -0
  1336. package/dist/components/lr-widget.js +1 -1
  1337. package/dist/components/lr-word-cloud.d.ts +1 -0
  1338. package/dist/components/lr-word-cloud.js +1 -1
  1339. package/dist/components/lr-xml-viewer.d.ts +1 -0
  1340. package/dist/components/lr-xml-viewer.js +1 -1
  1341. package/dist/components/lr-zoomable-frame.d.ts +1 -0
  1342. package/dist/components/lr-zoomable-frame.js +1 -1
  1343. package/dist/components/media/animated-image/animated-image.class.d.ts +4 -1
  1344. package/dist/components/media/animated-image/animated-image.class.js +4 -24
  1345. package/dist/components/media/animated-image/animated-image.styles.js +1 -1
  1346. package/dist/components/media/animation/animation-catalog.js +1 -1
  1347. package/dist/components/media/animation/animation.class.d.ts +37 -3
  1348. package/dist/components/media/animation/animation.class.js +1 -1
  1349. package/dist/components/media/attachment-chip/attachment-chip.class.d.ts +29 -18
  1350. package/dist/components/media/attachment-chip/attachment-chip.class.js +9 -51
  1351. package/dist/components/media/attachment-chip/attachment-chip.styles.js +1 -1
  1352. package/dist/components/media/attachment-chip/file-size.d.ts +1 -11
  1353. package/dist/components/media/attachment-chip/file-size.js +1 -1
  1354. package/dist/components/media/attachment-trigger/attachment-trigger.class.d.ts +25 -6
  1355. package/dist/components/media/attachment-trigger/attachment-trigger.class.js +13 -60
  1356. package/dist/components/media/attachment-trigger/attachment-trigger.styles.js +1 -1
  1357. package/dist/components/media/av-player/av-cue-source.js +1 -1
  1358. package/dist/components/media/av-player/av-player.class.d.ts +26 -7
  1359. package/dist/components/media/av-player/av-player.class.js +13 -87
  1360. package/dist/components/media/av-player/av-player.styles.js +1 -1
  1361. package/dist/components/media/avatar/avatar.class.d.ts +1 -1
  1362. package/dist/components/media/avatar/avatar.class.js +5 -19
  1363. package/dist/components/media/avatar-group/avatar-group.class.d.ts +3 -1
  1364. package/dist/components/media/avatar-group/avatar-group.class.js +4 -11
  1365. package/dist/components/media/avatar-group/avatar-group.styles.js +1 -1
  1366. package/dist/components/media/drop-zone/drop-zone.class.d.ts +10 -5
  1367. package/dist/components/media/drop-zone/drop-zone.class.js +6 -12
  1368. package/dist/components/media/drop-zone/drop-zone.styles.js +1 -1
  1369. package/dist/components/media/file-icon/file-icon.class.d.ts +5 -1
  1370. package/dist/components/media/file-icon/file-icon.class.js +4 -13
  1371. package/dist/components/media/file-icon/file-icon.styles.js +1 -1
  1372. package/dist/components/media/file-icon/file-type-metadata.js +1 -1
  1373. package/dist/components/media/file-input/file-input.class.d.ts +50 -12
  1374. package/dist/components/media/file-input/file-input.class.js +11 -62
  1375. package/dist/components/media/file-input/file-input.styles.js +1 -1
  1376. package/dist/components/media/flag/flag-peer-bulk-standard.d.ts +1 -1
  1377. package/dist/components/media/flag/flag-peer-bulk-standard.js +1 -1
  1378. package/dist/components/media/flag/flag-peer-bulk.d.ts +1 -1
  1379. package/dist/components/media/flag/flag-peer-bulk.js +1 -1
  1380. package/dist/components/media/flag/flag-peer.d.ts +1 -1
  1381. package/dist/components/media/flag/flag-peer.js +1 -1
  1382. package/dist/components/media/flag/flag-url-resolver.d.ts +4 -2
  1383. package/dist/components/media/flag/flag-url-resolver.js +1 -1
  1384. package/dist/components/media/flag/flag.class.d.ts +17 -4
  1385. package/dist/components/media/flag/flag.class.js +5 -14
  1386. package/dist/components/media/flag/language-map.d.ts +1 -1
  1387. package/dist/components/media/image-comparer/image-comparer.class.d.ts +20 -2
  1388. package/dist/components/media/image-comparer/image-comparer.class.js +4 -30
  1389. package/dist/components/media/image-comparer/image-comparer.styles.js +1 -1
  1390. package/dist/components/media/image-viewer/image-viewer.class.d.ts +46 -22
  1391. package/dist/components/media/image-viewer/image-viewer.class.js +7 -59
  1392. package/dist/components/media/image-viewer/image-viewer.styles.js +1 -1
  1393. package/dist/components/media/index.d.ts +1 -1
  1394. package/dist/components/media/index.js +1 -1
  1395. package/dist/components/media/lightbox/lightbox-item.class.d.ts +57 -0
  1396. package/dist/components/media/lightbox/lightbox-item.class.js +9 -0
  1397. package/dist/components/media/lightbox/lightbox-item.styles.js +1 -0
  1398. package/dist/components/media/lightbox/lightbox-source.js +1 -1
  1399. package/dist/components/media/lightbox/lightbox.class.d.ts +97 -24
  1400. package/dist/components/media/lightbox/lightbox.class.js +19 -47
  1401. package/dist/components/media/lightbox/lightbox.styles.js +1 -1
  1402. package/dist/components/media/map/map-anchor-avoid.js +1 -0
  1403. package/dist/components/media/map/map-anchor-controller.js +1 -1
  1404. package/dist/components/media/map/map-anchor.class.d.ts +21 -13
  1405. package/dist/components/media/map/map-anchor.class.js +1 -3
  1406. package/dist/components/media/map/map-anchor.styles.js +1 -1
  1407. package/dist/components/media/map/map-basemap-order.js +1 -1
  1408. package/dist/components/media/map/map-camera.d.ts +3 -3
  1409. package/dist/components/media/map/map-camera.js +1 -1
  1410. package/dist/components/media/map/map-canvas-target.js +1 -1
  1411. package/dist/components/media/map/map-control-chrome.js +1 -1
  1412. package/dist/components/media/map/map-control-options.d.ts +1 -1
  1413. package/dist/components/media/map/map-control-options.js +1 -1
  1414. package/dist/components/media/map/map-controls-lifecycle.js +1 -1
  1415. package/dist/components/media/map/map-data-layer-model.d.ts +7 -11
  1416. package/dist/components/media/map/map-data-layer-model.js +1 -1
  1417. package/dist/components/media/map/map-data-layer-runtime.js +1 -0
  1418. package/dist/components/media/map/map-descriptor-values.js +1 -0
  1419. package/dist/components/media/map/map-drawing-controller.js +1 -1
  1420. package/dist/components/media/map/map-drawing-gesture.js +1 -1
  1421. package/dist/components/media/map/map-drawing-pan.js +1 -1
  1422. package/dist/components/media/map/map-drawing-pointer.js +1 -1
  1423. package/dist/components/media/map/map-empty-style.js +1 -1
  1424. package/dist/components/media/map/map-external-layer-builder.js +1 -0
  1425. package/dist/components/media/map/map-feature-loader.js +1 -1
  1426. package/dist/components/media/map/map-geojson-diff.js +1 -1
  1427. package/dist/components/media/map/map-hash.js +1 -1
  1428. package/dist/components/media/map/map-hit-test.d.ts +4 -6
  1429. package/dist/components/media/map/map-hit-test.js +1 -1
  1430. package/dist/components/media/map/map-image-admission.js +1 -1
  1431. package/dist/components/media/map/map-image-export.js +3 -3
  1432. package/dist/components/media/map/map-image-limits.js +1 -1
  1433. package/dist/components/media/map/map-image-provider.js +1 -1
  1434. package/dist/components/media/map/map-images.d.ts +5 -1
  1435. package/dist/components/media/map/map-images.js +1 -1
  1436. package/dist/components/media/map/map-interaction-options.js +1 -1
  1437. package/dist/components/media/map/map-label-layer.d.ts +3 -0
  1438. package/dist/components/media/map/map-label-layer.js +1 -0
  1439. package/dist/components/media/map/map-loader.d.ts +2 -8
  1440. package/dist/components/media/map/map-loader.js +1 -1
  1441. package/dist/components/media/map/map-overlay-admission.js +1 -1
  1442. package/dist/components/media/map/map-owned-features.js +1 -1
  1443. package/dist/components/media/map/map-resource-feature-loaders.js +1 -1
  1444. package/dist/components/media/map/map-scene-configuration.js +1 -1
  1445. package/dist/components/media/map/map-scene-controls.js +1 -1
  1446. package/dist/components/media/map/map-scene-line-encoding.js +1 -1
  1447. package/dist/components/media/map/map-scene-line-layer.js +1 -1
  1448. package/dist/components/media/map/map-scene-lines.js +1 -1
  1449. package/dist/components/media/map/map-scene-position-registry.js +1 -1
  1450. package/dist/components/media/map/map-scene-render-controller.js +1 -1
  1451. package/dist/components/media/map/map-scene-render-input.js +1 -1
  1452. package/dist/components/media/map/map-style-input.js +1 -1
  1453. package/dist/components/media/map/map-vector-style-compiler.js +1 -0
  1454. package/dist/components/media/map/map-vector-style.d.ts +4 -5
  1455. package/dist/components/media/map/map-vector-style.js +1 -1
  1456. package/dist/components/media/map/map.class.d.ts +299 -29
  1457. package/dist/components/media/map/map.class.js +33 -123
  1458. package/dist/components/media/map/map.styles.js +1 -1
  1459. package/dist/components/media/media-card/media-card.class.d.ts +6 -3
  1460. package/dist/components/media/media-card/media-card.class.js +8 -42
  1461. package/dist/components/media/media-card/media-card.styles.js +1 -1
  1462. package/dist/components/media/pan-zoom/pan-zoom.class.d.ts +41 -7
  1463. package/dist/components/media/pan-zoom/pan-zoom.class.js +5 -17
  1464. package/dist/components/media/pan-zoom/pan-zoom.styles.js +1 -1
  1465. package/dist/components/media/qr-code/qr-code-loader.js +1 -1
  1466. package/dist/components/media/qr-code/qr-code.class.d.ts +1 -1
  1467. package/dist/components/media/qr-code/qr-code.class.js +3 -9
  1468. package/dist/components/media/sequence-playback/sequence-playback.class.d.ts +15 -2
  1469. package/dist/components/media/sequence-playback/sequence-playback.class.js +4 -25
  1470. package/dist/components/media/sequence-playback/sequence-playback.styles.js +1 -1
  1471. package/dist/components/media/video/video-thumbnails.js +5 -0
  1472. package/dist/components/media/video/video.class.d.ts +43 -13
  1473. package/dist/components/media/video/video.class.js +24 -117
  1474. package/dist/components/media/video/video.styles.js +1 -1
  1475. package/dist/components/media/video-playlist/video-playlist.class.d.ts +9 -3
  1476. package/dist/components/media/video-playlist/video-playlist.class.js +4 -17
  1477. package/dist/components/media/video-playlist/video-playlist.styles.js +1 -1
  1478. package/dist/components/media/zoomable-frame/zoomable-frame.class.d.ts +29 -4
  1479. package/dist/components/media/zoomable-frame/zoomable-frame.class.js +4 -38
  1480. package/dist/components/media/zoomable-frame/zoomable-frame.styles.js +1 -1
  1481. package/dist/components/overlays/alert/alert.class.d.ts +32 -7
  1482. package/dist/components/overlays/alert/alert.class.js +5 -18
  1483. package/dist/components/overlays/alert/alert.styles.js +1 -1
  1484. package/dist/components/overlays/badge/badge.class.d.ts +28 -7
  1485. package/dist/components/overlays/badge/badge.class.js +5 -6
  1486. package/dist/components/overlays/badge/badge.styles.js +1 -1
  1487. package/dist/components/overlays/badge/tag.class.d.ts +7 -3
  1488. package/dist/components/overlays/badge/tag.class.js +1 -7
  1489. package/dist/components/overlays/badge/tag.styles.js +1 -1
  1490. package/dist/components/overlays/callout/callout.class.d.ts +31 -12
  1491. package/dist/components/overlays/callout/callout.class.js +4 -24
  1492. package/dist/components/overlays/callout/callout.styles.js +1 -1
  1493. package/dist/components/overlays/chip/chip-group.class.d.ts +42 -4
  1494. package/dist/components/overlays/chip/chip-group.class.js +5 -18
  1495. package/dist/components/overlays/chip/chip-group.styles.js +1 -1
  1496. package/dist/components/overlays/chip/chip.class.d.ts +11 -4
  1497. package/dist/components/overlays/chip/chip.class.js +3 -16
  1498. package/dist/components/overlays/chip/chip.styles.js +1 -1
  1499. package/dist/components/overlays/context-menu/context-menu.class.d.ts +23 -2
  1500. package/dist/components/overlays/context-menu/context-menu.class.js +4 -28
  1501. package/dist/components/overlays/dialog/confirm.d.ts +22 -5
  1502. package/dist/components/overlays/dialog/confirm.js +1 -12
  1503. package/dist/components/overlays/dialog/dialog.class.d.ts +52 -8
  1504. package/dist/components/overlays/dialog/dialog.class.js +5 -22
  1505. package/dist/components/overlays/dialog/dialog.styles.js +1 -1
  1506. package/dist/components/overlays/dialog/prompt.d.ts +60 -0
  1507. package/dist/components/overlays/dialog/prompt.js +1 -0
  1508. package/dist/components/overlays/drawer/drawer.class.d.ts +21 -4
  1509. package/dist/components/overlays/drawer/drawer.class.js +1 -1
  1510. package/dist/components/overlays/empty/empty.class.d.ts +23 -6
  1511. package/dist/components/overlays/empty/empty.class.js +2 -7
  1512. package/dist/components/overlays/help/help.class.d.ts +31 -0
  1513. package/dist/components/overlays/help/help.class.js +3 -0
  1514. package/dist/components/overlays/index.d.ts +1 -1
  1515. package/dist/components/overlays/index.js +1 -1
  1516. package/dist/components/overlays/kbd/kbd.class.d.ts +3 -0
  1517. package/dist/components/overlays/kbd/kbd.class.js +3 -9
  1518. package/dist/components/overlays/overlay/dropdown.class.d.ts +9 -6
  1519. package/dist/components/overlays/overlay/dropdown.class.js +2 -2
  1520. package/dist/components/overlays/overlay/overlay.styles.js +1 -1
  1521. package/dist/components/overlays/overlay/popover-glass.styles.js +1 -1
  1522. package/dist/components/overlays/overlay/popover.class.d.ts +72 -14
  1523. package/dist/components/overlays/overlay/popover.class.js +3 -9
  1524. package/dist/components/overlays/overlay/tooltip.class.d.ts +39 -12
  1525. package/dist/components/overlays/overlay/tooltip.class.js +4 -10
  1526. package/dist/components/overlays/popup/popup.class.js +2 -2
  1527. package/dist/components/overlays/progress/progress-bar.class.js +1 -3
  1528. package/dist/components/overlays/progress/progress-base.d.ts +7 -1
  1529. package/dist/components/overlays/progress/progress-base.js +1 -1
  1530. package/dist/components/overlays/progress/progress-ring.class.js +2 -5
  1531. package/dist/components/overlays/progress/progress.styles.js +1 -1
  1532. package/dist/components/overlays/rating/rating.class.d.ts +24 -7
  1533. package/dist/components/overlays/rating/rating.class.js +5 -21
  1534. package/dist/components/overlays/rating/rating.styles.js +1 -1
  1535. package/dist/components/overlays/skeleton/skeleton.class.d.ts +8 -2
  1536. package/dist/components/overlays/skeleton/skeleton.class.js +1 -1
  1537. package/dist/components/overlays/spinner/spinner.class.d.ts +5 -1
  1538. package/dist/components/overlays/spinner/spinner.class.js +2 -2
  1539. package/dist/components/overlays/spinner/spinner.styles.js +1 -1
  1540. package/dist/components/overlays/toast/toast-item.class.d.ts +18 -3
  1541. package/dist/components/overlays/toast/toast-item.class.js +7 -38
  1542. package/dist/components/overlays/toast/toast-item.styles.js +1 -1
  1543. package/dist/components/overlays/toast/toast-region-protocol.d.ts +2 -0
  1544. package/dist/components/overlays/toast/toast.class.d.ts +11 -3
  1545. package/dist/components/overlays/toast/toast.class.js +2 -2
  1546. package/dist/components/overlays/toast/toaster.js +1 -1
  1547. package/dist/components/retrieval/chunk-inspector/chunk-inspector.class.d.ts +8 -2
  1548. package/dist/components/retrieval/chunk-inspector/chunk-inspector.class.js +14 -52
  1549. package/dist/components/retrieval/chunk-inspector/chunk-inspector.styles.js +1 -1
  1550. package/dist/components/retrieval/citation-badge/citation-badge.class.d.ts +2 -2
  1551. package/dist/components/retrieval/citation-badge/citation-badge.class.js +5 -26
  1552. package/dist/components/retrieval/citation-badge/citation-badge.styles.js +1 -1
  1553. package/dist/components/retrieval/claim-evidence/claim-evidence.class.js +8 -30
  1554. package/dist/components/retrieval/claim-evidence/claim-evidence.styles.js +1 -1
  1555. package/dist/components/retrieval/community-card/community-card.class.d.ts +6 -3
  1556. package/dist/components/retrieval/community-card/community-card.class.js +9 -21
  1557. package/dist/components/retrieval/community-card/community-card.styles.js +1 -1
  1558. package/dist/components/retrieval/embedding-explorer/embedding-explorer-engine.js +1 -1
  1559. package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.d.ts +11 -8
  1560. package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.js +20 -80
  1561. package/dist/components/retrieval/embedding-explorer/embedding-explorer.styles.js +1 -1
  1562. package/dist/components/retrieval/entity-card/entity-card.class.d.ts +6 -3
  1563. package/dist/components/retrieval/entity-card/entity-card.class.js +9 -29
  1564. package/dist/components/retrieval/entity-card/entity-card.styles.js +1 -1
  1565. package/dist/components/retrieval/entity-chip/entity-chip.class.d.ts +2 -2
  1566. package/dist/components/retrieval/entity-chip/entity-chip.class.js +4 -25
  1567. package/dist/components/retrieval/entity-chip/entity-chip.styles.js +1 -1
  1568. package/dist/components/retrieval/entity-dossier/entity-dossier.class.d.ts +17 -15
  1569. package/dist/components/retrieval/entity-dossier/entity-dossier.class.js +12 -52
  1570. package/dist/components/retrieval/graph/graph-builtin-3d-engine.js +1 -1
  1571. package/dist/components/retrieval/graph/graph-engine-adapter.js +1 -1
  1572. package/dist/components/retrieval/graph/graph-loader.js +1 -1
  1573. package/dist/components/retrieval/graph/graph-spatial-controller.js +4 -14
  1574. package/dist/components/retrieval/graph/graph-spatial-model.js +1 -1
  1575. package/dist/components/retrieval/graph/graph-spatial.js +1 -1
  1576. package/dist/components/retrieval/graph/graph-webgl-engine.js +1 -1
  1577. package/dist/components/retrieval/graph/graph.class.d.ts +24 -15
  1578. package/dist/components/retrieval/graph/graph.class.js +32 -204
  1579. package/dist/components/retrieval/graph/graph.styles.js +1 -1
  1580. package/dist/components/retrieval/graph-legend/graph-legend.class.d.ts +5 -3
  1581. package/dist/components/retrieval/graph-legend/graph-legend.class.js +6 -22
  1582. package/dist/components/retrieval/graph-legend/graph-legend.styles.js +1 -1
  1583. package/dist/components/retrieval/grounding-summary/grounding-summary.class.js +13 -57
  1584. package/dist/components/retrieval/grounding-summary/grounding-summary.styles.js +1 -1
  1585. package/dist/components/retrieval/index.d.ts +1 -1
  1586. package/dist/components/retrieval/index.js +1 -1
  1587. package/dist/components/retrieval/ingestion-queue/ingestion-queue-presentation.js +1 -1
  1588. package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.d.ts +6 -2
  1589. package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.js +13 -64
  1590. package/dist/components/retrieval/ingestion-queue/ingestion-queue.styles.js +1 -1
  1591. package/dist/components/retrieval/knowledge-base/knowledge-base.class.d.ts +9 -9
  1592. package/dist/components/retrieval/knowledge-base/knowledge-base.class.js +19 -96
  1593. package/dist/components/retrieval/knowledge-base/knowledge-base.styles.js +1 -1
  1594. package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.class.d.ts +2 -2
  1595. package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.class.js +8 -55
  1596. package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.styles.js +1 -1
  1597. package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts +35 -8
  1598. package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.js +16 -99
  1599. package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.styles.js +1 -1
  1600. package/dist/components/retrieval/memory-panel/memory-panel.class.d.ts +16 -10
  1601. package/dist/components/retrieval/memory-panel/memory-panel.class.js +15 -85
  1602. package/dist/components/retrieval/memory-panel/memory-panel.styles.js +1 -1
  1603. package/dist/components/retrieval/mind-map/mind-map-layout.d.ts +0 -9
  1604. package/dist/components/retrieval/mind-map/mind-map-layout.js +1 -1
  1605. package/dist/components/retrieval/mind-map/mind-map.class.d.ts +10 -1
  1606. package/dist/components/retrieval/mind-map/mind-map.class.js +8 -29
  1607. package/dist/components/retrieval/mind-map/mind-map.styles.js +1 -1
  1608. package/dist/components/retrieval/neighbor-list/neighbor-list.class.d.ts +7 -3
  1609. package/dist/components/retrieval/neighbor-list/neighbor-list.class.js +15 -43
  1610. package/dist/components/retrieval/neighbor-list/neighbor-list.styles.js +1 -1
  1611. package/dist/components/retrieval/node-palette/node-palette.class.d.ts +12 -21
  1612. package/dist/components/retrieval/node-palette/node-palette.class.js +5 -28
  1613. package/dist/components/retrieval/node-palette/node-palette.styles.js +1 -1
  1614. package/dist/components/retrieval/path-strip/path-strip.class.d.ts +3 -1
  1615. package/dist/components/retrieval/path-strip/path-strip.class.js +10 -32
  1616. package/dist/components/retrieval/path-strip/path-strip.styles.js +1 -1
  1617. package/dist/components/retrieval/provenance-panel/provenance-panel.class.d.ts +10 -5
  1618. package/dist/components/retrieval/provenance-panel/provenance-panel.class.js +12 -42
  1619. package/dist/components/retrieval/provenance-panel/provenance-panel.styles.js +1 -1
  1620. package/dist/components/retrieval/rag-answer/rag-answer.class.d.ts +3 -3
  1621. package/dist/components/retrieval/rag-answer/rag-answer.class.js +9 -61
  1622. package/dist/components/retrieval/rag-answer/rag-answer.styles.js +1 -1
  1623. package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.d.ts +5 -1
  1624. package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.js +18 -74
  1625. package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.styles.js +1 -1
  1626. package/dist/components/retrieval/research-progress/research-progress.class.js +6 -15
  1627. package/dist/components/retrieval/research-progress/research-progress.styles.js +1 -1
  1628. package/dist/components/retrieval/retrieval-compare/retrieval-compare.class.d.ts +6 -4
  1629. package/dist/components/retrieval/retrieval-compare/retrieval-compare.class.js +11 -38
  1630. package/dist/components/retrieval/retrieval-compare/retrieval-compare.styles.js +1 -1
  1631. package/dist/components/retrieval/retrieval-identity.js +1 -1
  1632. package/dist/components/retrieval/retrieval-metadata.js +3 -3
  1633. package/dist/components/retrieval/retrieval-results/retrieval-results.class.d.ts +8 -6
  1634. package/dist/components/retrieval/retrieval-results/retrieval-results.class.js +15 -78
  1635. package/dist/components/retrieval/retrieval-results/retrieval-results.styles.js +1 -1
  1636. package/dist/components/retrieval/retrieval-search/retrieval-search.class.d.ts +2 -2
  1637. package/dist/components/retrieval/retrieval-search/retrieval-search.class.js +8 -51
  1638. package/dist/components/retrieval/retrieval-search/retrieval-search.styles.js +1 -1
  1639. package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.d.ts +8 -6
  1640. package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.js +10 -34
  1641. package/dist/components/retrieval/retrieval-trace/retrieval-trace.styles.js +1 -1
  1642. package/dist/components/retrieval/source-card/source-card.class.js +3 -19
  1643. package/dist/components/retrieval/source-card/source-card.styles.js +1 -1
  1644. package/dist/components/retrieval/source-list/source-list.class.d.ts +3 -1
  1645. package/dist/components/retrieval/source-list/source-list.class.js +2 -9
  1646. package/dist/components/retrieval/source-list/source-list.styles.js +1 -1
  1647. package/dist/components/retrieval/source-picker/source-picker.class.d.ts +14 -5
  1648. package/dist/components/retrieval/source-picker/source-picker.class.js +12 -60
  1649. package/dist/components/retrieval/source-picker/source-picker.styles.js +1 -1
  1650. package/dist/components/utility/copy-button/copy-button.class.d.ts +6 -4
  1651. package/dist/components/utility/copy-button/copy-button.class.js +4 -61
  1652. package/dist/components/utility/copy-button/copy-button.styles.js +1 -1
  1653. package/dist/components/utility/counter/counter-time.d.ts +15 -0
  1654. package/dist/components/utility/counter/counter-time.js +1 -0
  1655. package/dist/components/utility/counter/counter.class.d.ts +67 -0
  1656. package/dist/components/utility/counter/counter.class.js +1 -0
  1657. package/dist/components/utility/counter/counter.styles.js +1 -0
  1658. package/dist/components/utility/diff-view/diff-view.class.d.ts +23 -7
  1659. package/dist/components/utility/diff-view/diff-view.class.js +5 -24
  1660. package/dist/components/utility/diff-view/diff-view.styles.js +1 -1
  1661. package/dist/components/utility/divider/divider.class.d.ts +25 -4
  1662. package/dist/components/utility/divider/divider.class.js +5 -6
  1663. package/dist/components/utility/export-button/csv.d.ts +2 -14
  1664. package/dist/components/utility/export-button/csv.js +1 -2
  1665. package/dist/components/utility/export-button/export-button.class.d.ts +49 -9
  1666. package/dist/components/utility/export-button/export-button.class.js +7 -29
  1667. package/dist/components/utility/export-button/export-button.styles.js +1 -1
  1668. package/dist/components/utility/format/format-bytes.class.d.ts +14 -1
  1669. package/dist/components/utility/format/format-bytes.class.js +1 -1
  1670. package/dist/components/utility/format/format-date.class.d.ts +28 -2
  1671. package/dist/components/utility/format/format-date.class.js +1 -1
  1672. package/dist/components/utility/format/format-number.class.d.ts +21 -3
  1673. package/dist/components/utility/format/format-number.class.js +1 -1
  1674. package/dist/components/utility/format/format-options.d.ts +3 -39
  1675. package/dist/components/utility/format/format-options.js +1 -1
  1676. package/dist/components/utility/format/relative-time.class.d.ts +11 -1
  1677. package/dist/components/utility/format/relative-time.class.js +1 -1
  1678. package/dist/components/utility/icon/dompurify-loader.js +1 -1
  1679. package/dist/components/utility/icon/icon-library.d.ts +14 -1
  1680. package/dist/components/utility/icon/icon-library.js +1 -1
  1681. package/dist/components/utility/icon/icon-resource.js +1 -1
  1682. package/dist/components/utility/icon/icon-sprite.js +1 -0
  1683. package/dist/components/utility/icon/icon.class.d.ts +9 -3
  1684. package/dist/components/utility/icon/icon.class.js +3 -18
  1685. package/dist/components/utility/index.d.ts +1 -1
  1686. package/dist/components/utility/index.js +1 -1
  1687. package/dist/components/utility/intersection-observer/intersection-observer.class.d.ts +16 -7
  1688. package/dist/components/utility/intersection-observer/intersection-observer.class.js +1 -1
  1689. package/dist/components/utility/json-viewer/json-viewer.class.d.ts +29 -5
  1690. package/dist/components/utility/json-viewer/json-viewer.class.js +14 -52
  1691. package/dist/components/utility/json-viewer/json-viewer.styles.js +1 -1
  1692. package/dist/components/utility/known-date/known-date.class.d.ts +14 -2
  1693. package/dist/components/utility/known-date/known-date.class.js +10 -48
  1694. package/dist/components/utility/known-date/known-date.styles.js +1 -1
  1695. package/dist/components/utility/live-region/live-region.class.d.ts +12 -1
  1696. package/dist/components/utility/live-region/live-region.class.js +1 -1
  1697. package/dist/components/utility/mention-popover/mention-popover.class.d.ts +25 -8
  1698. package/dist/components/utility/mention-popover/mention-popover.class.js +5 -26
  1699. package/dist/components/utility/mention-popover/mention-popover.styles.js +1 -1
  1700. package/dist/components/utility/mutation-observer/mutation-observer.class.d.ts +16 -4
  1701. package/dist/components/utility/mutation-observer/mutation-observer.class.js +1 -1
  1702. package/dist/components/utility/number-ticker/number-ticker.class.d.ts +58 -0
  1703. package/dist/components/utility/number-ticker/number-ticker.class.js +1 -0
  1704. package/dist/components/utility/number-ticker/number-ticker.styles.js +1 -0
  1705. package/dist/components/utility/poll-status/poll-status.class.d.ts +19 -1
  1706. package/dist/components/utility/poll-status/poll-status.class.js +4 -16
  1707. package/dist/components/utility/poll-status/poll-status.styles.js +1 -1
  1708. package/dist/components/utility/random-content/random-content.class.d.ts +11 -1
  1709. package/dist/components/utility/random-content/random-content.class.js +5 -25
  1710. package/dist/components/utility/random-content/random-content.styles.js +1 -1
  1711. package/dist/components/utility/resize-observer/resize-observer.class.d.ts +6 -2
  1712. package/dist/components/utility/resize-observer/resize-observer.class.js +1 -1
  1713. package/dist/components/utility/style-panel/style-panel.class.d.ts +58 -0
  1714. package/dist/components/utility/style-panel/style-panel.class.js +9 -0
  1715. package/dist/components/utility/tour/tour.class.d.ts +32 -7
  1716. package/dist/components/utility/tour/tour.class.js +6 -29
  1717. package/dist/components/utility/tour/tour.styles.js +1 -1
  1718. package/dist/components/utility/visually-hidden/visually-hidden.class.js +1 -1
  1719. package/dist/components/viewers/archive-viewer/archive-viewer-register.js +2 -6
  1720. package/dist/components/viewers/archive-viewer/archive-viewer.class.d.ts +11 -3
  1721. package/dist/components/viewers/archive-viewer/archive-viewer.class.js +1 -1
  1722. package/dist/components/viewers/archive-viewer/archive-viewer.styles.js +1 -1
  1723. package/dist/components/viewers/calendar-viewer/calendar-loader.d.ts +1 -1
  1724. package/dist/components/viewers/calendar-viewer/calendar-loader.js +1 -1
  1725. package/dist/components/viewers/calendar-viewer/calendar-viewer-register.js +1 -6
  1726. package/dist/components/viewers/calendar-viewer/calendar-viewer.class.d.ts +7 -6
  1727. package/dist/components/viewers/calendar-viewer/calendar-viewer.class.js +1 -1
  1728. package/dist/components/viewers/contact-viewer/contact-viewer-register.js +1 -6
  1729. package/dist/components/viewers/contact-viewer/contact-viewer.class.d.ts +6 -5
  1730. package/dist/components/viewers/contact-viewer/contact-viewer.class.js +8 -12
  1731. package/dist/components/viewers/contact-viewer/vcard.js +2 -2
  1732. package/dist/components/viewers/csv-viewer/csv-viewer-register.js +1 -6
  1733. package/dist/components/viewers/csv-viewer/csv-viewer.class.d.ts +16 -6
  1734. package/dist/components/viewers/csv-viewer/csv-viewer.class.js +6 -37
  1735. package/dist/components/viewers/csv-viewer/csv-viewer.styles.js +1 -1
  1736. package/dist/components/viewers/dataset-viewer/dataset-viewer-register.js +1 -6
  1737. package/dist/components/viewers/dataset-viewer/dataset-viewer.class.d.ts +15 -7
  1738. package/dist/components/viewers/dataset-viewer/dataset-viewer.class.js +8 -33
  1739. package/dist/components/viewers/dataset-viewer/dataset-viewer.styles.js +1 -1
  1740. package/dist/components/viewers/document-compare/document-compare.class.d.ts +29 -9
  1741. package/dist/components/viewers/document-compare/document-compare.class.js +9 -29
  1742. package/dist/components/viewers/document-compare/document-compare.styles.js +1 -1
  1743. package/dist/components/viewers/document-preview/document-preview.class.d.ts +16 -5
  1744. package/dist/components/viewers/document-preview/document-preview.class.js +10 -41
  1745. package/dist/components/viewers/document-preview/document-preview.styles.js +1 -1
  1746. package/dist/components/viewers/document-viewer/document-viewer-kinds.d.ts +2 -2
  1747. package/dist/components/viewers/document-viewer/document-viewer-kinds.js +1 -1
  1748. package/dist/components/viewers/document-viewer/document-viewer.class.d.ts +5 -3
  1749. package/dist/components/viewers/document-viewer/document-viewer.class.js +6 -33
  1750. package/dist/components/viewers/document-viewer/document-viewer.styles.js +1 -1
  1751. package/dist/components/viewers/docx-viewer/docx-loader.d.ts +3 -1
  1752. package/dist/components/viewers/docx-viewer/docx-loader.js +1 -1
  1753. package/dist/components/viewers/docx-viewer/docx-viewer-register.js +1 -6
  1754. package/dist/components/viewers/docx-viewer/docx-viewer.class.d.ts +11 -5
  1755. package/dist/components/viewers/docx-viewer/docx-viewer.class.js +7 -21
  1756. package/dist/components/viewers/docx-viewer/docx-viewer.styles.js +1 -1
  1757. package/dist/components/viewers/ebook-viewer/ebook-loader.js +1 -1
  1758. package/dist/components/viewers/ebook-viewer/ebook-viewer-register.js +2 -7
  1759. package/dist/components/viewers/ebook-viewer/ebook-viewer.class.d.ts +12 -4
  1760. package/dist/components/viewers/ebook-viewer/ebook-viewer.class.js +3 -13
  1761. package/dist/components/viewers/email-viewer/email-loader.js +1 -1
  1762. package/dist/components/viewers/email-viewer/email-viewer-register.js +1 -6
  1763. package/dist/components/viewers/email-viewer/email-viewer.class.d.ts +13 -6
  1764. package/dist/components/viewers/email-viewer/email-viewer.class.js +15 -15
  1765. package/dist/components/viewers/email-viewer/email-viewer.styles.js +1 -1
  1766. package/dist/components/viewers/geojson-view/geojson-view.styles.js +1 -1
  1767. package/dist/components/viewers/geojson-view/geojson-viewer-register.d.ts +1 -0
  1768. package/dist/components/viewers/geojson-view/geojson-viewer-register.js +1 -0
  1769. package/dist/components/viewers/geojson-view/geojson-viewer.class.d.ts +13 -8
  1770. package/dist/components/viewers/geojson-view/geojson-viewer.class.js +5 -31
  1771. package/dist/components/viewers/highlight-layer/highlight-layer.class.d.ts +10 -3
  1772. package/dist/components/viewers/highlight-layer/highlight-layer.class.js +5 -47
  1773. package/dist/components/viewers/highlight-layer/highlight-layer.styles.js +1 -1
  1774. package/dist/components/viewers/html-viewer/dompurify-loader.js +1 -1
  1775. package/dist/components/viewers/html-viewer/html-viewer-register.js +1 -6
  1776. package/dist/components/viewers/html-viewer/html-viewer.class.d.ts +3 -4
  1777. package/dist/components/viewers/html-viewer/html-viewer.class.js +1 -1
  1778. package/dist/components/viewers/html-viewer/html-viewer.styles.js +1 -1
  1779. package/dist/components/viewers/include/include-resource.d.ts +1 -1
  1780. package/dist/components/viewers/include/include-resource.js +1 -1
  1781. package/dist/components/viewers/include/include.class.d.ts +16 -5
  1782. package/dist/components/viewers/include/include.class.js +1 -1
  1783. package/dist/components/viewers/index.d.ts +1 -1
  1784. package/dist/components/viewers/index.js +1 -1
  1785. package/dist/components/viewers/model-viewer/model-viewer-document.js +1 -1
  1786. package/dist/components/viewers/model-viewer/model-viewer.class.d.ts +5 -2
  1787. package/dist/components/viewers/model-viewer/model-viewer.class.js +2 -2
  1788. package/dist/components/viewers/model-viewer/model-viewer.styles.js +1 -1
  1789. package/dist/components/viewers/notebook-viewer/dompurify-loader.js +1 -1
  1790. package/dist/components/viewers/notebook-viewer/notebook-viewer-register.js +1 -6
  1791. package/dist/components/viewers/notebook-viewer/notebook-viewer.class.d.ts +15 -10
  1792. package/dist/components/viewers/notebook-viewer/notebook-viewer.class.js +9 -55
  1793. package/dist/components/viewers/notebook-viewer/notebook-viewer.styles.js +1 -1
  1794. package/dist/components/viewers/page-rail/page-rail.class.d.ts +6 -3
  1795. package/dist/components/viewers/page-rail/page-rail.class.js +6 -26
  1796. package/dist/components/viewers/page-rail/page-rail.styles.js +1 -1
  1797. package/dist/components/viewers/passive-markup.js +1 -1
  1798. package/dist/components/viewers/pdf-viewer/pdf-loader.js +1 -1
  1799. package/dist/components/viewers/pdf-viewer/pdf-viewer-register.js +1 -6
  1800. package/dist/components/viewers/pdf-viewer/pdf-viewer.class.d.ts +28 -9
  1801. package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +5 -15
  1802. package/dist/components/viewers/pdf-viewer/pdf-viewer.styles.js +1 -1
  1803. package/dist/components/viewers/pptx-viewer/pptx-loader.js +1 -1
  1804. package/dist/components/viewers/pptx-viewer/pptx-viewer-register.js +1 -6
  1805. package/dist/components/viewers/pptx-viewer/pptx-viewer.class.d.ts +9 -5
  1806. package/dist/components/viewers/pptx-viewer/pptx-viewer.class.js +4 -10
  1807. package/dist/components/viewers/region-highlight-layer.js +7 -29
  1808. package/dist/components/viewers/spreadsheet-viewer/spreadsheet-loader.d.ts +1 -1
  1809. package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer-register.js +1 -6
  1810. package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.class.d.ts +17 -7
  1811. package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.class.js +6 -47
  1812. package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.styles.js +1 -1
  1813. package/dist/components/viewers/svg-viewer/dompurify-loader.js +1 -1
  1814. package/dist/components/viewers/svg-viewer/svg-viewer-register.js +1 -6
  1815. package/dist/components/viewers/svg-viewer/svg-viewer.class.d.ts +14 -8
  1816. package/dist/components/viewers/svg-viewer/svg-viewer.class.js +3 -6
  1817. package/dist/components/viewers/svg-viewer/svg-viewer.styles.js +1 -1
  1818. package/dist/components/viewers/table-viewer-shared.d.ts +49 -0
  1819. package/dist/components/viewers/table-viewer-shared.js +10 -28
  1820. package/dist/components/viewers/table-viewer-shared.styles.js +1 -1
  1821. package/dist/components/viewers/viewer-announcements.d.ts +3 -0
  1822. package/dist/components/viewers/viewer-diagnostics.d.ts +5 -4
  1823. package/dist/components/viewers/viewer-frame.js +1 -1
  1824. package/dist/components/viewers/viewer-loading.js +1 -1
  1825. package/dist/components/viewers/viewer-pager.js +2 -2
  1826. package/dist/components/viewers/viewer-search-limits.js +1 -1
  1827. package/dist/components/viewers/viewer-semantic-owner.js +1 -1
  1828. package/dist/components/viewers/xml-viewer/xml-viewer-register.js +1 -6
  1829. package/dist/components/viewers/xml-viewer/xml-viewer.class.d.ts +23 -8
  1830. package/dist/components/viewers/xml-viewer/xml-viewer.class.js +19 -72
  1831. package/dist/components/viewers/xml-viewer/xml-viewer.styles.js +1 -1
  1832. package/dist/custom-elements-jsx.d.ts +1 -1
  1833. package/dist/event-classes.d.ts +2342 -0
  1834. package/dist/event-classes.js +1 -0
  1835. package/dist/events.d.ts +356 -124
  1836. package/dist/framework-types.d.ts +2 -2
  1837. package/dist/internal/a11y.d.ts +5 -18
  1838. package/dist/internal/a11y.js +1 -1
  1839. package/dist/internal/accessibility-visibility.d.ts +14 -5
  1840. package/dist/internal/accessibility-visibility.js +1 -1
  1841. package/dist/internal/accessible-name.js +1 -0
  1842. package/dist/internal/accessible-trigger.js +1 -0
  1843. package/dist/internal/agent-status-text.js +1 -1
  1844. package/dist/internal/agent-status-variants.js +1 -1
  1845. package/dist/internal/all-defined-arguments.d.ts +19 -0
  1846. package/dist/internal/all-defined-arguments.js +1 -0
  1847. package/dist/internal/anchor-target-base.d.ts +14 -0
  1848. package/dist/internal/anchor-target-base.js +1 -0
  1849. package/dist/internal/anchor-target.d.ts +1 -12
  1850. package/dist/internal/anchor-target.js +1 -5
  1851. package/dist/internal/anchored-disclosure-controller.js +1 -0
  1852. package/dist/internal/anchored-overlay-runtime.js +1 -1
  1853. package/dist/internal/anchored-validity.d.ts +2 -0
  1854. package/dist/internal/anchored-validity.js +1 -1
  1855. package/dist/internal/announcement-text.js +1 -1
  1856. package/dist/internal/announcer.d.ts +4 -3
  1857. package/dist/internal/announcer.js +1 -1
  1858. package/dist/internal/approval-request-controller.js +1 -0
  1859. package/dist/internal/aria-controls.js +1 -1
  1860. package/dist/internal/aria-ownership.js +1 -1
  1861. package/dist/internal/aria-values.d.ts +2 -0
  1862. package/dist/internal/aria-values.js +1 -0
  1863. package/dist/internal/autoloader-loaders.js +1 -1
  1864. package/dist/internal/autoloader-tags.d.ts +1 -1
  1865. package/dist/internal/autoloader-tags.js +1 -1
  1866. package/dist/internal/bidi.js +1 -0
  1867. package/dist/internal/bytes.d.ts +32 -0
  1868. package/dist/internal/bytes.js +1 -0
  1869. package/dist/internal/calendar-core.d.ts +45 -0
  1870. package/dist/internal/calendar-core.js +1 -0
  1871. package/dist/internal/calendar-date.d.ts +16 -0
  1872. package/dist/internal/calendar-date.js +1 -0
  1873. package/dist/internal/canvas-color.d.ts +13 -0
  1874. package/dist/internal/canvas-color.js +1 -1
  1875. package/dist/internal/catalog-picker-template.js +2 -0
  1876. package/dist/internal/catalog-picker.d.ts +20 -6
  1877. package/dist/internal/catalog-picker.js +1 -1
  1878. package/dist/internal/cell-range.d.ts +10 -0
  1879. package/dist/internal/chart-annotation-registration.js +1 -1
  1880. package/dist/internal/chart-data-table.js +1 -0
  1881. package/dist/internal/chart-number-format.js +1 -0
  1882. package/dist/internal/chart-prepared-data.d.ts +11 -0
  1883. package/dist/internal/chart-prepared-data.js +1 -0
  1884. package/dist/internal/chart-prepared-property.js +1 -0
  1885. package/dist/internal/chart-prepared-series.d.ts +3 -0
  1886. package/dist/internal/chart-prepared-series.js +1 -0
  1887. package/dist/internal/chart-ticks.js +1 -0
  1888. package/dist/internal/chat-composer-status.js +1 -0
  1889. package/dist/internal/checked-control-label.js +1 -0
  1890. package/dist/internal/child-event-containment.js +1 -1
  1891. package/dist/internal/choropleth-no-data.js +1 -0
  1892. package/dist/internal/clipboard.d.ts +10 -0
  1893. package/dist/internal/clipboard.js +1 -1
  1894. package/dist/internal/collection-identity.js +1 -1
  1895. package/dist/internal/collection-snapshot.js +1 -1
  1896. package/dist/internal/collection-source-tracker.js +1 -1
  1897. package/dist/internal/collection-window.js +1 -0
  1898. package/dist/internal/color-math.js +1 -0
  1899. package/dist/internal/column-resize.js +1 -1
  1900. package/dist/internal/component-loaders.generated.js +1 -1
  1901. package/dist/internal/composed-tree.d.ts +2 -0
  1902. package/dist/internal/composed-tree.js +1 -1
  1903. package/dist/internal/container-breakpoints.styles.js +1 -1
  1904. package/dist/internal/context-update.js +1 -0
  1905. package/dist/internal/contextual-vocabulary.styles.js +1 -1
  1906. package/dist/internal/control-focus-repair.js +1 -0
  1907. package/dist/internal/converters.d.ts +15 -0
  1908. package/dist/internal/converters.js +1 -1
  1909. package/dist/internal/css-length.js +1 -1
  1910. package/dist/internal/csv.d.ts +35 -0
  1911. package/dist/internal/csv.js +2 -0
  1912. package/dist/internal/data-descriptors.d.ts +12 -2
  1913. package/dist/internal/data-descriptors.js +1 -1
  1914. package/dist/internal/data-state-renderer.js +2 -24
  1915. package/dist/internal/data-state-renderer.styles.js +1 -1
  1916. package/dist/internal/dedent.js +7 -0
  1917. package/dist/internal/default-strings/agent-tools.generated.js +1 -1
  1918. package/dist/internal/default-strings/charts.generated.js +1 -1
  1919. package/dist/internal/default-strings/conversation.generated.js +1 -1
  1920. package/dist/internal/default-strings/data.generated.js +1 -1
  1921. package/dist/internal/default-strings/forms.generated.js +1 -1
  1922. package/dist/internal/default-strings/layout.generated.js +1 -1
  1923. package/dist/internal/default-strings/media.generated.js +1 -1
  1924. package/dist/internal/default-strings/overlays.generated.js +1 -1
  1925. package/dist/internal/default-strings/retrieval.generated.js +1 -1
  1926. package/dist/internal/default-strings/shared.generated.js +1 -1
  1927. package/dist/internal/default-strings/utility.generated.js +1 -1
  1928. package/dist/internal/default-strings/viewers.generated.js +1 -1
  1929. package/dist/internal/delimited-data.js +1 -1
  1930. package/dist/internal/dev-mode-attribute-warning.development.js +1 -1
  1931. package/dist/internal/dev-mode-attribute-warning.production.js +1 -1
  1932. package/dist/internal/dev-warning.development.js +1 -1
  1933. package/dist/internal/dev-warning.production.js +1 -1
  1934. package/dist/internal/document-pointer.js +1 -1
  1935. package/dist/internal/document-renderer-registry.d.ts +1 -1
  1936. package/dist/internal/document-tokens.generated.js +4 -4
  1937. package/dist/internal/docx-zip-admission.js +1 -1
  1938. package/dist/internal/dom-guards.js +1 -1
  1939. package/dist/internal/dropzone.styles.js +1 -0
  1940. package/dist/internal/engine-3d-loader.js +1 -1
  1941. package/dist/internal/engine-3d.js +1 -1
  1942. package/dist/internal/engine-admission.js +1 -0
  1943. package/dist/internal/engine-style.js +2 -0
  1944. package/dist/internal/escape-html.d.ts +6 -0
  1945. package/dist/internal/escape-html.js +1 -0
  1946. package/dist/internal/file-accept.d.ts +30 -0
  1947. package/dist/internal/file-accept.js +1 -0
  1948. package/dist/internal/file-intake.d.ts +6 -0
  1949. package/dist/internal/file-intake.js +1 -0
  1950. package/dist/internal/focus-candidates.js +1 -1
  1951. package/dist/internal/focus-navigation.d.ts +3 -1
  1952. package/dist/internal/focus-navigation.js +1 -1
  1953. package/dist/internal/focus-repair.js +1 -0
  1954. package/dist/internal/follow-tail-controller.js +1 -0
  1955. package/dist/internal/forced-colors.styles.js +1 -0
  1956. package/dist/internal/form-associated.d.ts +11 -0
  1957. package/dist/internal/form-associated.js +1 -1
  1958. package/dist/internal/form-control/appearance.styles.js +1 -0
  1959. package/dist/internal/form-control/chrome.styles.js +1 -0
  1960. package/dist/internal/form-control/preset-button.styles.js +1 -0
  1961. package/dist/internal/form-control/touch-font-floor.styles.js +1 -0
  1962. package/dist/internal/form-control-controller.js +1 -1
  1963. package/dist/internal/form-control-labels.js +1 -1
  1964. package/dist/internal/form-control-template.js +2 -6
  1965. package/dist/internal/form-control.styles.js +1 -1
  1966. package/dist/internal/form-validator-runtime.js +1 -0
  1967. package/dist/internal/glass-independent-root.styles.js +1 -1
  1968. package/dist/internal/glass-scroll-layer.styles.js +1 -1
  1969. package/dist/internal/glass-surface.styles.js +1 -1
  1970. package/dist/internal/graph-source-messages.js +1 -0
  1971. package/dist/internal/group-by-recency.js +1 -1
  1972. package/dist/internal/heading-anchor.js +1 -0
  1973. package/dist/internal/heading-level.d.ts +10 -3
  1974. package/dist/internal/heading-level.js +1 -1
  1975. package/dist/internal/hierarchy-source-controller.js +1 -1
  1976. package/dist/internal/hierarchy-source-search.js +1 -0
  1977. package/dist/internal/hierarchy-source-view.js +5 -21
  1978. package/dist/internal/hierarchy-source-view.styles.js +1 -1
  1979. package/dist/internal/hierarchy-summary-source.js +1 -1
  1980. package/dist/internal/highlight-collection.d.ts +5 -1
  1981. package/dist/internal/highlight-collection.js +1 -1
  1982. package/dist/internal/host-tokens.styles.js +1 -1
  1983. package/dist/internal/icon-action.styles.js +15 -1
  1984. package/dist/internal/icon-paths.js +1 -0
  1985. package/dist/internal/icons.d.ts +47 -0
  1986. package/dist/internal/icons.js +29 -47
  1987. package/dist/internal/inert-presentation.js +1 -7
  1988. package/dist/internal/inherited-attribute-hub.d.ts +2 -0
  1989. package/dist/internal/inherited-attribute-hub.js +1 -1
  1990. package/dist/internal/inherited-context-observer.js +1 -1
  1991. package/dist/internal/input-limit-announcement.js +1 -0
  1992. package/dist/internal/input-memo.js +1 -0
  1993. package/dist/internal/interactive-control.styles.js +4 -1
  1994. package/dist/internal/intl-cache.js +1 -1
  1995. package/dist/internal/labeled-group.js +1 -0
  1996. package/dist/internal/layout-fragments.styles.js +1 -1
  1997. package/dist/internal/layout-scale.js +1 -0
  1998. package/dist/internal/lazy-children.js +1 -0
  1999. package/dist/internal/lazy-hierarchy-source.js +1 -0
  2000. package/dist/internal/list-navigation.js +1 -1
  2001. package/dist/internal/locale-date.d.ts +31 -0
  2002. package/dist/internal/locale-date.js +1 -1
  2003. package/dist/internal/locale-english-defaults.generated.js +1 -0
  2004. package/dist/internal/locale-loaders.generated.js +1 -1
  2005. package/dist/internal/locale-number.js +1 -0
  2006. package/dist/internal/localization-runtime.d.ts +14 -0
  2007. package/dist/internal/localization-runtime.js +1 -1
  2008. package/dist/internal/localization-types.d.ts +4 -4
  2009. package/dist/internal/localization.js +2 -2
  2010. package/dist/internal/lyra-element.d.ts +42 -2
  2011. package/dist/internal/lyra-element.js +2 -2
  2012. package/dist/internal/lyra-event.d.ts +22 -0
  2013. package/dist/internal/lyra-event.js +1 -0
  2014. package/dist/internal/map-camera-follow-controller.d.ts +4 -4
  2015. package/dist/internal/map-camera-follow-controller.js +1 -1
  2016. package/dist/internal/map-camera-follow-data.d.ts +11 -0
  2017. package/dist/internal/map-camera-follow-data.js +1 -1
  2018. package/dist/internal/map-camera-ground-follow-scene.js +1 -0
  2019. package/dist/internal/map-camera-session-controller.js +1 -1
  2020. package/dist/internal/map-camera-session-data.d.ts +3 -1
  2021. package/dist/internal/map-camera-session-data.js +1 -1
  2022. package/dist/internal/map-custom-layer-controller.js +1 -1
  2023. package/dist/internal/map-feature-loader-core.js +1 -0
  2024. package/dist/internal/map-handler-lease.js +1 -0
  2025. package/dist/internal/map-overlay-panel.styles.js +1 -0
  2026. package/dist/internal/map-scene-layer-runtime.js +1 -1
  2027. package/dist/internal/map-scene-session-registry.js +1 -0
  2028. package/dist/internal/markdown-render-types.d.ts +4 -0
  2029. package/dist/internal/measured-offset-index.js +1 -0
  2030. package/dist/internal/media-panorama-host.js +1 -0
  2031. package/dist/internal/media-panorama.d.ts +1 -1
  2032. package/dist/internal/media-panorama.js +2 -6
  2033. package/dist/internal/media-panorama.styles.js +1 -1
  2034. package/dist/internal/media-time.js +1 -1
  2035. package/dist/internal/minimum-pointer-target.styles.js +1 -0
  2036. package/dist/internal/modal-host.styles.js +1 -1
  2037. package/dist/internal/modal-open-request.js +1 -0
  2038. package/dist/internal/modal-surface-controller.js +1 -1
  2039. package/dist/internal/modal-surface.styles.js +5 -0
  2040. package/dist/internal/model-viewer-contract.js +1 -1
  2041. package/dist/internal/motion.js +1 -1
  2042. package/dist/internal/native-control-surface.styles.js +1 -0
  2043. package/dist/internal/native-modal-carrier.js +1 -12
  2044. package/dist/internal/native-modal-carrier.styles.js +1 -1
  2045. package/dist/internal/native-search.js +1 -10
  2046. package/dist/internal/native-search.styles.js +1 -1
  2047. package/dist/internal/native-text-control.js +1 -1
  2048. package/dist/internal/nested-interactive.js +1 -1
  2049. package/dist/internal/nonmodal-overlay-manager.d.ts +6 -0
  2050. package/dist/internal/numbers.d.ts +15 -0
  2051. package/dist/internal/numbers.js +1 -1
  2052. package/dist/internal/object-guards.js +1 -1
  2053. package/dist/internal/observer-wrapper.styles.js +1 -1
  2054. package/dist/internal/opaque-content-border.styles.js +1 -1
  2055. package/dist/internal/opaque-id.js +1 -0
  2056. package/dist/internal/open-overlay-raise.styles.js +1 -1
  2057. package/dist/internal/option-catalog-host.js +1 -0
  2058. package/dist/internal/option-selection.js +1 -1
  2059. package/dist/internal/optional-peer-capabilities.d.ts +22 -1
  2060. package/dist/internal/optional-peer-capabilities.js +1 -1
  2061. package/dist/internal/overlay-manager.js +1 -1
  2062. package/dist/internal/overlay-shared.d.ts +65 -0
  2063. package/dist/internal/overlay-shared.js +1 -0
  2064. package/dist/internal/overlay-stack.js +1 -1
  2065. package/dist/internal/overlay-surface.styles.js +1 -1
  2066. package/dist/internal/owned-observer.d.ts +60 -0
  2067. package/dist/internal/owned-observer.js +1 -0
  2068. package/dist/internal/package-metadata.js +1 -1
  2069. package/dist/internal/page-size.js +1 -0
  2070. package/dist/internal/panel-frame.styles.js +1 -0
  2071. package/dist/internal/papaparse-loader.js +1 -1
  2072. package/dist/internal/passive-markup.js +1 -0
  2073. package/dist/internal/picker-value.d.ts +2 -3
  2074. package/dist/internal/pointer-capture.js +1 -0
  2075. package/dist/internal/popup-controller.d.ts +41 -0
  2076. package/dist/internal/popup-controller.js +1 -1
  2077. package/dist/internal/portable-look-inputs.d.ts +3 -0
  2078. package/dist/internal/portable-look-inputs.js +2 -0
  2079. package/dist/internal/portable-look-resolver.d.ts +1 -0
  2080. package/dist/internal/portable-look-resolver.js +1 -0
  2081. package/dist/internal/positioning-strategy.js +1 -1
  2082. package/dist/internal/preview-disclosure-controller.js +1 -1
  2083. package/dist/internal/progress-track.styles.js +1 -1
  2084. package/dist/internal/pseudo-localization.js +1 -1
  2085. package/dist/internal/range-drag.js +1 -1
  2086. package/dist/internal/range-keyboard-shortcut.js +1 -0
  2087. package/dist/internal/record-copy-feedback.d.ts +19 -0
  2088. package/dist/internal/record-copy-feedback.js +1 -0
  2089. package/dist/internal/region-hit-targets.js +1 -0
  2090. package/dist/internal/render-keys.js +1 -0
  2091. package/dist/internal/rendered-tree-traversal.js +1 -1
  2092. package/dist/internal/request-commit.js +1 -1
  2093. package/dist/internal/resource-loader.d.ts +10 -8
  2094. package/dist/internal/resource-loader.js +1 -1
  2095. package/dist/internal/reveal-row.js +1 -1
  2096. package/dist/internal/root-registration-allowlist.js +1 -1
  2097. package/dist/internal/roving-list-controller.js +1 -0
  2098. package/dist/internal/roving-toolbar.js +1 -1
  2099. package/dist/internal/roving-tree-focus.js +1 -0
  2100. package/dist/internal/safe-css.d.ts +38 -0
  2101. package/dist/internal/scoped-definitions.generated.js +1 -1
  2102. package/dist/internal/score-tiers.d.ts +2 -0
  2103. package/dist/internal/score-tiers.js +1 -1
  2104. package/dist/internal/scroll-overflow.js +1 -1
  2105. package/dist/internal/scroll-overflow.styles.js +1 -1
  2106. package/dist/internal/scroll-region-directive.js +1 -0
  2107. package/dist/internal/scroll-region.js +1 -0
  2108. package/dist/internal/selection-catalog.d.ts +6 -0
  2109. package/dist/internal/selection-catalog.js +1 -1
  2110. package/dist/internal/semantic-variant-rows.styles.js +1 -1
  2111. package/dist/internal/separator-drag.js +1 -1
  2112. package/dist/internal/shiki/core.d.ts +115 -0
  2113. package/dist/internal/shiki/core.js +1 -0
  2114. package/dist/internal/shiki/dark-theme.js +1 -0
  2115. package/dist/internal/shiki/full.d.ts +16 -0
  2116. package/dist/internal/shiki/full.js +1 -0
  2117. package/dist/internal/shiki/tokenize.js +2 -0
  2118. package/dist/internal/shiki-language-sources.js +1 -1
  2119. package/dist/internal/size-tiers.styles.js +17 -0
  2120. package/dist/internal/sizes.styles.js +1 -1
  2121. package/dist/internal/slot-content.js +1 -0
  2122. package/dist/internal/slot-presence-controller.js +1 -1
  2123. package/dist/internal/slotted-observer.js +1 -1
  2124. package/dist/internal/sort-compare.js +1 -0
  2125. package/dist/internal/source-page-controller.js +1 -1
  2126. package/dist/internal/source-paging.js +1 -0
  2127. package/dist/internal/source-request-controller.js +1 -1
  2128. package/dist/internal/source-row.js +1 -0
  2129. package/dist/internal/source-window-controller.js +1 -1
  2130. package/dist/internal/srcset.js +1 -0
  2131. package/dist/internal/style-property-lease.js +1 -1
  2132. package/dist/internal/submit-on-enter.js +1 -1
  2133. package/dist/internal/svg-chart.js +17 -0
  2134. package/dist/internal/svg-chart.styles.js +1 -0
  2135. package/dist/internal/svg-title.js +1 -1
  2136. package/dist/internal/tab-index-lease.js +1 -0
  2137. package/dist/internal/tabular-viewer-target.js +1 -0
  2138. package/dist/internal/text-highlight.styles.js +5 -0
  2139. package/dist/internal/text-highlights.d.ts +31 -5
  2140. package/dist/internal/text-highlights.js +1 -1
  2141. package/dist/internal/text-lines.js +1 -0
  2142. package/dist/internal/text-quote-index.d.ts +10 -0
  2143. package/dist/internal/text-quote-index.js +1 -0
  2144. package/dist/internal/text-quote.d.ts +22 -46
  2145. package/dist/internal/text-quote.js +1 -1
  2146. package/dist/internal/text-selection-observer.d.ts +17 -0
  2147. package/dist/internal/text-selection-observer.js +1 -0
  2148. package/dist/internal/text-selection.d.ts +37 -0
  2149. package/dist/internal/text-selection.js +1 -0
  2150. package/dist/internal/text-viewer-target.d.ts +10 -2
  2151. package/dist/internal/text-viewer-target.js +1 -1
  2152. package/dist/internal/theme-watcher.d.ts +5 -0
  2153. package/dist/internal/theme-watcher.js +1 -1
  2154. package/dist/internal/toolbar-actions.d.ts +20 -0
  2155. package/dist/internal/toolbar-actions.js +1 -0
  2156. package/dist/internal/top-layer.styles.js +1 -1
  2157. package/dist/internal/type-ahead-buffer.js +1 -1
  2158. package/dist/internal/typed-columns.js +1 -1
  2159. package/dist/internal/variants.d.ts +11 -0
  2160. package/dist/internal/variants.js +1 -1
  2161. package/dist/internal/variants.styles.js +1 -1
  2162. package/dist/internal/viewer-failure-message.js +1 -0
  2163. package/dist/internal/viewer-search.d.ts +13 -0
  2164. package/dist/internal/viewer-source-controller.js +1 -0
  2165. package/dist/internal/wheel-zoom.js +1 -0
  2166. package/dist/localization.js +1 -1
  2167. package/dist/lyra.d.ts +1 -1
  2168. package/dist/lyra.js +1 -1
  2169. package/dist/ssr/all.d.ts +1 -1
  2170. package/dist/ssr/all.js +1 -1
  2171. package/dist/ssr.d.ts +5 -5
  2172. package/dist/ssr.js +1 -1
  2173. package/dist/styles/native.css +1 -1
  2174. package/dist/styles/palette.css +1 -0
  2175. package/dist/styles/reservations.styles.js +1 -1
  2176. package/dist/styles/tokens-root.css +1 -1
  2177. package/dist/styles/utilities.css +1 -1
  2178. package/dist/svelte.d.ts +1 -1
  2179. package/dist/testing/happy-dom-shims.d.ts +11 -2
  2180. package/dist/testing/happy-dom-shims.js +1 -1
  2181. package/dist/testing/index.d.ts +1 -1
  2182. package/dist/testing/index.js +1 -1
  2183. package/dist/testing/lyra-tag-event-map.d.ts +2 -2
  2184. package/dist/testing/lyra-tag-event-map.js +1 -1
  2185. package/dist/theme/gemstones.js +1 -1
  2186. package/dist/theme/look-css.js +2 -2
  2187. package/dist/theme/look-inputs.d.ts +1 -1
  2188. package/dist/theme/look-inputs.js +1 -123
  2189. package/dist/theme/options/charts.js +1 -1
  2190. package/dist/theme/options/elevation.js +1 -1
  2191. package/dist/theme/options/shape.js +1 -1
  2192. package/dist/theme/options/typography.js +1 -1
  2193. package/dist/theme/startup-resolution.js +1 -1
  2194. package/dist/theme/theme-bootstrap.js +1 -1
  2195. package/dist/theme/theme.d.ts +30 -4
  2196. package/dist/theme/theme.js +1 -1
  2197. package/dist/theme-core.css +1 -1
  2198. package/dist/theme.css +1 -1
  2199. package/dist/utilities/defined.d.ts +10 -1
  2200. package/dist/utilities/defined.js +1 -1
  2201. package/dist/utilities/form.d.ts +9 -0
  2202. package/dist/utilities/form.js +1 -0
  2203. package/dist/utilities/format.d.ts +5 -9
  2204. package/dist/utilities/format.js +1 -1
  2205. package/dist/utilities/index.d.ts +1 -1
  2206. package/dist/utilities/index.js +1 -1
  2207. package/dist/utilities/plain-click.d.ts +13 -0
  2208. package/dist/utilities/plain-click.js +1 -0
  2209. package/dist/vue.d.ts +1 -1
  2210. package/llms/components/lr-accordion-item.md +1 -1
  2211. package/llms/components/lr-accordion.md +1 -1
  2212. package/llms/components/lr-activity-feed.md +8 -2
  2213. package/llms/components/lr-agent-eval-dashboard.md +12 -6
  2214. package/llms/components/lr-agent-question.md +10 -1
  2215. package/llms/components/lr-agent-run.md +12 -4
  2216. package/llms/components/lr-agent-trace.md +9 -2
  2217. package/llms/components/lr-agent-workspace.md +14 -3
  2218. package/llms/components/lr-alert.md +15 -8
  2219. package/llms/components/lr-animated-image.md +8 -3
  2220. package/llms/components/lr-animation.md +1 -1
  2221. package/llms/components/lr-app-rail-group.md +1 -1
  2222. package/llms/components/lr-app-rail-item.md +1 -1
  2223. package/llms/components/lr-app-rail.md +114 -49
  2224. package/llms/components/lr-approval-queue.md +23 -9
  2225. package/llms/components/lr-archive-viewer.md +4 -3
  2226. package/llms/components/lr-artifact-panel.md +8 -6
  2227. package/llms/components/lr-attachment-chip.md +25 -23
  2228. package/llms/components/lr-attachment-trigger.md +10 -3
  2229. package/llms/components/lr-audio-visualizer.md +5 -2
  2230. package/llms/components/lr-av-player.md +22 -7
  2231. package/llms/components/lr-avatar-group.md +6 -2
  2232. package/llms/components/lr-avatar.md +2 -3
  2233. package/llms/components/lr-background-runs.md +27 -10
  2234. package/llms/components/lr-badge.md +31 -13
  2235. package/llms/components/lr-bar-chart.md +1 -1
  2236. package/llms/components/lr-box-plot.md +13 -4
  2237. package/llms/components/lr-branch-picker.md +12 -3
  2238. package/llms/components/lr-breadcrumb-item.md +1 -1
  2239. package/llms/components/lr-breadcrumb.md +9 -4
  2240. package/llms/components/lr-browser-frame.md +6 -4
  2241. package/llms/components/lr-bubble-chart.md +1 -1
  2242. package/llms/components/lr-budget-meter.md +11 -5
  2243. package/llms/components/lr-button-group.md +12 -6
  2244. package/llms/components/lr-button.md +45 -6
  2245. package/llms/components/lr-calendar-viewer.md +5 -3
  2246. package/llms/components/lr-calendar.md +9 -6
  2247. package/llms/components/lr-callout.md +6 -8
  2248. package/llms/components/lr-card.md +38 -5
  2249. package/llms/components/lr-carousel.md +20 -10
  2250. package/llms/components/lr-change-review.md +8 -2
  2251. package/llms/components/lr-chart-3d.md +9 -4
  2252. package/llms/components/lr-chart.md +76 -17
  2253. package/llms/components/lr-chat-composer.md +37 -10
  2254. package/llms/components/lr-chat-message.md +25 -7
  2255. package/llms/components/lr-chat-viewport.md +21 -6
  2256. package/llms/components/lr-checkbox-group.md +32 -6
  2257. package/llms/components/lr-checkbox.md +23 -8
  2258. package/llms/components/lr-checkpoint.md +6 -2
  2259. package/llms/components/lr-chip-group.md +2 -2
  2260. package/llms/components/lr-chip.md +18 -4
  2261. package/llms/components/lr-chord.md +97 -0
  2262. package/llms/components/lr-choropleth.md +145 -0
  2263. package/llms/components/lr-chunk-inspector.md +11 -1
  2264. package/llms/components/lr-citation-badge.md +1 -0
  2265. package/llms/components/lr-claim-evidence.md +1 -0
  2266. package/llms/components/lr-code-block-core.md +53 -13
  2267. package/llms/components/lr-code-block.md +73 -12
  2268. package/llms/components/lr-code-editor.md +49 -13
  2269. package/llms/components/lr-color-picker.md +59 -13
  2270. package/llms/components/lr-combobox.md +144 -23
  2271. package/llms/components/lr-command-palette.md +25 -13
  2272. package/llms/components/lr-commit-card.md +6 -2
  2273. package/llms/components/lr-community-card.md +5 -1
  2274. package/llms/components/lr-compare-panel.md +5 -2
  2275. package/llms/components/lr-condition-builder.md +12 -3
  2276. package/llms/components/lr-confirm-bar.md +8 -4
  2277. package/llms/components/lr-connector-manager.md +20 -6
  2278. package/llms/components/lr-contact-viewer.md +8 -3
  2279. package/llms/components/lr-context-inspector.md +1 -1
  2280. package/llms/components/lr-context-menu.md +12 -4
  2281. package/llms/components/lr-context-meter.md +11 -8
  2282. package/llms/components/lr-control-group.md +2 -0
  2283. package/llms/components/lr-conversation-item.md +21 -4
  2284. package/llms/components/lr-copy-button.md +5 -1
  2285. package/llms/components/lr-counter.md +60 -0
  2286. package/llms/components/lr-country-picker.md +30 -5
  2287. package/llms/components/lr-csv-viewer.md +11 -3
  2288. package/llms/components/lr-currency-picker.md +34 -8
  2289. package/llms/components/lr-dashboard-grid.md +14 -9
  2290. package/llms/components/lr-data-grid.md +45 -28
  2291. package/llms/components/lr-dataset-viewer.md +13 -2
  2292. package/llms/components/lr-date-input.md +1 -1
  2293. package/llms/components/lr-date-picker.md +74 -19
  2294. package/llms/components/lr-details.md +32 -10
  2295. package/llms/components/lr-dialog.md +105 -27
  2296. package/llms/components/lr-diff-view.md +15 -3
  2297. package/llms/components/lr-divider.md +16 -5
  2298. package/llms/components/lr-dock-panel.md +11 -5
  2299. package/llms/components/lr-document-compare.md +26 -6
  2300. package/llms/components/lr-document-library.md +10 -4
  2301. package/llms/components/lr-document-preview.md +16 -7
  2302. package/llms/components/lr-document-viewer.md +6 -2
  2303. package/llms/components/lr-docx-editor.md +19 -0
  2304. package/llms/components/lr-docx-viewer.md +4 -2
  2305. package/llms/components/lr-doughnut-chart.md +1 -1
  2306. package/llms/components/lr-drawer.md +33 -9
  2307. package/llms/components/lr-drilldown-panel.md +7 -1
  2308. package/llms/components/lr-drop-zone.md +14 -5
  2309. package/llms/components/lr-dropdown-item.md +1 -1
  2310. package/llms/components/lr-dropdown.md +11 -6
  2311. package/llms/components/lr-ebook-viewer.md +17 -5
  2312. package/llms/components/lr-email-viewer.md +18 -7
  2313. package/llms/components/lr-embedding-explorer.md +14 -8
  2314. package/llms/components/lr-emoji-picker.md +29 -9
  2315. package/llms/components/lr-empty.md +18 -8
  2316. package/llms/components/lr-entity-card.md +5 -1
  2317. package/llms/components/lr-entity-dossier.md +27 -15
  2318. package/llms/components/lr-env-list.md +11 -6
  2319. package/llms/components/lr-eval-dataset.md +8 -2
  2320. package/llms/components/lr-eval-result.md +1 -1
  2321. package/llms/components/lr-eval-run.md +13 -7
  2322. package/llms/components/lr-export-button.md +29 -8
  2323. package/llms/components/lr-file-icon.md +5 -2
  2324. package/llms/components/lr-file-input.md +51 -14
  2325. package/llms/components/lr-file-tree.md +5 -0
  2326. package/llms/components/lr-filter-bar.md +42 -37
  2327. package/llms/components/lr-flag.md +10 -6
  2328. package/llms/components/lr-flow-canvas.md +11 -5
  2329. package/llms/components/lr-flow-controls.md +11 -3
  2330. package/llms/components/lr-flow-minimap.md +6 -2
  2331. package/llms/components/lr-flow-node.md +6 -5
  2332. package/llms/components/lr-format-bytes.md +10 -5
  2333. package/llms/components/lr-format-date.md +3 -3
  2334. package/llms/components/lr-format-number.md +3 -2
  2335. package/llms/components/lr-funnel.md +12 -13
  2336. package/llms/components/lr-gauge.md +6 -3
  2337. package/llms/components/lr-gen-view.md +19 -0
  2338. package/llms/components/lr-generation-metrics.md +8 -2
  2339. package/llms/components/lr-geojson-viewer.md +18 -11
  2340. package/llms/components/lr-graph-legend.md +5 -2
  2341. package/llms/components/lr-graph-query-builder.md +21 -2
  2342. package/llms/components/lr-graph.md +18 -10
  2343. package/llms/components/lr-handoff-divider.md +4 -2
  2344. package/llms/components/lr-heatmap.md +74 -8
  2345. package/llms/components/lr-help.md +55 -0
  2346. package/llms/components/lr-highlight-layer.md +13 -3
  2347. package/llms/components/lr-histogram.md +16 -5
  2348. package/llms/components/lr-html-viewer.md +8 -1
  2349. package/llms/components/lr-icon-button.md +33 -10
  2350. package/llms/components/lr-icon.md +13 -1
  2351. package/llms/components/lr-image-comparer.md +7 -3
  2352. package/llms/components/lr-image-viewer.md +18 -9
  2353. package/llms/components/lr-include.md +3 -0
  2354. package/llms/components/lr-ingestion-queue.md +7 -2
  2355. package/llms/components/lr-input.md +26 -1
  2356. package/llms/components/lr-intersection-observer.md +4 -1
  2357. package/llms/components/lr-json-schema-viewer.md +12 -11
  2358. package/llms/components/lr-json-viewer.md +16 -4
  2359. package/llms/components/lr-kbd.md +4 -2
  2360. package/llms/components/lr-knowledge-base-admin.md +4 -1
  2361. package/llms/components/lr-knowledge-base.md +5 -4
  2362. package/llms/components/lr-knowledge-graph-explorer.md +20 -4
  2363. package/llms/components/lr-known-date.md +16 -1
  2364. package/llms/components/lr-lightbox-item.md +14 -0
  2365. package/llms/components/lr-lightbox.md +97 -12
  2366. package/llms/components/lr-line-chart.md +12 -4
  2367. package/llms/components/lr-lite-chart.md +15 -3
  2368. package/llms/components/lr-locale-picker.md +34 -3
  2369. package/llms/components/lr-map-anchor.md +21 -17
  2370. package/llms/components/lr-map.md +335 -36
  2371. package/llms/components/lr-markdown-core.md +33 -8
  2372. package/llms/components/lr-markdown.md +70 -14
  2373. package/llms/components/lr-mcp-app.md +4 -2
  2374. package/llms/components/lr-media-card.md +12 -4
  2375. package/llms/components/lr-memory-panel.md +22 -5
  2376. package/llms/components/lr-mention-popover.md +14 -3
  2377. package/llms/components/lr-menu-item.md +1 -1
  2378. package/llms/components/lr-menu-label.md +7 -1
  2379. package/llms/components/lr-menu.md +57 -8
  2380. package/llms/components/lr-menubar-item.md +1 -1
  2381. package/llms/components/lr-menubar.md +10 -2
  2382. package/llms/components/lr-message-actions.md +3 -1
  2383. package/llms/components/lr-message-feedback.md +19 -4
  2384. package/llms/components/lr-message-parts.md +19 -7
  2385. package/llms/components/lr-mind-map.md +7 -3
  2386. package/llms/components/lr-model-select.md +49 -8
  2387. package/llms/components/lr-model-settings-panel.md +9 -3
  2388. package/llms/components/lr-model-viewer.md +12 -6
  2389. package/llms/components/lr-multi-split.md +14 -10
  2390. package/llms/components/lr-native-time-input.md +23 -2
  2391. package/llms/components/lr-navigation-menu.md +11 -6
  2392. package/llms/components/lr-neighbor-list.md +5 -4
  2393. package/llms/components/lr-node-palette.md +9 -8
  2394. package/llms/components/lr-notebook-viewer.md +17 -7
  2395. package/llms/components/lr-number-input.md +24 -3
  2396. package/llms/components/lr-number-ticker.md +55 -0
  2397. package/llms/components/lr-otp-input.md +36 -6
  2398. package/llms/components/lr-page-rail.md +7 -3
  2399. package/llms/components/lr-page.md +34 -13
  2400. package/llms/components/lr-pagination.md +78 -13
  2401. package/llms/components/lr-pan-zoom.md +17 -8
  2402. package/llms/components/lr-path-strip.md +5 -2
  2403. package/llms/components/lr-pdf-viewer.md +22 -9
  2404. package/llms/components/lr-permission-grant.md +14 -3
  2405. package/llms/components/lr-permission-rules.md +21 -5
  2406. package/llms/components/lr-phone-input.md +33 -6
  2407. package/llms/components/lr-pie-chart.md +1 -1
  2408. package/llms/components/lr-polar-area-chart.md +1 -1
  2409. package/llms/components/lr-policy-summary.md +4 -1
  2410. package/llms/components/lr-poll-status.md +8 -3
  2411. package/llms/components/lr-popover.md +51 -9
  2412. package/llms/components/lr-popup.md +1 -1
  2413. package/llms/components/lr-pptx-viewer.md +16 -6
  2414. package/llms/components/lr-progress-bar.md +4 -5
  2415. package/llms/components/lr-progress-ring.md +2 -2
  2416. package/llms/components/lr-prompt-input.md +18 -5
  2417. package/llms/components/lr-prompt-queue.md +14 -4
  2418. package/llms/components/lr-prompt-studio.md +14 -7
  2419. package/llms/components/lr-provenance-panel.md +24 -13
  2420. package/llms/components/lr-push-to-talk.md +11 -4
  2421. package/llms/components/lr-qr-code.md +1 -1
  2422. package/llms/components/lr-radar-chart.md +1 -1
  2423. package/llms/components/lr-radio-button.md +12 -4
  2424. package/llms/components/lr-radio-group.md +48 -9
  2425. package/llms/components/lr-radio.md +19 -4
  2426. package/llms/components/lr-rag-answer.md +3 -2
  2427. package/llms/components/lr-rag-eval-dashboard.md +12 -5
  2428. package/llms/components/lr-random-content.md +7 -3
  2429. package/llms/components/lr-rating.md +10 -4
  2430. package/llms/components/lr-realtime-session.md +10 -1
  2431. package/llms/components/lr-relative-time.md +3 -3
  2432. package/llms/components/lr-reorder-list.md +1 -1
  2433. package/llms/components/lr-research-progress.md +1 -1
  2434. package/llms/components/lr-resize-observer.md +2 -0
  2435. package/llms/components/lr-responsive-panel.md +10 -3
  2436. package/llms/components/lr-result-card.md +2 -1
  2437. package/llms/components/lr-result-field.md +1 -1
  2438. package/llms/components/lr-retrieval-compare.md +7 -4
  2439. package/llms/components/lr-retrieval-results.md +10 -5
  2440. package/llms/components/lr-retrieval-search.md +1 -1
  2441. package/llms/components/lr-retrieval-trace.md +20 -9
  2442. package/llms/components/lr-rubric-form.md +22 -8
  2443. package/llms/components/lr-sankey.md +103 -0
  2444. package/llms/components/lr-scatter-chart.md +1 -1
  2445. package/llms/components/lr-scroller.md +13 -6
  2446. package/llms/components/lr-segmented.md +49 -9
  2447. package/llms/components/lr-select.md +56 -27
  2448. package/llms/components/lr-selection-toolbar.md +5 -1
  2449. package/llms/components/lr-sequence-playback.md +16 -5
  2450. package/llms/components/lr-sequence-strip.md +6 -3
  2451. package/llms/components/lr-signature-pad.md +44 -7
  2452. package/llms/components/lr-skeleton.md +1 -1
  2453. package/llms/components/lr-slider.md +58 -10
  2454. package/llms/components/lr-source-list.md +4 -1
  2455. package/llms/components/lr-source-picker.md +16 -8
  2456. package/llms/components/lr-span-waterfall.md +11 -7
  2457. package/llms/components/lr-sparkline.md +3 -2
  2458. package/llms/components/lr-spinner.md +4 -2
  2459. package/llms/components/lr-split-panel.md +8 -3
  2460. package/llms/components/lr-spreadsheet-viewer.md +11 -3
  2461. package/llms/components/lr-stack-trace.md +8 -2
  2462. package/llms/components/lr-stat.md +54 -13
  2463. package/llms/components/lr-step.md +61 -0
  2464. package/llms/components/lr-stepper.md +79 -11
  2465. package/llms/components/lr-stream-status.md +6 -3
  2466. package/llms/components/lr-streaming-text-core.md +7 -4
  2467. package/llms/components/lr-streaming-text.md +9 -7
  2468. package/llms/components/lr-style-panel.md +73 -0
  2469. package/llms/components/lr-subagent-panel.md +11 -4
  2470. package/llms/components/lr-suggestion-chips.md +10 -4
  2471. package/llms/components/lr-svg-viewer.md +15 -8
  2472. package/llms/components/lr-swatch-picker.md +11 -4
  2473. package/llms/components/lr-switch.md +11 -5
  2474. package/llms/components/lr-tab-group.md +31 -3
  2475. package/llms/components/lr-tab-panel.md +2 -2
  2476. package/llms/components/lr-tab.md +5 -2
  2477. package/llms/components/lr-table.md +168 -56
  2478. package/llms/components/lr-tag.md +2 -2
  2479. package/llms/components/lr-task-list.md +16 -9
  2480. package/llms/components/lr-terminal.md +14 -8
  2481. package/llms/components/lr-test-results.md +20 -8
  2482. package/llms/components/lr-textarea.md +44 -9
  2483. package/llms/components/lr-thinking-panel.md +14 -8
  2484. package/llms/components/lr-thread-list.md +63 -20
  2485. package/llms/components/lr-time-input.md +29 -7
  2486. package/llms/components/lr-time-range.md +16 -15
  2487. package/llms/components/lr-time-zone-picker.md +18 -3
  2488. package/llms/components/lr-timeline-item.md +1 -1
  2489. package/llms/components/lr-timeline.md +49 -4
  2490. package/llms/components/lr-toast-item.md +2 -2
  2491. package/llms/components/lr-toast.md +15 -6
  2492. package/llms/components/lr-toggle-group.md +3 -3
  2493. package/llms/components/lr-toggle.md +1 -1
  2494. package/llms/components/lr-token-input.md +101 -18
  2495. package/llms/components/lr-tool-approval-dialog.md +16 -2
  2496. package/llms/components/lr-tool-call-block.md +11 -2
  2497. package/llms/components/lr-tool-call-chip.md +17 -5
  2498. package/llms/components/lr-tool-param-form.md +15 -9
  2499. package/llms/components/lr-tool-result-dialog.md +14 -5
  2500. package/llms/components/lr-tool-result-view.md +8 -5
  2501. package/llms/components/lr-tool-select-dialog.md +27 -9
  2502. package/llms/components/lr-tool-timeline.md +24 -6
  2503. package/llms/components/lr-tooltip.md +23 -14
  2504. package/llms/components/lr-tour.md +18 -4
  2505. package/llms/components/lr-trace-tree.md +18 -4
  2506. package/llms/components/lr-transcript-feed.md +9 -4
  2507. package/llms/components/lr-tree-item.md +1 -1
  2508. package/llms/components/lr-tree.md +14 -7
  2509. package/llms/components/lr-treemap.md +90 -0
  2510. package/llms/components/lr-typing-indicator.md +4 -5
  2511. package/llms/components/lr-unit-picker.md +18 -3
  2512. package/llms/components/lr-usage-badge.md +11 -3
  2513. package/llms/components/lr-video-playlist.md +11 -3
  2514. package/llms/components/lr-video.md +37 -19
  2515. package/llms/components/lr-virtual-list.md +21 -13
  2516. package/llms/components/lr-voice-picker.md +38 -7
  2517. package/llms/components/lr-widget-renderer.md +6 -5
  2518. package/llms/components/lr-widget.md +32 -20
  2519. package/llms/components/lr-word-cloud.md +11 -4
  2520. package/llms/components/lr-xml-viewer.md +15 -6
  2521. package/llms/components/lr-zoomable-frame.md +17 -4
  2522. package/llms/index.md +335 -320
  2523. package/llms/migration.md +223 -15
  2524. package/llms/peers.md +3 -3
  2525. package/llms/shared/ai-and-peers.md +1 -2
  2526. package/llms/shared/events-and-types.md +75 -5
  2527. package/llms/shared/forms-and-accessibility.md +42 -3
  2528. package/llms/shared/frameworks-and-ssr.md +2 -2
  2529. package/llms/shared/imports-and-registration.md +62 -4
  2530. package/llms/shared/localization-and-rtl.md +7 -2
  2531. package/llms/shared/native-styles-and-utilities.md +153 -5
  2532. package/llms/shared/styles-and-tokens.md +76 -35
  2533. package/llms/shared/testing-and-utilities.md +45 -16
  2534. package/llms/shared.md +462 -74
  2535. package/llms/tokens.md +7 -2
  2536. package/llms.txt +8 -9
  2537. package/locales.json +1 -1
  2538. package/package.json +396 -948
  2539. package/registrations.json +1 -1
  2540. package/skills/compose-lyra-interfaces/SKILL.md +1 -1
  2541. package/skills/lyra-ui/SKILL.md +1 -2
  2542. package/skills/lyra-ui/commands/migrate.md +3 -0
  2543. package/dist/cli/agent-registry.mjs +0 -1
  2544. package/dist/cli/component-inventory.mjs +0 -1
  2545. package/dist/cli/css-declarations.mjs +0 -1
  2546. package/dist/cli/html-comments.mjs +0 -1
  2547. package/dist/cli/is-main-module.mjs +0 -1
  2548. package/dist/cli/lyra-rename-ledger.mjs +0 -1
  2549. package/dist/cli/migration-analysis.mjs +0 -13
  2550. package/dist/cli/migration-contract.json +0 -1
  2551. package/dist/cli/migration-contract.mjs +0 -2
  2552. package/dist/cli/migration-immutable-collections.mjs +0 -6
  2553. package/dist/cli/migration-renames.mjs +0 -4
  2554. package/dist/cli/migration-theme-scopes.mjs +0 -3
  2555. package/dist/cli/migration-transforms.mjs +0 -4
  2556. package/dist/cli/theme-scope-vocabulary.generated.mjs +0 -1
  2557. package/dist/components/agent-tools/activity-feed/activity-feed.d.ts +0 -2
  2558. package/dist/components/agent-tools/activity-feed/activity-feed.js +0 -1
  2559. package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.d.ts +0 -2
  2560. package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.js +0 -1
  2561. package/dist/components/agent-tools/agent-question/agent-question.d.ts +0 -2
  2562. package/dist/components/agent-tools/agent-question/agent-question.js +0 -1
  2563. package/dist/components/agent-tools/agent-run/agent-run.d.ts +0 -2
  2564. package/dist/components/agent-tools/agent-run/agent-run.js +0 -1
  2565. package/dist/components/agent-tools/agent-trace/agent-trace.d.ts +0 -2
  2566. package/dist/components/agent-tools/agent-trace/agent-trace.js +0 -1
  2567. package/dist/components/agent-tools/approval-queue/approval-queue.d.ts +0 -2
  2568. package/dist/components/agent-tools/approval-queue/approval-queue.js +0 -1
  2569. package/dist/components/agent-tools/artifact-panel/artifact-panel.d.ts +0 -2
  2570. package/dist/components/agent-tools/artifact-panel/artifact-panel.js +0 -1
  2571. package/dist/components/agent-tools/background-runs/background-runs.d.ts +0 -2
  2572. package/dist/components/agent-tools/background-runs/background-runs.js +0 -1
  2573. package/dist/components/agent-tools/browser-frame/browser-frame.d.ts +0 -2
  2574. package/dist/components/agent-tools/browser-frame/browser-frame.js +0 -1
  2575. package/dist/components/agent-tools/budget-meter/budget-meter.d.ts +0 -2
  2576. package/dist/components/agent-tools/budget-meter/budget-meter.js +0 -1
  2577. package/dist/components/agent-tools/change-review/change-review.d.ts +0 -2
  2578. package/dist/components/agent-tools/change-review/change-review.js +0 -1
  2579. package/dist/components/agent-tools/collection-identity.js +0 -1
  2580. package/dist/components/agent-tools/commit-card/commit-card.d.ts +0 -2
  2581. package/dist/components/agent-tools/commit-card/commit-card.js +0 -1
  2582. package/dist/components/agent-tools/compare-panel/compare-panel.d.ts +0 -2
  2583. package/dist/components/agent-tools/compare-panel/compare-panel.js +0 -1
  2584. package/dist/components/agent-tools/confirm-bar/confirm-bar.d.ts +0 -2
  2585. package/dist/components/agent-tools/confirm-bar/confirm-bar.js +0 -1
  2586. package/dist/components/agent-tools/connector-manager/connector-manager.d.ts +0 -2
  2587. package/dist/components/agent-tools/connector-manager/connector-manager.js +0 -1
  2588. package/dist/components/agent-tools/context-inspector/context-inspector.d.ts +0 -2
  2589. package/dist/components/agent-tools/context-inspector/context-inspector.js +0 -1
  2590. package/dist/components/agent-tools/context-inspector/context-inspector.styles.js +0 -1
  2591. package/dist/components/agent-tools/eval-dataset/eval-dataset.d.ts +0 -2
  2592. package/dist/components/agent-tools/eval-dataset/eval-dataset.js +0 -1
  2593. package/dist/components/agent-tools/eval-result/eval-result.d.ts +0 -2
  2594. package/dist/components/agent-tools/eval-result/eval-result.js +0 -1
  2595. package/dist/components/agent-tools/evaluation-run/evaluation-run.d.ts +0 -2
  2596. package/dist/components/agent-tools/evaluation-run/evaluation-run.js +0 -1
  2597. package/dist/components/agent-tools/mcp-app/mcp-app.d.ts +0 -2
  2598. package/dist/components/agent-tools/mcp-app/mcp-app.js +0 -1
  2599. package/dist/components/agent-tools/permission-grant/permission-grant.d.ts +0 -2
  2600. package/dist/components/agent-tools/permission-grant/permission-grant.js +0 -1
  2601. package/dist/components/agent-tools/permission-rules/permission-rules.d.ts +0 -2
  2602. package/dist/components/agent-tools/permission-rules/permission-rules.js +0 -1
  2603. package/dist/components/agent-tools/policy-summary/policy-summary.d.ts +0 -2
  2604. package/dist/components/agent-tools/policy-summary/policy-summary.js +0 -1
  2605. package/dist/components/agent-tools/policy-summary/policy-summary.styles.js +0 -1
  2606. package/dist/components/agent-tools/prompt-studio/prompt-studio.d.ts +0 -2
  2607. package/dist/components/agent-tools/prompt-studio/prompt-studio.js +0 -1
  2608. package/dist/components/agent-tools/result-card/result-card.d.ts +0 -2
  2609. package/dist/components/agent-tools/result-card/result-card.js +0 -1
  2610. package/dist/components/agent-tools/result-card/result-field.d.ts +0 -2
  2611. package/dist/components/agent-tools/result-card/result-field.js +0 -1
  2612. package/dist/components/agent-tools/schema-viewer/schema-viewer.d.ts +0 -2
  2613. package/dist/components/agent-tools/schema-viewer/schema-viewer.js +0 -1
  2614. package/dist/components/agent-tools/span-waterfall/span-waterfall.d.ts +0 -2
  2615. package/dist/components/agent-tools/span-waterfall/span-waterfall.js +0 -1
  2616. package/dist/components/agent-tools/stack-trace/stack-trace.d.ts +0 -2
  2617. package/dist/components/agent-tools/stack-trace/stack-trace.js +0 -1
  2618. package/dist/components/agent-tools/subagent-panel/subagent-panel.d.ts +0 -2
  2619. package/dist/components/agent-tools/subagent-panel/subagent-panel.js +0 -1
  2620. package/dist/components/agent-tools/task-list/task-list.d.ts +0 -2
  2621. package/dist/components/agent-tools/task-list/task-list.js +0 -1
  2622. package/dist/components/agent-tools/terminal/terminal.d.ts +0 -2
  2623. package/dist/components/agent-tools/terminal/terminal.js +0 -1
  2624. package/dist/components/agent-tools/test-results/test-results.d.ts +0 -3
  2625. package/dist/components/agent-tools/test-results/test-results.js +0 -1
  2626. package/dist/components/agent-tools/thinking-panel/thinking-panel.d.ts +0 -2
  2627. package/dist/components/agent-tools/thinking-panel/thinking-panel.js +0 -1
  2628. package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.d.ts +0 -2
  2629. package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.js +0 -1
  2630. package/dist/components/agent-tools/tool-call-block/tool-call-block.d.ts +0 -2
  2631. package/dist/components/agent-tools/tool-call-block/tool-call-block.js +0 -1
  2632. package/dist/components/agent-tools/tool-call-chip/tool-call-chip.d.ts +0 -2
  2633. package/dist/components/agent-tools/tool-call-chip/tool-call-chip.js +0 -1
  2634. package/dist/components/agent-tools/tool-param-form/tool-param-form.d.ts +0 -2
  2635. package/dist/components/agent-tools/tool-param-form/tool-param-form.js +0 -1
  2636. package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.d.ts +0 -2
  2637. package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.js +0 -1
  2638. package/dist/components/agent-tools/tool-result-view/tool-result-view.d.ts +0 -2
  2639. package/dist/components/agent-tools/tool-result-view/tool-result-view.js +0 -1
  2640. package/dist/components/agent-tools/tool-result-view/tool-result-view.styles.js +0 -1
  2641. package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.d.ts +0 -2
  2642. package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.js +0 -1
  2643. package/dist/components/agent-tools/tool-timeline/tool-timeline.d.ts +0 -2
  2644. package/dist/components/agent-tools/tool-timeline/tool-timeline.js +0 -1
  2645. package/dist/components/agent-tools/tool-timeline/tool-timeline.styles.js +0 -1
  2646. package/dist/components/agent-tools/trace-tree/trace-tree.d.ts +0 -2
  2647. package/dist/components/agent-tools/trace-tree/trace-tree.js +0 -1
  2648. package/dist/components/charts/chart/bar-chart.d.ts +0 -2
  2649. package/dist/components/charts/chart/bar-chart.js +0 -1
  2650. package/dist/components/charts/chart/box-plot.d.ts +0 -2
  2651. package/dist/components/charts/chart/box-plot.js +0 -1
  2652. package/dist/components/charts/chart/bubble-chart.d.ts +0 -2
  2653. package/dist/components/charts/chart/bubble-chart.js +0 -1
  2654. package/dist/components/charts/chart/chart-number-format.js +0 -1
  2655. package/dist/components/charts/chart/chart.d.ts +0 -2
  2656. package/dist/components/charts/chart/chart.js +0 -1
  2657. package/dist/components/charts/chart/doughnut-chart.d.ts +0 -2
  2658. package/dist/components/charts/chart/doughnut-chart.js +0 -1
  2659. package/dist/components/charts/chart/histogram.d.ts +0 -2
  2660. package/dist/components/charts/chart/histogram.js +0 -1
  2661. package/dist/components/charts/chart/line-chart.d.ts +0 -2
  2662. package/dist/components/charts/chart/line-chart.js +0 -1
  2663. package/dist/components/charts/chart/lite-chart.d.ts +0 -2
  2664. package/dist/components/charts/chart/lite-chart.js +0 -1
  2665. package/dist/components/charts/chart/pie-chart.d.ts +0 -2
  2666. package/dist/components/charts/chart/pie-chart.js +0 -1
  2667. package/dist/components/charts/chart/polar-area-chart.d.ts +0 -2
  2668. package/dist/components/charts/chart/polar-area-chart.js +0 -1
  2669. package/dist/components/charts/chart/radar-chart.d.ts +0 -2
  2670. package/dist/components/charts/chart/radar-chart.js +0 -1
  2671. package/dist/components/charts/chart/scatter-chart.d.ts +0 -2
  2672. package/dist/components/charts/chart/scatter-chart.js +0 -1
  2673. package/dist/components/charts/chart-3d/chart-3d.d.ts +0 -1
  2674. package/dist/components/charts/chart-3d/chart-3d.js +0 -1
  2675. package/dist/components/conversation/agent-workspace/agent-workspace.d.ts +0 -2
  2676. package/dist/components/conversation/agent-workspace/agent-workspace.js +0 -1
  2677. package/dist/components/conversation/audio-visualizer/audio-visualizer.d.ts +0 -2
  2678. package/dist/components/conversation/audio-visualizer/audio-visualizer.js +0 -1
  2679. package/dist/components/conversation/audio-visualizer/audio-visualizer.styles.js +0 -1
  2680. package/dist/components/conversation/branch-picker/branch-picker.d.ts +0 -2
  2681. package/dist/components/conversation/branch-picker/branch-picker.js +0 -1
  2682. package/dist/components/conversation/chat-composer/chat-composer-status.js +0 -1
  2683. package/dist/components/conversation/chat-composer/chat-composer.d.ts +0 -2
  2684. package/dist/components/conversation/chat-composer/chat-composer.js +0 -1
  2685. package/dist/components/conversation/chat-message/chat-message.d.ts +0 -2
  2686. package/dist/components/conversation/chat-message/chat-message.js +0 -1
  2687. package/dist/components/conversation/chat-viewport/chat-viewport.d.ts +0 -2
  2688. package/dist/components/conversation/chat-viewport/chat-viewport.js +0 -1
  2689. package/dist/components/conversation/checkpoint/checkpoint.d.ts +0 -2
  2690. package/dist/components/conversation/checkpoint/checkpoint.js +0 -1
  2691. package/dist/components/conversation/code-block/code-block-core.d.ts +0 -2
  2692. package/dist/components/conversation/code-block/code-block-core.js +0 -1
  2693. package/dist/components/conversation/code-block/code-block.d.ts +0 -2
  2694. package/dist/components/conversation/code-block/code-block.js +0 -1
  2695. package/dist/components/conversation/code-block/shiki-dark-theme.js +0 -1
  2696. package/dist/components/conversation/conversation-item/conversation-item.d.ts +0 -2
  2697. package/dist/components/conversation/conversation-item/conversation-item.js +0 -1
  2698. package/dist/components/conversation/generation-metrics/generation-metrics.d.ts +0 -2
  2699. package/dist/components/conversation/generation-metrics/generation-metrics.js +0 -1
  2700. package/dist/components/conversation/handoff-divider/handoff-divider.d.ts +0 -2
  2701. package/dist/components/conversation/handoff-divider/handoff-divider.js +0 -1
  2702. package/dist/components/conversation/markdown/markdown-core.d.ts +0 -2
  2703. package/dist/components/conversation/markdown/markdown-core.js +0 -1
  2704. package/dist/components/conversation/markdown/markdown.d.ts +0 -2
  2705. package/dist/components/conversation/markdown/markdown.js +0 -1
  2706. package/dist/components/conversation/message-actions/message-actions.d.ts +0 -2
  2707. package/dist/components/conversation/message-actions/message-actions.js +0 -1
  2708. package/dist/components/conversation/message-feedback/message-feedback.d.ts +0 -2
  2709. package/dist/components/conversation/message-feedback/message-feedback.js +0 -1
  2710. package/dist/components/conversation/message-parts/message-parts.d.ts +0 -2
  2711. package/dist/components/conversation/message-parts/message-parts.js +0 -1
  2712. package/dist/components/conversation/model-select/model-select.d.ts +0 -2
  2713. package/dist/components/conversation/model-select/model-select.js +0 -1
  2714. package/dist/components/conversation/model-settings-panel/model-settings-panel.d.ts +0 -2
  2715. package/dist/components/conversation/model-settings-panel/model-settings-panel.js +0 -1
  2716. package/dist/components/conversation/model-settings-panel/model-settings-panel.styles.js +0 -1
  2717. package/dist/components/conversation/prompt-input/prompt-input.d.ts +0 -2
  2718. package/dist/components/conversation/prompt-input/prompt-input.js +0 -1
  2719. package/dist/components/conversation/prompt-queue/prompt-queue.d.ts +0 -2
  2720. package/dist/components/conversation/prompt-queue/prompt-queue.js +0 -1
  2721. package/dist/components/conversation/push-to-talk/push-to-talk.d.ts +0 -2
  2722. package/dist/components/conversation/push-to-talk/push-to-talk.js +0 -1
  2723. package/dist/components/conversation/realtime-session/realtime-session.d.ts +0 -2
  2724. package/dist/components/conversation/realtime-session/realtime-session.js +0 -1
  2725. package/dist/components/conversation/selection-toolbar/selection-toolbar.d.ts +0 -2
  2726. package/dist/components/conversation/selection-toolbar/selection-toolbar.js +0 -1
  2727. package/dist/components/conversation/stream-status/stream-status.d.ts +0 -2
  2728. package/dist/components/conversation/stream-status/stream-status.js +0 -1
  2729. package/dist/components/conversation/stream-status/stream-status.styles.js +0 -1
  2730. package/dist/components/conversation/streaming-text/streaming-text-core.d.ts +0 -2
  2731. package/dist/components/conversation/streaming-text/streaming-text-core.js +0 -1
  2732. package/dist/components/conversation/streaming-text/streaming-text.d.ts +0 -2
  2733. package/dist/components/conversation/streaming-text/streaming-text.js +0 -1
  2734. package/dist/components/conversation/suggestion-chips/suggestion-chips.d.ts +0 -2
  2735. package/dist/components/conversation/suggestion-chips/suggestion-chips.js +0 -1
  2736. package/dist/components/conversation/thread-list/thread-list.d.ts +0 -2
  2737. package/dist/components/conversation/thread-list/thread-list.js +0 -1
  2738. package/dist/components/conversation/transcript-feed/transcript-feed.d.ts +0 -2
  2739. package/dist/components/conversation/transcript-feed/transcript-feed.js +0 -1
  2740. package/dist/components/conversation/typing-indicator/typing-indicator.d.ts +0 -2
  2741. package/dist/components/conversation/typing-indicator/typing-indicator.js +0 -1
  2742. package/dist/components/conversation/typing-indicator/typing-indicator.styles.js +0 -1
  2743. package/dist/components/conversation/usage-badge/usage-badge.d.ts +0 -2
  2744. package/dist/components/conversation/usage-badge/usage-badge.js +0 -1
  2745. package/dist/components/conversation/voice-picker/voice-picker.d.ts +0 -2
  2746. package/dist/components/conversation/voice-picker/voice-picker.js +0 -1
  2747. package/dist/components/conversation/widget-renderer/widget-renderer.d.ts +0 -2
  2748. package/dist/components/conversation/widget-renderer/widget-renderer.js +0 -1
  2749. package/dist/components/conversation/widget-renderer/widget-renderer.styles.js +0 -1
  2750. package/dist/components/data/calendar/calendar.d.ts +0 -2
  2751. package/dist/components/data/calendar/calendar.js +0 -1
  2752. package/dist/components/data/condition-builder/condition-builder.d.ts +0 -2
  2753. package/dist/components/data/condition-builder/condition-builder.js +0 -1
  2754. package/dist/components/data/context-meter/context-meter.d.ts +0 -2
  2755. package/dist/components/data/context-meter/context-meter.js +0 -1
  2756. package/dist/components/data/data-grid/data-grid.d.ts +0 -2
  2757. package/dist/components/data/data-grid/data-grid.js +0 -1
  2758. package/dist/components/data/document-library/document-library.d.ts +0 -2
  2759. package/dist/components/data/document-library/document-library.js +0 -1
  2760. package/dist/components/data/env-list/env-list.d.ts +0 -2
  2761. package/dist/components/data/env-list/env-list.js +0 -1
  2762. package/dist/components/data/file-tree/file-tree.d.ts +0 -3
  2763. package/dist/components/data/file-tree/file-tree.js +0 -1
  2764. package/dist/components/data/file-tree/file-tree.styles.js +0 -1
  2765. package/dist/components/data/flow-canvas/flow-canvas.d.ts +0 -2
  2766. package/dist/components/data/flow-canvas/flow-canvas.js +0 -1
  2767. package/dist/components/data/flow-controls/flow-controls.d.ts +0 -2
  2768. package/dist/components/data/flow-controls/flow-controls.js +0 -1
  2769. package/dist/components/data/flow-minimap/flow-minimap.d.ts +0 -2
  2770. package/dist/components/data/flow-minimap/flow-minimap.js +0 -1
  2771. package/dist/components/data/flow-node/flow-node.d.ts +0 -2
  2772. package/dist/components/data/flow-node/flow-node.js +0 -1
  2773. package/dist/components/data/flow-run-status/flow-run-status.d.ts +0 -2
  2774. package/dist/components/data/flow-run-status/flow-run-status.js +0 -1
  2775. package/dist/components/data/funnel/funnel.d.ts +0 -2
  2776. package/dist/components/data/funnel/funnel.js +0 -1
  2777. package/dist/components/data/funnel/funnel.styles.js +0 -1
  2778. package/dist/components/data/gauge/gauge.d.ts +0 -2
  2779. package/dist/components/data/gauge/gauge.js +0 -1
  2780. package/dist/components/data/gauge/gauge.styles.js +0 -1
  2781. package/dist/components/data/graph-query-builder/graph-query-builder.d.ts +0 -2
  2782. package/dist/components/data/graph-query-builder/graph-query-builder.js +0 -1
  2783. package/dist/components/data/heatmap/heatmap.d.ts +0 -2
  2784. package/dist/components/data/heatmap/heatmap.js +0 -1
  2785. package/dist/components/data/pagination/pagination.d.ts +0 -2
  2786. package/dist/components/data/pagination/pagination.js +0 -1
  2787. package/dist/components/data/sequence-strip/sequence-strip.d.ts +0 -2
  2788. package/dist/components/data/sequence-strip/sequence-strip.js +0 -1
  2789. package/dist/components/data/sparkline/sparkline.d.ts +0 -2
  2790. package/dist/components/data/sparkline/sparkline.js +0 -1
  2791. package/dist/components/data/sparkline/sparkline.styles.js +0 -1
  2792. package/dist/components/data/stat/stat.d.ts +0 -2
  2793. package/dist/components/data/stat/stat.js +0 -1
  2794. package/dist/components/data/table/table.d.ts +0 -2
  2795. package/dist/components/data/table/table.js +0 -1
  2796. package/dist/components/data/timeline/timeline-item.d.ts +0 -2
  2797. package/dist/components/data/timeline/timeline-item.js +0 -1
  2798. package/dist/components/data/timeline/timeline.d.ts +0 -2
  2799. package/dist/components/data/timeline/timeline.js +0 -1
  2800. package/dist/components/data/tree/tree-item.d.ts +0 -2
  2801. package/dist/components/data/tree/tree-item.js +0 -1
  2802. package/dist/components/data/tree/tree.d.ts +0 -3
  2803. package/dist/components/data/tree/tree.js +0 -1
  2804. package/dist/components/data/tree/tree.styles.js +0 -1
  2805. package/dist/components/data/word-cloud/word-cloud.d.ts +0 -2
  2806. package/dist/components/data/word-cloud/word-cloud.js +0 -1
  2807. package/dist/components/forms/button/button.d.ts +0 -2
  2808. package/dist/components/forms/button/button.js +0 -1
  2809. package/dist/components/forms/checkbox/checkbox.d.ts +0 -2
  2810. package/dist/components/forms/checkbox/checkbox.js +0 -1
  2811. package/dist/components/forms/checkbox-group/checkbox-group.d.ts +0 -2
  2812. package/dist/components/forms/checkbox-group/checkbox-group.js +0 -1
  2813. package/dist/components/forms/code-editor/code-editor.d.ts +0 -2
  2814. package/dist/components/forms/code-editor/code-editor.js +0 -1
  2815. package/dist/components/forms/color-picker/color-picker.d.ts +0 -2
  2816. package/dist/components/forms/color-picker/color-picker.js +0 -1
  2817. package/dist/components/forms/combobox/combobox.d.ts +0 -2
  2818. package/dist/components/forms/combobox/combobox.js +0 -1
  2819. package/dist/components/forms/combobox/option.d.ts +0 -2
  2820. package/dist/components/forms/combobox/option.js +0 -1
  2821. package/dist/components/forms/country-picker/country-picker.d.ts +0 -1
  2822. package/dist/components/forms/country-picker/country-picker.js +0 -1
  2823. package/dist/components/forms/currency-picker/currency-picker.d.ts +0 -1
  2824. package/dist/components/forms/currency-picker/currency-picker.js +0 -1
  2825. package/dist/components/forms/date-picker/date-input.d.ts +0 -2
  2826. package/dist/components/forms/date-picker/date-input.js +0 -1
  2827. package/dist/components/forms/date-picker/date-picker.d.ts +0 -2
  2828. package/dist/components/forms/date-picker/date-picker.js +0 -1
  2829. package/dist/components/forms/emoji-picker/emoji-picker.d.ts +0 -2
  2830. package/dist/components/forms/emoji-picker/emoji-picker.js +0 -1
  2831. package/dist/components/forms/icon-button/icon-button.d.ts +0 -2
  2832. package/dist/components/forms/icon-button/icon-button.js +0 -1
  2833. package/dist/components/forms/input/input.d.ts +0 -2
  2834. package/dist/components/forms/input/input.js +0 -1
  2835. package/dist/components/forms/input/native-time-input.d.ts +0 -2
  2836. package/dist/components/forms/input/native-time-input.js +0 -1
  2837. package/dist/components/forms/input/number-input.d.ts +0 -2
  2838. package/dist/components/forms/input/number-input.js +0 -1
  2839. package/dist/components/forms/input/time-input.d.ts +0 -2
  2840. package/dist/components/forms/input/time-input.js +0 -1
  2841. package/dist/components/forms/locale-picker/locale-picker.d.ts +0 -2
  2842. package/dist/components/forms/locale-picker/locale-picker.js +0 -1
  2843. package/dist/components/forms/otp-input/otp-input.d.ts +0 -2
  2844. package/dist/components/forms/otp-input/otp-input.js +0 -1
  2845. package/dist/components/forms/phone-input/phone-input.d.ts +0 -2
  2846. package/dist/components/forms/phone-input/phone-input.js +0 -1
  2847. package/dist/components/forms/radio/radio-button.d.ts +0 -2
  2848. package/dist/components/forms/radio/radio-button.js +0 -1
  2849. package/dist/components/forms/radio/radio-group.d.ts +0 -2
  2850. package/dist/components/forms/radio/radio-group.js +0 -1
  2851. package/dist/components/forms/radio/radio.d.ts +0 -2
  2852. package/dist/components/forms/radio/radio.js +0 -1
  2853. package/dist/components/forms/rubric-form/rubric-form.d.ts +0 -2
  2854. package/dist/components/forms/rubric-form/rubric-form.js +0 -1
  2855. package/dist/components/forms/select/select.d.ts +0 -2
  2856. package/dist/components/forms/select/select.js +0 -1
  2857. package/dist/components/forms/signature-pad/signature-pad.d.ts +0 -1
  2858. package/dist/components/forms/signature-pad/signature-pad.js +0 -1
  2859. package/dist/components/forms/slider/slider.d.ts +0 -2
  2860. package/dist/components/forms/slider/slider.js +0 -1
  2861. package/dist/components/forms/swatch-picker/swatch-picker.d.ts +0 -2
  2862. package/dist/components/forms/swatch-picker/swatch-picker.js +0 -1
  2863. package/dist/components/forms/switch/switch.d.ts +0 -2
  2864. package/dist/components/forms/switch/switch.js +0 -1
  2865. package/dist/components/forms/textarea/textarea.d.ts +0 -2
  2866. package/dist/components/forms/textarea/textarea.js +0 -1
  2867. package/dist/components/forms/time-range/time-range.d.ts +0 -2
  2868. package/dist/components/forms/time-range/time-range.js +0 -1
  2869. package/dist/components/forms/time-zone-picker/time-zone-picker.d.ts +0 -1
  2870. package/dist/components/forms/time-zone-picker/time-zone-picker.js +0 -1
  2871. package/dist/components/forms/toggle/toggle.d.ts +0 -2
  2872. package/dist/components/forms/toggle/toggle.js +0 -1
  2873. package/dist/components/forms/toggle-group/toggle-group.d.ts +0 -2
  2874. package/dist/components/forms/toggle-group/toggle-group.js +0 -1
  2875. package/dist/components/forms/toggle-group/toggle-group.styles.js +0 -1
  2876. package/dist/components/forms/token-input/token-input.d.ts +0 -2
  2877. package/dist/components/forms/token-input/token-input.js +0 -1
  2878. package/dist/components/forms/unit-picker/unit-picker.d.ts +0 -1
  2879. package/dist/components/forms/unit-picker/unit-picker.js +0 -1
  2880. package/dist/components/layout/app-rail/app-rail-item.d.ts +0 -2
  2881. package/dist/components/layout/app-rail/app-rail-item.js +0 -1
  2882. package/dist/components/layout/app-rail/app-rail.d.ts +0 -2
  2883. package/dist/components/layout/app-rail/app-rail.js +0 -1
  2884. package/dist/components/layout/app-rail-group/app-rail-group.d.ts +0 -2
  2885. package/dist/components/layout/app-rail-group/app-rail-group.js +0 -1
  2886. package/dist/components/layout/breadcrumb/breadcrumb-item.d.ts +0 -2
  2887. package/dist/components/layout/breadcrumb/breadcrumb-item.js +0 -1
  2888. package/dist/components/layout/breadcrumb/breadcrumb.d.ts +0 -2
  2889. package/dist/components/layout/breadcrumb/breadcrumb.js +0 -1
  2890. package/dist/components/layout/button-group/button-group.d.ts +0 -2
  2891. package/dist/components/layout/button-group/button-group.js +0 -1
  2892. package/dist/components/layout/button-group/button-group.styles.js +0 -1
  2893. package/dist/components/layout/card/card.d.ts +0 -2
  2894. package/dist/components/layout/card/card.js +0 -1
  2895. package/dist/components/layout/carousel/carousel-item.d.ts +0 -2
  2896. package/dist/components/layout/carousel/carousel-item.js +0 -1
  2897. package/dist/components/layout/carousel/carousel-item.styles.js +0 -1
  2898. package/dist/components/layout/carousel/carousel.d.ts +0 -1
  2899. package/dist/components/layout/carousel/carousel.js +0 -1
  2900. package/dist/components/layout/command-palette/command-palette.d.ts +0 -2
  2901. package/dist/components/layout/command-palette/command-palette.js +0 -1
  2902. package/dist/components/layout/control-group/control-group.d.ts +0 -2
  2903. package/dist/components/layout/control-group/control-group.js +0 -1
  2904. package/dist/components/layout/control-group/control-group.styles.js +0 -1
  2905. package/dist/components/layout/dashboard-grid/dashboard-grid.d.ts +0 -2
  2906. package/dist/components/layout/dashboard-grid/dashboard-grid.js +0 -1
  2907. package/dist/components/layout/details/accordion-item.d.ts +0 -2
  2908. package/dist/components/layout/details/accordion-item.js +0 -1
  2909. package/dist/components/layout/details/accordion.d.ts +0 -2
  2910. package/dist/components/layout/details/accordion.js +0 -1
  2911. package/dist/components/layout/details/accordion.styles.js +0 -1
  2912. package/dist/components/layout/details/details.d.ts +0 -2
  2913. package/dist/components/layout/details/details.js +0 -1
  2914. package/dist/components/layout/dock-panel/dock-panel.d.ts +0 -2
  2915. package/dist/components/layout/dock-panel/dock-panel.js +0 -1
  2916. package/dist/components/layout/drilldown-panel/drilldown-panel.d.ts +0 -2
  2917. package/dist/components/layout/drilldown-panel/drilldown-panel.js +0 -1
  2918. package/dist/components/layout/filter-bar/filter-bar.d.ts +0 -2
  2919. package/dist/components/layout/filter-bar/filter-bar.js +0 -1
  2920. package/dist/components/layout/menu/dropdown-item.d.ts +0 -2
  2921. package/dist/components/layout/menu/dropdown-item.js +0 -1
  2922. package/dist/components/layout/menu/menu-item.d.ts +0 -2
  2923. package/dist/components/layout/menu/menu-item.js +0 -1
  2924. package/dist/components/layout/menu/menu-label.d.ts +0 -2
  2925. package/dist/components/layout/menu/menu-label.js +0 -1
  2926. package/dist/components/layout/menu/menu-label.styles.js +0 -1
  2927. package/dist/components/layout/menu/menu.d.ts +0 -2
  2928. package/dist/components/layout/menu/menu.js +0 -1
  2929. package/dist/components/layout/menubar/menubar-item.d.ts +0 -2
  2930. package/dist/components/layout/menubar/menubar-item.js +0 -1
  2931. package/dist/components/layout/menubar/menubar.d.ts +0 -2
  2932. package/dist/components/layout/menubar/menubar.js +0 -1
  2933. package/dist/components/layout/multi-split/multi-split.d.ts +0 -2
  2934. package/dist/components/layout/multi-split/multi-split.js +0 -1
  2935. package/dist/components/layout/navigation-menu/navigation-menu.d.ts +0 -2
  2936. package/dist/components/layout/navigation-menu/navigation-menu.js +0 -1
  2937. package/dist/components/layout/navigation-menu-item/navigation-menu-item.d.ts +0 -2
  2938. package/dist/components/layout/navigation-menu-item/navigation-menu-item.js +0 -1
  2939. package/dist/components/layout/page/page.d.ts +0 -2
  2940. package/dist/components/layout/page/page.js +0 -1
  2941. package/dist/components/layout/reorder-list/reorder-item.d.ts +0 -2
  2942. package/dist/components/layout/reorder-list/reorder-item.js +0 -1
  2943. package/dist/components/layout/reorder-list/reorder-list.d.ts +0 -2
  2944. package/dist/components/layout/reorder-list/reorder-list.js +0 -1
  2945. package/dist/components/layout/responsive-panel/responsive-panel.d.ts +0 -2
  2946. package/dist/components/layout/responsive-panel/responsive-panel.js +0 -1
  2947. package/dist/components/layout/scroller/scroller.d.ts +0 -2
  2948. package/dist/components/layout/scroller/scroller.js +0 -1
  2949. package/dist/components/layout/segmented/segmented.d.ts +0 -2
  2950. package/dist/components/layout/segmented/segmented.js +0 -1
  2951. package/dist/components/layout/split-panel/split-panel.d.ts +0 -2
  2952. package/dist/components/layout/split-panel/split-panel.js +0 -1
  2953. package/dist/components/layout/stepper/stepper.d.ts +0 -2
  2954. package/dist/components/layout/stepper/stepper.js +0 -1
  2955. package/dist/components/layout/tab-group/tab-group.d.ts +0 -2
  2956. package/dist/components/layout/tab-group/tab-group.js +0 -1
  2957. package/dist/components/layout/tab-group/tab-panel.d.ts +0 -2
  2958. package/dist/components/layout/tab-group/tab-panel.js +0 -1
  2959. package/dist/components/layout/tab-group/tab-panel.styles.js +0 -1
  2960. package/dist/components/layout/tab-group/tab.d.ts +0 -2
  2961. package/dist/components/layout/tab-group/tab.js +0 -1
  2962. package/dist/components/layout/virtual-list/virtual-list.d.ts +0 -2
  2963. package/dist/components/layout/virtual-list/virtual-list.js +0 -1
  2964. package/dist/components/layout/widget/widget.d.ts +0 -2
  2965. package/dist/components/layout/widget/widget.js +0 -1
  2966. package/dist/components/media/animated-image/animated-image.d.ts +0 -2
  2967. package/dist/components/media/animated-image/animated-image.js +0 -1
  2968. package/dist/components/media/animation/animation.d.ts +0 -2
  2969. package/dist/components/media/animation/animation.js +0 -1
  2970. package/dist/components/media/animation/animation.styles.js +0 -1
  2971. package/dist/components/media/attachment-chip/attachment-chip.d.ts +0 -2
  2972. package/dist/components/media/attachment-chip/attachment-chip.js +0 -1
  2973. package/dist/components/media/attachment-trigger/attachment-trigger.d.ts +0 -2
  2974. package/dist/components/media/attachment-trigger/attachment-trigger.js +0 -1
  2975. package/dist/components/media/av-player/av-player.d.ts +0 -2
  2976. package/dist/components/media/av-player/av-player.js +0 -9
  2977. package/dist/components/media/avatar/avatar.d.ts +0 -2
  2978. package/dist/components/media/avatar/avatar.js +0 -1
  2979. package/dist/components/media/avatar/avatar.styles.js +0 -1
  2980. package/dist/components/media/avatar-group/avatar-group.d.ts +0 -2
  2981. package/dist/components/media/avatar-group/avatar-group.js +0 -1
  2982. package/dist/components/media/drop-zone/drop-zone.d.ts +0 -2
  2983. package/dist/components/media/drop-zone/drop-zone.js +0 -1
  2984. package/dist/components/media/file-icon/file-icon.d.ts +0 -2
  2985. package/dist/components/media/file-icon/file-icon.js +0 -1
  2986. package/dist/components/media/file-input/accept.js +0 -1
  2987. package/dist/components/media/file-input/file-input.d.ts +0 -2
  2988. package/dist/components/media/file-input/file-input.js +0 -1
  2989. package/dist/components/media/file-input/file-intake.d.ts +0 -19
  2990. package/dist/components/media/file-input/file-intake.js +0 -1
  2991. package/dist/components/media/flag/flag.d.ts +0 -2
  2992. package/dist/components/media/flag/flag.js +0 -1
  2993. package/dist/components/media/flag/flag.styles.js +0 -1
  2994. package/dist/components/media/image-comparer/image-comparer.d.ts +0 -1
  2995. package/dist/components/media/image-comparer/image-comparer.js +0 -1
  2996. package/dist/components/media/image-viewer/image-viewer.d.ts +0 -2
  2997. package/dist/components/media/image-viewer/image-viewer.js +0 -7
  2998. package/dist/components/media/lightbox/lightbox.d.ts +0 -2
  2999. package/dist/components/media/lightbox/lightbox.js +0 -1
  3000. package/dist/components/media/map/map-anchor.d.ts +0 -1
  3001. package/dist/components/media/map/map-anchor.js +0 -1
  3002. package/dist/components/media/map/map-feature-loader-core.js +0 -1
  3003. package/dist/components/media/map/map-scene-completion-adapter.js +0 -1
  3004. package/dist/components/media/map/map-scene-completion-camera.js +0 -1
  3005. package/dist/components/media/map/map.d.ts +0 -2
  3006. package/dist/components/media/map/map.js +0 -1
  3007. package/dist/components/media/media-card/media-card.d.ts +0 -2
  3008. package/dist/components/media/media-card/media-card.js +0 -1
  3009. package/dist/components/media/pan-zoom/pan-zoom.d.ts +0 -1
  3010. package/dist/components/media/pan-zoom/pan-zoom.js +0 -1
  3011. package/dist/components/media/qr-code/qr-code.d.ts +0 -2
  3012. package/dist/components/media/qr-code/qr-code.js +0 -1
  3013. package/dist/components/media/qr-code/qr-code.styles.js +0 -1
  3014. package/dist/components/media/sequence-playback/sequence-playback.d.ts +0 -2
  3015. package/dist/components/media/sequence-playback/sequence-playback.js +0 -1
  3016. package/dist/components/media/video/video.d.ts +0 -2
  3017. package/dist/components/media/video/video.js +0 -1
  3018. package/dist/components/media/video-playlist/video-playlist.d.ts +0 -2
  3019. package/dist/components/media/video-playlist/video-playlist.js +0 -1
  3020. package/dist/components/media/zoomable-frame/zoomable-frame.d.ts +0 -1
  3021. package/dist/components/media/zoomable-frame/zoomable-frame.js +0 -1
  3022. package/dist/components/overlays/alert/alert.d.ts +0 -2
  3023. package/dist/components/overlays/alert/alert.js +0 -1
  3024. package/dist/components/overlays/badge/badge.d.ts +0 -2
  3025. package/dist/components/overlays/badge/badge.js +0 -1
  3026. package/dist/components/overlays/badge/tag.d.ts +0 -2
  3027. package/dist/components/overlays/badge/tag.js +0 -1
  3028. package/dist/components/overlays/callout/callout.d.ts +0 -2
  3029. package/dist/components/overlays/callout/callout.js +0 -1
  3030. package/dist/components/overlays/chip/chip-group.d.ts +0 -2
  3031. package/dist/components/overlays/chip/chip-group.js +0 -1
  3032. package/dist/components/overlays/chip/chip.d.ts +0 -2
  3033. package/dist/components/overlays/chip/chip.js +0 -1
  3034. package/dist/components/overlays/context-menu/context-menu.d.ts +0 -2
  3035. package/dist/components/overlays/context-menu/context-menu.js +0 -1
  3036. package/dist/components/overlays/context-menu/context-menu.styles.js +0 -1
  3037. package/dist/components/overlays/dialog/dialog.d.ts +0 -2
  3038. package/dist/components/overlays/dialog/dialog.js +0 -1
  3039. package/dist/components/overlays/drawer/drawer.d.ts +0 -2
  3040. package/dist/components/overlays/drawer/drawer.js +0 -1
  3041. package/dist/components/overlays/drawer/drawer.styles.js +0 -1
  3042. package/dist/components/overlays/empty/empty.d.ts +0 -2
  3043. package/dist/components/overlays/empty/empty.js +0 -1
  3044. package/dist/components/overlays/empty/empty.styles.js +0 -1
  3045. package/dist/components/overlays/kbd/kbd.d.ts +0 -2
  3046. package/dist/components/overlays/kbd/kbd.js +0 -1
  3047. package/dist/components/overlays/kbd/kbd.styles.js +0 -1
  3048. package/dist/components/overlays/overlay/dropdown.d.ts +0 -2
  3049. package/dist/components/overlays/overlay/dropdown.js +0 -1
  3050. package/dist/components/overlays/overlay/dropdown.styles.js +0 -1
  3051. package/dist/components/overlays/overlay/overlay-shared.d.ts +0 -63
  3052. package/dist/components/overlays/overlay/overlay-shared.js +0 -1
  3053. package/dist/components/overlays/overlay/popover.d.ts +0 -2
  3054. package/dist/components/overlays/overlay/popover.js +0 -1
  3055. package/dist/components/overlays/overlay/tooltip.d.ts +0 -2
  3056. package/dist/components/overlays/overlay/tooltip.js +0 -1
  3057. package/dist/components/overlays/popup/popup.d.ts +0 -2
  3058. package/dist/components/overlays/popup/popup.js +0 -1
  3059. package/dist/components/overlays/popup/popup.styles.js +0 -1
  3060. package/dist/components/overlays/progress/progress-bar.d.ts +0 -2
  3061. package/dist/components/overlays/progress/progress-bar.js +0 -1
  3062. package/dist/components/overlays/progress/progress-ring.d.ts +0 -2
  3063. package/dist/components/overlays/progress/progress-ring.js +0 -1
  3064. package/dist/components/overlays/rating/rating.d.ts +0 -2
  3065. package/dist/components/overlays/rating/rating.js +0 -1
  3066. package/dist/components/overlays/skeleton/skeleton.d.ts +0 -2
  3067. package/dist/components/overlays/skeleton/skeleton.js +0 -1
  3068. package/dist/components/overlays/skeleton/skeleton.styles.js +0 -1
  3069. package/dist/components/overlays/spinner/spinner.d.ts +0 -2
  3070. package/dist/components/overlays/spinner/spinner.js +0 -1
  3071. package/dist/components/overlays/toast/toast-item.d.ts +0 -2
  3072. package/dist/components/overlays/toast/toast-item.js +0 -1
  3073. package/dist/components/overlays/toast/toast.d.ts +0 -2
  3074. package/dist/components/overlays/toast/toast.js +0 -1
  3075. package/dist/components/overlays/toast/toast.styles.js +0 -1
  3076. package/dist/components/retrieval/chunk-inspector/chunk-inspector.d.ts +0 -2
  3077. package/dist/components/retrieval/chunk-inspector/chunk-inspector.js +0 -1
  3078. package/dist/components/retrieval/citation-badge/citation-badge.d.ts +0 -2
  3079. package/dist/components/retrieval/citation-badge/citation-badge.js +0 -1
  3080. package/dist/components/retrieval/claim-evidence/claim-evidence.d.ts +0 -2
  3081. package/dist/components/retrieval/claim-evidence/claim-evidence.js +0 -1
  3082. package/dist/components/retrieval/community-card/community-card.d.ts +0 -2
  3083. package/dist/components/retrieval/community-card/community-card.js +0 -1
  3084. package/dist/components/retrieval/embedding-explorer/embedding-explorer.d.ts +0 -2
  3085. package/dist/components/retrieval/embedding-explorer/embedding-explorer.js +0 -1
  3086. package/dist/components/retrieval/entity-card/entity-card.d.ts +0 -2
  3087. package/dist/components/retrieval/entity-card/entity-card.js +0 -1
  3088. package/dist/components/retrieval/entity-chip/entity-chip.d.ts +0 -2
  3089. package/dist/components/retrieval/entity-chip/entity-chip.js +0 -1
  3090. package/dist/components/retrieval/entity-dossier/entity-dossier.d.ts +0 -2
  3091. package/dist/components/retrieval/entity-dossier/entity-dossier.js +0 -1
  3092. package/dist/components/retrieval/entity-dossier/entity-dossier.styles.js +0 -1
  3093. package/dist/components/retrieval/graph/graph.d.ts +0 -2
  3094. package/dist/components/retrieval/graph/graph.js +0 -1
  3095. package/dist/components/retrieval/graph-legend/graph-legend.d.ts +0 -2
  3096. package/dist/components/retrieval/graph-legend/graph-legend.js +0 -1
  3097. package/dist/components/retrieval/grounding-summary/grounding-summary.d.ts +0 -2
  3098. package/dist/components/retrieval/grounding-summary/grounding-summary.js +0 -1
  3099. package/dist/components/retrieval/ingestion-queue/ingestion-queue.d.ts +0 -2
  3100. package/dist/components/retrieval/ingestion-queue/ingestion-queue.js +0 -1
  3101. package/dist/components/retrieval/knowledge-base/knowledge-base.d.ts +0 -2
  3102. package/dist/components/retrieval/knowledge-base/knowledge-base.js +0 -1
  3103. package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.d.ts +0 -2
  3104. package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.js +0 -1
  3105. package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.d.ts +0 -2
  3106. package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.js +0 -1
  3107. package/dist/components/retrieval/memory-panel/memory-panel.d.ts +0 -2
  3108. package/dist/components/retrieval/memory-panel/memory-panel.js +0 -1
  3109. package/dist/components/retrieval/mind-map/mind-map.d.ts +0 -3
  3110. package/dist/components/retrieval/mind-map/mind-map.js +0 -1
  3111. package/dist/components/retrieval/neighbor-list/neighbor-list.d.ts +0 -2
  3112. package/dist/components/retrieval/neighbor-list/neighbor-list.js +0 -1
  3113. package/dist/components/retrieval/node-palette/node-palette.d.ts +0 -2
  3114. package/dist/components/retrieval/node-palette/node-palette.js +0 -1
  3115. package/dist/components/retrieval/path-strip/path-strip.d.ts +0 -2
  3116. package/dist/components/retrieval/path-strip/path-strip.js +0 -1
  3117. package/dist/components/retrieval/provenance-panel/provenance-panel.d.ts +0 -2
  3118. package/dist/components/retrieval/provenance-panel/provenance-panel.js +0 -1
  3119. package/dist/components/retrieval/rag-answer/rag-answer.d.ts +0 -2
  3120. package/dist/components/retrieval/rag-answer/rag-answer.js +0 -1
  3121. package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.d.ts +0 -2
  3122. package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.js +0 -1
  3123. package/dist/components/retrieval/research-progress/research-progress.d.ts +0 -2
  3124. package/dist/components/retrieval/research-progress/research-progress.js +0 -1
  3125. package/dist/components/retrieval/retrieval-compare/retrieval-compare.d.ts +0 -2
  3126. package/dist/components/retrieval/retrieval-compare/retrieval-compare.js +0 -1
  3127. package/dist/components/retrieval/retrieval-results/retrieval-results.d.ts +0 -2
  3128. package/dist/components/retrieval/retrieval-results/retrieval-results.js +0 -1
  3129. package/dist/components/retrieval/retrieval-search/retrieval-search.d.ts +0 -2
  3130. package/dist/components/retrieval/retrieval-search/retrieval-search.js +0 -1
  3131. package/dist/components/retrieval/retrieval-trace/retrieval-trace.d.ts +0 -2
  3132. package/dist/components/retrieval/retrieval-trace/retrieval-trace.js +0 -1
  3133. package/dist/components/retrieval/source-card/source-card.d.ts +0 -2
  3134. package/dist/components/retrieval/source-card/source-card.js +0 -1
  3135. package/dist/components/retrieval/source-list/source-list.d.ts +0 -2
  3136. package/dist/components/retrieval/source-list/source-list.js +0 -1
  3137. package/dist/components/retrieval/source-picker/source-picker.d.ts +0 -2
  3138. package/dist/components/retrieval/source-picker/source-picker.js +0 -1
  3139. package/dist/components/utility/copy-button/copy-button.d.ts +0 -2
  3140. package/dist/components/utility/copy-button/copy-button.js +0 -1
  3141. package/dist/components/utility/diff-view/diff-view.d.ts +0 -2
  3142. package/dist/components/utility/diff-view/diff-view.js +0 -1
  3143. package/dist/components/utility/divider/divider.d.ts +0 -2
  3144. package/dist/components/utility/divider/divider.js +0 -1
  3145. package/dist/components/utility/divider/divider.styles.js +0 -1
  3146. package/dist/components/utility/export-button/export-button.d.ts +0 -2
  3147. package/dist/components/utility/export-button/export-button.js +0 -1
  3148. package/dist/components/utility/format/format-bytes.d.ts +0 -2
  3149. package/dist/components/utility/format/format-bytes.js +0 -1
  3150. package/dist/components/utility/format/format-date.d.ts +0 -2
  3151. package/dist/components/utility/format/format-date.js +0 -1
  3152. package/dist/components/utility/format/format-number.d.ts +0 -2
  3153. package/dist/components/utility/format/format-number.js +0 -1
  3154. package/dist/components/utility/format/relative-time.d.ts +0 -2
  3155. package/dist/components/utility/format/relative-time.js +0 -1
  3156. package/dist/components/utility/icon/icon.d.ts +0 -2
  3157. package/dist/components/utility/icon/icon.js +0 -1
  3158. package/dist/components/utility/icon/icon.styles.js +0 -1
  3159. package/dist/components/utility/intersection-observer/intersection-observer.d.ts +0 -2
  3160. package/dist/components/utility/intersection-observer/intersection-observer.js +0 -1
  3161. package/dist/components/utility/json-viewer/json-viewer.d.ts +0 -3
  3162. package/dist/components/utility/json-viewer/json-viewer.js +0 -1
  3163. package/dist/components/utility/known-date/known-date.d.ts +0 -2
  3164. package/dist/components/utility/known-date/known-date.js +0 -1
  3165. package/dist/components/utility/live-region/live-region.d.ts +0 -2
  3166. package/dist/components/utility/live-region/live-region.js +0 -1
  3167. package/dist/components/utility/live-region/live-region.styles.js +0 -1
  3168. package/dist/components/utility/mention-popover/mention-popover.d.ts +0 -2
  3169. package/dist/components/utility/mention-popover/mention-popover.js +0 -1
  3170. package/dist/components/utility/mutation-observer/mutation-observer.d.ts +0 -2
  3171. package/dist/components/utility/mutation-observer/mutation-observer.js +0 -1
  3172. package/dist/components/utility/poll-status/poll-status.d.ts +0 -2
  3173. package/dist/components/utility/poll-status/poll-status.js +0 -1
  3174. package/dist/components/utility/random-content/random-content.d.ts +0 -2
  3175. package/dist/components/utility/random-content/random-content.js +0 -1
  3176. package/dist/components/utility/resize-observer/resize-observer.d.ts +0 -2
  3177. package/dist/components/utility/resize-observer/resize-observer.js +0 -1
  3178. package/dist/components/utility/tour/tour.d.ts +0 -2
  3179. package/dist/components/utility/tour/tour.js +0 -1
  3180. package/dist/components/utility/visually-hidden/visually-hidden.d.ts +0 -2
  3181. package/dist/components/utility/visually-hidden/visually-hidden.js +0 -1
  3182. package/dist/components/utility/visually-hidden/visually-hidden.styles.js +0 -1
  3183. package/dist/components/viewers/archive-viewer/archive-viewer.d.ts +0 -2
  3184. package/dist/components/viewers/archive-viewer/archive-viewer.js +0 -1
  3185. package/dist/components/viewers/calendar-viewer/calendar-viewer.d.ts +0 -2
  3186. package/dist/components/viewers/calendar-viewer/calendar-viewer.js +0 -1
  3187. package/dist/components/viewers/calendar-viewer/calendar-viewer.styles.js +0 -1
  3188. package/dist/components/viewers/contact-viewer/contact-viewer.d.ts +0 -2
  3189. package/dist/components/viewers/contact-viewer/contact-viewer.js +0 -1
  3190. package/dist/components/viewers/contact-viewer/contact-viewer.styles.js +0 -1
  3191. package/dist/components/viewers/csv-viewer/csv-viewer.d.ts +0 -2
  3192. package/dist/components/viewers/csv-viewer/csv-viewer.js +0 -6
  3193. package/dist/components/viewers/dataset-viewer/dataset-viewer.d.ts +0 -2
  3194. package/dist/components/viewers/dataset-viewer/dataset-viewer.js +0 -1
  3195. package/dist/components/viewers/document-compare/document-compare.d.ts +0 -2
  3196. package/dist/components/viewers/document-compare/document-compare.js +0 -1
  3197. package/dist/components/viewers/document-preview/document-preview.d.ts +0 -2
  3198. package/dist/components/viewers/document-preview/document-preview.js +0 -1
  3199. package/dist/components/viewers/document-viewer/document-viewer.d.ts +0 -2
  3200. package/dist/components/viewers/document-viewer/document-viewer.js +0 -1
  3201. package/dist/components/viewers/docx-viewer/docx-viewer.d.ts +0 -2
  3202. package/dist/components/viewers/docx-viewer/docx-viewer.js +0 -6
  3203. package/dist/components/viewers/ebook-viewer/ebook-viewer.d.ts +0 -2
  3204. package/dist/components/viewers/ebook-viewer/ebook-viewer.js +0 -1
  3205. package/dist/components/viewers/ebook-viewer/ebook-viewer.styles.js +0 -1
  3206. package/dist/components/viewers/email-viewer/email-viewer.d.ts +0 -2
  3207. package/dist/components/viewers/email-viewer/email-viewer.js +0 -1
  3208. package/dist/components/viewers/geojson-view/geojson-view.class.d.ts +0 -7
  3209. package/dist/components/viewers/geojson-view/geojson-view.class.js +0 -1
  3210. package/dist/components/viewers/geojson-view/geojson-viewer.d.ts +0 -2
  3211. package/dist/components/viewers/geojson-view/geojson-viewer.js +0 -1
  3212. package/dist/components/viewers/highlight-layer/highlight-layer.d.ts +0 -2
  3213. package/dist/components/viewers/highlight-layer/highlight-layer.js +0 -1
  3214. package/dist/components/viewers/html-viewer/html-viewer.d.ts +0 -2
  3215. package/dist/components/viewers/html-viewer/html-viewer.js +0 -1
  3216. package/dist/components/viewers/include/include.d.ts +0 -2
  3217. package/dist/components/viewers/include/include.js +0 -1
  3218. package/dist/components/viewers/include/include.styles.js +0 -1
  3219. package/dist/components/viewers/model-viewer/model-viewer.d.ts +0 -1
  3220. package/dist/components/viewers/model-viewer/model-viewer.js +0 -1
  3221. package/dist/components/viewers/notebook-viewer/notebook-viewer.d.ts +0 -2
  3222. package/dist/components/viewers/notebook-viewer/notebook-viewer.js +0 -6
  3223. package/dist/components/viewers/page-rail/page-rail.d.ts +0 -2
  3224. package/dist/components/viewers/page-rail/page-rail.js +0 -1
  3225. package/dist/components/viewers/pdf-viewer/pdf-viewer.d.ts +0 -2
  3226. package/dist/components/viewers/pdf-viewer/pdf-viewer.js +0 -6
  3227. package/dist/components/viewers/pptx-viewer/pptx-viewer.d.ts +0 -2
  3228. package/dist/components/viewers/pptx-viewer/pptx-viewer.js +0 -6
  3229. package/dist/components/viewers/pptx-viewer/pptx-viewer.styles.js +0 -1
  3230. package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.d.ts +0 -2
  3231. package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.js +0 -6
  3232. package/dist/components/viewers/svg-viewer/svg-viewer.d.ts +0 -2
  3233. package/dist/components/viewers/svg-viewer/svg-viewer.js +0 -1
  3234. package/dist/components/viewers/xml-viewer/xml-viewer.d.ts +0 -2
  3235. package/dist/components/viewers/xml-viewer/xml-viewer.js +0 -6
  3236. package/dist/internal/map-camera-follow-scene.js +0 -1
  3237. package/dist/internal/map-scene-session.js +0 -1
  3238. package/llms/shared/v23-to-v24-migration.md +0 -167
  3239. /package/dist/{components/conversation/chat-composer → internal}/chat-composer-status.d.ts +0 -0
  3240. /package/dist/{components/viewers/document-viewer/anchors.d.ts → internal/document-anchors.d.ts} +0 -0
  3241. /package/dist/{components/viewers/document-viewer/anchors.js → internal/document-anchors.js} +0 -0
  3242. /package/dist/{components/data/file-tree/file-tree-status.d.ts → internal/git-status.d.ts} +0 -0
  3243. /package/dist/{components/data/file-tree/file-tree-status.js → internal/git-status.js} +0 -0
  3244. /package/dist/{components/conversation/markdown → internal}/markdown-streaming-tail.js +0 -0
@@ -1 +1 @@
1
- import{composedParentElement,deepActiveElementIn}from"./active-element.js";import{asciiWhitespaceTokens}from"./ascii-whitespace.js";import{imageMapImageFor,isHtmlElement,isSvgElement}from"./dom-guards.js";import{hasFocusExcludingAttributes,isNativeAction,rendersAsFocusTarget,styleExcludesFocusSubtree}from"./focus-candidates.js";const DEFAULT_FOCUS_MAX_DEPTH=256,DEFAULT_FOCUS_MAX_NODES=1e4,MAX_CONFIGURED_FOCUS_LIMIT=1e5,ARIA_WIDGET_ROLES=new Set(["button","checkbox","combobox","grid","gridcell","link","listbox","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","option","radio","radiogroup","scrollbar","searchbox","separator","slider","spinbutton","switch","tab","tablist","textbox","tree","treegrid","treeitem"]),ARIA_NON_WIDGET_ROLES=new Set(["alert","alertdialog","application","article","banner","blockquote","caption","cell","code","columnheader","comment","complementary","contentinfo","definition","deletion","dialog","directory","document","emphasis","feed","figure","form","generic","group","heading","img","image","insertion","list","listitem","log","main","marquee","mark","math","meter","navigation","none","note","paragraph","presentation","progressbar","region","row","rowgroup","rowheader","search","sectionfooter","sectionheader","status","strong","subscript","suggestion","superscript","table","tabpanel","term","time","timer","toolbar","tooltip"]);function finiteFocusLimit(value,fallback){return Number.isFinite(value)?Math.min(MAX_CONFIGURED_FOCUS_LIMIT,Math.max(0,Math.floor(value))):fallback}function createFocusTraversalContext(options){return{browserTabOrder:options.browserTabOrder===!0,elementStates:new Map,imageMapImages:new Map,maxDepth:finiteFocusLimit(options.maxDepth,DEFAULT_FOCUS_MAX_DEPTH),maxNodes:finiteFocusLimit(options.maxNodes,DEFAULT_FOCUS_MAX_NODES),reasons:new Set,workUnits:0}}function renderedElementState(element,imageMapImage,browserTabOrder){let style;try{style=element.ownerDocument.defaultView?.getComputedStyle(element)}catch{}return{display:style?.display,subtreeUnavailable:hasFocusExcludingAttributes(element,browserTabOrder)||!imageMapImage&&styleExcludesFocusSubtree(style),visibility:style?.visibility}}function consumeFocusWork(context){return context.workUnits>=context.maxNodes?(context.reasons.add("nodes"),!1):(context.workUnits+=1,!0)}function cachedRenderedElementState(context,element){let state=context.elementStates.get(element);return state||(state=renderedElementState(element,cachedImageMapImage(context,element),context.browserTabOrder),context.elementStates.set(element,state)),state}function cachedImageMapImage(context,element){if(context.imageMapImages.has(element))return context.imageMapImages.get(element);const image=imageMapImageFor(element,{consume:()=>consumeFocusWork(context)});return context.imageMapImages.set(element,image),image}function isClosedDetailsBranch(details,branch,context){if(details.localName!=="details"||details.hasAttribute("open")||branch===null)return!1;for(const child of details.children){if(!consumeFocusWork(context))return!0;if(child.localName==="summary")return child!==branch}return!0}function composedAncestorsAvailable(element,context){let branch=element,ancestor=composedParentElement(element),depth=0;for(;ancestor;){if(!consumeFocusWork(context)||cachedRenderedElementState(context,ancestor).subtreeUnavailable||isClosedDetailsBranch(ancestor,branch,context))return!1;if(depth+=1,depth>context.maxDepth)return context.reasons.add("depth"),!1;branch=ancestor,ancestor=composedParentElement(ancestor)}return!0}function isRenderedFocusCandidate(context,element,state){const imageMapImage=cachedImageMapImage(context,element);if(isHtmlElement(element)&&element.localName==="area"&&!imageMapImage)return!1;if(imageMapImage){const imageState=cachedRenderedElementState(context,imageMapImage);return composedAncestorsAvailable(imageMapImage,context)&&!imageState.subtreeUnavailable&&isRenderedFocusCandidate(context,imageMapImage,imageState)}return element.isConnected?rendersAsFocusTarget(element,state.visibility,!context.browserTabOrder):!1}function hasAriaWidgetRole(element){for(const token of asciiWhitespaceTokens(element.getAttribute("role"))){const role=token.toLowerCase();if(ARIA_WIDGET_ROLES.has(role))return!0;if(ARIA_NON_WIDGET_ROLES.has(role))return!1}return!1}function isBrowserFocusElement(element){return isHtmlElement(element)||isSvgElement(element)}function isShadowRoot(root){return root.nodeType===11&&"host"in root}function isSemanticActionElement(element){return isBrowserFocusElement(element)&&(isNativeAction(element)||hasAriaWidgetRole(element))}function isActionableElement(element){return isSemanticActionElement(element)||isBrowserFocusElement(element)&&element.hasAttribute("tabindex")&&element.tabIndex>=0}function isComposedFocusAvailable(element,options={}){if(!isBrowserFocusElement(element))return!1;const context=createFocusTraversalContext(options);if(!consumeFocusWork(context)||!composedAncestorsAvailable(element,context))return!1;const state=cachedRenderedElementState(context,element);return state.subtreeUnavailable||element.matches(":disabled")?!1:isRenderedFocusCandidate(context,element,state)}function composedContains(container,candidate,maxDepth=DEFAULT_FOCUS_MAX_DEPTH){let current=candidate,depth=0;for(;current;){if(current===container)return!0;if(depth>=maxDepth)return!1;current=composedParentElement(current),depth+=1}return!1}function isComposedFocusRepairTargetList(value){return Array.isArray(value)}function resolveComposedFocusRepairTargets(source){const resolved=typeof source=="function"?source():source;if(!resolved)return[];if(!isComposedFocusRepairTargetList(resolved))return[resolved];const targets=[];for(const target of resolved)target&&targets.push(target);return targets}function nearestExternalFocusTarget(owner){const targets=collectComposedFocusTargets(owner.ownerDocument.documentElement,{mode:"programmatic"}).elements,owned=targets.map((target,index)=>composedContains(owner,target)?index:-1).filter(index=>index>=0);if(owned.length===0)return null;const first=owned[0],last=owned[owned.length-1];return targets.slice(last+1).find(target=>!composedContains(owner,target))??targets.slice(0,first).reverse().find(target=>!composedContains(owner,target))??null}function captureComposedFocusRepair(owner,candidate){const activeElement=deepActiveElementIn(owner.ownerDocument);if(!activeElement||!composedContains(owner,activeElement))return null;const resolved=typeof candidate=="function"?candidate():candidate;return!resolved||resolved.ownerDocument!==owner.ownerDocument?null:{activeElement,candidate:resolved,document:owner.ownerDocument,owner}}function applyComposedFocusRepair(snapshot,candidateOverride){const{document:ownerDocument,owner}=snapshot,targetSource=arguments.length<2?snapshot.candidate:candidateOverride,candidates=resolveComposedFocusRepairTargets(targetSource);if(candidates.length===0)return!1;const current=deepActiveElementIn(ownerDocument),lostWithBranch=current===null||current===ownerDocument.body||current===ownerDocument.documentElement;return current!==snapshot.activeElement&&!composedContains(owner,current)&&!lostWithBranch?!1:focusFirstAvailable(candidates.filter(candidate=>candidate.ownerDocument===ownerDocument))}function focusFirstAvailable(targets){for(const candidate of resolveComposedFocusRepairTargets(targets)){if(!isComposedFocusAvailable(candidate))continue;candidate.focus();const focused=deepActiveElementIn(candidate.ownerDocument);if(focused===candidate||composedContains(candidate,focused))return!0}return!1}function repairComposedFocus(owner,fallbackTargets){const activeElement=deepActiveElementIn(owner.ownerDocument);if(!activeElement||!composedContains(owner,activeElement))return!1;const candidates=resolveComposedFocusRepairTargets(fallbackTargets),[candidate]=candidates;return candidate?applyComposedFocusRepair({activeElement,candidate,document:owner.ownerDocument,owner},candidates):!1}function nextHostUpdateOpportunity(){return new Promise(resolve=>{queueMicrotask(()=>{requestAnimationFrame(()=>resolve())})})}function deferComposedFocusRepair(owner,bridge,resolveTarget){const snapshot=captureComposedFocusRepair(owner,bridge);snapshot&&nextHostUpdateOpportunity().then(()=>{let target;try{target=resolveTarget()}catch{target=null}applyComposedFocusRepair(snapshot,target?[target]:[])})}function traverseComposedElements(root,options,include){const context=createFocusTraversalContext(options),{maxDepth,maxNodes}=context,elements=[],stack=[],visited=new Set,navigationScope={entries:[],nextOrder:0};if(maxNodes===0)return context.reasons.add("nodes"),{elements,navigationScope,reasons:context.reasons,visitedElements:0};const schedule=(element,depth,ancestorsAvailable,scope,workCharged=!1)=>{if(depth>maxDepth){context.reasons.add("depth");return}stack.push({ancestorsAvailable,depth,element,kind:"element",scope,workCharged})},scheduleChildren=(children,depth,ancestorsAvailable,scope)=>{if(children.length!==0){if(depth>maxDepth){context.reasons.add("depth");return}stack.push({ancestorsAvailable,children,depth,index:0,kind:"children",scope})}},scheduleSlotChildren=(slot,depth,ancestorsAvailable,scope)=>{if(depth>maxDepth){context.reasons.add("depth");return}const slotRoot=slot.getRootNode(),candidates=slotRoot.nodeType===11&&"host"in slotRoot?slotRoot.host.childNodes:[];stack.push({ancestorsAvailable,candidates,depth,fallback:slot.children,foundAssigned:!1,index:0,kind:"slot",scope,slot})},scheduleComposedChildren=(element,depth,ancestorsAvailable,scope)=>{if(element.localName==="slot"&&isHtmlElement(element)){scheduleSlotChildren(element,depth,ancestorsAvailable,scope);return}if(element.localName==="details"&&!element.hasAttribute("open")){for(const child of element.children){if(!consumeFocusWork(context))return;if(child.localName==="summary"){schedule(child,depth,ancestorsAvailable,scope,!0);return}}return}scheduleChildren(element.shadowRoot?.children??element.children,depth,ancestorsAvailable,scope)};if(isShadowRoot(root)){const shadowRoot=root,ancestorsAvailable=options.skipRootAncestorValidation||composedAncestorsAvailable(shadowRoot.host,context),hostStateAvailable=consumeFocusWork(context)&&!cachedRenderedElementState(context,shadowRoot.host).subtreeUnavailable;scheduleChildren(shadowRoot.children,0,ancestorsAvailable&&hostStateAvailable,navigationScope)}else if(options.includeRoot===!1){const ancestorsAvailable=options.skipRootAncestorValidation||composedAncestorsAvailable(root,context),ownAvailable=consumeFocusWork(context)&&!cachedRenderedElementState(context,root).subtreeUnavailable;scheduleComposedChildren(root,0,ancestorsAvailable&&ownAvailable,navigationScope)}else{const ancestorsAvailable=options.skipRootAncestorValidation||composedAncestorsAvailable(root,context);schedule(root,0,ancestorsAvailable,navigationScope)}for(;stack.length>0;){const work=stack.pop();if(work.kind==="slot"){if(work.index>=work.candidates.length){work.foundAssigned||scheduleChildren(work.fallback,work.depth,work.ancestorsAvailable,work.scope);continue}if(!consumeFocusWork(context)){stack.length=0;break}const node=work.candidates[work.index],assigned=!!(node&&node.assignedSlot===work.slot);stack.push({...work,foundAssigned:work.foundAssigned||assigned,index:work.index+1}),node?.nodeType===1&&assigned&&schedule(node,work.depth,work.ancestorsAvailable,work.scope,!0);continue}if(work.kind==="children"){if(work.index>=work.children.length)continue;const element=work.children[work.index];stack.push({...work,index:work.index+1}),element&&schedule(element,work.depth,work.ancestorsAvailable,work.scope);continue}if(visited.has(work.element))continue;if(!work.workCharged&&!consumeFocusWork(context)){stack.length=0;break}visited.add(work.element);const state=cachedRenderedElementState(context,work.element),available=work.ancestorsAvailable&&!state.subtreeUnavailable,included=include(work.element,available,state,context);if(included&&elements.push(work.element),!available)continue;if(work.element.shadowRoot||work.element.localName==="slot"&&isHtmlElement(work.element)){const childScope={entries:[],nextOrder:0};work.scope.entries.push({childScope,delegatesFocus:!!work.element.shadowRoot?.delegatesFocus,order:work.scope.nextOrder++,suppressSequentialDescendants:work.element.hasAttribute("tabindex")&&work.element.tabIndex<0,target:included&&isBrowserFocusElement(work.element)?work.element:void 0}),scheduleComposedChildren(work.element,work.depth+1,!0,childScope);continue}included&&isBrowserFocusElement(work.element)&&work.scope.entries.push({order:work.scope.nextOrder++,target:work.element}),scheduleComposedChildren(work.element,work.depth+1,!0,work.scope)}return{elements,navigationScope,reasons:context.reasons,visitedElements:visited.size}}function isOverflowingTabStop(element){const view=element.ownerDocument.defaultView;if(!view)return!1;const{overflowX,overflowY}=view.getComputedStyle(element);return overflowX==="scroll"||overflowY==="scroll"||overflowY==="auto"&&element.scrollHeight>element.clientHeight?!0:overflowX==="auto"&&element.scrollWidth>element.clientWidth}function isTabbableCandidate(element){return element.hasAttribute("tabindex")?element.tabIndex>=0?!0:isHtmlElement(element)&&!isNativeAction(element)&&isOverflowingTabStop(element):isHtmlElement(element)&&element.hasAttribute("contenteditable")&&element.isContentEditable?!element.parentElement?.isContentEditable:isNativeAction(element)}function collapseRadioGroups(elements){const byRoot=new Map;for(const element of elements){if(!isHtmlElement(element)||element.localName!=="input")continue;const input=element;if(input.type!=="radio"||input.name==="")continue;const root=input.getRootNode();let byForm=byRoot.get(root);byForm||(byForm=new Map,byRoot.set(root,byForm));let byName=byForm.get(input.form);byName||(byName=new Map,byForm.set(input.form,byName));const group=byName.get(input.name);group?input.checked&&!group.checked&&(group.checked=input):byName.set(input.name,{checked:input.checked?input:void 0,first:input})}const tabStops=new Set;for(const byForm of byRoot.values())for(const byName of byForm.values())for(const group of byName.values())tabStops.add(group.checked??group.first);return elements.filter(element=>{if(!isHtmlElement(element)||element.localName!=="input")return!0;const input=element;return input.type!=="radio"||input.name===""||tabStops.has(input)})}function navigationEntryTabIndex(entry){return entry.target&&entry.target.tabIndex>0?entry.target.tabIndex:0}function flattenNavigationScope(scope,mode,retainedTargets){const orderedEntries=candidate=>mode==="tabbable"?[...candidate.entries].sort((first,second)=>{const firstTabIndex=navigationEntryTabIndex(first),secondTabIndex=navigationEntryTabIndex(second);return firstTabIndex>0!=secondTabIndex>0?firstTabIndex>0?-1:1:firstTabIndex>0&&firstTabIndex!==secondTabIndex?firstTabIndex-secondTabIndex:first.order-second.order}):candidate.entries,flattened=[],work=[{kind:"scope",scope}];for(;work.length>0;){const current=work.pop();if(current.kind==="target"){flattened.push(current.target);continue}const entries=orderedEntries(current.scope);for(let index=entries.length-1;index>=0;index-=1){const entry=entries[index];entry.childScope&&(mode!=="tabbable"||!entry.suppressSequentialDescendants)&&work.push({kind:"scope",scope:entry.childScope}),entry.target&&retainedTargets.has(entry.target)&&!entry.delegatesFocus&&work.push({kind:"target",target:entry.target})}}return flattened}function collectComposedFocusTargets(root,options={}){const mode=options.mode??"tabbable",traversed=traverseComposedElements(root,options,(candidate,available,state,context)=>!available||!isBrowserFocusElement(candidate)||candidate.matches(":disabled")||!isRenderedFocusCandidate(context,candidate,state)?!1:mode==="programmatic"?candidate.hasAttribute("tabindex")||isActionableElement(candidate):(candidate.hasAttribute("tabindex")||isActionableElement(candidate))&&isTabbableCandidate(candidate)),included=traversed.elements.filter(isBrowserFocusElement),retained=new Set(included),orderedElements=flattenNavigationScope(traversed.navigationScope,mode,retained);return{elements:mode==="tabbable"?collapseRadioGroups(orderedElements):orderedElements,truncated:traversed.reasons.size>0,truncationReasons:[...traversed.reasons],visitedElements:traversed.visitedElements}}function collectComposedAutofocusElements(root,options={}){const traversed=traverseComposedElements(root,options,(element,available)=>available&&isHtmlElement(element)&&element.hasAttribute("autofocus"));return{elements:traversed.elements,truncated:traversed.reasons.size>0,truncationReasons:[...traversed.reasons],visitedElements:traversed.visitedElements}}export{applyComposedFocusRepair,captureComposedFocusRepair,collectComposedAutofocusElements,collectComposedFocusTargets,deferComposedFocusRepair,focusFirstAvailable,isActionableElement,isComposedFocusAvailable,isSemanticActionElement,nearestExternalFocusTarget,nextHostUpdateOpportunity,repairComposedFocus};
1
+ import{composedParentElement,deepActiveElementIn}from"./active-element.js";import{asciiWhitespaceTokens}from"./ascii-whitespace.js";import{cachedImageMapImageFor,isHtmlElement,isSvgElement,isShadowRootNode}from"./dom-guards.js";import{hasFocusExcludingAttributes,isNativeAction,rendersAsFocusTarget,styleExcludesFocusSubtree}from"./focus-candidates.js";const DEFAULT_FOCUS_MAX_DEPTH=256,DEFAULT_FOCUS_MAX_NODES=1e4,MAX_CONFIGURED_FOCUS_LIMIT=1e5,ARIA_WIDGET_ROLES=new Set(["button","checkbox","combobox","grid","gridcell","link","listbox","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","option","radio","radiogroup","scrollbar","searchbox","separator","slider","spinbutton","switch","tab","tablist","textbox","tree","treegrid","treeitem"]),ARIA_NON_WIDGET_ROLES=new Set(["alert","alertdialog","application","article","banner","blockquote","caption","cell","code","columnheader","comment","complementary","contentinfo","definition","deletion","dialog","directory","document","emphasis","feed","figure","form","generic","group","heading","img","image","insertion","list","listitem","log","main","marquee","mark","math","meter","navigation","none","note","paragraph","presentation","progressbar","region","row","rowgroup","rowheader","search","sectionfooter","sectionheader","status","strong","subscript","suggestion","superscript","table","tabpanel","term","time","timer","toolbar","tooltip"]);function finiteFocusLimit(value,fallback){return Number.isFinite(value)?Math.min(MAX_CONFIGURED_FOCUS_LIMIT,Math.max(0,Math.floor(value))):fallback}function createFocusTraversalContext(options){return{browserTabOrder:options.browserTabOrder===!0,elementStates:new Map,imageMapImages:new Map,maxDepth:finiteFocusLimit(options.maxDepth,DEFAULT_FOCUS_MAX_DEPTH),maxNodes:finiteFocusLimit(options.maxNodes,DEFAULT_FOCUS_MAX_NODES),reasons:new Set,workUnits:0}}function renderedElementState(element,imageMapImage,browserTabOrder){let style;try{style=element.ownerDocument.defaultView?.getComputedStyle(element)}catch{}return{display:style?.display,subtreeUnavailable:hasFocusExcludingAttributes(element,browserTabOrder)||!imageMapImage&&styleExcludesFocusSubtree(style),visibility:style?.visibility}}function consumeFocusWork(context){return context.workUnits>=context.maxNodes?(context.reasons.add("nodes"),!1):(context.workUnits+=1,!0)}function cachedRenderedElementState(context,element){let state=context.elementStates.get(element);return state||(state=renderedElementState(element,cachedImageMapImage(context,element),context.browserTabOrder),context.elementStates.set(element,state)),state}function cachedImageMapImage(context,element){return cachedImageMapImageFor(context.imageMapImages,element,()=>consumeFocusWork(context))}function isClosedDetailsBranch(details,branch,context){if(details.localName!=="details"||details.hasAttribute("open")||branch===null)return!1;for(const child of details.children){if(!consumeFocusWork(context))return!0;if(child.localName==="summary")return child!==branch}return!0}function composedAncestorsAvailable(element,context){let branch=element,ancestor=composedParentElement(element),depth=0;for(;ancestor;){if(!consumeFocusWork(context)||cachedRenderedElementState(context,ancestor).subtreeUnavailable||isClosedDetailsBranch(ancestor,branch,context))return!1;if(depth+=1,depth>context.maxDepth)return context.reasons.add("depth"),!1;branch=ancestor,ancestor=composedParentElement(ancestor)}return!0}function isRenderedFocusCandidate(context,element,state){const imageMapImage=cachedImageMapImage(context,element);if(isHtmlElement(element)&&element.localName==="area"&&!imageMapImage)return!1;if(imageMapImage){const imageState=cachedRenderedElementState(context,imageMapImage);return composedAncestorsAvailable(imageMapImage,context)&&!imageState.subtreeUnavailable&&isRenderedFocusCandidate(context,imageMapImage,imageState)}return element.isConnected?rendersAsFocusTarget(element,state.visibility,!context.browserTabOrder):!1}function hasAriaWidgetRole(element){for(const token of asciiWhitespaceTokens(element.getAttribute("role"))){const role=token.toLowerCase();if(ARIA_WIDGET_ROLES.has(role))return!0;if(ARIA_NON_WIDGET_ROLES.has(role))return!1}return!1}function isBrowserFocusElement(element){return isHtmlElement(element)||isSvgElement(element)}function isSemanticActionElement(element){return isBrowserFocusElement(element)&&(isNativeAction(element)||hasAriaWidgetRole(element))}function isActionableElement(element){return isSemanticActionElement(element)||isBrowserFocusElement(element)&&element.hasAttribute("tabindex")&&element.tabIndex>=0}function isComposedFocusAvailable(element,options={}){if(!isBrowserFocusElement(element))return!1;const context=createFocusTraversalContext(options);if(!consumeFocusWork(context)||!composedAncestorsAvailable(element,context))return!1;const state=cachedRenderedElementState(context,element);return state.subtreeUnavailable||element.matches(":disabled")?!1:isRenderedFocusCandidate(context,element,state)}function composedContains(container,candidate,maxDepth=DEFAULT_FOCUS_MAX_DEPTH){let current=candidate,depth=0;for(;current;){if(current===container)return!0;if(depth>=maxDepth)return!1;current=composedParentElement(current),depth+=1}return!1}function isComposedFocusRepairTargetList(value){return Array.isArray(value)}function resolveComposedFocusRepairTargets(source){const resolved=typeof source=="function"?source():source;if(!resolved)return[];if(!isComposedFocusRepairTargetList(resolved))return[resolved];const targets=[];for(const target of resolved)target&&targets.push(target);return targets}function nearestExternalFocusTarget(owner){const targets=collectComposedFocusTargets(owner.ownerDocument.documentElement,{mode:"programmatic"}).elements,owned=targets.map((target,index)=>composedContains(owner,target)?index:-1).filter(index=>index>=0);if(owned.length===0)return null;const first=owned[0],last=owned[owned.length-1];return targets.slice(last+1).find(target=>!composedContains(owner,target))??targets.slice(0,first).reverse().find(target=>!composedContains(owner,target))??null}function captureComposedFocusRepair(owner,candidate){const activeElement=deepActiveElementIn(owner.ownerDocument);if(!activeElement||!composedContains(owner,activeElement))return null;const resolved=typeof candidate=="function"?candidate():candidate;return!resolved||resolved.ownerDocument!==owner.ownerDocument?null:{activeElement,candidate:resolved,document:owner.ownerDocument,owner}}function applyComposedFocusRepair(snapshot,candidateOverride){const{document:ownerDocument,owner}=snapshot,targetSource=arguments.length<2?snapshot.candidate:candidateOverride,candidates=resolveComposedFocusRepairTargets(targetSource);if(candidates.length===0)return!1;const current=deepActiveElementIn(ownerDocument),lostWithBranch=current===null||current===ownerDocument.body||current===ownerDocument.documentElement;return current!==snapshot.activeElement&&!composedContains(owner,current)&&!lostWithBranch?!1:focusFirstAvailable(candidates.filter(candidate=>candidate.ownerDocument===ownerDocument))}function repairUnavailableControlFocus(control,fallbacks){const ownerDocument=control.ownerDocument,current=deepActiveElementIn(ownerDocument);if(current===control&&!control.matches(":disabled")||current&&current!==control&&current!==ownerDocument.body&&current!==ownerDocument.documentElement)return!1;for(const candidate of fallbacks){if(!candidate?.isConnected||candidate.ownerDocument!==ownerDocument||candidate.matches(":disabled"))continue;let branch=candidate;for(let depth=0;branch&&depth<=DEFAULT_FOCUS_MAX_DEPTH&&!hasFocusExcludingAttributes(branch);depth++)branch=composedParentElement(branch);if(!(branch||!rendersAsFocusTarget(candidate,ownerDocument.defaultView?.getComputedStyle(candidate).visibility))&&(candidate.focus(),deepActiveElementIn(ownerDocument)===candidate))return!0}return!1}function focusFirstAvailable(targets){for(const candidate of resolveComposedFocusRepairTargets(targets)){if(!isComposedFocusAvailable(candidate))continue;candidate.focus();const focused=deepActiveElementIn(candidate.ownerDocument);if(focused===candidate||composedContains(candidate,focused))return!0}return!1}function repairComposedFocus(owner,fallbackTargets){const activeElement=deepActiveElementIn(owner.ownerDocument);if(!activeElement||!composedContains(owner,activeElement))return!1;const candidates=resolveComposedFocusRepairTargets(fallbackTargets),[candidate]=candidates;return candidate?applyComposedFocusRepair({activeElement,candidate,document:owner.ownerDocument,owner},candidates):!1}function nextHostUpdateOpportunity(){return new Promise(resolve=>{queueMicrotask(()=>{requestAnimationFrame(()=>resolve())})})}function deferComposedFocusRepair(owner,bridge,resolveTarget){const snapshot=captureComposedFocusRepair(owner,bridge);snapshot&&nextHostUpdateOpportunity().then(()=>{let target;try{target=resolveTarget()}catch{target=null}applyComposedFocusRepair(snapshot,target?[target]:[])})}function traverseComposedElements(root,options,include){const context=createFocusTraversalContext(options),{maxDepth,maxNodes}=context,elements=[],stack=[],visited=new Set,navigationScope={entries:[],nextOrder:0};if(maxNodes===0)return context.reasons.add("nodes"),{elements,navigationScope,reasons:context.reasons,visitedElements:0};const schedule=(element,depth,ancestorsAvailable,scope,workCharged=!1)=>{if(depth>maxDepth){context.reasons.add("depth");return}stack.push({ancestorsAvailable,depth,element,kind:"element",scope,workCharged})},scheduleChildren=(children,depth,ancestorsAvailable,scope)=>{if(children.length!==0){if(depth>maxDepth){context.reasons.add("depth");return}stack.push({ancestorsAvailable,children,depth,index:0,kind:"children",scope})}},scheduleSlotChildren=(slot,depth,ancestorsAvailable,scope)=>{if(depth>maxDepth){context.reasons.add("depth");return}const slotRoot=slot.getRootNode(),candidates=slotRoot.nodeType===11&&"host"in slotRoot?slotRoot.host.childNodes:[];stack.push({ancestorsAvailable,candidates,depth,fallback:slot.children,foundAssigned:!1,index:0,kind:"slot",scope,slot})},scheduleComposedChildren=(element,depth,ancestorsAvailable,scope)=>{if(element.localName==="slot"&&isHtmlElement(element)){scheduleSlotChildren(element,depth,ancestorsAvailable,scope);return}if(element.localName==="details"&&!element.hasAttribute("open")){for(const child of element.children){if(!consumeFocusWork(context))return;if(child.localName==="summary"){schedule(child,depth,ancestorsAvailable,scope,!0);return}}return}scheduleChildren(element.shadowRoot?.children??element.children,depth,ancestorsAvailable,scope)};if(isShadowRootNode(root)){const shadowRoot=root,ancestorsAvailable=options.skipRootAncestorValidation||composedAncestorsAvailable(shadowRoot.host,context),hostStateAvailable=consumeFocusWork(context)&&!cachedRenderedElementState(context,shadowRoot.host).subtreeUnavailable;scheduleChildren(shadowRoot.children,0,ancestorsAvailable&&hostStateAvailable,navigationScope)}else if(options.includeRoot===!1){const ancestorsAvailable=options.skipRootAncestorValidation||composedAncestorsAvailable(root,context),ownAvailable=consumeFocusWork(context)&&!cachedRenderedElementState(context,root).subtreeUnavailable;scheduleComposedChildren(root,0,ancestorsAvailable&&ownAvailable,navigationScope)}else{const ancestorsAvailable=options.skipRootAncestorValidation||composedAncestorsAvailable(root,context);schedule(root,0,ancestorsAvailable,navigationScope)}for(;stack.length>0;){const work=stack.pop();if(work.kind==="slot"){if(work.index>=work.candidates.length){work.foundAssigned||scheduleChildren(work.fallback,work.depth,work.ancestorsAvailable,work.scope);continue}if(!consumeFocusWork(context)){stack.length=0;break}const node=work.candidates[work.index],assigned=!!(node&&node.assignedSlot===work.slot);stack.push({...work,foundAssigned:work.foundAssigned||assigned,index:work.index+1}),node?.nodeType===1&&assigned&&schedule(node,work.depth,work.ancestorsAvailable,work.scope,!0);continue}if(work.kind==="children"){if(work.index>=work.children.length)continue;const element=work.children[work.index];stack.push({...work,index:work.index+1}),element&&schedule(element,work.depth,work.ancestorsAvailable,work.scope);continue}if(visited.has(work.element))continue;if(!work.workCharged&&!consumeFocusWork(context)){stack.length=0;break}visited.add(work.element);const state=cachedRenderedElementState(context,work.element),available=work.ancestorsAvailable&&!state.subtreeUnavailable,included=include(work.element,available,state,context);if(included&&elements.push(work.element),!available)continue;if(work.element.shadowRoot||work.element.localName==="slot"&&isHtmlElement(work.element)){const childScope={entries:[],nextOrder:0};work.scope.entries.push({childScope,delegatesFocus:!!work.element.shadowRoot?.delegatesFocus,order:work.scope.nextOrder++,suppressSequentialDescendants:work.element.hasAttribute("tabindex")&&work.element.tabIndex<0,target:included&&isBrowserFocusElement(work.element)?work.element:void 0}),scheduleComposedChildren(work.element,work.depth+1,!0,childScope);continue}included&&isBrowserFocusElement(work.element)&&work.scope.entries.push({order:work.scope.nextOrder++,target:work.element}),scheduleComposedChildren(work.element,work.depth+1,!0,work.scope)}return{elements,navigationScope,reasons:context.reasons,visitedElements:visited.size}}function isOverflowingTabStop(element){const view=element.ownerDocument.defaultView;if(!view)return!1;const{overflowX,overflowY}=view.getComputedStyle(element);return overflowX==="scroll"||overflowY==="scroll"||overflowY==="auto"&&element.scrollHeight>element.clientHeight?!0:overflowX==="auto"&&element.scrollWidth>element.clientWidth}function isTabbableCandidate(element){return element.hasAttribute("tabindex")?element.tabIndex>=0?!0:isHtmlElement(element)&&!isNativeAction(element)&&isOverflowingTabStop(element):isHtmlElement(element)&&element.hasAttribute("contenteditable")&&element.isContentEditable?!element.parentElement?.isContentEditable:isNativeAction(element)}function collapseRadioGroups(elements){const byRoot=new Map;for(const element of elements){if(!isHtmlElement(element)||element.localName!=="input")continue;const input=element;if(input.type!=="radio"||input.name==="")continue;const root=input.getRootNode();let byForm=byRoot.get(root);byForm||(byForm=new Map,byRoot.set(root,byForm));let byName=byForm.get(input.form);byName||(byName=new Map,byForm.set(input.form,byName));const group=byName.get(input.name);group?input.checked&&!group.checked&&(group.checked=input):byName.set(input.name,{checked:input.checked?input:void 0,first:input})}const tabStops=new Set;for(const byForm of byRoot.values())for(const byName of byForm.values())for(const group of byName.values())tabStops.add(group.checked??group.first);return elements.filter(element=>{if(!isHtmlElement(element)||element.localName!=="input")return!0;const input=element;return input.type!=="radio"||input.name===""||tabStops.has(input)})}function navigationEntryTabIndex(entry){return entry.target&&entry.target.tabIndex>0?entry.target.tabIndex:0}function flattenNavigationScope(scope,mode,retainedTargets){const orderedEntries=candidate=>mode==="tabbable"?[...candidate.entries].sort((first,second)=>{const firstTabIndex=navigationEntryTabIndex(first),secondTabIndex=navigationEntryTabIndex(second);return firstTabIndex>0!=secondTabIndex>0?firstTabIndex>0?-1:1:firstTabIndex>0&&firstTabIndex!==secondTabIndex?firstTabIndex-secondTabIndex:first.order-second.order}):candidate.entries,flattened=[],work=[{kind:"scope",scope}];for(;work.length>0;){const current=work.pop();if(current.kind==="target"){flattened.push(current.target);continue}const entries=orderedEntries(current.scope);for(let index=entries.length-1;index>=0;index-=1){const entry=entries[index];entry.childScope&&(mode!=="tabbable"||!entry.suppressSequentialDescendants)&&work.push({kind:"scope",scope:entry.childScope}),entry.target&&retainedTargets.has(entry.target)&&!entry.delegatesFocus&&work.push({kind:"target",target:entry.target})}}return flattened}function collectComposedFocusTargets(root,options={}){const mode=options.mode??"tabbable",traversed=traverseComposedElements(root,options,(candidate,available,state,context)=>!available||!isBrowserFocusElement(candidate)||candidate.matches(":disabled")||!isRenderedFocusCandidate(context,candidate,state)?!1:mode==="programmatic"?candidate.hasAttribute("tabindex")||isActionableElement(candidate):(candidate.hasAttribute("tabindex")||isActionableElement(candidate))&&isTabbableCandidate(candidate)),included=traversed.elements.filter(isBrowserFocusElement),retained=new Set(included),orderedElements=flattenNavigationScope(traversed.navigationScope,mode,retained);return{elements:mode==="tabbable"?collapseRadioGroups(orderedElements):orderedElements,truncated:traversed.reasons.size>0,truncationReasons:[...traversed.reasons],visitedElements:traversed.visitedElements}}function collectComposedAutofocusElements(root,options={}){const traversed=traverseComposedElements(root,options,(element,available)=>available&&isHtmlElement(element)&&element.hasAttribute("autofocus"));return{elements:traversed.elements,truncated:traversed.reasons.size>0,truncationReasons:[...traversed.reasons],visitedElements:traversed.visitedElements}}export{applyComposedFocusRepair,captureComposedFocusRepair,collectComposedAutofocusElements,collectComposedFocusTargets,deferComposedFocusRepair,focusFirstAvailable,isActionableElement,isComposedFocusAvailable,isSemanticActionElement,nearestExternalFocusTarget,nextHostUpdateOpportunity,repairComposedFocus,repairUnavailableControlFocus};
@@ -0,0 +1 @@
1
+ import{collectComposedFocusTargets,focusFirstAvailable,isComposedFocusAvailable}from"./focus-navigation.js";import{deepActiveElementIn}from"./active-element.js";import{composedContains}from"./composed-tree.js";function holdsFocus(host){const active=deepActiveElementIn(host.ownerDocument);return active!==null&&composedContains(host,active)}function restoreComposedFocus(host,hadFocus,fallback){if(!hadFocus)return;const doc=host.ownerDocument,active=deepActiveElementIn(doc);if(!(active===null||active===doc.body||active===doc.documentElement)&&(!composedContains(host,active)||isComposedFocusAvailable(active)))return;const inside=collectComposedFocusTargets(host,{includeRoot:!1,mode:"programmatic"}).elements;focusFirstAvailable([fallback,...inside,host])}function preserveFocusAcross(host,mutate,fallback){const hadFocus=holdsFocus(host);mutate(),restoreComposedFocus(host,hadFocus,hadFocus?fallback?.():null)}export{preserveFocusAcross,restoreComposedFocus};
@@ -0,0 +1 @@
1
+ import{OwnedFrame}from"./owned-timer.js";const DEFAULT_NEAR_TAIL_PX=48;class FollowTailController{constructor(host,options){this.options=options,this.frame=new OwnedFrame(host),host.addController(this)}get atTail(){const scroller=this.options.scroller();if(!scroller)return!0;const distance=scroller.scrollHeight-scroller.scrollTop-scroller.clientHeight;return!Number.isFinite(distance)||distance<=(this.options.nearPx??DEFAULT_NEAR_TAIL_PX)}get pending(){return this.frame.pending}scrollToTail(){const scroller=this.options.scroller();scroller&&(scroller.scrollTop=scroller.scrollHeight)}scheduleScrollToTail(){this.frame.pending||this.frame.schedule(()=>{this.options.shouldFollow&&!this.options.shouldFollow()||this.scrollToTail()})}cancel(){this.frame.cancel()}hostDisconnected(){this.frame.cancel()}}export{FollowTailController};
@@ -0,0 +1 @@
1
+ import{css,unsafeCSS}from"lit";const forcedColorsSelected=/* @__PURE__ */(()=>css`@media (forced-colors:active){[aria-selected=true],[aria-current]:not([aria-current=false]),[aria-pressed=true],[aria-checked=true],[data-selected],[data-current],[data-active]{color:highlighttext;outline:var(--lr-border-width-thin) solid CanvasText;outline-offset:calc(-1 * var(--lr-border-width-thin));background-color:highlight}}`)(),forcedColorsDataFill=/* @__PURE__ */(()=>css`@media (forced-colors:active){[data-fill],[part~=fill]{forced-color-adjust:none;background-color:var(--_lr-forced-data-fill,Highlight);border:var(--lr-border-width-thin) solid CanvasText}}`)();function forcedColorsPart(selector){return css` @media (forced-colors:active){${unsafeCSS(selector)}{background-color:Highlight;color:HighlightText;outline:var(--lr-border-width-thin) solid CanvasText;outline-offset:calc(-1 * var(--lr-border-width-thin))}}`}function forcedColorsDivider(rest,engaged=""){const restRule=rest===""?"":`${rest} { background-color: CanvasText; }`,engagedRule=engaged===""?"":`${engaged} { background-color: Highlight; }`;return css` @media (forced-colors:active){${unsafeCSS(restRule)} ${unsafeCSS(engagedRule)}}`}export{forcedColorsDataFill,forcedColorsDivider,forcedColorsPart,forcedColorsSelected};
@@ -133,6 +133,15 @@ readonly effectiveDisabled?:boolean;readonly disabled?:boolean;readonly readonly
133
133
  */
134
134
  export declare function isBarredFromValidation(host:ValidationCandidate,internals?:ElementInternals):boolean;
135
135
  /**
136
+ * Whether a public action (`focus()`, `click()`, clear, steppers, typing) must refuse right now.
137
+ * Reads the component's own `effectiveDisabled` AND the UA's synchronous `:disabled` fieldset
138
+ * cascade, which leads `formDisabledCallback()` by a tick. Replaces the per-class `liveDisabled`
139
+ * getter without adding a member that would collide with subclasses that still declare their own.
140
+ * Server rendering runs lifecycle hooks against a DOM shim without `matches()`, where only the
141
+ * component's own state can answer.
142
+ */
143
+ export declare function isLiveDisabled(host:Element&{readonly effectiveDisabled:boolean;}):boolean;
144
+ /**
136
145
  * Public surface a `FormAssociated`-mixed element exposes to consumers and subclasses.
137
146
  *
138
147
  * `TValue` defaults to `string`, so every existing reference to the bare
@@ -202,5 +211,7 @@ protected acceptsCheckedWrite(previous:boolean,next:boolean):boolean;
202
211
  protected checkedWritten(previous:boolean):void;
203
212
  /** Runs after every `value` write.*/
204
213
  protected valueWritten(previous:string):void;
214
+ /** Updates live checkedness on behalf of a peer without making a pristine control dirty.*/
215
+ protected setCheckedPreservingDirty(value:boolean):void;
205
216
  /** Restores the live checked state from the reset default and clears the dirty flag.*/
206
217
  protected restoreCheckedFromDefault():void;}export declare function CheckedFormAssociated<T extends Constructor<LitElement>>(Base:T):T&Constructor<FormAssociatedInterface&FormAssociatedSubclassInterface&CheckedFormAssociatedInterface&CheckedFormAssociatedSubclassInterface>;
@@ -1 +1 @@
1
- import{installFormControlLabelSupport}from"./form-control-labels.js";import{FormControlController,reflectFormName}from"./form-control-controller.js";import{LYRA_DEFAULT_fieldRequired}from"./default-strings/shared.generated.js";import{resolveLyraString}from"./localization-runtime.js";import{SET_ANCHORED_VALIDITY,VALIDITY_ANCHOR}from"./anchored-validity.js";import{setCustomState,syncValidityStates}from"./custom-states.js";import{omittedEmptyStringConverter}from"./converters.js";import{attachInternalsSafely,createFallbackInternals}from"./element-internals.js";import{getFormOwner,setFormOwner}from"./direct-form-associated.js";const FORM_ASSOCIATED_DEFAULT_STRINGS=Object.freeze({fieldRequired:LYRA_DEFAULT_fieldRequired});function createStringArrayFormDataState(name,values){const state=new FormData,key=name||"value";for(const value of values)state.append(key,value);return state}function readStringArrayFormDataState(state){if(typeof FormData!="function")return[];let entries;try{entries=[...FormData.prototype.values.call(state)]}catch{return[]}return entries.some(entry=>typeof entry!="string")?[]:entries}function isEmptyFormValue(value){if(value==null)return!0;if(typeof value=="string")return value==="";if(typeof value=="object")try{if(Array.isArray(value))return value.length===0;const prototype=Object.getPrototypeOf(value);if(prototype===null)return Object.keys(value).length===0;if(Object.getPrototypeOf(prototype)===null){const constructor=Object.getOwnPropertyDescriptor(prototype,"constructor")?.value;if(typeof constructor=="function"&&constructor.name==="Object"&&constructor.prototype===prototype)return Object.keys(value).length===0}}catch{return!1}return!1}const stringFormValueAdapter={empty:"",toFormValue:value=>value,isEmpty:value=>value==="",fromAttribute:attribute=>attribute,toAttribute:value=>value,fromFormState:state=>typeof state=="string"?state:""};function resolveFormValueAdapter(adapter){return adapter===void 0?stringFormValueAdapter:{empty:adapter.empty,toFormValue:value=>adapter.toFormValue(value),...adapter.toFormState?{toFormState:value=>adapter.toFormState(value)}:{},isEmpty:adapter.isEmpty?value=>adapter.isEmpty(value):isEmptyFormValue,fromAttribute:adapter.fromAttribute?attribute=>adapter.fromAttribute(attribute):attribute=>attribute,toAttribute:adapter.toAttribute?value=>adapter.toAttribute(value):value=>value==null?null:String(value),fromFormState:adapter.fromFormState?state=>adapter.fromFormState(state):state=>typeof state=="string"?state:adapter.empty}}function isBarredFromValidation(host,internals){if((host.effectiveDisabled??host.disabled)||host.readonly)return!0;if(internals){const willValidate=readNativeWillValidate(internals);if(willValidate!==void 0)return!willValidate}return!1}function readNativeWillValidate(internals){if(typeof ElementInternals!="function")return;const getter=Object.getOwnPropertyDescriptor(ElementInternals.prototype,"willValidate")?.get;if(typeof getter=="function")try{const value=getter.call(internals);return typeof value=="boolean"?value:void 0}catch{return}}function FormAssociated(Base,valueAdapter){installFormControlLabelSupport();const adapter=resolveFormValueAdapter(valueAdapter),defaultValueConverter={fromAttribute:attribute=>attribute===null?null:adapter.fromAttribute(attribute),toAttribute:value=>value==null?null:adapter.toAttribute(value)};class FormAssociatedElement extends Base{static{this.formAssociated=!0}static{this.properties={name:{reflect:!0,noAccessor:!0,converter:omittedEmptyStringConverter},value:{attribute:!1,noAccessor:!0},defaultValue:{attribute:"value",reflect:!0,useDefault:!0,noAccessor:!0,...valueAdapter?{converter:defaultValueConverter}:{}},customError:{attribute:"custom-error",reflect:!0,noAccessor:!0},form:{noAccessor:!0},disabled:{type:Boolean,reflect:!0,noAccessor:!0},required:{type:Boolean,reflect:!0,noAccessor:!0}}}constructor(...args){super(...args),this._fieldsetDisabled=!1,this._disabled=!1,this._name="",this._value=adapter.empty,this._defaultValue=adapter.empty,this._valueDirty=!1,this.settingDefaultValue=!1,this.reflectingDefaultValue=!1,this.reflectingCustomError=!1,this.reflectingFormOwner=!1,this._required=!1,this._hasInteracted=!1;const markInteracted=()=>this.setInteracted(!0);this.validityController=new FormControlController(this,{invalid:init=>this.emit("lr-invalid",null,init),interacted:markInteracted}),this.internals=this.validityController.formInternals,this.commitFormValue(this._value),this.addEventListener("input",event=>{this.countsAsInteraction(event)&&markInteracted()}),this.addEventListener("change",event=>{this.countsAsInteraction(event)&&markInteracted()}),this.addEventListener("focusout",event=>{this.effectiveDisabled||this.matches(":disabled")||this.countsAsInteraction(event)&&markInteracted()}),this.syncValidityStates()}get form(){return getFormOwner(this.internals)}set form(owner){if(!this.reflectingFormOwner){this.reflectingFormOwner=!0;try{setFormOwner(this,owner)}finally{this.reflectingFormOwner=!1}}}getForm(){return getFormOwner(this.internals)}get labels(){return this.internals.labels}get validity(){return this.internals.validity}get validationMessage(){return this.internals.validationMessage}get willValidate(){return this.internals.willValidate}[VALIDITY_ANCHOR](){return this.renderRoot?.querySelector("input:not([type='hidden']), textarea, select, button, [tabindex]:not([tabindex='-1'])")??null}[SET_ANCHORED_VALIDITY](flags,message=""){this.validityController.setValidity(flags,message),this.syncValidityStates()}commitCustomValidity(message){const old=this.customError,normalized=message??"";this.validityController.setCustomValidity(normalized),this.syncValidityStates(),this.reflectingCustomError=!0;try{normalized?this.setAttribute("custom-error",normalized):this.removeAttribute("custom-error")}finally{this.reflectingCustomError=!1}this.requestUpdate("customError",old)}setCustomValidity(message){this.commitCustomValidity(message)}resetValidity(){this.commitCustomValidity(""),this.updateValidity(),this.syncValidityStates()}syncValidityStates(){syncValidityStates(this.internals,{required:this.reportsRequired(),hasInteracted:this._hasInteracted,barred:this.isBarredFromValidation()}),this.publishCustomStates()}reportsRequired(){return this.required}publishCustomStates(){}get hasInteracted(){return this._hasInteracted}setInteracted(next){this._hasInteracted!==next&&(this._hasInteracted=next,this.syncValidityStates(),this.interactionChanged())}interactionChanged(){}countsAsInteraction(event){return!0}isDisabledByOwner(){return!1}requiredMessage(){const overrides=this.strings;return resolveLyraString(this,"fieldRequired",overrides,void 0,void 0,FORM_ASSOCIATED_DEFAULT_STRINGS)}isBarredFromValidation(){return isBarredFromValidation(this,this.internals)}get name(){return this._name}set name(next){const old=this._name;this._name=next??"",reflectFormName(this,this._name),this.requestUpdate("name",old)}commitFormValue(value){const submitted=adapter.toFormValue(value);adapter.toFormState?this.internals.setFormValue(submitted,adapter.toFormState(value)):this.internals.setFormValue(submitted)}get value(){return this._value}set value(next){const old=this._value;this._value=next??adapter.empty,this.settingDefaultValue||(this._valueDirty=!0),this.commitFormValue(this._value),this.updateValidity(),this.requestUpdate("value",old)}captureLiveValueCheckpoint(){return{value:this._value,dirty:this._valueDirty}}restoreLiveValueCheckpoint(checkpoint){const old=this._value;this._value=checkpoint.value,this._valueDirty=checkpoint.dirty,this.commitFormValue(this._value),this.updateValidity(),this.requestUpdate("value",old)}get defaultValue(){return this._defaultValue}set defaultValue(next){if(this.reflectingDefaultValue)return;const old=this._defaultValue;this._defaultValue=next??adapter.empty,this.reflectingDefaultValue=!0;try{const attribute=next==null?null:adapter.toAttribute(this._defaultValue);attribute==null?this.removeAttribute("value"):this.setAttribute("value",attribute)}finally{this.reflectingDefaultValue=!1}this._valueDirty||this.restoreLiveValueFromDefault(),this.requestUpdate("defaultValue",old,{reflect:!1})}get customError(){return this.validityController.customValidityMessage||null}set customError(next){this.reflectingCustomError||this.commitCustomValidity(next)}get disabled(){return this._disabled}set disabled(next){const old=this._disabled;this._disabled=!!next,this.toggleAttribute("disabled",this._disabled),!this._disabled&&typeof this.matches=="function"&&(this._fieldsetDisabled=this.matches(":disabled")),this.updateValidity(),this.syncValidityStates(),this.requestUpdate("disabled",old)}get required(){return this._required}set required(next){const old=this._required;this._required=next,this.toggleAttribute("required",next),this.updateValidity(),this.syncValidityStates(),this.requestUpdate("required",old)}get effectiveDisabled(){return this.disabled||this._fieldsetDisabled||this.isDisabledByOwner()}setFormValue(next){this.value=next}isMissingValue(){return adapter.isEmpty(this._value)}updateValidity(){if(this.isBarredFromValidation()){this[SET_ANCHORED_VALIDITY]({});return}this.required&&this.isMissingValue()?this[SET_ANCHORED_VALIDITY]({valueMissing:!0},this.requiredMessage()):this[SET_ANCHORED_VALIDITY]({})}syncConstraintsToNative(){this.validityController.syncConstraints()}checkValidity(){return this.validityController.checkValidity(()=>this.updateValidity())}reportValidity(){return this.syncConstraintsToNative(),this.updateValidity(),this._hasInteracted=!0,this.syncValidityStates(),this.interactionChanged(),this.internals.reportValidity()}formResetCallback(){this._valueDirty=!1,this.restoreLiveValueFromDefault(),this._hasInteracted=!1,this.syncValidityStates(),this.interactionChanged()}restoreLiveValueFromDefault(){this.settingDefaultValue=!0;try{this.value=this._defaultValue}finally{this.settingDefaultValue=!1}this._valueDirty=!1}formStateRestoreCallback(state,reason){this.value=adapter.fromFormState(state)}formDisabledCallback(fieldsetDisabled){if(this.validityController?.reflectingDisabled)return;const before=this.effectiveDisabled;this._fieldsetDisabled=fieldsetDisabled,this.effectiveDisabled!==before&&(this.updateValidity(),this.syncValidityStates(),this.requestUpdate())}updated(changed){super.updated(changed),!(!changed.has("readonly")&&!changed.has("disabled"))&&(this.updateValidity(),this.syncValidityStates())}connectedCallback(){super.connectedCallback(),this.updateValidity(),this.syncValidityStates()}}return FormAssociatedElement}const baseOf=element=>element;function CheckedFormAssociated(Base){class CheckedElement extends FormAssociated(Base){constructor(){super(...arguments),this._checked=!1,this._checkedValue="on",this._defaultChecked=!1,this._checkedDirty=!1,this.settingDefaultChecked=!1,this.reflectingDefaultChecked=!1}static{this.properties={checked:{attribute:!1,noAccessor:!0},defaultChecked:{attribute:"checked",type:Boolean,reflect:!0,useDefault:!0,noAccessor:!0},defaultValue:{attribute:!1,noAccessor:!0},value:{reflect:!0,noAccessor:!0}}}get checked(){return this._checked}set checked(next){const old=this._checked,value=!!next;this.settingDefaultChecked||(this._checkedDirty=!0),this.acceptsCheckedWrite(old,value)&&(this._checked=value,this.commitFormValue(this.value),baseOf(this).updateValidity(),this.requestUpdate("checked",old),this.checkedWritten(old))}get defaultChecked(){return this._defaultChecked}set defaultChecked(next){if(this.reflectingDefaultChecked)return;const old=this._defaultChecked;this._defaultChecked=!!next,this.reflectingDefaultChecked=!0;try{this.toggleAttribute("checked",this._defaultChecked)}finally{this.reflectingDefaultChecked=!1}this._checkedDirty||this.restoreCheckedFromDefault(),this.requestUpdate("defaultChecked",old)}get value(){return this._checkedValue}set value(next){const old=this._checkedValue;this._checkedValue=next??"on",next==null?this.hasAttribute("value")&&this.removeAttribute("value"):this.getAttribute("value")!==this._checkedValue&&this.setAttribute("value",this._checkedValue),this.commitFormValue(this._checkedValue),baseOf(this).updateValidity(),this.valueWritten(old),this.requestUpdate("value",old,{reflect:!1})}get defaultValue(){return this.value}set defaultValue(next){this.value=next}acceptsCheckedWrite(previous,next){return!0}checkedWritten(previous){}valueWritten(previous){}interactionChanged(){this.requestUpdate()}countsAsInteraction(){return!1}publishCustomStates(){setCustomState(this.internals,"checked",!!this._checked),setCustomState(this.internals,"disabled",this.effectiveDisabled)}commitFormValue(value){const checked=!!this._checked;this.internals.setFormValue(checked?value:null,checked?"checked":"unchecked")}isMissingValue(){return!this._checked}restoreCheckedFromDefault(){this.settingDefaultChecked=!0;try{this.checked=this._defaultChecked}finally{this.settingDefaultChecked=!1}this._checkedDirty=!1}formResetCallback(){this.restoreCheckedFromDefault(),baseOf(this).setInteracted(!1),baseOf(this).syncValidityStates()}formStateRestoreCallback(state,reason){this.checked=state==="checked"}}return CheckedElement}export{CheckedFormAssociated,FormAssociated,attachInternalsSafely,createFallbackInternals,createStringArrayFormDataState,getFormOwner,isBarredFromValidation,isEmptyFormValue,readStringArrayFormDataState,setFormOwner,stringFormValueAdapter};
1
+ import{installFormControlLabelSupport}from"./form-control-labels.js";import{FormControlController,reflectFormName}from"./form-control-controller.js";import{LYRA_DEFAULT_fieldRequired}from"./default-strings/shared.generated.js";import{resolveLyraString}from"./localization-runtime.js";import{SET_ANCHORED_VALIDITY,VALIDITY_ANCHOR}from"./anchored-validity.js";import{setCustomState,syncValidityStates}from"./custom-states.js";import{omittedEmptyStringConverter}from"./converters.js";import{attachInternalsSafely,createFallbackInternals}from"./element-internals.js";import{getFormOwner,setFormOwner}from"./direct-form-associated.js";const FORM_ASSOCIATED_DEFAULT_STRINGS=/* @__PURE__ */(()=>Object.freeze({fieldRequired:LYRA_DEFAULT_fieldRequired}))();function createStringArrayFormDataState(name,values){const state=new FormData,key=name||"value";for(const value of values)state.append(key,value);return state}function readStringArrayFormDataState(state){if(typeof FormData!="function")return[];let entries;try{entries=[...FormData.prototype.values.call(state)]}catch{return[]}return entries.some(entry=>typeof entry!="string")?[]:entries}function isEmptyFormValue(value){if(value==null)return!0;if(typeof value=="string")return value==="";if(typeof value=="object")try{if(Array.isArray(value))return value.length===0;const prototype=Object.getPrototypeOf(value);if(prototype===null)return Object.keys(value).length===0;if(Object.getPrototypeOf(prototype)===null){const constructor=Object.getOwnPropertyDescriptor(prototype,"constructor")?.value;if(typeof constructor=="function"&&constructor.name==="Object"&&constructor.prototype===prototype)return Object.keys(value).length===0}}catch{return!1}return!1}const stringFormValueAdapter={empty:"",toFormValue:value=>value,isEmpty:value=>value==="",fromAttribute:attribute=>attribute,toAttribute:value=>value,fromFormState:state=>typeof state=="string"?state:""};function resolveFormValueAdapter(adapter){return adapter===void 0?stringFormValueAdapter:{empty:adapter.empty,toFormValue:value=>adapter.toFormValue(value),...adapter.toFormState?{toFormState:value=>adapter.toFormState(value)}:{},isEmpty:adapter.isEmpty?value=>adapter.isEmpty(value):isEmptyFormValue,fromAttribute:adapter.fromAttribute?attribute=>adapter.fromAttribute(attribute):attribute=>attribute,toAttribute:adapter.toAttribute?value=>adapter.toAttribute(value):value=>value==null?null:String(value),fromFormState:adapter.fromFormState?state=>adapter.fromFormState(state):state=>typeof state=="string"?state:adapter.empty}}function isBarredFromValidation(host,internals){if((host.effectiveDisabled??host.disabled)||host.readonly)return!0;if(internals){const willValidate=readNativeWillValidate(internals);if(willValidate!==void 0)return!willValidate}return!1}function isLiveDisabled(host){return host.effectiveDisabled||typeof host.matches=="function"&&host.matches(":disabled")}function readNativeWillValidate(internals){if(typeof ElementInternals!="function")return;const getter=Object.getOwnPropertyDescriptor(ElementInternals.prototype,"willValidate")?.get;if(typeof getter=="function")try{const value=getter.call(internals);return typeof value=="boolean"?value:void 0}catch{return}}function FormAssociated(Base,valueAdapter){installFormControlLabelSupport();const adapter=resolveFormValueAdapter(valueAdapter),defaultValueConverter={fromAttribute:attribute=>attribute===null?null:adapter.fromAttribute(attribute),toAttribute:value=>value==null?null:adapter.toAttribute(value)};class FormAssociatedElement extends Base{static{this.formAssociated=!0}static{this.properties={name:{reflect:!0,noAccessor:!0,converter:omittedEmptyStringConverter},value:{attribute:!1,noAccessor:!0},defaultValue:{attribute:"value",reflect:!0,useDefault:!0,noAccessor:!0,...valueAdapter?{converter:defaultValueConverter}:{}},customError:{attribute:"custom-error",reflect:!0,noAccessor:!0},form:{noAccessor:!0},disabled:{type:Boolean,reflect:!0,noAccessor:!0},required:{type:Boolean,reflect:!0,noAccessor:!0}}}constructor(...args){super(...args),this._fieldsetDisabled=!1,this._disabled=!1,this._name="",this._value=adapter.empty,this._defaultValue=adapter.empty,this._valueDirty=!1,this.settingDefaultValue=!1,this.reflectingDefaultValue=!1,this.reflectingCustomError=!1,this.reflectingFormOwner=!1,this._required=!1,this._hasInteracted=!1;const markInteracted=()=>this.setInteracted(!0);this.validityController=new FormControlController(this,{invalid:init=>this.emit("lr-invalid",null,init),interacted:markInteracted}),this.internals=this.validityController.formInternals,this.commitFormValue(this._value),this.addEventListener("input",event=>{this.countsAsInteraction(event)&&markInteracted()}),this.addEventListener("change",event=>{this.countsAsInteraction(event)&&markInteracted()}),this.addEventListener("focusout",event=>{isLiveDisabled(this)||this.countsAsInteraction(event)&&markInteracted()}),this.syncValidityStates()}get form(){return getFormOwner(this.internals)}set form(owner){if(!this.reflectingFormOwner){this.reflectingFormOwner=!0;try{setFormOwner(this,owner)}finally{this.reflectingFormOwner=!1}}}getForm(){return getFormOwner(this.internals)}get labels(){return this.internals.labels}get validity(){return this.internals.validity}get validationMessage(){return this.internals.validationMessage}get willValidate(){return this.internals.willValidate}[VALIDITY_ANCHOR](){return this.renderRoot?.querySelector("input:not([type='hidden']), textarea, select, button, [tabindex]:not([tabindex='-1'])")??null}[SET_ANCHORED_VALIDITY](flags,message=""){this.validityController.setValidity(flags,message),this.syncValidityStates()}commitCustomValidity(message){const old=this.customError,normalized=message??"";this.validityController.setCustomValidity(normalized),this.syncValidityStates(),this.reflectingCustomError=!0;try{normalized?this.setAttribute("custom-error",normalized):this.removeAttribute("custom-error")}finally{this.reflectingCustomError=!1}this.requestUpdate("customError",old)}setCustomValidity(message){this.commitCustomValidity(message)}resetValidity(){this.commitCustomValidity(""),this.updateValidity(),this.syncValidityStates()}syncValidityStates(){syncValidityStates(this.internals,{required:this.reportsRequired(),hasInteracted:this._hasInteracted,barred:this.isBarredFromValidation()}),this.publishCustomStates()}reportsRequired(){return this.required}publishCustomStates(){}get hasInteracted(){return this._hasInteracted}setInteracted(next){this._hasInteracted!==next&&(this._hasInteracted=next,this.syncValidityStates(),this.interactionChanged())}interactionChanged(){}countsAsInteraction(event){return!0}isDisabledByOwner(){return!1}requiredMessage(){const overrides=this.strings;return resolveLyraString(this,"fieldRequired",overrides,void 0,void 0,FORM_ASSOCIATED_DEFAULT_STRINGS)}isBarredFromValidation(){return isBarredFromValidation(this,this.internals)}get name(){return this._name}set name(next){const old=this._name;this._name=next??"",reflectFormName(this,this._name),this.requestUpdate("name",old)}commitFormValue(value){const submitted=adapter.toFormValue(value);adapter.toFormState?this.internals.setFormValue(submitted,adapter.toFormState(value)):this.internals.setFormValue(submitted)}get value(){return this._value}set value(next){const old=this._value;this._value=next??adapter.empty,this.settingDefaultValue||(this._valueDirty=!0),this.commitFormValue(this._value),this.updateValidity(),this.requestUpdate("value",old)}captureLiveValueCheckpoint(){return{value:this._value,dirty:this._valueDirty}}restoreLiveValueCheckpoint(checkpoint){const old=this._value;this._value=checkpoint.value,this._valueDirty=checkpoint.dirty,this.commitFormValue(this._value),this.updateValidity(),this.requestUpdate("value",old)}get defaultValue(){return this._defaultValue}set defaultValue(next){if(this.reflectingDefaultValue)return;const old=this._defaultValue;this._defaultValue=next??adapter.empty,this.reflectingDefaultValue=!0;try{const attribute=next==null?null:adapter.toAttribute(this._defaultValue);attribute==null?this.removeAttribute("value"):this.setAttribute("value",attribute)}finally{this.reflectingDefaultValue=!1}this._valueDirty||this.restoreLiveValueFromDefault(),this.requestUpdate("defaultValue",old,{reflect:!1})}get customError(){return this.validityController.customValidityMessage||null}set customError(next){this.reflectingCustomError||this.commitCustomValidity(next)}get disabled(){return this._disabled}set disabled(next){const old=this._disabled;this._disabled=!!next,this.toggleAttribute("disabled",this._disabled),!this._disabled&&typeof this.matches=="function"&&(this._fieldsetDisabled=this.matches(":disabled")),this.updateValidity(),this.syncValidityStates(),this.requestUpdate("disabled",old)}get required(){return this._required}set required(next){const old=this._required;this._required=next,this.toggleAttribute("required",next),this.updateValidity(),this.syncValidityStates(),this.requestUpdate("required",old)}get effectiveDisabled(){return this.disabled||this._fieldsetDisabled||this.isDisabledByOwner()}setFormValue(next){this.value=next}isMissingValue(){return adapter.isEmpty(this._value)}updateValidity(){if(this.isBarredFromValidation()){this[SET_ANCHORED_VALIDITY]({});return}this.required&&this.isMissingValue()?this[SET_ANCHORED_VALIDITY]({valueMissing:!0},()=>this.requiredMessage()):this[SET_ANCHORED_VALIDITY]({})}syncConstraintsToNative(){this.validityController.syncConstraints()}checkValidity(){return this.validityController.checkValidity(()=>this.updateValidity())}reportValidity(){return this.syncConstraintsToNative(),this.updateValidity(),this._hasInteracted=!0,this.syncValidityStates(),this.interactionChanged(),this.internals.reportValidity()}formResetCallback(){this._valueDirty=!1,this.restoreLiveValueFromDefault(),this._hasInteracted=!1,this.syncValidityStates(),this.interactionChanged()}restoreLiveValueFromDefault(){this.settingDefaultValue=!0;try{this.value=this._defaultValue}finally{this.settingDefaultValue=!1}this._valueDirty=!1}formStateRestoreCallback(state,reason){this.value=adapter.fromFormState(state)}formDisabledCallback(fieldsetDisabled){if(this.validityController?.reflectingDisabled)return;const before=this.effectiveDisabled;this._fieldsetDisabled=fieldsetDisabled,this.effectiveDisabled!==before&&(this.updateValidity(),this.syncValidityStates(),this.requestUpdate())}updated(changed){super.updated(changed),!(!changed.has("readonly")&&!changed.has("disabled"))&&(this.updateValidity(),this.syncValidityStates())}connectedCallback(){super.connectedCallback(),this.updateValidity(),this.syncValidityStates()}}return FormAssociatedElement}const baseOf=element=>element;function CheckedFormAssociated(Base){class CheckedElement extends FormAssociated(Base){constructor(){super(...arguments),this._checked=!1,this._checkedValue="on",this._defaultChecked=!1,this._checkedDirty=!1,this.settingDefaultChecked=!1,this.reflectingDefaultChecked=!1}static{this.properties={checked:{attribute:!1,noAccessor:!0},defaultChecked:{attribute:"checked",type:Boolean,reflect:!0,useDefault:!0,noAccessor:!0},defaultValue:{attribute:!1,noAccessor:!0},value:{reflect:!0,noAccessor:!0}}}get checked(){return this._checked}set checked(next){const old=this._checked,value=!!next;this.settingDefaultChecked||(this._checkedDirty=!0),this.acceptsCheckedWrite(old,value)&&(this._checked=value,this.commitFormValue(this.value),baseOf(this).updateValidity(),this.requestUpdate("checked",old),this.checkedWritten(old))}get defaultChecked(){return this._defaultChecked}set defaultChecked(next){if(this.reflectingDefaultChecked)return;const old=this._defaultChecked;this._defaultChecked=!!next,this.reflectingDefaultChecked=!0;try{this.toggleAttribute("checked",this._defaultChecked)}finally{this.reflectingDefaultChecked=!1}this._checkedDirty||this.restoreCheckedFromDefault(),this.requestUpdate("defaultChecked",old)}get value(){return this._checkedValue}set value(next){const old=this._checkedValue;this._checkedValue=next??"on",next==null?this.hasAttribute("value")&&this.removeAttribute("value"):this.getAttribute("value")!==this._checkedValue&&this.setAttribute("value",this._checkedValue),this.commitFormValue(this._checkedValue),baseOf(this).updateValidity(),this.valueWritten(old),this.requestUpdate("value",old,{reflect:!1})}get defaultValue(){return this.value}set defaultValue(next){this.value=next}acceptsCheckedWrite(previous,next){return!0}checkedWritten(previous){}valueWritten(previous){}interactionChanged(){this.requestUpdate()}countsAsInteraction(){return!1}publishCustomStates(){setCustomState(this.internals,"checked",!!this._checked),setCustomState(this.internals,"disabled",this.effectiveDisabled)}commitFormValue(value){const checked=!!this._checked;this.internals.setFormValue(checked?value:null,checked?"checked":"unchecked")}isMissingValue(){return!this._checked}setCheckedPreservingDirty(value){const previous=this.settingDefaultChecked;this.settingDefaultChecked=!0;try{this.checked=value}finally{this.settingDefaultChecked=previous}}restoreCheckedFromDefault(){this.setCheckedPreservingDirty(this._defaultChecked),this._checkedDirty=!1}formResetCallback(){this.restoreCheckedFromDefault(),baseOf(this).setInteracted(!1),baseOf(this).syncValidityStates()}formStateRestoreCallback(state,reason){this.checked=state==="checked"}}return CheckedElement}export{CheckedFormAssociated,FormAssociated,attachInternalsSafely,createFallbackInternals,createStringArrayFormDataState,getFormOwner,isBarredFromValidation,isEmptyFormValue,isLiveDisabled,readStringArrayFormDataState,setFormOwner,stringFormValueAdapter};
@@ -0,0 +1 @@
1
+ import{css}from"lit";const formControlAppearance=/* @__PURE__ */(()=>css`:host{--_lr-form-control-fill:var(--lr-color-surface);--_lr-form-control-border-color:var(--lr-color-border)}:host([appearance=filled-outlined]){--_lr-form-control-fill:var(--lr-color-surface-raised)}:host([appearance=filled]),:host([filled]){--_lr-form-control-fill:var(--lr-color-surface-raised);--_lr-form-control-border-color:transparent}:host([appearance=plain]){--_lr-form-control-fill:transparent;--_lr-form-control-border-color:transparent}:host([appearance=accent]){--_lr-form-control-fill:var(--lr-color-brand-quiet);--_lr-form-control-border-color:var(--lr-color-brand)}`)();export{formControlAppearance};
@@ -0,0 +1 @@
1
+ import{css}from"lit";import{formControlLabelDisplay,formControlLabelTypography,formControlSupportingText}from"../form-control.styles.js";const formControlLabelPlacement=/* @__PURE__ */(()=>css`:host([label-placement=start]) [part~=form-control]{--_lr-label-column:var(--lr-form-control-label-inline-size,30%);--_lr-label-gap:var(--lr-form-control-label-gap,var(--lr-space-m));--_lr-label-collapse:var(--lr-form-control-label-collapse-inline-size,var(--lr-size-20rem));align-items:flex-start;column-gap:var(--_lr-label-gap);flex-flow:wrap;display:flex}:host([label-placement=start]) [part~=form-control]>:not([part~=form-control-label]){flex:1 1 0;min-inline-size:0}:host([label-placement=start]) [part~=form-control]>[part~=form-control-label]{flex:0 0 clamp(var(--_lr-label-column),(var(--_lr-label-collapse) - 100%) * 9999,100%);box-sizing:border-box;margin-block-end:clamp(0px,(var(--_lr-label-collapse) - 100%) * 9999,var(--lr-form-control-label-block-gap,var(--lr-space-xs)));padding-block-start:clamp(0px,(100% - var(--_lr-label-collapse)) * 9999,max(0px,(var(--lr-form-control-height,var(--lr-size-2-5rem)) - 1lh) / 2))}:host([label-placement=start]) [part~=form-control]>:is([part~=hint],[part~=error],[data-form-control-row]){box-sizing:border-box;flex:0 0 100%}:host([label-placement=start]:not([label-display=hidden])) [part~=form-control]:has(>[part~=form-control-label]:not([hidden]))>:is([part~=hint],[part~=error],[data-form-control-row]){padding-inline-start:clamp(0px,(100% - var(--_lr-label-collapse)) * 9999,var(--_lr-label-column) + var(--_lr-label-gap))}`)(),formControlChrome=/* @__PURE__ */(()=>css` [part~=form-control-label]{display:block;margin-block-end:var(--lr-form-control-label-block-gap,var(--lr-space-xs));${formControlLabelTypography()}}[part~=form-control-label][hidden]{display:none}${formControlSupportingText} ${formControlLabelDisplay} `)();export{formControlChrome,formControlLabelPlacement};
@@ -0,0 +1 @@
1
+ import{css}from"lit";import{activeFill,focusRing,hoverFill}from"../interactive-control.styles.js";const formControlPresetButton=/* @__PURE__ */(()=>css` [part~=preset-button]{border:var(--lr-border-width-thin) solid var(--lr-color-border);background:var(--lr-color-surface);color:var(--lr-color-text);font:inherit;cursor:pointer;transition:var(--lr-transition-interactive)}[part~=preset-button]:not([data-active]):hover:not(:disabled){background:var(--_lr-preset-hover-bg,var(--lr-color-brand-quiet));border-color:var(--_lr-preset-hover-border-color,var(--lr-color-brand))}[part~=preset-button]:not([data-active]):active:not(:disabled){background:var(--_lr-preset-pressed-bg,${activeFill("var(--_lr-preset-pressed-base, var(--lr-color-brand-quiet))")});border-color:var(--_lr-preset-pressed-border-color,${activeFill("var(--lr-color-brand)")})}[part~=preset-button][data-active]{background:var(--_lr-preset-selected-bg,var(--lr-color-brand));border-color:var(--_lr-preset-selected-border-color,var(--lr-color-brand));color:var(--_lr-preset-selected-color,var(--lr-color-on-brand))}[part~=preset-button][data-active]:hover:not(:disabled){background-image:linear-gradient(${hoverFill("transparent")},${hoverFill("transparent")})}[part~=preset-button][data-active]:active:not(:disabled){background-color:var(--_lr-preset-selected-pressed-bg,${activeFill("var(--_lr-preset-selected-bg, var(--lr-color-brand))")});background-image:var(--_lr-preset-selected-pressed-image,none);border-color:var(--_lr-preset-selected-pressed-border-color,${activeFill("var(--_lr-preset-selected-border-color, var(--lr-color-brand))")})}[part~=preset-button]:focus-visible{${focusRing}}[part~=preset-button]:disabled{cursor:not-allowed}`)();export{formControlPresetButton};
@@ -0,0 +1 @@
1
+ import{css}from"lit";function formControlTouchFontFloor(surface,size=css`100%`){return css` @media (hover:none),(pointer:coarse){${surface}{font-size:max(${size},var(--lr-form-control-touch-font-size-min,var(--lr-size-16px)))}}`}export{formControlTouchFontFloor};
@@ -1 +1 @@
1
- import{AnchoredValidityController,resolveValidityAnchor}from"./anchored-validity.js";import{attachInternalsSafely}from"./element-internals.js";import{installCustomErrorProperty}from"./direct-form-associated.js";import{installInteractionOnInvalid,installInvalidEventAlias,withStaticValidityCheck}from"./invalid-event-alias.js";class FormControlController extends AnchoredValidityController{constructor(host,options={}){const internals=attachInternalsSafely(host);super(host,internals,()=>resolveValidityAnchor(host)),this.host=host,this.disabledMutationDepth=0,this.formInternals=internals,options.invalid&&installInvalidEventAlias(host,options.invalid),options.interacted&&installInteractionOnInvalid(host,options.interacted),options.customError&&installCustomErrorProperty(host,options.customError);const setAttribute=host.setAttribute,removeAttribute=host.removeAttribute,toggleAttribute=host.toggleAttribute;host.setAttribute=(name,value)=>this.mutateAttribute(name,()=>setAttribute.call(host,name,value)),host.removeAttribute=name=>this.mutateAttribute(name,()=>removeAttribute.call(host,name)),host.toggleAttribute=(...args)=>this.mutateAttribute(args[0],()=>toggleAttribute.apply(host,args))}mutateAttribute(name,mutate){if(name.toLowerCase()!=="disabled")return mutate();this.disabledMutationDepth++;try{return mutate()}finally{this.disabledMutationDepth--}}get reflectingDisabled(){return this.disabledMutationDepth>0}fieldsetDisabled(previous){return this.host.hasAttribute("disabled")||typeof this.host.matches!="function"?previous:this.host.matches(":disabled")}syncConstraints(){const host=this.host;host.hasUpdated&&host.performUpdate()}checkValidity(update){return this.syncConstraints(),update?.(),withStaticValidityCheck(this.host,()=>this.formInternals.checkValidity())}}function reflectFormName(host,name){name?host.setAttribute("name",name):host.removeAttribute("name")}export{FormControlController,reflectFormName};
1
+ import{AnchoredValidityController,resolveValidityAnchor}from"./anchored-validity.js";import{attachInternalsSafely}from"./element-internals.js";import{installCustomErrorProperty}from"./direct-form-associated.js";import{installInteractionOnInvalid,installInvalidEventAlias,withStaticValidityCheck}from"./invalid-event-alias.js";class FormControlController extends AnchoredValidityController{constructor(host,options={}){const internals=attachInternalsSafely(host);super(host,internals,()=>resolveValidityAnchor(host)),this.host=host,this.disabledMutationDepth=0,this.formInternals=internals,options.invalid&&installInvalidEventAlias(host,options.invalid),options.interacted&&installInteractionOnInvalid(host,options.interacted),options.customError&&installCustomErrorProperty(host,options.customError);const setAttribute=host.setAttribute,removeAttribute=host.removeAttribute,toggleAttribute=host.toggleAttribute;host.setAttribute=(name,value)=>this.mutateAttribute(name,()=>setAttribute.call(host,name,value)),host.removeAttribute=name=>this.mutateAttribute(name,()=>removeAttribute.call(host,name)),host.toggleAttribute=(...args)=>this.mutateAttribute(args[0],()=>toggleAttribute.apply(host,args))}mutateAttribute(name,mutate){if(name.toLowerCase()!=="disabled")return mutate();this.disabledMutationDepth++;try{return mutate()}finally{this.disabledMutationDepth--}}get reflectingDisabled(){return this.disabledMutationDepth>0}fieldsetDisabled(previous){return this.host.hasAttribute("disabled")||typeof this.host.matches!="function"?previous:this.host.matches(":disabled")}syncConstraints(){const host=this.host;host.hasUpdated&&host.performUpdate()}checkValidity(update){return this.syncConstraints(),update?.(),withStaticValidityCheck(this.host,()=>this.formInternals.checkValidity())}reportValidity(prepare){return this.syncConstraints(),prepare?.(),this.formInternals.reportValidity()}}function reflectFormName(host,name){name?host.setAttribute("name",name):host.removeAttribute("name")}export{FormControlController,reflectFormName};
@@ -1 +1 @@
1
- import{isAriaTrue}from"./accessibility-visibility.js";import{deepActiveElementIn}from"./active-element.js";import{hasFocusExcludingAttributes,styleExcludesFocusSubtree}from"./focus-candidates.js";import{firstFormControlFocusTarget}from"./form-control-focus-target.js";import{registerFormControlLabelSupport}from"./lyra-element.js";const EXTERNAL_LABEL_ACTIVATION=Symbol("lr-external-label-activation"),EXTERNAL_LABEL_HOST_SEMANTICS=Symbol("lr-external-label-host-semantics"),attachedInternals=new WeakMap;function captureFormInternals(host,internals){attachedInternals.set(host,internals)}const COMPOSITE_ROLE_SELECTOR='[role="radiogroup"],[role="group"],[role="grid"],[role="tree"]',SEMANTIC_TARGET_SELECTOR=['input:not([type="hidden"]):not([tabindex="-1"])','textarea:not([tabindex="-1"])','select:not([tabindex="-1"])','button:not([tabindex="-1"])','[role]:not([tabindex="-1"])'].join(","),ACTIVATING_ROLES=new Set(["checkbox","switch","radio","menuitemcheckbox","menuitemradio"]),MAX_ASSOCIATION_CANDIDATES_PER_MUTATION=2048,MAX_ASSOCIATION_REFRESHES_PER_TASK=256,associationRootObservations=new WeakMap;function isLabelElement(node){return node!==null&&"nodeType"in node&&node.nodeType===1&&"localName"in node&&node.localName==="label"}function isHtmlElement(node){return node.nodeType===1&&"focus"in node&&"style"in node}function isShadowRootNode(node){return node?.nodeType===11&&"host"in node}function isCurrentlyAssociatedLabel(label,host){const root=host.getRootNode();if(label.getRootNode()!==root)return!1;if(!label.hasAttribute("for")){const control="control"in label?label.control:void 0;return control==null?label.contains(host):control===host}const id=label.htmlFor;return id===""?!1:"getElementById"in root&&typeof root.getElementById=="function"?root.getElementById(id)===host:!("querySelectorAll"in root)||typeof root.querySelectorAll!="function"?!1:[...root.querySelectorAll("[id]")].find(candidate=>candidate.id===id)===host}function addSubscriptionById(observation,subscription){if(!subscription.id)return;const subscribers=observation.subscriptionsById.get(subscription.id)??new Set;subscribers.add(subscription),observation.subscriptionsById.set(subscription.id,subscribers)}function removeSubscriptionById(observation,subscription){if(!subscription.id)return;const subscribers=observation.subscriptionsById.get(subscription.id);subscribers?.delete(subscription),subscribers?.size===0&&observation.subscriptionsById.delete(subscription.id)}function updateSubscriptionId(observation,subscription){const id=subscription.host.id;id!==subscription.id&&(removeSubscriptionById(observation,subscription),subscription.id=id,addSubscriptionById(observation,subscription))}function addImplicitSubscription(observation,label,subscription){const subscriptions=observation.implicitSubscriptionsByLabel.get(label)??new Set;subscriptions.add(subscription),observation.implicitSubscriptionsByLabel.set(label,subscriptions)}function removeImplicitSubscription(observation,label,subscription){const subscriptions=observation.implicitSubscriptionsByLabel.get(label);subscriptions?.delete(subscription),subscriptions?.size===0&&observation.implicitSubscriptionsByLabel.delete(label)}function updateImplicitSubscriptions(observation,subscription,labels){const next=labels.filter(label=>!label.hasAttribute("for"));for(const label of subscription.implicitLabels)next.includes(label)||removeImplicitSubscription(observation,label,subscription);for(const label of next)subscription.implicitLabels.includes(label)||addImplicitSubscription(observation,label,subscription);subscription.implicitLabels=next}function hasAssociationRefreshes(observation){return observation.pending.size>0||observation.fallbackIterator!==void 0}function cancelAssociationContinuation(observation){observation.cancelContinuation?.(),observation.cancelContinuation=void 0}function scheduleAssociationContinuation(observation){if(!hasAssociationRefreshes(observation)||observation.cancelContinuation!==void 0)return;const callback=()=>{observation.cancelContinuation=void 0,drainAssociationRefreshes(observation)};if(observation.ownerWindow){const handle=observation.ownerWindow.setTimeout(callback,0);observation.cancelContinuation=()=>observation.ownerWindow?.clearTimeout(handle)}else{const handle=globalThis.setTimeout(callback,0);observation.cancelContinuation=()=>globalThis.clearTimeout(handle)}}function refreshAssociationSubscription(observation,subscription){subscription.active&&(subscription.listener(),observation.fallbackIterator&&(subscription.fallbackGeneration=observation.fallbackGeneration))}function drainTargetedAssociationRefreshes(observation){let remaining=MAX_ASSOCIATION_REFRESHES_PER_TASK;for(const subscription of observation.pending)if(observation.pending.delete(subscription),refreshAssociationSubscription(observation,subscription),--remaining===0)break;scheduleAssociationContinuation(observation)}function drainAssociationRefreshes(observation){let remaining=MAX_ASSOCIATION_REFRESHES_PER_TASK;for(const subscription of observation.pending)if(observation.pending.delete(subscription),refreshAssociationSubscription(observation,subscription),--remaining===0)break;for(;remaining>0&&observation.fallbackIterator;){const next=observation.fallbackIterator.next();if(next.done){observation.fallbackIterator=void 0;break}next.value.active&&next.value.fallbackGeneration!==observation.fallbackGeneration&&(next.value.listener(),next.value.fallbackGeneration=observation.fallbackGeneration),remaining--}scheduleAssociationContinuation(observation)}function notifyAssociationSubscriptions(observation,subscriptions,fallbackAll=!1){if(fallbackAll){const continuationPending=observation.cancelContinuation!==void 0;observation.pending.clear(),observation.fallbackGeneration++,observation.fallbackIterator=observation.subscriptions.values();for(const subscription of subscriptions)subscription.active&&observation.pending.add(subscription);continuationPending?drainTargetedAssociationRefreshes(observation):drainAssociationRefreshes(observation);return}for(const subscription of subscriptions)subscription.active&&observation.pending.add(subscription);drainTargetedAssociationRefreshes(observation)}function isLabelableElement(element){return element.localName==="input"?element.type!=="hidden":element.localName==="button"||element.localName==="meter"||element.localName==="output"||element.localName==="progress"||element.localName==="select"||element.localName==="textarea"?!0:element.localName.includes("-")&&element.constructor.formAssociated===!0}function collectAssociationElement(element,result){const id=element.getAttribute("id");return id&&result.ids.add(id),isLabelElement(element)&&element.hasAttribute("for")&&element.htmlFor&&result.ids.add(element.htmlFor),isLabelableElement(element)}function nextAssociationNode(root,current){if(current.firstChild)return current.firstChild;let cursor=current;for(;cursor&&cursor!==root;){if(cursor.nextSibling)return cursor.nextSibling;cursor=cursor.parentNode}return null}function collectAssociationCandidates(node,result){let containsLabelable=!1,current=node;for(;current;){if(result.work>=MAX_ASSOCIATION_CANDIDATES_PER_MUTATION){result.truncated=!0;break}result.work++,current.nodeType===1&&(containsLabelable=collectAssociationElement(current,result)||containsLabelable),current=nextAssociationNode(node,current)}return containsLabelable}function containingLabel(node){if(isLabelElement(node))return node;const label=(node.nodeType===1?node:node.parentElement)?.closest("label");return isLabelElement(label??null)?label:null}function containingImplicitLabel(node){const label=containingLabel(node);return label&&!label.hasAttribute("for")?label:null}function collectFirstImplicitSubscription(observation,label,candidates,affected){let current=label.firstChild;for(;current;){if(candidates.work>=MAX_ASSOCIATION_CANDIDATES_PER_MUTATION){candidates.truncated=!0;return}if(candidates.work++,current.nodeType===1&&(isLabelableElement(current)||observation.subscriptionsByHost.has(current))){const subscription=observation.subscriptionsByHost.get(current);subscription&&affected.add(subscription);return}current=nextAssociationNode(label,current)}}function affectedAssociationSubscriptions(observation,mutations){const affected=new Set,candidates={ids:new Set,implicitLabels:new Set,truncated:!1,work:0},addIndexedCandidates=()=>{for(const id of candidates.ids)for(const subscription of observation.subscriptionsById.get(id)??[])affected.add(subscription);for(const label of candidates.implicitLabels)for(const subscription of observation.implicitSubscriptionsByLabel.get(label)??[])affected.add(subscription)};for(const mutation of mutations){if(candidates.work>=MAX_ASSOCIATION_CANDIDATES_PER_MUTATION){candidates.truncated=!0;break}candidates.work++;const label=containingLabel(mutation.target);if(label&&(label.hasAttribute("for")?label.htmlFor&&candidates.ids.add(label.htmlFor):candidates.implicitLabels.add(label)),mutation.type==="characterData")continue;if(mutation.type==="attributes"){const target=mutation.target;if(mutation.attributeName==="id"){const oldId=mutation.oldValue??"",id=target.getAttribute("id")??"";oldId&&candidates.ids.add(oldId),id&&candidates.ids.add(id);const hostSubscription=observation.subscriptionsByHost.get(target);hostSubscription&&(affected.add(hostSubscription),updateSubscriptionId(observation,hostSubscription))}else if(mutation.attributeName==="for"&&isLabelElement(target)){const oldFor=mutation.oldValue;oldFor&&candidates.ids.add(oldFor),target.htmlFor&&candidates.ids.add(target.htmlFor);for(const subscription of observation.implicitSubscriptionsByLabel.get(target)??[])affected.add(subscription);target.hasAttribute("for")||candidates.implicitLabels.add(target)}else if(mutation.attributeName==="type"&&target.localName==="input"){const label2=containingImplicitLabel(target);label2&&candidates.implicitLabels.add(label2)}continue}let changedLabelableShape=!1;for(const node of mutation.addedNodes)if(changedLabelableShape=collectAssociationCandidates(node,candidates)||changedLabelableShape,candidates.truncated)break;if(!candidates.truncated){for(const node of mutation.removedNodes)if(changedLabelableShape=collectAssociationCandidates(node,candidates)||changedLabelableShape,candidates.truncated)break}if(changedLabelableShape){const label2=containingImplicitLabel(mutation.target);label2&&candidates.implicitLabels.add(label2)}if(candidates.truncated)break}if(addIndexedCandidates(),candidates.truncated)return{subscriptions:affected,fallbackAll:!0};for(const label of candidates.implicitLabels)if(collectFirstImplicitSubscription(observation,label,candidates,affected),candidates.truncated)return{subscriptions:affected,fallbackAll:!0};return{subscriptions:affected,fallbackAll:!1}}function observeExternalLabelAssociations(host,listener){const root=host.getRootNode();let observation=associationRootObservations.get(root);if(!observation){const Observer=host.ownerDocument.defaultView?.MutationObserver,subscriptions=new Set,subscriptionsById=new Map,implicitSubscriptionsByLabel=new WeakMap,subscriptionsByHost=new WeakMap,pending=new Set,holder={},observer=Observer===void 0?void 0:new Observer(mutations=>{const current=holder.observation;if(!current)return;const affected=affectedAssociationSubscriptions(current,mutations);notifyAssociationSubscriptions(current,affected.subscriptions,affected.fallbackAll)});observer?.observe(root,{attributes:!0,attributeFilter:["for","id","type"],attributeOldValue:!0,childList:!0,characterData:!0,subtree:!0}),observation={subscriptions,subscriptionsById,implicitSubscriptionsByLabel,subscriptionsByHost,pending,observer,ownerWindow:host.ownerDocument.defaultView,fallbackGeneration:0},holder.observation=observation,associationRootObservations.set(root,observation)}const subscription={host,listener,id:host.id,implicitLabels:[],fallbackGeneration:-1,active:!0};return observation.subscriptions.add(subscription),observation.subscriptionsByHost.set(host,subscription),addSubscriptionById(observation,subscription),{update(labels){subscription.active&&(updateSubscriptionId(observation,subscription),updateImplicitSubscriptions(observation,subscription,labels))},disconnect(){if(!subscription.active)return;subscription.active=!1,observation.pending.delete(subscription),observation.subscriptions.delete(subscription),observation.subscriptionsByHost.delete(host);for(const label of subscription.implicitLabels)removeImplicitSubscription(observation,label,subscription);subscription.implicitLabels=[],removeSubscriptionById(observation,subscription);const current=associationRootObservations.get(root);!current||current.subscriptions.size>0||(current.observer?.disconnect(),cancelAssociationContinuation(current),current.pending.clear(),current.fallbackIterator=void 0,associationRootObservations.delete(root))}}}function isComposedDescendant(host,candidate){let current=candidate;for(;current;){if(current===host)return!0;if(current.parentNode){current=current.parentNode;continue}current=isShadowRootNode(current)?current.host:null}return!1}function resolveExternalLabels(host){const native=attachedInternals.get(host)?.labels;if(native)return Array.from(native).filter(isLabelElement).filter(label=>isCurrentlyAssociatedLabel(label,host));const labels=[],ancestor=host.closest("label");ancestor&&isCurrentlyAssociatedLabel(ancestor,host)&&labels.push(ancestor);const root=host.getRootNode();if(host.id&&"querySelectorAll"in root)for(const found of root.querySelectorAll("label[for]"))isLabelElement(found)&&isCurrentlyAssociatedLabel(found,host)&&!labels.includes(found)&&labels.push(found);return labels}const LABEL_TEXT_MAX_DEPTH=256,LABEL_TEXT_MAX_NODES=4096,NON_CONTENT_ELEMENTS=new Set(["script","style","template"]);function labelText(label,exclude){let remaining=LABEL_TEXT_MAX_NODES;const read=(node,depth)=>{if(node===exclude||depth>LABEL_TEXT_MAX_DEPTH||--remaining<0)return"";if(node.nodeType===Node.TEXT_NODE)return node.textContent??"";let children=node.childNodes;if(node.nodeType===Node.ELEMENT_NODE){const element=node;if(NON_CONTENT_ELEMENTS.has(element.localName))return"";if(element!==label){if(hasFocusExcludingAttributes(element,!0)||isAriaTrue(element.getAttribute("aria-hidden"))||styleExcludesFocusSubtree(element.ownerDocument.defaultView?.getComputedStyle(element)))return"";const ariaLabel=element.getAttribute("aria-label")?.trim();if(ariaLabel)return ariaLabel;const alternative=element.localName==="img"||element.localName==="area"?element.getAttribute("alt")?.trim():void 0;if(alternative)return alternative}if(element.shadowRoot)children=element.shadowRoot.childNodes;else if(element.localName==="slot"){const assigned=element.assignedNodes({flatten:!0});assigned.length>0&&(children=assigned)}}else if(node.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)return"";let text="";for(let index=0;index<children.length;index+=1)text+=read(children[index],depth+1);return text};return read(label,0)}function resolveExternalLabelText(labels,host){return labels.map(label=>labelText(label,host).trim()).filter(text=>text!=="").join(" ")}class ExternalLabelController{constructor(host){this.host=host,this.labels=[],this.activating=!1,this.onLabelClick=event=>{if(this.activating||this.barred)return;const source=event.currentTarget;if(!source||!isLabelElement(source)||!isCurrentlyAssociatedLabel(source,this.host)){this.refresh();return}event.composedPath().includes(this.host)||queueMicrotask(()=>{if(event.defaultPrevented||!this.host.isConnected||this.barred)return;if(!isCurrentlyAssociatedLabel(source,this.host)){this.refresh();return}const focusTarget=this.resolveFocusTarget(),activation=this.resolveActivation(focusTarget);this.activating=!0;try{this.host.focus(),isComposedDescendant(this.host,deepActiveElementIn(this.host.ownerDocument))||focusTarget?.focus(),activation==="activate"&&focusTarget?.click()}finally{this.activating=!1}})}}hostConnected(){this.associationRootSubscription?.disconnect(),this.associationRootSubscription=observeExternalLabelAssociations(this.host,()=>this.refresh()),this.refresh()}hostUpdated(){this.refresh()}hostDisconnected(){this.release(),this.associationRootSubscription?.disconnect(),this.associationRootSubscription=void 0;for(const label of this.labels)label.removeEventListener("click",this.onLabelClick);this.labels=[]}refresh(){const next=resolveExternalLabels(this.host);if(next.length!==this.labels.length||next.some((label,index)=>label!==this.labels[index])){for(const label of this.labels)label.removeEventListener("click",this.onLabelClick);this.labels=next;for(const label of this.labels)label.addEventListener("click",this.onLabelClick)}this.associationRootSubscription?.update(next),this.apply()}get barred(){return typeof this.host.matches=="function"&&this.host.matches(":disabled")?!0:!!(this.host.effectiveDisabled??this.host.disabled)}resolveNameTarget(focusTarget){if(this.hostSemanticOwner)return this.host;const root=this.ownRoot;if(!root)return focusTarget;if(focusTarget){for(const composite of root.querySelectorAll(COMPOSITE_ROLE_SELECTOR))if(isHtmlElement(composite)&&isComposedDescendant(composite,focusTarget))return composite}if(focusTarget&&focusTarget.getRootNode()===root)return focusTarget;const owned=focusTarget?this.outermostOwnedAncestor(focusTarget):null;if(owned)return owned;const semantic=root.querySelector(SEMANTIC_TARGET_SELECTOR);return semantic&&isHtmlElement(semantic)?semantic:focusTarget}outermostOwnedAncestor(node){const root=this.ownRoot;let owned=null,current=node;for(;current&&current!==this.host;)isHtmlElement(current)&&(current.getRootNode()===root||current.parentNode===this.host)&&(owned=current),current.parentNode?current=current.parentNode:current=isShadowRootNode(current)?current.host:null;return owned}get ownRoot(){const root=this.host.renderRoot;return isShadowRootNode(root)?root:this.host.shadowRoot}resolveFocusTarget(){return this.hostSemanticOwner?this.host:firstFormControlFocusTarget(this.host)}get hostSemanticOwner(){const candidate=this.host;return typeof candidate[EXTERNAL_LABEL_HOST_SEMANTICS]=="function"?candidate:null}hostHasAuthoredName(owner){return owner[EXTERNAL_LABEL_HOST_SEMANTICS]({type:"has-authored-name"})===!0}resolveActivation(focusTarget){const declared=this.host[EXTERNAL_LABEL_ACTIVATION];if(typeof declared=="function")return declared.call(this.host);if(!focusTarget||focusTarget.getRootNode()!==this.ownRoot)return"focus";const role=focusTarget.getAttribute("role");return role&&ACTIVATING_ROLES.has(role)?"activate":"focus"}apply(){const hostOwner=this.hostSemanticOwner;if(hostOwner&&this.hostHasAuthoredName(hostOwner)||!hostOwner&&this.host.hasAttribute("aria-label")){this.release();return}const name=resolveExternalLabelText(this.labels,this.host);if(name===""){this.release();return}const settled=this.applied;if(settled&&settled.name===name&&settled.target.isConnected&&settled.target.getAttribute("aria-label")===name)return;const target=this.resolveNameTarget(this.resolveFocusTarget());target&&(this.applied&&this.applied.target!==target&&this.release(),this.applied||(this.applied={target,name,had:target.hasAttribute("aria-label"),previous:target.getAttribute("aria-label")}),target===this.host&&hostOwner?hostOwner[EXTERNAL_LABEL_HOST_SEMANTICS]({type:"apply",name}):target.getAttribute("aria-label")!==name&&target.setAttribute("aria-label",name),this.applied.name=name)}release(){const applied=this.applied;if(this.applied=void 0,!applied)return;const{target,name,had,previous}=applied,hostOwner=target===this.host?this.hostSemanticOwner:null;if(hostOwner){hostOwner[EXTERNAL_LABEL_HOST_SEMANTICS]({type:"release",appliedName:name,hadPrevious:had,previous});return}target.getAttribute("aria-label")===name&&(had?target.setAttribute("aria-label",previous??""):target.removeAttribute("aria-label"))}}function installFormControlInternalsCapture(){registerFormControlLabelSupport(captureFormInternals)}let supportInstalled=!1;function installFormControlLabelSupport(){supportInstalled||(supportInstalled=!0,registerFormControlLabelSupport(captureFormInternals,host=>new ExternalLabelController(host)))}export{EXTERNAL_LABEL_HOST_SEMANTICS,ExternalLabelController,captureFormInternals,installFormControlInternalsCapture,installFormControlLabelSupport,isCurrentlyAssociatedLabel,observeExternalLabelAssociations,resolveExternalLabelText,resolveExternalLabels};
1
+ import{isAriaTrue}from"./aria-values.js";import{deepActiveElementIn}from"./active-element.js";import{hasFocusExcludingAttributes,styleExcludesFocusSubtree}from"./focus-candidates.js";import{firstFormControlFocusTarget}from"./form-control-focus-target.js";import{registerFormControlLabelSupport}from"./lyra-element.js";import{isShadowRootNode}from"./dom-guards.js";const EXTERNAL_LABEL_ACTIVATION=Symbol("lr-external-label-activation"),EXTERNAL_LABEL_HOST_SEMANTICS=Symbol("lr-external-label-host-semantics"),attachedInternals=new WeakMap;function captureFormInternals(host,internals){attachedInternals.set(host,internals)}const COMPOSITE_ROLE_SELECTOR='[role="radiogroup"],[role="group"],[role="grid"],[role="tree"]',SEMANTIC_TARGET_SELECTOR=['input:not([type="hidden"]):not([tabindex="-1"])','textarea:not([tabindex="-1"])','select:not([tabindex="-1"])','button:not([tabindex="-1"])','[role]:not([tabindex="-1"])'].join(","),ACTIVATING_ROLES=new Set(["checkbox","switch","radio","menuitemcheckbox","menuitemradio"]),MAX_ASSOCIATION_CANDIDATES_PER_MUTATION=2048,MAX_ASSOCIATION_REFRESHES_PER_TASK=256,associationRootObservations=new WeakMap;function isLabelElement(node){return node!==null&&"nodeType"in node&&node.nodeType===1&&"localName"in node&&node.localName==="label"}function isHtmlElement(node){return node.nodeType===1&&"focus"in node&&"style"in node}function isCurrentlyAssociatedLabel(label,host){const root=host.getRootNode();if(label.getRootNode()!==root)return!1;if(!label.hasAttribute("for")){const control="control"in label?label.control:void 0;return control==null?label.contains(host):control===host}const id=label.htmlFor;return id===""?!1:"getElementById"in root&&typeof root.getElementById=="function"?root.getElementById(id)===host:!("querySelectorAll"in root)||typeof root.querySelectorAll!="function"?!1:[...root.querySelectorAll("[id]")].find(candidate=>candidate.id===id)===host}function addSubscriptionById(observation,subscription){if(!subscription.id)return;const subscribers=observation.subscriptionsById.get(subscription.id)??new Set;subscribers.add(subscription),observation.subscriptionsById.set(subscription.id,subscribers)}function removeSubscriptionById(observation,subscription){if(!subscription.id)return;const subscribers=observation.subscriptionsById.get(subscription.id);subscribers?.delete(subscription),subscribers?.size===0&&observation.subscriptionsById.delete(subscription.id)}function updateSubscriptionId(observation,subscription){const id=subscription.host.id;id!==subscription.id&&(removeSubscriptionById(observation,subscription),subscription.id=id,addSubscriptionById(observation,subscription))}function addImplicitSubscription(observation,label,subscription){const subscriptions=observation.implicitSubscriptionsByLabel.get(label)??new Set;subscriptions.add(subscription),observation.implicitSubscriptionsByLabel.set(label,subscriptions)}function removeImplicitSubscription(observation,label,subscription){const subscriptions=observation.implicitSubscriptionsByLabel.get(label);subscriptions?.delete(subscription),subscriptions?.size===0&&observation.implicitSubscriptionsByLabel.delete(label)}function updateImplicitSubscriptions(observation,subscription,labels){const next=labels.filter(label=>!label.hasAttribute("for"));for(const label of subscription.implicitLabels)next.includes(label)||removeImplicitSubscription(observation,label,subscription);for(const label of next)subscription.implicitLabels.includes(label)||addImplicitSubscription(observation,label,subscription);subscription.implicitLabels=next}function hasAssociationRefreshes(observation){return observation.pending.size>0||observation.fallbackIterator!==void 0}function cancelAssociationContinuation(observation){observation.cancelContinuation?.(),observation.cancelContinuation=void 0}function scheduleAssociationContinuation(observation){if(!hasAssociationRefreshes(observation)||observation.cancelContinuation!==void 0)return;const callback=()=>{observation.cancelContinuation=void 0,drainAssociationRefreshes(observation)};if(observation.ownerWindow){const handle=observation.ownerWindow.setTimeout(callback,0);observation.cancelContinuation=()=>observation.ownerWindow?.clearTimeout(handle)}else{const handle=globalThis.setTimeout(callback,0);observation.cancelContinuation=()=>globalThis.clearTimeout(handle)}}function refreshAssociationSubscription(observation,subscription){subscription.active&&(subscription.listener(),observation.fallbackIterator&&(subscription.fallbackGeneration=observation.fallbackGeneration))}function drainTargetedAssociationRefreshes(observation){let remaining=MAX_ASSOCIATION_REFRESHES_PER_TASK;for(const subscription of observation.pending)if(observation.pending.delete(subscription),refreshAssociationSubscription(observation,subscription),--remaining===0)break;scheduleAssociationContinuation(observation)}function drainAssociationRefreshes(observation){let remaining=MAX_ASSOCIATION_REFRESHES_PER_TASK;for(const subscription of observation.pending)if(observation.pending.delete(subscription),refreshAssociationSubscription(observation,subscription),--remaining===0)break;for(;remaining>0&&observation.fallbackIterator;){const next=observation.fallbackIterator.next();if(next.done){observation.fallbackIterator=void 0;break}next.value.active&&next.value.fallbackGeneration!==observation.fallbackGeneration&&(next.value.listener(),next.value.fallbackGeneration=observation.fallbackGeneration),remaining--}scheduleAssociationContinuation(observation)}function notifyAssociationSubscriptions(observation,subscriptions,fallbackAll=!1){if(fallbackAll){const continuationPending=observation.cancelContinuation!==void 0;observation.pending.clear(),observation.fallbackGeneration++,observation.fallbackIterator=observation.subscriptions.values();for(const subscription of subscriptions)subscription.active&&observation.pending.add(subscription);continuationPending?drainTargetedAssociationRefreshes(observation):drainAssociationRefreshes(observation);return}for(const subscription of subscriptions)subscription.active&&observation.pending.add(subscription);drainTargetedAssociationRefreshes(observation)}function isLabelableElement(element){return element.localName==="input"?element.type!=="hidden":element.localName==="button"||element.localName==="meter"||element.localName==="output"||element.localName==="progress"||element.localName==="select"||element.localName==="textarea"?!0:element.localName.includes("-")&&element.constructor.formAssociated===!0}function collectAssociationElement(element,result){const id=element.getAttribute("id");return id&&result.ids.add(id),isLabelElement(element)&&element.hasAttribute("for")&&element.htmlFor&&result.ids.add(element.htmlFor),isLabelableElement(element)}function nextAssociationNode(root,current){if(current.firstChild)return current.firstChild;let cursor=current;for(;cursor&&cursor!==root;){if(cursor.nextSibling)return cursor.nextSibling;cursor=cursor.parentNode}return null}function collectAssociationCandidates(node,result){let containsLabelable=!1,current=node;for(;current;){if(result.work>=MAX_ASSOCIATION_CANDIDATES_PER_MUTATION){result.truncated=!0;break}result.work++,current.nodeType===1&&(containsLabelable=collectAssociationElement(current,result)||containsLabelable),current=nextAssociationNode(node,current)}return containsLabelable}function containingLabel(node){if(isLabelElement(node))return node;const label=(node.nodeType===1?node:node.parentElement)?.closest("label");return isLabelElement(label??null)?label:null}function containingImplicitLabel(node){const label=containingLabel(node);return label&&!label.hasAttribute("for")?label:null}function collectFirstImplicitSubscription(observation,label,candidates,affected){let current=label.firstChild;for(;current;){if(candidates.work>=MAX_ASSOCIATION_CANDIDATES_PER_MUTATION){candidates.truncated=!0;return}if(candidates.work++,current.nodeType===1&&(isLabelableElement(current)||observation.subscriptionsByHost.has(current))){const subscription=observation.subscriptionsByHost.get(current);subscription&&affected.add(subscription);return}current=nextAssociationNode(label,current)}}function affectedAssociationSubscriptions(observation,mutations){const affected=new Set,candidates={ids:new Set,implicitLabels:new Set,truncated:!1,work:0},addIndexedCandidates=()=>{for(const id of candidates.ids)for(const subscription of observation.subscriptionsById.get(id)??[])affected.add(subscription);for(const label of candidates.implicitLabels)for(const subscription of observation.implicitSubscriptionsByLabel.get(label)??[])affected.add(subscription)};for(const mutation of mutations){if(candidates.work>=MAX_ASSOCIATION_CANDIDATES_PER_MUTATION){candidates.truncated=!0;break}candidates.work++;const label=containingLabel(mutation.target);if(label&&(label.hasAttribute("for")?label.htmlFor&&candidates.ids.add(label.htmlFor):candidates.implicitLabels.add(label)),mutation.type==="characterData")continue;if(mutation.type==="attributes"){const target=mutation.target;if(mutation.attributeName==="id"){const oldId=mutation.oldValue??"",id=target.getAttribute("id")??"";oldId&&candidates.ids.add(oldId),id&&candidates.ids.add(id);const hostSubscription=observation.subscriptionsByHost.get(target);hostSubscription&&(affected.add(hostSubscription),updateSubscriptionId(observation,hostSubscription))}else if(mutation.attributeName==="for"&&isLabelElement(target)){const oldFor=mutation.oldValue;oldFor&&candidates.ids.add(oldFor),target.htmlFor&&candidates.ids.add(target.htmlFor);for(const subscription of observation.implicitSubscriptionsByLabel.get(target)??[])affected.add(subscription);target.hasAttribute("for")||candidates.implicitLabels.add(target)}else if(mutation.attributeName==="type"&&target.localName==="input"){const label2=containingImplicitLabel(target);label2&&candidates.implicitLabels.add(label2)}continue}let changedLabelableShape=!1;for(const node of mutation.addedNodes)if(changedLabelableShape=collectAssociationCandidates(node,candidates)||changedLabelableShape,candidates.truncated)break;if(!candidates.truncated){for(const node of mutation.removedNodes)if(changedLabelableShape=collectAssociationCandidates(node,candidates)||changedLabelableShape,candidates.truncated)break}if(changedLabelableShape){const label2=containingImplicitLabel(mutation.target);label2&&candidates.implicitLabels.add(label2)}if(candidates.truncated)break}if(addIndexedCandidates(),candidates.truncated)return{subscriptions:affected,fallbackAll:!0};for(const label of candidates.implicitLabels)if(collectFirstImplicitSubscription(observation,label,candidates,affected),candidates.truncated)return{subscriptions:affected,fallbackAll:!0};return{subscriptions:affected,fallbackAll:!1}}function observeExternalLabelAssociations(host,listener){const root=host.getRootNode();let observation=associationRootObservations.get(root);if(!observation){const Observer=host.ownerDocument.defaultView?.MutationObserver,subscriptions=new Set,subscriptionsById=new Map,implicitSubscriptionsByLabel=new WeakMap,subscriptionsByHost=new WeakMap,pending=new Set,holder={},observer=Observer===void 0?void 0:new Observer(mutations=>{const current=holder.observation;if(!current)return;const affected=affectedAssociationSubscriptions(current,mutations);notifyAssociationSubscriptions(current,affected.subscriptions,affected.fallbackAll)});observer?.observe(root,{attributes:!0,attributeFilter:["for","id","type"],attributeOldValue:!0,childList:!0,characterData:!0,subtree:!0}),observation={subscriptions,subscriptionsById,implicitSubscriptionsByLabel,subscriptionsByHost,pending,observer,ownerWindow:host.ownerDocument.defaultView,fallbackGeneration:0},holder.observation=observation,associationRootObservations.set(root,observation)}const subscription={host,listener,id:host.id,implicitLabels:[],fallbackGeneration:-1,active:!0};return observation.subscriptions.add(subscription),observation.subscriptionsByHost.set(host,subscription),addSubscriptionById(observation,subscription),{update(labels){subscription.active&&(updateSubscriptionId(observation,subscription),updateImplicitSubscriptions(observation,subscription,labels))},disconnect(){if(!subscription.active)return;subscription.active=!1,observation.pending.delete(subscription),observation.subscriptions.delete(subscription),observation.subscriptionsByHost.delete(host);for(const label of subscription.implicitLabels)removeImplicitSubscription(observation,label,subscription);subscription.implicitLabels=[],removeSubscriptionById(observation,subscription);const current=associationRootObservations.get(root);!current||current.subscriptions.size>0||(current.observer?.disconnect(),cancelAssociationContinuation(current),current.pending.clear(),current.fallbackIterator=void 0,associationRootObservations.delete(root))}}}function isComposedDescendant(host,candidate){let current=candidate;for(;current;){if(current===host)return!0;if(current.parentNode){current=current.parentNode;continue}current=isShadowRootNode(current)?current.host:null}return!1}function resolveExternalLabels(host){const native=attachedInternals.get(host)?.labels;if(native)return Array.from(native).filter(isLabelElement).filter(label=>isCurrentlyAssociatedLabel(label,host));const labels=[],ancestor=host.closest("label");ancestor&&isCurrentlyAssociatedLabel(ancestor,host)&&labels.push(ancestor);const root=host.getRootNode();if(host.id&&"querySelectorAll"in root)for(const found of root.querySelectorAll("label[for]"))isLabelElement(found)&&isCurrentlyAssociatedLabel(found,host)&&!labels.includes(found)&&labels.push(found);return labels}const LABEL_TEXT_MAX_DEPTH=256,LABEL_TEXT_MAX_NODES=4096,NON_CONTENT_ELEMENTS=new Set(["script","style","template"]);function labelText(label,exclude){let remaining=LABEL_TEXT_MAX_NODES;const read=(node,depth)=>{if(node===exclude||depth>LABEL_TEXT_MAX_DEPTH||--remaining<0)return"";if(node.nodeType===Node.TEXT_NODE)return node.textContent??"";let children=node.childNodes;if(node.nodeType===Node.ELEMENT_NODE){const element=node;if(NON_CONTENT_ELEMENTS.has(element.localName))return"";if(element!==label){if(hasFocusExcludingAttributes(element,!0)||isAriaTrue(element.getAttribute("aria-hidden"))||styleExcludesFocusSubtree(element.ownerDocument.defaultView?.getComputedStyle(element)))return"";const ariaLabel=element.getAttribute("aria-label")?.trim();if(ariaLabel)return ariaLabel;const alternative=element.localName==="img"||element.localName==="area"?element.getAttribute("alt")?.trim():void 0;if(alternative)return alternative}if(element.shadowRoot)children=element.shadowRoot.childNodes;else if(element.localName==="slot"){const assigned=element.assignedNodes({flatten:!0});assigned.length>0&&(children=assigned)}}else if(node.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)return"";let text="";for(let index=0;index<children.length;index+=1)text+=read(children[index],depth+1);return text};return read(label,0)}function resolveExternalLabelText(labels,host){return labels.map(label=>labelText(label,host).trim()).filter(text=>text!=="").join(" ")}class ExternalLabelController{constructor(host){this.host=host,this.labels=[],this.activating=!1,this.onLabelClick=event=>{if(this.activating||this.barred)return;const source=event.currentTarget;if(!source||!isLabelElement(source)||!isCurrentlyAssociatedLabel(source,this.host)){this.refresh();return}event.composedPath().includes(this.host)||queueMicrotask(()=>{if(event.defaultPrevented||!this.host.isConnected||this.barred)return;if(!isCurrentlyAssociatedLabel(source,this.host)){this.refresh();return}const focusTarget=this.resolveFocusTarget(),activation=this.resolveActivation(focusTarget);this.activating=!0;try{this.host.focus(),isComposedDescendant(this.host,deepActiveElementIn(this.host.ownerDocument))||focusTarget?.focus(),activation==="activate"&&focusTarget?.click()}finally{this.activating=!1}})}}hostConnected(){this.associationRootSubscription?.disconnect(),this.associationRootSubscription=observeExternalLabelAssociations(this.host,()=>this.refresh()),this.refresh()}hostUpdated(){this.refresh()}hostDisconnected(){this.release(),this.associationRootSubscription?.disconnect(),this.associationRootSubscription=void 0;for(const label of this.labels)label.removeEventListener("click",this.onLabelClick);this.labels=[]}refresh(){const next=resolveExternalLabels(this.host);if(next.length!==this.labels.length||next.some((label,index)=>label!==this.labels[index])){for(const label of this.labels)label.removeEventListener("click",this.onLabelClick);this.labels=next;for(const label of this.labels)label.addEventListener("click",this.onLabelClick)}this.associationRootSubscription?.update(next),this.apply()}get barred(){return typeof this.host.matches=="function"&&this.host.matches(":disabled")?!0:!!(this.host.effectiveDisabled??this.host.disabled)}resolveNameTarget(focusTarget){if(this.hostSemanticOwner)return this.host;const root=this.ownRoot;if(!root)return focusTarget;if(focusTarget){for(const composite of root.querySelectorAll(COMPOSITE_ROLE_SELECTOR))if(isHtmlElement(composite)&&isComposedDescendant(composite,focusTarget))return composite}if(focusTarget&&focusTarget.getRootNode()===root)return focusTarget;const owned=focusTarget?this.outermostOwnedAncestor(focusTarget):null;if(owned)return owned;const semantic=root.querySelector(SEMANTIC_TARGET_SELECTOR);return semantic&&isHtmlElement(semantic)?semantic:focusTarget}outermostOwnedAncestor(node){const root=this.ownRoot;let owned=null,current=node;for(;current&&current!==this.host;)isHtmlElement(current)&&(current.getRootNode()===root||current.parentNode===this.host)&&(owned=current),current.parentNode?current=current.parentNode:current=isShadowRootNode(current)?current.host:null;return owned}get ownRoot(){const root=this.host.renderRoot;return isShadowRootNode(root)?root:this.host.shadowRoot}resolveFocusTarget(){return this.hostSemanticOwner?this.host:firstFormControlFocusTarget(this.host)}get hostSemanticOwner(){const candidate=this.host;return typeof candidate[EXTERNAL_LABEL_HOST_SEMANTICS]=="function"?candidate:null}hostHasAuthoredName(owner){return owner[EXTERNAL_LABEL_HOST_SEMANTICS]({type:"has-authored-name"})===!0}resolveActivation(focusTarget){const declared=this.host[EXTERNAL_LABEL_ACTIVATION];if(typeof declared=="function")return declared.call(this.host);if(!focusTarget||focusTarget.getRootNode()!==this.ownRoot)return"focus";const role=focusTarget.getAttribute("role");return role&&ACTIVATING_ROLES.has(role)?"activate":"focus"}apply(){const hostOwner=this.hostSemanticOwner;if(hostOwner&&this.hostHasAuthoredName(hostOwner)||!hostOwner&&this.host.hasAttribute("aria-label")){this.release();return}const name=resolveExternalLabelText(this.labels,this.host);if(name===""){this.release();return}const settled=this.applied;if(settled&&settled.name===name&&settled.target.isConnected&&settled.target.getAttribute("aria-label")===name)return;const target=this.resolveNameTarget(this.resolveFocusTarget());target&&(this.applied&&this.applied.target!==target&&this.release(),this.applied||(this.applied={target,name,had:target.hasAttribute("aria-label"),previous:target.getAttribute("aria-label")}),target===this.host&&hostOwner?hostOwner[EXTERNAL_LABEL_HOST_SEMANTICS]({type:"apply",name}):target.getAttribute("aria-label")!==name&&target.setAttribute("aria-label",name),this.applied.name=name)}release(){const applied=this.applied;if(this.applied=void 0,!applied)return;const{target,name,had,previous}=applied,hostOwner=target===this.host?this.hostSemanticOwner:null;if(hostOwner){hostOwner[EXTERNAL_LABEL_HOST_SEMANTICS]({type:"release",appliedName:name,hadPrevious:had,previous});return}target.getAttribute("aria-label")===name&&(had?target.setAttribute("aria-label",previous??""):target.removeAttribute("aria-label"))}}function installFormControlInternalsCapture(){registerFormControlLabelSupport(captureFormInternals)}let supportInstalled=!1;function installFormControlLabelSupport(){supportInstalled||(supportInstalled=!0,registerFormControlLabelSupport(captureFormInternals,host=>new ExternalLabelController(host)))}export{EXTERNAL_LABEL_HOST_SEMANTICS,ExternalLabelController,captureFormInternals,installFormControlInternalsCapture,installFormControlLabelSupport,isCurrentlyAssociatedLabel,observeExternalLabelAssociations,resolveExternalLabelText,resolveExternalLabels};
@@ -1,6 +1,2 @@
1
- import{html,nothing}from"lit";function renderFormControlHintError(options){return html`<div id=${`${options.idPrefix}-error`} part="error" ?hidden=${!options.hasError}
2
- >${options.errorText}<slot name="error"></slot></div
3
- ><div id=${`${options.idPrefix}-hint`}
4
- part=${options.helpTextSlot?"hint form-control-help-text":"hint"}
5
- ?hidden=${!options.hasHint}
6
- >${options.hint}<slot name="hint"></slot>${options.helpTextSlot?html`<slot name="help-text"></slot>`:nothing}</div>`}export{renderFormControlHintError};
1
+ import{html,nothing}from"lit";function renderFormControlHintError(options){return html`<div id=${`${options.idPrefix}-error`} part="error" ?hidden=${!options.hasError} >${options.errorText}<slot name="error"></slot></div
2
+ ><div id=${`${options.idPrefix}-hint`} part=${options.helpTextSlot?"hint form-control-help-text":"hint"} ?hidden=${!options.hasHint} >${options.hint}<slot name="hint"></slot>${options.helpTextSlot?html`<slot name="help-text"></slot>`:nothing}</div>`}function formControlSupportingState(o){const hasHint=o.presence.has("hint")||o.helpTextSlot!==!1&&o.presence.has("help-text")||(o.hint??"").length>0||(o.helpText??"").length>0||o.withHint===!0,hasError=o.presence.has("error")||(o.errorText??"").length>0,hintId=`${o.idPrefix}-hint`,errorId=`${o.idPrefix}-error`,ids=[hasError&&errorId,hasHint&&hintId,...o.extraDescribedBy??[]].filter(Boolean);return{hasHint,hasError,hintId,errorId,describedBy:ids.length>0?ids.join(" "):void 0}}export{formControlSupportingState,renderFormControlHintError};
@@ -1 +1 @@
1
- import{css}from"lit";import{visuallyHidden}from"./a11y.js";import{focusRing}from"./interactive-control.styles.js";const formControlRequiredMarker=css`:host([required]) [part~=form-control-label]:after,[part=field][data-required] [part=label]:after{content:var(--lr-form-control-required-content," *");color:var(--lr-form-control-required-color,var(--lr-color-danger));margin-inline-start:var(--lr-form-control-required-offset,0)}`,formControlFocusHalo=css` box-shadow: var(--_lr-form-control-focus-shadow, none); `,formControlAppearance=css`:host{--_lr-form-control-fill:var(--lr-color-surface);--_lr-form-control-border-color:var(--lr-color-border)}:host([appearance=filled-outlined]){--_lr-form-control-fill:var(--lr-color-surface-raised)}:host([appearance=filled]),:host([filled]){--_lr-form-control-fill:var(--lr-color-surface-raised);--_lr-form-control-border-color:transparent}:host([appearance=plain]){--_lr-form-control-fill:transparent;--_lr-form-control-border-color:transparent}:host([appearance=accent]){--_lr-form-control-fill:var(--lr-color-brand-quiet);--_lr-form-control-border-color:var(--lr-color-brand)}`,formControlSupportingText=css`[part~=hint],[part~=error]{font-size:var(--lr-font-size-sm);margin-block-start:var(--lr-space-xs)}[part~=hint]{color:var(--lr-color-text-quiet)}[part~=error]{color:var(--lr-color-danger)}[part~=hint][hidden],[part~=error][hidden]{display:none}`,formControlLabelDisplay=css` :host([label-display='hidden']) [part~='form-control-label'] { ${visuallyHidden} } `,formControlChrome=css` [part~='form-control-label'] { display: block; margin-block-end: var(--lr-space-xs); font-size: var(--lr-font-size-md-sm); font-weight: var(--lr-font-weight-semibold); } [part~='form-control-label'][hidden] { display: none; } ${formControlSupportingText} ${formControlLabelDisplay} `,formControlTextWrap=css` min-inline-size: 0; max-inline-size: 100%; overflow-wrap: anywhere; `,formControlPresetButton=css` [part~='preset-button'] { border: var(--lr-border-width-thin) solid var(--lr-color-border); background: var(--lr-color-surface); color: var(--lr-color-text); font: inherit; cursor: pointer; transition: var(--lr-transition-interactive); } [part~='preset-button']:not([data-active]):hover:not(:disabled) { background: var(--_lr-preset-hover-bg, var(--lr-color-brand-quiet)); border-color: var(--_lr-preset-hover-border-color, var(--lr-color-brand)); } [part~='preset-button']:not([data-active]):active:not(:disabled) { background: var( --_lr-preset-pressed-bg, color-mix(in oklab, var(--_lr-preset-pressed-base, var(--lr-color-brand-quiet)), var(--lr-color-mix-partner) var(--lr-color-mix-active)) ); border-color: var( --_lr-preset-pressed-border-color, color-mix(in oklab, var(--lr-color-brand), var(--lr-color-mix-partner) var(--lr-color-mix-active)) ); } [part~='preset-button'][data-active] { background: var(--_lr-preset-selected-bg, var(--lr-color-brand)); border-color: var(--_lr-preset-selected-border-color, var(--lr-color-brand)); color: var(--_lr-preset-selected-color, var(--lr-color-on-brand)); } [part~='preset-button'][data-active]:hover:not(:disabled) { background-image: linear-gradient( color-mix(in oklab, transparent, var(--lr-color-mix-partner) var(--lr-color-mix-hover)), color-mix(in oklab, transparent, var(--lr-color-mix-partner) var(--lr-color-mix-hover)) ); } [part~='preset-button'][data-active]:active:not(:disabled) { background-color: var( --_lr-preset-selected-pressed-bg, color-mix( in oklab, var(--_lr-preset-selected-bg, var(--lr-color-brand)), var(--lr-color-mix-partner) var(--lr-color-mix-active) ) ); background-image: var(--_lr-preset-selected-pressed-image, none); border-color: var( --_lr-preset-selected-pressed-border-color, color-mix( in oklab, var(--_lr-preset-selected-border-color, var(--lr-color-brand)), var(--lr-color-mix-partner) var(--lr-color-mix-active) ) ); } [part~='preset-button']:focus-visible { ${focusRing} } [part~='preset-button']:disabled { cursor: not-allowed; } `;export{formControlAppearance,formControlChrome,formControlFocusHalo,formControlLabelDisplay,formControlPresetButton,formControlRequiredMarker,formControlSupportingText,formControlTextWrap};
1
+ import{css}from"lit";import{visuallyHidden}from"./a11y.js";const formControlRequiredMarker=/* @__PURE__ */(()=>css`:host([required]) [part~=form-control-label]:after,[part=field][data-required] [part=label]:after{content:var(--lr-form-control-required-content," *");color:var(--lr-form-control-required-color,var(--lr-color-danger));margin-inline-start:var(--lr-form-control-required-offset,0)}`)(),formControlFocusHalo=/* @__PURE__ */(()=>css` box-shadow:var(--_lr-form-control-focus-shadow,none);`)(),formControlFieldTransition=/* @__PURE__ */(()=>css` transition:var(--_lr-form-control-transition,none);`)();function formControlInvalidBorder(surface,componentToken){const shared=css`var(--lr-form-control-invalid-border-color,var(--lr-color-danger))`,color=componentToken?css`var(${componentToken},${shared})`:shared;return css` :host(:state(user-invalid):where(:not([open]))) ${surface}:where(:not(:focus-within)){border-color: ${color}}`}const formControlSupportingColor=/* @__PURE__ */(()=>css`[part~=hint]{color:var(--lr-color-text-quiet)}[part~=error]{color:var(--lr-color-danger)}`)(),formControlSupportingTone=/* @__PURE__ */(()=>css` ${formControlSupportingColor} [part~=hint],[part~=error]{font-size:var(--lr-font-size-sm)}`)(),formControlSupportingText=/* @__PURE__ */(()=>css` [part~=hint],[part~=error]{margin-block-start:var(--lr-space-xs);min-inline-size:0;overflow-wrap:anywhere}${formControlSupportingTone} [part~=hint][hidden],[part~=error][hidden]{display:none}`)(),formControlLabelDisplay=/* @__PURE__ */(()=>css` :host([label-display=hidden]) [part~=form-control-label]{${visuallyHidden}}`)();function formControlLabelTypography({size=css`var(--lr-font-size-md-sm)`,weight=css`var(--lr-font-weight-semibold)`,color=css`inherit`}={}){return css` font-size:var(--lr-form-control-label-font-size,${size});font-weight:var(--lr-form-control-label-font-weight,${weight});color:var(--lr-form-control-label-color,${color});line-height:var(--lr-form-control-label-line-height,inherit);text-align:var(--lr-form-control-label-text-align,inherit);text-transform:var(--lr-form-control-label-text-transform,inherit);`}const formControlTextWrap=/* @__PURE__ */(()=>css` min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere;`)();import{formControlTouchFontFloor}from"./form-control/touch-font-floor.styles.js";export{formControlFieldTransition,formControlFocusHalo,formControlInvalidBorder,formControlLabelDisplay,formControlLabelTypography,formControlRequiredMarker,formControlSupportingColor,formControlSupportingText,formControlSupportingTone,formControlTextWrap,formControlTouchFontFloor};
@@ -0,0 +1 @@
1
+ const VALIDITY_FLAG_KEYS=new Set(["badInput","customError","patternMismatch","rangeOverflow","rangeUnderflow","stepMismatch","tooLong","tooShort","typeMismatch","valueMissing"]);function isValidityFlagKey(value){return typeof value=="string"&&VALIDITY_FLAG_KEYS.has(value)}function isObjectValidator(validator){return typeof validator=="object"&&validator!==null&&"checkValidity"in validator}function readValidators(validators){try{return Array.isArray(validators)?Array.from(validators):[]}catch{return}}function runFormValidators(validators,value,host,fallbackMessage){const generic=()=>typeof fallbackMessage=="function"?fallbackMessage():fallbackMessage,list=readValidators(validators);if(!list)return{flags:{customError:!0},message:generic()};for(const validator of list)try{if(isObjectValidator(validator)){const checked=validator.checkValidity(host);if(checked?.isValid===!0)continue;const flags={};for(const key of Array.isArray(checked?.invalidKeys)?checked.invalidKeys:[])isValidityFlagKey(key)&&(flags[key]=!0);Object.values(flags).some(Boolean)||(flags.customError=!0);let message=typeof checked?.message=="string"?checked.message:"";return!message&&typeof validator.message=="string"&&(message=validator.message),!message&&typeof validator.message=="function"&&(message=String(validator.message(host)??"")),{flags,message:message||generic()}}const result=typeof validator=="function"?validator(value,host):validator?.validate(value,host);if(result===void 0||result===!0)continue;if(typeof result=="string")return{flags:{customError:!0},message:result};if(result===!1)return{flags:{customError:!0},message:generic()};if(result&&typeof result=="object"){const flags={};for(const key of VALIDITY_FLAG_KEYS)Object.prototype.hasOwnProperty.call(result,key)&&result[key]&&(flags[key]=!0);if(Object.values(flags).some(Boolean))return{flags,message:generic()}}}catch{return{flags:{customError:!0},message:generic()}}return{}}function observedValidatorAttributes(validators){const attributes=new Set;for(const validator of readValidators(validators)??[])try{if(!isObjectValidator(validator))continue;const observed=validator.observedAttributes;if(!Array.isArray(observed))continue;for(const name of observed)typeof name=="string"&&name.length>0&&attributes.add(name)}catch{}return[...attributes]}function observeValidatorAttributes(host,validators,onChange){const owner=host.ownerDocument.defaultView,Observer=owner?.MutationObserver;if(!host.isConnected||!owner||typeof Observer!="function")return()=>{};const attributeFilter=observedValidatorAttributes(validators);if(attributeFilter.length===0)return()=>{};let active=!0;const observer=new Observer(()=>{!active||!host.isConnected||host.ownerDocument.defaultView!==owner||onChange()});try{observer.observe(host,{attributes:!0,attributeFilter})}catch{return observer.disconnect(),()=>{}}return()=>{active=!1,observer.disconnect()}}class StructuredFormValidityController{constructor(host,options){this.host=host,this.options=options,this.lastKey=""}get validity(){return this.host.validity}get errors(){const errors={...this.options.fieldErrors()};return this.host.willValidate&&this.options.baseErrorMessage()&&(errors.base=this.host.validationMessage),Object.freeze(errors)}publish(){if(!this.host.isConnected)return;const valid=!this.host.willValidate||this.host.validity.valid,errors=valid?Object.freeze({}):this.errors,key=JSON.stringify({valid,errors});key!==this.lastKey&&(this.lastKey=key,this.options.emit(Object.freeze({valid,errors})))}reportValidity(){return this.options.validityController().reportValidity(()=>this.options.reveal())}}export{StructuredFormValidityController,observeValidatorAttributes,runFormValidators};
@@ -1 +1 @@
1
- import{css}from"lit";const glassIndependentRootStyles=css`:host(:popover-open),:host([data-native-modal-active]),[popover]:popover-open,dialog[data-native-modal-carrier]:modal{--_lr-glass-parent-opacity:initial!important;--_lr-glass-blocker:var(--_lr-surface-root-filter,initial)!important}`;export{glassIndependentRootStyles};
1
+ import{css}from"lit";const glassIndependentRootStyles=/* @__PURE__ */(()=>css`:host(:popover-open),:host([data-native-modal-active]),[popover]:popover-open,dialog[data-native-modal-carrier]:modal{--_lr-glass-parent-opacity:initial!important;--_lr-glass-blocker:var(--_lr-surface-root-filter,initial)!important}`)();export{glassIndependentRootStyles};
@@ -1 +1 @@
1
- import{css}from"lit";const glassScrollLayerStyles=css`.glass-scroll-layer{pointer-events:none;border-radius:inherit;block-size:0;min-block-size:0;inline-size:0;min-inline-size:0;z-index:calc(var(--lr-layer-base) - var(--lr-layer-content));transform:translate(calc(var(--_lr-glass-scroll-offset,0px) - var(--_lr-glass-padding-inline-start,0px)), calc(-1 * var(--_lr-glass-padding-top,0px)));flex:0 0 0;order:-1;align-self:flex-start;display:block;position:sticky;inset-block-start:0}:host(:dir(rtl)) .glass-scroll-layer{transform:translate(calc(var(--_lr-glass-scroll-offset,0px) + var(--_lr-glass-padding-inline-start,0px)), calc(-1 * var(--_lr-glass-padding-top,0px)))}`;export{glassScrollLayerStyles};
1
+ import{css}from"lit";const glassScrollLayerStyles=/* @__PURE__ */(()=>css`.glass-scroll-layer{pointer-events:none;border-radius:inherit;block-size:0;min-block-size:0;inline-size:0;min-inline-size:0;z-index:calc(var(--lr-layer-base) - var(--lr-layer-content));transform:translate(calc(var(--_lr-glass-scroll-offset,0px) - var(--_lr-glass-padding-inline-start,0px)),calc(-1 * var(--_lr-glass-padding-top,0px)));flex:0 0 0;order:-1;align-self:flex-start;display:block;position:sticky;inset-block-start:0}:host(:dir(rtl)) .glass-scroll-layer{transform:translate(calc(var(--_lr-glass-scroll-offset,0px) + var(--_lr-glass-padding-inline-start,0px)),calc(-1 * var(--_lr-glass-padding-top,0px)))}`)();export{glassScrollLayerStyles};
@@ -1 +1 @@
1
- import{css,unsafeCSS}from"lit";import{GLASS_FOCUS_RING_DECLARATIONS}from"./document-tokens.generated.js";const glassFocusRing=unsafeCSS(GLASS_FOCUS_RING_DECLARATIONS);function glassSurface(selector,fill,restingFill=fill,scrolling=!1){const surface=unsafeCSS(selector),selectors=selector.split(",").map(part=>part.trim()),children=unsafeCSS(`:where(${selectors.map(part=>`${part} > *`).join(", ")})`),layer=unsafeCSS(selectors.map(part=>`${part}${scrolling?" > .glass-scroll-layer":""}::before`).join(", ")),captureSurface=unsafeCSS(`:where(${selector})`),scopedSelectors=selectors.map(part=>/^:host\((.*)\)$/.test(part)?part.replace(/^:host\((.*)\)$/,":host($1[data-lr-surface='glass'])"):`${part}[data-lr-surface='glass']`),captureScope=unsafeCSS(`:where(${scopedSelectors.join(", ")})`),captureChildren=unsafeCSS(`:where(${scopedSelectors.map(part=>`${part} > *`).join(", ")})`);return css` :host([data-lr-surface='solid']) { --_lr-surface-enabled: 0; --_lr-surface-root-filter: none; --_lr-surface-content: none; --_lr-surface-isolation: auto; --_lr-surface-child-filter: initial; --_lr-surface-child-opacity: 0; } ${surface} { background: ${restingFill}; --_lr-glass-filter-value: blur(calc(clamp(0px, var(--lr-theme-surface-blur, var(--_lr-surface-default-blur)), var(--_lr-surface-maximum-blur, var(--_lr-surface-default-maximum-blur))) * (1 - var(--_lr-glass-parent-opacity, 0)))) saturate(calc(1 + (clamp(0, var(--lr-theme-surface-saturation, 1.1), 2) - 1) * (1 - var(--_lr-glass-parent-opacity, 0)))); --_lr-glass-current-filter: var(--_lr-preference-glass-filter, var(--_lr-glass-blocker, var(--_lr-glass-filter-value, none))); --_lr-glass-foreground-weight: initial; --_lr-glass-border-weight: initial; --_lr-next-glass-blocker: var(--_lr-surface-child-filter, none); } ${captureSurface} { --_lr-next-glass-opacity: var(--_lr-surface-child-opacity, 1); } ${captureScope} { --_lr-next-glass-opacity: inherit; } ${captureChildren} { --_lr-next-glass-opacity: 1; } ${children} { --_lr-glass-blocker: var(--_lr-next-glass-blocker, initial); --_lr-glass-parent-opacity: var(--_lr-next-glass-opacity, initial); } :host([data-lr-surface='solid']), [data-lr-surface='solid'] { --_lr-glass-parent-opacity: 0; --_lr-next-glass-opacity: 0; --_lr-glass-blocker: none; } :host([data-lr-surface='glass']), [data-lr-surface='glass'] { --_lr-glass-blocker: initial; } @supports ((backdrop-filter: blur(0)) or (-webkit-backdrop-filter: blur(0))) { :host { --_lr-glass-qualified-focus-ring-color: color-mix( in srgb, var(--_lr-glass-original-focus-ring-color, var(--lr-color-text)), var(--lr-color-text) calc(var(--_lr-surface-foreground-weight, 99%) * var(--_lr-surface-enabled, 1) * (1 - var(--_lr-glass-parent-opacity, 0)) * (1 - var(--_lr-preference-glass-opacity, 0))) ); } @media (forced-colors: none) { :host { ${glassFocusRing}; } } ${surface} { isolation: var(--_lr-surface-isolation, isolate); --_lr-glass-effective-opacity: var(--_lr-preference-glass-opacity, max(var(--_lr-glass-parent-opacity, 0), clamp(var(--_lr-surface-min-opacity, 0), var(--lr-theme-surface-opacity, 0.6), 1))); --_lr-glass-border-weight: clamp(0%, calc(var(--_lr-surface-border-weight, 285%) * var(--_lr-surface-enabled, 1) * (1 - var(--_lr-glass-effective-opacity))), var(--_lr-surface-foreground-weight, 99%)); --_lr-glass-foreground-weight: calc(var(--_lr-surface-foreground-weight, 99%) * var(--_lr-surface-enabled, 1) * (1 - var(--_lr-glass-parent-opacity, 0)) * (1 - var(--_lr-preference-glass-opacity, 0))); --_lr-glass-qualified-text-quiet: color-mix(in srgb, var(--_lr-glass-original-text-quiet, var(--lr-color-text)), var(--lr-color-text) var(--_lr-glass-foreground-weight)); --lr-color-text-quiet: var(--_lr-glass-qualified-text-quiet, var(--_lr-glass-original-text-quiet)); --_lr-glass-qualified-border: color-mix(in srgb, var(--_lr-glass-original-border, var(--lr-color-text)), var(--lr-color-text) var(--_lr-glass-border-weight)); --lr-color-border: var(--_lr-glass-qualified-border, var(--_lr-glass-original-border)); --_lr-glass-qualified-border-strong: color-mix(in srgb, var(--_lr-glass-original-border-strong, var(--_lr-glass-original-border, var(--lr-color-text))), var(--lr-color-text) var(--_lr-glass-border-weight)); --lr-color-border-strong: var(--_lr-glass-qualified-border-strong, var(--_lr-glass-original-border-strong)); --_lr-glass-brand-text: color-mix(in srgb, var(--lr-color-brand), var(--lr-color-text) var(--_lr-glass-foreground-weight)); --_lr-glass-danger-text: color-mix(in srgb, var(--lr-color-danger), var(--lr-color-text) var(--_lr-glass-foreground-weight)); } @supports (color: light-dark(Canvas, CanvasText)) { ${surface} { --_lr-glass-dark-fill-weight: clamp(20%, calc(var(--_lr-glass-effective-opacity) * 800% - 460%), 100%); --_lr-glass-fill: light-dark(${fill}, color-mix(in srgb, ${fill} var(--_lr-glass-dark-fill-weight), color-mix(in srgb, var(--lr-color-surface, var(--_lr-glass-dark-anchor)) clamp(0%, var(--lr-theme-surface-glass-dark-share, 10%), 100%), var(--_lr-glass-dark-anchor)))); --_lr-glass-background: color-mix( in srgb, ${restingFill} calc((1 - var(--_lr-surface-enabled, 1) * (1 - var(--_lr-preference-glass-opacity, 0))) * 100%), color-mix( in srgb, var(--_lr-glass-fill) calc(var(--_lr-glass-effective-opacity) * 100%), transparent ) ); background: var(--_lr-glass-background, ${restingFill}); } } ${layer} { content: var(--_lr-surface-content, ''); position: absolute; inset: 0; inline-size: ${scrolling?css`var(--_lr-glass-viewport-width, 100%)`:css`auto`}; block-size: ${scrolling?css`var(--_lr-glass-viewport-height, 100%)`:css`auto`}; z-index: calc(var(--lr-layer-base) - var(--lr-layer-content)); pointer-events: none; border-radius: inherit; -webkit-backdrop-filter: var(--_lr-glass-current-filter); backdrop-filter: var(--_lr-glass-current-filter); box-shadow: inset 0 var(--lr-border-width-thin) 0 var(--lr-theme-surface-highlight, var(--_lr-surface-default-highlight)); } } @media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active) { ${surface} { background: ${restingFill}; --_lr-glass-foreground-weight: initial; --_lr-glass-border-weight: initial; } ${layer} { content: none; -webkit-backdrop-filter: none; backdrop-filter: none; } } @media (forced-colors: active) { ${surface} { background: Canvas; } } `}export{glassSurface};
1
+ import{css,unsafeCSS}from"lit";import{GLASS_FOCUS_RING_DECLARATIONS}from"./document-tokens.generated.js";const glassFocusRing=/* @__PURE__ */(()=>unsafeCSS(GLASS_FOCUS_RING_DECLARATIONS))();function glassSurface(selector,fill,restingFill=fill,scrolling=!1){const surface=unsafeCSS(selector),selectors=selector.split(",").map(part=>part.trim()),children=unsafeCSS(`:where(${selectors.map(part=>`${part} > *`).join(", ")})`),layer=unsafeCSS(selectors.map(part=>`${part}${scrolling?" > .glass-scroll-layer":""}::before`).join(", ")),captureSurface=unsafeCSS(`:where(${selector})`),scopedSelectors=selectors.map(part=>/^:host\((.*)\)$/.test(part)?part.replace(/^:host\((.*)\)$/,":host($1[data-lr-surface='glass'])"):`${part}[data-lr-surface='glass']`),captureScope=unsafeCSS(`:where(${scopedSelectors.join(", ")})`),captureChildren=unsafeCSS(`:where(${scopedSelectors.map(part=>`${part} > *`).join(", ")})`);return css` :host([data-lr-surface=solid]){--_lr-surface-enabled:0;--_lr-surface-root-filter:none;--_lr-surface-content:none;--_lr-surface-isolation:auto;--_lr-surface-child-filter:initial;--_lr-surface-child-opacity:0}${surface}{background: ${restingFill};--_lr-glass-filter-value:blur(calc(clamp(0px, var(--lr-theme-surface-blur, var(--_lr-surface-default-blur)), var(--_lr-surface-maximum-blur, var(--_lr-surface-default-maximum-blur))) * (1 - var(--_lr-glass-parent-opacity, 0)))) saturate(calc(1 + (clamp(0, var(--lr-theme-surface-saturation, 1.1), 2) - 1) * (1 - var(--_lr-glass-parent-opacity, 0))));--_lr-glass-current-filter:var(--_lr-preference-glass-filter, var(--_lr-glass-blocker, var(--_lr-glass-filter-value, none)));--_lr-glass-foreground-weight:initial;--_lr-glass-border-weight:initial;--_lr-next-glass-blocker:var(--_lr-surface-child-filter, none)}${captureSurface}{--_lr-next-glass-opacity:var(--_lr-surface-child-opacity, 1)}${captureScope}{--_lr-next-glass-opacity:inherit}${captureChildren}{--_lr-next-glass-opacity:1}${children}{--_lr-glass-blocker:var(--_lr-next-glass-blocker, initial);--_lr-glass-parent-opacity:var(--_lr-next-glass-opacity, initial)}:host([data-lr-surface=solid]),[data-lr-surface=solid]{--_lr-glass-parent-opacity:0;--_lr-next-glass-opacity:0;--_lr-glass-blocker:none}:host([data-lr-surface=glass]),[data-lr-surface=glass]{--_lr-glass-blocker:initial}@supports ((backdrop-filter:blur(0)) or (-webkit-backdrop-filter:blur(0))){:host{--_lr-glass-qualified-focus-ring-color:color-mix( in srgb, var(--_lr-glass-original-focus-ring-color, var(--lr-color-text)), var(--lr-color-text) calc(var(--_lr-surface-foreground-weight, 99%) * var(--_lr-surface-enabled, 1) * (1 - var(--_lr-glass-parent-opacity, 0)) * (1 - var(--_lr-preference-glass-opacity, 0))) )}@media (forced-colors:none){:host{${glassFocusRing}}}${surface}{isolation:var(--_lr-surface-isolation,isolate);--_lr-glass-effective-opacity:var(--_lr-preference-glass-opacity, max(var(--_lr-glass-parent-opacity, 0), clamp(var(--_lr-surface-min-opacity, 0), var(--lr-theme-surface-opacity, 0.6), 1)));--_lr-glass-border-weight:clamp(0%, calc(var(--_lr-surface-border-weight, 285%) * var(--_lr-surface-enabled, 1) * (1 - var(--_lr-glass-effective-opacity))), var(--_lr-surface-foreground-weight, 99%));--_lr-glass-foreground-weight:calc(var(--_lr-surface-foreground-weight, 99%) * var(--_lr-surface-enabled, 1) * (1 - var(--_lr-glass-parent-opacity, 0)) * (1 - var(--_lr-preference-glass-opacity, 0)));--_lr-glass-qualified-text-quiet:color-mix(in srgb, var(--_lr-glass-original-text-quiet, var(--lr-color-text)), var(--lr-color-text) var(--_lr-glass-foreground-weight));--lr-color-text-quiet:var(--_lr-glass-qualified-text-quiet, var(--_lr-glass-original-text-quiet));--_lr-glass-qualified-border:color-mix(in srgb, var(--_lr-glass-original-border, var(--lr-color-text)), var(--lr-color-text) var(--_lr-glass-border-weight));--lr-color-border:var(--_lr-glass-qualified-border, var(--_lr-glass-original-border));--_lr-glass-qualified-border-strong:color-mix(in srgb, var(--_lr-glass-original-border-strong, var(--_lr-glass-original-border, var(--lr-color-text))), var(--lr-color-text) var(--_lr-glass-border-weight));--lr-color-border-strong:var(--_lr-glass-qualified-border-strong, var(--_lr-glass-original-border-strong));--_lr-glass-brand-text:color-mix(in srgb, var(--lr-color-brand), var(--lr-color-text) var(--_lr-glass-foreground-weight));--_lr-glass-danger-text:color-mix(in srgb, var(--lr-color-danger), var(--lr-color-text) var(--_lr-glass-foreground-weight))}@supports (color:light-dark(Canvas,CanvasText)){${surface}{--_lr-glass-dark-fill-weight:clamp(20%, calc(var(--_lr-glass-effective-opacity) * 800% - 460%), 100%);--_lr-glass-fill:light-dark(${fill}, color-mix(in srgb, ${fill} var(--_lr-glass-dark-fill-weight), color-mix(in srgb, var(--lr-color-surface, var(--_lr-glass-dark-anchor)) clamp(0%, var(--lr-theme-surface-glass-dark-share, 10%), 100%), var(--_lr-glass-dark-anchor))));--_lr-glass-background:color-mix( in srgb, ${restingFill} calc((1 - var(--_lr-surface-enabled, 1) * (1 - var(--_lr-preference-glass-opacity, 0))) * 100%), color-mix( in srgb, var(--_lr-glass-fill) calc(var(--_lr-glass-effective-opacity) * 100%), transparent ) );background:var(--_lr-glass-background,${restingFill})}}${layer}{content:var(--_lr-surface-content,'');position:absolute;inset:0;inline-size: ${scrolling?css`var(--_lr-glass-viewport-width, 100%)`:css`auto`};block-size: ${scrolling?css`var(--_lr-glass-viewport-height, 100%)`:css`auto`};z-index:calc(var(--lr-layer-base) - var(--lr-layer-content));pointer-events:none;border-radius:inherit;-webkit-backdrop-filter:var(--_lr-glass-current-filter);backdrop-filter:var(--_lr-glass-current-filter);box-shadow:inset 0 var(--lr-border-width-thin) 0 var(--lr-theme-surface-highlight,var(--_lr-surface-default-highlight))}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more),(forced-colors:active){${surface}{background: ${restingFill};--_lr-glass-foreground-weight:initial;--_lr-glass-border-weight:initial}${layer}{content:none;-webkit-backdrop-filter:none;backdrop-filter:none}}@media (forced-colors:active){${surface}{background:Canvas}}`}export{glassSurface};
@@ -0,0 +1 @@
1
+ function graphSourceCountText(localize,format,total,scene){if(!scene||scene.coverage==="complete"){const values2={nodes:localize("graphSourceNodeCount",{count:format(total.nodes),pluralCount:total.nodes}),edges:localize("graphSourceEdgeCount",{count:format(total.edges),pluralCount:total.edges})};return localize(scene?"graphSourceCoverageComplete":"graphSourceTotals",values2)}const values={nodes:localize("graphSourceShownNodes",{shown:format(scene.shown.nodes),count:format(total.nodes),pluralCount:total.nodes}),edges:localize("graphSourceShownEdges",{shown:format(scene.shown.edges),count:format(total.edges),pluralCount:total.edges})};return scene.coverage==="aggregate"?localize("graphSourceCoverageAggregate",values):localize("graphSourceCoverageNeighborhood",values)}export{graphSourceCountText};
@@ -1 +1 @@
1
- const MS_PER_DAY=864e5,DEFAULT_LABELS={today:"Today",yesterday:"Yesterday",previousWeek:"Previous 7 Days",older:"Older"};function startOfLocalDay(d){return new Date(d.getFullYear(),d.getMonth(),d.getDate()).getTime()}function calendarDaysAgo(todayStart,date){return Math.round((todayStart-startOfLocalDay(date))/864e5)}function groupByRecency(items,options={}){const getTimestamp=options.getTimestamp??(item=>item),now=options.now??new Date,labels={...DEFAULT_LABELS,...options.labels},todayStart=startOfLocalDay(now),today=[],yesterday=[],previousWeek=[],older=[];for(const item of items){const raw=getTimestamp(item),date=raw instanceof Date?raw:new Date(raw),time=date.getTime();if(Number.isNaN(time)){older.push(item);continue}const dayDiff=calendarDaysAgo(todayStart,date);dayDiff<=0?today.push(item):dayDiff===1?yesterday.push(item):dayDiff<=7?previousWeek.push(item):older.push(item)}const buckets=[];return today.length&&buckets.push({label:labels.today,items:today}),yesterday.length&&buckets.push({label:labels.yesterday,items:yesterday}),previousWeek.length&&buckets.push({label:labels.previousWeek,items:previousWeek}),older.length&&buckets.push({label:labels.older,items:older}),buckets}export{calendarDaysAgo,groupByRecency,startOfLocalDay};
1
+ import{localDate}from"./calendar-date.js";const MS_PER_DAY=1440*60*1e3,DEFAULT_LABELS={today:"Today",yesterday:"Yesterday",previousWeek:"Previous 7 Days",older:"Older"};function startOfLocalDay(d){return localDate(d.getFullYear(),d.getMonth(),d.getDate()).getTime()}function calendarDaysAgo(todayStart,date){return Math.round((todayStart-startOfLocalDay(date))/MS_PER_DAY)}function groupByRecency(items,options={}){const getTimestamp=options.getTimestamp??(item=>item),now=options.now??new Date,labels={...DEFAULT_LABELS,...options.labels},todayStart=startOfLocalDay(now),today=[],yesterday=[],previousWeek=[],older=[];for(const item of items){const raw=getTimestamp(item),date=raw instanceof Date?raw:new Date(raw),time=date.getTime();if(Number.isNaN(time)){older.push(item);continue}const dayDiff=calendarDaysAgo(todayStart,date);dayDiff<=0?today.push(item):dayDiff===1?yesterday.push(item):dayDiff<=7?previousWeek.push(item):older.push(item)}const buckets=[];return today.length&&buckets.push({label:labels.today,items:today}),yesterday.length&&buckets.push({label:labels.yesterday,items:yesterday}),previousWeek.length&&buckets.push({label:labels.previousWeek,items:previousWeek}),older.length&&buckets.push({label:labels.older,items:older}),buckets}export{calendarDaysAgo,groupByRecency,startOfLocalDay};
@@ -0,0 +1 @@
1
+ import{motionScrollBehavior}from"./motion.js";import{TEXT_QUOTE_LIMITS}from"./text-quote.js";const XHTML="http://www.w3.org/1999/xhtml",HEADING=/^h[1-6]$/u;function anchorScrollBehavior(root){return root.ownerDocument.defaultView?motionScrollBehavior(root):"instant"}function scrollToHeadingAnchor(root,headings,id){if(!id)return!1;const limit=TEXT_QUOTE_LIMITS.maxTraversalNodes;let position=-1;for(let index=0;index<Math.min(headings.length,limit);index++)if(headings[index]?.id===id){position=index;break}if(position<0)return!1;const walker=root.ownerDocument.createTreeWalker(root,1);let byId=null,byPosition=null,seen=0;for(let inspected=0;inspected<limit&&!byId;inspected++){const element=walker.nextNode();if(!element)break;element.namespaceURI!==XHTML||!HEADING.test(element.localName)||(element.getAttribute("id")===id&&(byId=element),seen++===position&&(byPosition=element))}const target=byId??byPosition;return target?.scrollIntoView({behavior:anchorScrollBehavior(root),block:"start"}),target!==null}function scrollToResolvedRange(root,range){const start=range.startContainer;((start.nodeType===1?start:start.parentElement)??root).scrollIntoView({behavior:anchorScrollBehavior(root),block:"center"})}export{anchorScrollBehavior,scrollToHeadingAnchor,scrollToResolvedRange};
@@ -2,7 +2,14 @@
2
2
  export type LyraHeadingLevel='1'|'2'|'3'|'4'|'5'|'6'|'none';export type LyraResolvedHeadingLevel=Exclude<LyraHeadingLevel,'none'>;
3
3
  /**
4
4
  * Resolves the public heading vocabulary to ARIA's positive level. `none` is the explicit
5
- * semantic opt-out; untyped or attribute callers that provide another value retain the established
6
- * level-three fallback used by the accordion family.
5
+ * semantic opt-out. Any other value -- a removed attribute (`null`), `undefined` or an unknown
6
+ * string -- resolves the component's own declared default `fallback`, so removing the attribute
7
+ * restores the documented level.
7
8
  */
8
- export declare function resolveHeadingLevel(value:string):LyraResolvedHeadingLevel|undefined;
9
+ export declare function resolveHeadingLevel(value:string|null|undefined,fallback?:LyraHeadingLevel):LyraResolvedHeadingLevel|undefined;
10
+ /**
11
+ * Resolves a card title's level from its `heading-level` token, which wins whenever it is set
12
+ * (`none` included), and otherwise from the host's `aria-level` attribute, validated to 1-6 with
13
+ * the level-three fallback. `undefined` means the title renders without heading semantics.
14
+ */
15
+ export declare function resolveTitleHeadingLevel(headingLevel:string|null|undefined,hostAriaLevel:string|null):LyraResolvedHeadingLevel|undefined;
@@ -1 +1 @@
1
- function resolveHeadingLevel(value){switch(value){case"1":case"2":case"3":case"4":case"5":case"6":return value;case"none":return;default:return"3"}}export{resolveHeadingLevel};
1
+ function resolveHeadingLevel(value,fallback="3"){switch(value){case"1":case"2":case"3":case"4":case"5":case"6":return value;case"none":return;default:return fallback==="none"?void 0:fallback}}function resolveTitleHeadingLevel(headingLevel,hostAriaLevel){return typeof headingLevel=="string"&&headingLevel!==""?resolveHeadingLevel(headingLevel):resolveHeadingLevel(hostAriaLevel||"3")??"3"}export{resolveHeadingLevel,resolveTitleHeadingLevel};