@revolist/ui 4.0.2-rc → 4.0.2

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 (343) hide show
  1. package/LICENSE +21 -0
  2. package/MIGRATION.md +36 -0
  3. package/OWNERSHIP.md +32 -32
  4. package/README.md +405 -265
  5. package/_button.scss +6 -2
  6. package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
  7. package/_chunks/calculator-CDWOuAcp.js +4 -0
  8. package/_chunks/{calendar-CpaUK7w1.js → calendar-CgXQgkga.js} +28 -18
  9. package/_chunks/chart-frame-hcOlnQ1K.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-SkllS5Kl.js +126 -0
  13. package/_chunks/clock-BOhPNlW3.js +4 -0
  14. package/_chunks/{color-palette-BBMFmUNA.js → color-palette-DMJUChWC.js} +20 -22
  15. package/_chunks/{color-picker-D90Jg-M8.js → color-picker-BpCTuIdm.js} +77 -72
  16. package/_chunks/{component-YDcfoOLz.js → component-CfeHXgIw.js} +301 -282
  17. package/_chunks/{component-metadata-BENbgTjU.js → component-metadata-BKd7U8OW.js} +0 -12
  18. package/_chunks/configurator-actions-DnStE6Yl.js +155 -0
  19. package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
  20. package/_chunks/control-Dcrjsunl.js +118 -0
  21. package/_chunks/{controls-DIum-E66.js → controls-B_6NJarZ.js} +217 -182
  22. package/_chunks/{date-control-BJSzu79z.js → date-control-C4h4m75W.js} +1 -1
  23. package/_chunks/{date-time-BxPJusp9.js → date-time-CTOSbzb0.js} +344 -307
  24. package/_chunks/{delete-button-Bblyah10.js → delete-button-CW9vjLnk.js} +6 -6
  25. package/_chunks/dialog.parts-3w5FR06n.js +131 -0
  26. package/_chunks/{duration-87U2EoMS.js → duration-Bf2OS1V5.js} +19 -18
  27. package/_chunks/editor-popup-ByU7qiub.js +82 -0
  28. package/_chunks/field-configurator-D5dZRhDe.js +288 -0
  29. package/_chunks/field-context-D57PnBbH.js +5 -0
  30. package/_chunks/{framework-mount-C-Zwm44H.js → framework-mount-Bk4O_T7T.js} +1 -1
  31. package/_chunks/icon-toolbar-DSjOdwM7.js +134 -0
  32. package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
  33. package/_chunks/minus-BOAR3A1C.js +4 -0
  34. package/_chunks/mount-BRdcG60g.js +267 -0
  35. package/_chunks/{native.view-ByyZ1CT5.js → native-Blr3byjO.js} +1 -1
  36. package/_chunks/native-control-B_fVA5bL.js +649 -0
  37. package/_chunks/{number-input-BeIadZuL.js → number-input-CmM6_2vR.js} +7 -7
  38. package/_chunks/{picker-DpP7iQLA.js → picker-DTqET-2W.js} +2 -2
  39. package/_chunks/plus-CbGRkIGl.js +4 -0
  40. package/_chunks/popover-controller-D-AvKQ7B.js +102 -0
  41. package/_chunks/popup-C35Isk7p.js +378 -0
  42. package/_chunks/{rating-choice-Ca8ZBty3.js → rating-choice-C-6wcb9U.js} +1 -1
  43. package/_chunks/render-m5eMMwFR.js +83 -0
  44. package/_chunks/{reorder-list-Cc3KmfAN.js → reorder-list-DIl1gkV6.js} +1 -1
  45. package/_chunks/request-trail-DrhdpWiH.js +762 -0
  46. package/_chunks/rich-text-BnilBbhU.js +842 -0
  47. package/_chunks/rotate-left-BF6G883o.js +4 -0
  48. package/_chunks/rotate-right-Iha5ScJ1.js +4 -0
  49. package/_chunks/selection-list-tooltips-C5oMJe26.js +42 -0
  50. package/_chunks/title-tooltip-Cw6LOZhb.js +11 -0
  51. package/_chunks/tooltip-D4xkio5G.js +54 -0
  52. package/_chunks/tooltip-owner-DjdvqKzz.js +19 -0
  53. package/_chunks/tooltip-session-B6X6x8G_.js +110 -0
  54. package/_chunks/tooltip-text-BXsUEmBH.js +12 -0
  55. package/_chunks/top-layer-popup-CNSDdfJV.js +59 -0
  56. package/_dialog.scss +55 -21
  57. package/_form.scss +71 -21
  58. package/_legend.scss +25 -7
  59. package/_shared/data-query/index.d.ts +2 -2
  60. package/_shared/data-query/load-options.d.ts +2 -2
  61. package/_variables.scss +34 -32
  62. package/_view-switcher.scss +6 -0
  63. package/activity-message.d.ts +1 -1
  64. package/ai/_chat.scss +227 -0
  65. package/ai/_style.scss +170 -39
  66. package/ai/chat.d.ts +65 -0
  67. package/ai/components.d.ts +34 -5
  68. package/ai/index.d.ts +3 -0
  69. package/ai/index.js +3 -3
  70. package/ai/mount.d.ts +59 -6
  71. package/ai/prompt-history.d.ts +13 -0
  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 +27 -0
  80. package/ai/translations.d.ts +1 -1
  81. package/angular/angular.d.ts +1 -1
  82. package/angular/angular.js +13 -10
  83. package/assignee/assignee.scss +28 -6
  84. package/assignee/index.js +34 -35
  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.view.d.ts +8 -0
  90. package/brush-range/_brush-range.scss +55 -49
  91. package/brush-range/component.d.ts +1 -3
  92. package/brush-range/component.js +27 -27
  93. package/buttons/delete-button.d.ts +2 -1
  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 +1 -1
  98. package/buttons/remove-button.style.scss +1 -1
  99. package/buttons/svg-button.d.ts +2 -1
  100. package/buttons/svg-button.js +19 -19
  101. package/calendar/_calendar.scss +27 -26
  102. package/calendar/calendar.js +1 -1
  103. package/calendar/header.js +1 -2
  104. package/calendar/index.js +2 -2
  105. package/cell-input.scss +3 -7
  106. package/cell-visuals/badge.style.scss +6 -3
  107. package/cell-visuals/bar-chart.style.scss +2 -1
  108. package/cell-visuals/column-type.style.css +12 -0
  109. package/cell-visuals/progress-line-value.renderer.style.scss +4 -2
  110. package/cell-visuals/progress-line.style.scss +1 -4
  111. package/cell-visuals/sparkline.style.scss +2 -1
  112. package/cell-visuals/timeline.style.css +4 -2
  113. package/checkbox/checkbox.scss +6 -24
  114. package/choice-chips/index.d.ts +3 -1
  115. package/choice-chips/index.js +1 -1
  116. package/color-palette/color-palette.js +1 -1
  117. package/color-palette/color-palette.style.scss +88 -25
  118. package/color-palette/color-picker.js +2 -2
  119. package/color-palette/color-picker.style.scss +23 -10
  120. package/color-palette/common-palettes.d.ts +1 -1
  121. package/color-palette/common-palettes.js +1 -1
  122. package/color-palette/native.d.ts +15 -2
  123. package/component-catalog.d.ts +24 -11
  124. package/configurator-actions.d.ts +67 -0
  125. package/configurator-actions.js +1 -0
  126. package/configurator-aggregation-list.d.ts +14 -0
  127. package/configurator-aggregation-list.js +63 -0
  128. package/configurator-drop-zone.d.ts +39 -0
  129. package/configurator-drop-zone.js +66 -0
  130. package/configurator-field-icon.d.ts +10 -0
  131. package/configurator-field-icon.js +1 -0
  132. package/configurator-focus.d.ts +4 -0
  133. package/configurator-focus.js +39 -0
  134. package/configurator-sections.d.ts +42 -0
  135. package/configurator-sections.js +71 -0
  136. package/control-attributes.js +7 -7
  137. package/control-presentation.d.ts +8 -2
  138. package/control-presentation.js +25 -20
  139. package/controls.d.ts +19 -7
  140. package/controls.js +4 -3
  141. package/core/editor-popup-position.d.ts +6 -2
  142. package/core/editor-popup.d.ts +4 -0
  143. package/core/editor-popup.js +1 -1
  144. package/core/popover-controller.d.ts +35 -0
  145. package/core/popup-ownership.d.ts +2 -0
  146. package/core/selection-list-tooltips.d.ts +2 -0
  147. package/core/title-tooltip.d.ts +2 -0
  148. package/core/tooltip-session.d.ts +29 -0
  149. package/core/tooltip-surface.d.ts +13 -0
  150. package/core/tooltip-text.d.ts +6 -0
  151. package/core/tooltip.d.ts +35 -0
  152. package/core/top-layer-popup.d.ts +4 -0
  153. package/core/top-layer-popup.js +1 -23
  154. package/date-time/attach.d.ts +1 -1
  155. package/date-time/date-control.d.ts +1 -1
  156. package/date-time/field.d.ts +3 -2
  157. package/date-time/index.js +1 -1
  158. package/date-time/style.scss +242 -39
  159. package/date-time/time-selection.d.ts +3 -1
  160. package/date-time/types.d.ts +5 -1
  161. package/dialog/dialog-action-footer.d.ts +17 -2
  162. package/dialog/dialog.dom.d.ts +15 -2
  163. package/dialog/dialog.dom.js +3 -3
  164. package/dialog/dialog.parts.d.ts +1 -1
  165. package/dialog/dialog.parts.js +1 -1
  166. package/distribution-chart/_distribution-chart.scss +113 -77
  167. package/distribution-chart/area-chart.js +1 -1
  168. package/distribution-chart/bar-chart.d.ts +5 -2
  169. package/distribution-chart/bar-chart.js +7 -3
  170. package/distribution-chart/chart-frame.d.ts +2 -1
  171. package/distribution-chart/index.d.ts +1 -1
  172. package/distribution-chart/line-chart.js +1 -1
  173. package/dropdown/content.d.ts +2 -1
  174. package/dropdown/content.js +1 -142
  175. package/dropdown/control.d.ts +14 -0
  176. package/dropdown/control.js +1 -0
  177. package/dropdown/control.view.d.ts +6 -0
  178. package/dropdown/dropdown.types.d.ts +5 -1
  179. package/dropdown/editor-dropdown.style.scss +54 -16
  180. package/dropdown/index.d.ts +1 -1
  181. package/dropdown/index.js +3 -4
  182. package/dropdown/lookup-field.d.ts +5 -0
  183. package/dropdown/lookup-field.js +2 -1
  184. package/dropdown/popup.d.ts +2 -2
  185. package/dropdown/popup.js +1 -141
  186. package/duration/index.js +1 -1
  187. package/duration/style.scss +1 -1
  188. package/editor-actions.js +1 -1
  189. package/editor-layout/index.d.ts +4 -4
  190. package/editor-layout/index.js +39 -34
  191. package/editor-layout/style.scss +82 -18
  192. package/field-configurator.d.ts +39 -1
  193. package/field-configurator.js +4 -170
  194. package/field-expansion.d.ts +9 -0
  195. package/fieldset.d.ts +3 -0
  196. package/filter/filters/slider/_single-slider.scss +57 -38
  197. package/filter/filters/slider/_slider.scss +41 -33
  198. package/filter/filters/slider/control.js +2 -0
  199. package/filter/filters/slider/runtime.js +49 -22
  200. package/filter/filters/slider/single.js +1 -1
  201. package/filter-badge.js +1 -1
  202. package/filter-controls.d.ts +0 -1
  203. package/filter-controls.js +9 -10
  204. package/form-controls/field-context.d.ts +5 -0
  205. package/form-controls/index.d.ts +10 -2
  206. package/form-controls/index.js +4 -9
  207. package/form-controls/presentation.d.ts +1 -1
  208. package/form-controls/presentation.js +53 -45
  209. package/formatting/index.d.ts +1 -1
  210. package/formatting/index.js +40 -35
  211. package/formatting/styles.scss +14 -57
  212. package/framework.js +237 -226
  213. package/history-controls.d.ts +14 -0
  214. package/history-controls.js +27 -0
  215. package/icon-toolbar.d.ts +62 -0
  216. package/icon-toolbar.js +1 -0
  217. package/icons/icon.d.ts +1 -1
  218. package/legend.d.ts +1 -1
  219. package/masked-input/index.js +1 -1
  220. package/native-control.d.ts +6 -5
  221. package/native-control.js +3 -26
  222. package/native-controls.d.ts +54 -2
  223. package/native-styles.css +1 -1
  224. package/native-styles.scss +6 -2
  225. package/native.d.ts +3 -3
  226. package/native.js +41 -37
  227. package/number-input/index.d.ts +1 -1
  228. package/number-input/index.js +1 -1
  229. package/package.json +88 -14
  230. package/pagination.d.ts +3 -0
  231. package/pagination.js +50 -40
  232. package/pdf-viewer/header.d.ts +1 -1
  233. package/pdf-viewer/index.d.ts +2 -2
  234. package/pdf-viewer/index.js +1 -1
  235. package/pdf-viewer/search-bar.d.ts +1 -1
  236. package/pdf-viewer/status.d.ts +1 -1
  237. package/pdf-viewer/style.scss +205 -45
  238. package/pickers.d.ts +5 -1
  239. package/preact-mount.js +1 -1
  240. package/preact.d.ts +15 -10
  241. package/preact.js +109 -64
  242. package/progress/_bar.scss +9 -3
  243. package/progress/_circular.scss +2 -1
  244. package/rating-choice.js +1 -1
  245. package/react-adapter.d.ts +4 -2
  246. package/react-control.d.ts +1 -0
  247. package/react.d.ts +20 -11
  248. package/react.js +72 -88
  249. package/reorder-list.d.ts +1 -1
  250. package/reorder-list.js +1 -1
  251. package/reorder-list.scss +59 -17
  252. package/resource-picker/resource-picker-popup.js +1 -1
  253. package/resource-picker/resource-picker.js +73 -71
  254. package/resource-picker/resource-picker.scss +66 -35
  255. package/rich-text/engine.d.ts +17 -19
  256. package/rich-text/format-html.d.ts +2 -0
  257. package/rich-text/index.d.ts +11 -7
  258. package/rich-text/index.js +1 -1
  259. package/rich-text/model.d.ts +6 -3
  260. package/rich-text/render-model.d.ts +4 -5
  261. package/rich-text/style.scss +295 -55
  262. package/rich-text/syntax.d.ts +5 -2
  263. package/rich-text/toolbar.d.ts +6 -6
  264. package/rich-text/translations.d.ts +5 -15
  265. package/search-input/index.js +1 -1
  266. package/search-input/native.d.ts +21 -2
  267. package/select.d.ts +22 -0
  268. package/select.js +1 -0
  269. package/selection-list.d.ts +1 -0
  270. package/selection-list.js +3 -1
  271. package/status-feedback/exit-snapshot.js +1 -1
  272. package/status-feedback/index.js +2 -2
  273. package/status-feedback/popover.js +9 -9
  274. package/status-feedback/render.js +3 -44
  275. package/status-feedback/status-feedback.scss +130 -34
  276. package/status-feedback/types.d.ts +4 -0
  277. package/status-feedback/use-auto-dismiss.d.ts +3 -0
  278. package/styles/_activity-message.scss +24 -7
  279. package/styles/_alert.scss +78 -17
  280. package/styles/_cell-editor-frame.scss +11 -0
  281. package/styles/_compositions.scss +404 -82
  282. package/styles/_control.scss +42 -12
  283. package/styles/_disclosure.scss +15 -5
  284. package/styles/_editor-counter.scss +16 -6
  285. package/styles/_editor-slider.scss +8 -4
  286. package/styles/_field-configurator.scss +321 -23
  287. package/styles/_fields-grid.scss +49 -0
  288. package/styles/_filter-controls.scss +10 -2
  289. package/styles/_icon-action.scss +48 -15
  290. package/styles/_loading.scss +12 -3
  291. package/styles/_motion.scss +32 -9
  292. package/styles/_palette.scss +0 -24
  293. package/styles/_primitives.scss +376 -116
  294. package/styles/_theme.scss +130 -86
  295. package/styles/_thresholds.scss +28 -25
  296. package/styles/_time-grid.scss +8 -3
  297. package/styles/_tokens.scss +6 -1
  298. package/styles/configurator-actions.scss +241 -0
  299. package/styles/pagination.css +213 -0
  300. package/styles/{legacy-rating.css → rating.css} +8 -3
  301. package/styles.css +1 -1
  302. package/styles.scss +3 -5
  303. package/surfaces.d.ts +38 -2
  304. package/surfaces.js +37 -134
  305. package/svelte/UiComponent.server.js +1 -48
  306. package/svelte/UiComponent.svelte +44 -32
  307. package/svelte.d.ts +1 -1
  308. package/svelte.js +33 -68
  309. package/switch/index.js +15 -14
  310. package/time-grid.d.ts +0 -1
  311. package/time-grid.js +38 -37
  312. package/timeline-track/_style.scss +96 -24
  313. package/timeline-track/component.d.ts +5 -1
  314. package/timeline-track/index.js +71 -54
  315. package/timeline-track/model.d.ts +9 -0
  316. package/timeline-track/model.js +10 -1
  317. package/ui.css +1 -1
  318. package/view-switcher.d.ts +23 -0
  319. package/vue.d.ts +51 -35
  320. package/vue.js +149 -178
  321. package/_chunks/chart-frame-BC99KjGa.js +0 -127
  322. package/_chunks/choice-chips-Cs4D-3nH.js +0 -110
  323. package/_chunks/compat.module-DDB2pm9O.js +0 -229
  324. package/_chunks/control-tooltip-ztgmsG7H.js +0 -100
  325. package/_chunks/dialog.parts-DBqo3Qwb.js +0 -134
  326. package/_chunks/dropdown-voWqmwAe.js +0 -357
  327. package/_chunks/editor-popup-D3JdS8l3.js +0 -81
  328. package/_chunks/mount-DZe_6VtR.js +0 -90
  329. package/_chunks/request-trail-IdNiFvKH.js +0 -347
  330. package/_chunks/rich-text-BzI1DyfF.js +0 -477
  331. package/avatar/index.view.d.ts +0 -25
  332. package/color-palette/native.view.d.ts +0 -15
  333. package/control-presentation.view.d.ts +0 -8
  334. package/dialog/dialog-action-footer.view.d.ts +0 -20
  335. package/dialog/dialog.dom.view.d.ts +0 -15
  336. package/form-controls/index.view.d.ts +0 -12
  337. package/formatting/control-tooltip.d.ts +0 -27
  338. package/native-controls.view.d.ts +0 -54
  339. package/react-native-select.d.ts +0 -6
  340. package/search-input/native.view.d.ts +0 -21
  341. package/styles/legacy-pagination.css +0 -112
  342. package/surfaces.view.d.ts +0 -63
  343. package/vue-native-select.d.ts +0 -9
