@revolist/ui 4.0.1-rc → 4.0.3-rc

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 (288) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +345 -262
  3. package/_chunks/calendar-xpZ0v3xf.js +258 -0
  4. package/_chunks/chart-frame-Cmc7xU1i.js +130 -0
  5. package/_chunks/choice-chips-CHQTUdLs.js +110 -0
  6. package/_chunks/clock-BOhPNlW3.js +4 -0
  7. package/_chunks/{color-palette-BmZ7kH9R.js → color-palette-D8vyPfld.js} +41 -41
  8. package/_chunks/color-picker-CudqPYZo.js +138 -0
  9. package/_chunks/component-C_T2VN5u.js +863 -0
  10. package/_chunks/{component-metadata-BENbgTjU.js → component-metadata-BMOOmqx5.js} +0 -4
  11. package/_chunks/control-AHKXD5Eu.js +93 -0
  12. package/_chunks/{control-tooltip-BCNzQCXE.js → control-tooltip-uscKfAnV.js} +29 -29
  13. package/_chunks/{controller-CmLo-Ajc.js → controller-hRBm_Lfz.js} +15 -15
  14. package/_chunks/{controls-NEL5tDaz.js → controls-DsNi8V8I.js} +229 -214
  15. package/_chunks/{date-control-CYCkb1aQ.js → date-control-DrVFX13g.js} +21 -21
  16. package/_chunks/date-time-qIhp5vaX.js +768 -0
  17. package/_chunks/{delete-button-DnpmDNEJ.js → delete-button-CW9vjLnk.js} +7 -7
  18. package/_chunks/dialog.parts-CKGkC5zP.js +134 -0
  19. package/_chunks/duration-CL68Em0o.js +272 -0
  20. package/_chunks/editor-commit-Bq3wSgvr.js +12 -0
  21. package/_chunks/{editor-popup-B7fu_A_T.js → editor-popup-WDdtVDNA.js} +8 -8
  22. package/_chunks/field-context-D57PnBbH.js +5 -0
  23. package/_chunks/framework-mount--RTLIqE-.js +54 -0
  24. package/_chunks/history-controls-B3u3INEK.js +27 -0
  25. package/_chunks/hooks.module-CG3gN83z.js +157 -0
  26. package/_chunks/jsxRuntime.module-F6UFnpT-.js +30 -0
  27. package/_chunks/mount-DQ1cpppK.js +257 -0
  28. package/_chunks/native-control-C_yok8_-.js +605 -0
  29. package/_chunks/native.view-ByyZ1CT5.js +32 -0
  30. package/_chunks/{number-input-NnH57J4j.js → number-input-BKwA5FnM.js} +89 -89
  31. package/_chunks/picker-h1P5RUgp.js +122 -0
  32. package/_chunks/popup-CT2uD3go.js +367 -0
  33. package/_chunks/preact.module-BBM36DnO.js +290 -0
  34. package/_chunks/{rating-choice-CWAsNQNS.js → rating-choice-DZgmaic0.js} +10 -10
  35. package/_chunks/render-m5eMMwFR.js +83 -0
  36. package/_chunks/reorder-list-CSlqAGHw.js +59 -0
  37. package/_chunks/request-trail-DSlFix6i.js +618 -0
  38. package/_chunks/rich-text-CH7gIqOS.js +636 -0
  39. package/_chunks/rotate-right-Iha5ScJ1.js +4 -0
  40. package/_form.scss +1 -1
  41. package/_vendor/preact/LICENSE +21 -0
  42. package/_vendor/preact/compat/src/index.d.ts +353 -0
  43. package/_vendor/preact/compat/src/suspense-list.d.ts +16 -0
  44. package/_vendor/preact/compat/src/suspense.d.ts +19 -0
  45. package/_vendor/preact/hooks/src/index.d.ts +145 -0
  46. package/_vendor/preact/src/dom.d.ts +2548 -0
  47. package/_vendor/preact/src/index.d.ts +373 -0
  48. package/_vendor/preact/src/jsx.d.ts +2958 -0
  49. package/activity-message.d.ts +1 -1
  50. package/activity-message.js +16 -16
  51. package/ai/_chat.scss +195 -0
  52. package/ai/_style.scss +105 -34
  53. package/ai/chat.d.ts +63 -0
  54. package/ai/components.d.ts +20 -4
  55. package/ai/index.d.ts +2 -0
  56. package/ai/index.js +3 -3
  57. package/ai/mount.d.ts +30 -1
  58. package/ai/prompt-history.d.ts +13 -0
  59. package/ai/request-trail.d.ts +1 -1
  60. package/ai/transcript.d.ts +25 -0
  61. package/ai/translation-context.d.ts +1 -1
  62. package/ai/translations.d.ts +1 -1
  63. package/alert.d.ts +2 -2
  64. package/angular/angular.js +0 -3
  65. package/assignee/field.d.ts +2 -2
  66. package/assignee/index.js +86 -87
  67. package/assignee/layout.d.ts +2 -2
  68. package/assignee/picker.d.ts +1 -1
  69. package/avatar/index.js +25 -25
  70. package/avatar/index.view.d.ts +1 -1
  71. package/brush-range/component.d.ts +1 -1
  72. package/brush-range/component.js +30 -30
  73. package/buttons/delete-button.d.ts +2 -1
  74. package/buttons/delete-button.js +1 -1
  75. package/buttons/remove-button.d.ts +1 -1
  76. package/buttons/remove-button.js +3 -3
  77. package/buttons/svg-button.d.ts +2 -1
  78. package/buttons/svg-button.js +35 -35
  79. package/calendar/_calendar.scss +7 -2
  80. package/calendar/calendar.d.ts +1 -1
  81. package/calendar/calendar.js +1 -1
  82. package/calendar/caption.d.ts +1 -1
  83. package/calendar/day.d.ts +1 -1
  84. package/calendar/day.js +4 -4
  85. package/calendar/header.d.ts +1 -1
  86. package/calendar/header.js +35 -35
  87. package/calendar/index.js +2 -2
  88. package/calendar/month-grid.d.ts +1 -1
  89. package/calendar/month-grid.js +37 -37
  90. package/calendar/picker.d.ts +1 -1
  91. package/calendar/types.d.ts +1 -1
  92. package/calendar/year-grid.d.ts +1 -1
  93. package/calendar/year-grid.js +12 -12
  94. package/checkbox/index.d.ts +2 -2
  95. package/checkbox/index.js +9 -9
  96. package/choice-chips/index.d.ts +1 -1
  97. package/choice-chips/index.js +1 -1
  98. package/color-palette/color-palette.d.ts +1 -1
  99. package/color-palette/color-palette.js +1 -1
  100. package/color-palette/color-picker.d.ts +1 -1
  101. package/color-palette/color-picker.js +2 -2
  102. package/component-catalog.d.ts +34 -23
  103. package/control-attributes.js +7 -7
  104. package/control-presentation.js +18 -18
  105. package/controls.d.ts +12 -10
  106. package/controls.js +3 -3
  107. package/core/editor-commit.d.ts +1 -1
  108. package/core/editor-popup.d.ts +1 -1
  109. package/core/editor-popup.js +1 -1
  110. package/date-time/date-control.d.ts +1 -1
  111. package/date-time/field.d.ts +2 -2
  112. package/date-time/index.js +1 -1
  113. package/date-time/picker.d.ts +1 -1
  114. package/date-time/style.scss +4 -4
  115. package/date-time/time-control.d.ts +1 -1
  116. package/date-time/time-selection.d.ts +1 -1
  117. package/date-time/types.d.ts +1 -1
  118. package/dialog/dialog-action-footer.view.d.ts +1 -1
  119. package/dialog/dialog.dom.js +52 -52
  120. package/dialog/dialog.parts.d.ts +18 -18
  121. package/dialog/dialog.parts.js +1 -1
  122. package/dialog/dialog.preact.d.ts +1 -1
  123. package/dialog/dialog.preact.js +6 -6
  124. package/distribution-chart/area-chart.d.ts +1 -1
  125. package/distribution-chart/area-chart.js +25 -25
  126. package/distribution-chart/bar-chart.d.ts +6 -3
  127. package/distribution-chart/bar-chart.js +10 -6
  128. package/distribution-chart/chart-frame.d.ts +3 -2
  129. package/distribution-chart/index.d.ts +1 -1
  130. package/distribution-chart/index.js +6 -6
  131. package/distribution-chart/line-chart.d.ts +1 -1
  132. package/distribution-chart/line-chart.js +9 -9
  133. package/distribution-chart/types.d.ts +1 -1
  134. package/dropdown/content.d.ts +3 -2
  135. package/dropdown/content.js +1 -141
  136. package/dropdown/control.d.ts +14 -0
  137. package/dropdown/control.js +1 -0
  138. package/dropdown/control.view.d.ts +6 -0
  139. package/dropdown/dropdown.service.d.ts +1 -1
  140. package/dropdown/dropdown.service.js +9 -9
  141. package/dropdown/dropdown.types.d.ts +4 -0
  142. package/dropdown/editor-dropdown.style.scss +37 -9
  143. package/dropdown/index.d.ts +1 -1
  144. package/dropdown/index.js +3 -4
  145. package/dropdown/lookup-field.d.ts +1 -1
  146. package/dropdown/lookup-field.js +41 -41
  147. package/dropdown/popup.d.ts +1 -1
  148. package/dropdown/popup.js +1 -140
  149. package/duration/controls.d.ts +1 -1
  150. package/duration/index.d.ts +2 -2
  151. package/duration/index.js +1 -1
  152. package/duration/style.scss +1 -1
  153. package/editor-actions.d.ts +1 -1
  154. package/editor-actions.js +21 -20
  155. package/editor-layout/index.d.ts +1 -1
  156. package/editor-layout/index.js +27 -27
  157. package/field-configurator.d.ts +1 -1
  158. package/field-configurator.js +93 -93
  159. package/field-reorder.hook.js +32 -32
  160. package/fieldset.d.ts +3 -0
  161. package/filter/filters/slider/preact.js +3 -3
  162. package/filter/filters/slider/single.d.ts +1 -1
  163. package/filter/filters/slider/single.js +23 -23
  164. package/filter-badge.d.ts +1 -1
  165. package/filter-badge.js +23 -22
  166. package/filter-controls.d.ts +1 -1
  167. package/filter-controls.js +30 -30
  168. package/form-controls/field-context.d.ts +5 -0
  169. package/form-controls/index.js +16 -21
  170. package/form-controls/index.view.d.ts +2 -4
  171. package/form-controls/presentation.d.ts +1 -1
  172. package/form-controls/presentation.js +59 -51
  173. package/formatting/comparison-preview.d.ts +1 -1
  174. package/formatting/control-tooltip.d.ts +1 -1
  175. package/formatting/icon-controls.d.ts +1 -1
  176. package/formatting/index.js +105 -100
  177. package/formatting/inspector-section.d.ts +1 -1
  178. package/formatting/typography-controls.d.ts +1 -1
  179. package/framework-mount.d.ts +1 -1
  180. package/framework.js +215 -207
  181. package/history-controls.d.ts +14 -0
  182. package/history-controls.js +1 -0
  183. package/icons/icon.d.ts +1 -1
  184. package/icons/icon.js +1 -1
  185. package/legend.d.ts +1 -1
  186. package/legend.js +12 -12
  187. package/masked-input/index.d.ts +1 -1
  188. package/masked-input/index.js +109 -109
  189. package/native-control.d.ts +14 -12
  190. package/native-control.js +3 -26
  191. package/native-styles.css +1 -1
  192. package/native.js +40 -39
  193. package/number-input/index.d.ts +1 -1
  194. package/number-input/index.js +1 -1
  195. package/package.json +18 -14
  196. package/pagination.d.ts +3 -0
  197. package/pagination.js +43 -33
  198. package/pdf-viewer/component.d.ts +1 -1
  199. package/pdf-viewer/controller.js +1 -1
  200. package/pdf-viewer/header.d.ts +1 -1
  201. package/pdf-viewer/index.js +13 -13
  202. package/pdf-viewer/search-bar.d.ts +1 -1
  203. package/pdf-viewer/status.d.ts +1 -1
  204. package/pdf-viewer/style.scss +3 -4
  205. package/pdf-viewer/toolbar.d.ts +1 -1
  206. package/pickers.d.ts +1 -1
  207. package/preact-mount.d.ts +1 -1
  208. package/preact-mount.js +1 -1
  209. package/preact.d.ts +2 -0
  210. package/preact.js +62 -62
  211. package/rating-choice.d.ts +1 -1
  212. package/rating-choice.js +1 -1
  213. package/react-adapter.d.ts +1 -1
  214. package/react-control.d.ts +0 -1
  215. package/react-control.js +2 -2
  216. package/react.d.ts +13 -3
  217. package/react.js +71 -88
  218. package/reorder-list.d.ts +1 -1
  219. package/reorder-list.js +1 -1
  220. package/resource-picker/resource-picker-avatar.d.ts +1 -1
  221. package/resource-picker/resource-picker-avatar.js +14 -14
  222. package/resource-picker/resource-picker-option.d.ts +1 -1
  223. package/resource-picker/resource-picker-option.js +28 -28
  224. package/resource-picker/resource-picker-popup.d.ts +1 -1
  225. package/resource-picker/resource-picker-popup.js +3 -3
  226. package/resource-picker/resource-picker.d.ts +1 -1
  227. package/resource-picker/resource-picker.js +88 -88
  228. package/resource-picker/resource-picker.scss +6 -3
  229. package/rich-text/engine.d.ts +16 -19
  230. package/rich-text/index.d.ts +7 -7
  231. package/rich-text/index.js +1 -1
  232. package/rich-text/model.d.ts +4 -3
  233. package/rich-text/render-model.d.ts +4 -5
  234. package/rich-text/style.scss +3 -12
  235. package/rich-text/toolbar.d.ts +7 -7
  236. package/rich-text/translations.d.ts +3 -15
  237. package/search-input/index.js +12 -12
  238. package/segmented-switch/index.d.ts +1 -1
  239. package/segmented-switch/index.js +1 -1
  240. package/select.d.ts +20 -0
  241. package/select.js +1 -0
  242. package/status-feedback/exit-snapshot.js +4 -4
  243. package/status-feedback/index.js +2 -2
  244. package/status-feedback/popover.js +10 -10
  245. package/status-feedback/render.d.ts +2 -2
  246. package/status-feedback/render.js +3 -44
  247. package/status-feedback/status-feedback.scss +7 -0
  248. package/status-feedback/types.d.ts +4 -0
  249. package/status-feedback/use-auto-dismiss.d.ts +3 -0
  250. package/styles/_compositions.scss +3 -1
  251. package/styles/_control.scss +12 -4
  252. package/styles/_primitives.scss +9 -8
  253. package/styles.css +1 -1
  254. package/surfaces.js +49 -49
  255. package/svelte/UiComponent.server.js +1 -48
  256. package/svelte/UiComponent.svelte +0 -21
  257. package/svelte.js +33 -68
  258. package/switch/index.js +15 -15
  259. package/time-grid.d.ts +1 -1
  260. package/time-grid.js +58 -58
  261. package/timeline-track/component.d.ts +5 -1
  262. package/timeline-track/index.js +91 -74
  263. package/timeline-track/model.d.ts +9 -0
  264. package/timeline-track/model.js +10 -1
  265. package/ui.css +1 -1
  266. package/vue-adapter.d.ts +1 -1
  267. package/vue.d.ts +138 -119
  268. package/vue.js +150 -174
  269. package/_chunks/calendar-BsDxCYhI.js +0 -248
  270. package/_chunks/chart-frame-BvxbmEU9.js +0 -126
  271. package/_chunks/choice-chips-0HfOnK_4.js +0 -110
  272. package/_chunks/color-picker-BRv-__AM.js +0 -138
  273. package/_chunks/component-D4PH5UZT.js +0 -859
  274. package/_chunks/date-time-DjucJmbc.js +0 -769
  275. package/_chunks/dialog.parts-Dt3KinUz.js +0 -134
  276. package/_chunks/dropdown-CkGQBm1Q.js +0 -357
  277. package/_chunks/duration-BCaktcvz.js +0 -270
  278. package/_chunks/editor-commit-D6Rf5rGz.js +0 -12
  279. package/_chunks/framework-mount-BKIOsvY-.js +0 -54
  280. package/_chunks/mount-0-8opf1j.js +0 -90
  281. package/_chunks/native.view-8q_nwQ7x.js +0 -32
  282. package/_chunks/picker-oazJ7sO_.js +0 -121
  283. package/_chunks/reorder-list-BV3kZXso.js +0 -59
  284. package/_chunks/request-trail-D0oVzdRd.js +0 -347
  285. package/_chunks/rich-text-2Rla349o.js +0 -477
  286. package/react-native-select.d.ts +0 -6
  287. package/rich-text/syntax.d.ts +0 -2
  288. package/vue-native-select.d.ts +0 -9
