@revolist/ui 4.0.1-rc → 4.0.1

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 (427) hide show
  1. package/LICENSE +21 -0
  2. package/MIGRATION.md +36 -0
  3. package/OWNERSHIP.md +32 -32
  4. package/README.md +405 -264
  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-DJqiFwFT.js +258 -0
  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-yr6Uzmof.js +126 -0
  13. package/_chunks/clock-BOhPNlW3.js +4 -0
  14. package/_chunks/color-palette-DMJUChWC.js +92 -0
  15. package/_chunks/{color-picker-BRv-__AM.js → color-picker-CMWxQlWt.js} +61 -56
  16. package/_chunks/component-DyWiItBR.js +878 -0
  17. package/_chunks/{component-metadata-BENbgTjU.js → component-metadata-BKd7U8OW.js} +0 -12
  18. package/_chunks/configurator-actions-DCodxcUw.js +155 -0
  19. package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
  20. package/_chunks/control-CbOYUakE.js +118 -0
  21. package/_chunks/{controller-CmLo-Ajc.js → controller-hRBm_Lfz.js} +15 -15
  22. package/_chunks/controls-DD1qvPfE.js +650 -0
  23. package/_chunks/{date-control-CYCkb1aQ.js → date-control-XI2cpKI_.js} +21 -21
  24. package/_chunks/date-time-CGJdC1Qa.js +807 -0
  25. package/_chunks/{delete-button-DnpmDNEJ.js → delete-button-CW9vjLnk.js} +7 -7
  26. package/_chunks/dialog.parts-CJ3FVxC9.js +131 -0
  27. package/_chunks/duration-CBJWK82T.js +272 -0
  28. package/_chunks/editor-commit-Bq3wSgvr.js +12 -0
  29. package/_chunks/editor-popup-ByU7qiub.js +82 -0
  30. package/_chunks/field-configurator-B-qtIwx1.js +288 -0
  31. package/_chunks/field-context-D57PnBbH.js +5 -0
  32. package/_chunks/framework-mount-Bk4O_T7T.js +54 -0
  33. package/_chunks/hooks.module-CG3gN83z.js +157 -0
  34. package/_chunks/icon-toolbar-DSjOdwM7.js +134 -0
  35. package/_chunks/jsxRuntime.module-F6UFnpT-.js +30 -0
  36. package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
  37. package/_chunks/minus-BOAR3A1C.js +4 -0
  38. package/_chunks/mount-C7i5gsKI.js +267 -0
  39. package/_chunks/native-Blr3byjO.js +32 -0
  40. package/_chunks/native-control-B9MNibfa.js +649 -0
  41. package/_chunks/{number-input-NnH57J4j.js → number-input-CgbZes5B.js} +89 -89
  42. package/_chunks/picker-DqpjDC90.js +122 -0
  43. package/_chunks/plus-CbGRkIGl.js +4 -0
  44. package/_chunks/popover-controller-D-AvKQ7B.js +102 -0
  45. package/_chunks/popup-C35Isk7p.js +378 -0
  46. package/_chunks/preact.module-BBM36DnO.js +290 -0
  47. package/_chunks/{rating-choice-CWAsNQNS.js → rating-choice-WDrfiluf.js} +10 -10
  48. package/_chunks/render-m5eMMwFR.js +83 -0
  49. package/_chunks/reorder-list-C4HSda4n.js +59 -0
  50. package/_chunks/request-trail-SHynDFdM.js +762 -0
  51. package/_chunks/rich-text-CtjqRvv8.js +842 -0
  52. package/_chunks/rotate-left-BF6G883o.js +4 -0
  53. package/_chunks/rotate-right-Iha5ScJ1.js +4 -0
  54. package/_chunks/selection-list-tooltips-BtWjpP6M.js +41 -0
  55. package/_chunks/title-tooltip-Cw6LOZhb.js +11 -0
  56. package/_chunks/tooltip-D4xkio5G.js +54 -0
  57. package/_chunks/tooltip-owner-DjdvqKzz.js +19 -0
  58. package/_chunks/tooltip-session-B6X6x8G_.js +110 -0
  59. package/_chunks/tooltip-text-BXsUEmBH.js +12 -0
  60. package/_chunks/top-layer-popup-CNSDdfJV.js +59 -0
  61. package/_dialog.scss +55 -21
  62. package/_form.scss +71 -21
  63. package/_legend.scss +25 -7
  64. package/_shared/data-query/index.d.ts +2 -2
  65. package/_shared/data-query/load-options.d.ts +2 -2
  66. package/_variables.scss +34 -32
  67. package/_vendor/preact/LICENSE +21 -0
  68. package/_vendor/preact/compat/src/index.d.ts +353 -0
  69. package/_vendor/preact/compat/src/suspense-list.d.ts +16 -0
  70. package/_vendor/preact/compat/src/suspense.d.ts +19 -0
  71. package/_vendor/preact/hooks/src/index.d.ts +145 -0
  72. package/_vendor/preact/src/dom.d.ts +2548 -0
  73. package/_vendor/preact/src/index.d.ts +373 -0
  74. package/_vendor/preact/src/jsx.d.ts +2958 -0
  75. package/_view-switcher.scss +6 -0
  76. package/activity-message.d.ts +2 -2
  77. package/activity-message.js +16 -16
  78. package/ai/_chat.scss +227 -0
  79. package/ai/_style.scss +170 -39
  80. package/ai/chat.d.ts +65 -0
  81. package/ai/components.d.ts +35 -6
  82. package/ai/index.d.ts +3 -0
  83. package/ai/index.js +3 -3
  84. package/ai/mount.d.ts +59 -6
  85. package/ai/prompt-history.d.ts +13 -0
  86. package/ai/request-trail.d.ts +9 -3
  87. package/ai/results/_style.scss +83 -0
  88. package/ai/results/index.d.ts +11 -0
  89. package/ai/results/metrics.d.ts +5 -0
  90. package/ai/results/table.d.ts +5 -0
  91. package/ai/results/text.d.ts +5 -0
  92. package/ai/results/types.d.ts +29 -0
  93. package/ai/transcript.d.ts +27 -0
  94. package/ai/translation-context.d.ts +1 -1
  95. package/ai/translations.d.ts +1 -1
  96. package/alert.d.ts +2 -2
  97. package/angular/angular.d.ts +1 -1
  98. package/angular/angular.js +13 -10
  99. package/assignee/assignee.scss +28 -6
  100. package/assignee/field.d.ts +2 -2
  101. package/assignee/index.js +86 -87
  102. package/assignee/layout.d.ts +2 -2
  103. package/assignee/picker.d.ts +1 -1
  104. package/avatar/avatar.style.scss +23 -6
  105. package/avatar/index.d.ts +25 -2
  106. package/avatar/index.js +42 -41
  107. package/badge.d.ts +1 -1
  108. package/badge.view.d.ts +8 -0
  109. package/brush-range/_brush-range.scss +55 -49
  110. package/brush-range/component.d.ts +2 -4
  111. package/brush-range/component.js +19 -19
  112. package/buttons/delete-button.d.ts +2 -1
  113. package/buttons/delete-button.js +1 -1
  114. package/buttons/delete-button.style.scss +6 -2
  115. package/buttons/remove-button.d.ts +2 -2
  116. package/buttons/remove-button.js +3 -3
  117. package/buttons/remove-button.style.scss +1 -1
  118. package/buttons/svg-button.d.ts +3 -2
  119. package/buttons/svg-button.js +23 -23
  120. package/calendar/_calendar.scss +27 -26
  121. package/calendar/calendar.d.ts +1 -1
  122. package/calendar/calendar.js +1 -1
  123. package/calendar/caption.d.ts +1 -1
  124. package/calendar/day.d.ts +1 -1
  125. package/calendar/day.js +4 -4
  126. package/calendar/header.d.ts +1 -1
  127. package/calendar/header.js +34 -35
  128. package/calendar/index.js +2 -2
  129. package/calendar/month-grid.d.ts +1 -1
  130. package/calendar/month-grid.js +37 -37
  131. package/calendar/picker.d.ts +1 -1
  132. package/calendar/types.d.ts +1 -1
  133. package/calendar/year-grid.d.ts +1 -1
  134. package/calendar/year-grid.js +12 -12
  135. package/cell-input.scss +3 -7
  136. package/cell-visuals/badge.style.scss +6 -3
  137. package/cell-visuals/bar-chart.style.scss +2 -1
  138. package/cell-visuals/progress-line-value.renderer.style.scss +4 -2
  139. package/cell-visuals/progress-line.style.scss +1 -4
  140. package/cell-visuals/sparkline.style.scss +2 -1
  141. package/cell-visuals/timeline.style.css +4 -2
  142. package/checkbox/checkbox.scss +6 -24
  143. package/checkbox/index.d.ts +2 -2
  144. package/checkbox/index.js +9 -9
  145. package/choice-chips/index.d.ts +4 -2
  146. package/choice-chips/index.js +1 -1
  147. package/color-palette/color-palette.d.ts +1 -1
  148. package/color-palette/color-palette.js +1 -1
  149. package/color-palette/color-palette.style.scss +88 -25
  150. package/color-palette/color-picker.d.ts +1 -1
  151. package/color-palette/color-picker.js +2 -2
  152. package/color-palette/color-picker.style.scss +23 -10
  153. package/color-palette/common-palettes.d.ts +1 -1
  154. package/color-palette/common-palettes.js +1 -1
  155. package/color-palette/native.d.ts +15 -2
  156. package/component-catalog.d.ts +42 -29
  157. package/configurator-actions.d.ts +67 -0
  158. package/configurator-actions.js +1 -0
  159. package/configurator-aggregation-list.d.ts +14 -0
  160. package/configurator-aggregation-list.js +63 -0
  161. package/configurator-drop-zone.d.ts +39 -0
  162. package/configurator-drop-zone.js +66 -0
  163. package/configurator-field-icon.d.ts +10 -0
  164. package/configurator-field-icon.js +1 -0
  165. package/configurator-focus.d.ts +4 -0
  166. package/configurator-focus.js +39 -0
  167. package/configurator-sections.d.ts +42 -0
  168. package/configurator-sections.js +71 -0
  169. package/control-attributes.js +7 -7
  170. package/control-presentation.d.ts +8 -2
  171. package/control-presentation.js +31 -26
  172. package/controls.d.ts +23 -11
  173. package/controls.js +4 -3
  174. package/core/editor-commit.d.ts +1 -1
  175. package/core/editor-popup-position.d.ts +6 -2
  176. package/core/editor-popup.d.ts +5 -1
  177. package/core/editor-popup.js +1 -1
  178. package/core/popover-controller.d.ts +35 -0
  179. package/core/popup-ownership.d.ts +2 -0
  180. package/core/selection-list-tooltips.d.ts +2 -0
  181. package/core/title-tooltip.d.ts +2 -0
  182. package/core/tooltip-session.d.ts +29 -0
  183. package/core/tooltip-surface.d.ts +13 -0
  184. package/core/tooltip-text.d.ts +6 -0
  185. package/core/tooltip.d.ts +35 -0
  186. package/core/top-layer-popup.d.ts +4 -0
  187. package/core/top-layer-popup.js +1 -23
  188. package/date-time/attach.d.ts +1 -1
  189. package/date-time/date-control.d.ts +2 -2
  190. package/date-time/field.d.ts +4 -3
  191. package/date-time/index.js +1 -1
  192. package/date-time/picker.d.ts +1 -1
  193. package/date-time/style.scss +242 -39
  194. package/date-time/time-control.d.ts +1 -1
  195. package/date-time/time-selection.d.ts +3 -1
  196. package/date-time/types.d.ts +6 -2
  197. package/dialog/dialog-action-footer.d.ts +17 -2
  198. package/dialog/dialog.dom.d.ts +15 -2
  199. package/dialog/dialog.dom.js +53 -53
  200. package/dialog/dialog.parts.d.ts +18 -18
  201. package/dialog/dialog.parts.js +1 -1
  202. package/dialog/dialog.preact.d.ts +1 -1
  203. package/dialog/dialog.preact.js +6 -6
  204. package/distribution-chart/_distribution-chart.scss +113 -77
  205. package/distribution-chart/area-chart.d.ts +1 -1
  206. package/distribution-chart/area-chart.js +25 -25
  207. package/distribution-chart/bar-chart.d.ts +6 -3
  208. package/distribution-chart/bar-chart.js +10 -6
  209. package/distribution-chart/chart-frame.d.ts +3 -2
  210. package/distribution-chart/index.d.ts +2 -2
  211. package/distribution-chart/index.js +6 -6
  212. package/distribution-chart/line-chart.d.ts +1 -1
  213. package/distribution-chart/line-chart.js +9 -9
  214. package/distribution-chart/types.d.ts +1 -1
  215. package/dropdown/content.d.ts +3 -2
  216. package/dropdown/content.js +1 -141
  217. package/dropdown/control.d.ts +14 -0
  218. package/dropdown/control.js +1 -0
  219. package/dropdown/control.view.d.ts +6 -0
  220. package/dropdown/dropdown.service.d.ts +1 -1
  221. package/dropdown/dropdown.service.js +9 -9
  222. package/dropdown/dropdown.types.d.ts +5 -1
  223. package/dropdown/editor-dropdown.style.scss +54 -16
  224. package/dropdown/index.d.ts +1 -1
  225. package/dropdown/index.js +3 -4
  226. package/dropdown/lookup-field.d.ts +6 -1
  227. package/dropdown/lookup-field.js +42 -41
  228. package/dropdown/popup.d.ts +2 -2
  229. package/dropdown/popup.js +1 -140
  230. package/duration/controls.d.ts +1 -1
  231. package/duration/index.d.ts +2 -2
  232. package/duration/index.js +1 -1
  233. package/duration/style.scss +1 -1
  234. package/editor-actions.d.ts +1 -1
  235. package/editor-actions.js +21 -20
  236. package/editor-layout/index.d.ts +5 -5
  237. package/editor-layout/index.js +43 -38
  238. package/editor-layout/style.scss +82 -18
  239. package/field-configurator.d.ts +40 -2
  240. package/field-configurator.js +4 -170
  241. package/field-expansion.d.ts +9 -0
  242. package/field-reorder.hook.js +32 -32
  243. package/fieldset.d.ts +3 -0
  244. package/filter/filters/slider/_single-slider.scss +57 -38
  245. package/filter/filters/slider/_slider.scss +41 -33
  246. package/filter/filters/slider/control.js +2 -0
  247. package/filter/filters/slider/preact.js +3 -3
  248. package/filter/filters/slider/runtime.js +49 -22
  249. package/filter/filters/slider/single.d.ts +1 -1
  250. package/filter/filters/slider/single.js +23 -23
  251. package/filter-badge.d.ts +1 -1
  252. package/filter-badge.js +23 -22
  253. package/filter-controls.d.ts +1 -2
  254. package/filter-controls.js +29 -30
  255. package/form-controls/field-context.d.ts +5 -0
  256. package/form-controls/index.d.ts +10 -2
  257. package/form-controls/index.js +17 -22
  258. package/form-controls/presentation.d.ts +2 -2
  259. package/form-controls/presentation.js +59 -51
  260. package/formatting/comparison-preview.d.ts +1 -1
  261. package/formatting/icon-controls.d.ts +1 -1
  262. package/formatting/index.d.ts +1 -1
  263. package/formatting/index.js +106 -100
  264. package/formatting/inspector-section.d.ts +1 -1
  265. package/formatting/styles.scss +14 -57
  266. package/formatting/typography-controls.d.ts +1 -1
  267. package/framework-mount.d.ts +1 -1
  268. package/framework.js +237 -226
  269. package/history-controls.d.ts +14 -0
  270. package/history-controls.js +27 -0
  271. package/icon-toolbar.d.ts +62 -0
  272. package/icon-toolbar.js +1 -0
  273. package/icons/icon.d.ts +2 -2
  274. package/icons/icon.js +1 -1
  275. package/legend.d.ts +2 -2
  276. package/legend.js +12 -12
  277. package/masked-input/index.d.ts +1 -1
  278. package/masked-input/index.js +109 -109
  279. package/native-control.d.ts +14 -13
  280. package/native-control.js +3 -26
  281. package/native-controls.d.ts +54 -2
  282. package/native-styles.css +1 -1
  283. package/native-styles.scss +6 -2
  284. package/native.d.ts +3 -3
  285. package/native.js +49 -45
  286. package/number-input/index.d.ts +2 -2
  287. package/number-input/index.js +1 -1
  288. package/package.json +88 -15
  289. package/pagination.d.ts +3 -0
  290. package/pagination.js +50 -40
  291. package/pdf-viewer/component.d.ts +1 -1
  292. package/pdf-viewer/controller.js +1 -1
  293. package/pdf-viewer/header.d.ts +2 -2
  294. package/pdf-viewer/index.d.ts +2 -2
  295. package/pdf-viewer/index.js +13 -13
  296. package/pdf-viewer/search-bar.d.ts +2 -2
  297. package/pdf-viewer/status.d.ts +2 -2
  298. package/pdf-viewer/style.scss +205 -45
  299. package/pdf-viewer/toolbar.d.ts +1 -1
  300. package/pickers.d.ts +6 -2
  301. package/preact-mount.d.ts +1 -1
  302. package/preact-mount.js +2 -2
  303. package/preact.d.ts +15 -10
  304. package/preact.js +109 -64
  305. package/progress/_bar.scss +9 -3
  306. package/progress/_circular.scss +2 -1
  307. package/rating-choice.d.ts +1 -1
  308. package/rating-choice.js +1 -1
  309. package/react-adapter.d.ts +5 -3
  310. package/react-control.d.ts +1 -0
  311. package/react.d.ts +20 -11
  312. package/react.js +72 -88
  313. package/reorder-list.d.ts +2 -2
  314. package/reorder-list.js +1 -1
  315. package/reorder-list.scss +59 -17
  316. package/resource-picker/resource-picker-avatar.d.ts +1 -1
  317. package/resource-picker/resource-picker-avatar.js +14 -14
  318. package/resource-picker/resource-picker-option.d.ts +1 -1
  319. package/resource-picker/resource-picker-option.js +28 -28
  320. package/resource-picker/resource-picker-popup.d.ts +1 -1
  321. package/resource-picker/resource-picker-popup.js +3 -3
  322. package/resource-picker/resource-picker.d.ts +1 -1
  323. package/resource-picker/resource-picker.js +68 -66
  324. package/resource-picker/resource-picker.scss +66 -35
  325. package/rich-text/engine.d.ts +17 -19
  326. package/rich-text/format-html.d.ts +2 -0
  327. package/rich-text/index.d.ts +11 -7
  328. package/rich-text/index.js +1 -1
  329. package/rich-text/model.d.ts +6 -3
  330. package/rich-text/render-model.d.ts +4 -5
  331. package/rich-text/style.scss +295 -55
  332. package/rich-text/syntax.d.ts +5 -2
  333. package/rich-text/toolbar.d.ts +7 -7
  334. package/rich-text/translations.d.ts +5 -15
  335. package/search-input/index.js +12 -12
  336. package/search-input/native.d.ts +21 -2
  337. package/segmented-switch/index.d.ts +1 -1
  338. package/segmented-switch/index.js +1 -1
  339. package/select.d.ts +22 -0
  340. package/select.js +1 -0
  341. package/selection-list.d.ts +1 -0
  342. package/selection-list.js +3 -1
  343. package/status-feedback/exit-snapshot.js +1 -1
  344. package/status-feedback/index.js +2 -2
  345. package/status-feedback/popover.js +9 -9
  346. package/status-feedback/render.d.ts +2 -2
  347. package/status-feedback/render.js +3 -44
  348. package/status-feedback/status-feedback.scss +130 -34
  349. package/status-feedback/types.d.ts +4 -0
  350. package/status-feedback/use-auto-dismiss.d.ts +3 -0
  351. package/styles/_activity-message.scss +24 -7
  352. package/styles/_alert.scss +78 -17
  353. package/styles/_cell-editor-frame.scss +11 -0
  354. package/styles/_compositions.scss +404 -82
  355. package/styles/_control.scss +42 -12
  356. package/styles/_disclosure.scss +15 -5
  357. package/styles/_editor-counter.scss +16 -6
  358. package/styles/_editor-slider.scss +8 -4
  359. package/styles/_field-configurator.scss +321 -23
  360. package/styles/_fields-grid.scss +49 -0
  361. package/styles/_filter-controls.scss +10 -2
  362. package/styles/_icon-action.scss +48 -15
  363. package/styles/_loading.scss +12 -3
  364. package/styles/_motion.scss +32 -9
  365. package/styles/_palette.scss +0 -24
  366. package/styles/_primitives.scss +376 -116
  367. package/styles/_theme.scss +130 -86
  368. package/styles/_thresholds.scss +28 -25
  369. package/styles/_time-grid.scss +8 -3
  370. package/styles/_tokens.scss +6 -1
  371. package/styles/configurator-actions.scss +241 -0
  372. package/styles/pagination.css +213 -0
  373. package/styles/{legacy-rating.css → rating.css} +8 -3
  374. package/styles.css +1 -1
  375. package/styles.scss +3 -5
  376. package/surfaces.d.ts +38 -2
  377. package/surfaces.js +37 -134
  378. package/svelte/UiComponent.server.js +1 -48
  379. package/svelte/UiComponent.svelte +44 -32
  380. package/svelte.d.ts +1 -1
  381. package/svelte.js +33 -68
  382. package/switch/index.js +3 -2
  383. package/time-grid.d.ts +1 -2
  384. package/time-grid.js +43 -42
  385. package/timeline-track/_style.scss +96 -24
  386. package/timeline-track/component.d.ts +5 -1
  387. package/timeline-track/index.js +91 -74
  388. package/timeline-track/model.d.ts +9 -0
  389. package/timeline-track/model.js +10 -1
  390. package/ui.css +1 -1
  391. package/view-switcher.d.ts +23 -0
  392. package/vue-adapter.d.ts +1 -1
  393. package/vue.d.ts +160 -144
  394. package/vue.js +149 -178
  395. package/_chunks/calendar-BsDxCYhI.js +0 -248
  396. package/_chunks/chart-frame-BvxbmEU9.js +0 -126
  397. package/_chunks/choice-chips-0HfOnK_4.js +0 -110
  398. package/_chunks/color-palette-BmZ7kH9R.js +0 -94
  399. package/_chunks/component-D4PH5UZT.js +0 -859
  400. package/_chunks/control-tooltip-BCNzQCXE.js +0 -100
  401. package/_chunks/controls-NEL5tDaz.js +0 -615
  402. package/_chunks/date-time-DjucJmbc.js +0 -769
  403. package/_chunks/dialog.parts-Dt3KinUz.js +0 -134
  404. package/_chunks/dropdown-CkGQBm1Q.js +0 -357
  405. package/_chunks/duration-BCaktcvz.js +0 -270
  406. package/_chunks/editor-commit-D6Rf5rGz.js +0 -12
  407. package/_chunks/editor-popup-B7fu_A_T.js +0 -81
  408. package/_chunks/framework-mount-BKIOsvY-.js +0 -54
  409. package/_chunks/mount-0-8opf1j.js +0 -90
  410. package/_chunks/native.view-8q_nwQ7x.js +0 -32
  411. package/_chunks/picker-oazJ7sO_.js +0 -121
  412. package/_chunks/reorder-list-BV3kZXso.js +0 -59
  413. package/_chunks/request-trail-D0oVzdRd.js +0 -347
  414. package/_chunks/rich-text-2Rla349o.js +0 -477
  415. package/avatar/index.view.d.ts +0 -25
  416. package/color-palette/native.view.d.ts +0 -15
  417. package/control-presentation.view.d.ts +0 -8
  418. package/dialog/dialog-action-footer.view.d.ts +0 -20
  419. package/dialog/dialog.dom.view.d.ts +0 -15
  420. package/form-controls/index.view.d.ts +0 -12
  421. package/formatting/control-tooltip.d.ts +0 -27
  422. package/native-controls.view.d.ts +0 -54
  423. package/react-native-select.d.ts +0 -6
  424. package/search-input/native.view.d.ts +0 -21
  425. package/styles/legacy-pagination.css +0 -112
  426. package/surfaces.view.d.ts +0 -63
  427. package/vue-native-select.d.ts +0 -9
