@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
@@ -18,11 +18,11 @@ export declare const uiComponents: {
18
18
  readonly RangeSlider: typeof ui.PreactRangeSlider;
19
19
  readonly ResourcePicker: typeof ui.SharedResourcePicker;
20
20
  readonly FeedbackPanel: typeof ui.StatusFeedbackPanel;
21
- readonly Input: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<Omit<import("preact").JSX.InputHTMLAttributes<HTMLInputElement>, "className" | "class" | "ref"> & {
22
- class?: import("preact").JSX.Signalish<string | undefined> | Record<string, boolean | undefined>;
23
- className?: import("preact").JSX.Signalish<string | undefined>;
21
+ readonly Input: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<Omit<import("./_vendor/preact/src/index").JSX.InputHTMLAttributes<HTMLInputElement>, "className" | "class" | "ref"> & {
22
+ class?: import("./_vendor/preact/src/index").JSX.Signalish<string | undefined> | Record<string, boolean | undefined>;
23
+ className?: import("./_vendor/preact/src/index").JSX.Signalish<string | undefined>;
24
24
  }> & {
25
- ref?: import('preact').Ref<HTMLInputElement> | undefined;
25
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLInputElement> | undefined;
26
26
  }>;
27
27
  readonly SvgIcon: typeof ui.SvgIcon;
28
28
  readonly SvgButton: typeof ui.SvgButton;
@@ -107,8 +107,8 @@ export declare const uiComponents: {
107
107
  readonly Pagination: typeof ui.Pagination;
108
108
  readonly CircularProgress: typeof ui.CircularProgress;
109
109
  readonly Rating: typeof ui.Rating;
110
- readonly Button: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<ui.ButtonProps> & {
111
- ref?: import('preact').Ref<HTMLButtonElement> | undefined;
110
+ readonly Button: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<ui.ButtonProps> & {
111
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLButtonElement> | undefined;
112
112
  }>;
113
113
  readonly Pane: typeof ui.EditorPane;
114
114
  readonly SplitLayout: typeof ui.EditorSplitLayout;
@@ -129,14 +129,14 @@ export declare const uiComponents: {
129
129
  readonly ConfirmDialog: typeof ui.ConfirmDialog;
130
130
  readonly DatePicker: typeof ui.DatePicker;
131
131
  readonly DateRangePicker: typeof ui.DateRangePicker;
132
- readonly DialogHeader: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<import("preact").JSX.HTMLAttributes<HTMLElement>> & {
133
- ref?: import('preact').Ref<HTMLElement> | undefined;
132
+ readonly DialogHeader: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<import("./_vendor/preact/src/index").JSX.HTMLAttributes<HTMLElement>> & {
133
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLElement> | undefined;
134
134
  }>;
135
- readonly DialogBody: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<import("preact").JSX.HTMLAttributes<HTMLDivElement>> & {
136
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
135
+ readonly DialogBody: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<import("./_vendor/preact/src/index").JSX.HTMLAttributes<HTMLDivElement>> & {
136
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLDivElement> | undefined;
137
137
  }>;
138
- readonly DialogFooter: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<import("preact").JSX.HTMLAttributes<HTMLElement>> & {
139
- ref?: import('preact').Ref<HTMLElement> | undefined;
138
+ readonly DialogFooter: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<import("./_vendor/preact/src/index").JSX.HTMLAttributes<HTMLElement>> & {
139
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLElement> | undefined;
140
140
  }>;
141
141
  readonly DistributionChart: typeof ui.DistributionChart;
142
142
  readonly BarChart: typeof ui.BarChart;
@@ -167,14 +167,14 @@ export declare const uiComponents: {
167
167
  readonly DialogForm: typeof ui.DialogForm;
168
168
  readonly DialogCloseButton: typeof ui.DialogCloseButton;
169
169
  readonly DialogActionFooter: typeof ui.DialogActionFooter;
170
- readonly DialogActions: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<import("preact").JSX.HTMLAttributes<HTMLDivElement>> & {
171
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
170
+ readonly DialogActions: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<import("./_vendor/preact/src/index").JSX.HTMLAttributes<HTMLDivElement>> & {
171
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLDivElement> | undefined;
172
172
  }>;
173
- readonly DialogTitleInput: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<Omit<import("preact").JSX.InputHTMLAttributes<HTMLInputElement>, "ref">> & {
174
- ref?: import('preact').Ref<HTMLInputElement> | undefined;
173
+ readonly DialogTitleInput: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<Omit<import("./_vendor/preact/src/index").JSX.InputHTMLAttributes<HTMLInputElement>, "ref">> & {
174
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLInputElement> | undefined;
175
175
  }>;
176
- readonly EditableDialogHeader: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<ui.EditableDialogHeaderProps> & {
177
- ref?: import('preact').Ref<HTMLElement> | undefined;
176
+ readonly EditableDialogHeader: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<ui.EditableDialogHeaderProps> & {
177
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLElement> | undefined;
178
178
  }>;
179
179
  readonly ControlTooltip: typeof ui.ControlTooltip;
180
180
  readonly InspectorSection: typeof ui.InspectorSection;
@@ -206,4 +206,4 @@ export declare const uiComponents: {
206
206
  readonly NativeSelect: typeof ui.NativeSelect;
207
207
  };
208
208
  export type UiComponentName = keyof typeof uiComponents;
209
- export type UiComponentProps<K extends UiComponentName> = import('preact').ComponentProps<(typeof uiComponents)[K]>;
209
+ export type UiComponentProps<K extends UiComponentName> = import('./_vendor/preact/src/index').ComponentProps<(typeof uiComponents)[K]>;
@@ -1,22 +1,22 @@
1
- import { createPreactElement as e } from "./preact-mount.js";
2
- import { controlAttributes as t, controlClassName as n } from "./control-attributes.js";
3
- import { h as r } from "preact";
4
- import { jsx as i } from "preact/jsx-runtime";
1
+ import { c as e } from "./_chunks/preact.module-BBM36DnO.js";
2
+ import { t } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
3
+ import { createPreactElement as n } from "./preact-mount.js";
4
+ import { controlAttributes as r, controlClassName as i } from "./control-attributes.js";
5
5
  //#region src/control-presentation.view.tsx
6
- function a(e, n, r, ...i) {
7
- let a = r ?? {};
8
- if (n === "button" && a.busy === !0) {
9
- let r = i.length ? i : [a.children];
10
- return e(n, t(n, a), e("span", {
6
+ function a(e, t, n, ...i) {
7
+ let a = n ?? {};
8
+ if (t === "button" && a.busy === !0) {
9
+ let n = i.length ? i : [a.children];
10
+ return e(t, r(t, a), e("span", {
11
11
  class: "rv-button-spinner",
12
12
  "aria-hidden": "true"
13
- }), ...r);
13
+ }), ...n);
14
14
  }
15
- return e(n, t(n, a), ...i);
15
+ return e(t, r(t, a), ...i);
16
16
  }
17
- function o(t, n, i = {}) {
18
- let o = a(r, n, i);
19
- return i.onChange && !(n === "button" && i.busy) && Object.assign(o.props, { onChange: i.onChange }), e(t, o);
17
+ function o(t, r, i = {}) {
18
+ let o = a(e, r, i);
19
+ return i.onChange && !(r === "button" && i.busy) && Object.assign(o.props, { onChange: i.onChange }), n(t, o);
20
20
  }
21
21
  var s = /* @__PURE__ */ new WeakMap();
22
22
  function c(e, t) {
@@ -25,12 +25,12 @@ function c(e, t) {
25
25
  function l(e) {
26
26
  return typeof e == "string" ? e : e && (typeof e == "function" || typeof e == "object") ? s.get(e) : void 0;
27
27
  }
28
- function u(t, n) {
29
- t.classList.add("rv-btn", "rv-btn-ghost", "rv-btn-icon"), t.setAttribute("aria-label", n), t.title = n, t.querySelector(".rv-control-tooltip")?.remove(), t.append(e(t.ownerDocument, /* @__PURE__ */ i("span", {
28
+ function u(e, r) {
29
+ e.classList.add("rv-btn", "rv-btn-ghost", "rv-btn-icon"), e.setAttribute("aria-label", r), e.title = r, e.querySelector(".rv-control-tooltip")?.remove(), e.append(n(e.ownerDocument, /* @__PURE__ */ t("span", {
30
30
  class: "rv-control-tooltip",
31
31
  "aria-hidden": "true",
32
- children: n
32
+ children: r
33
33
  })));
34
34
  }
35
35
  //#endregion
36
- export { t as controlAttributes, n as controlClassName, o as createControl, u as decorateIconAction, l as nativeControlTag, c as registerControl, a as renderControl };
36
+ export { r as controlAttributes, i as controlClassName, o as createControl, u as decorateIconAction, l as nativeControlTag, c as registerControl, a as renderControl };
package/controls.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { BadgeOptions } from './badge';
2
- import { h, ComponentChildren, JSX } from 'preact';
2
+ import { h, ComponentChildren, JSX } from './_vendor/preact/src/index';
3
3
  import { SegmentedSwitchProps, SegmentedSwitchValue } from './segmented-switch';
4
4
  import { EditorPane, EditorSplitLayout } from './editor-layout';
5
5
  import { ResizeOptions } from './surfaces';
@@ -11,8 +11,8 @@ export type ButtonProps = ButtonAttributes & {
11
11
  variant?: 'default' | 'primary' | 'secondary' | 'danger' | 'danger-outline' | 'ghost' | 'link' | 'solid';
12
12
  size?: 'compact' | 'default';
13
13
  };
14
- export declare const Button: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<ButtonProps> & {
15
- ref?: import('preact').Ref<HTMLButtonElement> | undefined;
14
+ export declare const Button: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<ButtonProps> & {
15
+ ref?: import('./_vendor/preact/src/index').Ref<HTMLButtonElement> | undefined;
16
16
  }>;
17
17
  /** Preact convenience composition of the shared SVG command button owner. */
18
18
  export declare function IconButton({ label, icon, badge, children, className, variant, size, ...props }: ButtonProps & {
@@ -112,7 +112,7 @@ export declare function CountBadge({ count, label }: {
112
112
  export { Alert } from './alert';
113
113
  export declare function Spinner({ label }: {
114
114
  label: string;
115
- }): import('preact').VNode<import('preact').Attributes>;
115
+ }): import('./_vendor/preact/src/index').VNode<import('./_vendor/preact/src/index').Attributes>;
116
116
  export declare function LoadingOverlay({ busy, label, children, }: {
117
117
  busy: boolean;
118
118
  label: string;
package/controls.js CHANGED
@@ -1,3 +1,3 @@
1
- import { A as e, C as t, D as n, E as r, F as i, I as a, L as o, M as s, N as c, O as l, P as u, R as d, S as f, T as p, _ as m, a as h, b as g, c as _, d as v, f as y, g as b, h as x, i as S, j as C, k as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as M, u as N, v as P, w as F, x as I, y as L, z as R } from "./_chunks/controls-NEL5tDaz.js";
1
+ import { A as e, C as t, D as n, E as r, F as i, I as a, L as o, M as s, N as c, O as l, P as u, R as d, S as f, T as p, _ as m, a as h, b as g, c as _, d as v, f as y, g as b, h as x, i as S, j as C, k as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as M, u as N, v as P, w as F, x as I, y as L, z as R } from "./_chunks/controls-DIum-E66.js";
2
2
  import { EditorList as z, EditorListGroup as B, EditorListItem as V, EditorListItemContent as H, EditorPane as U, EditorSplitLayout as W } from "./editor-layout/index.js";
3
3
  export { R as Alert, M as Badge, D as Button, A as ButtonGroup, S as Chip, h as CircularProgress, O as CountBadge, j as DateInput, _ as DateTimeInput, T as Disclosure, N as EmptyState, v as FieldError, y as FieldHint, k as FormSection, E as IconButton, z as Listbox, B as ListboxGroup, V as ListboxOption, H as ListboxOptionContent, x as LoadingOverlay, b as Menu, m as MenuItem, P as MenuSeparator, L as NativeSelect, g as NumberInput, I as NumberStepper, f as Pagination, U as Pane, t as Panel, F as RadioGroup, p as Rating, r as ResizeHandle, n as SegmentedControl, l as Spinner, W as SplitLayout, w as Submenu, e as TabPanel, C as Tabs, s as TextInput, c as Textarea, u as TimeInput, i as ToggleButton, a as Toolbar, o as ToolbarGroup, d as ToolbarSeparator };
@@ -1,4 +1,4 @@
1
1
  export type EditorCommit = () => boolean | void;
2
2
  /** A popup registers one draft owner. Programmatic close and Escape never commit. */
3
- export declare const EditorCommitContext: import('preact').Context<((commit: EditorCommit) => () => void) | undefined>;
3
+ export declare const EditorCommitContext: import('../_vendor/preact/src/index').Context<((commit: EditorCommit) => () => void) | undefined>;
4
4
  export declare function useEditorAutoApply(commit: EditorCommit, enabled?: boolean): void;
@@ -1,4 +1,4 @@
1
- import { ComponentChildren } from 'preact';
1
+ import { ComponentChildren } from '../_vendor/preact/src/index';
2
2
  export interface EditorPopupHandle {
3
3
  readonly element: HTMLElement;
4
4
  close(): void;
@@ -1 +1 @@
1
- export { t as mountEditorPopup } from "../_chunks/editor-popup-B7fu_A_T.js";
1
+ export { t as mountEditorPopup } from "../_chunks/editor-popup-D3JdS8l3.js";
@@ -17,4 +17,4 @@ export declare function DateControl({ value, label, options, multiple, invalid,
17
17
  errorId?: string;
18
18
  onFocus?: () => void;
19
19
  onChange: (date: string | string[]) => void;
20
- }): import("preact").JSX.Element;
20
+ }): import("../_vendor/preact/src/index").JSX.Element;
@@ -6,6 +6,6 @@ export declare function TemporalDraft({ value, options, apply, cancel, clearable
6
6
  options: TemporalPickerOptions;
7
7
  apply: (value: TemporalControlValue) => void | string;
8
8
  cancel: () => void;
9
- }): import("preact").JSX.Element;
9
+ }): import("../_vendor/preact/src/index").JSX.Element;
10
10
  /** Native text entry plus the original shared CalendarPicker, usable in any product form. */
11
- export declare function DateTimeField({ value, kind, picker, onValueChange, onInput, formatValue, parseValue, ...input }: DateTimeFieldProps): import("preact").JSX.Element;
11
+ export declare function DateTimeField({ value, kind, picker, onValueChange, onInput, formatValue, parseValue, ...input }: DateTimeFieldProps): import("../_vendor/preact/src/index").JSX.Element;
@@ -1 +1 @@
1
- export { r as DateTimeField, i as TemporalDraft, a as TemporalPicker, n as attachTemporalPicker, o as defaultTemporalPickerText, t as renderTemporalValue, s as temporalPickerLabel } from "../_chunks/date-time-DjucJmbc.js";
1
+ export { r as DateTimeField, i as TemporalDraft, a as TemporalPicker, n as attachTemporalPicker, o as defaultTemporalPickerText, t as renderTemporalValue, s as temporalPickerLabel } from "../_chunks/date-time-BxPJusp9.js";
@@ -1,2 +1,2 @@
1
1
  import { TemporalPickerProps } from './types';
2
- export declare function TemporalPicker(props: TemporalPickerProps): import("preact").JSX.Element;
2
+ export declare function TemporalPicker(props: TemporalPickerProps): import("../_vendor/preact/src/index").JSX.Element;
@@ -8,4 +8,4 @@ export declare function TimeControl({ value, label, format, precision, locale, m
8
8
  max?: string;
9
9
  step?: number;
10
10
  onChange: (value: string) => void;
11
- }): import("preact").JSX.Element;
11
+ }): import("../_vendor/preact/src/index").JSX.Element;
@@ -12,4 +12,4 @@ export interface TimeSelectionProps {
12
12
  step?: number;
13
13
  }
14
14
  /** Shared typed entry and bounded clock columns for time-only and date-time pickers. */
15
- export declare function TimeSelection({ value, label, text, onChange, format, precision, locale, min, max, step }: TimeSelectionProps): import("preact").JSX.Element;
15
+ export declare function TimeSelection({ value, label, text, onChange, format, precision, locale, min, max, step }: TimeSelectionProps): import("../_vendor/preact/src/index").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { DateInputOptions } from './date-control';
2
- import { JSX } from 'preact';
2
+ import { JSX } from '../_vendor/preact/src/index';
3
3
  import { CalendarPickerProps } from '../calendar/picker';
4
4
  import { LocalDateControlKind, TemporalControlValue } from '../_shared/dates/index';
5
5
  import { EditorActionText, EditorCommitOptions } from '../editor-actions';
@@ -1,4 +1,4 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { ElementFactory } from '../native-controls';
3
3
  export interface NativeDialogAction {
4
4
  label?: string;
@@ -1,83 +1,83 @@
1
- import { createPreactElement as e } from "../preact-mount.js";
2
- import { ButtonControl as t } from "../native-control.js";
3
- import { a as n, i as r, n as i, r as a, s as o } from "../_chunks/dialog.parts-Dt3KinUz.js";
4
- import { jsx as s, jsxs as c } 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 { ButtonControl as n } from "../native-control.js";
4
+ import { a as r, i, n as a, r as o, s } from "../_chunks/dialog.parts-DBqo3Qwb.js";
5
5
  //#region src/dialog/dialog.dom.view.tsx
6
- function l(t, l, u) {
7
- let d = p(), f, m, h, g, _;
6
+ function c(n, c, l) {
7
+ let u = f(), d, p, m, h, g;
8
8
  return {
9
- root: e(t, /* @__PURE__ */ s("div", {
10
- class: ["rv-dialog-overlay", l.overlayClass].filter(Boolean).join(" "),
9
+ root: t(n, /* @__PURE__ */ e("div", {
10
+ class: ["rv-dialog-overlay", c.overlayClass].filter(Boolean).join(" "),
11
11
  role: "dialog",
12
12
  "aria-modal": "true",
13
- "aria-labelledby": d,
14
- "aria-describedby": l.ariaDescribedBy,
13
+ "aria-labelledby": u,
14
+ "aria-describedby": c.ariaDescribedBy,
15
15
  tabIndex: -1,
16
- children: /* @__PURE__ */ c("section", {
16
+ children: /* @__PURE__ */ e("section", {
17
17
  ref: (e) => {
18
- f = e;
18
+ d = e;
19
19
  },
20
- class: ["rv-dialog__surface", l.surfaceClass].filter(Boolean).join(" "),
20
+ class: ["rv-dialog__surface", c.surfaceClass].filter(Boolean).join(" "),
21
21
  children: [
22
- /* @__PURE__ */ c(o, {
22
+ /* @__PURE__ */ e(s, {
23
23
  ref: (e) => {
24
- m = e;
24
+ p = e;
25
25
  },
26
- children: [/* @__PURE__ */ s("div", {
26
+ children: [/* @__PURE__ */ e("div", {
27
27
  class: "rv-dialog__heading",
28
- children: /* @__PURE__ */ s("h3", {
29
- id: d,
28
+ children: /* @__PURE__ */ e("h3", {
29
+ id: u,
30
30
  class: "rv-dialog__title",
31
- children: l.title
31
+ children: c.title
32
32
  })
33
- }), /* @__PURE__ */ s(r, {
34
- "aria-label": l.closeLabel,
35
- title: l.closeLabel,
36
- onClick: u
33
+ }), /* @__PURE__ */ e(i, {
34
+ "aria-label": c.closeLabel,
35
+ title: c.closeLabel,
36
+ onClick: l
37
37
  })]
38
38
  }),
39
- /* @__PURE__ */ s(a, { ref: (e) => {
40
- h = e;
39
+ /* @__PURE__ */ e(o, { ref: (e) => {
40
+ m = e;
41
41
  } }),
42
- /* @__PURE__ */ s(n, {
42
+ /* @__PURE__ */ e(r, {
43
43
  ref: (e) => {
44
- g = e;
44
+ h = e;
45
45
  },
46
- children: /* @__PURE__ */ s(i, { ref: (e) => {
47
- _ = e;
46
+ children: /* @__PURE__ */ e(a, { ref: (e) => {
47
+ g = e;
48
48
  } })
49
49
  })
50
50
  ]
51
51
  })
52
52
  })),
53
- surface: f,
54
- header: m,
55
- body: h,
56
- footer: g,
57
- actions: _
53
+ surface: d,
54
+ header: p,
55
+ body: m,
56
+ footer: h,
57
+ actions: g
58
58
  };
59
59
  }
60
- function u(t, n, i) {
61
- return e(t, /* @__PURE__ */ s(r, {
62
- "aria-label": n,
63
- title: n,
64
- onClick: i
60
+ function l(n, r, a) {
61
+ return t(n, /* @__PURE__ */ e(i, {
62
+ "aria-label": r,
63
+ title: r,
64
+ onClick: a
65
65
  }));
66
66
  }
67
- function d(n, r, i, a = "default") {
68
- return e(n, /* @__PURE__ */ s(t, {
69
- title: r || void 0,
70
- class: a === "default" ? "rv-btn" : `rv-btn-${a}`,
71
- onClick: i,
72
- children: r
67
+ function u(r, i, a, o = "default") {
68
+ return t(r, /* @__PURE__ */ e(n, {
69
+ title: i || void 0,
70
+ class: o === "default" ? "rv-btn" : `rv-btn-${o}`,
71
+ onClick: a,
72
+ children: i
73
73
  }));
74
74
  }
75
- var f = 0;
76
- function p() {
77
- return f += 1, `rv-dialog-title-${f}`;
75
+ var d = 0;
76
+ function f() {
77
+ return d += 1, `rv-dialog-title-${d}`;
78
78
  }
79
- function m(e, t) {
80
- let n = h(e);
79
+ function p(e, t) {
80
+ let n = m(e);
81
81
  if (!n.length) {
82
82
  t.preventDefault(), e.focus();
83
83
  return;
@@ -85,8 +85,8 @@ function m(e, t) {
85
85
  let r = e.ownerDocument.activeElement, i = n.findIndex((e) => e === r), a = i < 0 ? t.shiftKey ? n.length - 1 : 0 : t.shiftKey ? (i - 1 + n.length) % n.length : (i + 1) % n.length;
86
86
  t.preventDefault(), n[a].focus();
87
87
  }
88
- function h(e) {
88
+ function m(e) {
89
89
  return Array.from(e.querySelectorAll("a[href], area[href], button:not([disabled]), input:not([disabled]):not([type=\"hidden\"]), select:not([disabled]), textarea:not([disabled]), iframe, object, embed, summary, audio[controls], video[controls], [contenteditable]:not([contenteditable=\"false\"]), [tabindex]:not([tabindex=\"-1\"])")).filter((e) => !e.hidden && !e.closest("[hidden], [inert], [aria-hidden=\"true\"]") && !e.matches("[tabindex=\"-1\"], :disabled, input[type=\"hidden\"]"));
90
90
  }
91
91
  //#endregion
92
- export { d as createDialogButton, u as createDialogCloseButton, l as createDialogElements, h as getDialogFocusableElements, m as trapDialogFocus };
92
+ export { u as createDialogButton, l as createDialogCloseButton, c as createDialogElements, m as getDialogFocusableElements, p as trapDialogFocus };
@@ -1,32 +1,32 @@
1
- import { h, JSX } from 'preact';
1
+ import { h, JSX } from '../_vendor/preact/src/index';
2
2
  /** Composable chrome: consumers retain native dialog lifecycle and form policy. */
3
- export declare const DialogHeader: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLElement>> & {
4
- ref?: import('preact').Ref<HTMLElement> | undefined;
3
+ export declare const DialogHeader: import('../_vendor/preact/src/index').FunctionalComponent<import('../_vendor/preact/compat/src/index').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLElement>> & {
4
+ ref?: import('../_vendor/preact/src/index').Ref<HTMLElement> | undefined;
5
5
  }>;
6
6
  export declare function DialogForm({ class: className, ...props }: JSX.IntrinsicElements['form']): h.JSX.Element;
7
- export declare const DialogBody: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLDivElement>> & {
8
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
7
+ export declare const DialogBody: import('../_vendor/preact/src/index').FunctionalComponent<import('../_vendor/preact/compat/src/index').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLDivElement>> & {
8
+ ref?: import('../_vendor/preact/src/index').Ref<HTMLDivElement> | undefined;
9
9
  }>;
10
- export declare const DialogFooter: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLElement>> & {
11
- ref?: import('preact').Ref<HTMLElement> | undefined;
10
+ export declare const DialogFooter: import('../_vendor/preact/src/index').FunctionalComponent<import('../_vendor/preact/compat/src/index').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLElement>> & {
11
+ ref?: import('../_vendor/preact/src/index').Ref<HTMLElement> | undefined;
12
12
  }>;
13
- export declare const DialogActions: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLDivElement>> & {
14
- ref?: import('preact').Ref<HTMLDivElement> | undefined;
13
+ export declare const DialogActions: import('../_vendor/preact/src/index').FunctionalComponent<import('../_vendor/preact/compat/src/index').PropsWithoutRef<h.JSX.HTMLAttributes<HTMLDivElement>> & {
14
+ ref?: import('../_vendor/preact/src/index').Ref<HTMLDivElement> | undefined;
15
15
  }>;
16
16
  export declare function DialogCloseButton({ class: className, iconClass, ...props }: Omit<JSX.IntrinsicElements['button'], 'ref'> & {
17
17
  'aria-label': string;
18
18
  iconClass?: string;
19
19
  }): h.JSX.Element;
20
20
  /** A native input with shared title styling; labels and commit policy stay explicit. */
21
- export declare const DialogTitleInput: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<Omit<h.JSX.InputHTMLAttributes<HTMLInputElement>, "ref">> & {
22
- ref?: import('preact').Ref<HTMLInputElement> | undefined;
21
+ export declare const DialogTitleInput: import('../_vendor/preact/src/index').FunctionalComponent<import('../_vendor/preact/compat/src/index').PropsWithoutRef<Omit<h.JSX.InputHTMLAttributes<HTMLInputElement>, "ref">> & {
22
+ ref?: import('../_vendor/preact/src/index').Ref<HTMLInputElement> | undefined;
23
23
  }>;
24
24
  export interface EditableDialogHeaderProps extends Omit<JSX.IntrinsicElements['header'], 'title'> {
25
25
  readonly titleId: string;
26
26
  readonly title: string;
27
27
  /** Optional dialog name above the editable item title. */
28
28
  readonly name?: string;
29
- readonly description?: import('preact').ComponentChildren;
29
+ readonly description?: import('../_vendor/preact/src/index').ComponentChildren;
30
30
  readonly inputLabel: string;
31
31
  readonly titleHidden?: boolean;
32
32
  readonly headingClass?: string;
@@ -41,11 +41,11 @@ export interface EditableDialogHeaderProps extends Omit<JSX.IntrinsicElements['h
41
41
  readonly onClose?: () => void;
42
42
  }
43
43
  /** One owner for editable item names, dialog captions, close actions and spacing. */
44
- export declare const EditableDialogHeader: import('preact').FunctionalComponent<import('preact/compat').PropsWithoutRef<EditableDialogHeaderProps> & {
45
- ref?: import('preact').Ref<HTMLElement> | undefined;
44
+ export declare const EditableDialogHeader: import('../_vendor/preact/src/index').FunctionalComponent<import('../_vendor/preact/compat/src/index').PropsWithoutRef<EditableDialogHeaderProps> & {
45
+ ref?: import('../_vendor/preact/src/index').Ref<HTMLElement> | undefined;
46
46
  }>;
47
47
  export type DialogAction = Omit<JSX.IntrinsicElements['button'], 'children' | 'ref'> & {
48
- readonly label?: import('preact').ComponentChildren;
48
+ readonly label?: import('../_vendor/preact/src/index').ComponentChildren;
49
49
  [attribute: `data-${string}`]: unknown;
50
50
  };
51
51
  export type DialogActionFooterProps = JSX.IntrinsicElements['footer'] & {
@@ -54,9 +54,9 @@ export type DialogActionFooterProps = JSX.IntrinsicElements['footer'] & {
54
54
  readonly deleteAction?: DialogAction | false;
55
55
  readonly reset?: DialogAction | false;
56
56
  /** Custom actions on either side of the standard bottom panel. */
57
- readonly start?: import('preact').ComponentChildren;
58
- readonly end?: import('preact').ComponentChildren;
57
+ readonly start?: import('../_vendor/preact/src/index').ComponentChildren;
58
+ readonly end?: import('../_vendor/preact/src/index').ComponentChildren;
59
59
  readonly actionsClass?: string;
60
60
  };
61
61
  /** Default Cancel/Save, opt-in Delete/Reset; false hides any standard action. */
62
- export declare function DialogActionFooter(props: DialogActionFooterProps): import('preact').VNode<import('preact').Attributes>;
62
+ export declare function DialogActionFooter(props: DialogActionFooterProps): import('../_vendor/preact/src/index').VNode<import('../_vendor/preact/src/index').Attributes>;
@@ -1 +1 @@
1
- export { t as DialogActionFooter, n as DialogActions, r as DialogBody, i as DialogCloseButton, a as DialogFooter, o as DialogForm, s as DialogHeader, c as DialogTitleInput, l as EditableDialogHeader } from "../_chunks/dialog.parts-Dt3KinUz.js";
1
+ export { t as DialogActionFooter, n as DialogActions, r as DialogBody, i as DialogCloseButton, a as DialogFooter, o as DialogForm, s as DialogHeader, c as DialogTitleInput, l as EditableDialogHeader } from "../_chunks/dialog.parts-DBqo3Qwb.js";
@@ -1,4 +1,4 @@
1
- import { RefObject } from 'preact';
1
+ import { RefObject } from '../_vendor/preact/src/index';
2
2
  export interface UseDialogDragOptions<Target extends HTMLElement, Handle extends HTMLElement> {
3
3
  readonly targetRef: RefObject<Target>;
4
4
  readonly handleRef: RefObject<Handle>;
@@ -1,11 +1,11 @@
1
- import { attachDialogDrag as e } from "./dialog.drag.js";
2
- import { useEffect as t } from "preact/hooks";
1
+ import { c as e } from "../_chunks/hooks.module-CG3gN83z.js";
2
+ import { attachDialogDrag as t } from "./dialog.drag.js";
3
3
  //#region src/dialog/dialog.preact.ts
4
4
  function n({ targetRef: n, handleRef: r, enabled: i = !0 }) {
5
- t(() => {
6
- let t = n.current, a = r.current;
7
- if (i && t && a) return e({
8
- target: t,
5
+ e(() => {
6
+ let e = n.current, a = r.current;
7
+ if (i && e && a) return t({
8
+ target: e,
9
9
  handle: a
10
10
  });
11
11
  }, [
@@ -1,4 +1,4 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { StandaloneChartProps } from './types';
3
3
  export type AreaChartProps = StandaloneChartProps;
4
4
  export declare function AreaChart(props: AreaChartProps): h.JSX.Element;
@@ -1,49 +1,49 @@
1
- import { i as e, n as t, r as n, t as r } from "../_chunks/chart-frame-BvxbmEU9.js";
2
- import { useId as i } from "preact/hooks";
3
- import { jsx as a, jsxs as o } from "preact/jsx-runtime";
1
+ import { a as e } from "../_chunks/hooks.module-CG3gN83z.js";
2
+ import { t } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
3
+ import { i as n, n as r, r as i, t as a } from "../_chunks/chart-frame-BC99KjGa.js";
4
4
  //#region src/distribution-chart/area-chart.tsx
5
- function s(s) {
6
- let c = `rv-area-${i().replace(/[^a-zA-Z0-9_-]/g, "")}`, { points: l } = n(s.data), u = s.data.some((e) => e.selected !== void 0), d = l.slice(1).map((t, n) => {
7
- let r = l[n], i = e(r, t, s.interpolation);
5
+ function o(o) {
6
+ let s = `rv-area-${e().replace(/[^a-zA-Z0-9_-]/g, "")}`, { points: c } = i(o.data), l = o.data.some((e) => e.selected !== void 0), u = c.slice(1).map((e, t) => {
7
+ let r = c[t], i = n(r, e, o.interpolation);
8
8
  return {
9
- key: s.data[n].key,
10
- selected: !u || !!(s.data[n].selected && s.data[n + 1].selected),
9
+ key: o.data[t].key,
10
+ selected: !l || !!(o.data[t].selected && o.data[t + 1].selected),
11
11
  line: i,
12
- area: `${i} L ${t.x} 100 L ${r.x} 100 Z`
12
+ area: `${i} L ${e.x} 100 L ${r.x} 100 Z`
13
13
  };
14
14
  });
15
- return /* @__PURE__ */ a(r, {
16
- ...s,
15
+ return /* @__PURE__ */ t(a, {
16
+ ...o,
17
17
  variant: "area",
18
- positions: l,
19
- renderDatum: () => s.showPoints === !1 ? null : /* @__PURE__ */ a("span", {
18
+ positions: c,
19
+ renderDatum: () => o.showPoints === !1 ? null : /* @__PURE__ */ t("span", {
20
20
  class: "rv-distribution-chart__point",
21
21
  "aria-hidden": "true"
22
22
  }),
23
- children: l.length > 0 && /* @__PURE__ */ o(t, { children: [s.areaFill === "gradient" && /* @__PURE__ */ a("defs", { children: [!0, !1].map((e) => {
24
- let t = e ? "var(--rv-distribution-accent, var(--rv-ui-accent))" : "var(--rv-distribution-muted, var(--rv-ui-border))";
25
- return /* @__PURE__ */ o("linearGradient", {
26
- id: `${c}${e ? "" : "-muted"}`,
23
+ children: c.length > 0 && /* @__PURE__ */ t(r, { children: [o.areaFill === "gradient" && /* @__PURE__ */ t("defs", { children: [!0, !1].map((e) => {
24
+ let n = e ? "var(--rv-distribution-accent, var(--rv-ui-accent))" : "var(--rv-distribution-muted, var(--rv-ui-border))";
25
+ return /* @__PURE__ */ t("linearGradient", {
26
+ id: `${s}${e ? "" : "-muted"}`,
27
27
  gradientUnits: "userSpaceOnUse",
28
28
  x1: "0",
29
29
  y1: "8",
30
30
  x2: "0",
31
31
  y2: "100",
32
- children: [/* @__PURE__ */ a("stop", {
32
+ children: [/* @__PURE__ */ t("stop", {
33
33
  offset: "0%",
34
- "stop-color": t,
34
+ "stop-color": n,
35
35
  "stop-opacity": "0.4"
36
- }), /* @__PURE__ */ a("stop", {
36
+ }), /* @__PURE__ */ t("stop", {
37
37
  offset: "100%",
38
- "stop-color": t,
38
+ "stop-color": n,
39
39
  "stop-opacity": "0.02"
40
40
  })]
41
41
  }, String(e));
42
- }) }), d.map((e) => /* @__PURE__ */ o("g", { children: [/* @__PURE__ */ a("path", {
42
+ }) }), u.map((e) => /* @__PURE__ */ t("g", { children: [/* @__PURE__ */ t("path", {
43
43
  class: `rv-distribution-chart__area${e.selected ? " is-selected" : ""}`,
44
44
  d: e.area,
45
- style: s.areaFill === "gradient" ? { fill: `url(#${c}${e.selected ? "" : "-muted"})` } : void 0
46
- }), /* @__PURE__ */ a("path", {
45
+ style: o.areaFill === "gradient" ? { fill: `url(#${s}${e.selected ? "" : "-muted"})` } : void 0
46
+ }), /* @__PURE__ */ t("path", {
47
47
  class: `rv-distribution-chart__series rv-distribution-chart__segment${e.selected ? " is-selected" : ""}`,
48
48
  d: e.line,
49
49
  "vector-effect": "non-scaling-stroke"
@@ -51,4 +51,4 @@ function s(s) {
51
51
  });
52
52
  }
53
53
  //#endregion
54
- export { s as AreaChart };
54
+ export { o as AreaChart };
@@ -1,4 +1,4 @@
1
- import { h } from 'preact';
1
+ import { h } from '../_vendor/preact/src/index';
2
2
  import { StandaloneChartProps } from './types';
3
3
  export type BarChartProps = StandaloneChartProps;
4
4
  /** Compact bar chart, independent of sliders, filters and grid instances. */