@@ -1,31 +1,31 @@
1
- import { badgeClassName as e } from "../badge.js";
2
- import { n as t } from "./rating-choice-CWAsNQNS.js";
3
- import { createPreactElement as n } from "../preact-mount.js";
4
- import { registerControl as r, renderControl as i } from "../control-presentation.js";
5
- import { ButtonControl as a, Input as o, Select as s, TextArea as c } from "../native-control.js";
6
- import { paginationItems as l, renderPaginationButton as u } from "../pagination.js";
7
- import { t as d } from "./chevron-left-D0nc4Z5S.js";
8
- import { t as f } from "./chevron-right-sxHQMSkq.js";
9
- import { createControlId as p } from "../core/control-id.js";
10
- import { SvgButton as m } from "../buttons/svg-button.js";
11
- import { SegmentedSwitch as h } from "../segmented-switch/index.js";
12
- import { attachMenuKeyboard as g, attachResizeHandle as _ } from "../surfaces.js";
13
- import { normalizeProgressRange as v } from "../progress/range.js";
14
- import { h as y } from "preact";
15
- import { useLayoutEffect as b, useRef as x, useState as S } from "preact/hooks";
16
- import { Fragment as C, jsx as w, jsxs as T } from "preact/jsx-runtime";
17
- import { forwardRef as E } from "preact/compat";
1
+ import { c as e, i as t } from "./preact.module-BBM36DnO.js";
2
+ import { i as n, r, t as i } from "./hooks.module-CG3gN83z.js";
3
+ import { badgeClassName as a } from "../badge.js";
4
+ import { n as o } from "./rating-choice-DZgmaic0.js";
5
+ import { t as s } from "./jsxRuntime.module-F6UFnpT-.js";
6
+ import { a as c, n as l, t as u } from "./native-control-C_yok8_-.js";
7
+ import { r as d } from "./popup-CT2uD3go.js";
8
+ import { createPreactElement as f } from "../preact-mount.js";
9
+ import { registerControl as p, renderControl as m } from "../control-presentation.js";
10
+ import { paginationItems as ee, renderPaginationButton as h } from "../pagination.js";
11
+ import { t as g } from "./chevron-left-D0nc4Z5S.js";
12
+ import { t as _ } from "./chevron-right-sxHQMSkq.js";
13
+ import { createControlId as v } from "../core/control-id.js";
14
+ import { SvgButton as y } from "../buttons/svg-button.js";
15
+ import { SegmentedSwitch as b } from "../segmented-switch/index.js";
16
+ import { attachMenuKeyboard as x, attachResizeHandle as te } from "../surfaces.js";
17
+ import { normalizeProgressRange as S } from "../progress/range.js";
18
18
  //#endregion
