@revolist/ui 4.0.4-rc → 4.0.4

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 (401) hide show
  1. package/MIGRATION.md +36 -0
  2. package/OWNERSHIP.md +36 -36
  3. package/README.md +65 -392
  4. package/_button.scss +6 -2
  5. package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
  6. package/_chunks/calculator-CDWOuAcp.js +4 -0
  7. package/_chunks/{calendar-xpZ0v3xf.js → calendar-BQYQLu8Q.js} +23 -23
  8. package/_chunks/{cell-visuals-E-2oEKHg.js → cell-visuals-r6DOOhGh.js} +7 -7
  9. package/_chunks/chart-frame-GprenwEg.js +145 -0
  10. package/_chunks/{chevron-right-sxHQMSkq.js → check-BwI7iCAm.js} +2 -2
  11. package/_chunks/{chevron-left-D0nc4Z5S.js → chevron-right-CM3ljziP.js} +2 -2
  12. package/_chunks/choice-chips-C5OxD0GV.js +126 -0
  13. package/_chunks/{color-palette-D8vyPfld.js → color-palette-7siNch__.js} +22 -24
  14. package/_chunks/color-picker-Cfc9eqZb.js +143 -0
  15. package/_chunks/{component-C_T2VN5u.js → component-C3k_8uIq.js} +290 -275
  16. package/_chunks/{component-metadata-BMOOmqx5.js → component-metadata-DlVkpW3h.js} +1 -9
  17. package/_chunks/configurator-actions-vRnI54mO.js +155 -0
  18. package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
  19. package/_chunks/control-BRfF5DWQ.js +118 -0
  20. package/_chunks/{controller-hRBm_Lfz.js → controller-BbiQuRt-.js} +5 -5
  21. package/_chunks/controls-B3EgM_DS.js +650 -0
  22. package/_chunks/{date-control-DrVFX13g.js → date-control-87dcA5br.js} +5 -5
  23. package/_chunks/{date-time-qIhp5vaX.js → date-time-CfiFYodx.js} +332 -293
  24. package/_chunks/{delete-button-CW9vjLnk.js → delete-button-jneO24wa.js} +1 -1
  25. package/_chunks/dialog.parts-NqEEVc9P.js +131 -0
  26. package/_chunks/{duration-CL68Em0o.js → duration-BGZ_qJ99.js} +10 -10
  27. package/_chunks/{editor-commit-Bq3wSgvr.js → editor-commit-Dyo-FMgD.js} +1 -1
  28. package/_chunks/editor-popup-NNP9Fh9U.js +82 -0
  29. package/_chunks/field-configurator-DPulsY3l.js +288 -0
  30. package/_chunks/{field-context-D57PnBbH.js → field-context-C4_WrO2z.js} +1 -1
  31. package/_chunks/{framework-mount--RTLIqE-.js → framework-mount-D4I8HpVp.js} +2 -2
  32. package/_chunks/icon-toolbar-BAAdEvr9.js +134 -0
  33. package/_chunks/{icons-Ci5mADVc.js → icons-B4qN13Yj.js} +1 -1
  34. package/_chunks/{iso-B0YHBK7m.js → iso-CJQl2kmq.js} +1 -1
  35. package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
  36. package/_chunks/minus-BOAR3A1C.js +4 -0
  37. package/_chunks/{model-mPO2tG2f.js → model-CFrBgRHm.js} +3 -3
  38. package/_chunks/mount-C8CnIW9k.js +267 -0
  39. package/_chunks/{native.view-ByyZ1CT5.js → native-CJm3eq3-.js} +1 -1
  40. package/_chunks/native-control-um1L1wgZ.js +649 -0
  41. package/_chunks/{number-input-BKwA5FnM.js → number-input-CKiA4d1N.js} +9 -9
  42. package/_chunks/{picker-h1P5RUgp.js → picker-igNshTRC.js} +5 -5
  43. package/_chunks/plus-CbGRkIGl.js +4 -0
  44. package/_chunks/{popup-CT2uD3go.js → popup-DECYM9FI.js} +116 -105
  45. package/_chunks/{rating-choice-DZgmaic0.js → rating-choice-CepVfGUq.js} +2 -2
  46. package/_chunks/{render-m5eMMwFR.js → render-bTk3curw.js} +2 -2
  47. package/_chunks/{reorder-list-CSlqAGHw.js → reorder-list-B4w3aARt.js} +2 -2
  48. package/_chunks/request-trail-B1zVRPEf.js +762 -0
  49. package/_chunks/rich-text-Ci4d6dHn.js +842 -0
  50. package/_chunks/rotate-left-BF6G883o.js +4 -0
  51. package/_chunks/selection-list-tooltips-m00U3L6z.js +42 -0
  52. package/_chunks/title-tooltip-ncldbUwS.js +11 -0
  53. package/_chunks/tooltip-h-Z8yFBY.js +54 -0
  54. package/_chunks/tooltip-owner-BYho-vJl.js +19 -0
  55. package/_chunks/tooltip-session-CBtRMBPr.js +110 -0
  56. package/_chunks/tooltip-text-BN5WdGHn.js +12 -0
  57. package/_chunks/top-layer-popup-CKJ7VJOF.js +59 -0
  58. package/_dialog.scss +57 -22
  59. package/_form.scss +71 -21
  60. package/_legend.scss +25 -7
  61. package/_variables.scss +34 -32
  62. package/_view-switcher.scss +6 -0
  63. package/activity-message.d.ts +1 -1
  64. package/activity-message.js +1 -1
  65. package/ai/_chat.scss +35 -3
  66. package/ai/_style.scss +76 -16
  67. package/ai/chat.d.ts +3 -1
  68. package/ai/components.d.ts +16 -3
  69. package/ai/index.d.ts +1 -0
  70. package/ai/index.js +3 -3
  71. package/ai/mount.d.ts +30 -6
  72. package/ai/request-trail.d.ts +9 -3
  73. package/ai/results/_style.scss +83 -0
  74. package/ai/results/index.d.ts +11 -0
  75. package/ai/results/metrics.d.ts +5 -0
  76. package/ai/results/table.d.ts +5 -0
  77. package/ai/results/text.d.ts +5 -0
  78. package/ai/results/types.d.ts +29 -0
  79. package/ai/transcript.d.ts +2 -0
  80. package/ai/translations.d.ts +1 -1
  81. package/angular/angular.d.ts +1 -1
  82. package/angular/angular.js +13 -7
  83. package/assignee/assignee.scss +28 -6
  84. package/assignee/index.js +6 -6
  85. package/avatar/avatar.style.scss +23 -6
  86. package/avatar/index.d.ts +25 -2
  87. package/avatar/index.js +33 -32
  88. package/badge.d.ts +1 -1
  89. package/badge.js +1 -1
  90. package/badge.view.d.ts +8 -0
  91. package/brush-range/_brush-range.scss +55 -49
  92. package/brush-range/component.d.ts +1 -3
  93. package/brush-range/component.js +28 -28
  94. package/buttons/delete-button.js +1 -1
  95. package/buttons/delete-button.style.scss +6 -2
  96. package/buttons/remove-button.d.ts +1 -1
  97. package/buttons/remove-button.js +2 -2
  98. package/buttons/remove-button.style.scss +1 -1
  99. package/buttons/svg-button.d.ts +1 -1
  100. package/buttons/svg-button.js +17 -17
  101. package/calendar/_calendar.scss +21 -25
  102. package/calendar/calendar.js +1 -1
  103. package/calendar/day.js +2 -2
  104. package/calendar/header.js +2 -3
  105. package/calendar/index.js +3 -3
  106. package/calendar/model.js +1 -1
  107. package/calendar/month-grid.js +2 -2
  108. package/calendar/translations.js +1 -1
  109. package/calendar/year-grid.js +2 -2
  110. package/cell-input.js +1 -1
  111. package/cell-input.scss +3 -7
  112. package/cell-visuals/badge.style.scss +6 -3
  113. package/cell-visuals/bar-chart.style.scss +2 -1
  114. package/cell-visuals/column-type.style.css +12 -0
  115. package/cell-visuals/index.js +1 -1
  116. package/cell-visuals/progress-line-value.renderer.style.scss +4 -2
  117. package/cell-visuals/progress-line.style.scss +1 -4
  118. package/cell-visuals/sparkline.style.scss +2 -1
  119. package/cell-visuals/timeline.style.css +4 -2
  120. package/checkbox/checkbox.scss +6 -24
  121. package/checkbox/index.js +1 -1
  122. package/choice-chips/index.d.ts +3 -1
  123. package/choice-chips/index.js +1 -1
  124. package/color-palette/built-in-palettes.js +1 -1
  125. package/color-palette/chart-palettes.js +1 -1
  126. package/color-palette/color-palette.js +1 -1
  127. package/color-palette/color-palette.style.scss +88 -25
  128. package/color-palette/color-picker.constants.js +1 -1
  129. package/color-palette/color-picker.js +2 -2
  130. package/color-palette/color-picker.style.scss +23 -10
  131. package/color-palette/common-palettes.d.ts +1 -1
  132. package/color-palette/common-palettes.js +2 -2
  133. package/color-palette/gantt-palettes.js +1 -1
  134. package/color-palette/native.d.ts +15 -2
  135. package/color-palette/palette.js +1 -1
  136. package/color-palette/pivot-palettes.js +1 -1
  137. package/color-palette/platform-palettes.js +1 -1
  138. package/color-palette/pro-palettes.js +1 -1
  139. package/color-palette/scheduler-palettes.js +1 -1
  140. package/component-catalog.d.ts +9 -7
  141. package/configurator-actions.d.ts +67 -0
  142. package/configurator-actions.js +1 -0
  143. package/configurator-aggregation-list.d.ts +14 -0
  144. package/configurator-aggregation-list.js +63 -0
  145. package/configurator-drop-zone.d.ts +39 -0
  146. package/configurator-drop-zone.js +66 -0
  147. package/configurator-field-icon.d.ts +10 -0
  148. package/configurator-field-icon.js +1 -0
  149. package/configurator-focus.d.ts +4 -0
  150. package/configurator-focus.js +39 -0
  151. package/configurator-sections.d.ts +42 -0
  152. package/configurator-sections.js +71 -0
  153. package/control-attributes.js +1 -1
  154. package/control-presentation.d.ts +8 -2
  155. package/control-presentation.js +25 -20
  156. package/controls.d.ts +12 -2
  157. package/controls.js +4 -3
  158. package/core/anchored-popover.js +1 -1
  159. package/core/control-id.js +1 -1
  160. package/core/editor-popup-position.d.ts +6 -2
  161. package/core/editor-popup.d.ts +4 -0
  162. package/core/editor-popup.js +1 -1
  163. package/core/motion.js +1 -1
  164. package/core/popover-controller.d.ts +35 -0
  165. package/core/popover-controller.js +102 -0
  166. package/core/popup-ownership.d.ts +2 -0
  167. package/core/selection-list-tooltips.d.ts +2 -0
  168. package/core/title-tooltip.d.ts +2 -0
  169. package/core/tooltip-session.d.ts +29 -0
  170. package/core/tooltip-surface.d.ts +13 -0
  171. package/core/tooltip-text.d.ts +6 -0
  172. package/core/tooltip.d.ts +35 -0
  173. package/core/top-layer-popup.d.ts +4 -0
  174. package/core/top-layer-popup.js +1 -23
  175. package/date-time/attach.d.ts +1 -1
  176. package/date-time/date-control.d.ts +1 -1
  177. package/date-time/field.d.ts +4 -2
  178. package/date-time/index.js +1 -1
  179. package/date-time/style.scss +239 -36
  180. package/date-time/time-selection.d.ts +3 -1
  181. package/date-time/types.d.ts +5 -1
  182. package/dialog/dialog-action-footer.d.ts +17 -2
  183. package/dialog/dialog.dom.d.ts +15 -2
  184. package/dialog/dialog.dom.js +9 -9
  185. package/dialog/dialog.drag.js +1 -1
  186. package/dialog/dialog.parts.d.ts +1 -1
  187. package/dialog/dialog.parts.js +1 -1
  188. package/dialog/dialog.preact.js +1 -1
  189. package/distribution-chart/_distribution-chart.scss +113 -77
  190. package/distribution-chart/area-chart.js +2 -2
  191. package/distribution-chart/bar-chart.js +2 -2
  192. package/distribution-chart/chart-frame.d.ts +1 -1
  193. package/distribution-chart/index.d.ts +1 -1
  194. package/distribution-chart/index.js +1 -1
  195. package/distribution-chart/line-chart.js +2 -2
  196. package/dropdown/content.js +1 -1
  197. package/dropdown/control.js +1 -1
  198. package/dropdown/dropdown.service.js +1 -1
  199. package/dropdown/dropdown.types.d.ts +1 -1
  200. package/dropdown/editor-dropdown.style.scss +19 -9
  201. package/dropdown/index.js +2 -2
  202. package/dropdown/lookup-field.d.ts +5 -0
  203. package/dropdown/lookup-field.js +4 -3
  204. package/dropdown/popup.d.ts +2 -2
  205. package/dropdown/popup.js +1 -1
  206. package/duration/index.js +1 -1
  207. package/editor-actions.js +2 -2
  208. package/editor-layout/index.d.ts +4 -4
  209. package/editor-layout/index.js +40 -35
  210. package/editor-layout/style.scss +82 -18
  211. package/favicon.svg +9 -0
  212. package/field-configurator.d.ts +39 -1
  213. package/field-configurator.js +4 -170
  214. package/field-expansion.d.ts +9 -0
  215. package/field-reorder.hook.js +1 -1
  216. package/field-reorder.js +1 -1
  217. package/filter/filters/slider/_single-slider.scss +57 -38
  218. package/filter/filters/slider/_slider.scss +41 -33
  219. package/filter/filters/slider/component.js +1 -1
  220. package/filter/filters/slider/control.js +3 -1
  221. package/filter/filters/slider/inputs.js +1 -1
  222. package/filter/filters/slider/logic.js +1 -1
  223. package/filter/filters/slider/preact.js +1 -1
  224. package/filter/filters/slider/runtime.js +50 -23
  225. package/filter/filters/slider/single.js +2 -2
  226. package/filter-badge.js +2 -2
  227. package/filter-controls.d.ts +0 -1
  228. package/filter-controls.js +6 -7
  229. package/form-controls/index.d.ts +10 -2
  230. package/form-controls/index.js +7 -7
  231. package/form-controls/presentation.d.ts +1 -1
  232. package/form-controls/presentation.js +13 -13
  233. package/formatting/index.d.ts +1 -1
  234. package/formatting/index.js +26 -25
  235. package/formatting/styles.scss +14 -57
  236. package/framework.js +228 -225
  237. package/history-controls.js +27 -1
  238. package/html-controls.js +1 -1
  239. package/icon-toolbar.d.ts +62 -0
  240. package/icon-toolbar.js +1 -0
  241. package/icons/icon.d.ts +1 -1
  242. package/icons/icon.js +1 -1
  243. package/legend.d.ts +1 -1
  244. package/legend.js +1 -1
  245. package/masked-input/index.js +4 -4
  246. package/native-control.d.ts +1 -2
  247. package/native-control.js +1 -1
  248. package/native-controls.d.ts +54 -2
  249. package/native-styles.css +1 -1
  250. package/native-styles.scss +6 -2
  251. package/native.d.ts +3 -3
  252. package/native.js +48 -45
  253. package/number-input/index.d.ts +1 -1
  254. package/number-input/index.js +1 -1
  255. package/package.json +84 -1
  256. package/pagination.js +12 -12
  257. package/pdf-viewer/controller.js +1 -1
  258. package/pdf-viewer/header.d.ts +1 -1
  259. package/pdf-viewer/index.d.ts +2 -2
  260. package/pdf-viewer/index.js +3 -3
  261. package/pdf-viewer/search-bar.d.ts +1 -1
  262. package/pdf-viewer/status.d.ts +1 -1
  263. package/pdf-viewer/style.scss +203 -42
  264. package/pickers.d.ts +5 -1
  265. package/preact-mount.js +1 -1
  266. package/preact.d.ts +13 -10
  267. package/preact.js +109 -64
  268. package/progress/_bar.scss +9 -3
  269. package/progress/_circular.scss +2 -1
  270. package/progress/bar.js +1 -1
  271. package/progress/circular.js +1 -1
  272. package/progress/range.js +1 -1
  273. package/rating-choice.js +1 -1
  274. package/react-adapter.d.ts +4 -2
  275. package/react-control.d.ts +2 -0
  276. package/react-control.js +3 -3
  277. package/react.d.ts +7 -8
  278. package/react.js +69 -68
  279. package/reorder-list.d.ts +1 -1
  280. package/reorder-list.js +1 -1
  281. package/reorder-list.scss +59 -17
  282. package/resource-picker/resource-picker-avatar.js +1 -1
  283. package/resource-picker/resource-picker-option.js +1 -1
  284. package/resource-picker/resource-picker-popup.js +2 -2
  285. package/resource-picker/resource-picker.js +75 -73
  286. package/resource-picker/resource-picker.scss +62 -34
  287. package/resource-picker/resource-picker.utils.js +1 -1
  288. package/rich-text/engine.d.ts +1 -0
  289. package/rich-text/format-html.d.ts +2 -0
  290. package/rich-text/index.d.ts +4 -0
  291. package/rich-text/index.js +1 -1
  292. package/rich-text/model.d.ts +2 -0
  293. package/rich-text/style.scss +293 -44
  294. package/rich-text/syntax.d.ts +5 -0
  295. package/rich-text/toolbar.d.ts +1 -1
  296. package/rich-text/translations.d.ts +2 -0
  297. package/robots.txt +4 -0
  298. package/search-input/index.js +2 -2
  299. package/search-input/native.d.ts +21 -2
  300. package/segmented-switch/index.js +1 -1
  301. package/select.d.ts +3 -1
  302. package/select.js +1 -1
  303. package/selection-list.d.ts +1 -0
  304. package/selection-list.js +3 -1
  305. package/status-feedback/badge.js +2 -2
  306. package/status-feedback/exit-snapshot.js +5 -5
  307. package/status-feedback/header.js +2 -2
  308. package/status-feedback/icons.js +1 -1
  309. package/status-feedback/index.js +1 -1
  310. package/status-feedback/item.js +2 -2
  311. package/status-feedback/motion.js +1 -1
  312. package/status-feedback/placement.js +1 -1
  313. package/status-feedback/popover.js +5 -5
  314. package/status-feedback/render.js +1 -1
  315. package/status-feedback/status-feedback.scss +124 -35
  316. package/styles/_activity-message.scss +24 -7
  317. package/styles/_alert.scss +78 -17
  318. package/styles/_cell-editor-frame.scss +11 -0
  319. package/styles/_compositions.scss +400 -80
  320. package/styles/_control.scss +30 -8
  321. package/styles/_disclosure.scss +15 -5
  322. package/styles/_editor-counter.scss +16 -6
  323. package/styles/_editor-slider.scss +8 -4
  324. package/styles/_field-configurator.scss +321 -23
  325. package/styles/_fields-grid.scss +49 -0
  326. package/styles/_filter-controls.scss +10 -2
  327. package/styles/_icon-action.scss +48 -15
  328. package/styles/_loading.scss +12 -3
  329. package/styles/_motion.scss +32 -9
  330. package/styles/_palette.scss +0 -24
  331. package/styles/_primitives.scss +369 -110
  332. package/styles/_theme.scss +130 -86
  333. package/styles/_thresholds.scss +28 -25
  334. package/styles/_time-grid.scss +8 -3
  335. package/styles/_tokens.scss +6 -1
  336. package/styles/color-roles.js +1 -1
  337. package/styles/configurator-actions.scss +241 -0
  338. package/styles/pagination.css +213 -0
  339. package/styles/{legacy-rating.css → rating.css} +8 -3
  340. package/styles.css +1 -1
  341. package/styles.scss +3 -5
  342. package/surfaces.d.ts +38 -2
  343. package/surfaces.js +37 -134
  344. package/svelte/UiComponent.svelte +44 -11
  345. package/svelte-control.js +1 -1
  346. package/svelte.d.ts +1 -1
  347. package/svelte.js +5 -5
  348. package/switch/index.js +16 -15
  349. package/time-grid.d.ts +0 -1
  350. package/time-grid.js +39 -38
  351. package/timeline-track/_style.scss +96 -24
  352. package/timeline-track/index.js +3 -3
  353. package/timeline-track/model.js +1 -1
  354. package/ui.css +1 -1
  355. package/view-switcher.d.ts +23 -0
  356. package/vue-badge.js +1 -1
  357. package/vue-control.js +1 -1
  358. package/vue-segmented-switch.js +1 -1
  359. package/vue.d.ts +29 -32
  360. package/vue.js +118 -123
  361. package/_chunks/chart-frame-Cmc7xU1i.js +0 -130
  362. package/_chunks/choice-chips-CHQTUdLs.js +0 -110
  363. package/_chunks/color-picker-CudqPYZo.js +0 -138
  364. package/_chunks/control-AHKXD5Eu.js +0 -93
  365. package/_chunks/control-tooltip-uscKfAnV.js +0 -100
  366. package/_chunks/controls-DsNi8V8I.js +0 -630
  367. package/_chunks/dialog.parts-CKGkC5zP.js +0 -134
  368. package/_chunks/editor-popup-WDdtVDNA.js +0 -81
  369. package/_chunks/history-controls-B3u3INEK.js +0 -27
  370. package/_chunks/mount-DQ1cpppK.js +0 -257
  371. package/_chunks/native-control-C_yok8_-.js +0 -605
  372. package/_chunks/request-trail-DSlFix6i.js +0 -618
  373. package/_chunks/rich-text-CH7gIqOS.js +0 -636
  374. package/_shared/data-query/binding.d.ts +0 -30
  375. package/_shared/data-query/blocks.d.ts +0 -30
  376. package/_shared/data-query/commands.d.ts +0 -47
  377. package/_shared/data-query/contracts.d.ts +0 -106
  378. package/_shared/data-query/cursor-reader.d.ts +0 -25
  379. package/_shared/data-query/direct-binding.d.ts +0 -3
  380. package/_shared/data-query/index.d.ts +0 -23
  381. package/_shared/data-query/infinite-binding.d.ts +0 -18
  382. package/_shared/data-query/keys.d.ts +0 -9
  383. package/_shared/data-query/limiter.d.ts +0 -12
  384. package/_shared/data-query/load-options.d.ts +0 -25
  385. package/_shared/data-query/materialize.d.ts +0 -2
  386. package/_shared/data-query/policy.d.ts +0 -14
  387. package/_shared/data-query/provider-queries.d.ts +0 -22
  388. package/_shared/data-query/reader.d.ts +0 -23
  389. package/_shared/data-query/remote-load.d.ts +0 -7
  390. package/_shared/data-query/source.d.ts +0 -40
  391. package/avatar/index.view.d.ts +0 -25
  392. package/color-palette/native.view.d.ts +0 -15
  393. package/control-presentation.view.d.ts +0 -8
  394. package/dialog/dialog-action-footer.view.d.ts +0 -20
  395. package/dialog/dialog.dom.view.d.ts +0 -15
  396. package/form-controls/index.view.d.ts +0 -10
  397. package/formatting/control-tooltip.d.ts +0 -27
  398. package/native-controls.view.d.ts +0 -54
  399. package/search-input/native.view.d.ts +0 -21
  400. package/styles/legacy-pagination.css +0 -112
  401. package/surfaces.view.d.ts +0 -63
