@revolist/ui 4.0.5-rc → 4.0.5

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 (356) hide show
  1. package/MIGRATION.md +36 -0
  2. package/OWNERSHIP.md +36 -36
  3. package/README.md +65 -408
  4. package/_button.scss +6 -2
  5. package/_chunks/{calendar-DsXIhybL.js → calendar-BQYQLu8Q.js} +5 -5
  6. package/_chunks/{cell-visuals-E-2oEKHg.js → cell-visuals-r6DOOhGh.js} +7 -7
  7. package/_chunks/{chart-frame-CuZABXVI.js → chart-frame-GprenwEg.js} +17 -13
  8. package/_chunks/{chevron-left-D0nc4Z5S.js → chevron-right-CM3ljziP.js} +2 -2
  9. package/_chunks/{choice-chips-BhP8MZjs.js → choice-chips-C5OxD0GV.js} +3 -3
  10. package/_chunks/{color-palette-DMJUChWC.js → color-palette-7siNch__.js} +3 -3
  11. package/_chunks/{color-picker-B4TQvxxB.js → color-picker-Cfc9eqZb.js} +4 -4
  12. package/_chunks/{component-qKctqdzk.js → component-C3k_8uIq.js} +44 -45
  13. package/_chunks/{component-metadata-BMOOmqx5.js → component-metadata-DlVkpW3h.js} +1 -9
  14. package/_chunks/{configurator-actions-C19O1rda.js → configurator-actions-vRnI54mO.js} +3 -3
  15. package/_chunks/{control-BkWukVt9.js → control-BRfF5DWQ.js} +32 -7
  16. package/_chunks/{controller-hRBm_Lfz.js → controller-BbiQuRt-.js} +5 -5
  17. package/_chunks/{controls-BLQnWEd7.js → controls-B3EgM_DS.js} +160 -132
  18. package/_chunks/{date-control-Cgw5PwlZ.js → date-control-87dcA5br.js} +5 -5
  19. package/_chunks/{date-time-B8rK5gpC.js → date-time-CfiFYodx.js} +316 -293
  20. package/_chunks/{delete-button-CW9vjLnk.js → delete-button-jneO24wa.js} +1 -1
  21. package/_chunks/dialog.parts-NqEEVc9P.js +131 -0
  22. package/_chunks/{duration-DwFXonEV.js → duration-BGZ_qJ99.js} +10 -7
  23. package/_chunks/{editor-commit-Bq3wSgvr.js → editor-commit-Dyo-FMgD.js} +1 -1
  24. package/_chunks/{editor-popup-BaaxL89T.js → editor-popup-NNP9Fh9U.js} +12 -11
  25. package/_chunks/field-configurator-DPulsY3l.js +288 -0
  26. package/_chunks/{field-context-D57PnBbH.js → field-context-C4_WrO2z.js} +1 -1
  27. package/_chunks/{framework-mount--RTLIqE-.js → framework-mount-D4I8HpVp.js} +2 -2
  28. package/_chunks/{icon-toolbar-xbqa0hu9.js → icon-toolbar-BAAdEvr9.js} +41 -35
  29. package/_chunks/{icons-Ci5mADVc.js → icons-B4qN13Yj.js} +1 -1
  30. package/_chunks/{iso-B0YHBK7m.js → iso-CJQl2kmq.js} +1 -1
  31. package/_chunks/{model-mPO2tG2f.js → model-CFrBgRHm.js} +3 -3
  32. package/_chunks/mount-C8CnIW9k.js +267 -0
  33. package/_chunks/{native.view-ByyZ1CT5.js → native-CJm3eq3-.js} +1 -1
  34. package/_chunks/{native-control-DO0d1kgx.js → native-control-um1L1wgZ.js} +124 -111
  35. package/_chunks/{number-input-s9ddPwX6.js → number-input-CKiA4d1N.js} +4 -4
  36. package/_chunks/{picker-AY05b41W.js → picker-igNshTRC.js} +5 -5
  37. package/_chunks/{popup-UXGCiv3n.js → popup-DECYM9FI.js} +21 -10
  38. package/_chunks/{rating-choice-BEs_QFZC.js → rating-choice-CepVfGUq.js} +2 -2
  39. package/_chunks/{render-m5eMMwFR.js → render-bTk3curw.js} +2 -2
  40. package/_chunks/{reorder-list-A49l172e.js → reorder-list-B4w3aARt.js} +2 -2
  41. package/_chunks/{request-trail-DCOfa5zw.js → request-trail-B1zVRPEf.js} +151 -142
  42. package/_chunks/{rich-text-xfMWadGi.js → rich-text-Ci4d6dHn.js} +11 -11
  43. package/_chunks/selection-list-tooltips-m00U3L6z.js +42 -0
  44. package/_chunks/{title-tooltip-Cw6LOZhb.js → title-tooltip-ncldbUwS.js} +2 -2
  45. package/_chunks/{tooltip-D4xkio5G.js → tooltip-h-Z8yFBY.js} +2 -2
  46. package/_chunks/{tooltip-owner-DjdvqKzz.js → tooltip-owner-BYho-vJl.js} +1 -1
  47. package/_chunks/{tooltip-session-B6X6x8G_.js → tooltip-session-CBtRMBPr.js} +3 -3
  48. package/_chunks/{tooltip-text-BXsUEmBH.js → tooltip-text-BN5WdGHn.js} +2 -2
  49. package/_chunks/{top-layer-popup-CNSDdfJV.js → top-layer-popup-CKJ7VJOF.js} +3 -3
  50. package/_dialog.scss +57 -22
  51. package/_form.scss +71 -21
  52. package/_legend.scss +25 -7
  53. package/_variables.scss +34 -32
  54. package/_view-switcher.scss +6 -0
  55. package/activity-message.d.ts +1 -1
  56. package/activity-message.js +1 -1
  57. package/ai/_chat.scss +7 -0
  58. package/ai/_style.scss +27 -20
  59. package/ai/components.d.ts +3 -1
  60. package/ai/index.js +2 -2
  61. package/ai/mount.d.ts +15 -7
  62. package/ai/request-trail.d.ts +9 -3
  63. package/ai/results/_style.scss +3 -0
  64. package/ai/results/index.d.ts +1 -1
  65. package/ai/translations.d.ts +1 -1
  66. package/angular/angular.d.ts +1 -1
  67. package/angular/angular.js +13 -7
  68. package/assignee/assignee.scss +28 -6
  69. package/assignee/index.js +6 -6
  70. package/avatar/avatar.style.scss +23 -6
  71. package/avatar/index.d.ts +25 -2
  72. package/avatar/index.js +2 -2
  73. package/badge.d.ts +1 -1
  74. package/badge.js +1 -1
  75. package/badge.view.d.ts +1 -1
  76. package/brush-range/_brush-range.scss +55 -49
  77. package/brush-range/component.d.ts +1 -3
  78. package/brush-range/component.js +10 -11
  79. package/buttons/delete-button.js +1 -1
  80. package/buttons/delete-button.style.scss +6 -2
  81. package/buttons/remove-button.d.ts +1 -1
  82. package/buttons/remove-button.js +2 -2
  83. package/buttons/remove-button.style.scss +1 -1
  84. package/buttons/svg-button.js +3 -3
  85. package/calendar/_calendar.scss +19 -23
  86. package/calendar/calendar.js +1 -1
  87. package/calendar/day.js +2 -2
  88. package/calendar/header.js +2 -3
  89. package/calendar/index.js +3 -3
  90. package/calendar/model.js +1 -1
  91. package/calendar/month-grid.js +2 -2
  92. package/calendar/translations.js +1 -1
  93. package/calendar/year-grid.js +2 -2
  94. package/cell-input.js +1 -1
  95. package/cell-input.scss +3 -7
  96. package/cell-visuals/badge.style.scss +6 -3
  97. package/cell-visuals/bar-chart.style.scss +2 -1
  98. package/cell-visuals/column-type.style.css +12 -0
  99. package/cell-visuals/index.js +1 -1
  100. package/cell-visuals/progress-line-value.renderer.style.scss +4 -2
  101. package/cell-visuals/progress-line.style.scss +1 -4
  102. package/cell-visuals/sparkline.style.scss +2 -1
  103. package/cell-visuals/timeline.style.css +4 -2
  104. package/checkbox/checkbox.scss +6 -24
  105. package/checkbox/index.js +1 -1
  106. package/choice-chips/index.js +1 -1
  107. package/color-palette/built-in-palettes.js +1 -1
  108. package/color-palette/chart-palettes.js +1 -1
  109. package/color-palette/color-palette.js +1 -1
  110. package/color-palette/color-palette.style.scss +88 -25
  111. package/color-palette/color-picker.constants.js +1 -1
  112. package/color-palette/color-picker.js +2 -2
  113. package/color-palette/color-picker.style.scss +23 -10
  114. package/color-palette/common-palettes.d.ts +1 -1
  115. package/color-palette/common-palettes.js +2 -2
  116. package/color-palette/gantt-palettes.js +1 -1
  117. package/color-palette/native.d.ts +15 -2
  118. package/color-palette/palette.js +1 -1
  119. package/color-palette/pivot-palettes.js +1 -1
  120. package/color-palette/platform-palettes.js +1 -1
  121. package/color-palette/pro-palettes.js +1 -1
  122. package/color-palette/scheduler-palettes.js +1 -1
  123. package/component-catalog.d.ts +3 -6
  124. package/configurator-actions.d.ts +6 -6
  125. package/configurator-actions.js +1 -1
  126. package/configurator-aggregation-list.d.ts +1 -1
  127. package/configurator-aggregation-list.js +19 -17
  128. package/configurator-drop-zone.d.ts +3 -2
  129. package/configurator-drop-zone.js +34 -32
  130. package/configurator-focus.js +1 -1
  131. package/configurator-sections.d.ts +3 -3
  132. package/configurator-sections.js +1 -1
  133. package/control-attributes.js +1 -1
  134. package/control-presentation.d.ts +8 -2
  135. package/control-presentation.js +2 -2
  136. package/controls.d.ts +11 -0
  137. package/controls.js +4 -4
  138. package/core/anchored-popover.js +1 -1
  139. package/core/control-id.js +1 -1
  140. package/core/editor-popup-position.d.ts +6 -2
  141. package/core/editor-popup.d.ts +4 -0
  142. package/core/editor-popup.js +1 -1
  143. package/core/motion.js +1 -1
  144. package/{_chunks/popover-controller-D-AvKQ7B.js → core/popover-controller.js} +8 -8
  145. package/core/selection-list-tooltips.d.ts +2 -0
  146. package/core/tooltip.d.ts +1 -1
  147. package/core/top-layer-popup.d.ts +1 -1
  148. package/core/top-layer-popup.js +1 -1
  149. package/date-time/attach.d.ts +1 -1
  150. package/date-time/date-control.d.ts +1 -1
  151. package/date-time/field.d.ts +4 -2
  152. package/date-time/index.js +1 -1
  153. package/date-time/style.scss +206 -46
  154. package/date-time/time-selection.d.ts +1 -1
  155. package/date-time/types.d.ts +5 -1
  156. package/dialog/dialog-action-footer.d.ts +17 -2
  157. package/dialog/dialog.dom.d.ts +15 -2
  158. package/dialog/dialog.dom.js +3 -3
  159. package/dialog/dialog.drag.js +1 -1
  160. package/dialog/dialog.parts.d.ts +1 -1
  161. package/dialog/dialog.parts.js +1 -1
  162. package/dialog/dialog.preact.js +1 -1
  163. package/distribution-chart/_distribution-chart.scss +115 -23
  164. package/distribution-chart/area-chart.js +2 -2
  165. package/distribution-chart/bar-chart.js +2 -2
  166. package/distribution-chart/chart-frame.d.ts +1 -1
  167. package/distribution-chart/index.d.ts +1 -1
  168. package/distribution-chart/index.js +1 -1
  169. package/distribution-chart/line-chart.js +2 -2
  170. package/dropdown/content.js +1 -1
  171. package/dropdown/control.js +1 -1
  172. package/dropdown/dropdown.service.js +1 -1
  173. package/dropdown/dropdown.types.d.ts +1 -1
  174. package/dropdown/editor-dropdown.style.scss +19 -9
  175. package/dropdown/index.js +2 -2
  176. package/dropdown/lookup-field.d.ts +5 -0
  177. package/dropdown/lookup-field.js +3 -3
  178. package/dropdown/popup.js +1 -1
  179. package/duration/index.js +1 -1
  180. package/editor-actions.js +2 -2
  181. package/editor-layout/index.d.ts +4 -4
  182. package/editor-layout/index.js +40 -35
  183. package/editor-layout/style.scss +82 -18
  184. package/favicon.svg +9 -0
  185. package/field-configurator.d.ts +22 -3
  186. package/field-configurator.js +1 -1
  187. package/field-reorder.hook.js +1 -1
  188. package/field-reorder.js +1 -1
  189. package/filter/filters/slider/_single-slider.scss +57 -38
  190. package/filter/filters/slider/_slider.scss +41 -16
  191. package/filter/filters/slider/component.js +1 -1
  192. package/filter/filters/slider/control.js +1 -1
  193. package/filter/filters/slider/inputs.js +1 -1
  194. package/filter/filters/slider/logic.js +1 -1
  195. package/filter/filters/slider/preact.js +1 -1
  196. package/filter/filters/slider/runtime.js +3 -3
  197. package/filter/filters/slider/single.js +2 -2
  198. package/filter-badge.js +2 -2
  199. package/filter-controls.d.ts +0 -1
  200. package/filter-controls.js +6 -7
  201. package/form-controls/index.d.ts +10 -2
  202. package/form-controls/index.js +3 -3
  203. package/form-controls/presentation.d.ts +1 -1
  204. package/form-controls/presentation.js +2 -2
  205. package/formatting/index.d.ts +1 -1
  206. package/formatting/index.js +7 -7
  207. package/formatting/styles.scss +13 -11
  208. package/framework.js +201 -205
  209. package/history-controls.js +1 -1
  210. package/html-controls.js +1 -1
  211. package/icon-toolbar.d.ts +6 -2
  212. package/icon-toolbar.js +1 -1
  213. package/icons/icon.d.ts +1 -1
  214. package/icons/icon.js +1 -1
  215. package/legend.d.ts +1 -1
  216. package/legend.js +1 -1
  217. package/masked-input/index.js +4 -4
  218. package/native-control.js +1 -1
  219. package/native-controls.d.ts +54 -2
  220. package/native-styles.css +1 -1
  221. package/native-styles.scss +6 -2
  222. package/native.d.ts +3 -3
  223. package/native.js +35 -35
  224. package/number-input/index.d.ts +1 -1
  225. package/number-input/index.js +1 -1
  226. package/package.json +49 -1
  227. package/pagination.js +12 -12
  228. package/pdf-viewer/controller.js +1 -1
  229. package/pdf-viewer/header.d.ts +1 -1
  230. package/pdf-viewer/index.d.ts +2 -2
  231. package/pdf-viewer/index.js +3 -3
  232. package/pdf-viewer/search-bar.d.ts +1 -1
  233. package/pdf-viewer/status.d.ts +1 -1
  234. package/pdf-viewer/style.scss +203 -42
  235. package/preact-mount.js +1 -1
  236. package/preact.d.ts +6 -10
  237. package/preact.js +108 -70
  238. package/progress/_bar.scss +9 -3
  239. package/progress/_circular.scss +2 -1
  240. package/progress/bar.js +1 -1
  241. package/progress/circular.js +1 -1
  242. package/progress/range.js +1 -1
  243. package/rating-choice.js +1 -1
  244. package/react-adapter.d.ts +4 -2
  245. package/react-control.d.ts +2 -0
  246. package/react-control.js +3 -3
  247. package/react.d.ts +2 -8
  248. package/react.js +55 -56
  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-avatar.js +1 -1
  253. package/resource-picker/resource-picker-option.js +1 -1
  254. package/resource-picker/resource-picker-popup.js +2 -2
  255. package/resource-picker/resource-picker.js +74 -72
  256. package/resource-picker/resource-picker.scss +62 -34
  257. package/resource-picker/resource-picker.utils.js +1 -1
  258. package/rich-text/index.js +1 -1
  259. package/rich-text/style.scss +203 -49
  260. package/rich-text/toolbar.d.ts +1 -1
  261. package/robots.txt +4 -0
  262. package/search-input/index.js +2 -2
  263. package/search-input/native.d.ts +21 -2
  264. package/segmented-switch/index.js +1 -1
  265. package/select.js +1 -1
  266. package/selection-list.d.ts +1 -0
  267. package/selection-list.js +3 -1
  268. package/status-feedback/badge.js +2 -2
  269. package/status-feedback/exit-snapshot.js +2 -2
  270. package/status-feedback/header.js +2 -2
  271. package/status-feedback/icons.js +1 -1
  272. package/status-feedback/index.js +1 -1
  273. package/status-feedback/item.js +2 -2
  274. package/status-feedback/motion.js +1 -1
  275. package/status-feedback/placement.js +1 -1
  276. package/status-feedback/popover.js +2 -2
  277. package/status-feedback/render.js +1 -1
  278. package/status-feedback/status-feedback.scss +124 -35
  279. package/styles/_activity-message.scss +24 -7
  280. package/styles/_alert.scss +78 -17
  281. package/styles/_cell-editor-frame.scss +11 -0
  282. package/styles/_compositions.scss +399 -79
  283. package/styles/_control.scss +30 -8
  284. package/styles/_disclosure.scss +15 -5
  285. package/styles/_editor-counter.scss +16 -6
  286. package/styles/_editor-slider.scss +8 -4
  287. package/styles/_field-configurator.scss +194 -42
  288. package/styles/_fields-grid.scss +18 -4
  289. package/styles/_filter-controls.scss +10 -2
  290. package/styles/_icon-action.scss +48 -15
  291. package/styles/_loading.scss +12 -3
  292. package/styles/_motion.scss +32 -9
  293. package/styles/_palette.scss +0 -24
  294. package/styles/_primitives.scss +348 -96
  295. package/styles/_theme.scss +130 -86
  296. package/styles/_thresholds.scss +28 -25
  297. package/styles/_time-grid.scss +8 -3
  298. package/styles/_tokens.scss +6 -1
  299. package/styles/color-roles.js +1 -1
  300. package/styles/configurator-actions.scss +126 -26
  301. package/styles/pagination.css +213 -0
  302. package/styles/{legacy-rating.css → rating.css} +8 -3
  303. package/styles.css +1 -1
  304. package/styles.scss +3 -5
  305. package/surfaces.d.ts +37 -4
  306. package/surfaces.js +8 -8
  307. package/svelte/UiComponent.svelte +44 -11
  308. package/svelte-control.js +1 -1
  309. package/svelte.d.ts +1 -1
  310. package/svelte.js +5 -5
  311. package/switch/index.js +2 -2
  312. package/time-grid.d.ts +0 -1
  313. package/time-grid.js +6 -6
  314. package/timeline-track/_style.scss +96 -24
  315. package/timeline-track/index.js +3 -3
  316. package/timeline-track/model.js +1 -1
  317. package/ui.css +1 -1
  318. package/view-switcher.d.ts +23 -0
  319. package/vue-badge.js +1 -1
  320. package/vue-control.js +1 -1
  321. package/vue-segmented-switch.js +1 -1
  322. package/vue.d.ts +5 -23
  323. package/vue.js +84 -91
  324. package/_chunks/badge.view-D30pMUfi.js +0 -14
  325. package/_chunks/chevron-right-sxHQMSkq.js +0 -4
  326. package/_chunks/dialog.parts-BSbvnEwX.js +0 -134
  327. package/_chunks/field-configurator-1eQP0tKy.js +0 -223
  328. package/_chunks/mount-D1i5DLRn.js +0 -266
  329. package/_shared/data-query/binding.d.ts +0 -30
  330. package/_shared/data-query/blocks.d.ts +0 -30
  331. package/_shared/data-query/commands.d.ts +0 -47
  332. package/_shared/data-query/contracts.d.ts +0 -106
  333. package/_shared/data-query/cursor-reader.d.ts +0 -25
  334. package/_shared/data-query/direct-binding.d.ts +0 -3
  335. package/_shared/data-query/index.d.ts +0 -23
  336. package/_shared/data-query/infinite-binding.d.ts +0 -18
  337. package/_shared/data-query/keys.d.ts +0 -9
  338. package/_shared/data-query/limiter.d.ts +0 -12
  339. package/_shared/data-query/load-options.d.ts +0 -25
  340. package/_shared/data-query/materialize.d.ts +0 -2
  341. package/_shared/data-query/policy.d.ts +0 -14
  342. package/_shared/data-query/provider-queries.d.ts +0 -22
  343. package/_shared/data-query/reader.d.ts +0 -23
  344. package/_shared/data-query/remote-load.d.ts +0 -7
  345. package/_shared/data-query/source.d.ts +0 -40
  346. package/avatar/index.view.d.ts +0 -25
  347. package/color-palette/native.view.d.ts +0 -15
  348. package/control-presentation.view.d.ts +0 -8
  349. package/dialog/dialog-action-footer.view.d.ts +0 -20
  350. package/dialog/dialog.dom.view.d.ts +0 -15
  351. package/form-controls/index.view.d.ts +0 -10
  352. package/formatting/control-tooltip.d.ts +0 -2
  353. package/native-controls.view.d.ts +0 -54
  354. package/search-input/native.view.d.ts +0 -21
  355. package/styles/legacy-pagination.css +0 -129
  356. package/surfaces.view.d.ts +0 -33