package/framework.js CHANGED
@@ -1,230 +1,241 @@
1
- import { a as ee, i as te, n as ne, o as e, r as t, t as n } from "./_chunks/request-trail-IdNiFvKH.js";
2
- import { n as re, t as ie } from "./_chunks/rating-choice-Ca8ZBty3.js";
3
- import { SvgIcon as r } from "./icons/icon.js";
4
- import { Input as ae } from "./native-control.js";
5
- import { A as oe, C as se, D as ce, E as le, F as i, I as a, L as o, M as s, N as c, O as l, P as u, R as d, S as f, T as p, _ as m, a as h, b as g, c as _, d as v, f as y, g as b, h as x, i as S, j as C, k as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as M, u as N, v as P, w as F, x as I, y as L, z as R } from "./_chunks/controls-DIum-E66.js";
6
- import { t as z } from "./_chunks/control-tooltip-ztgmsG7H.js";
7
- import { SvgButton as B } from "./buttons/svg-button.js";
8
- import { SegmentedSwitch as V } from "./segmented-switch/index.js";
9
- import { EditorList as H, EditorListGroup as U, EditorListItem as W, EditorListItemContent as G, EditorPane as K, EditorSplitLayout as q } from "./editor-layout/index.js";
10
- import { a as ue, c as de, i as fe, l as pe, n as me, o as he, r as ge, s as _e, t as ve } from "./_chunks/dialog.parts-DBqo3Qwb.js";
11
- import { t as ye } from "./_chunks/delete-button-Bblyah10.js";
12
- import { RemoveButton as be } from "./buttons/remove-button.js";
13
- import { t as xe } from "./_chunks/color-palette-BBMFmUNA.js";
14
- import { t as Se } from "./_chunks/color-picker-D90Jg-M8.js";
15
- import { n as Ce, r as we, t as Te } from "./_chunks/choice-chips-Cs4D-3nH.js";
16
- import { FilterBadge as Ee, FilterBadgeInfoButton as De } from "./filter-badge.js";
17
- import { ActivityMessage as Oe } from "./activity-message.js";
18
- import { Checkbox as ke } from "./checkbox/index.js";
19
- import { Switch as Ae } from "./switch/index.js";
20
- import { SearchInput as je } from "./search-input/index.js";
21
- import { DisclosureSummary as Me, FilterChip as J, FormField as Ne } from "./form-controls/presentation.js";
22
- import { a as Pe, i as Fe, r as Ie } from "./_chunks/date-time-BxPJusp9.js";
23
- import { n as Le, t as Re } from "./_chunks/duration-87U2EoMS.js";
24
- import { CalendarHeader as Y, CalendarWeekdays as ze } from "./calendar/header.js";
25
- import { t as Be } from "./_chunks/calendar-CpaUK7w1.js";
26
- import { CalendarDay as Ve } from "./calendar/day.js";
27
- import { CalendarMonthGrid as He } from "./calendar/month-grid.js";
28
- import { CalendarYearGrid as Ue } from "./calendar/year-grid.js";
29
- import { t as We } from "./_chunks/picker-DpP7iQLA.js";
30
- import { ResourcePickerAvatar as Ge } from "./resource-picker/resource-picker-avatar.js";
31
- import { DropdownPopup as Ke } from "./dropdown/popup.js";
32
- import { SharedResourcePicker as X } from "./resource-picker/resource-picker.js";
33
- import { t as qe } from "./_chunks/dropdown-voWqmwAe.js";
34
- import { DropdownPopupContent as Je } from "./dropdown/content.js";
35
- import { PreactRangeSlider as Z } from "./filter/filters/slider/preact.js";
36
- import { SingleValueSlider as Q, SliderField as Ye } from "./filter/filters/slider/single.js";
37
- import { StatusBadge as Xe, StatusFeedbackPanel as $ } from "./status-feedback/render.js";
38
- import { a as Ze, c as Qe, d as $e, f as et, l as tt, m as nt, o as rt, p as it, r as at, s as ot, t as st, u as ct } from "./_chunks/component-YDcfoOLz.js";
39
- import { BarChart as lt } from "./distribution-chart/bar-chart.js";
40
- import { LineChart as ut } from "./distribution-chart/line-chart.js";
41
- import { AreaChart as dt } from "./distribution-chart/area-chart.js";
42
- import { DistributionChart as ft } from "./distribution-chart/index.js";
43
- import { BrushRange as pt } from "./brush-range/component.js";
44
- import { Legend as mt } from "./legend.js";
45
- import { HighlightedTextInput as ht, InlineFieldGroup as gt, OptionButton as _t } from "./filter-controls.js";
46
- import { TimeGrid as vt } from "./time-grid.js";
47
- import { FieldActions as yt, FieldContent as bt, FieldDropIndicator as xt, FieldGroup as St, FieldGroupHeading as Ct, FieldIcon as wt, FieldItem as Tt, FieldLibrary as Et, FieldLibraryList as Dt, FieldList as Ot, FieldRemoveButton as kt, FieldRemoveIcon as At, FieldRow as jt, FieldStatusBadge as Mt, FieldSummary as Nt, SelectedField as Pt } from "./field-configurator.js";
48
- import { ComparisonPreview as Ft, IconChoiceGroup as It, IconToggleButton as Lt, InspectorSection as Rt, TypographyControls as zt } from "./formatting/index.js";
49
- import { n as Bt, t as Vt } from "./_chunks/reorder-list-Cc3KmfAN.js";
50
- import { TimelineTrack as Ht } from "./timeline-track/index.js";
51
- import { t as Ut } from "./_chunks/number-input-BeIadZuL.js";
52
- import { MaskedDraft as Wt } from "./masked-input/index.js";
53
- import { t as Gt } from "./_chunks/rich-text-BzI1DyfF.js";
54
- import { AssigneeField as Kt, AssigneePicker as qt, AssigneePickerLayout as Jt } from "./assignee/index.js";
55
- import { i as Yt, n as Xt, r as Zt, t as Qt } from "./_chunks/component-metadata-BENbgTjU.js";
56
- import { n as $t, t as en } from "./_chunks/framework-mount-C-Zwm44H.js";
1
+ import { S as ee, _ as te, a as ne, b as re, c as ie, d as ae, f as oe, g as se, h as e, i as t, l as n, m as r, n as i, o as a, p as o, r as s, s as c, t as l, u, x as d, y as f } from "./_chunks/request-trail-DrhdpWiH.js";
2
+ import { n as p, t as m } from "./_chunks/rating-choice-C-6wcb9U.js";
3
+ import { SvgIcon as h } from "./icons/icon.js";
4
+ import { l as g, n as _, p as v } from "./_chunks/native-control-B_fVA5bL.js";
5
+ import { t as y } from "./_chunks/popup-C35Isk7p.js";
6
+ import { t as b } from "./_chunks/delete-button-CW9vjLnk.js";
7
+ import { RemoveButton as x } from "./buttons/remove-button.js";
8
+ import { A as S, B as C, C as w, D as T, E, F as D, I as O, L as k, M as A, N as j, O as M, P as N, R as P, T as F, _ as I, a as L, b as R, c as z, d as B, f as V, g as H, h as U, i as W, j as G, k as K, l as ce, m as le, n as ue, o as de, p as fe, r as pe, s as me, t as he, u as ge, v as _e, w as ve, x as ye, y as be } from "./_chunks/controls-B_6NJarZ.js";
9
+ import { t as xe } from "./_chunks/tooltip-D4xkio5G.js";
10
+ import { SvgButton as Se } from "./buttons/svg-button.js";
11
+ import { SegmentedSwitch as Ce } from "./segmented-switch/index.js";
12
+ import { EditorList as q, EditorListGroup as J, EditorListItem as Y, EditorListItemContent as X, EditorPane as Z, EditorSplitLayout as Q } from "./editor-layout/index.js";
13
+ 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-3w5FR06n.js";
14
+ import { n as Ne, t as Pe } from "./_chunks/render-m5eMMwFR.js";
15
+ import { t as Fe } from "./_chunks/color-palette-DMJUChWC.js";
16
+ import { t as Ie } from "./_chunks/color-picker-BpCTuIdm.js";
17
+ import { n as Le, r as Re, t as ze } from "./_chunks/choice-chips-SkllS5Kl.js";
18
+ import { FilterBadge as Be, FilterBadgeInfoButton as Ve } from "./filter-badge.js";
19
+ import { ActivityMessage as He } from "./activity-message.js";
20
+ import { n as $ } from "./_chunks/icon-toolbar-DSjOdwM7.js";
21
+ import { Checkbox as Ue } from "./checkbox/index.js";
22
+ import { Switch as We } from "./switch/index.js";
23
+ import { SearchInput as Ge } from "./search-input/index.js";
24
+ import { DisclosureSummary as Ke, FilterChip as qe, FormField as Je } from "./form-controls/presentation.js";
25
+ import { a as Ye, i as Xe, r as Ze } from "./_chunks/date-time-CTOSbzb0.js";
26
+ import { n as Qe, t as $e } from "./_chunks/duration-Bf2OS1V5.js";
27
+ import { CalendarHeader as et, CalendarWeekdays as tt } from "./calendar/header.js";
28
+ import { t as nt } from "./_chunks/calendar-CgXQgkga.js";
29
+ import { CalendarDay as rt } from "./calendar/day.js";
30
+ import { CalendarMonthGrid as it } from "./calendar/month-grid.js";
31
+ import { CalendarYearGrid as at } from "./calendar/year-grid.js";
32
+ import { t as ot } from "./_chunks/picker-DTqET-2W.js";
33
+ import { ResourcePickerAvatar as st } from "./resource-picker/resource-picker-avatar.js";
34
+ import { SharedResourcePicker as ct } from "./resource-picker/resource-picker.js";
35
+ import { PreactRangeSlider as lt } from "./filter/filters/slider/preact.js";
36
+ import { SingleValueSlider as ut, SliderField as dt } from "./filter/filters/slider/single.js";
37
+ import { a as ft, c as pt, d as mt, f as ht, l as gt, m as _t, o as vt, p as yt, r as bt, s as xt, t as St, u as Ct } from "./_chunks/component-CfeHXgIw.js";
38
+ import { BarChart as wt } from "./distribution-chart/bar-chart.js";
39
+ import { LineChart as Tt } from "./distribution-chart/line-chart.js";
40
+ import { AreaChart as Et } from "./distribution-chart/area-chart.js";
41
+ import { DistributionChart as Dt } from "./distribution-chart/index.js";
42
+ import { BrushRange as Ot } from "./brush-range/component.js";
43
+ import { HighlightedTextInput as kt, InlineFieldGroup as At, OptionButton as jt } from "./filter-controls.js";
44
+ import { TimeGrid as Mt } from "./time-grid.js";
45
+ import { _ as Nt, a as Pt, c as Ft, d as It, f as Lt, g as Rt, h as zt, i as Bt, l as Vt, m as Ht, o as Ut, p as Wt, r as Gt, s as Kt, t as qt, u as Jt, v as Yt } from "./_chunks/field-configurator-D5dZRhDe.js";
46
+ import { ComparisonPreview as Xt, IconChoiceGroup as Zt, IconToggleButton as Qt, InspectorSection as $t, TypographyControls as en } from "./formatting/index.js";
47
+ import { n as tn, t as nn } from "./_chunks/reorder-list-DIl1gkV6.js";
48
+ import { TimelineTrack as rn } from "./timeline-track/index.js";
49
+ import { Legend as an } from "./legend.js";
50
+ import { t as on } from "./_chunks/number-input-CmM6_2vR.js";
51
+ import { MaskedDraft as sn } from "./masked-input/index.js";
52
+ import { t as cn } from "./_chunks/rich-text-BnilBbhU.js";
53
+ import { AssigneeField as ln, AssigneePicker as un, AssigneePickerLayout as dn } from "./assignee/index.js";
54
+ import { LookupField as fn } from "./dropdown/lookup-field.js";
55
+ import { i as pn, n as mn, r as hn, t as gn } from "./_chunks/component-metadata-BKd7U8OW.js";
56
+ import { n as _n, t as vn } from "./_chunks/framework-mount-Bk4O_T7T.js";
57
57
  //#region src/component-catalog.ts
