@revolist/ui 4.0.4-rc → 4.0.5-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 (192) hide show
  1. package/OWNERSHIP.md +1 -1
  2. package/README.md +16 -0
  3. package/_chunks/arrow-up-Cw8hW9vp.js +4 -0
  4. package/_chunks/badge.view-D30pMUfi.js +14 -0
  5. package/_chunks/calculator-CDWOuAcp.js +4 -0
  6. package/_chunks/{calendar-xpZ0v3xf.js → calendar-DsXIhybL.js} +19 -19
  7. package/_chunks/chart-frame-CuZABXVI.js +141 -0
  8. package/_chunks/check-BwI7iCAm.js +4 -0
  9. package/_chunks/choice-chips-BhP8MZjs.js +126 -0
  10. package/_chunks/{color-palette-D8vyPfld.js → color-palette-DMJUChWC.js} +20 -22
  11. package/_chunks/color-picker-B4TQvxxB.js +143 -0
  12. package/_chunks/{component-C_T2VN5u.js → component-qKctqdzk.js} +281 -265
  13. package/_chunks/configurator-actions-C19O1rda.js +155 -0
  14. package/_chunks/configurator-field-icon-CmcM_sPs.js +53 -0
  15. package/_chunks/{control-AHKXD5Eu.js → control-BkWukVt9.js} +13 -13
  16. package/_chunks/{controls-DsNi8V8I.js → controls-BLQnWEd7.js} +147 -155
  17. package/_chunks/{date-control-DrVFX13g.js → date-control-Cgw5PwlZ.js} +1 -1
  18. package/_chunks/date-time-B8rK5gpC.js +784 -0
  19. package/_chunks/{dialog.parts-CKGkC5zP.js → dialog.parts-BSbvnEwX.js} +21 -21
  20. package/_chunks/{duration-CL68Em0o.js → duration-DwFXonEV.js} +1 -4
  21. package/_chunks/editor-popup-BaaxL89T.js +81 -0
  22. package/_chunks/field-configurator-1eQP0tKy.js +223 -0
  23. package/_chunks/icon-toolbar-xbqa0hu9.js +128 -0
  24. package/_chunks/magnifying-glass-CvrTDSkB.js +4 -0
  25. package/_chunks/minus-BOAR3A1C.js +4 -0
  26. package/_chunks/mount-D1i5DLRn.js +266 -0
  27. package/_chunks/native-control-DO0d1kgx.js +636 -0
  28. package/_chunks/{number-input-BKwA5FnM.js → number-input-s9ddPwX6.js} +7 -7
  29. package/_chunks/{picker-h1P5RUgp.js → picker-AY05b41W.js} +2 -2
  30. package/_chunks/plus-CbGRkIGl.js +4 -0
  31. package/_chunks/popover-controller-D-AvKQ7B.js +102 -0
  32. package/_chunks/{popup-CT2uD3go.js → popup-UXGCiv3n.js} +97 -97
  33. package/_chunks/{rating-choice-DZgmaic0.js → rating-choice-BEs_QFZC.js} +1 -1
  34. package/_chunks/{reorder-list-CSlqAGHw.js → reorder-list-A49l172e.js} +1 -1
  35. package/_chunks/request-trail-DCOfa5zw.js +753 -0
  36. package/_chunks/rich-text-xfMWadGi.js +842 -0
  37. package/_chunks/rotate-left-BF6G883o.js +4 -0
  38. package/_chunks/title-tooltip-Cw6LOZhb.js +11 -0
  39. package/_chunks/tooltip-D4xkio5G.js +54 -0
  40. package/_chunks/tooltip-owner-DjdvqKzz.js +19 -0
  41. package/_chunks/tooltip-session-B6X6x8G_.js +110 -0
  42. package/_chunks/tooltip-text-BXsUEmBH.js +12 -0
  43. package/_chunks/top-layer-popup-CNSDdfJV.js +59 -0
  44. package/ai/_chat.scss +28 -3
  45. package/ai/_style.scss +55 -2
  46. package/ai/chat.d.ts +3 -1
  47. package/ai/components.d.ts +13 -2
  48. package/ai/index.d.ts +1 -0
  49. package/ai/index.js +3 -3
  50. package/ai/mount.d.ts +17 -1
  51. package/ai/results/_style.scss +80 -0
  52. package/ai/results/index.d.ts +11 -0
  53. package/ai/results/metrics.d.ts +5 -0
  54. package/ai/results/table.d.ts +5 -0
  55. package/ai/results/text.d.ts +5 -0
  56. package/ai/results/types.d.ts +29 -0
  57. package/ai/transcript.d.ts +2 -0
  58. package/ai/translations.d.ts +1 -1
  59. package/assignee/index.js +2 -2
  60. package/avatar/index.js +32 -31
  61. package/badge.view.d.ts +8 -0
  62. package/brush-range/component.js +28 -27
  63. package/buttons/svg-button.d.ts +1 -1
  64. package/buttons/svg-button.js +16 -16
  65. package/calendar/_calendar.scss +2 -2
  66. package/calendar/calendar.js +1 -1
  67. package/calendar/index.js +2 -2
  68. package/choice-chips/index.d.ts +3 -1
  69. package/choice-chips/index.js +1 -1
  70. package/color-palette/color-palette.js +1 -1
  71. package/color-palette/color-palette.style.scss +1 -1
  72. package/color-palette/color-picker.js +2 -2
  73. package/component-catalog.d.ts +6 -1
  74. package/configurator-actions.d.ts +67 -0
  75. package/configurator-actions.js +1 -0
  76. package/configurator-aggregation-list.d.ts +14 -0
  77. package/configurator-aggregation-list.js +61 -0
  78. package/configurator-drop-zone.d.ts +38 -0
  79. package/configurator-drop-zone.js +64 -0
  80. package/configurator-field-icon.d.ts +10 -0
  81. package/configurator-field-icon.js +1 -0
  82. package/configurator-focus.d.ts +4 -0
  83. package/configurator-focus.js +39 -0
  84. package/configurator-sections.d.ts +42 -0
  85. package/configurator-sections.js +71 -0
  86. package/control-presentation.js +24 -19
  87. package/controls.d.ts +1 -2
  88. package/controls.js +4 -3
  89. package/core/editor-popup.js +1 -1
  90. package/core/popover-controller.d.ts +35 -0
  91. package/core/popup-ownership.d.ts +2 -0
  92. package/core/title-tooltip.d.ts +2 -0
  93. package/core/tooltip-session.d.ts +29 -0
  94. package/core/tooltip-surface.d.ts +13 -0
  95. package/core/tooltip-text.d.ts +6 -0
  96. package/core/tooltip.d.ts +35 -0
  97. package/core/top-layer-popup.d.ts +4 -0
  98. package/core/top-layer-popup.js +1 -23
  99. package/date-time/index.js +1 -1
  100. package/date-time/style.scss +50 -7
  101. package/date-time/time-selection.d.ts +3 -1
  102. package/dialog/dialog.dom.js +8 -8
  103. package/dialog/dialog.parts.js +1 -1
  104. package/distribution-chart/_distribution-chart.scss +1 -57
  105. package/distribution-chart/area-chart.js +1 -1
  106. package/distribution-chart/bar-chart.js +1 -1
  107. package/distribution-chart/line-chart.js +1 -1
  108. package/dropdown/content.js +1 -1
  109. package/dropdown/control.js +1 -1
  110. package/dropdown/index.js +2 -2
  111. package/dropdown/lookup-field.js +2 -1
  112. package/dropdown/popup.d.ts +2 -2
  113. package/dropdown/popup.js +1 -1
  114. package/duration/index.js +1 -1
  115. package/editor-actions.js +1 -1
  116. package/field-configurator.d.ts +19 -0
  117. package/field-configurator.js +4 -170
  118. package/field-expansion.d.ts +9 -0
  119. package/filter/filters/slider/_slider.scss +0 -17
  120. package/filter/filters/slider/control.js +2 -0
  121. package/filter/filters/slider/runtime.js +49 -22
  122. package/filter/filters/slider/single.js +1 -1
  123. package/filter-badge.js +1 -1
  124. package/filter-controls.js +1 -1
  125. package/form-controls/index.js +6 -6
  126. package/form-controls/presentation.js +12 -12
  127. package/formatting/control-tooltip.d.ts +2 -27
  128. package/formatting/index.js +22 -21
  129. package/formatting/styles.scss +2 -47
  130. package/framework.js +215 -208
  131. package/history-controls.js +27 -1
  132. package/icon-toolbar.d.ts +58 -0
  133. package/icon-toolbar.js +1 -0
  134. package/masked-input/index.js +1 -1
  135. package/native-control.d.ts +1 -2
  136. package/native-control.js +1 -1
  137. package/native-styles.css +1 -1
  138. package/native.js +45 -42
  139. package/number-input/index.js +1 -1
  140. package/package.json +36 -1
  141. package/pagination.js +1 -1
  142. package/pdf-viewer/index.js +1 -1
  143. package/pickers.d.ts +5 -1
  144. package/preact-mount.js +1 -1
  145. package/preact.d.ts +7 -0
  146. package/preact.js +68 -61
  147. package/rating-choice.js +1 -1
  148. package/react.d.ts +5 -0
  149. package/react.js +67 -65
  150. package/reorder-list.js +1 -1
  151. package/resource-picker/resource-picker-popup.js +1 -1
  152. package/resource-picker/resource-picker.js +4 -4
  153. package/rich-text/engine.d.ts +1 -0
  154. package/rich-text/format-html.d.ts +2 -0
  155. package/rich-text/index.d.ts +4 -0
  156. package/rich-text/index.js +1 -1
  157. package/rich-text/model.d.ts +2 -0
  158. package/rich-text/style.scss +165 -70
  159. package/rich-text/syntax.d.ts +5 -0
  160. package/rich-text/translations.d.ts +2 -0
  161. package/select.d.ts +3 -1
  162. package/select.js +1 -1
  163. package/status-feedback/exit-snapshot.js +4 -4
  164. package/status-feedback/popover.js +4 -4
  165. package/styles/_compositions.scss +3 -3
  166. package/styles/_field-configurator.scss +146 -0
  167. package/styles/_fields-grid.scss +35 -0
  168. package/styles/_primitives.scss +25 -18
  169. package/styles/configurator-actions.scss +141 -0
  170. package/styles/legacy-pagination.css +19 -2
  171. package/styles.css +1 -1
  172. package/surfaces.d.ts +3 -0
  173. package/surfaces.js +34 -131
  174. package/surfaces.view.d.ts +4 -34
  175. package/svelte.js +1 -1
  176. package/switch/index.js +15 -14
  177. package/time-grid.js +37 -36
  178. package/timeline-track/index.js +2 -2
  179. package/ui.css +1 -1
  180. package/vue.d.ts +24 -9
  181. package/vue.js +118 -116
  182. package/_chunks/chart-frame-Cmc7xU1i.js +0 -130
  183. package/_chunks/choice-chips-CHQTUdLs.js +0 -110
  184. package/_chunks/color-picker-CudqPYZo.js +0 -138
  185. package/_chunks/control-tooltip-uscKfAnV.js +0 -100
  186. package/_chunks/date-time-qIhp5vaX.js +0 -768
  187. package/_chunks/editor-popup-WDdtVDNA.js +0 -81
  188. package/_chunks/history-controls-B3u3INEK.js +0 -27
  189. package/_chunks/mount-DQ1cpppK.js +0 -257
  190. package/_chunks/native-control-C_yok8_-.js +0 -605
  191. package/_chunks/request-trail-DSlFix6i.js +0 -618
  192. package/_chunks/rich-text-CH7gIqOS.js +0 -636