@@ -2,7 +2,10 @@
2
2
 
3
3
  .rv-editor-split {
4
4
  display: grid;
5
- grid-template-columns: var(--rv-editor-columns, minmax(0, 1fr) minmax(0, 1fr));
5
+ grid-template-columns: var(
6
+ --rv-editor-columns,
7
+ minmax(0, 1fr) minmax(0, 1fr)
8
+ );
6
9
  gap: var(--rv-editor-gap, 12px);
7
10
  min-width: 0;
8
11
  min-height: 0;
@@ -11,7 +14,8 @@
11
14
  min-width: 0;
12
15
  min-height: 0;
13
16
  overflow: hidden;
14
- border: 1px solid var(--rv-editor-divider, var(--rv-dialog-border, var(--rv-ui-border)));
17
+ border: 1px solid
18
+ var(--rv-editor-divider, var(--rv-dialog-border, var(--rv-ui-border)));
15
19
  border-radius: var(--rv-editor-radius, 10px);
16
20
  background: var(--rv-dialog-bg, var(--rv-ui-surface));
17
21
  }
@@ -61,24 +65,84 @@
61
65
  }
62
66
  .rv-editor-list__item {
63
67
  transition:
64
- background-color var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out),
68
+ background-color var(--rv-ui-motion-fast, 120ms)
69
+ var(--rv-ui-motion-ease, ease-out),
65
70
  color var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out),