58
- var tn = {
59
- AiPromptInput: te,
60
- AiSuggestions: e,
61
- AiActionStatus: ne,
62
- AiResult: ee,
63
- AiAssistant: t,
64
- AiRequestTrail: n,
65
- Icon: r,
66
- RemovableChip: J,
67
- Slider: Q,
68
- RangeSlider: Z,
69
- ResourcePicker: X,
70
- FeedbackPanel: $,
71
- Input: ae,
72
- SvgIcon: r,
73
- SvgButton: B,
74
- DeleteButton: ye,
75
- RemoveButton: be,
76
- Checkbox: ke,
77
- Switch: Ae,
78
- SegmentedSwitch: V,
79
- ChoiceChips: we,
80
- ChoiceChipInfoButton: Ce,
81
- ChoiceChip: Te,
82
- SearchInput: je,
83
- FilterChip: J,
84
- FormField: Ne,
85
- DisclosureSummary: Me,
86
- EditorSplitLayout: q,
87
- EditorPane: K,
88
- EditorList: H,
89
- EditorListItem: W,
90
- EditorListItemContent: G,
91
- EditorListGroup: U,
92
- Calendar: Be,
93
- CalendarHeader: Y,
94
- CalendarWeekdays: ze,
95
- CalendarDay: Ve,
96
- CalendarMonthGrid: He,
97
- CalendarYearGrid: Ue,
98
- CalendarPicker: We,
99
- SharedResourcePicker: X,
100
- ResourcePickerAvatar: Ge,
101
- ColorPalette: xe,
102
- ColorPicker: Se,
103
- Dropdown: qe,
104
- DropdownPopup: Ke,
105
- DropdownPopupContent: Je,
106
- PreactRangeSlider: Z,
107
- SingleValueSlider: Q,
108
- SliderField: Ye,
109
- IconButton: E,
110
- ToggleButton: i,
111
- ButtonGroup: A,
112
- SegmentedControl: ce,
113
- Tabs: C,
114
- TabPanel: oe,
115
- RadioGroup: F,
116
- TextInput: s,
117
- Textarea: c,
118
- NumberInput: g,
119
- NumberStepper: I,
120
- DateInput: j,
121
- TimeInput: u,
122
- DateTimeInput: _,
123
- Chip: S,
124
- FieldHint: y,
125
- FieldError: v,
126
- FormSection: k,
127
- Disclosure: T,
128
- Panel: se,
129
- Toolbar: a,
130
- ToolbarGroup: o,
131
- ToolbarSeparator: d,
132
- Badge: M,
133
- CountBadge: O,
134
- Spinner: l,
135
- LoadingOverlay: x,
136
- EmptyState: N,
137
- Menu: b,
138
- MenuItem: m,
139
- MenuSeparator: P,
140
- Submenu: w,
141
- ResizeHandle: le,
142
- Pagination: f,
143
- CircularProgress: h,
144
- Rating: p,
145
- Button: D,
146
- Pane: K,
147
- SplitLayout: q,
148
- Alert: R,
149
- Listbox: H,
150
- ListboxOption: W,
151
- ListboxGroup: U,
152
- ListboxOptionContent: G,
153
- StatusFeedbackPanel: $,
154
- StatusBadge: Xe,
155
- Combobox: rt,
156
- MultiSelect: $e,
157
- Avatar: Ze,
158
- ProgressBar: it,
159
- Popover: et,
160
- Tooltip: nt,
161
- Dialog: ct,
162
- ConfirmDialog: ot,
163
- DatePicker: Qe,
164
- DateRangePicker: tt,
165
- DialogHeader: _e,
166
- DialogBody: ge,
167
- DialogFooter: ue,
168
- DistributionChart: ft,
169
- BarChart: lt,
170
- LineChart: ut,
171
- AreaChart: dt,
172
- BrushRange: pt,
173
- OptionButton: _t,
174
- HighlightedTextInput: ht,
175
- InlineFieldGroup: gt,
176
- Legend: mt,
177
- TimeGrid: vt,
178
- FieldIcon: wt,
58
+ var yn = {
59
+ AiChat: i,
60
+ AiChatContent: t,
61
+ AiChatComposer: s,
62
+ AiChatEmptyState: ne,
63
+ AiMessage: a,
64
+ AiMessageContent: ie,
65
+ AiMessageActions: c,
66
+ AiReasoning: n,
67
+ AiTask: u,
68
+ AiTaskItem: ae,
69
+ AiPromptInput: e,
70
+ AiSuggestions: te,
71
+ AiActionStatus: oe,
72
+ AiResult: se,
73
+ AiResultView: f,
74
+ AiResultTable: ee,
75
+ AiResultMetrics: d,
76
+ AiResultText: re,
77
+ AiChangePreview: r,
78
+ AiAssistant: o,
79
+ AiRequestTrail: l,
80
+ Input: _,
81
+ SvgIcon: h,
82
+ SvgButton: Se,
83
+ DeleteButton: b,
84
+ RemoveButton: x,
85
+ Checkbox: Ue,
86
+ Switch: We,
87
+ SegmentedSwitch: Ce,
88
+ ChoiceChips: Re,
89
+ ChoiceChipInfoButton: Le,
90
+ ChoiceChip: ze,
91
+ SearchInput: Ge,
92
+ FilterChip: qe,
93
+ FormField: Je,
94
+ DisclosureSummary: Ke,
95
+ EditorSplitLayout: Q,
96
+ EditorPane: Z,
97
+ EditorList: q,
98
+ EditorListItem: Y,
99
+ EditorListItemContent: X,
100
+ EditorListGroup: J,
101
+ Calendar: nt,
102
+ CalendarHeader: et,
103
+ CalendarWeekdays: tt,
104
+ CalendarDay: rt,
105
+ CalendarMonthGrid: it,
106
+ CalendarYearGrid: at,
107
+ CalendarPicker: ot,
108
+ SharedResourcePicker: ct,
109
+ ResourcePickerAvatar: st,
110
+ ColorPalette: Fe,
111
+ ColorPicker: Ie,
112
+ Dropdown: g,
113
+ DropdownPopup: y,
114
+ DropdownPopupContent: v,
115
+ PreactRangeSlider: lt,
116
+ SingleValueSlider: ut,
117
+ SliderField: dt,
118
+ IconButton: fe,
119
+ ToggleButton: N,
120
+ ButtonGroup: ue,
121
+ SegmentedControl: E,
122
+ Tabs: S,
123
+ TabPanel: K,
124
+ RadioGroup: w,
125
+ TextInput: G,
126
+ Textarea: A,
127
+ NumberInput: _e,
128
+ NumberStepper: be,
129
+ DateInput: de,
130
+ TimeInput: j,
131
+ DateTimeInput: me,
132
+ Chip: pe,
133
+ FieldHint: B,
134
+ FieldError: ge,
135
+ FormSection: V,
136
+ Disclosure: z,
137
+ CollapsibleSection: qt,
138
+ LookupField: fn,
139
+ Panel: ye,
140
+ Toolbar: D,
141
+ ToolbarGroup: O,
142
+ ToolbarSeparator: k,
143
+ Badge: C,
144
+ CountBadge: L,
145
+ Spinner: T,
146
+ LoadingOverlay: le,
147
+ EmptyState: ce,
148
+ Menu: U,
149
+ MenuItem: H,
150
+ MenuSeparator: I,
151
+ Submenu: M,
152
+ ResizeHandle: F,
153
+ Pagination: R,
154
+ CircularProgress: W,
155
+ Rating: ve,
156
+ Button: he,
157
+ Pane: Z,
158
+ SplitLayout: Q,
159
+ Alert: P,
160
+ Listbox: q,
161
+ ListboxOption: Y,
162
+ ListboxGroup: J,
163
+ ListboxOptionContent: X,
164
+ StatusFeedbackPanel: Ne,
165
+ StatusBadge: Pe,
166
+ Combobox: vt,
167
+ MultiSelect: mt,
168
+ Avatar: ft,
169
+ ProgressBar: yt,
170
+ Popover: ht,
171
+ Tooltip: _t,
172
+ Dialog: Ct,
173
+ ConfirmDialog: xt,
174
+ DatePicker: pt,
175
+ DateRangePicker: gt,
176
+ DialogHeader: je,
177
+ DialogBody: Ae,
178
+ DialogFooter: we,
179
+ DistributionChart: Dt,
180
+ BarChart: wt,
181
+ LineChart: Tt,
182
+ AreaChart: Et,
183
+ BrushRange: Ot,
184
+ OptionButton: jt,
185
+ HighlightedTextInput: kt,
186
+ InlineFieldGroup: At,
187
+ Legend: an,
188
+ TimeGrid: Mt,
189
+ FieldIcon: Ft,
179
190
  FieldSummary: Nt,
180
- FieldLibrary: Et,
181
- FieldGroupHeading: Ct,
182
- FieldGroup: St,
183
- FieldList: Ot,
184
- FieldRow: jt,
185
- FieldContent: bt,
186
- FieldItem: Tt,
187
- FieldLibraryList: Dt,
188
- SelectedField: Pt,
189
- FieldActions: yt,
190
- FieldStatusBadge: Mt,
191
- FieldRemoveButton: kt,
192
- FieldRemoveIcon: At,
193
- FieldDropIndicator: xt,
194
- DialogForm: he,
195
- DialogCloseButton: fe,
196
- DialogActionFooter: ve,
197
- DialogActions: me,
198
- DialogTitleInput: de,
199
- EditableDialogHeader: pe,
200
- ControlTooltip: z,
201
- InspectorSection: Rt,
202
- IconChoiceGroup: It,
203
- IconToggleButton: Lt,
204
- TypographyControls: zt,
205
- ComparisonPreview: Ft,
206
- FilterBadgeInfoButton: De,
207
- FilterBadge: Ee,
208
- RatingStar: re,
209
- RatingChoice: ie,
210
- ReorderList: Bt,
211
- ReorderHandle: Vt,
212
- TimelineTrack: Ht,
213
- ActivityMessage: Oe,
214
- PdfViewer: st,
215
- PdfViewerToolbar: at,
216
- NumberDraft: Ut,
217
- MaskedDraft: Wt,
218
- DurationField: Le,
219
- DurationDraft: Re,
220
- MarkdownEditor: Gt,
221
- TemporalPicker: Pe,
222
- TemporalDraft: Fe,
223
- DateTimeField: Ie,
224
- AssigneePicker: qt,
225
- AssigneeField: Kt,
226
- AssigneePickerLayout: Jt,
227
- NativeSelect: L
191
+ FieldLibrary: Jt,
192
+ FieldGroupHeading: Kt,
193
+ FieldGroup: Ut,
194
+ FieldList: Lt,
195
+ FieldRow: zt,
196
+ FieldContent: Bt,
197
+ FieldItem: Vt,
198
+ FieldLibraryList: It,
199
+ SelectedField: Yt,
200
+ FieldActions: Gt,
201
+ FieldStatusBadge: Rt,
202
+ FieldRemoveButton: Wt,
203
+ FieldRemoveIcon: Ht,
204
+ FieldDropIndicator: Pt,
205
+ DialogForm: ke,
206
+ DialogCloseButton: Ee,
207
+ DialogActionFooter: Me,
208
+ DialogActions: Oe,
209
+ DialogTitleInput: Te,
210
+ EditableDialogHeader: De,
211
+ ControlTooltip: xe,
212
+ InspectorSection: $t,
213
+ IconChoiceGroup: Zt,
214
+ IconToggleButton: Qt,
215
+ TypographyControls: en,
216
+ ComparisonPreview: Xt,
217
+ FilterBadgeInfoButton: Ve,
218
+ FilterBadge: Be,
219
+ RatingStar: p,
220
+ RatingChoice: m,
221
+ ReorderList: tn,
222
+ ReorderHandle: nn,
223
+ TimelineTrack: rn,
224
+ IconToolbar: $,
225
+ ActivityMessage: He,
226
+ PdfViewer: St,
227
+ PdfViewerToolbar: bt,
228
+ NumberDraft: on,
229
+ MaskedDraft: sn,
230
+ DurationField: Qe,
231
+ DurationDraft: $e,
232
+ HtmlEditor: cn,
233
+ TemporalPicker: Ye,
234
+ TemporalDraft: Xe,
235
+ DateTimeField: Ze,
236
+ AssigneePicker: un,
237
+ AssigneeField: ln,
238
+ AssigneePickerLayout: dn
228
239
  };
229
240
  //#endregion
230
- export { Qt as componentModels, Xt as componentRenderSlots, en as createFrameworkMount, Zt as dropdownRenderSlots, Yt as pdfViewerRenderSlots, tn as uiComponents, $t as withFrameworkContent };
241
+ export { gn as componentModels, mn as componentRenderSlots, vn as createFrameworkMount, hn as dropdownRenderSlots, pn as pdfViewerRenderSlots, yn as uiComponents, _n as withFrameworkContent };
@@ -0,0 +1,14 @@
1
+ import { h } from './_vendor/preact/src/index';
2
+ export interface HistoryControlsProps {
3
+ onUndo?(): void;
4
+ onRedo?(): void;
5
+ canUndo: boolean;
6
+ canRedo: boolean;
7
+ undoLabel?: string;
8
+ redoLabel?: string;
9
+ label?: string;
10
+ undoCount?: number;
11
+ redoCount?: number;
12
+ }
13
+ /** Shared history presentation; the consumer retains ownership of replay and state. */
14
+ export declare function HistoryControls({ onUndo, onRedo, canUndo, canRedo, undoLabel, redoLabel, label, undoCount, redoCount, }: HistoryControlsProps): h.JSX.Element;
@@ -0,0 +1,27 @@
1
+ import { t as e } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
2
+ import { SvgButton as t } from "./buttons/svg-button.js";
3
+ import "./_chunks/rotate-left-BF6G883o.js";
4
+ import "./_chunks/rotate-right-Iha5ScJ1.js";
5
+ //#region src/history-controls.tsx
6
+ function n({ onUndo: n, onRedo: r, canUndo: i, canRedo: a, undoLabel: o = "Undo", redoLabel: s = "Redo", label: c = "History", undoCount: l, redoCount: u }) {
7
+ return /* @__PURE__ */ e("div", {
8
+ class: "rv-history-controls",
9
+ role: "group",
10
+ "aria-label": c,
11
+ children: [n && /* @__PURE__ */ e(t, {
12
+ icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M24 192l144 0c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-46.7-46.7c75.3-58.6 184.3-53.3 253.5 15.9 75 75 75 196.5 0 271.5s-196.5 75-271.5 0c-10.2-10.2-19-21.3-26.4-33-9.5-14.9-29.3-19.3-44.2-9.8s-19.3 29.3-9.8 44.2C49.7 408.7 61.4 423.5 75 437 175 537 337 537 437 437S537 175 437 75C342.8-19.3 193.3-24.7 92.7 58.8L41 7C34.1 .2 23.8-1.9 14.8 1.8S0 14.3 0 24L0 168c0 13.3 10.7 24 24 24z\"/></svg>",
13
+ label: o,
14
+ badge: l,
15
+ disabled: !i,
16
+ onClick: n
17
+ }), r && /* @__PURE__ */ e(t, {
18
+ icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M488 192l-144 0c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l46.7-46.7c-75.3-58.6-184.3-53.3-253.5 15.9-75 75-75 196.5 0 271.5s196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c94.3-94.3 243.7-99.6 344.3-16.2L471 7c6.9-6.9 17.2-8.9 26.2-5.2S512 14.3 512 24l0 144c0 13.3-10.7 24-24 24z\"/></svg>",
19
+ label: s,
20
+ badge: u,
21
+ disabled: !a,
22
+ onClick: r
23
+ })]
24
+ });
25
+ }
26
+ //#endregion
27
+ export { n as HistoryControls };
@@ -0,0 +1,62 @@
1
+ import { h, Ref } from './_vendor/preact/src/index';
2
+ /** Bundled SVG assets; independent of font coverage and platform glyph metrics. */
3
+ export declare const ICON_TOOLBAR_ICONS: {
4
+ readonly plus: string;
5
+ readonly minus: string;
6
+ readonly arrowLeft: string;
7
+ readonly arrowRight: string;
8
+ readonly arrowUp: string;
9
+ readonly arrowDown: string;
10
+ readonly reset: string;
11
+ };
12
+ /** Inline SVG styles remain portable when a consumer exports its document. */
13
+ export declare const SVG_TOOLBAR_BUTTON_STYLES = "\n .rv-svg-toolbar-button { cursor: pointer; }\n .rv-svg-toolbar-button[aria-pressed=\"true\"] > rect { fill: currentColor; fill-opacity: .14; }\n .rv-svg-toolbar-button[aria-disabled=\"true\"] { opacity: .4; cursor: default; }\n .rv-svg-toolbar-button:not([aria-disabled=\"true\"]):hover > rect { fill: currentColor; fill-opacity: .1; }\n .rv-svg-toolbar-button:focus-visible { outline: none; }\n .rv-svg-toolbar-button:focus-visible > rect { stroke: currentColor; stroke-width: 2; }\n";
14
+ export interface SvgToolbarButtonProps {
15
+ action: string;
16
+ label: string;
17
+ title?: string;
18
+ text?: string;
19
+ /** Trusted bundled SVG markup, as accepted by the shared SvgIcon component. */
20
+ icon?: string;
21
+ suffixIcon?: string;
22
+ pressed?: boolean;
23
+ enabled: boolean;
24
+ x: number;
25
+ y: number;
26
+ foreground?: string;
27
+ /** Keep a custom text caption visible, retaining the SVG icon as a fallback. */
28
+ showText?: boolean;
29
+ attributes?: {
30
+ [attribute: `data-${string}`]: string;
31
+ };
32
+ onRectangle?: (element: SVGRectElement) => void;
33
+ onText?: (element: SVGTextElement) => void;
34
+ onActivate?: (action: string) => void;
35
+ onEscape?: () => void;
36
+ }
37
+ /** Shared SVG icon-button presentation; the consumer owns each action. */
38
+ export declare function SvgToolbarButton(props: SvgToolbarButtonProps): h.JSX.Element;
39
+ /** SVG presentation for hosts that own the button lifecycle. */
40
+ export declare function SvgToolbarButtonView(props: SvgToolbarButtonProps & {
41
+ buttonRef?: Ref<SVGGElement>;
42
+ }): h.JSX.Element;
43
+ export interface IconToolbarAction {
44
+ id: string;
45
+ label: string;
46
+ title?: string;
47
+ text?: string;
48
+ /** Trusted bundled SVG markup, as accepted by the shared SvgIcon component. */
49
+ icon?: string;
50
+ suffixIcon?: string;
51
+ pressed?: boolean;
52
+ disabled?: boolean;
53
+ }
54
+ export interface IconToolbarProps {
55
+ actions: readonly IconToolbarAction[];
56
+ label?: string;
57
+ onAction: (action: string) => void;
58
+ /** Restore the owning composite focus when Escape dismisses an action tooltip. */
59
+ onEscape?: () => void;
60
+ }
61
+ /** Compact SVG icon toolbar; the consumer supplies icons, labels and actions. */
62
+ export declare function IconToolbar({ actions, label, onAction, onEscape, }: IconToolbarProps): h.JSX.Element;
@@ -0,0 +1 @@
1
+ export { t as ICON_TOOLBAR_ICONS, n as IconToolbar, r as SVG_TOOLBAR_BUTTON_STYLES, i as SvgToolbarButton, a as SvgToolbarButtonView } from "./_chunks/icon-toolbar-DSjOdwM7.js";
package/icons/icon.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { h } from '../_vendor/preact/src/index';
2
2
  /** Presentation for trusted, bundled SVG assets shared by plugin controls. */
3
- export declare function SvgIcon({ svg, className, size }: {
3
+ export declare function SvgIcon({ svg, className, size, }: {
4
4
  svg: string;
5
5
  className?: string;
6
6
  size?: number;
package/legend.d.ts CHANGED
@@ -9,7 +9,7 @@ export interface LegendItem {
9
9
  marker?: 'solid' | 'outline' | 'dashed';
10
10
  }
11
11
  /** Inline, wrapping key for calendars, filters and other compact visual controls. */
12
- export declare function Legend({ label, items, className, itemClassName }: {
12
+ export declare function Legend({ label, items, className, itemClassName, }: {
13
13
  label: string;
14
14
  items: readonly LegendItem[];
15
15
  className?: string;
@@ -1,6 +1,6 @@
1
1
  import { a as e, i as t, t as n } from "../_chunks/hooks.module-CG3gN83z.js";
2
2
  import { t as r } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
3
- import { Input as i } from "../native-control.js";
3
+ import { n as i } from "../_chunks/native-control-B_fVA5bL.js";
4
4
  import { EditorActions as a } from "../editor-actions.js";
5
5
  //#region src/masked-input/model.ts
6
6
  function o(e) {