@@ -1,16 +1,16 @@
1
1
  import { c as e, i as t } from "./preact.module-BBM36DnO.js";
2
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";
3
+ import { t as a } from "./jsxRuntime.module-F6UFnpT-.js";
4
+ import { createPreactElement as o } from "../preact-mount.js";
5
+ import { createControlId as s } from "../core/control-id.js";
6
+ import { t as c } from "./title-tooltip-Cw6LOZhb.js";
7
+ import { n as l } from "./rating-choice-BEs_QFZC.js";
8
+ import { a as u, n as d, t as f } from "./native-control-DO0d1kgx.js";
9
+ import { r as p } from "./popup-UXGCiv3n.js";
10
+ import { registerControl as m, renderControl as h } from "../control-presentation.js";
11
+ import { paginationItems as ee, renderPaginationButton as g } from "../pagination.js";
12
+ import { t as _ } from "./chevron-left-D0nc4Z5S.js";
13
+ import { t as v } from "./chevron-right-sxHQMSkq.js";
14
14
  import { SvgButton as y } from "../buttons/svg-button.js";
15
15
  import { SegmentedSwitch as b } from "../segmented-switch/index.js";
16
16
  import { attachMenuKeyboard as x, attachResizeHandle as te } from "../surfaces.js";
@@ -19,8 +19,8 @@ import { normalizeProgressRange as S } from "../progress/range.js";
19
19
  //#region src/icons/pagination.ts