66
71
  opacity var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out);
67
72
  }
68
- .rv-editor-list__item:hover { background: var(--rv-ui-surface-hover); }
69
- .rv-editor-list__item.rv-editor-list__item--selected { background: var(--rv-ui-selected-bg); color: var(--rv-ui-selected-fg); }
70
- .rv-editor-list__item:focus-visible { outline: 2px solid var(--rv-ui-accent); outline-offset: -2px; }
71
- @media (forced-colors: active) { .rv-editor-list__item--selected { outline: 2px solid Highlight; } }
73
+ .rv-editor-list__item:hover {
74
+ background: var(--rv-ui-surface-hover);
75
+ }
76
+ .rv-editor-list__item.rv-editor-list__item--selected {
77
+ background: var(--rv-ui-selected-bg);
78
+ color: var(--rv-ui-selected-fg);
79
+ }
80
+ .rv-editor-list__item:focus-visible {
81
+ outline: 2px solid var(--rv-ui-accent);
82
+ outline-offset: -2px;
83
+ }
84
+ @media (forced-colors: active) {
85
+ .rv-editor-list__item--selected {
86
+ outline: 2px solid Highlight;
87
+ }
88
+ }
72
89
 
73
- .rv-editor-list__item:disabled { opacity: .55; cursor: not-allowed; }
90
+ .rv-editor-list__item:disabled {
91
+ opacity: 0.55;
92
+ cursor: not-allowed;
93
+ }
74
94
 