19
19
  //#region src/icons/pagination.ts
20
- var D = {
20
+ var C = {
21
21
  first: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L269.3 256 406.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z\"/></svg>",
22
- previous: d,
23
- next: f,
22
+ previous: g,
23
+ next: _,
24
24
  last: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc. --><path fill=\"currentColor\" d=\"M439.1 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L371.2 256 233.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L179.2 256 41.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z\"/></svg>"
25
25
  };
26
26
  //#endregion
27
27
  //#region src/native-controls.view.tsx
28
- function O(e, t) {
28
+ function w(e, t) {
29
29
  return e("div", {
30
30
  class: t.className ?? "rv-spinner",
31
31
  role: "status",
@@ -36,8 +36,8 @@ function O(e, t) {
36
36
  "aria-hidden": "true"
37
37
  })] : []);
38
38
  }
39
- function k(e, t) {
40
- return n(e, /* @__PURE__ */ w(a, {
39
+ function ne(e, t) {
40
+ return f(e, /* @__PURE__ */ s(u, {
41
41
  unstyled: !0,
42
42
  type: "button",
43
43
  class: t.className ?? "rv-btn",
@@ -47,7 +47,7 @@ function k(e, t) {
47
47
  children: t.text ?? t.label
48
48
  }));
49
49
  }
50
- function A(e, t) {
50
+ function T(e, t) {
51
51
  return e("button", {
52
52
  type: "button",
53
53
  role: "menuitem",
@@ -63,11 +63,11 @@ function A(e, t) {
63
63
  style: "float:inline-end;margin-inline-start:16px"
64
64
  }, "›") : null]);
65
65
  }
66
- function j(e, t, n = Math.max(0, Math.floor(t))) {
66
+ function E(e, t, n = Math.max(0, Math.floor(t))) {
67
67
  let r = Math.round(t);
68
68
  return Array.from({ length: Number.isFinite(n) ? Math.max(0, Math.floor(n)) : 0 }, (t, n) => e("span", { class: n < r ? "star filled-star" : "star empty-star" }));
69
69
  }
70
- function M(e, t) {
70
+ function D(e, t) {
71
71
  let n = (e) => t.max > t.min ? Math.max(0, Math.min(100, (e - t.min) / (t.max - t.min) * 100)) : 0;
72
72
  return e("div", { class: `revo-slider ${t.thresholdClassNames ?? ""}` }, [e("div", { class: `revo-slider-container ${t.thresholdClassNames ?? ""}` }, [
73
73
  e("div", {
@@ -99,8 +99,8 @@ function M(e, t) {
99
99
  }))
100
100
  ]), ...t.hideValue ? [] : [e("span", { class: `revo-slider-value rv-badge rv-badge--inline ${t.thresholdClassNames ?? ""}` }, t.displayValue ?? t.value)]]);
101
101
  }
102
- function N(e, t) {
103
- let n = (n, r, a) => i(e, "button", {
102
+ function O(e, t) {
103
+ let n = (n, r, i) => m(e, "button", {
104
104
  class: {
105
105
  "revo-counter-button": !0,
106
106
  "revo-counter-button-disabled": r
@@ -112,7 +112,7 @@ function N(e, t) {
112
112
  onClick: (e) => {
113
113
  r || t.onChange(Math.min(t.max, Math.max(t.min, t.value + n)), e);
114
114
  }
115
- }, a);
115
+ }, i);
116
116
  return e("div", { class: "revo-counter" }, [
117
117
  n(-t.step, t.value <= t.min, "-"),
118
118
  ...t.hideValue ? [] : [e("span", { class: "revo-counter-value" }, String(t.value))],
@@ -121,7 +121,7 @@ function N(e, t) {
121
121
  }
122
122
  //#endregion
123
123
  //#region src/alert.tsx
124
- function P(e, { children: t, tone: n = "neutral", label: r, icon: i, title: a, description: o, actions: s, className: c = "", class: l = "", ...u }) {
124
+ function k(e, { children: t, tone: n = "neutral", label: r, icon: i, title: a, description: o, actions: s, className: c = "", class: l = "", ...u }) {
125
125
  let d = (t, n, ...r) => e(t, n, r);
126
126
  return /* @__PURE__ */ d("div", {
127
127
  ...u,
@@ -133,27 +133,51 @@ function P(e, { children: t, tone: n = "neutral", label: r, icon: i, title: a, d
133
133
  "aria-hidden": "true"
134
134
  }, i), /* @__PURE__ */ d("div", { class: "rv-alert__content" }, a && /* @__PURE__ */ d("div", { class: "rv-alert__title" }, a), o && /* @__PURE__ */ d("div", { class: "rv-alert__description" }, o), t), s && /* @__PURE__ */ d("div", { class: "rv-alert__actions" }, s));
135
135
  }
136
- function F(e) {
137
- return P(y, e);
136
+ function A(t) {
137
+ return k(e, t);
138
138
  }
139
139
  //#endregion
140
140
  //#region src/controls.tsx
141
- var I = r(E(function({ variant: e = "default", size: t = "default", className: n = "", class: r, ...i }, o) {
142
- return /* @__PURE__ */ w(a, {
143
- ref: o,
141
+ var j = p(d(function({ href: e, target: t, rel: n, rounded: r = !1, variant: i = "default", size: a = "default", className: o = "", class: c, ...l }, d) {
142
+ let f = [
143
+ i === "default" ? "rv-btn" : `rv-btn-${i}`,
144
+ a === "compact" ? "rv-btn-sm" : "",
145
+ r ? "rv-btn-rounded" : "",
146
+ c,
147
+ o
148
+ ].filter(Boolean).join(" ");
149
+ if (e !== void 0) {
150
+ let r = l.disabled || l.busy, { busy: i, disabled: a, ...o } = l;
151
+ return /* @__PURE__ */ s("a", {
152
+ ...o,
153
+ href: r ? void 0 : e,
154
+ target: t,
155
+ rel: n,
156
+ class: f,
157
+ "aria-disabled": r || void 0,
158
+ "aria-busy": i || void 0,
159
+ tabIndex: r ? -1 : l.tabIndex,
160
+ onClick: (e) => {
161
+ r ? e.preventDefault() : l.onClick?.(e);
162
+ }
163
+ });
164
+ }
165
+ return /* @__PURE__ */ s(u, {
166
+ ref: d,
167
+ rounded: r,
144
168
  type: "button",
145
- ...i,
169
+ ...l,
146
170
  class: [
147
- e === "default" ? "rv-btn" : `rv-btn-${e}`,
148
- t === "compact" ? "rv-btn-sm" : "",
149
- r,
150
- n
171
+ i === "default" ? "rv-btn" : `rv-btn-${i}`,
172
+ a === "compact" ? "rv-btn-sm" : "",
173
+ c,
174
+ o
151
175
  ].filter(Boolean).join(" ")
152
176
  });
153
177
  }), "button");
154
- function L({ label: e, icon: t, badge: n, children: r, className: i = "", variant: a = "ghost", size: o = "default", ...s }) {
155
- return /* @__PURE__ */ w(m, {
156
- ...s,
178
+ function M({ label: e, icon: t, badge: n, children: r, className: i = "", variant: a = "ghost", size: o = "default", ...c }) {
179
+ return /* @__PURE__ */ s(y, {
180
+ ...c,
157
181
  label: e,
158
182
  icon: t,
159
183
  badge: n,
@@ -161,8 +185,8 @@ function L({ label: e, icon: t, badge: n, children: r, className: i = "", varian
161
185
  children: r
162
186
  });
163
187
  }
164
- function R({ pressed: e, onPressedChange: t, ...n }) {
165
- return /* @__PURE__ */ w(I, {
188
+ function N({ pressed: e, onPressedChange: t, ...n }) {
189
+ return /* @__PURE__ */ s(j, {
166
190
  ...n,
167
191
  "aria-pressed": e,
168
192
  onClick: (r) => {
@@ -170,28 +194,28 @@ function R({ pressed: e, onPressedChange: t, ...n }) {
170
194
  }
171
195
  });
172
196
  }
173
- function ee({ children: e, className: t = "", label: n }) {
174
- return /* @__PURE__ */ w("div", {
197
+ function P({ children: e, className: t = "", label: n }) {
198
+ return /* @__PURE__ */ s("div", {
175
199
  role: "group",
176
200
  "aria-label": n,
177
201
  class: `rv-btn-group ${t}`,
178
202
  children: e
179
203
  });
180
204
  }
181
- function te(e) {
182
- return /* @__PURE__ */ w(h, {
205
+ function F(e) {
206
+ return /* @__PURE__ */ s(b, {
183
207
  ...e,
184
208
  role: "radiogroup"
185
209
  });
186
210
  }
187
- function ne(e) {
188
- return /* @__PURE__ */ w(h, {
211
+ function I(e) {
212
+ return /* @__PURE__ */ s(b, {
189
213
  ...e,
190
214
  role: "tablist"
191
215
  });
192
216
  }
193
- function z({ id: e, labelledBy: t, active: n, children: r }) {
194
- return /* @__PURE__ */ w("div", {
217
+ function L({ id: e, labelledBy: t, active: n, children: r }) {
218
+ return /* @__PURE__ */ s("div", {
195
219
  id: e,
196
220
  role: "tabpanel",
197
221
  "aria-labelledby": t,
@@ -199,22 +223,22 @@ function z({ id: e, labelledBy: t, active: n, children: r }) {
199
223
  children: r
200
224
  });
201
225
  }
202
- function B({ className: e = "", value: t, options: n, onChange: r, label: i, disabled: a, name: s }) {
203
- let [c] = S(() => p("rv-ui"));
204
- return /* @__PURE__ */ T("fieldset", {
226
+ function R({ className: e = "", value: t, options: r, onChange: i, label: a, disabled: o, name: c }) {
227
+ let [u] = n(() => v("rv-ui"));
228
+ return /* @__PURE__ */ s("fieldset", {
205
229
  class: `rv-radio-group ${e}`,
206
- disabled: a,
207
- children: [/* @__PURE__ */ w("legend", { children: i }), n.map((e) => /* @__PURE__ */ T("label", { children: [/* @__PURE__ */ w(o, {
230
+ disabled: o,
231
+ children: [/* @__PURE__ */ s("legend", { children: a }), r.map((e) => /* @__PURE__ */ s("label", { children: [/* @__PURE__ */ s(l, {
208
232
  type: "radio",
209
- name: s ?? c,
233
+ name: c ?? u,
210
234
  checked: t === e.value,
211
235
  disabled: e.disabled,
212
- onChange: () => r(e.value)
236
+ onChange: () => i(e.value)
213
237
  }), e.label] }, e.value))]
214
238
  });
215
239
  }
216
- function V({ className: e = "", class: t, onValueChange: n, onInput: r, ...i }) {
217
- return /* @__PURE__ */ w(o, {
240
+ function z({ className: e = "", class: t, onValueChange: n, onInput: r, ...i }) {
241
+ return /* @__PURE__ */ s(l, {
218
242
  type: "text",
219
243
  ...i,
220
244
  class: `rv-control ${t ?? ""} ${e}`,
@@ -223,8 +247,8 @@ function V({ className: e = "", class: t, onValueChange: n, onInput: r, ...i })
223
247
  }
224
248
  });
225
249
  }
226
- function H({ className: e = "", class: t, onValueChange: n, onInput: r, ...i }) {
227
- return /* @__PURE__ */ w(c, {
250
+ function B({ className: e = "", class: t, onValueChange: n, onInput: r, ...i }) {
251
+ return /* @__PURE__ */ s(c, {
228
252
  ...i,
229
253
  class: `rv-control ${t ?? ""} ${e}`,
230
254
  onInput: (e) => {
@@ -232,8 +256,8 @@ function H({ className: e = "", class: t, onValueChange: n, onInput: r, ...i })
232
256
  }
233
257
  });
234
258
  }
235
- function U({ onValueChange: e, ...t }) {
236
- return /* @__PURE__ */ w(V, {
259
+ function V({ onValueChange: e, ...t }) {
260
+ return /* @__PURE__ */ s(z, {
237
261
  ...t,
238
262
  type: "number",
239
263
  onValueChange: (t) => {
@@ -241,99 +265,90 @@ function U({ onValueChange: e, ...t }) {
241
265
  }
242
266
  });
243
267
  }
244
- function W({ value: e, min: t = -Infinity, max: n = Infinity, step: r = 1, onChange: i, label: a, decreaseLabel: o, increaseLabel: s, disabled: c, readOnly: l }) {
245
- let u = (e) => {
268
+ function H({ value: e, min: t = -Infinity, max: n = Infinity, step: r = 1, onChange: i, label: a, decreaseLabel: o, increaseLabel: c, disabled: l, readOnly: u }) {
269
+ let d = (e) => {
246
270
  Number.isFinite(e) && i(Math.max(t, Math.min(n, e)));
247
271
  };
248
- return /* @__PURE__ */ T("div", {
272
+ return /* @__PURE__ */ s("div", {
249
273
  class: "rv-number-stepper",
250
274
  role: "group",
251
275
  "aria-label": a,
252
276
  children: [
253
- /* @__PURE__ */ w(I, {
254
- disabled: c || l || e <= t,
277
+ /* @__PURE__ */ s(j, {
278
+ disabled: l || u || e <= t,
255
279
  "aria-label": o,
256
- onClick: () => u(e - r),
280
+ onClick: () => d(e - r),
257
281
  children: "−"
258
282
  }),
259
- /* @__PURE__ */ w(U, {
283
+ /* @__PURE__ */ s(V, {
260
284
  "aria-label": a,
261
285
  value: e,
262
286
  min: Number.isFinite(t) ? t : void 0,
263
287
  max: Number.isFinite(n) ? n : void 0,
264
288
  step: r,
265
- disabled: c,
266
- readOnly: l,
289
+ disabled: l,
290
+ readOnly: u,
267
291
  onValueChange: (e) => {
268
- e !== void 0 && u(e);
292
+ e !== void 0 && d(e);
269
293
  }
270
294
  }),
271
- /* @__PURE__ */ w(I, {
272
- disabled: c || l || e >= n,
273
- "aria-label": s,
274
- onClick: () => u(e + r),
295
+ /* @__PURE__ */ s(j, {
296
+ disabled: l || u || e >= n,
297
+ "aria-label": c,
298
+ onClick: () => d(e + r),
275
299
  children: "+"
276
300
  })
277
301
  ]
278
302
  });
279
303
  }
280
- function G(e) {
281
- return /* @__PURE__ */ w(V, {
304
+ function U(e) {
305
+ return /* @__PURE__ */ s(z, {
282
306
  ...e,
283
307
  type: "date"
284
308
  });
285
309
  }
286
- function K(e) {
287
- return /* @__PURE__ */ w(V, {
310
+ function W(e) {
311
+ return /* @__PURE__ */ s(z, {
288
312
  ...e,
289
313
  type: "time"
290
314
  });
291
315
  }
292
- function q(e) {
293
- return /* @__PURE__ */ w(V, {
316
+ function G(e) {
317
+ return /* @__PURE__ */ s(z, {
294
318
  ...e,
295
319
  type: "datetime-local"
296
320
  });
297
321
  }
298
- function J({ className: e = "", class: t, onValueChange: n, onChange: r, ...i }) {
299
- return /* @__PURE__ */ w(s, {
300
- ...i,
301
- class: `rv-control ${t ?? ""} ${e}`,
302
- onChange: (e) => {
303
- r?.(e), e.defaultPrevented || n?.(e.currentTarget.value);
304
- }
305
- });
306
- }
307
- function Y({ children: e, className: t = "" }) {
308
- return /* @__PURE__ */ w("span", {
322
+ function K({ children: e, className: t = "" }) {
323
+ return /* @__PURE__ */ s("span", {
309
324
  class: `rv-btn-pill ${t}`,
310
325
  children: e
311
326
  });
312
327
  }
313
- function X({ children: e, id: t }) {
314
- return /* @__PURE__ */ w("span", {
328
+ function q({ children: e, id: t }) {
329
+ return /* @__PURE__ */ s("span", {
315
330
  class: "rv-field__hint",
316
331
  id: t,
317
332
  children: e
318
333
  });
319
334
  }
320
- function Z({ children: e, id: t }) {
321
- return /* @__PURE__ */ w("span", {
335
+ function re({ children: e, id: t }) {
336
+ return /* @__PURE__ */ s("span", {
322
337
  class: "rv-field__error",
323
338
  id: t,
324
339
  role: "alert",
325
340
  children: e
326
341
  });
327
342
  }
328
- function re({ children: e, title: t, description: n }) {
329
- return /* @__PURE__ */ T("fieldset", {
343
+ function J({ children: e, title: t, description: n }) {
344
+ return /* @__PURE__ */ s("fieldset", {
330
345
  class: "rv-form-section",
331
346
  children: [
332
- t && /* @__PURE__ */ w("legend", {
347
+ t && /* @__PURE__ */ s("legend", {
333
348
  class: "rv-form-section__title",
334
349
  children: t
335
350
  }),
336
- n && /* @__PURE__ */ w("p", {
351
+ n && /* @__PURE__ */ s("p", {
337
352
  class: "rv-form-description",
338
353
  children: n
339
354
  }),
@@ -341,152 +356,152 @@ function re({ children: e, title: t, description: n }) {
341
356
  ]
342
357
  });
343
358
  }
344
- function ie({ children: e, className: t = "", summary: n, open: r, onToggle: i }) {
345
- return /* @__PURE__ */ T("details", {
359
+ function Y({ children: e, className: t = "", summary: n, open: r, onToggle: i }) {
360
+ return /* @__PURE__ */ s("details", {
346
361
  class: `rv-disclosure ${t}`.trim(),
347
362
  open: r,
348
363
  onToggle: i,
349
- children: [/* @__PURE__ */ w("summary", {
364
+ children: [/* @__PURE__ */ s("summary", {
350
365
  class: "rv-disclosure-summary",
351
366
  children: n
352
367
  }), e]
353
368
  });
354
369
  }
355
- function ae({ children: e, className: t = "", label: n }) {
356
- return /* @__PURE__ */ w("section", {
370
+ function X({ children: e, className: t = "", label: n }) {
371
+ return /* @__PURE__ */ s("section", {
357
372
  class: `rv-panel ${t}`,
358
373
  "aria-label": n,
359
374
  children: e
360
375
  });
361
376
  }
362
- function oe({ children: e, className: t = "", label: n }) {
363
- return /* @__PURE__ */ w("div", {
377
+ function ie({ children: e, className: t = "", label: n }) {
378
+ return /* @__PURE__ */ s("div", {
364
379
  class: `rv-toolbar ${t}`,
365
380
  role: "toolbar",
366
381
  "aria-label": n,
367
382
  children: e
368
383
  });
369
384
  }
370
- function se({ children: e, className: t = "", label: n }) {
371
- return /* @__PURE__ */ w("div", {
385
+ function ae({ children: e, className: t = "", label: n }) {
386
+ return /* @__PURE__ */ s("div", {
372
387
  class: `rv-toolbar-group ${t}`,
373
388
  role: "group",
374
389
  "aria-label": n,
375
390
  children: e
376
391
  });
377
392
  }
378
- function ce() {
379
- return /* @__PURE__ */ w("span", {
393
+ function oe() {
394
+ return /* @__PURE__ */ s("span", {
380
395
  class: "rv-toolbar-separator",
381
396
  role: "separator",
382
397
  "aria-orientation": "vertical"
383
398
  });
384
399
  }
385
- function le({ children: t, className: n = "", variant: r, shape: i }) {
386
- return /* @__PURE__ */ w("span", {
387
- class: `${e({
388
- variant: r,
389
- shape: i
390
- })} ${n}`,
391
- children: t
400
+ function se({ children: e, className: t = "", variant: n, shape: r }) {
401
+ return /* @__PURE__ */ s("span", {
402
+ class: `${a({
403
+ variant: n,
404
+ shape: r
405
+ })} ${t}`,
406
+ children: e
392
407
  });
393
408
  }
394
- function ue({ count: e, label: t }) {
395
- return /* @__PURE__ */ w("span", {
409
+ function ce({ count: e, label: t }) {
410
+ return /* @__PURE__ */ s("span", {
396
411
  class: "rv-count",
397
412
  "aria-label": t,
398
413
  children: e
399
414
  });
400
415
  }
401
- function Q({ label: e }) {
402
- return O(y, {
403
- label: e,
416
+ function Z({ label: t }) {
417
+ return w(e, {
418
+ label: t,
404
419
  showSpinner: !0
405
420
  });
406
421
  }
407
- function de({ busy: e, label: t, children: n }) {
408
- return /* @__PURE__ */ T("div", {
422
+ function le({ busy: e, label: t, children: n }) {
423
+ return /* @__PURE__ */ s("div", {
409
424
  class: "rv-loading-container",
410
425
  "aria-busy": e,
411
- children: [n, e && /* @__PURE__ */ w("div", {
426
+ children: [n, e && /* @__PURE__ */ s("div", {
412
427
  class: "rv-loading-overlay",
413
- children: /* @__PURE__ */ w(Q, { label: t })
428
+ children: /* @__PURE__ */ s(Z, { label: t })
414
429
  })]
415
430
  });
416
431
  }
417
- function fe({ title: e, description: t, children: n }) {
418
- return /* @__PURE__ */ T("div", {
432
+ function ue({ title: e, description: t, children: n }) {
433
+ return /* @__PURE__ */ s("div", {
419
434
  class: "rv-empty-state",
420
435
  children: [
421
- /* @__PURE__ */ w("strong", { children: e }),
422
- t && /* @__PURE__ */ w("p", { children: t }),
436
+ /* @__PURE__ */ s("strong", { children: e }),
437
+ t && /* @__PURE__ */ s("p", { children: t }),
423
438
  n
424
439
  ]
425
440
  });
426
441
  }
427
- function $({ children: e, label: t, onClose: n }) {
428
- let r = x(null);
429
- return b(() => r.current ? g(r.current, n) : void 0, [n]), /* @__PURE__ */ w("div", {
430
- ref: r,
442
+ function Q({ children: e, label: t, onClose: n }) {
443
+ let a = i(null);
444
+ return r(() => a.current ? x(a.current, n) : void 0, [n]), /* @__PURE__ */ s("div", {
445
+ ref: a,
431
446
  class: "rv-menu",
432
447
  role: "menu",
433
448
  "aria-label": t,
434
449
  children: e
435
450
  });
436
451
  }
437
- function pe({ children: e, ...t }) {
438
- return /* @__PURE__ */ w(I, {
452
+ function de({ children: e, ...t }) {
453
+ return /* @__PURE__ */ s(j, {
439
454
  variant: "ghost",
440
455
  ...t,
441
456
  role: "menuitem",
442
457
  children: e
443
458
  });
444
459
  }
445
- function me() {
446
- return /* @__PURE__ */ w("div", {
460
+ function $() {
461
+ return /* @__PURE__ */ s("div", {
447
462
  role: "separator",
448
463
  class: "rv-menu-separator"
449
464
  });
450
465
  }
451
- function he({ label: e, children: t }) {
452
- let [n, r] = S(!1), i = x(null), a = x(null), [o] = S(() => p("rv-ui"));
453
- b(() => {
454
- n && i.current?.querySelector("[role=\"menu\"]")?.querySelector("[role=\"menuitem\"]:not(:disabled)")?.focus();
455
- }, [n]);
456
- let s = () => {
457
- r(!1), a.current?.focus();
466
+ function fe({ label: e, children: t }) {
467
+ let [a, o] = n(!1), c = i(null), l = i(null), [u] = n(() => v("rv-ui"));
468
+ r(() => {
469
+ a && c.current?.querySelector("[role=\"menu\"]")?.querySelector("[role=\"menuitem\"]:not(:disabled)")?.focus();
470
+ }, [a]);
471
+ let d = () => {
472
+ o(!1), l.current?.focus();
458
473
  };
459
- return /* @__PURE__ */ T("div", {
460
- ref: i,
474
+ return /* @__PURE__ */ s("div", {
475
+ ref: c,
461
476
  class: "rv-submenu",
462
477
  onKeyDown: (e) => {
463
- n && (e.key === "ArrowLeft" || e.key === "Escape") && (e.preventDefault(), e.stopPropagation(), s());
478
+ a && (e.key === "ArrowLeft" || e.key === "Escape") && (e.preventDefault(), e.stopPropagation(), d());
464
479
  },
465
- children: [/* @__PURE__ */ w(I, {
466
- ref: a,
480
+ children: [/* @__PURE__ */ s(j, {
481
+ ref: l,
467
482
  variant: "ghost",
468
483
  role: "menuitem",
469
484
  "aria-haspopup": "menu",
470
- "aria-expanded": n,
471
- "aria-controls": o,
472
- onClick: () => r(!n),
485
+ "aria-expanded": a,
486
+ "aria-controls": u,
487
+ onClick: () => o(!a),
473
488
  onKeyDown: (e) => {
474
- e.key === "ArrowRight" && (e.preventDefault(), r(!0));
489
+ e.key === "ArrowRight" && (e.preventDefault(), o(!0));
475
490
  },
476
491
  children: e
477
- }), n && /* @__PURE__ */ w("div", {
478
- id: o,
479
- children: /* @__PURE__ */ w($, {
492
+ }), a && /* @__PURE__ */ s("div", {
493
+ id: u,
494
+ children: /* @__PURE__ */ s(Q, {
480
495
  label: e,
481
- onClose: s,
496
+ onClose: d,
482
497
  children: t
483
498
  })
484
499
  })]
485
500
  });
486
501
  }
487
- function ge(e) {
488
- let t = x(null), n = x(e);
489
- return n.current = e, b(() => t.current ? _(t.current, () => n.current) : void 0, []), /* @__PURE__ */ w("div", {
502
+ function pe(e) {
503
+ let t = i(null), n = i(e);
504
+ return n.current = e, r(() => t.current ? te(t.current, () => n.current) : void 0, []), /* @__PURE__ */ s("div", {
490
505
  class: "rv-resize-handle",
491
506
  ref: t,
492
507
  role: "separator",
@@ -498,70 +513,70 @@ function ge(e) {
498
513
  "aria-valuemax": e.max
499
514
  });
500
515
  }
501
- function _e({ page: e, pageCount: t, onChange: n, label: r, previousLabel: i, nextLabel: a, firstLabel: o = "First page", lastLabel: s = "Last page", variant: c = "compact", disabled: d = !1, navigation: f = !0, boundaryButtons: p = !1, buttons: m, children: h, className: g = "" }) {
502
- let _ = Number.isFinite(t) ? Math.max(0, Math.floor(t)) : 0, v = Math.min(Math.max(0, Math.floor(e) || 0), Math.max(0, _ - 1)), b = (e, t) => {
503
- let r = m?.[e];
504
- if (r === !1) return null;
505
- let i = e === "first" ? 0 : e === "last" ? _ - 1 : v + (e === "previous" ? -1 : 1), a = d || !!r?.disabled || !_ || i < 0 || i >= _ || i === v;
506
- return /* @__PURE__ */ w(L, {
507
- ...r,
516
+ function me({ page: n, pageCount: r, onChange: i, label: a, previousLabel: o, nextLabel: c, firstLabel: l = "First page", lastLabel: u = "Last page", variant: d = "compact", disabled: f = !1, navigation: p = !0, boundaryButtons: m = !1, buttons: g, children: _, className: v = "" }) {
517
+ let y = Number.isFinite(r) ? Math.max(0, Math.floor(r)) : 0, b = Math.min(Math.max(0, Math.floor(n) || 0), Math.max(0, y - 1)), x = (e, t) => {
518
+ let n = g?.[e];
519
+ if (n === !1) return null;
520
+ let r = e === "first" ? 0 : e === "last" ? y - 1 : b + (e === "previous" ? -1 : 1), a = f || !!n?.disabled || !y || r < 0 || r >= y || r === b;
521
+ return /* @__PURE__ */ s(M, {
522
+ ...n,
508
523
  label: t,
509
- icon: D[e],
524
+ icon: C[e],
510
525
  size: "compact",
511
- className: `rv-pagination-button rv-pagination-button--icon ${r?.className ?? ""}`,
526
+ className: `rv-pagination-button rv-pagination-button--icon ${n?.className ?? ""}`,
512
527
  disabled: a,
513
528
  onClick: () => {
514
- a || n(i);
529
+ a || i(r);
515
530
  }
516
531
  });
517
532
  };
518
- return /* @__PURE__ */ T("nav", {
519
- class: `rv-pagination ${c === "numbered" ? "rv-pagination--numbered" : ""} ${g}`,
520
- "aria-label": r,
533
+ return /* @__PURE__ */ s("nav", {
534
+ class: `rv-pagination ${d === "numbered" ? "rv-pagination--numbered" : ""} ${v}`,
535
+ "aria-label": a,
521
536
  children: [
522
- f && p && b("first", o),
523
- f && b("previous", i),
524
- h,
525
- c === "numbered" ? /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w("span", {
526
- class: `rv-pagination-pages ${_ <= 5 ? "rv-pagination-pages--compact" : ""}`,
527
- children: l(v, _, 3).map((e, t) => e === "ellipsis" ? /* @__PURE__ */ w("span", {
537
+ p && m && x("first", l),
538
+ p && x("previous", o),
539
+ _,
540
+ d === "numbered" ? /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s("span", {
541
+ class: `rv-pagination-pages ${y <= 5 ? "rv-pagination-pages--compact" : ""}`,
542
+ children: ee(b, y, 3).map((t, n) => t === "ellipsis" ? /* @__PURE__ */ s("span", {
528
543
  class: "rv-pagination-ellipsis",
529
544
  "aria-label": "More pages",
530
545
  children: "…"
531
- }, `gap-${t}`) : u(y, {
532
- text: String(e + 1),
533
- label: `${e + 1}`,
534
- active: e === v,
535
- disabled: d,
546
+ }, `gap-${n}`) : h(e, {
547
+ text: String(t + 1),
548
+ label: `${t + 1}`,
549
+ active: t === b,
550
+ disabled: f,
536
551
  onClick: () => {
537
- !d && e !== v && n(e);
552
+ !f && t !== b && i(t);
538
553
  }
539
554
  }))
540
- }), _ > 5 && /* @__PURE__ */ T("span", {
555
+ }), y > 5 && /* @__PURE__ */ s("span", {
541
556
  class: "rv-pagination-summary rv-pagination-summary--responsive",
542
557
  "aria-live": "polite",
543
558
  children: [
544
- _ ? v + 1 : 0,
559
+ y ? b + 1 : 0,
545
560
  " / ",
546
- _
561
+ y
547
562
  ]
548
- })] }) : c === "compact" ? /* @__PURE__ */ T("span", {
563
+ })] }) : d === "compact" ? /* @__PURE__ */ s("span", {
549
564
  class: "rv-pagination-summary",
550
565
  "aria-live": "polite",
551
566
  children: [
552
- _ ? v + 1 : 0,
567
+ y ? b + 1 : 0,
553
568
  " / ",
554
- _
569
+ y
555
570
  ]
556
571
  }) : null,
557
- f && b("next", a),
558
- f && p && b("last", s)
572
+ p && x("next", c),
573
+ p && m && x("last", u)
559
574
  ]
560
575
  });
561
576
  }
562
- function ve({ value: e, min: t = 0, max: n = 100, label: r }) {
563
- let i = v(e, t, n);
564
- return /* @__PURE__ */ T("svg", {
577
+ function he({ value: e, min: t = 0, max: n = 100, label: r }) {
578
+ let i = S(e, t, n);
579
+ return /* @__PURE__ */ s("svg", {
565
580
  viewBox: "0 0 36 36",
566
581
  class: "rv-circular-progress",
567
582
  role: "progressbar",
@@ -569,14 +584,14 @@ function ve({ value: e, min: t = 0, max: n = 100, label: r }) {
569
584
  "aria-valuemin": i.min,
570
585
  "aria-valuemax": i.max,
571
586
  "aria-valuenow": i.min + (i.max - i.min) * i.percent / 100,
572
- children: [/* @__PURE__ */ w("circle", {
587
+ children: [/* @__PURE__ */ s("circle", {
573
588
  cx: "18",
574
589
  cy: "18",
575
590
  r: "16",
576
591
  fill: "none",
577
592
  stroke: "currentColor",
578
593
  opacity: "0.15"
579
- }), /* @__PURE__ */ w("circle", {
594
+ }), /* @__PURE__ */ s("circle", {
580
595
  cx: "18",
581
596
  cy: "18",
582
597
  r: "16",
@@ -588,28 +603,28 @@ function ve({ value: e, min: t = 0, max: n = 100, label: r }) {
588
603
  })]
589
604
  });
590
605
  }
591
- function ye({ value: e, max: n = 5, label: r, onChange: i, disabled: a }) {
592
- let o = Array.from({ length: Math.max(0, Math.min(100, Math.floor(n))) }, (e, t) => t + 1);
593
- return i ? /* @__PURE__ */ w(B, {
606
+ function ge({ value: e, max: n = 5, label: r, onChange: i, disabled: a }) {
607
+ let c = Array.from({ length: Math.max(0, Math.min(100, Math.floor(n))) }, (e, t) => t + 1);
608
+ return i ? /* @__PURE__ */ s(R, {
594
609
  className: "rv-rating",
595
610
  label: r,
596
611
  value: e,
597
612
  disabled: a,
598
- options: o.map((n) => ({
613
+ options: c.map((n) => ({
599
614
  value: n,
600
- label: /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w(t, { filled: n <= e }), /* @__PURE__ */ w("span", {
615
+ label: /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(o, { filled: n <= e }), /* @__PURE__ */ s("span", {
601
616
  class: "rv-visually-hidden",
602
617
  children: n
603
618
  })] })
604
619
  })),
605
620
  onChange: i
606
- }) : /* @__PURE__ */ w("span", {
621
+ }) : /* @__PURE__ */ s("span", {
607
622
  class: "rv-rating",
608
623
  role: "img",
609
624
  "aria-label": `${r}: ${e} / ${n}`,
610
- children: o.map((n) => /* @__PURE__ */ w(t, { filled: n <= e }))
625
+ children: c.map((t) => /* @__PURE__ */ s(o, { filled: t <= e }))
611
626
  });
612
627
  }
613
- r(V, "input"), r(U, "input"), r(G, "input"), r(K, "input"), r(q, "input"), r(H, "textarea"), r(J, "select");
628
+ p(z, "input"), p(V, "input"), p(U, "input"), p(W, "input"), p(G, "input"), p(B, "textarea");
614
629
  //#endregion
615
- export { z as A, P as B, ae as C, te as D, ge as E, R as F, j as G, N as H, oe as I, M as K, se as L, V as M, H as N, Q as O, K as P, ce as R, _e as S, ye as T, O as U, k as V, A as W, pe as _, ve as a, U as b, q as c, Z as d, X as f, $ as g, de as h, Y as i, ne as j, he as k, ie as l, L as m, I as n, ue as o, re as p, ee as r, G as s, le as t, fe as u, me as v, B as w, W as x, J as y, F as z };
630
+ export { I as A, ne as B, R as C, Z as D, F as E, ie as F, D as G, w as H, ae as I, oe as L, B as M, W as N, fe as O, N as P, A as R, X as S, pe as T, T as U, O as V, E as W, de as _, he as a, H as b, G as c, re as d, q as f, Q as g, le as h, K as i, z as j, L as k, Y as l, M as m, j as n, ce as o, J as p, P as r, U as s, se as t, ue as u, $ as v, ge as w, me as x, V as y, k as z };