@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
@@ -1,36 +1,41 @@
1
- import { createPreactElement as e } from "./preact-mount.js";
2
- import { controlAttributes as t, controlClassName as n } from "./control-attributes.js";
3
- import { h as r } from "preact";
4
- import { jsx as i } from "preact/jsx-runtime";
5
- //#region src/control-presentation.view.tsx
6
- function a(e, n, r, ...i) {
7
- let a = r ?? {};
8
- if (n === "button" && a.busy === !0) {
9
- let r = i.length ? i : [a.children];
10
- return e(n, t(n, a), e("span", {
1
+ import { c as e } from "./_chunks/preact.module-BBM36DnO.js";
2
+ import { t } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
3
+ import { createPreactElement as n } from "./preact-mount.js";
4
+ import { n as r } from "./_chunks/popover-controller-D-AvKQ7B.js";
5
+ import { controlAttributes as i, controlClassName as a } from "./control-attributes.js";
6
+ //#region src/control-presentation.tsx
7
+ function o(e, t, n, ...r) {
8
+ let a = n ?? {};
9
+ if (t === "button" && a.busy === !0) {
10
+ let n = r.length ? r : [a.children];
11
+ return e(t, i(t, a), e("span", {
11
12
  class: "rv-button-spinner",
12
13
  "aria-hidden": "true"
13
- }), ...r);
14
+ }), ...n);
14
15
  }
15
- return e(n, t(n, a), ...i);
16
+ return e(t, i(t, a), ...r);
16
17
  }
17
- function o(t, n, i = {}) {
18
- let o = a(r, n, i);
19
- return i.onChange && !(n === "button" && i.busy) && Object.assign(o.props, { onChange: i.onChange }), e(t, o);
18
+ function s(t, r, i = {}) {
19
+ let a = o(e, r, i);
20
+ return i.onChange && !(r === "button" && i.busy) && Object.assign(a.props, { onChange: i.onChange }), n(t, a);
20
21
  }
21
- var s = /* @__PURE__ */ new WeakMap();
22
- function c(e, t) {
23
- return s.set(e, t), e;
22
+ var c = /* @__PURE__ */ new WeakMap();
23
+ function l(e, t) {
24
+ return c.set(e, t), e;
24
25
  }
25
- function l(e) {
26
- return typeof e == "string" ? e : e && (typeof e == "function" || typeof e == "object") ? s.get(e) : void 0;
26
+ function u(e) {
27
+ return typeof e == "string" ? e : e && (typeof e == "function" || typeof e == "object") ? c.get(e) : void 0;
27
28
  }
28
- function u(t, n) {
29
- t.classList.add("rv-btn", "rv-btn-ghost", "rv-btn-icon"), t.setAttribute("aria-label", n), t.title = n, t.querySelector(".rv-control-tooltip")?.remove(), t.append(e(t.ownerDocument, /* @__PURE__ */ i("span", {
29
+ var d = /* @__PURE__ */ new WeakMap();
30
+ function f(e, i) {
31
+ e.classList.add("rv-btn", "rv-btn-ghost", "rv-btn-icon"), e.setAttribute("aria-label", i), d.get(e)?.(), e.removeAttribute("title"), e.querySelector(".rv-control-tooltip")?.remove();
32
+ let a = n(e.ownerDocument, /* @__PURE__ */ t("span", {
30
33
  class: "rv-control-tooltip",
31
- "aria-hidden": "true",
32
- children: n
33
- })));
34
+ role: "tooltip",
35
+ hidden: !0,
36
+ children: i
37
+ }));
38
+ e.append(a), d.set(e, new r().bind(e, i, { surface: a }));
34
39
  }
35
40
  //#endregion
36
- export { t as controlAttributes, n as controlClassName, o as createControl, u as decorateIconAction, l as nativeControlTag, c as registerControl, a as renderControl };
41
+ export { i as controlAttributes, a as controlClassName, s as createControl, f as decorateIconAction, u as nativeControlTag, l as registerControl, o as renderControl };
package/controls.d.ts CHANGED
@@ -1,18 +1,23 @@
1
- import { BadgeOptions } from './badge';
2
- import { h, ComponentChildren, JSX } from 'preact';
1
+ import { h, ComponentChildren, JSX } from './_vendor/preact/src/index';
3
2
  import { SegmentedSwitchProps, SegmentedSwitchValue } from './segmented-switch';
4
3
  import { EditorPane, EditorSplitLayout } from './editor-layout';
5
4
  import { ResizeOptions } from './surfaces';
6
5
  type ButtonAttributes = Omit<JSX.IntrinsicElements['button'], 'className'>;
7
6
  export type ButtonProps = ButtonAttributes & {
7
+ /** Pill-shaped corners for any button variant. */
8
+ rounded?: boolean;
9
+ /** Render navigation with native anchor semantics. */
10
+ href?: string;
11
+ target?: JSX.IntrinsicElements['a']['target'];
12
+ rel?: string;
8
13
  /** Show progress and block activation until cleared, preserving variant colors. */
9
14
  busy?: boolean;
10
15
  className?: string;
11
16
  variant?: 'default' | 'primary' | 'secondary' | 'danger' | 'danger-outline' | 'ghost' | 'link' | 'solid';
12
17
  size?: 'compact' | 'default';
13
18
  };
14
- export declare const Button: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<ButtonProps> & {
15
- ref?: import('preact').Ref<HTMLButtonElement> | undefined;
19
+ export declare const Button: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<ButtonProps> & {
20
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLButtonElement> | undefined;
16
21
  }>;
17
22
  /** Preact convenience composition of the shared SVG command button owner. */
18
23
  export declare function IconButton({ label, icon, badge, children, className, variant, size, ...props }: ButtonProps & {
@@ -79,10 +84,6 @@ export declare function NumberStepper({ value, min, max, step, onChange, label,
79
84
  export declare function DateInput(props: Omit<TextInputProps, 'type'>): h.JSX.Element;
80
85
  export declare function TimeInput(props: Omit<TextInputProps, 'type'>): h.JSX.Element;
81
86
  export declare function DateTimeInput(props: Omit<TextInputProps, 'type'>): h.JSX.Element;
82
- export declare function NativeSelect({ className, class: nativeClass, onValueChange, onChange, ...props }: Omit<JSX.IntrinsicElements['select'], 'className'> & {
83
- className?: string;
84
- onValueChange?: (value: string) => void;
85
- }): h.JSX.Element;
86
87
  export declare function Chip({ children, className }: ShellProps): h.JSX.Element;
87
88
  export declare function FieldHint({ children, id }: ShellProps & {
88
89
  id?: string;
@@ -99,12 +100,12 @@ export declare function Disclosure({ children, className, summary, open, onToggl
99
100
  open?: boolean;
100
101
  onToggle?: JSX.GenericEventHandler<HTMLDetailsElement>;
101
102
  }): h.JSX.Element;
102
- export { EditorPane as Pane, EditorSplitLayout as SplitLayout, };
103
+ export { EditorPane as Pane, EditorSplitLayout as SplitLayout };
103
104
  export declare function Panel({ children, className, label }: ShellProps): h.JSX.Element;
104
105
  export declare function Toolbar({ children, className, label }: ShellProps): h.JSX.Element;
105
106
  export declare function ToolbarGroup({ children, className, label }: ShellProps): h.JSX.Element;
106
107
  export declare function ToolbarSeparator(): h.JSX.Element;
107
- export declare function Badge({ children, className, variant, shape }: ShellProps & BadgeOptions): h.JSX.Element;
108
+ export { Badge } from './badge.view';
108
109
  export declare function CountBadge({ count, label }: {
109
110
  count: number;
110
111
  label: string;
@@ -112,7 +113,7 @@ export declare function CountBadge({ count, label }: {
112
113
  export { Alert } from './alert';
113
114
  export declare function Spinner({ label }: {
114
115
  label: string;
115
- }): import('preact').VNode<import('preact').Attributes>;
116
+ }): import('./_vendor/preact/src/index').VNode<import('./_vendor/preact/src/index').Attributes>;
116
117
  export declare function LoadingOverlay({ busy, label, children, }: {
117
118
  busy: boolean;
118
119
  label: string;
@@ -132,6 +133,17 @@ export declare function Submenu({ label, children }: ShellProps & {
132
133
  label: string;
133
134
  }): h.JSX.Element;
134
135
  export declare function ResizeHandle(props: ResizeOptions): h.JSX.Element;
136
+ export interface PanelResizeHandleProps extends Omit<ResizeOptions, 'value' | 'direction'> {
137
+ edge: 'left' | 'right';
138
+ initialWidth: number;
139
+ anchorRef?: {
140
+ current: HTMLDivElement | null;
141
+ };
142
+ /** Measure the outer host when it owns the resized width. */
143
+ resizeParent?: boolean;
144
+ }
145
+ /** Measures the containing panel and places a width control on its physical edge. */
146
+ export declare function PanelResizeHandle({ edge, initialWidth, anchorRef, resizeParent, max, ...props }: PanelResizeHandleProps): h.JSX.Element;
135
147
  export type PaginationDirection = 'first' | 'previous' | 'next' | 'last';
136
148
  export type PaginationButtonOptions = Pick<ButtonProps, 'disabled' | 'variant' | 'className' | 'title'>;
137
149
  export interface PaginationProps {
package/controls.js CHANGED
@@ -1,3 +1,4 @@
1
- import { A as e, C as t, D as n, E as r, F as i, I as a, L as o, M as s, N as c, O as l, P as u, R as d, S as f, T as p, _ as m, a as h, b as g, c as _, d as v, f as y, g as b, h as x, i as S, j as C, k as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as M, u as N, v as P, w as F, x as I, y as L, z as R } from "./_chunks/controls-NEL5tDaz.js";
2
- import { EditorList as z, EditorListGroup as B, EditorListItem as V, EditorListItemContent as H, EditorPane as U, EditorSplitLayout as W } from "./editor-layout/index.js";
3
- export { R as Alert, M as Badge, D as Button, A as ButtonGroup, S as Chip, h as CircularProgress, O as CountBadge, j as DateInput, _ as DateTimeInput, T as Disclosure, N as EmptyState, v as FieldError, y as FieldHint, k as FormSection, E as IconButton, z as Listbox, B as ListboxGroup, V as ListboxOption, H as ListboxOptionContent, x as LoadingOverlay, b as Menu, m as MenuItem, P as MenuSeparator, L as NativeSelect, g as NumberInput, I as NumberStepper, f as Pagination, U as Pane, t as Panel, F as RadioGroup, p as Rating, r as ResizeHandle, n as SegmentedControl, l as Spinner, W as SplitLayout, w as Submenu, e as TabPanel, C as Tabs, s as TextInput, c as Textarea, u as TimeInput, i as ToggleButton, a as Toolbar, o as ToolbarGroup, d as ToolbarSeparator };
1
+ import { t as e } from "./_chunks/selection-list-tooltips-BtWjpP6M.js";
2
+ import { A as t, B as n, C as r, D as i, E as a, F as o, I as s, L as c, M as l, N as u, O as d, P as f, R as p, S as m, T as h, _ as g, a as _, b as v, c as y, d as b, f as x, g as S, h as C, i as w, j as T, k as E, l as D, m as O, n as k, o as A, p as j, r as M, s as N, t as P, u as F, v as I, w as L, x as R, y as z } from "./_chunks/controls-DD1qvPfE.js";
3
+ import { EditorList as B, EditorListGroup as V, EditorListItem as H, EditorListItemContent as U, EditorPane as W, EditorSplitLayout as G } from "./editor-layout/index.js";
4
+ export { p as Alert, n as Badge, P as Button, k as ButtonGroup, M as Chip, w as CircularProgress, _ as CountBadge, A as DateInput, N as DateTimeInput, y as Disclosure, D as EmptyState, F as FieldError, b as FieldHint, x as FormSection, j as IconButton, B as Listbox, V as ListboxGroup, H as ListboxOption, U as ListboxOptionContent, O as LoadingOverlay, C as Menu, S as MenuItem, g as MenuSeparator, I as NumberInput, z as NumberStepper, v as Pagination, W as Pane, R as Panel, m as PanelResizeHandle, r as RadioGroup, L as Rating, h as ResizeHandle, a as SegmentedControl, i as Spinner, G as SplitLayout, d as Submenu, E as TabPanel, t as Tabs, T as TextInput, l as Textarea, u as TimeInput, f as ToggleButton, o as Toolbar, s as ToolbarGroup, c as ToolbarSeparator, e as useSelectionListTooltips };
@@ -1,4 +1,4 @@
1
1
  export type EditorCommit = () => boolean | void;
2
2
  /** A popup registers one draft owner. Programmatic close and Escape never commit. */
3
- export declare const EditorCommitContext: import('preact').Context<((commit: EditorCommit) => () => void) | undefined>;
3
+ export declare const EditorCommitContext: import('../_vendor/preact/src/index').Context<((commit: EditorCommit) => () => void) | undefined>;
4
4
  export declare function useEditorAutoApply(commit: EditorCommit, enabled?: boolean): void;
@@ -1,8 +1,12 @@
1
- /** Keep the owning field visible, scrolling the popup on the roomier side when necessary. */
1
+ /** Prefer keeping the field visible, with an optional viewport fit for larger editors. */
2
2
  export declare function calculateEditorPopupPosition(anchor: Pick<DOMRect, 'left' | 'right' | 'top' | 'bottom'>, popup: Pick<DOMRect, 'width' | 'height'>, viewport: {
3
3
  width: number;
4
4
  height: number;
5
- }, gap?: number, inset?: number): {
5
+ }, { gap, inset, fitViewport }?: {
6
+ gap?: number | undefined;
7
+ inset?: number | undefined;
8
+ fitViewport?: boolean | undefined;
9
+ }): {
6
10
  placementY: string;
7
11
  maxHeight: number;
8
12
  top: number;
@@ -1,4 +1,4 @@
1
- import { ComponentChildren } from 'preact';
1
+ import { ComponentChildren } from '../_vendor/preact/src/index';
2
2
  export interface EditorPopupHandle {
3
3
  readonly element: HTMLElement;
4
4
  close(): void;
@@ -6,6 +6,10 @@ export interface EditorPopupHandle {
6
6
  export interface EditorPopupOptions {
7
7
  label: string;
8
8
  className?: string;
9
+ /** Allow overlap with the anchor when the popup needs more vertical room. */
10
+ fitViewport?: boolean;
11
+ /** A separate trigger can toggle the popup without applying the draft. */
12
+ trigger?: HTMLElement;
9
13
  onClose?: () => void;
10
14
  isAvailable?: () => boolean;
11
15
  }
@@ -1 +1 @@
1
- export { t as mountEditorPopup } from "../_chunks/editor-popup-B7fu_A_T.js";
1
+ export { t as mountEditorPopup } from "../_chunks/editor-popup-ByU7qiub.js";
@@ -0,0 +1,35 @@
1
+ export interface PopoverOptions {
2
+ anchor: HTMLElement | SVGElement;
3
+ placement?: 'above';
4
+ content: HTMLElement;
5
+ /** Defaults to the document body. */
6
+ appendTo?: HTMLElement;
7
+ onClose?: () => void;
8
+ restoreFocus?: boolean;
9
+ closeOnOutside?: boolean;
10
+ closeOnEscape?: boolean;
11
+ display?: string;
12
+ }
13
+ /** One owner for native top-layer promotion, viewport positioning and disposal. */
14
+ export declare class PopoverController {
15
+ private active?;
16
+ get isOpen(): boolean;
17
+ open(options: PopoverOptions): {
18
+ close: (restoreFocus?: boolean) => void;
19
+ refresh: () => void;
20
+ };
21
+ refresh(): void;
22
+ close(restoreFocus?: boolean): void;
23
+ destroy(): void;
24
+ }
25
+ export declare function createTooltipElement(document: Document, className?: string): HTMLDivElement;
26
+ /** Imperative binding adapter over the same session used by useTooltip. */
27
+ export declare class TooltipController {
28
+ private release?;
29
+ bind(anchor: HTMLElement | SVGElement, text: string, options?: {
30
+ trigger?: 'hover' | 'click';
31
+ surface?: HTMLElement;
32
+ onEscape?: () => void;
33
+ }): () => void;
34
+ destroy(): void;
35
+ }
@@ -0,0 +1,2 @@
1
+ /** Includes portalled descendants linked by their owning trigger's aria-controls. */
2
+ export declare function ownsPopupTarget(root: HTMLElement | null | undefined, target: Node | null): boolean;
@@ -0,0 +1,2 @@
1
+ /** One delegated binding per list, including options rendered by custom templates. */
2
+ export declare function useSelectionListTooltips(optionSelector?: string): (root: HTMLElement | null) => void;
@@ -0,0 +1,2 @@
1
+ /** Native title replacement, without wrappers or changes to consumer handlers. */
2
+ export declare function useTitleTooltip<T extends HTMLElement | SVGElement>(title?: string, onEscape?: () => void): import('../_vendor/preact/src/index').RefObject<T>;
@@ -0,0 +1,29 @@
1
+ export type TooltipAnchor = HTMLElement | SVGElement;
2
+ /** One lifecycle for declarative and imperative tooltip adapters. */
3
+ export declare class TooltipSession {
4
+ private anchor?;
5
+ private surface?;
6
+ private timer?;
7
+ private mode?;
8
+ private cleanup?;
9
+ private mounted;
10
+ private pointerFocus;
11
+ private open;
12
+ private addedDescription;
13
+ onHide?: () => void;
14
+ onEscape?: () => void;
15
+ delay: number;
16
+ get isOpen(): boolean;
17
+ get isPending(): boolean;
18
+ setSurface(surface: HTMLElement | null): void;
19
+ show(anchor: TooltipAnchor): void;
20
+ private present;
21
+ hide(): void;
22
+ focus(anchor: TooltipAnchor): void;
23
+ blur(): void;
24
+ pointerDown(): void;
25
+ leave(anchor?: TooltipAnchor): void;
26
+ keyDown(event: KeyboardEvent): void;
27
+ destroy(): void;
28
+ private listen;
29
+ }
@@ -0,0 +1,13 @@
1
+ /** Shared presentation for text hints and rich product/chart tooltip content. */
2
+ export declare const TOOLTIP_STYLES = "\n.rv-tooltip.rv-tooltip {\n box-sizing: border-box;\n position: fixed;\n z-index: 100000;\n margin: 0;\n inset: auto;\n transform: none;\n opacity: 1;\n visibility: visible;\n padding: 6px 10px;\n border: 0;\n border-radius: 6px;\n background: var(--rv-tooltip-bg, #191919);\n color: var(--rv-tooltip-fg, #fff);\n box-shadow: 0 4px 14px var(--rv-ui-shadow, rgb(0 0 0 / 18%));\n font: 12px/1.4 var(--rv-ui-font-family, Inter, ui-sans-serif, system-ui, sans-serif);\n font-weight: 400;\n text-align: start;\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n max-width: min(360px, calc(100vw - 16px));\n max-height: calc(100dvh - 16px);\n overflow: auto;\n pointer-events: none;\n}\n.rv-tooltip[hidden], .rv-tooltip[data-visible=\"false\"] { display: none; }\n.rv-tooltip[data-overflow] { pointer-events: auto; }\n@media (forced-colors: active) {\n .rv-tooltip.rv-tooltip { color: CanvasText; background: Canvas; border: 1px solid CanvasText; }\n}\n";
3
+ /** Also installs into shadow roots/fullscreen roots used by standalone charts. */
4
+ export declare function ensureTooltipStyles(root: Document | ShadowRoot): void;
5
+ export declare function prepareTooltipSurface(element: HTMLElement): void;
6
+ /** Shared hint placement: centered above the trigger, with a bounded below fallback. */
7
+ export declare function calculateTooltipPosition(anchor: DOMRect, popup: DOMRect, viewport: {
8
+ width: number;
9
+ height: number;
10
+ }): import('./anchored-popover').AnchoredPopoverPosition | {
11
+ left: number;
12
+ top: number;
13
+ };
@@ -0,0 +1,6 @@
1
+ import { JSX } from '../_vendor/preact/src/index';
2
+ /** Wrapper-free shared hint for otherwise native text and label elements. */
3
+ export declare function TooltipText({ as, title, children, ...attributes }: Omit<JSX.HTMLAttributes<HTMLElement>, 'title'> & {
4
+ as?: 'span' | 'label' | 'div';
5
+ title?: string;
6
+ }): JSX.Element;
@@ -0,0 +1,35 @@
1
+ import { h, ComponentChildren, TargetedEvent } from '../_vendor/preact/src/index';
2
+ type TooltipPresentation = {
3
+ className?: string;
4
+ placement?: 'above';
5
+ delay?: number;
6
+ content?: ComponentChildren;
7
+ };
8
+ /** Preact adapter; the session owns all tooltip behavior and DOM lifecycle. */
9
+ export declare function useControlTooltip(text: string, _floating?: boolean, presentation?: TooltipPresentation): {
10
+ readonly id: string;
11
+ readonly hide: () => void;
12
+ readonly triggerProps: {
13
+ readonly 'aria-describedby': string;
14
+ readonly onFocus: (event: TargetedEvent<HTMLElement>) => void;
15
+ readonly onBlur: () => void;
16
+ readonly onMouseEnter: (event: TargetedEvent<HTMLElement>) => void;
17
+ readonly onMouseLeave: (event?: TargetedEvent<HTMLElement>) => void;
18
+ readonly onPointerDown: (_event: TargetedEvent<HTMLElement>) => void;
19
+ readonly onPointerCancel: () => void;
20
+ readonly onKeyDown: (event: KeyboardEvent) => void;
21
+ };
22
+ readonly tooltip: h.JSX.Element;
23
+ };
24
+ /** Controlled surface adapter retained for existing consumers. */
25
+ export declare function ControlTooltip({ id, text, content, visible, anchor, className, }: {
26
+ readonly id: string;
27
+ readonly text: string;
28
+ readonly content?: ComponentChildren;
29
+ readonly visible: boolean;
30
+ readonly anchor?: HTMLElement | null;
31
+ readonly className?: string;
32
+ readonly placement?: 'above';
33
+ }): h.JSX.Element;
34
+ export declare const useTooltip: typeof useControlTooltip;
35
+ export {};
@@ -1,3 +1,5 @@
1
+ export { ensureTooltipStyles, prepareTooltipSurface, TOOLTIP_STYLES, } from './tooltip-surface';
2
+ export { ownsPopupTarget } from './popup-ownership';
1
3
  export type TopLayerPopupMode = 'popover' | 'fallback';
2
4
  export type TopLayerPopupElement = HTMLElement & {
3
5
  showPopover?: () => void;
@@ -7,3 +9,5 @@ export type TopLayerPopupElement = HTMLElement & {
7
9
  export declare function showTopLayerPopup(element: TopLayerPopupElement, visibleDisplay?: string): TopLayerPopupMode;
8
10
  /** Hides an overlay opened by `showTopLayerPopup`; safe to call repeatedly. */
9
11
  export declare function hideTopLayerPopup(element: TopLayerPopupElement, mode?: TopLayerPopupMode): void;
12
+ /** Includes portalled popup content linked by descendant aria-controls triggers. */
13
+ export declare function popupOwnsTarget(panel: HTMLElement, target: Node | null): boolean;
@@ -1,23 +1 @@
1
- //#region src/core/top-layer-popup.ts
2
- var e = /* @__PURE__ */ new WeakMap();
3
- function t(t, n = "flex") {
4
- if (e.has(t) || e.set(t, t.getAttribute("data-rv-ui-surface")), t.setAttribute("data-rv-ui-surface", ""), t.style.display = n, typeof t.showPopover == "function") {
5
- t.setAttribute("popover", "manual");
6
- try {
7
- return t.showPopover(), "popover";
8
- } catch {
9
- t.removeAttribute("popover");
10
- }
11
- }
12
- return t.style.display = n, "fallback";
13
- }
14
- function n(t, n) {
15
- let r = e.get(t);
16
- if (r !== void 0 && (r === null ? t.removeAttribute("data-rv-ui-surface") : t.setAttribute("data-rv-ui-surface", r), e.delete(t)), n === "popover" && typeof t.hidePopover == "function") try {
17
- t.hidePopover(), t.style.removeProperty("display");
18
- return;
19
- } catch {}
20
- t.style.display = "none";
21
- }
22
- //#endregion
23
- export { n as hideTopLayerPopup, t as showTopLayerPopup };
1
+ export { a as TOOLTIP_STYLES, s as ensureTooltipStyles, t as hideTopLayerPopup, i as ownsPopupTarget, n as popupOwnsTarget, c as prepareTooltipSurface, r as showTopLayerPopup } from "../_chunks/top-layer-popup-CNSDdfJV.js";
@@ -1,3 +1,3 @@
1
1
  import { TemporalPickerOptions } from './types';
2
- /** Adds the shared picker to an existing native input without changing its draft/commit owner. */
2
+ /** Adds or replaces the shared picker on an existing native input. */
3
3
  export declare function attachTemporalPicker(input: HTMLInputElement, options: TemporalPickerOptions, commit: (value: string) => void): () => void;
@@ -4,7 +4,7 @@ export interface DateInputOptions extends DateEntryOptions {
4
4
  /** Date-only multiple selection uses a semicolon-separated list by default. */
5
5
  multipleSeparator?: string;
6
6
  }
7
- export declare function DateControl({ value, label, options, multiple, invalid, errorId, disabled, readOnly, minDate, maxDate, onChange, onFocus }: {
7
+ export declare function DateControl({ value, label, options, multiple, invalid, errorId, disabled, readOnly, minDate, maxDate, onChange, onFocus, }: {
8
8
  value: string | string[];
9
9
  label: string;
10
10
  options?: DateInputOptions;
@@ -17,4 +17,4 @@ export declare function DateControl({ value, label, options, multiple, invalid,
17
17
  errorId?: string;
18
18
  onFocus?: () => void;
19
19
  onChange: (date: string | string[]) => void;
20
- }): import("preact").JSX.Element;
20
+ }): import("../_vendor/preact/src/index").JSX.Element;
@@ -1,11 +1,12 @@
1
1
  import { DateTimeFieldProps, TemporalPickerOptions } from './types';
2
2
  import { TemporalControlValue } from '../_shared/dates/index';
3
- export declare function TemporalDraft({ value, options, apply, cancel, clearable, }: {
3
+ export declare function TemporalDraft({ value, options, apply, cancel, onValidChange, clearable, }: {
4
4
  clearable?: boolean;
5
5
  value: TemporalControlValue;
6
6
  options: TemporalPickerOptions;
7
7
  apply: (value: TemporalControlValue) => void | string;
8
8
  cancel: () => void;
9
- }): import("preact").JSX.Element;
9
+ onValidChange?: (value: TemporalControlValue) => void;
10
+ }): import("../_vendor/preact/src/index").JSX.Element;
10
11
  /** Native text entry plus the original shared CalendarPicker, usable in any product form. */
11
- export declare function DateTimeField({ value, kind, picker, onValueChange, onInput, formatValue, parseValue, ...input }: DateTimeFieldProps): import("preact").JSX.Element;
12
+ export declare function DateTimeField({ value, kind, picker, livePickerUpdates, onValueChange, onInput, formatValue, parseValue, ...input }: DateTimeFieldProps): import("../_vendor/preact/src/index").JSX.Element;
@@ -1 +1 @@
1
- export { r as DateTimeField, i as TemporalDraft, a as TemporalPicker, n as attachTemporalPicker, o as defaultTemporalPickerText, t as renderTemporalValue, s as temporalPickerLabel } from "../_chunks/date-time-DjucJmbc.js";
1
+ export { r as DateTimeField, i as TemporalDraft, a as TemporalPicker, n as attachTemporalPicker, o as defaultTemporalPickerText, t as renderTemporalValue, s as temporalPickerLabel } from "../_chunks/date-time-CGJdC1Qa.js";
@@ -1,2 +1,2 @@
1
1
  import { TemporalPickerProps } from './types';
2
- export declare function TemporalPicker(props: TemporalPickerProps): import("preact").JSX.Element;
2
+ export declare function TemporalPicker(props: TemporalPickerProps): import("../_vendor/preact/src/index").JSX.Element;