@revolist/ui 4.0.1-rc → 4.0.2-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 (218) hide show
  1. package/README.md +6 -5
  2. package/_chunks/calendar-CpaUK7w1.js +248 -0
  3. package/_chunks/chart-frame-BC99KjGa.js +127 -0
  4. package/_chunks/choice-chips-Cs4D-3nH.js +110 -0
  5. package/_chunks/{color-palette-BmZ7kH9R.js → color-palette-BBMFmUNA.js} +41 -41
  6. package/_chunks/color-picker-D90Jg-M8.js +138 -0
  7. package/_chunks/compat.module-DDB2pm9O.js +229 -0
  8. package/_chunks/component-YDcfoOLz.js +859 -0
  9. package/_chunks/{control-tooltip-BCNzQCXE.js → control-tooltip-ztgmsG7H.js} +29 -29
  10. package/_chunks/{controller-CmLo-Ajc.js → controller-hRBm_Lfz.js} +15 -15
  11. package/_chunks/{controls-NEL5tDaz.js → controls-DIum-E66.js} +192 -192
  12. package/_chunks/{date-control-CYCkb1aQ.js → date-control-BJSzu79z.js} +21 -21
  13. package/_chunks/date-time-BxPJusp9.js +770 -0
  14. package/_chunks/{delete-button-DnpmDNEJ.js → delete-button-Bblyah10.js} +1 -1
  15. package/_chunks/dialog.parts-DBqo3Qwb.js +134 -0
  16. package/_chunks/{dropdown-CkGQBm1Q.js → dropdown-voWqmwAe.js} +102 -102
  17. package/_chunks/duration-87U2EoMS.js +271 -0
  18. package/_chunks/editor-commit-Bq3wSgvr.js +12 -0
  19. package/_chunks/{editor-popup-B7fu_A_T.js → editor-popup-D3JdS8l3.js} +8 -8
  20. package/_chunks/framework-mount-C-Zwm44H.js +54 -0
  21. package/_chunks/hooks.module-CG3gN83z.js +157 -0
  22. package/_chunks/jsxRuntime.module-F6UFnpT-.js +30 -0
  23. package/_chunks/mount-DZe_6VtR.js +90 -0
  24. package/_chunks/native.view-ByyZ1CT5.js +32 -0
  25. package/_chunks/{number-input-NnH57J4j.js → number-input-BeIadZuL.js} +89 -89
  26. package/_chunks/picker-DpP7iQLA.js +122 -0
  27. package/_chunks/preact.module-BBM36DnO.js +290 -0
  28. package/_chunks/{rating-choice-CWAsNQNS.js → rating-choice-Ca8ZBty3.js} +10 -10
  29. package/_chunks/reorder-list-Cc3KmfAN.js +59 -0
  30. package/_chunks/request-trail-IdNiFvKH.js +347 -0
  31. package/_chunks/{rich-text-2Rla349o.js → rich-text-BzI1DyfF.js} +167 -167
  32. package/_vendor/preact/LICENSE +21 -0
  33. package/_vendor/preact/compat/src/index.d.ts +353 -0
  34. package/_vendor/preact/compat/src/suspense-list.d.ts +16 -0
  35. package/_vendor/preact/compat/src/suspense.d.ts +19 -0
  36. package/_vendor/preact/hooks/src/index.d.ts +145 -0
  37. package/_vendor/preact/src/dom.d.ts +2548 -0
  38. package/_vendor/preact/src/index.d.ts +373 -0
  39. package/_vendor/preact/src/jsx.d.ts +2958 -0
  40. package/activity-message.d.ts +1 -1
  41. package/activity-message.js +16 -16
  42. package/ai/components.d.ts +1 -1
  43. package/ai/index.js +2 -2
  44. package/ai/request-trail.d.ts +1 -1
  45. package/ai/translation-context.d.ts +1 -1
  46. package/alert.d.ts +2 -2
  47. package/assignee/field.d.ts +2 -2
  48. package/assignee/index.js +87 -87
  49. package/assignee/layout.d.ts +2 -2
  50. package/assignee/picker.d.ts +1 -1
  51. package/avatar/index.js +25 -25
  52. package/avatar/index.view.d.ts +1 -1
  53. package/brush-range/component.d.ts +1 -1
  54. package/brush-range/component.js +30 -30
  55. package/buttons/delete-button.js +1 -1
  56. package/buttons/remove-button.d.ts +1 -1
  57. package/buttons/remove-button.js +3 -3
  58. package/buttons/svg-button.d.ts +1 -1
  59. package/buttons/svg-button.js +35 -35
  60. package/calendar/calendar.d.ts +1 -1
  61. package/calendar/calendar.js +1 -1
  62. package/calendar/caption.d.ts +1 -1
  63. package/calendar/day.d.ts +1 -1
  64. package/calendar/day.js +4 -4
  65. package/calendar/header.d.ts +1 -1
  66. package/calendar/header.js +35 -35
  67. package/calendar/index.js +2 -2
  68. package/calendar/month-grid.d.ts +1 -1
  69. package/calendar/month-grid.js +37 -37
  70. package/calendar/picker.d.ts +1 -1
  71. package/calendar/types.d.ts +1 -1
  72. package/calendar/year-grid.d.ts +1 -1
  73. package/calendar/year-grid.js +12 -12
  74. package/checkbox/index.d.ts +2 -2
  75. package/checkbox/index.js +9 -9
  76. package/choice-chips/index.d.ts +1 -1
  77. package/choice-chips/index.js +1 -1
  78. package/color-palette/color-palette.d.ts +1 -1
  79. package/color-palette/color-palette.js +1 -1
  80. package/color-palette/color-picker.d.ts +1 -1
  81. package/color-palette/color-picker.js +2 -2
  82. package/component-catalog.d.ts +19 -19
  83. package/control-presentation.js +18 -18
  84. package/controls.d.ts +4 -4
  85. package/controls.js +1 -1
  86. package/core/editor-commit.d.ts +1 -1
  87. package/core/editor-popup.d.ts +1 -1
  88. package/core/editor-popup.js +1 -1
  89. package/date-time/date-control.d.ts +1 -1
  90. package/date-time/field.d.ts +2 -2
  91. package/date-time/index.js +1 -1
  92. package/date-time/picker.d.ts +1 -1
  93. package/date-time/time-control.d.ts +1 -1
  94. package/date-time/time-selection.d.ts +1 -1
  95. package/date-time/types.d.ts +1 -1
  96. package/dialog/dialog-action-footer.view.d.ts +1 -1
  97. package/dialog/dialog.dom.js +52 -52
  98. package/dialog/dialog.parts.d.ts +18 -18
  99. package/dialog/dialog.parts.js +1 -1
  100. package/dialog/dialog.preact.d.ts +1 -1
  101. package/dialog/dialog.preact.js +6 -6
  102. package/distribution-chart/area-chart.d.ts +1 -1
  103. package/distribution-chart/area-chart.js +25 -25
  104. package/distribution-chart/bar-chart.d.ts +1 -1
  105. package/distribution-chart/bar-chart.js +6 -6
  106. package/distribution-chart/chart-frame.d.ts +1 -1
  107. package/distribution-chart/index.d.ts +1 -1
  108. package/distribution-chart/index.js +6 -6
  109. package/distribution-chart/line-chart.d.ts +1 -1
  110. package/distribution-chart/line-chart.js +9 -9
  111. package/distribution-chart/types.d.ts +1 -1
  112. package/dropdown/content.d.ts +1 -1
  113. package/dropdown/content.js +83 -82
  114. package/dropdown/dropdown.service.d.ts +1 -1
  115. package/dropdown/dropdown.service.js +9 -9
  116. package/dropdown/index.js +1 -1
  117. package/dropdown/lookup-field.d.ts +1 -1
  118. package/dropdown/lookup-field.js +41 -41
  119. package/dropdown/popup.d.ts +1 -1
  120. package/dropdown/popup.js +17 -16
  121. package/duration/controls.d.ts +1 -1
  122. package/duration/index.d.ts +2 -2
  123. package/duration/index.js +1 -1
  124. package/editor-actions.d.ts +1 -1
  125. package/editor-actions.js +21 -20
  126. package/editor-layout/index.d.ts +1 -1
  127. package/editor-layout/index.js +27 -27
  128. package/field-configurator.d.ts +1 -1
  129. package/field-configurator.js +93 -93
  130. package/field-reorder.hook.js +32 -32
  131. package/filter/filters/slider/preact.js +3 -3
  132. package/filter/filters/slider/single.d.ts +1 -1
  133. package/filter/filters/slider/single.js +23 -23
  134. package/filter-badge.d.ts +1 -1
  135. package/filter-badge.js +23 -22
  136. package/filter-controls.d.ts +1 -1
  137. package/filter-controls.js +31 -31
  138. package/form-controls/index.js +20 -20
  139. package/form-controls/presentation.d.ts +1 -1
  140. package/form-controls/presentation.js +44 -44
  141. package/formatting/comparison-preview.d.ts +1 -1
  142. package/formatting/control-tooltip.d.ts +1 -1
  143. package/formatting/icon-controls.d.ts +1 -1
  144. package/formatting/index.js +99 -98
  145. package/formatting/inspector-section.d.ts +1 -1
  146. package/formatting/typography-controls.d.ts +1 -1
  147. package/framework-mount.d.ts +1 -1
  148. package/framework.js +19 -19
  149. package/icons/icon.d.ts +1 -1
  150. package/icons/icon.js +1 -1
  151. package/legend.d.ts +1 -1
  152. package/legend.js +12 -12
  153. package/masked-input/index.d.ts +1 -1
  154. package/masked-input/index.js +109 -109
  155. package/native-control.d.ts +11 -11
  156. package/native-control.js +12 -12
  157. package/native.js +39 -39
  158. package/number-input/index.d.ts +1 -1
  159. package/number-input/index.js +1 -1
  160. package/package.json +1 -2
  161. package/pdf-viewer/component.d.ts +1 -1
  162. package/pdf-viewer/controller.js +1 -1
  163. package/pdf-viewer/header.d.ts +1 -1
  164. package/pdf-viewer/index.js +13 -13
  165. package/pdf-viewer/search-bar.d.ts +1 -1
  166. package/pdf-viewer/status.d.ts +1 -1
  167. package/pdf-viewer/toolbar.d.ts +1 -1
  168. package/pickers.d.ts +1 -1
  169. package/preact-mount.d.ts +1 -1
  170. package/preact-mount.js +1 -1
  171. package/preact.js +14 -14
  172. package/rating-choice.d.ts +1 -1
  173. package/rating-choice.js +1 -1
  174. package/react-adapter.d.ts +1 -1
  175. package/react.js +19 -19
  176. package/reorder-list.d.ts +1 -1
  177. package/reorder-list.js +1 -1
  178. package/resource-picker/resource-picker-avatar.d.ts +1 -1
  179. package/resource-picker/resource-picker-avatar.js +14 -14
  180. package/resource-picker/resource-picker-option.d.ts +1 -1
  181. package/resource-picker/resource-picker-option.js +28 -28
  182. package/resource-picker/resource-picker-popup.d.ts +1 -1
  183. package/resource-picker/resource-picker-popup.js +3 -3
  184. package/resource-picker/resource-picker.d.ts +1 -1
  185. package/resource-picker/resource-picker.js +88 -88
  186. package/rich-text/index.d.ts +1 -1
  187. package/rich-text/index.js +1 -1
  188. package/rich-text/toolbar.d.ts +1 -1
  189. package/search-input/index.js +12 -12
  190. package/segmented-switch/index.d.ts +1 -1
  191. package/segmented-switch/index.js +1 -1
  192. package/status-feedback/render.d.ts +2 -2
  193. package/status-feedback/render.js +13 -13
  194. package/surfaces.js +34 -34
  195. package/svelte.js +2 -2
  196. package/switch/index.js +15 -15
  197. package/time-grid.d.ts +1 -1
  198. package/time-grid.js +58 -58
  199. package/timeline-track/component.d.ts +1 -1
  200. package/timeline-track/index.js +75 -75
  201. package/vue-adapter.d.ts +1 -1
  202. package/vue.d.ts +116 -116
  203. package/vue.js +121 -121
  204. package/_chunks/calendar-BsDxCYhI.js +0 -248
  205. package/_chunks/chart-frame-BvxbmEU9.js +0 -126
  206. package/_chunks/choice-chips-0HfOnK_4.js +0 -110
  207. package/_chunks/color-picker-BRv-__AM.js +0 -138
  208. package/_chunks/component-D4PH5UZT.js +0 -859
  209. package/_chunks/date-time-DjucJmbc.js +0 -769
  210. package/_chunks/dialog.parts-Dt3KinUz.js +0 -134
  211. package/_chunks/duration-BCaktcvz.js +0 -270
  212. package/_chunks/editor-commit-D6Rf5rGz.js +0 -12
  213. package/_chunks/framework-mount-BKIOsvY-.js +0 -54
  214. package/_chunks/mount-0-8opf1j.js +0 -90
  215. package/_chunks/native.view-8q_nwQ7x.js +0 -32
  216. package/_chunks/picker-oazJ7sO_.js +0 -121
  217. package/_chunks/reorder-list-BV3kZXso.js +0 -59
  218. package/_chunks/request-trail-D0oVzdRd.js +0 -347