@@ -13,11 +13,33 @@
13
13
  color: var(--rv-ui-text);
14
14
  font: inherit;
15
15
  font-size: 13px;
16
- &__header { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px 16px; border-bottom: 1px solid var(--rv-ui-border); }
17
- &__document-icon { flex: 0 0 auto; color: var(--rv-ui-accent-text); }
18
- &__filename { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
19
- &__summary { margin-inline-start: auto; white-space: nowrap; color: var(--rv-ui-text-muted); font-variant-numeric: tabular-nums; }
20
- &__toolbar.rv-toolbar, &__search {
16
+ &__header {
17
+ display: flex;
18
+ align-items: center;
19
+ gap: 10px;
20
+ min-width: 0;
21
+ padding: 12px 16px;
22
+ border-bottom: 1px solid var(--rv-ui-border);
23
+ }
24
+ &__document-icon {
25
+ flex: 0 0 auto;
26
+ color: var(--rv-ui-accent-text);
27
+ }
28
+ &__filename {
29
+ min-width: 0;
30
+ overflow: hidden;
31
+ text-overflow: ellipsis;
32
+ white-space: nowrap;
33
+ font-weight: 500;
34
+ }
35
+ &__summary {
36
+ margin-inline-start: auto;
37
+ white-space: nowrap;
38
+ color: var(--rv-ui-text-muted);
39
+ font-variant-numeric: tabular-nums;
40
+ }
41
+ &__toolbar.rv-toolbar,
42
+ &__search {
21
43
  --rv-icon-size: 14px;
22
44
  --rv-icon-button-size: 32px;
23
45
  --rv-control-height: 32px;
@@ -33,47 +55,186 @@
33
55
  line-height: 18px;
34
56
  }
35
57
  }
36
- &__toolbar.rv-toolbar { width: 100%; box-sizing: border-box; box-shadow: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--rv-ui-border); border-radius: 0; }
37
- &__toolbar.rv-toolbar .rv-toolbar-group { align-items: center; flex-wrap: nowrap; gap: 4px; padding-block: 0; }
38
- &__toolbar .rv-pagination { font-size: inherit; flex-wrap: nowrap; }
39
- &__zoom-select { position: relative; display: inline-flex; align-items: center; width: 112px; height: 32px; }
40
- &__toolbar &__zoom-select .dropdown-container { width: 100%; min-width: 0; background-image: none; }
41
- &__toolbar .rv-pdf-viewer__page-input { width: 54px; min-width: 0; text-align: center; font-variant-numeric: tabular-nums; }
42
- &__page-count { white-space: nowrap; color: var(--rv-ui-text-muted); font-variant-numeric: tabular-nums; }
43
- &__actions { margin-inline-start: auto; }
44
- &__toolbar .rv-pdf-viewer__more { display: none; }
45
- &__menu { display: grid; gap: 2px; }
46
- &__menu .rv-svg-icon { flex: 0 0 auto; }
47
- &__search { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--rv-ui-border); }
48
- &__search .rv-search-input { flex: 1 1 180px; min-width: 0; }
49
- &__find-controls { display: flex; flex: 0 0 auto; align-items: center; gap: 4px; }
50
- &__search .rv-control { min-width: 0; width: 100%; }
51
- &__matches { color: var(--rv-ui-text-muted); min-width: 64px; margin-inline-end: auto; font-size: 12px; }
52
- &__body { position: relative; flex: 1; min-height: 0; background: var(--rv-ui-canvas); }
53
- &__viewport { position: absolute; inset: 0; overflow: auto; overscroll-behavior: contain; }
54
- &__viewport:focus-visible { outline: 2px solid var(--rv-ui-accent); outline-offset: -2px; }
55
- &__viewport .pdfViewer { padding-block: 16px; }
56
- &__viewport .pdfViewer .page { background: white; }
57
- &__status { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: var(--rv-ui-text-muted); overflow: auto; }
58
- &__status .rv-empty-state { border: 0; background: none; }
59
- &__status .rv-empty-state p { margin: 10px 0 16px; }
60
- &__status .rv-alert { max-width: 100%; text-align: start; overflow-wrap: anywhere; }
61
- &__status strong { color: var(--rv-ui-text); font-size: 16px; font-weight: 500; }
62
- &__error { padding: 8px 12px; color: var(--rv-ui-danger); background: var(--rv-ui-danger-surface); }
58
+ &__toolbar.rv-toolbar {
59
+ width: 100%;
60
+ box-sizing: border-box;
61
+ box-shadow: none;
62
+ display: flex;
63
+ flex-wrap: wrap;
64
+ gap: 4px 8px;
65
+ padding: 8px 12px;
66
+ border: 0;
67
+ border-bottom: 1px solid var(--rv-ui-border);
68
+ border-radius: 0;
69
+ }
70
+ &__toolbar.rv-toolbar .rv-toolbar-group {
71
+ align-items: center;
72
+ flex-wrap: nowrap;
73
+ gap: 4px;
74
+ padding-block: 0;
75
+ }
76
+ &__toolbar .rv-pagination {
77
+ font-size: inherit;
78
+ flex-wrap: nowrap;
79
+ }
80
+ &__zoom-select {
81
+ position: relative;
82
+ display: inline-flex;
83
+ align-items: center;
84
+ width: 112px;
85
+ height: 32px;
86
+ }
87
+ &__toolbar &__zoom-select .dropdown-container {
88
+ width: 100%;
89
+ min-width: 0;
90
+ background-image: none;
91
+ }
92
+ &__toolbar .rv-pdf-viewer__page-input {
93
+ width: 54px;
94
+ min-width: 0;
95
+ text-align: center;
96
+ font-variant-numeric: tabular-nums;
97
+ }
98
+ &__page-count {
99
+ white-space: nowrap;
100
+ color: var(--rv-ui-text-muted);
101
+ font-variant-numeric: tabular-nums;
102
+ }
103
+ &__actions {
104
+ margin-inline-start: auto;
105
+ }
106
+ &__toolbar .rv-pdf-viewer__more {
107
+ display: none;
108
+ }
109
+ &__menu {
110
+ display: grid;
111
+ gap: 2px;
112
+ }
113
+ &__menu .rv-svg-icon {
114
+ flex: 0 0 auto;
115
+ }
116
+ &__search {
117
+ display: flex;
118
+ flex-wrap: wrap;
119
+ align-items: center;
120
+ gap: 6px;
121
+ padding: 8px 12px;
122
+ border-bottom: 1px solid var(--rv-ui-border);
123
+ }
124
+ &__search .rv-search-input {
125
+ flex: 1 1 180px;
126
+ min-width: 0;
127
+ }
128
+ &__find-controls {
129
+ display: flex;
130
+ flex: 0 0 auto;
131
+ align-items: center;
132
+ gap: 4px;
133
+ }
134
+ &__search .rv-control {
135
+ min-width: 0;
136
+ width: 100%;
137
+ }
138
+ &__matches {
139
+ color: var(--rv-ui-text-muted);
140
+ min-width: 64px;
141
+ margin-inline-end: auto;
142
+ font-size: 12px;
143
+ }
144
+ &__body {
145
+ position: relative;
146
+ flex: 1;
147
+ min-height: 0;
148
+ background: var(--rv-ui-canvas);
149
+ }
150
+ &__viewport {
151
+ position: absolute;
152
+ inset: 0;
153
+ overflow: auto;
154
+ overscroll-behavior: contain;
155
+ }
156
+ &__viewport:focus-visible {
157
+ outline: 2px solid var(--rv-ui-accent);
158
+ outline-offset: -2px;
159
+ }
160
+ &__viewport .pdfViewer {
161
+ padding-block: 16px;
162
+ }
163
+ &__viewport .pdfViewer .page {
164
+ background: white;
165
+ }
166
+ &__status {
167
+ position: absolute;
168
+ inset: 0;
169
+ display: flex;
170
+ flex-direction: column;
171
+ align-items: center;
172
+ justify-content: center;
173
+ gap: 12px;
174
+ padding: 24px;
175
+ text-align: center;
176
+ color: var(--rv-ui-text-muted);
177
+ overflow: auto;
178
+ }
179
+ &__status .rv-empty-state {
180
+ border: 0;
181
+ background: none;
182
+ }
183
+ &__status .rv-empty-state p {
184
+ margin: 10px 0 16px;
185
+ }
186
+ &__status .rv-alert {
187
+ max-width: 100%;
188
+ text-align: start;
189
+ overflow-wrap: anywhere;
190
+ }
191
+ &__status strong {
192
+ color: var(--rv-ui-text);
193
+ font-size: 16px;
194
+ font-weight: 500;
195
+ }
196
+ &__error {
197
+ padding: 8px 12px;
198
+ color: var(--rv-ui-danger);
199
+ background: var(--rv-ui-danger-surface);
200
+ }
63
201
  @container (max-width: 560px) {
64
- &__toolbar .rv-pdf-viewer__desktop-actions { display: none; }
65
- &__toolbar .rv-pdf-viewer__more { display: flex; margin-inline-start: auto; }
66
- &__search .rv-search-input { flex-basis: 100%; }
67
- &__find-controls { width: 100%; }
68
- &__status .rv-alert--with-actions { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
69
- &__status .rv-alert__actions { flex-wrap: wrap; }
202
+ &__toolbar .rv-pdf-viewer__desktop-actions {
203
+ display: none;
204
+ }
205
+ &__toolbar .rv-pdf-viewer__more {
206
+ display: flex;
207
+ margin-inline-start: auto;
208
+ }
209
+ &__search .rv-search-input {
210
+ flex-basis: 100%;
211
+ }
212
+ &__find-controls {
213
+ width: 100%;
214
+ }
215
+ &__status .rv-alert--with-actions {
216
+ grid-template-columns: minmax(0, 1fr);
217
+ row-gap: 12px;
218
+ }
219
+ &__status .rv-alert__actions {
220
+ flex-wrap: wrap;
221
+ }
70
222
  }
71
223
  @container (max-width: 360px) {
72
- &__open-label { display: none; }
224
+ &__open-label {
225
+ display: none;
226
+ }
73
227
  }
74
228
  @container (max-width: 480px) {
75
- &__toolbar.rv-toolbar { padding: 6px; gap: 4px; }
76
- &__header { padding: 10px; }
77
- &__summary { font-size: 11px; }
229
+ &__toolbar.rv-toolbar {
230
+ padding: 6px;
231
+ gap: 4px;
232
+ }
233
+ &__header {
234
+ padding: 10px;
235
+ }
236
+ &__summary {
237
+ font-size: 11px;
238
+ }
78
239
  }
79
240
  }