75
- .rv-editor-list__content { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 9px; font-size: 12px; line-height: 1.4; grid-column: 1 / -1; min-width: 0; }
76
- .rv-editor-list__content--text { grid-template-columns: minmax(0, 1fr); }
77
- .rv-editor-list__icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; }
78
- .rv-editor-list__icon svg { display: block; width: 13px; height: 13px; fill: currentColor; }
79
- .rv-editor-list__copy { display: grid; min-width: 0; gap: 0; }
80
- .rv-editor-list__label, .rv-editor-list__description { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
81
- .rv-editor-list__label { font-weight: var(--rv-editor-list-font-weight, 500); }
82
- .rv-editor-list__description { font-size: 11px; color: var(--rv-ui-text-muted); }
83
- .rv-editor-list__group { display: grid; gap: 2px; }
84
- .rv-editor-list__group-label { font-weight: var(--rv-editor-list-font-weight, inherit); padding: 8px 8px 4px; font-size: 11px; color: var(--rv-ui-text-muted); }
95
+ .rv-editor-list__content {
96
+ display: grid;
97
+ grid-template-columns: 20px minmax(0, 1fr);
98
+ align-items: center;
99
+ gap: 9px;
100
+ font-size: 12px;
101
+ line-height: 1.4;
102
+ grid-column: 1 / -1;
103
+ min-width: 0;
104
+ }
105
+ .rv-editor-list__content--text {
106
+ grid-template-columns: minmax(0, 1fr);
107
+ }
108
+ .rv-editor-list__icon {
109
+ display: inline-flex;
110
+ align-items: center;
111
+ justify-content: center;
112
+ width: 16px;
113
+ height: 16px;
114
+ }
115
+ .rv-editor-list__icon svg {
116
+ display: block;
117
+ width: 13px;
118
+ height: 13px;
119
+ fill: currentColor;
120
+ }
121
+ .rv-editor-list__copy {
122
+ display: grid;
123
+ min-width: 0;
124
+ gap: 0;
125
+ }
126
+ .rv-editor-list__label,
127
+ .rv-editor-list__description {
128
+ overflow: hidden;
129
+ text-overflow: ellipsis;
130
+ white-space: nowrap;
131
+ }
132
+ .rv-editor-list__label {
133
+ font-weight: var(--rv-editor-list-font-weight, 500);
134
+ }
135
+ .rv-editor-list__description {
136
+ font-size: 11px;
137
+ color: var(--rv-ui-text-muted);
138
+ }
139
+ .rv-editor-list__group {
140
+ display: grid;
141
+ gap: 2px;
142
+ }
143
+ .rv-editor-list__group-label {
144
+ font-weight: var(--rv-editor-list-font-weight, inherit);
145
+ padding: 8px 8px 4px;
146
+ font-size: 11px;
147
+ color: var(--rv-ui-text-muted);
148
+ }
package/favicon.svg ADDED
@@ -0,0 +1,9 @@
1
+ <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0 0H14.0974L14.9087 0.0524998C15.7049 0.107143 16.4527 0.171429 17.1232 0.274286C18.361 0.48 19.5301 0.891428 20.5616 1.50857C21.6619 2.12571 22.4871 2.94857 23.106 3.97714C23.5186 4.66286 23.7937 5.41714 23.9312 6.30857L23.9656 6.89143C23.9828 7.23429 24 7.68 24 8.09143L23.9954 8.47337C23.98 9.13368 23.9312 9.66857 23.9312 9.66857C23.7937 10.9029 23.3811 12 22.5559 12.96C21.3868 14.3314 17.8797 15.4286 17.6734 15.4286L18.4269 16.485C20.6392 19.565 22.4159 21.8415 23.7568 23.3145C24.0688 23.6571 24.0688 24 23.5186 24H15.4728L5.70774 10.4914H15.8854C17.2607 10.4914 18.361 9.39429 18.361 7.95429C18.361 6.51429 17.192 5.41714 15.8854 5.41714H2.06304L0 2.67429V1.34057L14.4413 0.685714H0V0Z" fill="url(#paint0_linear_7_11)"/>
3
+ <defs>
4
+ <linearGradient id="paint0_linear_7_11" x1="0.201583" y1="-0.0384081" x2="21.0672" y2="28.776" gradientUnits="userSpaceOnUse">
5
+ <stop stop-color="#04CC3C"/>
6
+ <stop offset="1" stop-color="#0062BC"/>
7
+ </linearGradient>
8
+ </defs>
9
+ </svg>
@@ -8,8 +8,9 @@ export declare function FieldSummary({ children, className, ...attributes }: Omi
8
8
  children: ComponentChildren;
9
9
  className?: string;
10
10
  }): h.JSX.Element;
11
- export declare function FieldLibrary({ title, count, children, className, }: {
11
+ export declare function FieldLibrary({ title, id, count, children, className, }: {
12
12
  title: string;
13
+ id?: string;
13
14
  count?: ComponentChildren;
14
15
  children: ComponentChildren;
15
16
  className?: string;
@@ -74,13 +75,21 @@ export declare function FieldDropIndicator({ position, index, className, }: {
74
75
  className?: string;
75
76
  }): h.JSX.Element;
76
77
  export interface CollapsibleSectionProps {
78
+ /** Heading displayed in the keyboard-accessible expand/collapse trigger. */
77
79
  title: ComponentChildren;
80
+ /** Supporting text displayed above the expanded content. */
78
81
  description?: ComponentChildren;
82
+ /** Expand initially. Later toggles are owned by the native disclosure. */
79
83
  defaultOpen?: boolean;
84
+ /** Section content; stays mounted when collapsed to preserve drafts. */
80
85
  children: ComponentChildren;
86
+ /** Additional CSS classes on the outer disclosure. */
81
87
  className?: string;
88
+ /** Additional CSS classes on the summary trigger. */
82
89
  summaryClassName?: string;
90
+ /** Additional CSS classes on the content container. */
83
91
  contentClassName?: string;
92
+ /** Additional CSS classes on the supporting description. */
84
93
  descriptionClassName?: string;
85
94
  /** Host policies can wrap the native details without owning its presentation. */
86
95
  renderRoot?: (props: JSX.IntrinsicElements['details']) => ComponentChildren;
@@ -93,16 +102,26 @@ export interface ConfiguratorCompactItem {
93
102
  icon?: string;
94
103
  count?: number;
95
104
  disabled?: boolean;
105
+ /** Optional section to focus after opening. */
106
+ targetId?: string;
96
107
  /** Activate the corresponding product tab when reopening. */
97
108
  onOpen?: () => void;
98
109
  }
110
+ export interface ConfiguratorMiniModeConfig {
111
+ /** Starts the configurator as a narrow rail. Users can expand and collapse it. */
112
+ miniMode?: boolean;
113
+ /** Enables width resizing. Shrinking below 200px collapses to the rail. */
114
+ resizable?: boolean;
115
+ }
99
116
  /** Shared panel shell. Collapsing preserves mounted controls and their drafts. */
100
- export declare function ConfiguratorPanel({ panelRef, standalone, children, compactItems, compact, onExpand, ...props }: Omit<JSX.HTMLAttributes<HTMLDivElement>, 'ref'> & {
117
+ export declare function ConfiguratorPanel({ panelRef, standalone, children, compactItems, compact: compactProp, onExpand, miniMode, resizable, resizeParent, ...props }: Omit<JSX.HTMLAttributes<HTMLDivElement>, 'ref'> & ConfiguratorMiniModeConfig & {
101
118
  panelRef?: import('./_vendor/preact/src/index').Ref<HTMLDivElement>;
102
119
  standalone?: boolean;
103
120
  compactItems?: readonly ConfiguratorCompactItem[];
104
121
  /** Presentation state is owned by the host; the panel adds no toggle button. */
105
122
  compact?: boolean;
106
123
  onExpand?: () => void;
124
+ /** Apply the resized width to the product-owned parent as well. */
125
+ resizeParent?: boolean;
107
126
  }): h.JSX.Element;
108
- export { createFieldExpansion, fieldExpansionIds, recordFieldExpansion, type FieldExpansionState } from './field-expansion';
127
+ export { createFieldExpansion, fieldExpansionIds, recordFieldExpansion, type FieldExpansionState, } from './field-expansion';
@@ -1,4 +1,4 @@
1
- import { _ as e, a as t, b as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v, x as y, y as b } from "./_chunks/field-configurator-1eQP0tKy.js";
1
+ import { _ as e, a as t, b as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v, x as y, y as b } from "./_chunks/field-configurator-DPulsY3l.js";
2
2
  import { fieldDropIndex as x, reorderFields as S } from "./field-reorder.js";
3
3
  import { useFieldDropTarget as C, useFieldReorder as w } from "./field-reorder.hook.js";
4
4
  export { g as CollapsibleSection, d as ConfiguratorPanel, m as FieldActions, c as FieldContent, t as FieldDropIndicator, f as FieldGroup, h as FieldGroupHeading, r as FieldIcon, l as FieldItem, _ as FieldLibrary, i as FieldLibraryList, a as FieldList, p as FieldRemoveButton, u as FieldRemoveIcon, s as FieldRow, o as FieldStatusBadge, e as FieldSummary, v as SelectedField, b as createFieldExpansion, x as fieldDropIndex, n as fieldExpansionIds, y as recordFieldExpansion, S as reorderFields, C as useFieldDropTarget, w as useFieldReorder };
@@ -1,6 +1,6 @@
1
1
  import { i as e, r as t, t as n } from "./_chunks/hooks.module-CG3gN83z.js";
2
2
  import { fieldDropIndex as r, fieldListDropIndex as i, reorderFields as a } from "./field-reorder.js";
3
- //#region src/field-reorder.hook.ts
3
+ //#region package/field-reorder.hook.ts
4
4
  function o(a, o) {
5
5
  let s = n({
6
6
  count: a,
package/field-reorder.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/field-reorder.ts
1
+ //#region package/field-reorder.ts
2
2
  function e(e, t, n) {
3
3
  if (!Number.isInteger(t) || !Number.isInteger(n) || t < 0 || t >= e.length || n < 0 || n > e.length || t === n || t + 1 === n) return e;
4
4
  let r = [...e], [i] = r.splice(t, 1);
@@ -1,45 +1,64 @@
1
1
  /** One scalar thumb/track presentation for native, Stencil and Preact consumers. */
2
2
  @mixin presentation {
3
- appearance: none;
4
- position: static;
5
- width: 100%;
6
- height: var(--slider-thumb-size, 20px);
7
- margin: 0;
8
- border: 0;
9
- border-radius: 0;
10
- background: linear-gradient(
3
+ appearance: none;
4
+ position: static;
5
+ width: 100%;
6
+ height: var(--slider-thumb-size, 20px);
7
+ margin: 0;
8
+ border: 0;
9
+ border-radius: 0;
10
+ background: linear-gradient(
11
11
  to right,
12
- var(--range-color, var(--rv-ui-accent)) 0 var(--rv-single-slider-value, 0%),
13
- var(--slider-color, var(--rv-ui-border)) var(--rv-single-slider-value, 0%) 100%
14
- ) center / 100% var(--slider-track-height, 4px) no-repeat;
15
- cursor: pointer;
16
- pointer-events: auto;
12
+ var(--range-color, var(--rv-ui-accent)) 0
13
+ var(--rv-single-slider-value, 0%),
14
+ var(--slider-color, var(--rv-ui-border)) var(--rv-single-slider-value, 0%)
15
+ 100%
16
+ )
17
+ center / 100% var(--slider-track-height, 4px) no-repeat;
18
+ cursor: pointer;
19
+ pointer-events: auto;
17
20
 
18
- &::-webkit-slider-thumb {
19
- appearance: none;
20
- box-sizing: border-box;
21
- width: var(--slider-thumb-size, 20px);
22
- height: var(--slider-thumb-size, 20px);
23
- border: 3px solid var(--slider-thumb-border, var(--range-color, var(--rv-ui-accent)));
24
- border-radius: 50%;
25
- background: var(--slider-thumb-bg, var(--revo-grid-filter-control-thumb-bg, var(--rv-ui-surface)));
26
- box-shadow: 0 1px 3px var(--rv-ui-shadow);
27
- transition: box-shadow var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease);
28
- pointer-events: all;
29
- }
21
+ &::-webkit-slider-thumb {
22
+ appearance: none;
23
+ box-sizing: border-box;
24
+ width: var(--slider-thumb-size, 20px);
25
+ height: var(--slider-thumb-size, 20px);
26
+ border: 3px solid
27
+ var(--slider-thumb-border, var(--range-color, var(--rv-ui-accent)));
28
+ border-radius: 50%;
29
+ background: var(
30
+ --slider-thumb-bg,
31
+ var(--revo-grid-filter-control-thumb-bg, var(--rv-ui-surface))
32
+ );
33
+ box-shadow: 0 1px 3px var(--rv-ui-shadow);
34
+ transition: box-shadow var(--rv-ui-motion-fast, 120ms)
35
+ var(--rv-ui-motion-ease, ease);
36
+ pointer-events: all;
37
+ }
30
38
 
31
- &::-moz-range-thumb {
32
- box-sizing: border-box;
33
- width: var(--slider-thumb-size, 20px);
34
- height: var(--slider-thumb-size, 20px);
35
- border: 3px solid var(--slider-thumb-border, var(--range-color, var(--rv-ui-accent)));
36
- border-radius: 50%;
37
- background: var(--slider-thumb-bg, var(--revo-grid-filter-control-thumb-bg, var(--rv-ui-surface)));
38
- box-shadow: 0 1px 3px var(--rv-ui-shadow);
39
- transition: box-shadow var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease);
40
- pointer-events: all;
41
- }
39
+ &::-moz-range-thumb {
40
+ box-sizing: border-box;
41
+ width: var(--slider-thumb-size, 20px);
42
+ height: var(--slider-thumb-size, 20px);
43
+ border: 3px solid
44
+ var(--slider-thumb-border, var(--range-color, var(--rv-ui-accent)));
45
+ border-radius: 50%;
46
+ background: var(
47
+ --slider-thumb-bg,
48
+ var(--revo-grid-filter-control-thumb-bg, var(--rv-ui-surface))
49
+ );
50
+ box-shadow: 0 1px 3px var(--rv-ui-shadow);
51
+ transition: box-shadow var(--rv-ui-motion-fast, 120ms)
52
+ var(--rv-ui-motion-ease, ease);
53
+ pointer-events: all;
54
+ }
42
55
 
43
- &:disabled { opacity: .55; cursor: not-allowed; }
44
- &:focus-visible { outline: 2px solid var(--range-color, var(--rv-ui-accent)); outline-offset: 2px; }
56
+ &:disabled {
57
+ opacity: 0.55;
58
+ cursor: not-allowed;
59
+ }
60
+ &:focus-visible {
61
+ outline: 2px solid var(--range-color, var(--rv-ui-accent));
62
+ outline-offset: 2px;
63
+ }
45
64
  }
@@ -55,7 +55,11 @@
55
55
  top: 0;
56
56
  margin: 0;
57
57
  border-radius: 999px;
58
- background: linear-gradient(var(--slider-color, var(--rv-ui-border)), var(--slider-color, var(--rv-ui-border))) center / 100% 4px no-repeat;
58
+ background: linear-gradient(
59
+ var(--slider-color, var(--rv-ui-border)),
60
+ var(--slider-color, var(--rv-ui-border))
61
+ )
62
+ center / 100% 4px no-repeat;
59
63
  pointer-events: none;
60
64
 
61
65
  &:focus-visible {
@@ -68,41 +72,59 @@
68
72
  z-index: 1;
69
73
  }
70
74
 
71
- $size: 24px;
72
-
73
75
  &::-webkit-slider-thumb {
74
76
  -webkit-appearance: none;
75
77
  pointer-events: all;
76
- width: $size;
77
- height: $size;
78
- background-color: var(--revo-grid-filter-control-thumb-bg, var(--rv-ui-surface));
79
- border: 3px solid var(--range-color, var(--rv-ui-accent));
78
+ box-sizing: border-box;
79
+ width: var(--slider-thumb-size, 20px);
80
+ height: var(--slider-thumb-size, 20px);
81
+ background-color: var(
82
+ --revo-grid-filter-control-thumb-bg,
83
+ var(--rv-ui-surface)
84
+ );
85
+ border: var(--slider-thumb-border-width, 3px) solid
86
+ var(--range-color, var(--rv-ui-accent));
80
87
  border-radius: 50%;
81
88
  box-shadow: 0 1px 3px var(--rv-ui-shadow);
82
- transition: box-shadow var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, cubic-bezier(.2, 0, 0, 1));
89
+ transition: box-shadow var(--rv-ui-motion-fast, 120ms)
90
+ var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1));
83
91
  cursor: pointer;
84
92
 
85
93
  &:hover {
86
- background: var(--revo-grid-filter-control-thumb-bg, var(--rv-ui-surface));
94
+ background: var(
95
+ --revo-grid-filter-control-thumb-bg,
96
+ var(--rv-ui-surface)
97
+ );
87
98
  }
88
99
 
89
100
  &:active {
90
101
  box-shadow:
91
102
  0 1px 3px var(--rv-ui-shadow),
92
- 0 0 0 4px color-mix(in srgb, var(--range-color, var(--rv-ui-accent)) 18%, transparent);
103
+ 0 0 0 4px
104
+ color-mix(
105
+ in srgb,
106
+ var(--range-color, var(--rv-ui-accent)) 18%,
107
+ transparent
108
+ );
93
109
  }
94
110
  }
95
111
 
96
112
  &::-moz-range-thumb {
97
113
  -webkit-appearance: none;
98
114
  pointer-events: all;
99
- width: $size;
100
- height: $size;
101
- background-color: var(--revo-grid-filter-control-thumb-bg, var(--rv-ui-surface));
102
- border: 3px solid var(--range-color, var(--rv-ui-accent));
115
+ box-sizing: border-box;
116
+ width: var(--slider-thumb-size, 20px);
117
+ height: var(--slider-thumb-size, 20px);
118
+ background-color: var(
119
+ --revo-grid-filter-control-thumb-bg,
120
+ var(--rv-ui-surface)
121
+ );
122
+ border: var(--slider-thumb-border-width, 3px) solid
123
+ var(--range-color, var(--rv-ui-accent));
103
124
  border-radius: 50%;
104
125
  box-shadow: 0 1px 3px var(--rv-ui-shadow);
105
- transition: box-shadow var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, cubic-bezier(.2, 0, 0, 1));
126
+ transition: box-shadow var(--rv-ui-motion-fast, 120ms)
127
+ var(--rv-ui-motion-ease, cubic-bezier(0.2, 0, 0, 1));
106
128
  cursor: pointer;
107
129
  }
108
130
  }
@@ -112,4 +134,7 @@
112
134
  }
113
135
  }
114
136
 
115
- .rv-single-slider:disabled { opacity: .55; cursor: not-allowed; }
137
+ .rv-single-slider:disabled {
138
+ opacity: 0.55;
139
+ cursor: not-allowed;
140
+ }
@@ -2,7 +2,7 @@ import { formatSliderInputValue as e, formatSliderValue as t, normalizeSliderSta
2
2
  import { syncVisuals as o } from "./runtime.js";
3
3
  import { renderSliderControl as s } from "./control.js";
4
4
  import { renderRangeInputs as c } from "./inputs.js";
5
- //#region src/filter/filters/slider/component.ts
5
+ //#region package/filter/filters/slider/component.ts
6
6
  function l(e, t) {
7
7
  let { fromValueInt: n, toValueInt: r } = t.state, { scaleFactor: i } = t;
8
8
  return e("div", { className: "range-values" }, e("span", { ref: (e) => {
@@ -1,6 +1,6 @@
1
1
  import { normalizeFromSlider as e, normalizeToSlider as t } from "./logic.js";
2
2
  import { emitRangeChange as n, emitRangeCommit as r, hideTooltip as i, setToggleAccessible as a, updateTooltip as o } from "./runtime.js";
3
- //#region src/filter/filters/slider/control.ts
3
+ //#region package/filter/filters/slider/control.ts
4
4
  var s = /* @__PURE__ */ new WeakMap();
5
5
  function c(e, t) {
6
6
  let n = s.get(e);
@@ -1,7 +1,7 @@
1
1
  import { renderControl as e } from "../../../control-presentation.js";
2
2
  import { normalizeFromInputValue as t, normalizeToInputValue as n, unscaleSliderValue as r } from "./logic.js";
3
3
  import { emitRangeChange as i, preventInvalidNumberKey as a } from "./runtime.js";
4
- //#region src/filter/filters/slider/inputs.ts
4
+ //#region package/filter/filters/slider/inputs.ts
5
5
  function o(o, s) {
6
6
  let { fromValueInt: c, toValueInt: l } = s.state, u = {
7
7
  type: "text",
@@ -1,4 +1,4 @@
1
- //#region src/filter/filters/slider/logic.ts
1
+ //#region package/filter/filters/slider/logic.ts
2
2
  var e = 100;
3
3
  function t(e, t = 100) {
4
4
  return Math.round(Number(e) * t);
@@ -1,6 +1,6 @@
1
1
  import { c as e } from "../../../_chunks/preact.module-BBM36DnO.js";
2
2
  import { renderRangeSlider as t } from "./component.js";
3
- //#region src/filter/filters/slider/preact.tsx
3
+ //#region package/filter/filters/slider/preact.tsx
4
4
  function n(n) {
5
5
  return t(e, n);
6
6
  }
@@ -1,8 +1,8 @@
1
- import { c as e, r as t, t as n } from "../../../_chunks/top-layer-popup-CNSDdfJV.js";
2
- import { n as r, t as i } from "../../../_chunks/tooltip-owner-DjdvqKzz.js";
1
+ import { c as e, r as t, t as n } from "../../../_chunks/top-layer-popup-CKJ7VJOF.js";
2
+ import { n as r, t as i } from "../../../_chunks/tooltip-owner-BYho-vJl.js";
3
3
  import { createControlId as a } from "../../../core/control-id.js";
4
4
  import { toSliderRange as o, unscaleSliderValue as s } from "./logic.js";
5
- //#region src/filter/filters/slider/runtime.ts
5
+ //#region package/filter/filters/slider/runtime.ts
6
6
  function c(e) {
7
7
  return o(Number(e.refs.fromSlider?.value ?? e.state.fromValueInt), Number(e.refs.toSlider?.value ?? e.state.toValueInt), e.scaleFactor);
8
8
  }
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../../../_chunks/jsxRuntime.module-F6UFnpT-.js";
2
- import { n as t } from "../../../_chunks/native-control-DO0d1kgx.js";
3
- //#region src/filter/filters/slider/single.tsx
2
+ import { n as t } from "../../../_chunks/native-control-um1L1wgZ.js";
3
+ //#region package/filter/filters/slider/single.tsx
4
4
  function n({ min: n, max: r, value: i, step: a = 1, disabled: o = !1, id: s, className: c = "", ariaLabel: l, ariaValueText: u, ariaDescribedBy: d, onChange: f, onCommit: p, onKeyDown: m }) {
5
5
  let h = r - n, g = h > 0 ? Math.max(0, Math.min(100, (i - n) / h * 100)) : 0;
6
6
  return /* @__PURE__ */ e(t, {
package/filter-badge.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { i as e } from "./_chunks/preact.module-BBM36DnO.js";
2
2
  import { a as t } from "./_chunks/hooks.module-CG3gN83z.js";
3
3
  import { t as n } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
4
- import { n as r, t as i } from "./_chunks/choice-chips-BhP8MZjs.js";
5
- //#region src/filter-badge.tsx
4
+ import { n as r, t as i } from "./_chunks/choice-chips-C5OxD0GV.js";
5
+ //#region package/filter-badge.tsx
6
6
  function a(e) {
7
7
  return /* @__PURE__ */ n(r, {
8
8
  ...e,
@@ -7,7 +7,6 @@ export declare function OptionButton({ label, detail, selected, className, detai
7
7
  className?: string;
8
8
  detailClassName?: string;
9
9
  }): h.JSX.Element;
10
- export { Legend, type LegendItem } from './legend';
11
10
  /** Caller supplies highlighting; UI owns overlay geometry and scroll synchronization. */
12
11
  export declare function HighlightedTextInput({ highlight, className, inputClassName, highlightClassName, ...props }: Omit<JSX.IntrinsicElements['textarea'], 'className'> & {
13
12
  highlight: ComponentChildren;
@@ -1,9 +1,8 @@
1
1
  import { t as e } from "./_chunks/hooks.module-CG3gN83z.js";
2
2
  import { t } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
3
- import { a as n, t as r } from "./_chunks/native-control-DO0d1kgx.js";
4
- import { Legend as i } from "./legend.js";
5
- //#region src/filter-controls.tsx
6
- function a({ label: e, detail: n, selected: i, className: a = "", detailClassName: o = "", ...s }) {
3
+ import { a as n, t as r } from "./_chunks/native-control-um1L1wgZ.js";
4
+ //#region package/filter-controls.tsx
5
+ function i({ label: e, detail: n, selected: i, className: a = "", detailClassName: o = "", ...s }) {
7
6
  return /* @__PURE__ */ t(r, {
8
7
  ...s,
9
8
  class: `rv-option-button ${a}`,
@@ -14,7 +13,7 @@ function a({ label: e, detail: n, selected: i, className: a = "", detailClassNam
14
13
  })]
15
14
  });
16
15
  }
17
- function o({ highlight: r, className: i = "", inputClassName: a = "", highlightClassName: o = "", ...s }) {
16
+ function a({ highlight: r, className: i = "", inputClassName: a = "", highlightClassName: o = "", ...s }) {
18
17
  let c = e(null);
19
18
  return /* @__PURE__ */ t("div", {
20
19
  class: `rv-highlighted-input ${i}`,
@@ -34,7 +33,7 @@ function o({ highlight: r, className: i = "", inputClassName: a = "", highlightC
34
33
  })]
35
34
  });
36
35
  }
37
- function s({ children: e, className: n = "", label: r }) {
36
+ function o({ children: e, className: n = "", label: r }) {
38
37
  return /* @__PURE__ */ t("div", {
39
38
  role: "group",
40
39
  "aria-label": r,
@@ -43,4 +42,4 @@ function s({ children: e, className: n = "", label: r }) {
43
42
  });
44
43
  }
45
44
  //#endregion
46
- export { o as HighlightedTextInput, s as InlineFieldGroup, i as Legend, a as OptionButton };
45
+ export { a as HighlightedTextInput, o as InlineFieldGroup, i as OptionButton };
@@ -1,2 +1,10 @@
1
- /** Compatibility entry; markup is owned by the Preact TSX implementation. */
2
- export * from './index.view';
1
+ export interface FormFieldOptions {
2
+ readonly label: string;
3
+ readonly control: HTMLElement;
4
+ readonly hint?: string;
5
+ readonly className?: string;
6
+ }
7
+ export declare function createFormField(document: Document, options: FormFieldOptions): HTMLLabelElement;
8
+ export declare function createTextControl(document: Document, placeholder: string): HTMLInputElement;
9
+ /** DOM counterpart of Dropdown; callers own its lifetime. */
10
+ export { createDropdownControl } from '../dropdown/control';
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
2
2
  import { createPreactElement as t } from "../preact-mount.js";
3
- import { n } from "../_chunks/native-control-DO0d1kgx.js";
4
- import { t as r } from "../_chunks/control-BkWukVt9.js";
5
- //#region src/form-controls/index.view.tsx
3
+ import { n } from "../_chunks/native-control-um1L1wgZ.js";
4
+ import { t as r } from "../_chunks/control-BRfF5DWQ.js";
5
+ //#region package/form-controls/index.tsx
6
6
  function i(n, r) {
7
7
  return t(n, /* @__PURE__ */ e("label", {
8
8
  class: ["rv-field", r.className].filter(Boolean).join(" "),
@@ -8,7 +8,7 @@ export type FilterChipProps = {
8
8
  readonly role?: 'listitem';
9
9
  };
10
10
  /** Removable chip shell; consumers retain filter policy and label/detail slots. */
11
- export declare function FilterChip({ children, removeLabel, onRemove, className, removeClassName, role }: FilterChipProps): h.JSX.Element;
11
+ export declare function FilterChip({ children, removeLabel, onRemove, className, removeClassName, role, }: FilterChipProps): h.JSX.Element;
12
12
  export interface FormFieldContentOptions {
13
13
  readonly label: ComponentChildren;
14
14
  readonly children: ComponentChildren;
@@ -2,9 +2,9 @@ import { i as e, o as t, u as n } from "../_chunks/preact.module-BBM36DnO.js";
2
2
  import { i as r, s as i } from "../_chunks/hooks.module-CG3gN83z.js";
3
3
  import { t as a } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
4
4
  import { createControlId as o } from "../core/control-id.js";
5
- import { t as s } from "../_chunks/field-context-D57PnBbH.js";
5
+ import { t as s } from "../_chunks/field-context-C4_WrO2z.js";
6
6
  import { nativeControlTag as c } from "../control-presentation.js";
7
- //#region src/form-controls/presentation.tsx
7
+ //#region package/form-controls/presentation.tsx
8
8
  function l({ children: e, removeLabel: t, onRemove: n, className: r = "", removeClassName: i = "", role: o }) {
9
9
  return /* @__PURE__ */ a("span", {
10
10
  class: `rv-btn-pill ${r}`.trim(),
@@ -1,4 +1,4 @@
1
- export * from './control-tooltip';
1
+ export { useTooltip, useControlTooltip, ControlTooltip } from '../core/tooltip';
2
2
  export * from './inspector-section';
3
3
  export * from './icon-controls';
4
4
  export * from './typography-controls';