20
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: g,
23
- next: _,
22
+ previous: _,
23
+ next: v,
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
@@ -36,8 +36,8 @@ function w(e, t) {
36
36
  "aria-hidden": "true"
37
37
  })] : []);
38
38
  }
39
- function ne(e, t) {
40
- return f(e, /* @__PURE__ */ s(u, {
39
+ function T(e, t) {
40
+ return o(e, /* @__PURE__ */ a(f, {
41
41
  unstyled: !0,
42
42
  type: "button",
43
43
  class: t.className ?? "rv-btn",
@@ -47,7 +47,7 @@ function ne(e, t) {
47
47
  children: t.text ?? t.label
48
48
  }));
49
49
  }
50
- function T(e, t) {
50
+ function E(e, t) {
51
51
  return e("button", {
52
52
  type: "button",
53
53
  role: "menuitem",
@@ -63,11 +63,11 @@ function T(e, t) {
63
63
  style: "float:inline-end;margin-inline-start:16px"
64
64
  }, "›") : null]);
65
65
  }
66
- function E(e, t, n = Math.max(0, Math.floor(t))) {
66
+ function D(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 D(e, t) {
70
+ function O(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 D(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 O(e, t) {
103
- let n = (n, r, i) => m(e, "button", {
102
+ function k(e, t) {
103
+ let n = (n, r, i) => h(e, "button", {
104
104
  class: {
105
105
  "revo-counter-button": !0,
106
106
  "revo-counter-button-disabled": r
@@ -121,7 +121,7 @@ function O(e, t) {
121
121
  }
122
122
  //#endregion
123
123
  //#region src/alert.tsx
124
- function k(e, { children: t, tone: n = "neutral", label: r, icon: i, title: a, description: o, actions: s, className: c = "", class: l = "", ...u }) {
124
+ function A(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,60 +133,61 @@ function k(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 A(t) {
137
- return k(e, t);
136
+ function ne(t) {
137
+ return A(e, t);
138
138
  }
139
139
  //#endregion
140
140
  //#region src/controls.tsx
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 = [
141
+ var j = m(p(function({ href: e, target: t, rel: n, rounded: r = !1, variant: i = "default", size: o = "default", className: s = "", class: l, ...u }, d) {
142
+ let p = c(e !== void 0 && typeof u.title == "string" ? u.title : void 0), m = [
143
143
  i === "default" ? "rv-btn" : `rv-btn-${i}`,
144
- a === "compact" ? "rv-btn-sm" : "",
144
+ o === "compact" ? "rv-btn-sm" : "",
145
145
  r ? "rv-btn-rounded" : "",
146
- c,
147
- o
146
+ l,
147
+ s
148
148
  ].filter(Boolean).join(" ");
149
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,
150
+ let r = u.disabled || u.busy, { busy: i, disabled: o, title: s, ...c } = u;
151
+ return /* @__PURE__ */ a("a", {
152
+ ...c,
153
+ ref: p,
153
154
  href: r ? void 0 : e,
154
155
  target: t,
155
156
  rel: n,
156
- class: f,
157
+ class: m,
157
158
  "aria-disabled": r || void 0,
158
159
  "aria-busy": i || void 0,
159
- tabIndex: r ? -1 : l.tabIndex,
160
+ tabIndex: r ? -1 : u.tabIndex,
160
161
  onClick: (e) => {
161
- r ? e.preventDefault() : l.onClick?.(e);
162
+ r ? e.preventDefault() : u.onClick?.(e);
162
163
  }
163
164
  });
164
165
  }
165
- return /* @__PURE__ */ s(u, {
166
+ return /* @__PURE__ */ a(f, {
166
167
  ref: d,
167
168
  rounded: r,
168
169
  type: "button",
169
- ...l,
170
+ ...u,
170
171
  class: [
171
172
  i === "default" ? "rv-btn" : `rv-btn-${i}`,
172
- a === "compact" ? "rv-btn-sm" : "",
173
- c,
174
- o
173
+ o === "compact" ? "rv-btn-sm" : "",
174
+ l,
175
+ s
175
176
  ].filter(Boolean).join(" ")
176
177
  });
177
178
  }), "button");
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, {
179
+ function M({ label: e, icon: t, badge: n, children: r, className: i = "", variant: o = "ghost", size: s = "default", ...c }) {
180
+ return /* @__PURE__ */ a(y, {
180
181
  ...c,
181
182
  label: e,
182
183
  icon: t,
183
184
  badge: n,
184
- className: `rv-btn-icon ${a === "default" ? "rv-btn" : `rv-btn-${a}`} ${o === "compact" ? "rv-btn-sm" : ""} ${i}`,
185
+ className: `rv-btn-icon ${o === "default" ? "rv-btn" : `rv-btn-${o}`} ${s === "compact" ? "rv-btn-sm" : ""} ${i}`,
185
186
  children: r
186
187
  });
187
188
  }
188
189
  function N({ pressed: e, onPressedChange: t, ...n }) {
189
- return /* @__PURE__ */ s(j, {
190
+ return /* @__PURE__ */ a(j, {
190
191
  ...n,
191
192
  "aria-pressed": e,
192
193
  onClick: (r) => {
@@ -195,7 +196,7 @@ function N({ pressed: e, onPressedChange: t, ...n }) {
195
196
  });
196
197
  }
197
198
  function P({ children: e, className: t = "", label: n }) {
198
- return /* @__PURE__ */ s("div", {
199
+ return /* @__PURE__ */ a("div", {
199
200
  role: "group",
200
201
  "aria-label": n,
201
202
  class: `rv-btn-group ${t}`,
@@ -203,19 +204,19 @@ function P({ children: e, className: t = "", label: n }) {
203
204
  });
204
205
  }
205
206
  function F(e) {
206
- return /* @__PURE__ */ s(b, {
207
+ return /* @__PURE__ */ a(b, {
207
208
  ...e,
208
209
  role: "radiogroup"
209
210
  });
210
211
  }
211
212
  function I(e) {
212
- return /* @__PURE__ */ s(b, {
213
+ return /* @__PURE__ */ a(b, {
213
214
  ...e,
214
215
  role: "tablist"
215
216
  });
216
217
  }
217
218
  function L({ id: e, labelledBy: t, active: n, children: r }) {
218
- return /* @__PURE__ */ s("div", {
219
+ return /* @__PURE__ */ a("div", {
219
220
  id: e,
220
221
  role: "tabpanel",
221
222
  "aria-labelledby": t,
@@ -223,14 +224,14 @@ function L({ id: e, labelledBy: t, active: n, children: r }) {
223
224
  children: r
224
225
  });
225
226
  }
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", {
227
+ function R({ className: e = "", value: t, options: r, onChange: i, label: o, disabled: c, name: l }) {
228
+ let [u] = n(() => s("rv-ui"));
229
+ return /* @__PURE__ */ a("fieldset", {
229
230
  class: `rv-radio-group ${e}`,
230
- disabled: o,
231
- children: [/* @__PURE__ */ s("legend", { children: a }), r.map((e) => /* @__PURE__ */ s("label", { children: [/* @__PURE__ */ s(l, {
231
+ disabled: c,
232
+ children: [/* @__PURE__ */ a("legend", { children: o }), r.map((e) => /* @__PURE__ */ a("label", { children: [/* @__PURE__ */ a(d, {
232
233
  type: "radio",
233
- name: c ?? u,
234
+ name: l ?? u,
234
235
  checked: t === e.value,
235
236
  disabled: e.disabled,
236
237
  onChange: () => i(e.value)
@@ -238,7 +239,7 @@ function R({ className: e = "", value: t, options: r, onChange: i, label: a, dis
238
239
  });
239
240
  }
240
241
  function z({ className: e = "", class: t, onValueChange: n, onInput: r, ...i }) {
241
- return /* @__PURE__ */ s(l, {
242
+ return /* @__PURE__ */ a(d, {
242
243
  type: "text",
243
244
  ...i,
244
245
  class: `rv-control ${t ?? ""} ${e}`,
@@ -248,7 +249,7 @@ function z({ className: e = "", class: t, onValueChange: n, onInput: r, ...i })
248
249
  });
249
250
  }
250
251
  function B({ className: e = "", class: t, onValueChange: n, onInput: r, ...i }) {
251
- return /* @__PURE__ */ s(c, {
252
+ return /* @__PURE__ */ a(u, {
252
253
  ...i,
253
254
  class: `rv-control ${t ?? ""} ${e}`,
254
255
  onInput: (e) => {
@@ -257,7 +258,7 @@ function B({ className: e = "", class: t, onValueChange: n, onInput: r, ...i })
257
258
  });
258
259
  }
259
260
  function V({ onValueChange: e, ...t }) {
260
- return /* @__PURE__ */ s(z, {
261
+ return /* @__PURE__ */ a(z, {
261
262
  ...t,
262
263
  type: "number",
263
264
  onValueChange: (t) => {
@@ -265,23 +266,23 @@ function V({ onValueChange: e, ...t }) {
265
266
  }
266
267
  });
267
268
  }
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
+ function H({ value: e, min: t = -Infinity, max: n = Infinity, step: r = 1, onChange: i, label: o, decreaseLabel: s, increaseLabel: c, disabled: l, readOnly: u }) {
269
270
  let d = (e) => {
270
271
  Number.isFinite(e) && i(Math.max(t, Math.min(n, e)));
271
272
  };
272
- return /* @__PURE__ */ s("div", {
273
+ return /* @__PURE__ */ a("div", {
273
274
  class: "rv-number-stepper",
274
275
  role: "group",
275
- "aria-label": a,
276
+ "aria-label": o,
276
277
  children: [
277
- /* @__PURE__ */ s(j, {
278
+ /* @__PURE__ */ a(j, {
278
279
  disabled: l || u || e <= t,
279
- "aria-label": o,
280
+ "aria-label": s,
280
281
  onClick: () => d(e - r),
281
282
  children: "−"
282
283
  }),
283
- /* @__PURE__ */ s(V, {
284
- "aria-label": a,
284
+ /* @__PURE__ */ a(V, {
285
+ "aria-label": o,
285
286
  value: e,
286
287
  min: Number.isFinite(t) ? t : void 0,
287
288
  max: Number.isFinite(n) ? n : void 0,
@@ -292,7 +293,7 @@ function H({ value: e, min: t = -Infinity, max: n = Infinity, step: r = 1, onCha
292
293
  e !== void 0 && d(e);
293
294
  }
294
295
  }),
295
- /* @__PURE__ */ s(j, {
296
+ /* @__PURE__ */ a(j, {
296
297
  disabled: l || u || e >= n,
297
298
  "aria-label": c,
298
299
  onClick: () => d(e + r),
@@ -302,38 +303,38 @@ function H({ value: e, min: t = -Infinity, max: n = Infinity, step: r = 1, onCha
302
303
  });
303
304
  }
304
305
  function U(e) {
305
- return /* @__PURE__ */ s(z, {
306
+ return /* @__PURE__ */ a(z, {
306
307
  ...e,
307
308
  type: "date"
308
309
  });
309
310
  }
310
311
  function W(e) {
311
- return /* @__PURE__ */ s(z, {
312
+ return /* @__PURE__ */ a(z, {
312
313
  ...e,
313
314
  type: "time"
314
315
  });
315
316
  }
316
317
  function G(e) {
317
- return /* @__PURE__ */ s(z, {
318
+ return /* @__PURE__ */ a(z, {
318
319
  ...e,
319
320
  type: "datetime-local"
320
321
  });
321
322
  }
322
323
  function K({ children: e, className: t = "" }) {
323
- return /* @__PURE__ */ s("span", {
324
+ return /* @__PURE__ */ a("span", {
324
325
  class: `rv-btn-pill ${t}`,
325
326
  children: e
326
327
  });
327
328
  }
328
329
  function q({ children: e, id: t }) {
329
- return /* @__PURE__ */ s("span", {
330
+ return /* @__PURE__ */ a("span", {
330
331
  class: "rv-field__hint",
331
332
  id: t,
332
333
  children: e
333
334
  });
334
335
  }
335
336
  function re({ children: e, id: t }) {
336
- return /* @__PURE__ */ s("span", {
337
+ return /* @__PURE__ */ a("span", {
337
338
  class: "rv-field__error",
338
339
  id: t,
339
340
  role: "alert",
@@ -341,14 +342,14 @@ function re({ children: e, id: t }) {
341
342
  });
342
343
  }
343
344
  function J({ children: e, title: t, description: n }) {
344
- return /* @__PURE__ */ s("fieldset", {
345
+ return /* @__PURE__ */ a("fieldset", {
345
346
  class: "rv-form-section",
346
347
  children: [
347
- t && /* @__PURE__ */ s("legend", {
348
+ t && /* @__PURE__ */ a("legend", {
348
349
  class: "rv-form-section__title",
349
350
  children: t
350
351
  }),
351
- n && /* @__PURE__ */ s("p", {
352
+ n && /* @__PURE__ */ a("p", {
352
353
  class: "rv-form-description",
353
354
  children: n
354
355
  }),
@@ -357,25 +358,25 @@ function J({ children: e, title: t, description: n }) {
357
358
  });
358
359
  }
359
360
  function Y({ children: e, className: t = "", summary: n, open: r, onToggle: i }) {
360
- return /* @__PURE__ */ s("details", {
361
+ return /* @__PURE__ */ a("details", {
361
362
  class: `rv-disclosure ${t}`.trim(),
362
363
  open: r,
363
364
  onToggle: i,
364
- children: [/* @__PURE__ */ s("summary", {
365
+ children: [/* @__PURE__ */ a("summary", {
365
366
  class: "rv-disclosure-summary",
366
367
  children: n
367
368
  }), e]
368
369
  });
369
370
  }
370
371
  function X({ children: e, className: t = "", label: n }) {
371
- return /* @__PURE__ */ s("section", {
372
+ return /* @__PURE__ */ a("section", {
372
373
  class: `rv-panel ${t}`,
373
374
  "aria-label": n,
374
375
  children: e
375
376
  });
376
377
  }
377
378
  function ie({ children: e, className: t = "", label: n }) {
378
- return /* @__PURE__ */ s("div", {
379
+ return /* @__PURE__ */ a("div", {
379
380
  class: `rv-toolbar ${t}`,
380
381
  role: "toolbar",
381
382
  "aria-label": n,
@@ -383,7 +384,7 @@ function ie({ children: e, className: t = "", label: n }) {
383
384
  });
384
385
  }
385
386
  function ae({ children: e, className: t = "", label: n }) {
386
- return /* @__PURE__ */ s("div", {
387
+ return /* @__PURE__ */ a("div", {
387
388
  class: `rv-toolbar-group ${t}`,
388
389
  role: "group",
389
390
  "aria-label": n,
@@ -391,23 +392,14 @@ function ae({ children: e, className: t = "", label: n }) {
391
392
  });
392
393
  }
393
394
  function oe() {
394
- return /* @__PURE__ */ s("span", {
395
+ return /* @__PURE__ */ a("span", {
395
396
  class: "rv-toolbar-separator",
396
397
  role: "separator",
397
398
  "aria-orientation": "vertical"
398
399
  });
399
400
  }
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
407
- });
408
- }
409
- function ce({ count: e, label: t }) {
410
- return /* @__PURE__ */ s("span", {
401
+ function se({ count: e, label: t }) {
402
+ return /* @__PURE__ */ a("span", {
411
403
  class: "rv-count",
412
404
  "aria-label": t,
413
405
  children: e
@@ -419,89 +411,89 @@ function Z({ label: t }) {
419
411
  showSpinner: !0
420
412
  });
421
413
  }
422
- function le({ busy: e, label: t, children: n }) {
423
- return /* @__PURE__ */ s("div", {
414
+ function Q({ busy: e, label: t, children: n }) {
415
+ return /* @__PURE__ */ a("div", {
424
416
  class: "rv-loading-container",
425
417
  "aria-busy": e,
426
- children: [n, e && /* @__PURE__ */ s("div", {
418
+ children: [n, e && /* @__PURE__ */ a("div", {
427
419
  class: "rv-loading-overlay",
428
- children: /* @__PURE__ */ s(Z, { label: t })
420
+ children: /* @__PURE__ */ a(Z, { label: t })
429
421
  })]
430
422
  });
431
423
  }
432
- function ue({ title: e, description: t, children: n }) {
433
- return /* @__PURE__ */ s("div", {
424
+ function ce({ title: e, description: t, children: n }) {
425
+ return /* @__PURE__ */ a("div", {
434
426
  class: "rv-empty-state",
435
427
  children: [
436
- /* @__PURE__ */ s("strong", { children: e }),
437
- t && /* @__PURE__ */ s("p", { children: t }),
428
+ /* @__PURE__ */ a("strong", { children: e }),
429
+ t && /* @__PURE__ */ a("p", { children: t }),
438
430
  n
439
431
  ]
440
432
  });
441
433
  }
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,
434
+ function $({ children: e, label: t, onClose: n }) {
435
+ let o = i(null);
436
+ return r(() => o.current ? x(o.current, n) : void 0, [n]), /* @__PURE__ */ a("div", {
437
+ ref: o,
446
438
  class: "rv-menu",
447
439
  role: "menu",
448
440
  "aria-label": t,
449
441
  children: e
450
442
  });
451
443
  }
452
- function de({ children: e, ...t }) {
453
- return /* @__PURE__ */ s(j, {
444
+ function le({ children: e, ...t }) {
445
+ return /* @__PURE__ */ a(j, {
454
446
  variant: "ghost",
455
447
  ...t,
456
448
  role: "menuitem",
457
449
  children: e
458
450
  });
459
451
  }
460
- function $() {
461
- return /* @__PURE__ */ s("div", {
452
+ function ue() {
453
+ return /* @__PURE__ */ a("div", {
462
454
  role: "separator",
463
455
  class: "rv-menu-separator"
464
456
  });
465
457
  }
466
- function fe({ label: e, children: t }) {
467
- let [a, o] = n(!1), c = i(null), l = i(null), [u] = n(() => v("rv-ui"));
458
+ function de({ label: e, children: t }) {
459
+ let [o, c] = n(!1), l = i(null), u = i(null), [d] = n(() => s("rv-ui"));
468
460
  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();
461
+ o && l.current?.querySelector("[role=\"menu\"]")?.querySelector("[role=\"menuitem\"]:not(:disabled)")?.focus();
462
+ }, [o]);
463
+ let f = () => {
464
+ c(!1), u.current?.focus();
473
465
  };
474
- return /* @__PURE__ */ s("div", {
475
- ref: c,
466
+ return /* @__PURE__ */ a("div", {
467
+ ref: l,
476
468
  class: "rv-submenu",
477
469
  onKeyDown: (e) => {
478
- a && (e.key === "ArrowLeft" || e.key === "Escape") && (e.preventDefault(), e.stopPropagation(), d());
470
+ o && (e.key === "ArrowLeft" || e.key === "Escape") && (e.preventDefault(), e.stopPropagation(), f());
479
471
  },
480
- children: [/* @__PURE__ */ s(j, {
481
- ref: l,
472
+ children: [/* @__PURE__ */ a(j, {
473
+ ref: u,
482
474
  variant: "ghost",
483
475
  role: "menuitem",
484
476
  "aria-haspopup": "menu",
485
- "aria-expanded": a,
486
- "aria-controls": u,
487
- onClick: () => o(!a),
477
+ "aria-expanded": o,
478
+ "aria-controls": d,
479
+ onClick: () => c(!o),
488
480
  onKeyDown: (e) => {
489
- e.key === "ArrowRight" && (e.preventDefault(), o(!0));
481
+ e.key === "ArrowRight" && (e.preventDefault(), c(!0));
490
482
  },
491
483
  children: e
492
- }), a && /* @__PURE__ */ s("div", {
493
- id: u,
494
- children: /* @__PURE__ */ s(Q, {
484
+ }), o && /* @__PURE__ */ a("div", {
485
+ id: d,
486
+ children: /* @__PURE__ */ a($, {
495
487
  label: e,
496
- onClose: d,
488
+ onClose: f,
497
489
  children: t
498
490
  })
499
491
  })]
500
492
  });
501
493
  }
502
- function pe(e) {
494
+ function fe(e) {
503
495
  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", {
496
+ return n.current = e, r(() => t.current ? te(t.current, () => n.current) : void 0, []), /* @__PURE__ */ a("div", {
505
497
  class: "rv-resize-handle",
506
498
  ref: t,
507
499
  role: "separator",
@@ -513,37 +505,37 @@ function pe(e) {
513
505
  "aria-valuemax": e.max
514
506
  });
515
507
  }
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 = "" }) {
508
+ function pe({ page: n, pageCount: r, onChange: i, label: o, previousLabel: s, nextLabel: c, firstLabel: l = "First page", lastLabel: u = "Last page", variant: d = "compact", disabled: f = !1, navigation: p = !0, boundaryButtons: m = !1, buttons: h, children: _, className: v = "" }) {
517
509
  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];
510
+ let n = h?.[e];
519
511
  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, {
512
+ let r = e === "first" ? 0 : e === "last" ? y - 1 : b + (e === "previous" ? -1 : 1), o = f || !!n?.disabled || !y || r < 0 || r >= y || r === b;
513
+ return /* @__PURE__ */ a(M, {
522
514
  ...n,
523
515
  label: t,
524
516
  icon: C[e],
525
517
  size: "compact",
526
518
  className: `rv-pagination-button rv-pagination-button--icon ${n?.className ?? ""}`,
527
- disabled: a,
519
+ disabled: o,
528
520
  onClick: () => {
529
- a || i(r);
521
+ o || i(r);
530
522
  }
531
523
  });
532
524
  };
533
- return /* @__PURE__ */ s("nav", {
525
+ return /* @__PURE__ */ a("nav", {
534
526
  class: `rv-pagination ${d === "numbered" ? "rv-pagination--numbered" : ""} ${v}`,
535
- "aria-label": a,
527
+ "aria-label": o,
536
528
  children: [
537
529
  p && m && x("first", l),
538
- p && x("previous", o),
530
+ p && x("previous", s),
539
531
  _,
540
- d === "numbered" ? /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s("span", {
532
+ d === "numbered" ? /* @__PURE__ */ a(t, { children: [/* @__PURE__ */ a("span", {
541
533
  class: `rv-pagination-pages ${y <= 5 ? "rv-pagination-pages--compact" : ""}`,
542
- children: ee(b, y, 3).map((t, n) => t === "ellipsis" ? /* @__PURE__ */ s("span", {
534
+ children: ee(b, y, 3).map((t, n) => t === "ellipsis" ? /* @__PURE__ */ a("span", {
543
535
  class: "rv-pagination-ellipsis",
544
536
  "aria-label": "More pages",
545
537
  children: "…"
546
- }, `gap-${n}`) : h(e, {
538
+ }, `gap-${n}`) : g(e, {
547
539
  text: String(t + 1),
548
540
  label: `${t + 1}`,
549
541
  active: t === b,
@@ -552,7 +544,7 @@ function me({ page: n, pageCount: r, onChange: i, label: a, previousLabel: o, ne
552
544
  !f && t !== b && i(t);
553
545
  }
554
546
  }))
555
- }), y > 5 && /* @__PURE__ */ s("span", {
547
+ }), y > 5 && /* @__PURE__ */ a("span", {
556
548
  class: "rv-pagination-summary rv-pagination-summary--responsive",
557
549
  "aria-live": "polite",
558
550
  children: [
@@ -560,7 +552,7 @@ function me({ page: n, pageCount: r, onChange: i, label: a, previousLabel: o, ne
560
552
  " / ",
561
553
  y
562
554
  ]
563
- })] }) : d === "compact" ? /* @__PURE__ */ s("span", {
555
+ })] }) : d === "compact" ? /* @__PURE__ */ a("span", {
564
556
  class: "rv-pagination-summary",
565
557
  "aria-live": "polite",
566
558
  children: [
@@ -574,9 +566,9 @@ function me({ page: n, pageCount: r, onChange: i, label: a, previousLabel: o, ne
574
566
  ]
575
567
  });
576
568
  }
577
- function he({ value: e, min: t = 0, max: n = 100, label: r }) {
569
+ function me({ value: e, min: t = 0, max: n = 100, label: r }) {
578
570
  let i = S(e, t, n);
579
- return /* @__PURE__ */ s("svg", {
571
+ return /* @__PURE__ */ a("svg", {
580
572
  viewBox: "0 0 36 36",
581
573
  class: "rv-circular-progress",
582
574
  role: "progressbar",
@@ -584,14 +576,14 @@ function he({ value: e, min: t = 0, max: n = 100, label: r }) {
584
576
  "aria-valuemin": i.min,
585
577
  "aria-valuemax": i.max,
586
578
  "aria-valuenow": i.min + (i.max - i.min) * i.percent / 100,
587
- children: [/* @__PURE__ */ s("circle", {
579
+ children: [/* @__PURE__ */ a("circle", {
588
580
  cx: "18",
589
581
  cy: "18",
590
582
  r: "16",
591
583
  fill: "none",
592
584
  stroke: "currentColor",
593
585
  opacity: "0.15"
594
- }), /* @__PURE__ */ s("circle", {
586
+ }), /* @__PURE__ */ a("circle", {
595
587
  cx: "18",
596
588
  cy: "18",
597
589
  r: "16",
@@ -603,28 +595,28 @@ function he({ value: e, min: t = 0, max: n = 100, label: r }) {
603
595
  })]
604
596
  });
605
597
  }
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, {
598
+ function he({ value: e, max: n = 5, label: r, onChange: i, disabled: o }) {
599
+ let s = Array.from({ length: Math.max(0, Math.min(100, Math.floor(n))) }, (e, t) => t + 1);
600
+ return i ? /* @__PURE__ */ a(R, {
609
601
  className: "rv-rating",
610
602
  label: r,
611
603
  value: e,
612
- disabled: a,
613
- options: c.map((n) => ({
604
+ disabled: o,
605
+ options: s.map((n) => ({
614
606
  value: n,
615
- label: /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(o, { filled: n <= e }), /* @__PURE__ */ s("span", {
607
+ label: /* @__PURE__ */ a(t, { children: [/* @__PURE__ */ a(l, { filled: n <= e }), /* @__PURE__ */ a("span", {
616
608
  class: "rv-visually-hidden",
617
609
  children: n
618
610
  })] })
619
611
  })),
620
612
  onChange: i
621
- }) : /* @__PURE__ */ s("span", {
613
+ }) : /* @__PURE__ */ a("span", {
622
614
  class: "rv-rating",
623
615
  role: "img",
624
616
  "aria-label": `${r}: ${e} / ${n}`,
625
- children: c.map((t) => /* @__PURE__ */ s(o, { filled: t <= e }))
617
+ children: s.map((t) => /* @__PURE__ */ a(l, { filled: t <= e }))
626
618
  });
627
619
  }
628
- p(z, "input"), p(V, "input"), p(U, "input"), p(W, "input"), p(G, "input"), p(B, "textarea");
620
+ m(z, "input"), m(V, "input"), m(U, "input"), m(W, "input"), m(G, "input"), m(B, "textarea");
629
621
  //#endregion
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 };
622
+ export { z as A, k as B, he as C, de as D, Z as E, ae as F, E as H, oe as I, ne as L, W as M, N, L as O, ie as P, A as R, R as S, F as T, D as U, w as V, O as W, ue as _, se as a, pe as b, Y as c, q as d, J as f, le as g, $ as h, me as i, B as j, I as k, ce as l, Q as m, P as n, U as o, M as p, K as r, G as s, j as t, re as u, V as v, fe as w, X as x, H as y, T as z };