package/pickers.d.ts CHANGED
@@ -14,12 +14,16 @@ export interface PopoverProps {
14
14
  /** Optional mount scope for inherited theme tokens and text direction. */
15
15
  appendTo?: HTMLElement;
16
16
  onClose: () => void;
17
+ /** Close on pointer presses outside the anchor and content. Defaults to true. */
18
+ closeOnOutside?: boolean;
19
+ /** Close on Escape. Defaults to true. */
20
+ closeOnEscape?: boolean;
17
21
  children?: ComponentChildren;
18
22
  label?: string;
19
23
  className?: string;
20
24
  role?: 'dialog' | 'menu';
21
25
  }
22
- export declare function Popover({ open, anchor, appendTo, onClose, children, label, className, role, }: PopoverProps): h.JSX.Element;
26
+ export declare function Popover({ open, anchor, appendTo, closeOnOutside, closeOnEscape, onClose, children, label, className, role, }: PopoverProps): h.JSX.Element;
23
27
  export declare function Tooltip({ text, children, }: {
24
28
  text: string;
25
29
  children: ComponentChildren;
package/preact-mount.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as e, r as t } from "./_chunks/preact.module-BBM36DnO.js";
2
- //#region src/preact-mount.tsx
2
+ //#region package/preact-mount.ts
3
3
  var n = /* @__PURE__ */ new WeakMap();
4
4
  function r(r, i, a) {
5
5
  let s = r.createDocumentFragment();
package/preact.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './icons/icon';
2
2
  export * from './ai/components';
3
+ export * from './ai/results';
3
4
  export * from './ai/request-trail';
4
5
  export * from './buttons/svg-button';
5
6
  export * from './buttons/delete-button';
@@ -21,14 +22,8 @@ export * from './dialog/dialog.preact';
21
22
  export * from './filter/filters/slider/preact';
22
23
  export * from './filter/filters/slider/single';
23
24
  export * from './controls';
24
- export { SvgIcon as Icon } from './icons/icon';
25
- export { FilterChip as RemovableChip } from './form-controls/presentation';
26
- export { SingleValueSlider as Slider } from './filter/filters/slider/single';
27
- export { PreactRangeSlider as RangeSlider } from './filter/filters/slider/preact';
28
- export { SharedResourcePicker as ResourcePicker } from './resource-picker';
29
25
  export * from './status-feedback';
30
26
  export * from './pickers';
31
- export { StatusFeedbackPanel as FeedbackPanel } from './status-feedback';
32
27
  export * from './control-presentation';
33
28
  export { Input } from './native-control';
34
29
  export * from './distribution-chart';
@@ -36,6 +31,11 @@ export * from './brush-range/component';
36
31
  export * from './filter-controls';
37
32
  export * from './time-grid';
38
33
  export * from './field-configurator';
34
+ export * from './configurator-actions';
35
+ export * from './configurator-aggregation-list';
36
+ export * from './configurator-drop-zone';
37
+ export * from './configurator-field-icon';
38
+ export * from './configurator-focus';
39
39
  export * from './cell-visuals';
40
40
  export * from './dialog/dialog.parts';
41
41
  export * from './formatting';
@@ -44,12 +44,15 @@ export * from './rating-choice';
44
44
  export * from './reorder-list';
45
45
  export * from './timeline-track';
46
46
  export * from './activity-message';
47
- export { isUiMotionEnabled, getUiMotionDuration, inheritUiMotion, type UiMotionTiming } from './core/motion';
47
+ export { isUiMotionEnabled, getUiMotionDuration, inheritUiMotion, type UiMotionTiming, } from './core/motion';
48
48
  export { badgeClassName, type BadgeOptions } from './badge';
49
49
  export { AiTranslationProvider } from './ai/translation-context';
50
50
  export * from './ai/translations';
51
- export { PdfViewer, type PdfViewerProps, type PdfViewerText, defaultPdfViewerText } from './pdf-viewer/component';
52
- export { PdfViewerToolbar, type PdfViewerToolbarProps } from './pdf-viewer/toolbar';
53
- export type { PdfViewerButton, PdfViewerButtonOptions, PdfViewerToolbarOptions, PdfViewerToolbarConfig } from './pdf-viewer/toolbar-options';
51
+ export { PdfViewer, type PdfViewerProps, type PdfViewerText, defaultPdfViewerText, } from './pdf-viewer/component';
52
+ export { PdfViewerToolbar, type PdfViewerToolbarProps, } from './pdf-viewer/toolbar';
53
+ export type { PdfViewerButton, PdfViewerButtonOptions, PdfViewerToolbarOptions, PdfViewerToolbarConfig, } from './pdf-viewer/toolbar-options';
54
54
  export * from './history-controls';
55
55
  export * from './ai/chat';
56
+ export * from './icon-toolbar';
57
+ export * from './legend';
58
+ export * from './view-switcher';
package/preact.js CHANGED
@@ -1,64 +1,109 @@
1
- import { badgeClassName as ee } from "./badge.js";
2
- import { n as te, t as ne } from "./_chunks/rating-choice-DZgmaic0.js";
3
- import { SvgIcon as e } from "./icons/icon.js";
4
- import { d as re, l as ie, n as ae, p as oe, u as se } from "./_chunks/native-control-C_yok8_-.js";
5
- import { getUiMotionDuration as ce, inheritUiMotion as le, isUiMotionEnabled as ue } from "./core/motion.js";
6
- import { t as de } from "./_chunks/popup-CT2uD3go.js";
7
- import { t as fe } from "./_chunks/delete-button-CW9vjLnk.js";
8
- import { RemoveButton as t } from "./buttons/remove-button.js";
9
- import { controlAttributes as n, controlClassName as r } from "./control-attributes.js";
10
- import { createControl as i, decorateIconAction as a, nativeControlTag as o, registerControl as s, renderControl as c } from "./control-presentation.js";
11
- import { t as l } from "./_chunks/control-AHKXD5Eu.js";
12
- import { A as u, C as d, D as f, E as p, F as m, I as h, L as g, M as _, N as v, O as y, P as b, R as x, S, T as C, _ as w, a as T, b as E, c as D, d as O, f as k, g as A, h as j, i as M, j as N, k as P, l as F, m as I, n as L, o as R, p as z, r as B, s as V, t as pe, u as me, v as he, w as ge, x as _e, y as ve } from "./_chunks/controls-DsNi8V8I.js";
13
- import { n as ye, t as be } from "./_chunks/control-tooltip-uscKfAnV.js";
14
- import { SvgButton as xe } from "./buttons/svg-button.js";
15
- import { SegmentedSwitch as Se, renderSegmentedSwitch as Ce } from "./segmented-switch/index.js";
16
- import { EditorList as H, EditorListGroup as U, EditorListItem as W, EditorListItemContent as G, EditorPane as K, EditorSplitLayout as q } from "./editor-layout/index.js";
17
- import { a as we, c as Te, i as Ee, l as De, n as Oe, o as ke, r as Ae, s as je, t as Me } from "./_chunks/dialog.parts-CKGkC5zP.js";
18
- import { _ as Ne, a as Pe, b as Fe, c as Ie, d as Le, f as Re, g as ze, h as Be, i as Ve, l as He, m as Ue, n as We, o as Ge, p as Ke, r as qe, s as Je, t as Ye, u as Xe, x as Ze, y as Qe } from "./_chunks/request-trail-DSlFix6i.js";
19
- import { t as $e } from "./_chunks/history-controls-B3u3INEK.js";
20
- import { renderStatusBadge as et } from "./status-feedback/badge.js";
21
- import { n as J, r as tt, t as nt } from "./_chunks/render-m5eMMwFR.js";
22
- import { StatusFeedbackPopoverController as rt } from "./status-feedback/popover.js";
23
- import { createFormField as it, createTextControl as at } from "./form-controls/index.js";
24
- import { a as ot, c as st, d as ct, f as lt, h as ut, i as dt, l as ft, m as pt, n as mt, o as ht, p as gt, r as _t, s as vt, t as yt, u as bt } from "./_chunks/cell-visuals-E-2oEKHg.js";
25
- import { n as Y, t as xt } from "./_chunks/color-palette-D8vyPfld.js";
26
- import { DEFAULT_COLOR_PALETTE_OPTIONS as St } from "./color-palette/palette.js";
27
- import { t as Ct } from "./_chunks/color-picker-CudqPYZo.js";
28
- import { n as wt, r as Tt, t as Et } from "./_chunks/choice-chips-CHQTUdLs.js";
29
- import { FilterBadge as Dt, FilterBadgeInfoButton as Ot } from "./filter-badge.js";
30
- import { ActivityMessage as kt } from "./activity-message.js";
31
- import { Checkbox as At, SHARED_CHECKBOX_CLASS as jt, renderCheckbox as Mt } from "./checkbox/index.js";
32
- import { Switch as Nt } from "./switch/index.js";
33
- import { SearchInput as Pt } from "./search-input/index.js";
34
- import { DisclosureSummary as Ft, FilterChip as X, FormField as It, renderFormFieldContent as Lt } from "./form-controls/presentation.js";
35
- import { DEFAULT_CALENDAR_TRANSLATIONS as Rt } from "./calendar/translations.js";
36
- import { a as zt, i as Bt, n as Vt, o as Ht, r as Ut, t as Wt } from "./_chunks/model-mPO2tG2f.js";
37
- import { CalendarHeader as Gt, CalendarWeekdays as Kt } from "./calendar/header.js";
38
- import { t as qt } from "./_chunks/calendar-xpZ0v3xf.js";
39
- import { CalendarDay as Jt } from "./calendar/day.js";
40
- import { CalendarMonthGrid as Yt } from "./calendar/month-grid.js";
41
- import { CalendarYearGrid as Xt } from "./calendar/year-grid.js";
42
- import { t as Zt } from "./_chunks/picker-h1P5RUgp.js";
43
- import { ResourcePickerAvatar as Qt, getResourcePickerColor as $t, getResourcePickerForegroundColor as en, getResourcePickerInitials as tn } from "./resource-picker/resource-picker-avatar.js";
44
- import { SharedResourcePicker as Z } from "./resource-picker/resource-picker.js";
45
- import { useDialogDrag as nn } from "./dialog/dialog.preact.js";
46
- import { PreactRangeSlider as Q } from "./filter/filters/slider/preact.js";
47
- import { SingleValueSlider as $, SliderField as rn } from "./filter/filters/slider/single.js";
48
- import { a as an, c as on, d as sn, f as cn, i as ln, l as un, m as dn, o as fn, p as pn, r as mn, s as hn, t as gn, u as _n } from "./_chunks/component-C_T2VN5u.js";
49
- import { BarChart as vn } from "./distribution-chart/bar-chart.js";
50
- import { LineChart as yn } from "./distribution-chart/line-chart.js";
51
- import { AreaChart as bn } from "./distribution-chart/area-chart.js";
52
- import { DistributionChart as xn } from "./distribution-chart/index.js";
53
- import { BrushRange as Sn } from "./brush-range/component.js";
54
- import { Legend as Cn } from "./legend.js";
55
- import { HighlightedTextInput as wn, InlineFieldGroup as Tn, OptionButton as En } from "./filter-controls.js";
56
- import { TimeGrid as Dn, timeGridCellKey as On, useTimeGridInteraction as kn } from "./time-grid.js";
57
- import { fieldDropIndex as An, reorderFields as jn } from "./field-reorder.js";
58
- import { useFieldDropTarget as Mn, useFieldReorder as Nn } from "./field-reorder.hook.js";
59
- import { CollapsibleSection as Pn, FieldActions as Fn, FieldContent as In, FieldDropIndicator as Ln, FieldGroup as Rn, FieldGroupHeading as zn, FieldIcon as Bn, FieldItem as Vn, FieldLibrary as Hn, FieldLibraryList as Un, FieldList as Wn, FieldRemoveButton as Gn, FieldRemoveIcon as Kn, FieldRow as qn, FieldStatusBadge as Jn, FieldSummary as Yn, SelectedField as Xn } from "./field-configurator.js";
60
- import { ComparisonPreview as Zn, IconChoiceGroup as Qn, IconToggleButton as $n, InspectorSection as er, TypographyControls as tr } from "./formatting/index.js";
61
- import { n as nr, t as rr } from "./_chunks/reorder-list-CSlqAGHw.js";
62
- import { eventOutsideRange as ir, moveTimelineEvent as ar, niceTimelineStep as or, resizeTimelineEvent as sr, timelineEventBackground as cr, timelineGeometry as lr } from "./timeline-track/model.js";
63
- import { TimelineTrack as ur } from "./timeline-track/index.js";
64
- export { Fe as AI_UI_MESSAGES, kt as ActivityMessage, Re as AiActionStatus, Ke as AiAssistant, Ue as AiChangePreview, We as AiChat, qe as AiChatComposer, Ve as AiChatContent, Pe as AiChatEmptyState, Ge as AiMessage, Je as AiMessageActions, Ie as AiMessageContent, Be as AiPromptInput, He as AiReasoning, Ye as AiRequestTrail, ze as AiResult, Ne as AiSuggestions, Xe as AiTask, Le as AiTaskItem, Qe as AiTranslationProvider, x as Alert, bn as AreaChart, an as Avatar, pe as Badge, vn as BarChart, Sn as BrushRange, L as Button, B as ButtonGroup, qt as Calendar, Jt as CalendarDay, Gt as CalendarHeader, Yt as CalendarMonthGrid, Zt as CalendarPicker, Kt as CalendarWeekdays, Xt as CalendarYearGrid, At as Checkbox, M as Chip, Et as ChoiceChip, wt as ChoiceChipInfoButton, Tt as ChoiceChips, T as CircularProgress, Pn as CollapsibleSection, xt as ColorPalette, Ct as ColorPicker, fn as Combobox, Zn as ComparisonPreview, hn as ConfirmDialog, be as ControlTooltip, R as CountBadge, Rt as DEFAULT_CALENDAR_TRANSLATIONS, St as DEFAULT_COLOR_PALETTE_OPTIONS, V as DateInput, on as DatePicker, un as DateRangePicker, D as DateTimeInput, fe as DeleteButton, _n as Dialog, Me as DialogActionFooter, Oe as DialogActions, Ae as DialogBody, Ee as DialogCloseButton, we as DialogFooter, ke as DialogForm, je as DialogHeader, Te as DialogTitleInput, F as Disclosure, Ft as DisclosureSummary, xn as DistributionChart, ie as Dropdown, de as DropdownPopup, oe as DropdownPopupContent, De as EditableDialogHeader, H as EditorList, H as Listbox, U as EditorListGroup, U as ListboxGroup, W as EditorListItem, W as ListboxOption, G as EditorListItemContent, G as ListboxOptionContent, K as EditorPane, K as Pane, q as EditorSplitLayout, q as SplitLayout, me as EmptyState, J as FeedbackPanel, J as StatusFeedbackPanel, Fn as FieldActions, In as FieldContent, Ln as FieldDropIndicator, O as FieldError, Rn as FieldGroup, zn as FieldGroupHeading, k as FieldHint, Bn as FieldIcon, Vn as FieldItem, Hn as FieldLibrary, Un as FieldLibraryList, Wn as FieldList, Gn as FieldRemoveButton, Kn as FieldRemoveIcon, qn as FieldRow, Jn as FieldStatusBadge, Yn as FieldSummary, Dt as FilterBadge, Ot as FilterBadgeInfoButton, X as FilterChip, X as RemovableChip, It as FormField, z as FormSection, wn as HighlightedTextInput, $e as HistoryControls, e as Icon, e as SvgIcon, I as IconButton, Qn as IconChoiceGroup, $n as IconToggleButton, Tn as InlineFieldGroup, ae as Input, er as InspectorSection, Cn as Legend, yn as LineChart, j as LoadingOverlay, A as Menu, w as MenuItem, he as MenuSeparator, sn as MultiSelect, ve as NumberInput, E as NumberStepper, En as OptionButton, _e as Pagination, S as Panel, gn as PdfViewer, mn as PdfViewerToolbar, cn as Popover, Q as PreactRangeSlider, Q as RangeSlider, pn as ProgressBar, d as RadioGroup, ge as Rating, ne as RatingChoice, te as RatingStar, t as RemoveButton, rr as ReorderHandle, nr as ReorderList, C as ResizeHandle, Z as ResourcePicker, Z as SharedResourcePicker, Qt as ResourcePickerAvatar, jt as SHARED_CHECKBOX_CLASS, Pt as SearchInput, p as SegmentedControl, Se as SegmentedSwitch, Xn as SelectedField, $ as SingleValueSlider, $ as Slider, rn as SliderField, f as Spinner, nt as StatusBadge, rt as StatusFeedbackPopoverController, y as Submenu, xe as SvgButton, Nt as Switch, P as TabPanel, u as Tabs, N as TextInput, _ as Textarea, Dn as TimeGrid, v as TimeInput, ur as TimelineTrack, b as ToggleButton, m as Toolbar, h as ToolbarGroup, g as ToolbarSeparator, dn as Tooltip, tr as TypographyControls, ee as badgeClassName, n as controlAttributes, r as controlClassName, Wt as createCalendarMonth, i as createControl, l as createDropdownControl, it as createFormField, at as createTextControl, a as decorateIconAction, ln as defaultPdfViewerText, se as defineDropdown, re as destroyDropdown, ir as eventOutsideRange, An as fieldDropIndex, mt as formatTimelineEvents, $t as getResourcePickerColor, en as getResourcePickerForegroundColor, tn as getResourcePickerInitials, ce as getUiMotionDuration, le as inheritUiMotion, Vt as isCalendarDateDisabled, Ut as isCalendarMonthDisabled, Bt as isDateInCalendarRange, ue as isUiMotionEnabled, zt as moveCalendarFocus, ar as moveTimelineEvent, o as nativeControlTag, or as niceTimelineStep, Y as normalizeHexColor, Ht as orderCalendarRange, s as registerControl, vt as renderAggregateSummary, st as renderBadgeValue, ft as renderChange, Mt as renderCheckbox, c as renderControl, Lt as renderFormFieldContent, dt as renderHeatmap, bt as renderLabelledIcon, ot as renderMiniBarChart, ct as renderPercentageSummary, yt as renderPie, lt as renderProgressLine, gt as renderProgressLineValue, Ce as renderSegmentedSwitch, ht as renderSparkline, et as renderStatusBadge, tt as renderStatusFeedbackPanel, pt as renderThumbs, _t as renderTimeline, ut as renderTypeIcon, jn as reorderFields, sr as resizeTimelineEvent, On as timeGridCellKey, cr as timelineEventBackground, lr as timelineGeometry, Ze as translateAiText, ye as useControlTooltip, nn as useDialogDrag, Mn as useFieldDropTarget, Nn as useFieldReorder, kn as useTimeGridInteraction };
1
+ import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as ee, r as te, s as ne, t as re, u as ie, w as ae, x as oe, y as se } from "./_chunks/request-trail-B1zVRPEf.js";
2
+ import { t as _ } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
3
+ import { getUiMotionDuration as ce, inheritUiMotion as le, isUiMotionEnabled as v } from "./core/motion.js";
4
+ import { n as y, t as b } from "./_chunks/rating-choice-CepVfGUq.js";
5
+ import { SvgIcon as x } from "./icons/icon.js";
6
+ import { d as S, l as C, n as w, p as T, u as E } from "./_chunks/native-control-um1L1wgZ.js";
7
+ import { t as D } from "./_chunks/popup-DECYM9FI.js";
8
+ import { t as O } from "./_chunks/selection-list-tooltips-m00U3L6z.js";
9
+ import { t as k } from "./_chunks/delete-button-jneO24wa.js";
10
+ import { RemoveButton as A } from "./buttons/remove-button.js";
11
+ import { controlAttributes as j, controlClassName as M } from "./control-attributes.js";
12
+ import { createControl as N, decorateIconAction as P, nativeControlTag as F, registerControl as I, renderControl as L } from "./control-presentation.js";
13
+ import { t as R } from "./_chunks/control-BRfF5DWQ.js";
14
+ import { A as z, B, C as V, D as H, E as U, F as W, I as ue, L as de, M as fe, N as pe, O as me, P as he, R as ge, S as _e, T as ve, _ as ye, a as be, b as xe, c as Se, d as Ce, f as we, g as Te, h as Ee, i as De, j as Oe, k as ke, l as Ae, m as je, n as Me, o as Ne, p as Pe, r as Fe, s as Ie, t as G, u as Le, v as Re, w as ze, x as Be, y as Ve } from "./_chunks/controls-B3EgM_DS.js";
15
+ import { n as He, r as Ue, t as We } from "./_chunks/tooltip-h-Z8yFBY.js";
16
+ import { SvgButton as Ge } from "./buttons/svg-button.js";
17
+ import { SegmentedSwitch as K, renderSegmentedSwitch as Ke } from "./segmented-switch/index.js";
18
+ import { EditorList as q, EditorListGroup as J, EditorListItem as Y, EditorListItemContent as X, EditorPane as Z, EditorSplitLayout as Q } from "./editor-layout/index.js";
19
+ import { a as qe, c as Je, i as Ye, l as Xe, n as Ze, o as Qe, r as $e, s as et, t as tt } from "./_chunks/dialog.parts-NqEEVc9P.js";
20
+ import { badgeClassName as nt } from "./badge.js";
21
+ import { HistoryControls as rt } from "./history-controls.js";
22
+ import { renderStatusBadge as it } from "./status-feedback/badge.js";
23
+ import { n as at, r as ot, t as st } from "./_chunks/render-bTk3curw.js";
24
+ import { StatusFeedbackPopoverController as ct } from "./status-feedback/popover.js";
25
+ import { createFormField as lt, createTextControl as ut } from "./form-controls/index.js";
26
+ import { a as dt, c as ft, d as pt, f as mt, h as ht, i as gt, l as _t, m as vt, n as yt, o as bt, p as xt, r as St, s as Ct, t as wt, u as Tt } from "./_chunks/cell-visuals-r6DOOhGh.js";
27
+ import { n as Et, t as Dt } from "./_chunks/color-palette-7siNch__.js";
28
+ import { DEFAULT_COLOR_PALETTE_OPTIONS as Ot } from "./color-palette/palette.js";
29
+ import { t as kt } from "./_chunks/color-picker-Cfc9eqZb.js";
30
+ import { n as At, r as jt, t as Mt } from "./_chunks/choice-chips-C5OxD0GV.js";
31
+ import { FilterBadge as Nt, FilterBadgeInfoButton as Pt } from "./filter-badge.js";
32
+ import { ActivityMessage as Ft } from "./activity-message.js";
33
+ import { a as It, i as Lt, n as Rt, r as zt, t as Bt } from "./_chunks/icon-toolbar-BAAdEvr9.js";
34
+ import { Checkbox as Vt, SHARED_CHECKBOX_CLASS as Ht, renderCheckbox as Ut } from "./checkbox/index.js";
35
+ import { Switch as Wt } from "./switch/index.js";
36
+ import { SearchInput as Gt } from "./search-input/index.js";
37
+ import { DisclosureSummary as Kt, FilterChip as qt, FormField as Jt, renderFormFieldContent as Yt } from "./form-controls/presentation.js";
38
+ import { DEFAULT_CALENDAR_TRANSLATIONS as Xt } from "./calendar/translations.js";
39
+ import { a as Zt, i as Qt, n as $t, o as en, r as tn, t as nn } from "./_chunks/model-CFrBgRHm.js";
40
+ import { CalendarHeader as rn, CalendarWeekdays as an } from "./calendar/header.js";
41
+ import { t as on } from "./_chunks/calendar-BQYQLu8Q.js";
42
+ import { CalendarDay as sn } from "./calendar/day.js";
43
+ import { CalendarMonthGrid as cn } from "./calendar/month-grid.js";
44
+ import { CalendarYearGrid as ln } from "./calendar/year-grid.js";
45
+ import { t as un } from "./_chunks/picker-igNshTRC.js";
46
+ import { ResourcePickerAvatar as dn, getResourcePickerColor as fn, getResourcePickerForegroundColor as pn, getResourcePickerInitials as mn } from "./resource-picker/resource-picker-avatar.js";
47
+ import { SharedResourcePicker as hn } from "./resource-picker/resource-picker.js";
48
+ import { useDialogDrag as gn } from "./dialog/dialog.preact.js";
49
+ import { PreactRangeSlider as _n } from "./filter/filters/slider/preact.js";
50
+ import { SingleValueSlider as vn, SliderField as yn } from "./filter/filters/slider/single.js";
51
+ import { a as bn, c as xn, d as Sn, f as Cn, i as wn, l as Tn, m as En, o as Dn, p as On, r as kn, s as An, t as jn, u as Mn } from "./_chunks/component-C3k_8uIq.js";
52
+ import { BarChart as Nn } from "./distribution-chart/bar-chart.js";
53
+ import { LineChart as Pn } from "./distribution-chart/line-chart.js";
54
+ import { AreaChart as Fn } from "./distribution-chart/area-chart.js";
55
+ import { DistributionChart as In } from "./distribution-chart/index.js";
56
+ import { BrushRange as Ln } from "./brush-range/component.js";
57
+ import { HighlightedTextInput as Rn, InlineFieldGroup as zn, OptionButton as Bn } from "./filter-controls.js";
58
+ import { TimeGrid as Vn, timeGridCellKey as Hn, useTimeGridInteraction as Un } from "./time-grid.js";
59
+ import { _ as Wn, a as Gn, b as Kn, c as qn, d as Jn, f as Yn, g as Xn, h as Zn, i as Qn, l as $n, m as er, n as tr, o as nr, p as rr, r as ir, s as ar, t as or, u as sr, v as cr, x as lr, y as ur } from "./_chunks/field-configurator-DPulsY3l.js";
60
+ import { fieldDropIndex as dr, reorderFields as fr } from "./field-reorder.js";
61
+ import { useFieldDropTarget as pr, useFieldReorder as mr } from "./field-reorder.hook.js";
62
+ import { a as hr, c as gr, d as _r, f as vr, h as yr, i as br, l as xr, m as Sr, n as Cr, o as wr, p as Tr, r as Er, s as Dr, t as Or, u as kr } from "./_chunks/configurator-actions-vRnI54mO.js";
63
+ import { t as Ar } from "./_chunks/configurator-field-icon-CmcM_sPs.js";
64
+ import { ConfiguratorAggregationList as jr } from "./configurator-aggregation-list.js";
65
+ import { ConfiguratorDropZone as Mr } from "./configurator-drop-zone.js";
66
+ import { focusConfiguratorOrigin as $, useConfiguratorOriginFocus as Nr } from "./configurator-focus.js";
67
+ import { ComparisonPreview as Pr, IconChoiceGroup as Fr, IconToggleButton as Ir, InspectorSection as Lr, TypographyControls as Rr } from "./formatting/index.js";
68
+ import { n as zr, t as Br } from "./_chunks/reorder-list-B4w3aARt.js";
69
+ import { eventOutsideRange as Vr, moveTimelineEvent as Hr, niceTimelineStep as Ur, resizeTimelineEvent as Wr, timelineEventBackground as Gr, timelineGeometry as Kr } from "./timeline-track/model.js";
70
+ import { TimelineTrack as qr } from "./timeline-track/index.js";
71
+ import { Legend as Jr } from "./legend.js";
72
+ //#region package/view-switcher.tsx
73
+ function Yr({ translations: e, value: n, controlView: r, views: i, busy: a, canGoBack: o, onSelect: s, onBack: c, error: l, label: u = "Report view", backLabel: d = "Back", showViews: f = !0, dataLabel: p = "Data Grid" }) {
74
+ let m = (n) => t(n, e), h = i.find((e) => e.id === (r ?? (n === "grid" ? void 0 : n)));
75
+ if (!f && !h && !l) return null;
76
+ let g = f ? i : [{
77
+ id: "grid",
78
+ label: p
79
+ }, ...h ? [h] : []];
80
+ return /* @__PURE__ */ _("div", {
81
+ class: "rv-view-switcher-controls",
82
+ children: [
83
+ /* @__PURE__ */ _(K, {
84
+ role: "radiogroup",
85
+ value: n,
86
+ ariaLabel: m(u),
87
+ disabled: a,
88
+ options: g.map((e) => ({
89
+ value: e.id,
90
+ label: m(e.label)
91
+ })),
92
+ onChange: s
93
+ }),
94
+ f && /* @__PURE__ */ _(G, {
95
+ size: "compact",
96
+ variant: "ghost",
97
+ disabled: a || !o,
98
+ onClick: c,
99
+ children: m(d)
100
+ }),
101
+ l && /* @__PURE__ */ _("span", {
102
+ role: "alert",
103
+ children: m(l)
104
+ })
105
+ ]
106
+ });
107
+ }
108
+ //#endregion
109
+ export { r as AI_UI_MESSAGES, Ft as ActivityMessage, l as AiActionStatus, ee as AiAssistant, m as AiChangePreview, h as AiChat, te as AiChatComposer, f as AiChatContent, a as AiChatEmptyState, g as AiMessage, ne as AiMessageActions, s as AiMessageContent, d as AiPromptInput, p as AiReasoning, re as AiRequestTrail, u as AiResult, oe as AiResultMetrics, n as AiResultTable, o as AiResultText, se as AiResultView, i as AiSuggestions, ie as AiTask, c as AiTaskItem, ae as AiTranslationProvider, ge as Alert, Fn as AreaChart, bn as Avatar, B as Badge, Nn as BarChart, Ln as BrushRange, G as Button, Me as ButtonGroup, Or as CONFIGURATOR_AREA_ICONS, on as Calendar, sn as CalendarDay, rn as CalendarHeader, cn as CalendarMonthGrid, un as CalendarPicker, an as CalendarWeekdays, ln as CalendarYearGrid, Vt as Checkbox, Fe as Chip, Mt as ChoiceChip, At as ChoiceChipInfoButton, jt as ChoiceChips, De as CircularProgress, or as CollapsibleSection, Dt as ColorPalette, kt as ColorPicker, Dn as Combobox, Pr as ComparisonPreview, Cr as ConfiguratorActionButton, Er as ConfiguratorActionGroup, br as ConfiguratorActionIcon, hr as ConfiguratorActionPanel, wr as ConfiguratorActionTrigger, jr as ConfiguratorAggregationList, Mr as ConfiguratorDropZone, Dr as ConfiguratorFieldCaption, gr as ConfiguratorFieldPicker, xr as ConfiguratorFieldSearch, kr as ConfiguratorFieldTypeIcon, _r as ConfiguratorFilterStatus, vr as ConfiguratorHint, tr as ConfiguratorPanel, Tr as ConfiguratorRemoveButton, Sr as ConfiguratorZoneActions, An as ConfirmDialog, We as ControlTooltip, be as CountBadge, Xt as DEFAULT_CALENDAR_TRANSLATIONS, Ot as DEFAULT_COLOR_PALETTE_OPTIONS, Ne as DateInput, xn as DatePicker, Tn as DateRangePicker, Ie as DateTimeInput, k as DeleteButton, Mn as Dialog, tt as DialogActionFooter, Ze as DialogActions, $e as DialogBody, Ye as DialogCloseButton, qe as DialogFooter, Qe as DialogForm, et as DialogHeader, Je as DialogTitleInput, Se as Disclosure, Kt as DisclosureSummary, In as DistributionChart, C as Dropdown, D as DropdownPopup, T as DropdownPopupContent, Xe as EditableDialogHeader, q as EditorList, q as Listbox, J as EditorListGroup, J as ListboxGroup, Y as EditorListItem, Y as ListboxOption, X as EditorListItemContent, X as ListboxOptionContent, Z as EditorPane, Z as Pane, Q as EditorSplitLayout, Q as SplitLayout, Ae as EmptyState, ir as FieldActions, Qn as FieldContent, Gn as FieldDropIndicator, Le as FieldError, nr as FieldGroup, ar as FieldGroupHeading, Ce as FieldHint, qn as FieldIcon, $n as FieldItem, sr as FieldLibrary, Jn as FieldLibraryList, Yn as FieldList, rr as FieldRemoveButton, er as FieldRemoveIcon, Zn as FieldRow, Xn as FieldStatusBadge, Wn as FieldSummary, Nt as FilterBadge, Pt as FilterBadgeInfoButton, qt as FilterChip, Jt as FormField, we as FormSection, Rn as HighlightedTextInput, rt as HistoryControls, Bt as ICON_TOOLBAR_ICONS, Pe as IconButton, Fr as IconChoiceGroup, Ir as IconToggleButton, Rt as IconToolbar, zn as InlineFieldGroup, w as Input, Lr as InspectorSection, Jr as Legend, Pn as LineChart, je as LoadingOverlay, Ee as Menu, Te as MenuItem, ye as MenuSeparator, Sn as MultiSelect, Re as NumberInput, Ve as NumberStepper, Bn as OptionButton, xe as Pagination, Be as Panel, _e as PanelResizeHandle, jn as PdfViewer, kn as PdfViewerToolbar, Cn as Popover, _n as PreactRangeSlider, On as ProgressBar, V as RadioGroup, ze as Rating, b as RatingChoice, y as RatingStar, A as RemoveButton, Br as ReorderHandle, zr as ReorderList, ve as ResizeHandle, dn as ResourcePickerAvatar, Ht as SHARED_CHECKBOX_CLASS, zt as SVG_TOOLBAR_BUTTON_STYLES, Gt as SearchInput, U as SegmentedControl, K as SegmentedSwitch, cr as SelectedField, hn as SharedResourcePicker, vn as SingleValueSlider, yn as SliderField, H as Spinner, st as StatusBadge, at as StatusFeedbackPanel, ct as StatusFeedbackPopoverController, me as Submenu, Ge as SvgButton, x as SvgIcon, Lt as SvgToolbarButton, It as SvgToolbarButtonView, Wt as Switch, ke as TabPanel, z as Tabs, Oe as TextInput, fe as Textarea, Vn as TimeGrid, pe as TimeInput, qr as TimelineTrack, he as ToggleButton, W as Toolbar, ue as ToolbarGroup, de as ToolbarSeparator, En as Tooltip, Rr as TypographyControls, Yr as ViewSwitcherControls, nt as badgeClassName, j as controlAttributes, M as controlClassName, nn as createCalendarMonth, N as createControl, R as createDropdownControl, ur as createFieldExpansion, lt as createFormField, ut as createTextControl, P as decorateIconAction, wn as defaultPdfViewerText, E as defineDropdown, S as destroyDropdown, Vr as eventOutsideRange, dr as fieldDropIndex, Kn as fieldExpansionIds, $ as focusConfiguratorOrigin, e as formatAiResultValue, yt as formatTimelineEvents, fn as getResourcePickerColor, pn as getResourcePickerForegroundColor, mn as getResourcePickerInitials, ce as getUiMotionDuration, le as inheritUiMotion, $t as isCalendarDateDisabled, tn as isCalendarMonthDisabled, Qt as isDateInCalendarRange, v as isUiMotionEnabled, Zt as moveCalendarFocus, Hr as moveTimelineEvent, F as nativeControlTag, Ur as niceTimelineStep, Et as normalizeHexColor, en as orderCalendarRange, lr as recordFieldExpansion, I as registerControl, Ct as renderAggregateSummary, ft as renderBadgeValue, _t as renderChange, Ut as renderCheckbox, yr as renderConfiguratorActionTrigger, L as renderControl, Yt as renderFormFieldContent, gt as renderHeatmap, Tt as renderLabelledIcon, dt as renderMiniBarChart, pt as renderPercentageSummary, wt as renderPie, mt as renderProgressLine, xt as renderProgressLineValue, Ke as renderSegmentedSwitch, bt as renderSparkline, it as renderStatusBadge, ot as renderStatusFeedbackPanel, vt as renderThumbs, St as renderTimeline, ht as renderTypeIcon, fr as reorderFields, Wr as resizeTimelineEvent, Ar as resolveConfiguratorFieldIcon, Hn as timeGridCellKey, Gr as timelineEventBackground, Kr as timelineGeometry, t as translateAiText, Nr as useConfiguratorOriginFocus, He as useControlTooltip, gn as useDialogDrag, pr as useFieldDropTarget, mr as useFieldReorder, O as useSelectionListTooltips, Un as useTimeGridInteraction, Ue as useTooltip };
@@ -31,11 +31,17 @@
31
31
  display: block;
32
32
  height: 100%;
33
33
  border-radius: inherit;
34
- background: var(--rv-progress-bar-fill, var(--rv-filter-active-icon-color, var(--rv-ui-accent)));
34
+ background: var(
35
+ --rv-progress-bar-fill,
36
+ var(--rv-filter-active-icon-color, var(--rv-ui-accent))
37
+ );
35
38
  // Values update immediately; only a semantic color change is eased.
36
- transition: background-color var(--rv-ui-motion-normal, 160ms) var(--rv-ui-motion-ease, cubic-bezier(.2, 0, 0, 1));
39
+ transition: background-color var(--rv-ui-motion-normal, 160ms)
40
+ var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1));
37
41
  }