package/editor-actions.js CHANGED
@@ -1,35 +1,36 @@
1
- import { n as e } from "./_chunks/controls-NEL5tDaz.js";
2
- import { Fragment as t, jsx as n, jsxs as r } from "preact/jsx-runtime";
1
+ import { i as e } from "./_chunks/preact.module-BBM36DnO.js";
2
+ import { t } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
3
+ import { t as n } from "./_chunks/controls-DD1qvPfE.js";
3
4
  //#region src/editor-actions.tsx
4
- var i = {
5
+ var r = {
5
6
  apply: "Apply",
6
7
  cancel: "Cancel",
7
8
  clear: "Clear"
8
9
  };
9
- function a({ apply: a, cancel: o, clear: s, disabled: c, text: l = i, showConfirm: u = !0 }) {
10
- if (!u && !s) return null;
11
- let d = {
12
- apply: l.apply ?? i.apply,
13
- cancel: l.cancel ?? i.cancel,
14
- clear: l.clear ?? i.clear
10
+ function i({ apply: i, cancel: a, clear: o, disabled: s, text: c = r, showConfirm: l = !0 }) {
11
+ if (!l && !o) return null;
12
+ let u = {
13
+ apply: c.apply ?? r.apply,
14
+ cancel: c.cancel ?? r.cancel,
15
+ clear: c.clear ?? r.clear
15
16
  };
16
- return /* @__PURE__ */ r("div", {
17
+ return /* @__PURE__ */ t("div", {
17
18
  class: "rv-editor-actions",
18
- children: [s && /* @__PURE__ */ n(e, {
19
+ children: [o && /* @__PURE__ */ t(n, {
19
20
  variant: "ghost",
20
21
  className: "rv-editor-actions__clear",
21
- onClick: s,
22
- children: d.clear
23
- }), u && /* @__PURE__ */ r(t, { children: [/* @__PURE__ */ n(e, {
24
22
  onClick: o,
25
- children: d.cancel
26
- }), /* @__PURE__ */ n(e, {
27
- variant: "primary",
28
- disabled: c,
23
+ children: u.clear
24
+ }), l && /* @__PURE__ */ t(e, { children: [/* @__PURE__ */ t(n, {
29
25
  onClick: a,
30
- children: d.apply
26
+ children: u.cancel
27
+ }), /* @__PURE__ */ t(n, {
28
+ variant: "primary",
29
+ disabled: s,
30
+ onClick: i,
31
+ children: u.apply
31
32
  })] })]
32
33
  });
33
34
  }
34
35
  //#endregion
35
- export { a as EditorActions, i as defaultEditorActionText };
36
+ export { i as EditorActions, r as defaultEditorActionText };
@@ -1,11 +1,11 @@
1
- import { h, ComponentChildren, JSX, Ref } from 'preact';
1
+ import { h, ComponentChildren, JSX, Ref } from '../_vendor/preact/src/index';
2
2
  type ShellProps = {
3
3
  readonly children: ComponentChildren;
4
4
  readonly className?: string;
5
5
  };
6
6
  /** Shared editor geometry. Consumers supply column widths and feature policy. */
7
7
  export declare function EditorSplitLayout({ children, className }: ShellProps): h.JSX.Element;
8
- export declare function EditorPane({ children, className, scrollable }: ShellProps & {
8
+ export declare function EditorPane({ children, className, scrollable, }: ShellProps & {
9
9
  readonly scrollable?: boolean;
10
10
  }): h.JSX.Element;
11
11
  export interface EditorListProps extends ShellProps {
@@ -18,7 +18,7 @@ export interface EditorListProps extends ShellProps {
18
18
  readonly spacing?: 'default' | 'comfortable';
19
19
  }
20
20
  /** Single-selection listbox with one keyboard/focus owner across editors. */
21
- export declare function EditorList({ children, className, label, onSelect, listRef, variant, spacing }: EditorListProps): h.JSX.Element;
21
+ export declare function EditorList({ children, className, label, onSelect, listRef, variant, spacing, }: EditorListProps): h.JSX.Element;
22
22
  export type EditorListItemProps = Omit<JSX.IntrinsicElements['button'], 'value' | 'className'> & {
23
23
  readonly value: string;
24
24
  readonly selected: boolean;
@@ -41,8 +41,8 @@ export interface EditorListItemContentProps {
41
41
  };
42
42
  }
43
43
  /** Reusable row presentation; the enclosing list item owns selection and focus. */
44
- export declare function EditorListItemContent({ icon, label, description, classNames }: EditorListItemContentProps): h.JSX.Element;
45
- export declare function EditorListGroup({ label, children, className, labelClassName }: ShellProps & {
44
+ export declare function EditorListItemContent({ icon, label, description, classNames, }: EditorListItemContentProps): h.JSX.Element;
45
+ export declare function EditorListGroup({ label, children, className, labelClassName, }: ShellProps & {
46
46
  readonly label: string;
47
47
  readonly labelClassName?: string;
48
48
  }): h.JSX.Element;
@@ -1,23 +1,28 @@
1
- import { jsx as e, jsxs as t } from "preact/jsx-runtime";
1
+ import { o as e } from "../_chunks/hooks.module-CG3gN83z.js";
2
+ import { t } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
3
+ import { t as n } from "../_chunks/selection-list-tooltips-BtWjpP6M.js";
2
4
  //#region src/editor-layout/index.tsx
3
- function n({ children: t, className: n = "" }) {
4
- return /* @__PURE__ */ e("div", {
5
+ function r({ children: e, className: n = "" }) {
6
+ return /* @__PURE__ */ t("div", {
5
7
  class: `rv-editor-split ${n}`,
6
- children: t
8
+ children: e
7
9
  });
8
10
  }
9
- function r({ children: t, className: n = "", scrollable: r = !1 }) {
10
- return /* @__PURE__ */ e("section", {
11
+ function i({ children: e, className: n = "", scrollable: r = !1 }) {
12
+ return /* @__PURE__ */ t("section", {
11
13
  class: `rv-editor-pane${r ? " rv-editor-pane--scrollable" : ""} ${n}`,
12
- children: t
14
+ children: e
13
15
  });
14
16
  }
15
- function i({ children: t, className: n = "", label: r, onSelect: i, listRef: a, variant: o = "default", spacing: s = "default" }) {
16
- return /* @__PURE__ */ e("div", {
17
- ref: a,
18
- class: `rv-editor-list${o === "plain" ? " rv-editor-list--plain" : ""}${s === "comfortable" ? " rv-editor-list--comfortable" : ""} ${n}`,
17
+ function a({ children: r, className: i = "", label: a, onSelect: o, listRef: s, variant: c = "default", spacing: l = "default" }) {
18
+ let u = n(), d = e((e) => {
19
+ u(e), typeof s == "function" ? s(e) : s && (s.current = e);
20
+ }, [u, s]);
21
+ return /* @__PURE__ */ t("div", {
22
+ ref: d,
23
+ class: `rv-editor-list${c === "plain" ? " rv-editor-list--plain" : ""}${l === "comfortable" ? " rv-editor-list--comfortable" : ""} ${i}`,
19
24
  role: "listbox",
20
- "aria-label": r,
25
+ "aria-label": a,
21
26
  onKeyDown: (e) => {
22
27
  if (![
23
28
  "ArrowDown",
@@ -28,57 +33,57 @@ function i({ children: t, className: n = "", label: r, onSelect: i, listRef: a,
28
33
  let t = Array.from(e.currentTarget.querySelectorAll("[data-editor-value]:not(:disabled)"));
29
34
  if (!t.length) return;
30
35
  let n = Math.max(0, t.indexOf(e.target)), r = e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : (n + (e.key === "ArrowDown" ? 1 : -1) + t.length) % t.length;
31
- e.preventDefault(), t[r].focus(), i(t[r].dataset.editorValue);
36
+ e.preventDefault(), t[r].focus(), o(t[r].dataset.editorValue);
32
37
  },
33
- children: t
38
+ children: r
34
39
  });
35
40
  }
36
- function a({ value: t, selected: n, icon: r, label: i, description: a, contentClassNames: s, children: c, className: l = "", ...u }) {
37
- return /* @__PURE__ */ e("button", {
41
+ function o({ value: e, selected: n, icon: r, label: i, description: a, contentClassNames: o, children: c, className: l = "", ...u }) {
42
+ return /* @__PURE__ */ t("button", {
38
43
  ...u,
39
44
  type: "button",
40
45
  role: "option",
41
- "data-editor-value": t,
46
+ "data-editor-value": e,
42
47
  "aria-selected": n,
43
48
  tabIndex: u.tabIndex ?? (n ? 0 : -1),
44
49
  class: `rv-editor-list__item${n ? " rv-editor-list__item--selected" : ""} ${l}`,
45
- children: i === void 0 ? c : /* @__PURE__ */ e(o, {
50
+ children: i === void 0 ? c : /* @__PURE__ */ t(s, {
46
51
  icon: r,
47
52
  label: i,
48
53
  description: a,
49
- classNames: s
54
+ classNames: o
50
55
  })
51
56
  });
52
57
  }
53
- function o({ icon: n, label: r, description: i, classNames: a = {} }) {
58
+ function s({ icon: e, label: n, description: r, classNames: i = {} }) {
54
59
  return /* @__PURE__ */ t("span", {
55
- class: `rv-editor-list__content${n ? "" : " rv-editor-list__content--text"}`,
56
- children: [n && /* @__PURE__ */ e("span", {
57
- class: `rv-editor-list__icon ${a.icon ?? ""}`,
60
+ class: `rv-editor-list__content${e ? "" : " rv-editor-list__content--text"}`,
61
+ children: [e && /* @__PURE__ */ t("span", {
62
+ class: `rv-editor-list__icon ${i.icon ?? ""}`,
58
63
  "aria-hidden": "true",
59
- children: n
64
+ children: e
60
65
  }), /* @__PURE__ */ t("span", {
61
- class: `rv-editor-list__copy ${a.copy ?? ""}`,
62
- children: [/* @__PURE__ */ e("span", {
63
- class: `rv-editor-list__label ${a.label ?? ""}`,
66
+ class: `rv-editor-list__copy ${i.copy ?? ""}`,
67
+ children: [/* @__PURE__ */ t("span", {
68
+ class: `rv-editor-list__label ${i.label ?? ""}`,
69
+ children: n
70
+ }), r !== void 0 && /* @__PURE__ */ t("span", {
71
+ class: `rv-editor-list__description ${i.description ?? ""}`,
64
72
  children: r
65
- }), i !== void 0 && /* @__PURE__ */ e("span", {
66
- class: `rv-editor-list__description ${a.description ?? ""}`,
67
- children: i
68
73
  })]
69
74
  })]
70
75
  });
71
76
  }
72
- function s({ label: n, children: r, className: i = "", labelClassName: a = "" }) {
77
+ function c({ label: e, children: n, className: r = "", labelClassName: i = "" }) {
73
78
  return /* @__PURE__ */ t("div", {
74
- class: `rv-editor-list__group ${i}`,
79
+ class: `rv-editor-list__group ${r}`,
75
80
  role: "group",
76
- "aria-label": n,
77
- children: [/* @__PURE__ */ e("div", {
78
- class: `rv-editor-list__group-label ${a}`,
79
- children: n
80
- }), r]
81
+ "aria-label": e,
82
+ children: [/* @__PURE__ */ t("div", {
83
+ class: `rv-editor-list__group-label ${i}`,
84
+ children: e
85
+ }), n]
81
86
  });
82
87
  }
83
88
  //#endregion
84
- export { i as EditorList, s as EditorListGroup, a as EditorListItem, o as EditorListItemContent, r as EditorPane, n as EditorSplitLayout };
89
+ export { a as EditorList, c as EditorListGroup, o as EditorListItem, s as EditorListItemContent, i as EditorPane, r as EditorSplitLayout };
@@ -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
+ }
@@ -1,5 +1,5 @@
1
1
  import { RemoveButton } from './buttons/remove-button';
2
- import { h, ComponentChildren, JSX } from 'preact';
2
+ import { h, ComponentChildren, JSX } from './_vendor/preact/src/index';
3
3
  export declare function FieldIcon({ svg, className, }: {
4
4
  svg: string;
5
5
  className?: string;
@@ -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,16 +75,53 @@ 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;
87
96
  }
88
97
  /** Native disclosure; collapsed content stays mounted to preserve draft edits. */
89
98
  export declare function CollapsibleSection({ title, description, defaultOpen, children, className, summaryClassName, contentClassName, descriptionClassName, renderRoot, }: CollapsibleSectionProps): ComponentChildren;
99
+ export interface ConfiguratorCompactItem {
100
+ id: string;
101
+ label: string;
102
+ icon?: string;
103
+ count?: number;
104
+ disabled?: boolean;
105
+ /** Optional section to focus after opening. */
106
+ targetId?: string;
107
+ /** Activate the corresponding product tab when reopening. */
108
+ onOpen?: () => void;
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
+ }
116
+ /** Shared panel shell. Collapsing preserves mounted controls and their drafts. */
117
+ export declare function ConfiguratorPanel({ panelRef, standalone, children, compactItems, compact: compactProp, onExpand, miniMode, resizable, resizeParent, ...props }: Omit<JSX.HTMLAttributes<HTMLDivElement>, 'ref'> & ConfiguratorMiniModeConfig & {
118
+ panelRef?: import('./_vendor/preact/src/index').Ref<HTMLDivElement>;
119
+ standalone?: boolean;
120
+ compactItems?: readonly ConfiguratorCompactItem[];
121
+ /** Presentation state is owned by the host; the panel adds no toggle button. */
122
+ compact?: boolean;
123
+ onExpand?: () => void;
124
+ /** Apply the resized width to the product-owned parent as well. */
125
+ resizeParent?: boolean;
126
+ }): h.JSX.Element;
127
+ export { createFieldExpansion, fieldExpansionIds, recordFieldExpansion, type FieldExpansionState, } from './field-expansion';
@@ -1,170 +1,4 @@
1
- import { SvgIcon as e } from "./icons/icon.js";
2
- import { t } from "./_chunks/chevron-right-sxHQMSkq.js";
3
- import { n } from "./_chunks/delete-button-DnpmDNEJ.js";
4
- import { RemoveButton as r } from "./buttons/remove-button.js";
5
- import { DisclosureSummary as i } from "./form-controls/presentation.js";
6
- import { fieldDropIndex as a, reorderFields as o } from "./field-reorder.js";
7
- import { useFieldDropTarget as s, useFieldReorder as c } from "./field-reorder.hook.js";
8
- import { h as l } from "preact";
9
- import { useRef as u } from "preact/hooks";
10
- import { jsx as d, jsxs as f } from "preact/jsx-runtime";
11
- //#region src/field-configurator.tsx
12
- function p({ svg: t, className: n = "" }) {
13
- return /* @__PURE__ */ d(e, {
14
- svg: t,
15
- className: `rv-configurator-icon ${n}`
16
- });
17
- }
18
- function m({ children: e, className: n = "", ...r }) {
19
- return /* @__PURE__ */ d(i, {
20
- ...r,
21
- className: `rv-configurator-summary ${n}`,
22
- iconPosition: "after",
23
- icon: /* @__PURE__ */ d(p, { svg: t }),
24
- children: e
25
- });
26
- }
27
- function h({ title: e, count: t, children: n, className: r = "" }) {
28
- return /* @__PURE__ */ f("details", {
29
- class: `rv-configurator-available-fields ${r}`,
30
- open: !0,
31
- children: [/* @__PURE__ */ f(m, { children: [e, t != null && /* @__PURE__ */ d("span", {
32
- class: "rv-configurator-field-count",
33
- children: t
34
- })] }), /* @__PURE__ */ d("div", {
35
- class: "rv-configurator-library-content",
36
- children: n
37
- })]
38
- });
39
- }
40
- function g({ children: e, actions: t, className: n = "" }) {
41
- return /* @__PURE__ */ f("div", {
42
- class: `rv-configurator-zone-heading ${n}`,
43
- children: [/* @__PURE__ */ d("span", {
44
- class: "rv-configurator-zone-label",
45
- children: e
46
- }), t && /* @__PURE__ */ d("span", {
47
- class: "rv-configurator-zone-actions",
48
- children: t
49
- })]
50
- });
51
- }
52
- function _({ heading: e, actions: t, headingClassName: n, className: r = "", children: i, ...a }) {
53
- return /* @__PURE__ */ f("section", {
54
- ...a,
55
- className: `rv-configurator-zone ${r}`,
56
- children: [/* @__PURE__ */ d(g, {
57
- className: n,
58
- actions: t,
59
- children: e
60
- }), i]
61
- });
62
- }
63
- function v({ empty: e, placeholder: t, className: n = "", children: r, ...i }) {
64
- return /* @__PURE__ */ d("ul", {
65
- ...i,
66
- className: `rv-configurator-field-list ${e ? "empty" : ""} ${n}`,
67
- children: e ? /* @__PURE__ */ d("li", {
68
- className: "rv-configurator-empty-zone empty",
69
- children: t
70
- }) : r
71
- });
72
- }
73
- function y({ className: e = "", children: t, indicator: n, dropPosition: r, ...i }) {
74
- return /* @__PURE__ */ f("li", {
75
- ...i,
76
- className: `rv-configurator-field rv-configurator-field-row ${e}`,
77
- children: [
78
- n ?? (r && /* @__PURE__ */ d(O, { position: r })),
79
- /* @__PURE__ */ d("span", {
80
- className: "rv-configurator-drag-handle",
81
- "aria-hidden": "true"
82
- }),
83
- t
84
- ]
85
- });
86
- }
87
- function b({ icon: e, children: t, className: n = "" }) {
88
- return /* @__PURE__ */ f("span", {
89
- class: `rv-configurator-field-content ${n}`,
90
- children: [e, /* @__PURE__ */ d("span", {
91
- class: "rv-configurator-field-caption",
92
- children: t
93
- })]
94
- });
95
- }
96
- function x({ as: e = "div", children: t, className: n = "", ...r }) {
97
- return l(e, {
98
- ...r,
99
- class: `rv-configurator-field ${n}`
100
- }, t);
101
- }
102
- function S({ children: e, ...t }) {
103
- return /* @__PURE__ */ d("div", {
104
- ...t,
105
- className: `rv-configurator-library-list ${t.className ?? ""}`,
106
- children: e
107
- });
108
- }
109
- function C({ label: e, icon: t, actions: n, contentClassName: r, ...i }) {
110
- return /* @__PURE__ */ f(y, {
111
- ...i,
112
- children: [/* @__PURE__ */ d(b, {
113
- className: r,
114
- icon: t,
115
- children: e
116
- }), n]
117
- });
118
- }
119
- function w({ children: e, className: t = "", ...n }) {
120
- return /* @__PURE__ */ d("div", {
121
- ...n,
122
- className: `rv-configurator-field-actions ${t}`,
123
- children: e
124
- });
125
- }
126
- function T({ children: e, active: t = !1, label: n, className: r = "" }) {
127
- return /* @__PURE__ */ d("span", {
128
- className: `rv-configurator-status-badge ${r}`,
129
- "data-active": t ? "true" : void 0,
130
- title: n,
131
- "aria-label": n,
132
- children: e
133
- });
134
- }
135
- function E(e) {
136
- return /* @__PURE__ */ d(r, {
137
- ...e,
138
- className: `rv-configurator-remove-button ${e.className ?? ""}`
139
- });
140
- }
141
- function D() {
142
- return /* @__PURE__ */ d(e, { svg: n });
143
- }
144
- function O({ position: e, index: t, className: n = "" }) {
145
- return /* @__PURE__ */ d("span", {
146
- className: `rv-configurator-drop-indicator ${n}`,
147
- "data-position": e,
148
- "data-drop-index": t,
149
- "aria-hidden": "true"
150
- });
151
- }
152
- function k({ title: e, description: t, defaultOpen: n = !1, children: r, className: i = "", summaryClassName: a = "", contentClassName: o = "", descriptionClassName: s = "", renderRoot: c }) {
153
- let l = u(n), p = {
154
- class: `rv-collapsible-section rv-configurator-section ${i}`.trim(),
155
- open: l.current,
156
- children: [/* @__PURE__ */ d(m, {
157
- className: a,
158
- children: e
159
- }), /* @__PURE__ */ f("div", {
160
- class: `rv-collapsible-section__content ${o}`.trim(),
161
- children: [t && /* @__PURE__ */ d("p", {
162
- class: `rv-collapsible-section__description ${s}`.trim(),
163
- children: t
164
- }), r]
165
- })]
166
- };
167
- return c ? c(p) : /* @__PURE__ */ d("details", { ...p });
168
- }
169
- //#endregion
170
- export { k as CollapsibleSection, w as FieldActions, b as FieldContent, O as FieldDropIndicator, _ as FieldGroup, g as FieldGroupHeading, p as FieldIcon, x as FieldItem, h as FieldLibrary, S as FieldLibraryList, v as FieldList, E as FieldRemoveButton, D as FieldRemoveIcon, y as FieldRow, T as FieldStatusBadge, m as FieldSummary, C as SelectedField, a as fieldDropIndex, o as reorderFields, s as useFieldDropTarget, c as useFieldReorder };
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-B-qtIwx1.js";
2
+ import { fieldDropIndex as x, reorderFields as S } from "./field-reorder.js";
3
+ import { useFieldDropTarget as C, useFieldReorder as w } from "./field-reorder.hook.js";
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 };
@@ -0,0 +1,9 @@
1
+ /** Expansion overlay shared by nested field libraries; searching never overwrites it. */
2
+ export interface FieldExpansionState {
3
+ known: Set<string>;
4
+ expanded: Set<string>;
5
+ collapsed: Set<string>;
6
+ }
7
+ export declare function createFieldExpansion(): FieldExpansionState;
8
+ export declare function fieldExpansionIds(state: FieldExpansionState, ids: readonly string[], searching: boolean): Set<string>;
9
+ export declare function recordFieldExpansion(state: FieldExpansionState, expanded: Iterable<unknown>): void;