@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,6 +1,7 @@
1
- import { PreactRangeSlider as e } from "../filter/filters/slider/preact.js";
2
- import { DistributionChart as t } from "../distribution-chart/index.js";
3
- import { jsx as n, jsxs as r } from "preact/jsx-runtime";
1
+ import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
2
+ import { t } from "../_chunks/tooltip-text-BXsUEmBH.js";
3
+ import { PreactRangeSlider as n } from "../filter/filters/slider/preact.js";
4
+ import { DistributionChart as r } from "../distribution-chart/index.js";
4
5
  //#region src/brush-range/component.tsx
5
6
  function i(...e) {
6
7
  return e.filter(Boolean).join(" ");
@@ -8,37 +9,36 @@ function i(...e) {
8
9
  function a(e) {
9
10
  return typeof e == "string" || typeof e == "number" ? String(e) : void 0;
10
11
  }
11
- function o({ chart: o, slider: s, startLabel: c, selectionLabel: l, endLabel: u, legacyClassPrefix: d }) {
12
- let f = (e) => d ? `${d}__${e}` : void 0;
13
- return /* @__PURE__ */ r("div", {
12
+ function o({ chart: o, slider: s, startLabel: c, selectionLabel: l, endLabel: u }) {
13
+ return /* @__PURE__ */ e("div", {
14
14
  class: "brush-range",
15
15
  children: [
16
- o ? /* @__PURE__ */ n(t, {
16
+ o ? /* @__PURE__ */ e(r, {
17
17
  ...o,
18
- className: i("brush-range__chart", f("chart"), o.className)
18
+ className: i("brush-range__chart", o.className)
19
19
  }) : null,
20
- /* @__PURE__ */ n(e, {
20
+ /* @__PURE__ */ e(n, {
21
21
  ...s,
22
- className: i("brush-range__range", f("range"), s.className),
23
- controlClassName: i("brush-range__controls", f("controls"), s.controlClassName),
24
- fromClassName: i(f("lower"), s.fromClassName),
25
- toClassName: i(f("upper"), s.toClassName)
22
+ className: i("brush-range__range", s.className),
23
+ controlClassName: i("brush-range__controls", s.controlClassName),
24
+ fromClassName: s.fromClassName,
25
+ toClassName: s.toClassName
26
26
  }),
27
- /* @__PURE__ */ r("div", {
28
- class: i("brush-range__labels", f("labels")),
27
+ /* @__PURE__ */ e("div", {
28
+ class: "brush-range__labels",
29
29
  children: [
30
- /* @__PURE__ */ n("span", {
30
+ /* @__PURE__ */ e(t, {
31
31
  class: "brush-range__label brush-range__label--start",
32
32
  title: a(c),
33
33
  children: c
34
34
  }),
35
- /* @__PURE__ */ n("span", {
36
- class: i("brush-range__label", "brush-range__selection", f("selection")),
35
+ /* @__PURE__ */ e(t, {
36
+ class: i("brush-range__label", "brush-range__selection"),
37
37
  role: "status",
38
38
  title: a(l),
39
39
  children: l
40
40
  }),
41
- /* @__PURE__ */ n("span", {
41
+ /* @__PURE__ */ e(t, {
42
42
  class: "brush-range__label brush-range__label--end",
43
43
  title: a(u),
44
44
  children: u
@@ -1,6 +1,7 @@
1
- export declare const DeleteButton: ({ onClick, disabled, className, onMouseDown, onDblClick, locale, }: {
1
+ export declare const DeleteButton: ({ onClick, disabled, rounded, className, onMouseDown, onDblClick, locale, }: {
2
2
  onClick: (e: MouseEvent) => void;
3
3
  disabled?: boolean;
4
+ rounded?: boolean;
4
5
  onMouseDown?: (event: MouseEvent) => void;
5
6
  onDblClick?: (event: MouseEvent) => void;
6
7
  className?: string;
@@ -1 +1 @@
1
- export { t as DeleteButton } from "../_chunks/delete-button-DnpmDNEJ.js";
1
+ export { t as DeleteButton } from "../_chunks/delete-button-CW9vjLnk.js";
@@ -9,6 +9,10 @@
9
9
  color: var(--rv-ui-btn-danger-outline);
10
10
  background: transparent;
11
11
  border-radius: var(--rv-ui-radius, 6px);
12
- &:hover:not(:disabled) { background: var(--rv-ui-btn-danger-outline-hover); }
13
- svg { fill: currentColor; }
12
+ &:hover:not(:disabled) {
13
+ background: var(--rv-ui-btn-danger-outline-hover);
14
+ }
15
+ svg {
16
+ fill: currentColor;
17
+ }
14
18
  }
@@ -1,8 +1,8 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { DeleteButton } from './delete-button';
3
3
  export type RemoveButtonProps = Parameters<typeof DeleteButton>[0] & {
4
4
  /** Compact hit area for an action embedded inside a selected-value chip. */
5
5
  compact?: boolean;
6
6
  };
7
- /** Neutral close/remove action; DeleteButton keeps its legacy danger variant. */
7
+ /** Neutral close/remove action; DeleteButton uses destructive action styling. */
8
8
  export declare function RemoveButton({ compact, className, ...props }: RemoveButtonProps): h.JSX.Element;
@@ -1,8 +1,8 @@
1
- import { t as e } from "../_chunks/delete-button-DnpmDNEJ.js";
2
- import { jsx as t } from "preact/jsx-runtime";
1
+ import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
2
+ import { t } from "../_chunks/delete-button-CW9vjLnk.js";
3
3
  //#region src/buttons/remove-button.tsx
4
4
  function n({ compact: n = !1, className: r = "", ...i }) {
5
- return /* @__PURE__ */ t(e, {
5
+ return /* @__PURE__ */ e(t, {
6
6
  ...i,
7
7
  className: `rv-remove-button${n ? " rv-remove-button--compact" : ""} ${r}`
8
8
  });
@@ -1,6 +1,6 @@
1
1
  @use '../styles/icon-action';
2
2
 
3
- // Specificity retains legacy DeleteButton classes without inheriting danger styling.
3
+ // Neutral remove actions override destructive button styling.
4
4
  button.remove-btn.rv-remove-button {
5
5
  @include icon-action.neutral;
6
6
  &.rv-remove-button--compact {
@@ -1,6 +1,7 @@
1
- import { h, ComponentChildren, JSX } from 'preact';
1
+ import { h, ComponentChildren, JSX } from '../_vendor/preact/src/index';
2
2
  export interface SvgButtonProps extends Omit<JSX.IntrinsicElements['button'], 'className' | 'children'> {
3
3
  readonly label: string;
4
+ readonly rounded?: boolean;
4
5
  readonly busy?: boolean;
5
6
  /** Explicit variants retain shared appearance when consumer classes are supplied. */
6
7
  readonly variant?: 'link' | 'ghost' | 'solid';
@@ -15,4 +16,4 @@ export interface SvgButtonProps extends Omit<JSX.IntrinsicElements['button'], 'c
15
16
  readonly children?: ComponentChildren;
16
17
  }
17
18
  /** Shared native button presentation for trusted bundled SVG controls. */
18
- export declare function SvgButton({ label, variant, icon, visibleLabel, className, iconClassName, labelClassName, children, iconContent, badge, badgeClassName, class: nativeClass, disabled, ...attributes }: SvgButtonProps): h.JSX.Element;
19
+ export declare function SvgButton({ label, variant, icon, visibleLabel, className, iconClassName, labelClassName, children, iconContent, badge, badgeClassName, class: nativeClass, disabled, title, ...attributes }: SvgButtonProps): h.JSX.Element;
@@ -1,19 +1,19 @@
1
- import { SvgIcon as e } from "../icons/icon.js";
2
- import { controlClassName as t } from "../control-attributes.js";
3
- import { ButtonControl as n } from "../native-control.js";
4
- import { n as r } from "../_chunks/control-tooltip-BCNzQCXE.js";
5
- import { jsx as i, jsxs as a } from "preact/jsx-runtime";
1
+ import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
2
+ import { SvgIcon as t } from "../icons/icon.js";
3
+ import { t as n } from "../_chunks/native-control-B9MNibfa.js";
4
+ import { controlClassName as r } from "../control-attributes.js";
5
+ import { n as i } from "../_chunks/tooltip-D4xkio5G.js";
6
6
  //#region src/buttons/svg-button.tsx
7
- function o({ label: o, variant: s, icon: c, visibleLabel: l, className: u, iconClassName: d, labelClassName: f, children: p, iconContent: m, badge: h, badgeClassName: g = "", class: _, disabled: v, ...y }) {
8
- let b = r(o, !0, {
7
+ function a({ label: a, variant: o, icon: s, visibleLabel: c, className: l, iconClassName: u, labelClassName: d, children: f, iconContent: p, badge: m, badgeClassName: h = "", class: g, disabled: _, title: v, ...y }) {
8
+ let b = i(typeof v == "string" ? v : a, !0, {
9
9
  className: "rv-control-tooltip",
10
10
  placement: "above"
11
11
  });
12
- return /* @__PURE__ */ a(n, {
12
+ return /* @__PURE__ */ e(n, {
13
13
  type: "button",
14
- "aria-label": h === void 0 ? o : `${o} ${h}`,
14
+ "aria-label": m === void 0 ? a : `${a} ${m}`,
15
15
  ...y,
16
- disabled: v,
16
+ disabled: _,
17
17
  ...b.triggerProps,
18
18
  "aria-describedby": [y["aria-describedby"], b.id].filter(Boolean).join(" "),
19
19
  onFocus: (e) => {
@@ -40,25 +40,25 @@ function o({ label: o, variant: s, icon: c, visibleLabel: l, className: u, iconC
40
40
  onClick: (e) => {
41
41
  b.hide(), y.onClick?.(e);
42
42
  },
43
- class: t(u ?? (s ? "" : "rv-btn-ghost"), s && `rv-btn-${s}`, _, "rv-icon-action", !l && "rv-btn-icon"),
43
+ class: r(l ?? (o ? "" : "rv-btn-ghost"), o && `rv-btn-${o}`, g, "rv-icon-action", !c && "rv-btn-icon"),
44
44
  children: [
45
- c ? /* @__PURE__ */ i(e, {
46
- svg: c,
47
- className: d
48
- }) : m,
49
- l ? /* @__PURE__ */ i("span", {
50
- class: f,
51
- children: l
45
+ s ? /* @__PURE__ */ e(t, {
46
+ svg: s,
47
+ className: u
48
+ }) : p,
49
+ c ? /* @__PURE__ */ e("span", {
50
+ class: d,
51
+ children: c
52
52
  }) : null,
53
- h !== void 0 && /* @__PURE__ */ i("span", {
54
- class: `rv-badge ${g}`,
53
+ m !== void 0 && /* @__PURE__ */ e("span", {
54
+ class: `rv-badge ${h}`,
55
55
  "aria-hidden": "true",
56
- children: h
56
+ children: m
57
57
  }),
58
- p,
58
+ f,
59
59
  b.tooltip
60
60
  ]
61
61
  });
62
62
  }
63
63
  //#endregion
64
- export { o as SvgButton };
64
+ export { a as SvgButton };
@@ -33,7 +33,8 @@
33
33
  font: inherit;
34
34
  cursor: pointer;
35
35
  transition:
36
- background-color var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out),
36
+ background-color var(--rv-ui-motion-fast, 120ms)
37
+ var(--rv-ui-motion-ease, ease-out),
37
38
  color var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out),
38
39
  opacity var(--rv-ui-motion-fast, 120ms) var(--rv-ui-motion-ease, ease-out);
39
40
  }
@@ -114,11 +115,11 @@
114
115
  }
115
116
 
116
117
  .revo-calendar__month.active {
117
- background: var(
118
- --revo-grid-filter-active-badge-bg,
119
- var(--rv-ui-selected-bg)
118
+ background: var(--revo-grid-filter-active-badge-bg, var(--rv-ui-selected-bg));
119
+ color: var(
120
+ --rv-filter-active-icon-color,
121
+ var(--rv-ui-selected-accent-fg, var(--rv-ui-accent-text))
120
122
  );
121
- color: var(--rv-filter-active-icon-color, var(--rv-ui-selected-accent-fg, var(--rv-ui-accent-text)));
122
123
  font-weight: 500;
123
124
  }
124
125
 
@@ -142,10 +143,7 @@
142
143
 
143
144
  .revo-calendar__weekdays span {
144
145
  min-height: 18px;
145
- color: var(
146
- --revo-grid-filter-popup-label-color,
147
- var(--rv-ui-text-muted)
148
- );
146
+ color: var(--revo-grid-filter-popup-label-color, var(--rv-ui-text-muted));
149
147
  font-size: 11px;
150
148
  font-weight: 500;
151
149
  line-height: 18px;
@@ -163,10 +161,7 @@
163
161
  }
164
162
 
165
163
  .revo-calendar__day.outside {
166
- color: var(
167
- --revo-grid-filter-popup-label-color,
168
- var(--rv-ui-text-muted)
169
- );
164
+ color: var(--revo-grid-filter-popup-label-color, var(--rv-ui-text-muted));
170
165
  opacity: 1;
171
166
  }
172
167
 
@@ -181,10 +176,7 @@
181
176
  }
182
177
 
183
178
  .revo-calendar__day.in-range {
184
- background: var(
185
- --revo-grid-filter-active-badge-bg,
186
- var(--rv-ui-selected-bg)
187
- );
179
+ background: var(--revo-grid-filter-active-badge-bg, var(--rv-ui-selected-bg));
188
180
  }
189
181
 
190
182
  .revo-calendar__day.in-preview:not(.in-range) {
@@ -248,8 +240,7 @@
248
240
  .revo-calendar__month:focus-visible,
249
241
  .revo-calendar__today:focus-visible {
250
242
  z-index: 1;
251
- outline: 2px solid
252
- var(--rv-filter-active-icon-color, var(--rv-ui-accent));
243
+ outline: 2px solid var(--rv-filter-active-icon-color, var(--rv-ui-accent));
253
244
  outline-offset: 1px;
254
245
  }
255
246
 
@@ -292,15 +283,20 @@
292
283
  gap: 2px;
293
284
  min-width: 0;
294
285
  }
295
- .revo-calendar__caption .rv-control {
286
+ .revo-calendar__caption .dropdown-container {
287
+ flex: 1 1 0;
296
288
  min-width: 0;
297
- width: auto;
298
289
  max-width: 58%;
290
+ }
291
+ .revo-calendar__caption .rv-select .dropdown-trigger {
292
+ min-width: 0;
293
+ width: 100%;
294
+ max-width: 100%;
299
295
  min-height: var(--calendar-cell-size);
300
296
  height: var(--calendar-cell-size);
301
297
  padding-block: 2px;
302
298
  padding-inline-start: 4px;
303
- font-size: 12px;
299
+ font-size: var(--rv-control-font-size, 0.875rem);
304
300
  background-color: transparent;
305
301
  border-color: transparent;
306
302
  }
@@ -341,21 +337,26 @@
341
337
  color: var(--rv-ui-danger);
342
338
  // Keep disabled dates from punching faded holes through the preview band.
343
339
  opacity: 1;
344
- &.disabled { text-decoration: line-through; }
340
+ &.disabled {
341
+ text-decoration: line-through;
342
+ }
345
343
  // A connected band: shared horizontal edges, caps only at the real endpoints.
346
344
  box-shadow: none;
347
345
  border-radius: 0;
348
- border-block: 1px solid color-mix(in srgb, var(--rv-ui-danger) 32%, transparent);
346
+ border-block: 1px solid
347
+ color-mix(in srgb, var(--rv-ui-danger) 32%, transparent);
349
348
  border-inline: 0;
350
349
  &.preview-start {
351
350
  border-start-start-radius: 7px;
352
351
  border-end-start-radius: 7px;
353
- border-inline-start: 1px solid color-mix(in srgb, var(--rv-ui-danger) 32%, transparent);
352
+ border-inline-start: 1px solid
353
+ color-mix(in srgb, var(--rv-ui-danger) 32%, transparent);
354
354
  }
355
355
  &.preview-end {
356
356
  border-start-end-radius: 7px;
357
357
  border-end-end-radius: 7px;
358
- border-inline-end: 1px solid color-mix(in srgb, var(--rv-ui-danger) 32%, transparent);
358
+ border-inline-end: 1px solid
359
+ color-mix(in srgb, var(--rv-ui-danger) 32%, transparent);
359
360
  }
360
361
  }
361
362
  .revo-calendar__feedback {
@@ -1,3 +1,3 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { CalendarProps } from './types';
3
3
  export declare function Calendar({ locale, weekStartsOn, showOutsideDays, allowOutsideMonthSelection, fixedWeeks, showTodayButton, showHeader, showNavigation, showPreviousButton, showNextButton, showMonthLabel, showWeekdays, enableYearView, translations, ...props }: CalendarProps): h.JSX.Element;
@@ -1 +1 @@
1
- export { t as Calendar } from "../_chunks/calendar-BsDxCYhI.js";
1
+ export { t as Calendar } from "../_chunks/calendar-DJqiFwFT.js";
@@ -1,4 +1,4 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { ISODateString, DisplayCalendarSystem } from '../_shared/dates/index';
3
3
  import { CalendarProps, CalendarTranslations } from './types';
4
4
  export declare function CalendarCaption({ month, system, locale, layout, start, end, disabled, labels, onChange, }: {
package/calendar/day.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { h, ComponentChildren } from 'preact';
1
+ import { h, ComponentChildren } from '../_vendor/preact/src/index';
2
2
  import { ISODateString } from '../_shared/dates/index';
3
3
  export interface CalendarDayProps {
4
4
  readonly date: ISODateString;
package/calendar/day.js CHANGED
@@ -1,5 +1,5 @@
1
- import { c as e } from "../_chunks/iso-B0YHBK7m.js";
2
- import { jsx as t } from "preact/jsx-runtime";
1
+ import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
2
+ import { c as t } from "../_chunks/iso-B0YHBK7m.js";
3
3
  //#region src/calendar/day.tsx
4
4
  function n(n) {
5
5
  let r = [
@@ -15,7 +15,7 @@ function n(n) {
15
15
  n.previewStart && "preview-start",
16
16
  n.previewEnd && "preview-end"
17
17
  ].filter(Boolean).join(" ");
18
- return /* @__PURE__ */ t("button", {
18
+ return /* @__PURE__ */ e("button", {
19
19
  ref: (e) => n.setRef(n.date, e),
20
20
  type: "button",
21
21
  role: "gridcell",
@@ -36,7 +36,7 @@ function n(n) {
36
36
  onMouseLeave: () => n.onPreview(),
37
37
  onKeyDown: (e) => n.onKeyDown(e, n.date),
38
38
  onClick: () => n.onSelect(n.date),
39
- children: n.content ?? e(n.date).getUTCDate()
39
+ children: n.content ?? t(n.date).getUTCDate()
40
40
  });
41
41
  }
42
42
  //#endregion
@@ -1,4 +1,4 @@
1
- import { h, ComponentChildren } from 'preact';
1
+ import { h, ComponentChildren } from '../_vendor/preact/src/index';
2
2
  import { ISODateString } from '../_shared/dates/index';
3
3
  export declare function CalendarHeader({ label, previousLabel, nextLabel, labelAction, caption, showLabel, showPrevious, showNext, previousDisabled, nextDisabled, onPrevious, onNext, }: {
4
4
  label: string;
@@ -1,61 +1,60 @@
1
- import { t as e } from "../_chunks/chevron-left-D0nc4Z5S.js";
2
- import { t } from "../_chunks/chevron-right-sxHQMSkq.js";
3
- import { jsx as n, jsxs as r } from "preact/jsx-runtime";
1
+ import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
2
+ import { n as t, t as n } from "../_chunks/chevron-right-CM3ljziP.js";
4
3
  //#region src/calendar/header.tsx
5
- function i({ label: i, previousLabel: a, nextLabel: o, labelAction: s, caption: c, showLabel: l = !0, showPrevious: u = !0, showNext: d = !0, previousDisabled: f = !1, nextDisabled: p = !1, onPrevious: m, onNext: h }) {
6
- return /* @__PURE__ */ r("header", {
4
+ function r({ label: r, previousLabel: i, nextLabel: a, labelAction: o, caption: s, showLabel: c = !0, showPrevious: l = !0, showNext: u = !0, previousDisabled: d = !1, nextDisabled: f = !1, onPrevious: p, onNext: m }) {
5
+ return /* @__PURE__ */ e("header", {
7
6
  class: "revo-calendar__header",
8
7
  children: [
9
- u ? /* @__PURE__ */ n("button", {
8
+ l ? /* @__PURE__ */ e("button", {
10
9
  type: "button",
11
- "aria-label": a,
12
- disabled: f,
13
- onClick: m,
14
- children: /* @__PURE__ */ n("span", {
10
+ "aria-label": i,
11
+ disabled: d,
12
+ onClick: p,
13
+ children: /* @__PURE__ */ e("span", {
15
14
  "aria-hidden": "true",
16
- dangerouslySetInnerHTML: { __html: e }
15
+ dangerouslySetInnerHTML: { __html: t }
17
16
  })
18
- }) : /* @__PURE__ */ n("span", { "aria-hidden": "true" }),
19
- l && c ? c : l && s ? /* @__PURE__ */ n("button", {
17
+ }) : /* @__PURE__ */ e("span", { "aria-hidden": "true" }),
18
+ c && s ? s : c && o ? /* @__PURE__ */ e("button", {
20
19
  type: "button",
21
20
  class: "revo-calendar__month-label revo-calendar__month-label-button",
22
- "aria-label": s.ariaLabel,
23
- onClick: s.onClick,
24
- children: /* @__PURE__ */ n("span", {
21
+ "aria-label": o.ariaLabel,
22
+ onClick: o.onClick,
23
+ children: /* @__PURE__ */ e("span", {
25
24
  "aria-live": "polite",
26
- children: i
25
+ children: r
27
26
  })
28
- }) : l ? /* @__PURE__ */ n("strong", {
27
+ }) : c ? /* @__PURE__ */ e("strong", {
29
28
  class: "revo-calendar__month-label",
30
29
  "aria-live": "polite",
31
- children: i
32
- }) : /* @__PURE__ */ n("span", { "aria-hidden": "true" }),
33
- d ? /* @__PURE__ */ n("button", {
30
+ children: r
31
+ }) : /* @__PURE__ */ e("span", { "aria-hidden": "true" }),
32
+ u ? /* @__PURE__ */ e("button", {
34
33
  type: "button",
35
- "aria-label": o,
36
- disabled: p,
37
- onClick: h,
38
- children: /* @__PURE__ */ n("span", {
34
+ "aria-label": a,
35
+ disabled: f,
36
+ onClick: m,
37
+ children: /* @__PURE__ */ e("span", {
39
38
  "aria-hidden": "true",
40
- dangerouslySetInnerHTML: { __html: t }
39
+ dangerouslySetInnerHTML: { __html: n }
41
40
  })
42
- }) : /* @__PURE__ */ n("span", { "aria-hidden": "true" })
41
+ }) : /* @__PURE__ */ e("span", { "aria-hidden": "true" })
43
42
  ]
44
43
  });
45
44
  }
46
- function a({ dates: e, locale: t, format: i, weekNumberLabel: a }) {
47
- return /* @__PURE__ */ r("div", {
45
+ function i({ dates: t, locale: n, format: r, weekNumberLabel: i }) {
46
+ return /* @__PURE__ */ e("div", {
48
47
  class: "revo-calendar__weekdays",
49
48
  role: "row",
50
- children: [a && /* @__PURE__ */ n("span", {
49
+ children: [i && /* @__PURE__ */ e("span", {
51
50
  role: "columnheader",
52
- "aria-label": a,
51
+ "aria-label": i,
53
52
  children: "#"
54
- }), e.map((e) => /* @__PURE__ */ n("span", {
53
+ }), t.map((t) => /* @__PURE__ */ e("span", {
55
54
  role: "columnheader",
56
- children: i(e, t)
57
- }, e))]
55
+ children: r(t, n)
56
+ }, t))]
58
57
  });
59
58
  }
60
59
  //#endregion
61
- export { i as CalendarHeader, a as CalendarWeekdays };
60
+ export { r as CalendarHeader, i as CalendarWeekdays };
package/calendar/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { DEFAULT_CALENDAR_TRANSLATIONS as e } from "./translations.js";
2
2
  import { a as t, i as n, n as r, o as i, r as a, t as o } from "../_chunks/model-mPO2tG2f.js";
3
3
  import { CalendarHeader as s, CalendarWeekdays as c } from "./header.js";
4
- import { t as l } from "../_chunks/calendar-BsDxCYhI.js";
4
+ import { t as l } from "../_chunks/calendar-DJqiFwFT.js";
5
5
  import { CalendarDay as u } from "./day.js";
6
6
  import { CalendarMonthGrid as d } from "./month-grid.js";
7
7
  import { CalendarYearGrid as f } from "./year-grid.js";
8
- import { t as p } from "../_chunks/picker-oazJ7sO_.js";
8
+ import { t as p } from "../_chunks/picker-DqpjDC90.js";
9
9
  export { l as Calendar, u as CalendarDay, s as CalendarHeader, d as CalendarMonthGrid, p as CalendarPicker, c as CalendarWeekdays, f as CalendarYearGrid, e as DEFAULT_CALENDAR_TRANSLATIONS, o as createCalendarMonth, r as isCalendarDateDisabled, a as isCalendarMonthDisabled, n as isDateInCalendarRange, t as moveCalendarFocus, i as orderCalendarRange };
@@ -1,4 +1,4 @@
1
- import { h, ComponentChildren } from 'preact';
1
+ import { h, ComponentChildren } from '../_vendor/preact/src/index';
2
2
  import { ISODateString, DisplayCalendarSystem } from '../_shared/dates/index';
3
3
  import { CalendarDateRange, CalendarDayContext } from './types';
4
4
  export declare function CalendarMonthGrid({ dates, system, selectedDates, visibleMonths, weekNumber, weekNumberLabel, month, focusedDate, referenceDate, selection, preview, previewInvalid, previewDescriptionId, showOutsideDays, allowOutsideMonthSelection, dayClassName, renderDay, isDisabled, formatDayLabel, setDayRef, onFocus, onPreview, onKeyDown, onSelect, }: {
@@ -1,56 +1,56 @@
1
- import { f as e, i as t } from "../_chunks/model-mPO2tG2f.js";
2
- import { CalendarDay as n } from "./day.js";
3
- import { jsx as r, jsxs as i } from "preact/jsx-runtime";
1
+ import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
2
+ import { f as t, i as n } from "../_chunks/model-mPO2tG2f.js";
3
+ import { CalendarDay as r } from "./day.js";
4
4
  //#region src/calendar/month-grid.tsx
5
- function a({ dates: a, system: o = "gregory", selectedDates: s, visibleMonths: c, weekNumber: l, weekNumberLabel: u = "Week number", month: d, focusedDate: f, referenceDate: p, selection: m, preview: h, previewInvalid: g, previewDescriptionId: _, showOutsideDays: v, allowOutsideMonthSelection: y, dayClassName: b, renderDay: x, isDisabled: S, formatDayLabel: C, setDayRef: w, onFocus: T, onPreview: E, onKeyDown: D, onSelect: O }) {
6
- return /* @__PURE__ */ r("div", {
5
+ function i({ dates: i, system: a = "gregory", selectedDates: o, visibleMonths: s, weekNumber: c, weekNumberLabel: l = "Week number", month: u, focusedDate: d, referenceDate: f, selection: p, preview: m, previewInvalid: h, previewDescriptionId: g, showOutsideDays: _, allowOutsideMonthSelection: v, dayClassName: y, renderDay: b, isDisabled: x, formatDayLabel: S, setDayRef: C, onFocus: w, onPreview: T, onKeyDown: E, onSelect: D }) {
6
+ return /* @__PURE__ */ e("div", {
7
7
  class: "revo-calendar__month-grid",
8
- children: Array.from({ length: a.length / 7 }, (k, A) => /* @__PURE__ */ i("div", {
8
+ children: Array.from({ length: i.length / 7 }, (O, k) => /* @__PURE__ */ e("div", {
9
9
  class: "revo-calendar__week",
10
10
  role: "row",
11
- "aria-hidden": !l && a.slice(A * 7, A * 7 + 7).every((t) => e(t, o) !== d && (!v || c?.includes(e(t, o)))) || void 0,
12
- children: [l && /* @__PURE__ */ r("span", {
11
+ "aria-hidden": !c && i.slice(k * 7, k * 7 + 7).every((e) => t(e, a) !== u && (!_ || s?.includes(t(e, a)))) || void 0,
12
+ children: [c && /* @__PURE__ */ e("span", {
13
13
  class: "revo-calendar__week-number",
14
14
  role: "rowheader",
15
- "aria-label": `${u} ${l(a[A * 7])}`,
16
- children: l(a[A * 7])
17
- }), a.slice(A * 7, A * 7 + 7).map((i) => {
18
- let a = e(i, o) !== d, l = a && (!v || !!c?.includes(e(i, o))), u = S(i) || a && !y, k = {
19
- outside: a,
20
- disabled: u,
21
- selected: !!s?.includes(i) || t(i, m),
22
- previewed: t(i, h),
23
- today: i === p
15
+ "aria-label": `${l} ${c(i[k * 7])}`,
16
+ children: c(i[k * 7])
17
+ }), i.slice(k * 7, k * 7 + 7).map((i) => {
18
+ let c = t(i, a) !== u, l = c && (!_ || !!s?.includes(t(i, a))), O = x(i) || c && !v, k = {
19
+ outside: c,
20
+ disabled: O,
21
+ selected: !!o?.includes(i) || n(i, p),
22
+ previewed: n(i, m),
23
+ today: i === f
24
24
  };
25
- return /* @__PURE__ */ r(n, {
25
+ return /* @__PURE__ */ e(r, {
26
26
  date: i,
27
- label: C(i),
28
- className: typeof b == "function" ? b(i, k) : b,
29
- outside: a,
27
+ label: S(i),
28
+ className: typeof y == "function" ? y(i, k) : y,
29
+ outside: c,
30
30
  hidden: l,
31
- disabled: u,
32
- focused: i === f,
31
+ disabled: O,
32
+ focused: i === d,
33
33
  selected: k.selected,
34
34
  previewed: k.previewed,
35
- previewInvalid: k.previewed && g,
36
- previewDescriptionId: _,
37
- rangeStart: s?.includes(i) || m?.from === i,
38
- rangeEnd: s?.includes(i) || m?.to === i,
39
- previewStart: h?.from === i,
40
- previewEnd: h?.to === i,
35
+ previewInvalid: k.previewed && h,
36
+ previewDescriptionId: g,
37
+ rangeStart: o?.includes(i) || p?.from === i,
38
+ rangeEnd: o?.includes(i) || p?.to === i,
39
+ previewStart: m?.from === i,
40
+ previewEnd: m?.to === i,
41
41
  today: k.today,
42
- content: x?.(i, k),
42
+ content: b?.(i, k),
43
43
  setRef: (e, t) => {
44
- a || w(e, t);
44
+ c || C(e, t);
45
45
  },
46
- onFocus: T,
47
- onPreview: E,
48
- onKeyDown: D,
49
- onSelect: O
46
+ onFocus: w,
47
+ onPreview: T,
48
+ onKeyDown: E,
49
+ onSelect: D
50
50
  }, i);
51
51
  })]
52
- }, A))
52
+ }, k))
53
53
  });
54
54
  }
55
55
  //#endregion
56
- export { a as CalendarMonthGrid };
56
+ export { i as CalendarMonthGrid };
@@ -1,4 +1,4 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { ISODateString } from '../_shared/dates/index';
3
3
  import { CalendarProps } from './types';
4
4
  export interface CalendarRangeSelection {
@@ -1,4 +1,4 @@
1
- import { ComponentChildren } from 'preact';
1
+ import { ComponentChildren } from '../_vendor/preact/src/index';
2
2
  import { DisplayCalendarSystem, ISODateString } from '../_shared/dates/index';
3
3
  export type CalendarWeekStart = 0 | 1 | 2 | 3 | 4 | 5 | 6;
4
4
  export type CalendarView = 'month' | 'year';
@@ -1,4 +1,4 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { DisplayCalendarSystem, ISODateString } from '../_shared/dates/index';
3
3
  export declare function CalendarYearGrid({ month, system, referenceDate, minDate, maxDate, isMonthDisabled, locale, ariaLabel, onSelect, onEscape, }: {
4
4
  month: ISODateString;