38
42
 
39
43
  @media (prefers-reduced-motion: reduce) {
40
- .rv-progress-bar__fill { transition: none; }
44
+ .rv-progress-bar__fill {
45
+ transition: none;
46
+ }
41
47
  }
@@ -39,7 +39,8 @@
39
39
  stroke-width: $stroke-width;
40
40
  stroke-linecap: round;
41
41
  // Keep the value and visible arc in sync.
42
- transition: stroke var(--rv-ui-motion-normal, 160ms) var(--rv-ui-motion-ease, cubic-bezier(.2, 0, 0, 1));
42
+ transition: stroke var(--rv-ui-motion-normal, 160ms)
43
+ var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1));
43
44
  }
44
45
 
45
46
  .circular-progress-value {
package/progress/bar.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { normalizeProgressRange as e } from "./range.js";
2
- //#region src/progress/bar.ts
2
+ //#region package/progress/bar.ts
3
3
  function t(e) {
4
4
  return typeof e == "string" ? `rv-progress-bar__fill ${e}` : ["rv-progress-bar__fill", ...Object.entries(e ?? {}).filter(([, e]) => e).map(([e]) => e)].join(" ");
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { controlClassName as e } from "../control-attributes.js";
2
- //#region src/progress/circular.ts
2
+ //#region package/progress/circular.ts
3
3
  function t(t, n) {
4
4
  return t("div", { class: "circular-progress-container" }, [t("div", { class: "circular-progress" }, [t("svg", {
5
5
  class: "circular-progress-svg",
package/progress/range.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/progress/range.ts
1
+ //#region package/progress/range.ts
2
2
  function e(e, n = 0, r = 100) {
3
3
  let i = t(n, 0), a = t(r, 100), o = Math.min(i, a), s = Math.max(i, a), c = t(e, o);
4
4
  return {
package/rating-choice.js CHANGED
@@ -1 +1 @@
1
- export { t as RatingChoice, n as RatingStar } from "./_chunks/rating-choice-DZgmaic0.js";
1
+ export { t as RatingChoice, n as RatingStar } from "./_chunks/rating-choice-CepVfGUq.js";
@@ -4,8 +4,10 @@ export interface UiReactHandle {
4
4
  element: HTMLDivElement | null;
5
5
  }
6
6
  declare const contentProps: readonly ["children", "footer", "label", "description", "icon", "summary", "start", "end", "empty", "highlight", "actions", "heading", "placeholder", "indicator", "avatar", "timestamp", "header", "details", "formatted", "hint", "iconContent", "content", "caption", "count", "detail", "leading", "trailing", "shortcut", "info"];
7
- type ContentKey = typeof contentProps[number];
8
- type ReactContent<T> = [Extract<T, VNode<any> | readonly ComponentChildren[]>] extends [never] ? T : ReactNode;
7
+ type ContentKey = (typeof contentProps)[number];
8
+ type ReactContent<T> = [
9
+ Extract<T, VNode<any> | readonly ComponentChildren[]>
10
+ ] extends [never] ? T : ReactNode;
9
11
  type Tail<A extends unknown[]> = A extends [unknown, ...infer Rest] ? Rest : A;
10
12
  type RenderArgs<A extends unknown[], K, Factories> = K extends Factories ? K extends 'renderPlaceholder' | 'renderSelectedValue' ? Tail<A> extends [infer Value, ...unknown[]] ? [value: Value] : [] : Tail<A> : A;
11
13
  type RenderProp<F, K, Factories> = NonNullable<F> extends (...args: infer A) => unknown ? (...args: RenderArgs<A, K, Factories>) => ReactNode : F;