@@ -1,9 +1,9 @@
1
- import { Input as e } from "../../../native-control.js";
2
- import { jsx as t, jsxs as n } from "preact/jsx-runtime";
1
+ import { t as e } from "../../../_chunks/jsxRuntime.module-F6UFnpT-.js";
2
+ import { Input as t } from "../../../native-control.js";
3
3
  //#region src/filter/filters/slider/single.tsx
4
- function r({ min: n, max: r, value: i, step: a = 1, disabled: o = !1, id: s, className: c = "", ariaLabel: l, ariaValueText: u, ariaDescribedBy: d, onChange: f, onCommit: p, onKeyDown: m }) {
4
+ function n({ min: n, max: r, value: i, step: a = 1, disabled: o = !1, id: s, className: c = "", ariaLabel: l, ariaValueText: u, ariaDescribedBy: d, onChange: f, onCommit: p, onKeyDown: m }) {
5
5
  let h = r - n, g = h > 0 ? Math.max(0, Math.min(100, (i - n) / h * 100)) : 0;
6
- return /* @__PURE__ */ t(e, {
6
+ return /* @__PURE__ */ e(t, {
7
7
  class: `rv-single-slider ${c}`.trim(),
8
8
  id: s,
9
9
  type: "range",
@@ -21,43 +21,43 @@ function r({ min: n, max: r, value: i, step: a = 1, disabled: o = !1, id: s, cla
21
21
  onChange: (e) => p?.(Number(e.currentTarget.value), e)
22
22
  });
23
23
  }
24
- function i({ label: e, layout: i = "inline", valuePlacement: a = "end", formatValue: o = String, ticks: s, accentColor: c, ...l }) {
25
- let u = o(l.value), d = l.max > l.min ? Math.max(0, Math.min(100, (l.value - l.min) / (l.max - l.min) * 100)) : 0, f = s && Number.isFinite(s) ? Math.max(2, Math.min(101, Math.floor(s))) : 0;
26
- return /* @__PURE__ */ n("label", {
27
- class: `rv-slider-field rv-slider-field--${i} rv-slider-field--${a}${l.disabled ? " is-disabled" : ""}`,
28
- style: c ? { "--rv-slider-field-accent": c } : void 0,
24
+ function r({ label: t, layout: r = "inline", valuePlacement: i = "end", formatValue: a = String, ticks: o, accentColor: s, ...c }) {
25
+ let l = a(c.value), u = c.max > c.min ? Math.max(0, Math.min(100, (c.value - c.min) / (c.max - c.min) * 100)) : 0, d = o && Number.isFinite(o) ? Math.max(2, Math.min(101, Math.floor(o))) : 0;
26
+ return /* @__PURE__ */ e("label", {
27
+ class: `rv-slider-field rv-slider-field--${r} rv-slider-field--${i}${c.disabled ? " is-disabled" : ""}`,
28
+ style: s ? { "--rv-slider-field-accent": s } : void 0,
29
29
  children: [
30
- /* @__PURE__ */ t("span", {
30
+ /* @__PURE__ */ e("span", {
31
31
  class: "rv-slider-field__label",
32
- children: e
32
+ children: t
33
33
  }),
34
- /* @__PURE__ */ n("span", {
34
+ /* @__PURE__ */ e("span", {
35
35
  class: "rv-slider-field__track",
36
- style: { "--rv-slider-field-position": `${d / 100}` },
36
+ style: { "--rv-slider-field-position": `${u / 100}` },
37
37
  children: [
38
- /* @__PURE__ */ t(r, {
39
- ...l,
40
- ariaValueText: l.ariaValueText ?? u
38
+ /* @__PURE__ */ e(n, {
39
+ ...c,
40
+ ariaValueText: c.ariaValueText ?? l
41
41
  }),
42
- f > 0 && /* @__PURE__ */ t("span", {
42
+ d > 0 && /* @__PURE__ */ e("span", {
43
43
  class: "rv-slider-field__ticks",
44
44
  "aria-hidden": "true",
45
- children: Array.from({ length: f }, (e, n) => /* @__PURE__ */ t("i", {}, n))
45
+ children: Array.from({ length: d }, (t, n) => /* @__PURE__ */ e("i", {}, n))
46
46
  }),
47
- a === "thumb" && /* @__PURE__ */ t("span", {
47
+ i === "thumb" && /* @__PURE__ */ e("span", {
48
48
  class: "rv-slider-field__thumb-value",
49
49
  "aria-hidden": "true",
50
- children: u
50
+ children: l
51
51
  })
52
52
  ]
53
53
  }),
54
- a === "end" && /* @__PURE__ */ t("span", {
54
+ i === "end" && /* @__PURE__ */ e("span", {
55
55
  class: "rv-slider-field__value rv-badge rv-badge--inline",
56
56
  "aria-hidden": "true",
57
- children: u
57
+ children: l
58
58
  })
59
59
  ]
60
60
  });
61
61
  }
62
62
  //#endregion
63
- export { r as SingleValueSlider, i as SliderField };
63
+ export { n as SingleValueSlider, r as SliderField };
package/filter-badge.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { h, ComponentChildren, JSX } from 'preact';
1
+ import { h, ComponentChildren, JSX } from './_vendor/preact/src/index';
2
2
  import { FilterChipProps } from './form-controls/presentation';
3
3
  /** Shared click-only details action; consumers provide localized labels. */
4
4
  export declare function FilterBadgeInfoButton(props: Omit<JSX.IntrinsicElements['button'], 'children'>): h.JSX.Element;
package/filter-badge.js CHANGED
@@ -1,35 +1,36 @@
1
- import { n as e, t } from "./_chunks/choice-chips-0HfOnK_4.js";
2
- import { useId as n } from "preact/hooks";
3
- import { Fragment as r, jsx as i, jsxs as a } from "preact/jsx-runtime";
1
+ import { i as e } from "./_chunks/preact.module-BBM36DnO.js";
2
+ import { a as t } from "./_chunks/hooks.module-CG3gN83z.js";
3
+ import { t as n } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
4
+ import { n as r, t as i } from "./_chunks/choice-chips-Cs4D-3nH.js";
4
5
  //#region src/filter-badge.tsx
5
- function o(t) {
6
- return /* @__PURE__ */ i(e, {
7
- ...t,
6
+ function a(e) {
7
+ return /* @__PURE__ */ n(r, {
8
+ ...e,
8
9
  type: "button",
9
- class: `rv-filter-badge-info ${t.className ?? t.class ?? ""}`.trim()
10
+ class: `rv-filter-badge-info ${e.className ?? e.class ?? ""}`.trim()
10
11
  });
11
12
  }
12
- function s({ label: e, details: s, detailsLabel: c, descriptionId: l, className: u = "", ...d }) {
13
- let f = n(), p = l ?? `rv-filter-badge-${f}`;
14
- return /* @__PURE__ */ i(t, {
15
- ...d,
13
+ function o({ label: r, details: o, detailsLabel: s, descriptionId: c, className: l = "", ...u }) {
14
+ let d = t(), f = c ?? `rv-filter-badge-${d}`;
15
+ return /* @__PURE__ */ n(i, {
16
+ ...u,
16
17
  selected: !0,
17
- className: `rv-filter-badge ${u}`.trim(),
18
- info: s ? /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(o, {
19
- "aria-label": c,
20
- "aria-describedby": p,
21
- "data-tooltip": s,
18
+ className: `rv-filter-badge ${l}`.trim(),
19
+ info: o ? /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ n(a, {
20
+ "aria-label": s,
21
+ "aria-describedby": f,
22
+ "data-tooltip": o,
22
23
  "tooltip-position": "bottom"
23
- }), /* @__PURE__ */ i("span", {
24
+ }), /* @__PURE__ */ n("span", {
24
25
  class: "rv-filter-badge-description",
25
- id: p,
26
- children: s
26
+ id: f,
27
+ children: o
27
28
  })] }) : void 0,
28
- children: /* @__PURE__ */ i("span", {
29
+ children: /* @__PURE__ */ n("span", {
29
30
  class: "rv-filter-badge-label",
30
- children: e
31
+ children: r
31
32
  })
32
33
  });
33
34
  }
34
35
  //#endregion
35
- export { s as FilterBadge, o as FilterBadgeInfoButton };
36
+ export { o as FilterBadge, a as FilterBadgeInfoButton };
@@ -1,4 +1,4 @@
1
- import { h, ComponentChildren, JSX } from 'preact';
1
+ import { h, ComponentChildren, JSX } from './_vendor/preact/src/index';
2
2
  /** A selected action with a trailing, caller-formatted summary. */
3
3
  export declare function OptionButton({ label, detail, selected, className, detailClassName, ...props }: Omit<JSX.IntrinsicElements['button'], 'className' | 'children'> & {
4
4
  label: ComponentChildren;
@@ -1,46 +1,46 @@
1
- import { ButtonControl as e, TextArea as t } from "./native-control.js";
2
- import { Legend as n } from "./legend.js";
3
- import { useRef as r } from "preact/hooks";
4
- import { jsx as i, jsxs as a } from "preact/jsx-runtime";
1
+ import { t as e } from "./_chunks/hooks.module-CG3gN83z.js";
2
+ import { t } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
3
+ import { ButtonControl as n, TextArea as r } from "./native-control.js";
4
+ import { Legend as i } from "./legend.js";
5
5
  //#region src/filter-controls.tsx
6
- function o({ label: t, detail: n, selected: r, className: o = "", detailClassName: s = "", ...c }) {
7
- return /* @__PURE__ */ a(e, {
8
- ...c,
9
- class: `rv-option-button ${o}`,
10
- "aria-pressed": r,
11
- children: [/* @__PURE__ */ i("strong", { children: t }), /* @__PURE__ */ i("span", {
12
- class: `rv-option-button__detail ${s}`,
13
- children: n
6
+ function a({ label: e, detail: r, selected: i, className: a = "", detailClassName: o = "", ...s }) {
7
+ return /* @__PURE__ */ t(n, {
8
+ ...s,
9
+ class: `rv-option-button ${a}`,
10
+ "aria-pressed": i,
11
+ children: [/* @__PURE__ */ t("strong", { children: e }), /* @__PURE__ */ t("span", {
12
+ class: `rv-option-button__detail ${o}`,
13
+ children: r
14
14
  })]
15
15
  });
16
16
  }
17
- function s({ highlight: e, className: n = "", inputClassName: o = "", highlightClassName: s = "", ...c }) {
18
- let l = r(null);
19
- return /* @__PURE__ */ a("div", {
20
- class: `rv-highlighted-input ${n}`,
21
- "data-invalid": c["aria-invalid"] || void 0,
22
- children: [/* @__PURE__ */ i("pre", {
23
- class: `rv-highlighted-input__highlight ${s}`,
17
+ function o({ highlight: n, className: i = "", inputClassName: a = "", highlightClassName: o = "", ...s }) {
18
+ let c = e(null);
19
+ return /* @__PURE__ */ t("div", {
20
+ class: `rv-highlighted-input ${i}`,
21
+ "data-invalid": s["aria-invalid"] || void 0,
22
+ children: [/* @__PURE__ */ t("pre", {
23
+ class: `rv-highlighted-input__highlight ${o}`,
24
24
  "aria-hidden": "true",
25
- ref: l,
26
- children: e
27
- }), /* @__PURE__ */ i(t, {
28
- ...c,
29
- class: `rv-highlighted-input__input ${o}`,
30
- spellcheck: c.spellcheck ?? !1,
25
+ ref: c,
26
+ children: n
27
+ }), /* @__PURE__ */ t(r, {
28
+ ...s,
29
+ class: `rv-highlighted-input__input ${a}`,
30
+ spellcheck: s.spellcheck ?? !1,
31
31
  onScroll: (e) => {
32
- l.current && (l.current.scrollTop = e.currentTarget.scrollTop, l.current.scrollLeft = e.currentTarget.scrollLeft), c.onScroll?.(e);
32
+ c.current && (c.current.scrollTop = e.currentTarget.scrollTop, c.current.scrollLeft = e.currentTarget.scrollLeft), s.onScroll?.(e);
33
33
  }
34
34
  })]
35
35
  });
36
36
  }
37
- function c({ children: e, className: t = "", label: n }) {
38
- return /* @__PURE__ */ i("div", {
37
+ function s({ children: e, className: n = "", label: r }) {
38
+ return /* @__PURE__ */ t("div", {
39
39
  role: "group",
40
- "aria-label": n,
41
- class: `rv-inline-field-group ${t}`,
40
+ "aria-label": r,
41
+ class: `rv-inline-field-group ${n}`,
42
42
  children: e
43
43
  });
44
44
  }
45
45
  //#endregion
46
- export { s as HighlightedTextInput, c as InlineFieldGroup, n as Legend, o as OptionButton };
46
+ export { o as HighlightedTextInput, s as InlineFieldGroup, i as Legend, a as OptionButton };
@@ -1,39 +1,39 @@
1
- import { createPreactElement as e } from "../preact-mount.js";
2
- import { Input as t, Select as n } from "../native-control.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 { createPreactElement as t } from "../preact-mount.js";
3
+ import { Input as n, Select as r } from "../native-control.js";
4
4
  //#region src/form-controls/index.view.tsx
5
- function a(t, n) {
6
- return e(t, /* @__PURE__ */ i("label", {
7
- class: ["rv-field", n.className].filter(Boolean).join(" "),
5
+ function i(n, r) {
6
+ return t(n, /* @__PURE__ */ e("label", {
7
+ class: ["rv-field", r.className].filter(Boolean).join(" "),
8
8
  children: [
9
- /* @__PURE__ */ r("span", {
9
+ /* @__PURE__ */ e("span", {
10
10
  class: "rv-field__label",
11
- children: n.label
11
+ children: r.label
12
12
  }),
13
- /* @__PURE__ */ r("span", {
13
+ /* @__PURE__ */ e("span", {
14
14
  style: { display: "contents" },
15
15
  ref: (e) => {
16
- e && e.append(n.control);
16
+ e && e.append(r.control);
17
17
  }
18
18
  }),
19
- n.hint && /* @__PURE__ */ r("span", {
19
+ r.hint && /* @__PURE__ */ e("span", {
20
20
  class: "rv-field__hint",
21
- children: n.hint
21
+ children: r.hint
22
22
  })
23
23
  ]
24
24
  }));
25
25
  }
26
- function o(n, i) {
27
- return e(n, /* @__PURE__ */ r(t, {
26
+ function a(r, i) {
27
+ return t(r, /* @__PURE__ */ e(n, {
28
28
  type: "text",
29
29
  placeholder: i
30
30
  }));
31
31
  }
32
- function s(t, i) {
33
- return e(t, /* @__PURE__ */ r(n, { children: i.map((e) => /* @__PURE__ */ r("option", {
34
- value: e.value,
35
- children: e.label
36
- }, e.value)) }));
32
+ function o(n, i) {
33
+ return t(n, /* @__PURE__ */ e(r, { children: i.map((t) => /* @__PURE__ */ e("option", {
34
+ value: t.value,
35
+ children: t.label
36
+ }, t.value)) }));
37
37
  }
38
38
  //#endregion
39
- export { a as createFormField, s as createSelectControl, o as createTextControl };
39
+ export { i as createFormField, o as createSelectControl, a as createTextControl };
@@ -1,4 +1,4 @@
1
- import { h, ComponentChildren, JSX } from 'preact';
1
+ import { h, ComponentChildren, JSX } from '../_vendor/preact/src/index';
2
2
  export type FilterChipProps = {
3
3
  readonly children: ComponentChildren;
4
4
  readonly removeLabel?: string;
@@ -1,99 +1,99 @@
1
- import { nativeControlTag as e } from "../control-presentation.js";
2
- import { createControlId as t } from "../core/control-id.js";
3
- import { Fragment as n, cloneElement as r, isValidElement as i } from "preact";
4
- import { useState as a } from "preact/hooks";
5
- import { jsx as o, jsxs as s } from "preact/jsx-runtime";
1
+ import { i as e, o as t, u as n } from "../_chunks/preact.module-BBM36DnO.js";
2
+ import { i as r } from "../_chunks/hooks.module-CG3gN83z.js";
3
+ import { t as i } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
4
+ import { nativeControlTag as a } from "../control-presentation.js";
5
+ import { createControlId as o } from "../core/control-id.js";
6
6
  //#region src/form-controls/presentation.tsx
7
- function c({ children: e, removeLabel: t, onRemove: n, className: r = "", removeClassName: i = "", role: a }) {
8
- return /* @__PURE__ */ s("span", {
7
+ function s({ children: e, removeLabel: t, onRemove: n, className: r = "", removeClassName: a = "", role: o }) {
8
+ return /* @__PURE__ */ i("span", {
9
9
  class: `rv-btn-pill ${r}`.trim(),
10
- role: a,
11
- children: [e, n && /* @__PURE__ */ o("button", {
10
+ role: o,
11
+ children: [e, n && /* @__PURE__ */ i("button", {
12
12
  type: "button",
13
- class: `rv-chip-remove ${i}`.trim(),
13
+ class: `rv-chip-remove ${a}`.trim(),
14
14
  "aria-label": t,
15
15
  onClick: n,
16
16
  children: "×"
17
17
  })]
18
18
  });
19
19
  }
20
- function l({ label: e, children: t, hint: n, hintId: r, labelId: i = r ? `${r}-label` : void 0 }) {
21
- let a = n != null && n !== !1;
20
+ function c({ label: e, children: t, hint: n, hintId: r, labelId: a = r ? `${r}-label` : void 0 }) {
21
+ let o = n != null && n !== !1;
22
22
  return [
23
- /* @__PURE__ */ o("span", {
23
+ /* @__PURE__ */ i("span", {
24
24
  class: "rv-field__label",
25
- id: i,
25
+ id: a,
26
26
  children: e
27
27
  }),
28
- a && r ? d(t, r, i) : t,
29
- a ? /* @__PURE__ */ o("span", {
28
+ o && r ? u(t, r, a) : t,
29
+ o ? /* @__PURE__ */ i("span", {
30
30
  class: "rv-field__hint",
31
31
  id: r,
32
32
  children: n
33
33
  }) : null
34
34
  ];
35
35
  }
36
- function u({ label: e, children: n, hint: r, hintId: i, labelId: s, controlId: c, className: u = "", class: d, ...f }) {
37
- let [p] = a(() => t("rv-field"));
38
- return /* @__PURE__ */ o("label", {
36
+ function l({ label: e, children: t, hint: n, hintId: a, labelId: s, controlId: l, className: u = "", class: d, ...f }) {
37
+ let [p] = r(() => o("rv-field"));
38
+ return /* @__PURE__ */ i("label", {
39
39
  ...f,
40
- htmlFor: c ?? f.htmlFor,
40
+ htmlFor: l ?? f.htmlFor,
41
41
  class: [
42
42
  "rv-field",
43
43
  u,
44
44
  d
45
45
  ].filter(Boolean).join(" "),
46
- children: l({
46
+ children: c({
47
47
  label: e,
48
- children: n,
49
- hint: r,
48
+ children: t,
49
+ hint: n,
50
50
  labelId: s,
51
- hintId: i ?? `rv-field-hint-${p}`
51
+ hintId: a ?? `rv-field-hint-${p}`
52
52
  })
53
53
  });
54
54
  }
55
- function d(t, a, o) {
56
- if (Array.isArray(t)) return t.map((e) => d(e, a, o));
57
- if (!i(t)) return t;
58
- if (t.type === n) return r(t, { children: d(t.props.children, a, o) });
59
- let s = e(t.type);
60
- if (!s) return t;
61
- let c = t;
55
+ function u(r, i, o) {
56
+ if (Array.isArray(r)) return r.map((e) => u(e, i, o));
57
+ if (!n(r)) return r;
58
+ if (r.type === e) return t(r, { children: u(r.props.children, i, o) });
59
+ let s = a(r.type);
60
+ if (!s) return r;
61
+ let c = r;
62
62
  if ([
63
63
  "input",
64
64
  "select",
65
65
  "textarea"
66
66
  ].includes(s)) {
67
- let e = new Set(`${c.props["aria-describedby"] ?? ""} ${a}`.trim().split(/\s+/));
68
- return r(c, {
67
+ let e = new Set(`${c.props["aria-describedby"] ?? ""} ${i}`.trim().split(/\s+/));
68
+ return t(c, {
69
69
  "aria-describedby": [...e].join(" "),
70
70
  "aria-labelledby": c.props["aria-labelledby"] ?? (c.props["aria-label"] ? void 0 : o)
71
71
  });
72
72
  }
73
- return r(c, { children: d(c.props.children, a, o) });
73
+ return t(c, { children: u(c.props.children, i, o) });
74
74
  }
75
- function f({ children: e, icon: t, iconClassName: n = "", iconPosition: r = "before", className: i = "", class: a, ...c }) {
76
- let l = t == null ? null : /* @__PURE__ */ o("span", {
75
+ function d({ children: e, icon: t, iconClassName: n = "", iconPosition: r = "before", className: a = "", class: o, ...s }) {
76
+ let c = t == null ? null : /* @__PURE__ */ i("span", {
77
77
  class: ["rv-disclosure-summary__icon", n].filter(Boolean).join(" "),
78
78
  "aria-hidden": "true",
79
79
  children: t
80
80
  });
81
- return /* @__PURE__ */ s("summary", {
82
- ...c,
81
+ return /* @__PURE__ */ i("summary", {
82
+ ...s,
83
83
  class: [
84
84
  "rv-disclosure-summary",
85
- i,
86
- a
85
+ a,
86
+ o
87
87
  ].filter(Boolean).join(" "),
88
88
  children: [
89
- r === "before" && l,
90
- /* @__PURE__ */ o("span", {
89
+ r === "before" && c,
90
+ /* @__PURE__ */ i("span", {
91
91
  class: "rv-disclosure-summary__label",
92
92
  children: e
93
93
  }),
94
- r === "after" && l
94
+ r === "after" && c
95
95
  ]
96
96
  });
97
97
  }
98
98
  //#endregion
99
- export { f as DisclosureSummary, c as FilterChip, u as FormField, l as renderFormFieldContent };
99
+ export { d as DisclosureSummary, s as FilterChip, l as FormField, c as renderFormFieldContent };
@@ -1,4 +1,4 @@
1
- import { h, ComponentChildren, JSX } from 'preact';
1
+ import { h, ComponentChildren, JSX } from '../_vendor/preact/src/index';
2
2
  /** Pure comparison presentation; the caller formats values and styles. */
3
3
  export declare function ComparisonPreview({ originalValue, formatted, formattedStyle, visual, formattedClassName, labels, }: {
4
4
  readonly originalValue: string;
@@ -1,4 +1,4 @@
1
- import { h, TargetedEvent } from 'preact';
1
+ import { h, TargetedEvent } from '../_vendor/preact/src/index';
2
2
  export declare function useControlTooltip(text: string, floating?: boolean, presentation?: {
3
3
  className?: string;
4
4
  placement?: 'above';
@@ -1,4 +1,4 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  export interface SegmentedOption<Value extends string> {
3
3
  readonly value: Value;
4
4
  readonly label: string;