@revolist/ui 4.0.2-rc → 4.0.4-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 (161) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +345 -263
  3. package/_chunks/{calendar-CpaUK7w1.js → calendar-xpZ0v3xf.js} +39 -29
  4. package/_chunks/{chart-frame-BC99KjGa.js → chart-frame-Cmc7xU1i.js} +16 -13
  5. package/_chunks/{choice-chips-Cs4D-3nH.js → choice-chips-CHQTUdLs.js} +10 -10
  6. package/_chunks/clock-BOhPNlW3.js +4 -0
  7. package/_chunks/{color-palette-BBMFmUNA.js → color-palette-D8vyPfld.js} +1 -1
  8. package/_chunks/{color-picker-D90Jg-M8.js → color-picker-CudqPYZo.js} +10 -10
  9. package/_chunks/{component-YDcfoOLz.js → component-C_T2VN5u.js} +182 -178
  10. package/_chunks/{component-metadata-BENbgTjU.js → component-metadata-BMOOmqx5.js} +0 -4
  11. package/_chunks/control-AHKXD5Eu.js +93 -0
  12. package/_chunks/{control-tooltip-ztgmsG7H.js → control-tooltip-uscKfAnV.js} +15 -15
  13. package/_chunks/{controls-DIum-E66.js → controls-DsNi8V8I.js} +144 -129
  14. package/_chunks/{date-control-BJSzu79z.js → date-control-DrVFX13g.js} +1 -1
  15. package/_chunks/{date-time-BxPJusp9.js → date-time-qIhp5vaX.js} +143 -145
  16. package/_chunks/{delete-button-Bblyah10.js → delete-button-CW9vjLnk.js} +6 -6
  17. package/_chunks/{dialog.parts-DBqo3Qwb.js → dialog.parts-CKGkC5zP.js} +20 -20
  18. package/_chunks/{duration-87U2EoMS.js → duration-CL68Em0o.js} +16 -15
  19. package/_chunks/{editor-popup-D3JdS8l3.js → editor-popup-WDdtVDNA.js} +5 -5
  20. package/_chunks/field-context-D57PnBbH.js +5 -0
  21. package/_chunks/{framework-mount-C-Zwm44H.js → framework-mount--RTLIqE-.js} +1 -1
  22. package/_chunks/history-controls-B3u3INEK.js +27 -0
  23. package/_chunks/mount-DQ1cpppK.js +257 -0
  24. package/_chunks/native-control-C_yok8_-.js +605 -0
  25. package/_chunks/{number-input-BeIadZuL.js → number-input-BKwA5FnM.js} +2 -2
  26. package/_chunks/{picker-DpP7iQLA.js → picker-h1P5RUgp.js} +2 -2
  27. package/_chunks/popup-CT2uD3go.js +367 -0
  28. package/_chunks/{rating-choice-Ca8ZBty3.js → rating-choice-DZgmaic0.js} +1 -1
  29. package/_chunks/render-m5eMMwFR.js +83 -0
  30. package/_chunks/{reorder-list-Cc3KmfAN.js → reorder-list-CSlqAGHw.js} +1 -1
  31. package/_chunks/request-trail-DSlFix6i.js +618 -0
  32. package/_chunks/rich-text-CH7gIqOS.js +636 -0
  33. package/_chunks/rotate-right-Iha5ScJ1.js +4 -0
  34. package/_form.scss +1 -1
  35. package/ai/_chat.scss +195 -0
  36. package/ai/_style.scss +105 -34
  37. package/ai/chat.d.ts +63 -0
  38. package/ai/components.d.ts +19 -3
  39. package/ai/index.d.ts +2 -0
  40. package/ai/index.js +3 -3
  41. package/ai/mount.d.ts +30 -1
  42. package/ai/prompt-history.d.ts +13 -0
  43. package/ai/transcript.d.ts +25 -0
  44. package/ai/translations.d.ts +1 -1
  45. package/angular/angular.js +0 -3
  46. package/assignee/index.js +34 -35
  47. package/buttons/delete-button.d.ts +2 -1
  48. package/buttons/delete-button.js +1 -1
  49. package/buttons/remove-button.js +1 -1
  50. package/buttons/svg-button.d.ts +1 -0
  51. package/buttons/svg-button.js +5 -5
  52. package/calendar/_calendar.scss +7 -2
  53. package/calendar/calendar.js +1 -1
  54. package/calendar/index.js +2 -2
  55. package/choice-chips/index.js +1 -1
  56. package/color-palette/color-palette.js +1 -1
  57. package/color-palette/color-picker.js +2 -2
  58. package/component-catalog.d.ts +16 -5
  59. package/control-attributes.js +7 -7
  60. package/controls.d.ts +8 -6
  61. package/controls.js +3 -3
  62. package/core/editor-popup.js +1 -1
  63. package/date-time/index.js +1 -1
  64. package/date-time/style.scss +4 -4
  65. package/dialog/dialog.dom.js +8 -8
  66. package/dialog/dialog.parts.js +1 -1
  67. package/distribution-chart/area-chart.js +1 -1
  68. package/distribution-chart/bar-chart.d.ts +5 -2
  69. package/distribution-chart/bar-chart.js +7 -3
  70. package/distribution-chart/chart-frame.d.ts +2 -1
  71. package/distribution-chart/line-chart.js +1 -1
  72. package/dropdown/content.d.ts +2 -1
  73. package/dropdown/content.js +1 -142
  74. package/dropdown/control.d.ts +14 -0
  75. package/dropdown/control.js +1 -0
  76. package/dropdown/control.view.d.ts +6 -0
  77. package/dropdown/dropdown.types.d.ts +4 -0
  78. package/dropdown/editor-dropdown.style.scss +37 -9
  79. package/dropdown/index.d.ts +1 -1
  80. package/dropdown/index.js +3 -4
  81. package/dropdown/lookup-field.js +1 -1
  82. package/dropdown/popup.js +1 -141
  83. package/duration/index.js +1 -1
  84. package/duration/style.scss +1 -1
  85. package/editor-actions.js +1 -1
  86. package/field-configurator.js +6 -6
  87. package/fieldset.d.ts +3 -0
  88. package/filter/filters/slider/single.js +1 -1
  89. package/filter-badge.js +1 -1
  90. package/filter-controls.js +7 -7
  91. package/form-controls/field-context.d.ts +5 -0
  92. package/form-controls/index.js +7 -12
  93. package/form-controls/index.view.d.ts +2 -4
  94. package/form-controls/presentation.js +51 -43
  95. package/formatting/index.js +25 -21
  96. package/framework.js +215 -207
  97. package/history-controls.d.ts +14 -0
  98. package/history-controls.js +1 -0
  99. package/masked-input/index.js +1 -1
  100. package/native-control.d.ts +6 -4
  101. package/native-control.js +3 -26
  102. package/native-styles.css +1 -1
  103. package/native.js +31 -30
  104. package/number-input/index.js +1 -1
  105. package/package.json +53 -14
  106. package/pagination.d.ts +3 -0
  107. package/pagination.js +43 -33
  108. package/pdf-viewer/index.js +1 -1
  109. package/pdf-viewer/style.scss +3 -4
  110. package/preact.d.ts +2 -0
  111. package/preact.js +62 -62
  112. package/rating-choice.js +1 -1
  113. package/react-control.d.ts +0 -1
  114. package/react-control.js +2 -2
  115. package/react.d.ts +13 -3
  116. package/react.js +71 -88
  117. package/reorder-list.js +1 -1
  118. package/resource-picker/resource-picker-popup.js +1 -1
  119. package/resource-picker/resource-picker.js +4 -4
  120. package/resource-picker/resource-picker.scss +6 -3
  121. package/rich-text/engine.d.ts +16 -19
  122. package/rich-text/index.d.ts +7 -7
  123. package/rich-text/index.js +1 -1
  124. package/rich-text/model.d.ts +4 -3
  125. package/rich-text/render-model.d.ts +4 -5
  126. package/rich-text/style.scss +3 -12
  127. package/rich-text/toolbar.d.ts +6 -6
  128. package/rich-text/translations.d.ts +3 -15
  129. package/select.d.ts +20 -0
  130. package/select.js +1 -0
  131. package/status-feedback/exit-snapshot.js +4 -4
  132. package/status-feedback/index.js +2 -2
  133. package/status-feedback/popover.js +10 -10
  134. package/status-feedback/render.js +3 -44
  135. package/status-feedback/status-feedback.scss +7 -0
  136. package/status-feedback/types.d.ts +4 -0
  137. package/status-feedback/use-auto-dismiss.d.ts +3 -0
  138. package/styles/_compositions.scss +3 -1
  139. package/styles/_control.scss +12 -4
  140. package/styles/_primitives.scss +9 -8
  141. package/styles.css +1 -1
  142. package/surfaces.js +45 -45
  143. package/svelte/UiComponent.server.js +1 -48
  144. package/svelte/UiComponent.svelte +0 -21
  145. package/svelte.js +33 -68
  146. package/time-grid.js +1 -1
  147. package/timeline-track/component.d.ts +5 -1
  148. package/timeline-track/index.js +71 -54
  149. package/timeline-track/model.d.ts +9 -0
  150. package/timeline-track/model.js +10 -1
  151. package/ui.css +1 -1
  152. package/vue.d.ts +24 -5
  153. package/vue.js +140 -164
  154. package/_chunks/compat.module-DDB2pm9O.js +0 -229
  155. package/_chunks/dropdown-voWqmwAe.js +0 -357
  156. package/_chunks/mount-DZe_6VtR.js +0 -90
  157. package/_chunks/request-trail-IdNiFvKH.js +0 -347
  158. package/_chunks/rich-text-BzI1DyfF.js +0 -477
  159. package/react-native-select.d.ts +0 -6
  160. package/rich-text/syntax.d.ts +0 -2
  161. package/vue-native-select.d.ts +0 -9
package/react.js CHANGED
@@ -1,76 +1,73 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "./_chunks/request-trail-IdNiFvKH.js";
2
- import { n as o, t as s } from "./_chunks/rating-choice-Ca8ZBty3.js";
3
- import { SvgIcon as c } from "./icons/icon.js";
4
- import { controlAttributes as l } from "./control-attributes.js";
5
- import { Input as u } from "./native-control.js";
6
- import { A as d, C as ee, D as te, E as ne, F as re, I as ie, L as ae, M as oe, N as se, O as ce, P as le, R as ue, S as de, T as fe, _ as pe, a as me, b as he, c as f, d as p, f as m, g as h, h as g, i as _, j as v, k as y, l as b, m as x, n as S, o as C, p as w, r as T, s as E, t as D, u as O, v as k, w as A, x as j, z as M } from "./_chunks/controls-DIum-E66.js";
7
- import { t as N } from "./_chunks/control-tooltip-ztgmsG7H.js";
8
- import { SvgButton as P } from "./buttons/svg-button.js";
9
- import { SegmentedSwitch as F } from "./segmented-switch/index.js";
10
- import { EditorList as I, EditorListGroup as L, EditorListItem as R, EditorListItemContent as z, EditorPane as B, EditorSplitLayout as V } from "./editor-layout/index.js";
11
- import { a as ge, c as _e, i as ve, l as ye, n as be, o as xe, r as Se, s as Ce, t as we } from "./_chunks/dialog.parts-DBqo3Qwb.js";
12
- import { t as Te } from "./_chunks/delete-button-Bblyah10.js";
13
- import { RemoveButton as Ee } from "./buttons/remove-button.js";
14
- import { t as De } from "./_chunks/color-palette-BBMFmUNA.js";
15
- import { t as Oe } from "./_chunks/color-picker-D90Jg-M8.js";
16
- import { n as ke, r as Ae, t as je } from "./_chunks/choice-chips-Cs4D-3nH.js";
17
- import { FilterBadge as Me, FilterBadgeInfoButton as Ne } from "./filter-badge.js";
18
- import { ActivityMessage as Pe } from "./activity-message.js";
19
- import { Checkbox as Fe } from "./checkbox/index.js";
20
- import { Switch as Ie } from "./switch/index.js";
21
- import { SearchInput as Le } from "./search-input/index.js";
22
- import { DisclosureSummary as Re, FilterChip as H, FormField as ze } from "./form-controls/presentation.js";
23
- import { a as Be, i as Ve, r as He } from "./_chunks/date-time-BxPJusp9.js";
24
- import { n as Ue, t as We } from "./_chunks/duration-87U2EoMS.js";
25
- import { CalendarHeader as Ge, CalendarWeekdays as Ke } from "./calendar/header.js";
26
- import { t as qe } from "./_chunks/calendar-CpaUK7w1.js";
27
- import { CalendarDay as Je } from "./calendar/day.js";
28
- import { CalendarMonthGrid as Ye } from "./calendar/month-grid.js";
29
- import { CalendarYearGrid as Xe } from "./calendar/year-grid.js";
30
- import { t as Ze } from "./_chunks/picker-DpP7iQLA.js";
31
- import { ResourcePickerAvatar as Qe } from "./resource-picker/resource-picker-avatar.js";
32
- import { DropdownPopup as $e } from "./dropdown/popup.js";
33
- import { SharedResourcePicker as U } from "./resource-picker/resource-picker.js";
34
- import { t as et } from "./_chunks/dropdown-voWqmwAe.js";
35
- import { DropdownPopupContent as tt } from "./dropdown/content.js";
36
- import { PreactRangeSlider as W } from "./filter/filters/slider/preact.js";
37
- import { SingleValueSlider as G, SliderField as nt } from "./filter/filters/slider/single.js";
38
- import { StatusBadge as rt, StatusFeedbackPanel as K } from "./status-feedback/render.js";
39
- import { a as it, c as at, d as ot, f as st, i as ct, l as lt, m as ut, o as dt, p as ft, r as pt, s as mt, t as ht, u as gt } from "./_chunks/component-YDcfoOLz.js";
40
- import { BarChart as _t } from "./distribution-chart/bar-chart.js";
41
- import { LineChart as vt } from "./distribution-chart/line-chart.js";
42
- import { AreaChart as yt } from "./distribution-chart/area-chart.js";
43
- import { DistributionChart as bt } from "./distribution-chart/index.js";
44
- import { BrushRange as xt } from "./brush-range/component.js";
45
- import { Legend as St } from "./legend.js";
46
- import { HighlightedTextInput as Ct, InlineFieldGroup as wt, OptionButton as Tt } from "./filter-controls.js";
47
- import { TimeGrid as Et } from "./time-grid.js";
48
- import { FieldActions as Dt, FieldContent as Ot, FieldDropIndicator as kt, FieldGroup as At, FieldGroupHeading as jt, FieldIcon as Mt, FieldItem as Nt, FieldLibrary as Pt, FieldLibraryList as Ft, FieldList as It, FieldRemoveButton as Lt, FieldRemoveIcon as Rt, FieldRow as zt, FieldStatusBadge as Bt, FieldSummary as Vt, SelectedField as Ht } from "./field-configurator.js";
49
- import { ComparisonPreview as Ut, IconChoiceGroup as Wt, IconToggleButton as Gt, InspectorSection as Kt, TypographyControls as qt } from "./formatting/index.js";
50
- import { n as Jt, t as Yt } from "./_chunks/reorder-list-Cc3KmfAN.js";
51
- import { TimelineTrack as Xt } from "./timeline-track/index.js";
52
- import { t as Zt } from "./_chunks/number-input-BeIadZuL.js";
53
- import { MaskedDraft as Qt } from "./masked-input/index.js";
54
- import { t as $t } from "./_chunks/rich-text-BzI1DyfF.js";
55
- import { AssigneeField as en, AssigneePicker as tn, AssigneePickerLayout as nn } from "./assignee/index.js";
56
- import { t as rn } from "./_chunks/framework-mount-C-Zwm44H.js";
57
- import { createElement as q, forwardRef as J, isValidElement as an, useImperativeHandle as on, useLayoutEffect as Y, useRef as X, useState as sn } from "react";
58
- import { createPortal as cn } from "react-dom";
1
+ import { n as e, t } from "./_chunks/rating-choice-DZgmaic0.js";
2
+ import { SvgIcon as n } from "./icons/icon.js";
3
+ import { l as r, n as i, p as a } from "./_chunks/native-control-C_yok8_-.js";
4
+ import { t as o } from "./_chunks/popup-CT2uD3go.js";
5
+ import { t as s } from "./_chunks/delete-button-CW9vjLnk.js";
6
+ import { RemoveButton as c } from "./buttons/remove-button.js";
7
+ import { A as l, C as u, D as d, E as f, F as p, I as ee, L as te, M as ne, N as re, O as ie, P as ae, R as oe, S as se, T as ce, _ as le, a as ue, b as de, c as m, d as h, f as g, g as _, h as v, i as y, j as b, k as x, l as S, m as C, n as w, o as T, p as E, r as D, s as O, t as k, u as A, v as j, w as M, x as N, y as P } from "./_chunks/controls-DsNi8V8I.js";
8
+ import { t as F } from "./_chunks/control-tooltip-uscKfAnV.js";
9
+ import { SvgButton as I } from "./buttons/svg-button.js";
10
+ import { SegmentedSwitch as L } from "./segmented-switch/index.js";
11
+ import { EditorList as R, EditorListGroup as z, EditorListItem as B, EditorListItemContent as V, EditorPane as H, EditorSplitLayout as U } from "./editor-layout/index.js";
12
+ import { a as fe, c as pe, i as me, l as he, n as ge, o as _e, r as ve, s as ye, t as be } from "./_chunks/dialog.parts-CKGkC5zP.js";
13
+ import { _ as xe, a as Se, c as Ce, d as we, f as Te, g as Ee, h as De, i as Oe, l as ke, m as Ae, n as je, o as Me, p as Ne, r as Pe, s as Fe, t as Ie, u as Le } from "./_chunks/request-trail-DSlFix6i.js";
14
+ import { n as W, t as Re } from "./_chunks/render-m5eMMwFR.js";
15
+ import { t as ze } from "./_chunks/color-palette-D8vyPfld.js";
16
+ import { t as Be } from "./_chunks/color-picker-CudqPYZo.js";
17
+ import { n as Ve, r as He, t as Ue } from "./_chunks/choice-chips-CHQTUdLs.js";
18
+ import { FilterBadge as We, FilterBadgeInfoButton as Ge } from "./filter-badge.js";
19
+ import { ActivityMessage as Ke } from "./activity-message.js";
20
+ import { Checkbox as qe } from "./checkbox/index.js";
21
+ import { Switch as Je } from "./switch/index.js";
22
+ import { SearchInput as Ye } from "./search-input/index.js";
23
+ import { DisclosureSummary as Xe, FilterChip as G, FormField as Ze } from "./form-controls/presentation.js";
24
+ import { a as Qe, i as $e, r as et } from "./_chunks/date-time-qIhp5vaX.js";
25
+ import { n as tt, t as nt } from "./_chunks/duration-CL68Em0o.js";
26
+ import { CalendarHeader as rt, CalendarWeekdays as it } from "./calendar/header.js";
27
+ import { t as at } from "./_chunks/calendar-xpZ0v3xf.js";
28
+ import { CalendarDay as ot } from "./calendar/day.js";
29
+ import { CalendarMonthGrid as st } from "./calendar/month-grid.js";
30
+ import { CalendarYearGrid as ct } from "./calendar/year-grid.js";
31
+ import { t as lt } from "./_chunks/picker-h1P5RUgp.js";
32
+ import { ResourcePickerAvatar as ut } from "./resource-picker/resource-picker-avatar.js";
33
+ import { SharedResourcePicker as K } from "./resource-picker/resource-picker.js";
34
+ import { PreactRangeSlider as q } from "./filter/filters/slider/preact.js";
35
+ import { SingleValueSlider as J, SliderField as dt } from "./filter/filters/slider/single.js";
36
+ import { a as ft, c as pt, d as mt, f as ht, i as gt, l as _t, m as vt, o as yt, p as bt, r as xt, s as St, t as Ct, u as wt } from "./_chunks/component-C_T2VN5u.js";
37
+ import { BarChart as Tt } from "./distribution-chart/bar-chart.js";
38
+ import { LineChart as Et } from "./distribution-chart/line-chart.js";
39
+ import { AreaChart as Dt } from "./distribution-chart/area-chart.js";
40
+ import { DistributionChart as Ot } from "./distribution-chart/index.js";
41
+ import { BrushRange as kt } from "./brush-range/component.js";
42
+ import { Legend as At } from "./legend.js";
43
+ import { HighlightedTextInput as jt, InlineFieldGroup as Mt, OptionButton as Nt } from "./filter-controls.js";
44
+ import { TimeGrid as Pt } from "./time-grid.js";
45
+ import { FieldActions as Ft, FieldContent as It, FieldDropIndicator as Lt, FieldGroup as Rt, FieldGroupHeading as zt, FieldIcon as Bt, FieldItem as Vt, FieldLibrary as Ht, FieldLibraryList as Ut, FieldList as Wt, FieldRemoveButton as Gt, FieldRemoveIcon as Kt, FieldRow as qt, FieldStatusBadge as Jt, FieldSummary as Yt, SelectedField as Xt } from "./field-configurator.js";
46
+ import { ComparisonPreview as Zt, IconChoiceGroup as Qt, IconToggleButton as $t, InspectorSection as en, TypographyControls as tn } from "./formatting/index.js";
47
+ import { n as nn, t as rn } from "./_chunks/reorder-list-CSlqAGHw.js";
48
+ import { TimelineTrack as an } from "./timeline-track/index.js";
49
+ import { t as on } from "./_chunks/number-input-BKwA5FnM.js";
50
+ import { MaskedDraft as sn } from "./masked-input/index.js";
51
+ import { t as cn } from "./_chunks/rich-text-CH7gIqOS.js";
52
+ import { AssigneeField as ln, AssigneePicker as un, AssigneePickerLayout as dn } from "./assignee/index.js";
53
+ import { t as fn } from "./_chunks/framework-mount--RTLIqE-.js";
54
+ import { createElement as Y, forwardRef as pn, isValidElement as mn, useImperativeHandle as hn, useLayoutEffect as X, useRef as Z, useState as gn } from "react";
55
+ import { createPortal as _n } from "react-dom";
59
56
  //#region src/react-adapter.ts
60
- var ln = /* @__PURE__ */ "children.footer.label.description.icon.summary.start.end.empty.highlight.actions.heading.placeholder.indicator.avatar.timestamp.header.details.formatted.hint.iconContent.content.caption.count.detail.leading.trailing.shortcut.info".split(".");
61
- function Z(e, t, n = {}) {
62
- let r = J((r, i) => {
63
- let a = X(null), o = X(null), [s, c] = sn([]);
64
- return on(i, () => ({ element: a.current }), []), Y(() => (c([]), o.current = rn(a.current, c), () => {
57
+ var vn = /* @__PURE__ */ "children.footer.label.description.icon.summary.start.end.empty.highlight.actions.heading.placeholder.indicator.avatar.timestamp.header.details.formatted.hint.iconContent.content.caption.count.detail.leading.trailing.shortcut.info".split(".");
58
+ function Q(e, t, n = {}) {
59
+ let r = pn((r, i) => {
60
+ let a = Z(null), o = Z(null), [s, c] = gn([]);
61
+ return hn(i, () => ({ element: a.current }), []), X(() => (c([]), o.current = fn(a.current, c), () => {
65
62
  o.current?.destroy(), o.current = null;
66
- }), []), Y(() => {
63
+ }), []), X(() => {
67
64
  o.current?.render(e, r, (e, t) => {
68
65
  let r = /* @__PURE__ */ new Set([
69
- ...ln,
66
+ ...vn,
70
67
  "options",
71
68
  "source"
72
69
  ]), i = (e) => {
73
- if (an(e)) return t(e);
70
+ if (mn(e)) return t(e);
74
71
  if (Array.isArray(e)) {
75
72
  let t = e.map(i);
76
73
  return t.some((t, n) => t !== e[n]) ? t : e;
@@ -86,54 +83,40 @@ function Z(e, t, n = {}) {
86
83
  for (let [r, i] of Object.entries(e)) r.startsWith("render") && typeof i == "function" && (a[r] = (...e) => (n.factoryCallbacks?.includes(r) && (e = e.slice(1), (r === "renderPlaceholder" || r === "renderSelectedValue") && (e = e.slice(0, 1))), t(i(...e))));
87
84
  return a;
88
85
  });
89
- }, [r]), q("div", { style: { display: "contents" } }, q("div", {
86
+ }, [r]), Y("div", { style: { display: "contents" } }, Y("div", {
90
87
  ref: a,
91
88
  style: { display: "contents" },
92
89
  "data-rv-react-host": t
93
- }), ...s.map((e) => cn(e.content, e.element, String(e.id))));
90
+ }), ...s.map((e) => _n(e.content, e.element, String(e.id))));
94
91
  });
95
92
  return r.displayName = `Rv${t}`, r;
96
93
  }
97
94
  //#endregion
98
- //#region src/react-native-select.ts
99
- var Q = J(({ onValueChange: e, onChange: t, ...n }, r) => {
100
- let { class: i, ...a } = l("select", n);
101
- return q("select", {
102
- ...a,
103
- className: i,
104
- ref: r,
105
- onChange: (n) => {
106
- t?.(n), n.defaultPrevented || e?.(n.currentTarget.value);
107
- }
108
- });
109
- });
110
- Q.displayName = "RvNativeSelect";
111
- //#endregion
112
95
  //#region src/react.ts
113
- var un = /* @__PURE__ */ Z(c, "Icon"), dn = /* @__PURE__ */ Z(H, "RemovableChip"), fn = /* @__PURE__ */ Z(G, "Slider"), pn = /* @__PURE__ */ Z(W, "RangeSlider"), mn = /* @__PURE__ */ Z(U, "ResourcePicker"), hn = /* @__PURE__ */ Z(K, "FeedbackPanel"), gn = /* @__PURE__ */ Z(u, "Input"), _n = /* @__PURE__ */ Z(c, "SvgIcon"), vn = /* @__PURE__ */ Z(P, "SvgButton"), yn = /* @__PURE__ */ Z(Te, "DeleteButton"), bn = /* @__PURE__ */ Z(Ee, "RemoveButton"), xn = /* @__PURE__ */ Z(Fe, "Checkbox"), Sn = /* @__PURE__ */ Z(Ie, "Switch"), Cn = /* @__PURE__ */ Z(F, "SegmentedSwitch"), wn = /* @__PURE__ */ Z(Ae, "ChoiceChips"), Tn = /* @__PURE__ */ Z(ke, "ChoiceChipInfoButton"), En = /* @__PURE__ */ Z(je, "ChoiceChip"), Dn = /* @__PURE__ */ Z(Le, "SearchInput"), On = /* @__PURE__ */ Z(H, "FilterChip"), kn = /* @__PURE__ */ Z(ze, "FormField"), An = /* @__PURE__ */ Z(Re, "DisclosureSummary"), jn = /* @__PURE__ */ Z(V, "EditorSplitLayout"), Mn = /* @__PURE__ */ Z(B, "EditorPane"), Nn = /* @__PURE__ */ Z(I, "EditorList"), Pn = /* @__PURE__ */ Z(R, "EditorListItem"), Fn = /* @__PURE__ */ Z(z, "EditorListItemContent"), In = /* @__PURE__ */ Z(L, "EditorListGroup"), Ln = /* @__PURE__ */ Z(qe, "Calendar"), Rn = /* @__PURE__ */ Z(Ge, "CalendarHeader"), zn = /* @__PURE__ */ Z(Ke, "CalendarWeekdays"), Bn = /* @__PURE__ */ Z(Je, "CalendarDay"), Vn = /* @__PURE__ */ Z(Ye, "CalendarMonthGrid"), Hn = /* @__PURE__ */ Z(Xe, "CalendarYearGrid"), $ = /* @__PURE__ */ Z(Ze, "CalendarPicker"), Un = /* @__PURE__ */ Z(U, "SharedResourcePicker"), Wn = /* @__PURE__ */ Z(Qe, "ResourcePickerAvatar"), Gn = /* @__PURE__ */ Z(De, "ColorPalette"), Kn = /* @__PURE__ */ Z(Oe, "ColorPicker"), qn = /* @__PURE__ */ Z(et, "Dropdown", { factoryCallbacks: [
96
+ var yn = /* @__PURE__ */ Q(n, "Icon"), bn = /* @__PURE__ */ Q(G, "RemovableChip"), xn = /* @__PURE__ */ Q(J, "Slider"), Sn = /* @__PURE__ */ Q(q, "RangeSlider"), Cn = /* @__PURE__ */ Q(K, "ResourcePicker"), wn = /* @__PURE__ */ Q(W, "FeedbackPanel"), Tn = /* @__PURE__ */ Q(i, "Input"), En = /* @__PURE__ */ Q(n, "SvgIcon"), Dn = /* @__PURE__ */ Q(I, "SvgButton"), On = /* @__PURE__ */ Q(s, "DeleteButton"), kn = /* @__PURE__ */ Q(c, "RemoveButton"), An = /* @__PURE__ */ Q(qe, "Checkbox"), jn = /* @__PURE__ */ Q(Je, "Switch"), Mn = /* @__PURE__ */ Q(L, "SegmentedSwitch"), Nn = /* @__PURE__ */ Q(He, "ChoiceChips"), Pn = /* @__PURE__ */ Q(Ve, "ChoiceChipInfoButton"), Fn = /* @__PURE__ */ Q(Ue, "ChoiceChip"), $ = /* @__PURE__ */ Q(Ye, "SearchInput"), In = /* @__PURE__ */ Q(G, "FilterChip"), Ln = /* @__PURE__ */ Q(Ze, "FormField"), Rn = /* @__PURE__ */ Q(Xe, "DisclosureSummary"), zn = /* @__PURE__ */ Q(U, "EditorSplitLayout"), Bn = /* @__PURE__ */ Q(H, "EditorPane"), Vn = /* @__PURE__ */ Q(R, "EditorList"), Hn = /* @__PURE__ */ Q(B, "EditorListItem"), Un = /* @__PURE__ */ Q(V, "EditorListItemContent"), Wn = /* @__PURE__ */ Q(z, "EditorListGroup"), Gn = /* @__PURE__ */ Q(at, "Calendar"), Kn = /* @__PURE__ */ Q(rt, "CalendarHeader"), qn = /* @__PURE__ */ Q(it, "CalendarWeekdays"), Jn = /* @__PURE__ */ Q(ot, "CalendarDay"), Yn = /* @__PURE__ */ Q(st, "CalendarMonthGrid"), Xn = /* @__PURE__ */ Q(ct, "CalendarYearGrid"), Zn = /* @__PURE__ */ Q(lt, "CalendarPicker"), Qn = /* @__PURE__ */ Q(K, "SharedResourcePicker"), $n = /* @__PURE__ */ Q(ut, "ResourcePickerAvatar"), er = /* @__PURE__ */ Q(ze, "ColorPalette"), tr = /* @__PURE__ */ Q(Be, "ColorPicker"), nr = /* @__PURE__ */ Q(r, "Dropdown", { factoryCallbacks: [
114
97
  "renderOption",
115
98
  "renderValue",
116
99
  "renderPlaceholder",
117
100
  "renderSelectedValue",
118
101
  "renderNoResults"
119
- ] }), Jn = /* @__PURE__ */ Z($e, "DropdownPopup"), Yn = /* @__PURE__ */ Z(tt, "DropdownPopupContent", { factoryCallbacks: [
102
+ ] }), rr = /* @__PURE__ */ Q(o, "DropdownPopup"), ir = /* @__PURE__ */ Q(a, "DropdownPopupContent", { factoryCallbacks: [
120
103
  "renderOption",
121
104
  "renderValue",
122
105
  "renderPlaceholder",
123
106
  "renderSelectedValue",
124
107
  "renderNoResults"
125
- ] }), Xn = /* @__PURE__ */ Z(W, "PreactRangeSlider"), Zn = /* @__PURE__ */ Z(G, "SingleValueSlider"), Qn = /* @__PURE__ */ Z(nt, "SliderField"), $n = /* @__PURE__ */ Z(x, "IconButton"), er = /* @__PURE__ */ Z(re, "ToggleButton"), tr = /* @__PURE__ */ Z(T, "ButtonGroup"), nr = /* @__PURE__ */ Z(te, "SegmentedControl"), rr = /* @__PURE__ */ Z(v, "Tabs"), ir = /* @__PURE__ */ Z(d, "TabPanel"), ar = /* @__PURE__ */ Z(A, "RadioGroup"), or = /* @__PURE__ */ Z(oe, "TextInput"), sr = /* @__PURE__ */ Z(se, "Textarea"), cr = /* @__PURE__ */ Z(he, "NumberInput"), lr = /* @__PURE__ */ Z(j, "NumberStepper"), ur = /* @__PURE__ */ Z(E, "DateInput"), dr = /* @__PURE__ */ Z(le, "TimeInput"), fr = /* @__PURE__ */ Z(f, "DateTimeInput"), pr = /* @__PURE__ */ Z(_, "Chip"), mr = /* @__PURE__ */ Z(m, "FieldHint"), hr = /* @__PURE__ */ Z(p, "FieldError"), gr = /* @__PURE__ */ Z(w, "FormSection"), _r = /* @__PURE__ */ Z(b, "Disclosure"), vr = /* @__PURE__ */ Z(ee, "Panel"), yr = /* @__PURE__ */ Z(ie, "Toolbar"), br = /* @__PURE__ */ Z(ae, "ToolbarGroup"), xr = /* @__PURE__ */ Z(ue, "ToolbarSeparator"), Sr = /* @__PURE__ */ Z(D, "Badge"), Cr = /* @__PURE__ */ Z(C, "CountBadge"), wr = /* @__PURE__ */ Z(ce, "Spinner"), Tr = /* @__PURE__ */ Z(g, "LoadingOverlay"), Er = /* @__PURE__ */ Z(O, "EmptyState"), Dr = /* @__PURE__ */ Z(h, "Menu"), Or = /* @__PURE__ */ Z(pe, "MenuItem"), kr = /* @__PURE__ */ Z(k, "MenuSeparator"), Ar = /* @__PURE__ */ Z(y, "Submenu"), jr = /* @__PURE__ */ Z(ne, "ResizeHandle"), Mr = /* @__PURE__ */ Z(de, "Pagination"), Nr = /* @__PURE__ */ Z(me, "CircularProgress"), Pr = /* @__PURE__ */ Z(fe, "Rating"), Fr = /* @__PURE__ */ Z(S, "Button"), Ir = /* @__PURE__ */ Z(B, "Pane"), Lr = /* @__PURE__ */ Z(V, "SplitLayout"), Rr = /* @__PURE__ */ Z(M, "Alert"), zr = /* @__PURE__ */ Z(I, "Listbox"), Br = /* @__PURE__ */ Z(R, "ListboxOption"), Vr = /* @__PURE__ */ Z(L, "ListboxGroup"), Hr = /* @__PURE__ */ Z(z, "ListboxOptionContent"), Ur = /* @__PURE__ */ Z(K, "StatusFeedbackPanel"), Wr = /* @__PURE__ */ Z(rt, "StatusBadge"), Gr = /* @__PURE__ */ Z(dt, "Combobox", { factoryCallbacks: [
108
+ ] }), ar = /* @__PURE__ */ Q(q, "PreactRangeSlider"), or = /* @__PURE__ */ Q(J, "SingleValueSlider"), sr = /* @__PURE__ */ Q(dt, "SliderField"), cr = /* @__PURE__ */ Q(C, "IconButton"), lr = /* @__PURE__ */ Q(ae, "ToggleButton"), ur = /* @__PURE__ */ Q(D, "ButtonGroup"), dr = /* @__PURE__ */ Q(f, "SegmentedControl"), fr = /* @__PURE__ */ Q(l, "Tabs"), pr = /* @__PURE__ */ Q(x, "TabPanel"), mr = /* @__PURE__ */ Q(u, "RadioGroup"), hr = /* @__PURE__ */ Q(b, "TextInput"), gr = /* @__PURE__ */ Q(ne, "Textarea"), _r = /* @__PURE__ */ Q(P, "NumberInput"), vr = /* @__PURE__ */ Q(de, "NumberStepper"), yr = /* @__PURE__ */ Q(O, "DateInput"), br = /* @__PURE__ */ Q(re, "TimeInput"), xr = /* @__PURE__ */ Q(m, "DateTimeInput"), Sr = /* @__PURE__ */ Q(y, "Chip"), Cr = /* @__PURE__ */ Q(g, "FieldHint"), wr = /* @__PURE__ */ Q(h, "FieldError"), Tr = /* @__PURE__ */ Q(E, "FormSection"), Er = /* @__PURE__ */ Q(S, "Disclosure"), Dr = /* @__PURE__ */ Q(se, "Panel"), Or = /* @__PURE__ */ Q(p, "Toolbar"), kr = /* @__PURE__ */ Q(ee, "ToolbarGroup"), Ar = /* @__PURE__ */ Q(te, "ToolbarSeparator"), jr = /* @__PURE__ */ Q(k, "Badge"), Mr = /* @__PURE__ */ Q(T, "CountBadge"), Nr = /* @__PURE__ */ Q(d, "Spinner"), Pr = /* @__PURE__ */ Q(v, "LoadingOverlay"), Fr = /* @__PURE__ */ Q(A, "EmptyState"), Ir = /* @__PURE__ */ Q(_, "Menu"), Lr = /* @__PURE__ */ Q(le, "MenuItem"), Rr = /* @__PURE__ */ Q(j, "MenuSeparator"), zr = /* @__PURE__ */ Q(ie, "Submenu"), Br = /* @__PURE__ */ Q(ce, "ResizeHandle"), Vr = /* @__PURE__ */ Q(N, "Pagination"), Hr = /* @__PURE__ */ Q(ue, "CircularProgress"), Ur = /* @__PURE__ */ Q(M, "Rating"), Wr = /* @__PURE__ */ Q(w, "Button"), Gr = /* @__PURE__ */ Q(H, "Pane"), Kr = /* @__PURE__ */ Q(U, "SplitLayout"), qr = /* @__PURE__ */ Q(oe, "Alert"), Jr = /* @__PURE__ */ Q(R, "Listbox"), Yr = /* @__PURE__ */ Q(B, "ListboxOption"), Xr = /* @__PURE__ */ Q(z, "ListboxGroup"), Zr = /* @__PURE__ */ Q(V, "ListboxOptionContent"), Qr = /* @__PURE__ */ Q(W, "StatusFeedbackPanel"), $r = /* @__PURE__ */ Q(Re, "StatusBadge"), ei = /* @__PURE__ */ Q(yt, "Combobox", { factoryCallbacks: [
126
109
  "renderOption",
127
110
  "renderValue",
128
111
  "renderPlaceholder",
129
112
  "renderSelectedValue",
130
113
  "renderNoResults"
131
- ] }), Kr = /* @__PURE__ */ Z(ot, "MultiSelect", { factoryCallbacks: [
114
+ ] }), ti = /* @__PURE__ */ Q(mt, "MultiSelect", { factoryCallbacks: [
132
115
  "renderOption",
133
116
  "renderValue",
134
117
  "renderPlaceholder",
135
118
  "renderSelectedValue",
136
119
  "renderNoResults"
137
- ] }), qr = /* @__PURE__ */ Z(it, "Avatar"), Jr = /* @__PURE__ */ Z(ft, "ProgressBar"), Yr = /* @__PURE__ */ Z(st, "Popover"), Xr = /* @__PURE__ */ Z(ut, "Tooltip"), Zr = /* @__PURE__ */ Z(gt, "Dialog"), Qr = /* @__PURE__ */ Z(mt, "ConfirmDialog"), $r = /* @__PURE__ */ Z(at, "DatePicker"), ei = /* @__PURE__ */ Z(lt, "DateRangePicker"), ti = /* @__PURE__ */ Z(Ce, "DialogHeader"), ni = /* @__PURE__ */ Z(Se, "DialogBody"), ri = /* @__PURE__ */ Z(ge, "DialogFooter"), ii = /* @__PURE__ */ Z(bt, "DistributionChart"), ai = /* @__PURE__ */ Z(_t, "BarChart"), oi = /* @__PURE__ */ Z(vt, "LineChart"), si = /* @__PURE__ */ Z(yt, "AreaChart"), ci = /* @__PURE__ */ Z(xt, "BrushRange"), li = /* @__PURE__ */ Z(Tt, "OptionButton"), ui = /* @__PURE__ */ Z(Ct, "HighlightedTextInput"), di = /* @__PURE__ */ Z(wt, "InlineFieldGroup"), fi = /* @__PURE__ */ Z(St, "Legend"), pi = /* @__PURE__ */ Z(Et, "TimeGrid"), mi = /* @__PURE__ */ Z(Mt, "FieldIcon"), hi = /* @__PURE__ */ Z(Vt, "FieldSummary"), gi = /* @__PURE__ */ Z(Pt, "FieldLibrary"), _i = /* @__PURE__ */ Z(jt, "FieldGroupHeading"), vi = /* @__PURE__ */ Z(At, "FieldGroup"), yi = /* @__PURE__ */ Z(It, "FieldList"), bi = /* @__PURE__ */ Z(zt, "FieldRow"), xi = /* @__PURE__ */ Z(Ot, "FieldContent"), Si = /* @__PURE__ */ Z(Nt, "FieldItem"), Ci = /* @__PURE__ */ Z(Ft, "FieldLibraryList"), wi = /* @__PURE__ */ Z(Ht, "SelectedField"), Ti = /* @__PURE__ */ Z(Dt, "FieldActions"), Ei = /* @__PURE__ */ Z(Bt, "FieldStatusBadge"), Di = /* @__PURE__ */ Z(Lt, "FieldRemoveButton"), Oi = /* @__PURE__ */ Z(Rt, "FieldRemoveIcon"), ki = /* @__PURE__ */ Z(kt, "FieldDropIndicator"), Ai = /* @__PURE__ */ Z(xe, "DialogForm"), ji = /* @__PURE__ */ Z(ve, "DialogCloseButton"), Mi = /* @__PURE__ */ Z(we, "DialogActionFooter"), Ni = /* @__PURE__ */ Z(be, "DialogActions"), Pi = /* @__PURE__ */ Z(_e, "DialogTitleInput"), Fi = /* @__PURE__ */ Z(ye, "EditableDialogHeader"), Ii = /* @__PURE__ */ Z(N, "ControlTooltip"), Li = /* @__PURE__ */ Z(Kt, "InspectorSection"), Ri = /* @__PURE__ */ Z(Wt, "IconChoiceGroup"), zi = /* @__PURE__ */ Z(Gt, "IconToggleButton"), Bi = /* @__PURE__ */ Z(qt, "TypographyControls"), Vi = /* @__PURE__ */ Z(Ut, "ComparisonPreview"), Hi = /* @__PURE__ */ Z(Ne, "FilterBadgeInfoButton"), Ui = /* @__PURE__ */ Z(Me, "FilterBadge"), Wi = /* @__PURE__ */ Z(o, "RatingStar"), Gi = /* @__PURE__ */ Z(s, "RatingChoice"), Ki = /* @__PURE__ */ Z(Jt, "ReorderList"), qi = /* @__PURE__ */ Z(Yt, "ReorderHandle"), Ji = /* @__PURE__ */ Z(Xt, "TimelineTrack"), Yi = /* @__PURE__ */ Z(Pe, "ActivityMessage"), Xi = /* @__PURE__ */ Z(Zt, "NumberDraft"), Zi = /* @__PURE__ */ Z(Qt, "MaskedDraft"), Qi = /* @__PURE__ */ Z(Ue, "DurationField"), $i = /* @__PURE__ */ Z(We, "DurationDraft"), ea = /* @__PURE__ */ Z($t, "MarkdownEditor"), ta = /* @__PURE__ */ Z(Be, "TemporalPicker"), na = /* @__PURE__ */ Z(Ve, "TemporalDraft"), ra = /* @__PURE__ */ Z(He, "DateTimeField"), ia = /* @__PURE__ */ Z(tn, "AssigneePicker"), aa = /* @__PURE__ */ Z(en, "AssigneeField"), oa = /* @__PURE__ */ Z(nn, "AssigneePickerLayout"), sa = /* @__PURE__ */ Z(t, "AiPromptInput"), ca = /* @__PURE__ */ Z(r, "AiSuggestions"), la = /* @__PURE__ */ Z(n, "AiActionStatus"), ua = /* @__PURE__ */ Z(e, "AiResult"), da = /* @__PURE__ */ Z(i, "AiAssistant"), fa = /* @__PURE__ */ Z(a, "AiRequestTrail"), pa = /* @__PURE__ */ Z(ht, "PdfViewer"), ma = /* @__PURE__ */ Z(pt, "PdfViewerToolbar");
120
+ ] }), ni = /* @__PURE__ */ Q(ft, "Avatar"), ri = /* @__PURE__ */ Q(bt, "ProgressBar"), ii = /* @__PURE__ */ Q(ht, "Popover"), ai = /* @__PURE__ */ Q(vt, "Tooltip"), oi = /* @__PURE__ */ Q(wt, "Dialog"), si = /* @__PURE__ */ Q(St, "ConfirmDialog"), ci = /* @__PURE__ */ Q(pt, "DatePicker"), li = /* @__PURE__ */ Q(_t, "DateRangePicker"), ui = /* @__PURE__ */ Q(ye, "DialogHeader"), di = /* @__PURE__ */ Q(ve, "DialogBody"), fi = /* @__PURE__ */ Q(fe, "DialogFooter"), pi = /* @__PURE__ */ Q(Ot, "DistributionChart"), mi = /* @__PURE__ */ Q(Tt, "BarChart"), hi = /* @__PURE__ */ Q(Et, "LineChart"), gi = /* @__PURE__ */ Q(Dt, "AreaChart"), _i = /* @__PURE__ */ Q(kt, "BrushRange"), vi = /* @__PURE__ */ Q(Nt, "OptionButton"), yi = /* @__PURE__ */ Q(jt, "HighlightedTextInput"), bi = /* @__PURE__ */ Q(Mt, "InlineFieldGroup"), xi = /* @__PURE__ */ Q(At, "Legend"), Si = /* @__PURE__ */ Q(Pt, "TimeGrid"), Ci = /* @__PURE__ */ Q(Bt, "FieldIcon"), wi = /* @__PURE__ */ Q(Yt, "FieldSummary"), Ti = /* @__PURE__ */ Q(Ht, "FieldLibrary"), Ei = /* @__PURE__ */ Q(zt, "FieldGroupHeading"), Di = /* @__PURE__ */ Q(Rt, "FieldGroup"), Oi = /* @__PURE__ */ Q(Wt, "FieldList"), ki = /* @__PURE__ */ Q(qt, "FieldRow"), Ai = /* @__PURE__ */ Q(It, "FieldContent"), ji = /* @__PURE__ */ Q(Vt, "FieldItem"), Mi = /* @__PURE__ */ Q(Ut, "FieldLibraryList"), Ni = /* @__PURE__ */ Q(Xt, "SelectedField"), Pi = /* @__PURE__ */ Q(Ft, "FieldActions"), Fi = /* @__PURE__ */ Q(Jt, "FieldStatusBadge"), Ii = /* @__PURE__ */ Q(Gt, "FieldRemoveButton"), Li = /* @__PURE__ */ Q(Kt, "FieldRemoveIcon"), Ri = /* @__PURE__ */ Q(Lt, "FieldDropIndicator"), zi = /* @__PURE__ */ Q(_e, "DialogForm"), Bi = /* @__PURE__ */ Q(me, "DialogCloseButton"), Vi = /* @__PURE__ */ Q(be, "DialogActionFooter"), Hi = /* @__PURE__ */ Q(ge, "DialogActions"), Ui = /* @__PURE__ */ Q(pe, "DialogTitleInput"), Wi = /* @__PURE__ */ Q(he, "EditableDialogHeader"), Gi = /* @__PURE__ */ Q(F, "ControlTooltip"), Ki = /* @__PURE__ */ Q(en, "InspectorSection"), qi = /* @__PURE__ */ Q(Qt, "IconChoiceGroup"), Ji = /* @__PURE__ */ Q($t, "IconToggleButton"), Yi = /* @__PURE__ */ Q(tn, "TypographyControls"), Xi = /* @__PURE__ */ Q(Zt, "ComparisonPreview"), Zi = /* @__PURE__ */ Q(Ge, "FilterBadgeInfoButton"), Qi = /* @__PURE__ */ Q(We, "FilterBadge"), $i = /* @__PURE__ */ Q(e, "RatingStar"), ea = /* @__PURE__ */ Q(t, "RatingChoice"), ta = /* @__PURE__ */ Q(nn, "ReorderList"), na = /* @__PURE__ */ Q(rn, "ReorderHandle"), ra = /* @__PURE__ */ Q(an, "TimelineTrack"), ia = /* @__PURE__ */ Q(Ke, "ActivityMessage"), aa = /* @__PURE__ */ Q(on, "NumberDraft"), oa = /* @__PURE__ */ Q(sn, "MaskedDraft"), sa = /* @__PURE__ */ Q(tt, "DurationField"), ca = /* @__PURE__ */ Q(nt, "DurationDraft"), la = /* @__PURE__ */ Q(cn, "HtmlEditor"), ua = /* @__PURE__ */ Q(Qe, "TemporalPicker"), da = /* @__PURE__ */ Q($e, "TemporalDraft"), fa = /* @__PURE__ */ Q(et, "DateTimeField"), pa = /* @__PURE__ */ Q(un, "AssigneePicker"), ma = /* @__PURE__ */ Q(ln, "AssigneeField"), ha = /* @__PURE__ */ Q(dn, "AssigneePickerLayout"), ga = /* @__PURE__ */ Q(De, "AiPromptInput"), _a = /* @__PURE__ */ Q(xe, "AiSuggestions"), va = /* @__PURE__ */ Q(Te, "AiActionStatus"), ya = /* @__PURE__ */ Q(Ae, "AiChangePreview"), ba = /* @__PURE__ */ Q(Ee, "AiResult"), xa = /* @__PURE__ */ Q(Ne, "AiAssistant"), Sa = /* @__PURE__ */ Q(Ie, "AiRequestTrail"), Ca = /* @__PURE__ */ Q(Ct, "PdfViewer"), wa = /* @__PURE__ */ Q(xt, "PdfViewerToolbar"), Ta = /* @__PURE__ */ Q(je, "AiChat"), Ea = /* @__PURE__ */ Q(Oe, "AiChatContent"), Da = /* @__PURE__ */ Q(Pe, "AiChatComposer"), Oa = /* @__PURE__ */ Q(Se, "AiChatEmptyState"), ka = /* @__PURE__ */ Q(Me, "AiMessage"), Aa = /* @__PURE__ */ Q(Ce, "AiMessageContent"), ja = /* @__PURE__ */ Q(Fe, "AiMessageActions"), Ma = /* @__PURE__ */ Q(ke, "AiReasoning"), Na = /* @__PURE__ */ Q(Le, "AiTask"), Pa = /* @__PURE__ */ Q(we, "AiTaskItem");
138
121
  //#endregion
139
- export { Yi as ActivityMessage, la as AiActionStatus, da as AiAssistant, sa as AiPromptInput, fa as AiRequestTrail, ua as AiResult, ca as AiSuggestions, Rr as Alert, si as AreaChart, aa as AssigneeField, ia as AssigneePicker, oa as AssigneePickerLayout, qr as Avatar, Sr as Badge, ai as BarChart, ci as BrushRange, Fr as Button, tr as ButtonGroup, Ln as Calendar, Bn as CalendarDay, Rn as CalendarHeader, Vn as CalendarMonthGrid, $ as CalendarPicker, zn as CalendarWeekdays, Hn as CalendarYearGrid, xn as Checkbox, pr as Chip, En as ChoiceChip, Tn as ChoiceChipInfoButton, wn as ChoiceChips, Nr as CircularProgress, Gn as ColorPalette, Kn as ColorPicker, Gr as Combobox, Vi as ComparisonPreview, Qr as ConfirmDialog, Ii as ControlTooltip, Cr as CountBadge, ur as DateInput, $r as DatePicker, ei as DateRangePicker, ra as DateTimeField, fr as DateTimeInput, yn as DeleteButton, Zr as Dialog, Mi as DialogActionFooter, Ni as DialogActions, ni as DialogBody, ji as DialogCloseButton, ri as DialogFooter, Ai as DialogForm, ti as DialogHeader, Pi as DialogTitleInput, _r as Disclosure, An as DisclosureSummary, ii as DistributionChart, qn as Dropdown, Jn as DropdownPopup, Yn as DropdownPopupContent, $i as DurationDraft, Qi as DurationField, Fi as EditableDialogHeader, Nn as EditorList, In as EditorListGroup, Pn as EditorListItem, Fn as EditorListItemContent, Mn as EditorPane, jn as EditorSplitLayout, Er as EmptyState, hn as FeedbackPanel, Ti as FieldActions, xi as FieldContent, ki as FieldDropIndicator, hr as FieldError, vi as FieldGroup, _i as FieldGroupHeading, mr as FieldHint, mi as FieldIcon, Si as FieldItem, gi as FieldLibrary, Ci as FieldLibraryList, yi as FieldList, Di as FieldRemoveButton, Oi as FieldRemoveIcon, bi as FieldRow, Ei as FieldStatusBadge, hi as FieldSummary, Ui as FilterBadge, Hi as FilterBadgeInfoButton, On as FilterChip, kn as FormField, gr as FormSection, ui as HighlightedTextInput, un as Icon, $n as IconButton, Ri as IconChoiceGroup, zi as IconToggleButton, di as InlineFieldGroup, gn as Input, Li as InspectorSection, fi as Legend, oi as LineChart, zr as Listbox, Vr as ListboxGroup, Br as ListboxOption, Hr as ListboxOptionContent, Tr as LoadingOverlay, ea as MarkdownEditor, Zi as MaskedDraft, Dr as Menu, Or as MenuItem, kr as MenuSeparator, Kr as MultiSelect, Q as NativeSelect, Xi as NumberDraft, cr as NumberInput, lr as NumberStepper, li as OptionButton, Mr as Pagination, Ir as Pane, vr as Panel, pa as PdfViewer, ma as PdfViewerToolbar, Yr as Popover, Xn as PreactRangeSlider, Jr as ProgressBar, ar as RadioGroup, pn as RangeSlider, Pr as Rating, Gi as RatingChoice, Wi as RatingStar, dn as RemovableChip, bn as RemoveButton, qi as ReorderHandle, Ki as ReorderList, jr as ResizeHandle, mn as ResourcePicker, Wn as ResourcePickerAvatar, Dn as SearchInput, nr as SegmentedControl, Cn as SegmentedSwitch, wi as SelectedField, Un as SharedResourcePicker, Zn as SingleValueSlider, fn as Slider, Qn as SliderField, wr as Spinner, Lr as SplitLayout, Wr as StatusBadge, Ur as StatusFeedbackPanel, Ar as Submenu, vn as SvgButton, _n as SvgIcon, Sn as Switch, ir as TabPanel, rr as Tabs, na as TemporalDraft, ta as TemporalPicker, or as TextInput, sr as Textarea, pi as TimeGrid, dr as TimeInput, Ji as TimelineTrack, er as ToggleButton, yr as Toolbar, br as ToolbarGroup, xr as ToolbarSeparator, Xr as Tooltip, Bi as TypographyControls, Z as createReactAdapter, ct as defaultPdfViewerText };
122
+ export { ia as ActivityMessage, va as AiActionStatus, xa as AiAssistant, ya as AiChangePreview, Ta as AiChat, Da as AiChatComposer, Ea as AiChatContent, Oa as AiChatEmptyState, ka as AiMessage, ja as AiMessageActions, Aa as AiMessageContent, ga as AiPromptInput, Ma as AiReasoning, Sa as AiRequestTrail, ba as AiResult, _a as AiSuggestions, Na as AiTask, Pa as AiTaskItem, qr as Alert, gi as AreaChart, ma as AssigneeField, pa as AssigneePicker, ha as AssigneePickerLayout, ni as Avatar, jr as Badge, mi as BarChart, _i as BrushRange, Wr as Button, ur as ButtonGroup, Gn as Calendar, Jn as CalendarDay, Kn as CalendarHeader, Yn as CalendarMonthGrid, Zn as CalendarPicker, qn as CalendarWeekdays, Xn as CalendarYearGrid, An as Checkbox, Sr as Chip, Fn as ChoiceChip, Pn as ChoiceChipInfoButton, Nn as ChoiceChips, Hr as CircularProgress, er as ColorPalette, tr as ColorPicker, ei as Combobox, Xi as ComparisonPreview, si as ConfirmDialog, Gi as ControlTooltip, Mr as CountBadge, yr as DateInput, ci as DatePicker, li as DateRangePicker, fa as DateTimeField, xr as DateTimeInput, On as DeleteButton, oi as Dialog, Vi as DialogActionFooter, Hi as DialogActions, di as DialogBody, Bi as DialogCloseButton, fi as DialogFooter, zi as DialogForm, ui as DialogHeader, Ui as DialogTitleInput, Er as Disclosure, Rn as DisclosureSummary, pi as DistributionChart, nr as Dropdown, rr as DropdownPopup, ir as DropdownPopupContent, ca as DurationDraft, sa as DurationField, Wi as EditableDialogHeader, Vn as EditorList, Wn as EditorListGroup, Hn as EditorListItem, Un as EditorListItemContent, Bn as EditorPane, zn as EditorSplitLayout, Fr as EmptyState, wn as FeedbackPanel, Pi as FieldActions, Ai as FieldContent, Ri as FieldDropIndicator, wr as FieldError, Di as FieldGroup, Ei as FieldGroupHeading, Cr as FieldHint, Ci as FieldIcon, ji as FieldItem, Ti as FieldLibrary, Mi as FieldLibraryList, Oi as FieldList, Ii as FieldRemoveButton, Li as FieldRemoveIcon, ki as FieldRow, Fi as FieldStatusBadge, wi as FieldSummary, Qi as FilterBadge, Zi as FilterBadgeInfoButton, In as FilterChip, Ln as FormField, Tr as FormSection, yi as HighlightedTextInput, la as HtmlEditor, yn as Icon, cr as IconButton, qi as IconChoiceGroup, Ji as IconToggleButton, bi as InlineFieldGroup, Tn as Input, Ki as InspectorSection, xi as Legend, hi as LineChart, Jr as Listbox, Xr as ListboxGroup, Yr as ListboxOption, Zr as ListboxOptionContent, Pr as LoadingOverlay, oa as MaskedDraft, Ir as Menu, Lr as MenuItem, Rr as MenuSeparator, ti as MultiSelect, aa as NumberDraft, _r as NumberInput, vr as NumberStepper, vi as OptionButton, Vr as Pagination, Gr as Pane, Dr as Panel, Ca as PdfViewer, wa as PdfViewerToolbar, ii as Popover, ar as PreactRangeSlider, ri as ProgressBar, mr as RadioGroup, Sn as RangeSlider, Ur as Rating, ea as RatingChoice, $i as RatingStar, bn as RemovableChip, kn as RemoveButton, na as ReorderHandle, ta as ReorderList, Br as ResizeHandle, Cn as ResourcePicker, $n as ResourcePickerAvatar, $ as SearchInput, dr as SegmentedControl, Mn as SegmentedSwitch, Ni as SelectedField, Qn as SharedResourcePicker, or as SingleValueSlider, xn as Slider, sr as SliderField, Nr as Spinner, Kr as SplitLayout, $r as StatusBadge, Qr as StatusFeedbackPanel, zr as Submenu, Dn as SvgButton, En as SvgIcon, jn as Switch, pr as TabPanel, fr as Tabs, da as TemporalDraft, ua as TemporalPicker, hr as TextInput, gr as Textarea, Si as TimeGrid, br as TimeInput, ra as TimelineTrack, lr as ToggleButton, Or as Toolbar, kr as ToolbarGroup, Ar as ToolbarSeparator, ai as Tooltip, Yi as TypographyControls, Q as createReactAdapter, gt as defaultPdfViewerText };
package/reorder-list.js CHANGED
@@ -1 +1 @@
1
- export { t as ReorderHandle, n as ReorderList } from "./_chunks/reorder-list-Cc3KmfAN.js";
1
+ export { t as ReorderHandle, n as ReorderList } from "./_chunks/reorder-list-CSlqAGHw.js";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
2
- import { DropdownPopup as t } from "../dropdown/popup.js";
2
+ import { t } from "../_chunks/popup-CT2uD3go.js";
3
3
  //#region src/resource-picker/resource-picker-popup.tsx
4
4
  function n({ triggerRef: n, portalTarget: r, popupId: i, children: a }) {
5
5
  return /* @__PURE__ */ e(t, {
@@ -1,7 +1,7 @@
1
1
  import { c as e, i as t, n, o as r, t as i } from "../_chunks/hooks.module-CG3gN83z.js";
2
2
  import { t as a } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
3
- import { createControlId as o } from "../core/control-id.js";
4
- import { t as s } from "../_chunks/chevron-down-GbplLa6s.js";
3
+ import { t as o } from "../_chunks/chevron-down-GbplLa6s.js";
4
+ import { createControlId as s } from "../core/control-id.js";
5
5
  import { t as ee } from "../_chunks/xmark-DD_PBvZI.js";
6
6
  import { SearchInput as c } from "../search-input/index.js";
7
7
  import { resourcePickerClasses as l, resourcePickerDataAttribute as u, resourcePickerIdKey as d } from "./resource-picker.utils.js";
@@ -10,7 +10,7 @@ import { ResourcePickerOption as p } from "./resource-picker-option.js";
10
10
  import { ResourcePickerPopup as m } from "./resource-picker-popup.js";
11
11
  //#region src/resource-picker/resource-picker.tsx
12
12
  function h({ resources: h, selectedResourceIds: v, text: y, onChange: b, classNames: x, disabled: S = !1, readOnly: C = !1, presentation: w = "inline", multiple: T = !0, preserveOrder: E = !1, unassigned: D, resourceDataAttribute: O, isResourceDisabled: k, getAvatarColor: A }) {
13
- let j = i(null), M = i(null), N = i(null), P = i(null), F = i(!1), [I] = t(() => o("rv-resource-list")), L = `${I}-popup`, R = w === "dropdown", [z, B] = t(!1), [V, H] = t(""), [U, W] = t(0), G = r(() => {
13
+ let j = i(null), M = i(null), N = i(null), P = i(null), F = i(!1), [I] = t(() => s("rv-resource-list")), L = `${I}-popup`, R = w === "dropdown", [z, B] = t(!1), [V, H] = t(""), [U, W] = t(0), G = r(() => {
14
14
  B(!1), H("");
15
15
  }, []), K = new Set(v.map(d)), q = n(() => E ? [...h] : [...h].sort((e, t) => e.name.localeCompare(t.name, void 0, {
16
16
  numeric: !0,
@@ -178,7 +178,7 @@ function h({ resources: h, selectedResourceIds: v, text: y, onChange: b, classNa
178
178
  }), /* @__PURE__ */ a("span", {
179
179
  class: "rv-resource-picker__chevron",
180
180
  "aria-hidden": "true",
181
- dangerouslySetInnerHTML: { __html: s }
181
+ dangerouslySetInnerHTML: { __html: o }
182
182
  })]
183
183
  }) : null, R ? z && Q ? /* @__PURE__ */ a(m, {
184
184
  triggerRef: M,
@@ -18,7 +18,7 @@
18
18
  --rv-control-border: var(--rv-resource-picker-border, var(--rv-ui-border));
19
19
  }
20
20
  .rv-resource-picker__search-control input {
21
- min-height: var(--rv-resource-picker-search-height, 36px);
21
+ min-height: var(--rv-resource-picker-search-height, var(--rv-control-height, 32px));
22
22
  }
23
23
 
24
24
  .rv-resource-picker__list {
@@ -133,13 +133,16 @@
133
133
  }
134
134
 
135
135
  .rv-resource-picker__control {
136
+ font-family: inherit;
137
+ font-size: var(--rv-control-font-size, 0.875rem);
138
+ line-height: 1;
136
139
  display: flex;
137
140
  box-sizing: border-box;
138
141
  width: 100%;
139
- min-height: var(--rv-resource-picker-control-height, 42px);
142
+ min-height: var(--rv-resource-picker-control-height, var(--rv-control-height, 32px));
140
143
  align-items: center;
141
144
  gap: 8px;
142
- padding: var(--rv-resource-picker-control-padding, 5px 10px);
145
+ padding: var(--rv-resource-picker-control-padding, 1px 10px);
143
146
  border: 1px solid var(
144
147
  --rv-resource-picker-border,
145
148
  color-mix(in srgb, currentColor 14%, transparent)
@@ -1,21 +1,18 @@
1
- import { LexicalEditor, TextFormatType } from 'lexical';
2
- export type MarkdownBlock = 'paragraph' | 'h1' | 'h2' | 'quote' | 'code' | 'bullet' | 'ordered';
3
- export interface MarkdownSelection {
4
- formats: TextFormatType[];
5
- block: MarkdownBlock | null;
1
+ export type HtmlFormat = 'bold' | 'italic' | 'strikethrough' | 'code';
2
+ export type HtmlBlock = 'paragraph' | 'h1' | 'h2' | 'quote' | 'code' | 'bullet' | 'ordered';
3
+ export interface HtmlSelection {
4
+ formats: HtmlFormat[];
5
+ block: HtmlBlock | null;
6
6
  link: boolean;
7
7
  }
8
- export declare const emptyMarkdownSelection: MarkdownSelection;
9
- export interface MarkdownEngine {
10
- editor: LexicalEditor;
11
- setMarkdown(value: string): void;
12
- format(mark: TextFormatType): void;
13
- block(value: MarkdownBlock): void;
14
- captureSelection(): void;
15
- link(value: string): boolean;
16
- destroy(): void;
17
- }
18
- /** Framework-independent Lexical adapter; consumers own toolbar and mode presentation. */
19
- export declare function createMarkdownEngine(root: HTMLElement, markdown: string, onChange: (value: string, unsafe: boolean) => void, onSelectionChange?: (selection: MarkdownSelection) => void): MarkdownEngine;
20
- /** Parse through Lexical so escaped/entity-encoded Markdown link URLs are checked after decoding. */
21
- export declare function hasUnsafeMarkdownLinks(markdown: string): boolean;
8
+ export declare const emptyHtmlSelection: HtmlSelection;
9
+ /** Native Range editing and bounded local history. No browser execCommand or editor library. */
10
+ export declare function createHtmlEngine(root: HTMLElement, html: string, onChange: (html: string) => void, onSelectionChange?: (selection: HtmlSelection) => void): {
11
+ setHtml: (value: string) => void;
12
+ format: (mark: HtmlFormat) => void;
13
+ block: (value: HtmlBlock) => void;
14
+ captureSelection: () => void;
15
+ link: (value: string) => boolean;
16
+ destroy: () => void;
17
+ };
18
+ export type HtmlEngine = ReturnType<typeof createHtmlEngine>;
@@ -1,15 +1,15 @@
1
1
  import { EditorActionText, EditorCommitOptions } from '../editor-actions';
2
- import { MarkdownEditorText } from './translations';
3
- export { defaultMarkdownEditorText, type MarkdownEditorText, } from './translations';
4
- export interface MarkdownEditorProps extends EditorCommitOptions {
2
+ import { HtmlEditorText } from './translations';
3
+ export { defaultHtmlEditorText, type HtmlEditorText } from './translations';
4
+ export interface HtmlEditorProps extends EditorCommitOptions {
5
5
  value: string;
6
6
  onApply: (value: string) => void;
7
7
  onCancel: () => void;
8
8
  required?: boolean;
9
9
  maxLength?: number;
10
- text?: Partial<MarkdownEditorText>;
10
+ text?: Partial<HtmlEditorText>;
11
11
  actions?: Partial<EditorActionText>;
12
12
  }
13
- export declare function MarkdownEditor(props: MarkdownEditorProps): import("../_vendor/preact/src/index").JSX.Element;
14
- export { markdownVisualIssues, isSafeMarkdownLink } from './model';
15
- export { markdownRenderNodes, type MarkdownRenderNode } from './render-model';
13
+ export declare function HtmlEditor(props: HtmlEditorProps): import("../_vendor/preact/src/index").JSX.Element;
14
+ export { sanitizeRichTextHtml, isSafeRichTextLink } from './model';
15
+ export { htmlRenderNodes, type HtmlRenderNode } from './render-model';
@@ -1 +1 @@
1
- export { t as MarkdownEditor, r as defaultMarkdownEditorText, i as isSafeMarkdownLink, n as markdownRenderNodes, a as markdownVisualIssues } from "../_chunks/rich-text-BzI1DyfF.js";
1
+ export { t as HtmlEditor, r as defaultHtmlEditorText, n as htmlRenderNodes, i as isSafeRichTextLink, a as sanitizeRichTextHtml } from "../_chunks/rich-text-CH7gIqOS.js";
@@ -1,3 +1,4 @@
1
- /** Supported Markdown boundaries: unsupported syntax remains editable as lossless source. */
2
- export declare function markdownVisualIssues(markdown: string): string[];
3
- export declare function isSafeMarkdownLink(value: string): boolean;
1
+ export declare function isSafeRichTextLink(value: string): boolean;
2
+ /** Parse inertly, then rebuild nodes; never mount user-provided HTML or attributes. */
3
+ export declare function richTextFragment(html: string, doc?: Document): DocumentFragment;
4
+ export declare function sanitizeRichTextHtml(html: string, doc?: Document): string;
@@ -1,9 +1,8 @@
1
- /** Framework-neutral, allowlisted content. Text is always rendered as text, never HTML. */
2
- export interface MarkdownRenderNode {
1
+ export interface HtmlRenderNode {
3
2
  tag?: string;
4
3
  text?: string;
5
4
  attrs?: Record<string, string | number>;
6
- children?: readonly MarkdownRenderNode[];
5
+ children?: readonly HtmlRenderNode[];
7
6
  }
8
- /** The renderer accepts exactly the same Markdown subset as the Visual editor. */
9
- export declare function markdownRenderNodes(markdown: string): readonly MarkdownRenderNode[];
7
+ /** Only allowlisted nodes reach a framework renderer; fresh VNodes are created per cell. */
8
+ export declare function htmlRenderNodes(html: string): readonly HtmlRenderNode[];
@@ -1,4 +1,4 @@
1
- .rv-markdown-editor {
1
+ .rv-rich-text-editor {
2
2
  width: min(560px, calc(100vw - 48px));
3
3
  &__toolbar {
4
4
  display: flex;
@@ -60,22 +60,13 @@
60
60
  padding-inline-start: 12px;
61
61
  margin-inline: 0;
62
62
  }
63
- .rv-markdown-bold {
64
- font-weight: 700;
65
- }
66
- .rv-markdown-italic {
67
- font-style: italic;
68
- }
69
- .rv-markdown-strike {
70
- text-decoration: line-through;
71
- }
72
- .rv-markdown-inline-code {
63
+ &__visual code {
73
64
  font-family: ui-monospace, monospace;
74
65
  background: var(--rv-ui-surface-sunken);
75
66
  }
76
67
  }
77
68
 
78
- .rv-markdown-cell {
69
+ .rv-rich-text-cell {
79
70
  color: inherit;
80
71
  font: inherit;
81
72
  white-space: pre-wrap;
@@ -1,9 +1,9 @@
1
- import { MarkdownEngine, MarkdownSelection } from './engine';
2
- import { MarkdownEditorText } from './translations';
3
- export declare function MarkdownToolbar({ engine, selection, text, showLink, onLink }: {
4
- engine: () => MarkdownEngine | undefined;
5
- selection: MarkdownSelection;
6
- text: Required<MarkdownEditorText>;
1
+ import { HtmlEngine, HtmlSelection } from './engine';
2
+ import { HtmlEditorText } from './translations';
3
+ export declare function HtmlToolbar({ engine, selection, text, showLink, onLink }: {
4
+ engine: () => HtmlEngine | undefined;
5
+ selection: HtmlSelection;
6
+ text: Required<HtmlEditorText>;
7
7
  showLink: boolean;
8
8
  onLink: () => void;
9
9
  }): import("../_vendor/preact/src/index").JSX.Element;
@@ -1,9 +1,8 @@
1
- /** All visible and accessible copy for the deliberately small Markdown editor. */
2
- export interface MarkdownEditorText {
1
+ /** Visible and accessible labels for the shared HTML editor. */
2
+ export interface HtmlEditorText {
3
3
  visual: string;
4
4
  source: string;
5
5
  label: string;
6
- unsupported: string;
7
6
  unsafeLink: string;
8
7
  requiredValue?: string;
9
8
  tooLong?: string;
@@ -25,16 +24,5 @@ export interface MarkdownEditorText {
25
24
  numberedList?: string;
26
25
  quote?: string;
27
26
  codeBlock?: string;
28
- images?: string;
29
- tables?: string;
30
- html?: string;
31
- referenceLinks?: string;
32
- taskLists?: string;
33
- horizontalRules?: string;
34
- alternateHeadings?: string;
35
- highlight?: string;
36
- extensions?: string;
37
- indentedCode?: string;
38
27
  }
39
- export declare const defaultMarkdownEditorText: Required<MarkdownEditorText>;
40
- export declare function markdownIssueLabels(issues: string[], text: Required<MarkdownEditorText>): string;
28
+ export declare const defaultHtmlEditorText: Required<HtmlEditorText>;
package/select.d.ts ADDED
@@ -0,0 +1,20 @@
1
+ import { ComponentChildren, JSX } from './_vendor/preact/src/index';
2
+ import { DropdownOption } from './dropdown/dropdown.types';
3
+ export type SelectOptionProps = JSX.IntrinsicElements['option'];
4
+ type Attributes = Omit<JSX.IntrinsicElements['select'], 'value' | 'defaultValue' | 'onChange' | 'onInput' | 'multiple' | 'ref'>;
5
+ export type SelectProps = Attributes & {
6
+ value?: string | number | readonly string[];
7
+ defaultValue?: string | number | readonly string[];
8
+ /** Optional domain policy for option descriptors; no native option nodes are mounted. */
9
+ optionPolicy?: (props: SelectOptionProps) => SelectOptionProps;
10
+ } & ({
11
+ multiple?: false;
12
+ onValueChange?: (value: string) => void;
13
+ } | {
14
+ multiple: true;
15
+ onValueChange?: (value: string[]) => void;
16
+ });
17
+ /** JSX options are data descriptors for Dropdown, never browser-native controls. */
18
+ export declare function selectOptions(children: ComponentChildren, policy?: SelectProps['optionPolicy'], group?: string, disabled?: boolean): DropdownOption<string>[];
19
+ export declare function Select(props: SelectProps): JSX.Element;
20
+ export {};
package/select.js ADDED
@@ -0,0 +1 @@
1
+ export { s as Select, c as selectOptions } from "./_chunks/native-control-C_yok8_-.js";
@@ -1,10 +1,10 @@
1
- import { showTopLayerPopup as e } from "../core/top-layer-popup.js";
2
- import { isUiMotionEnabled as t } from "../core/motion.js";
1
+ import { isUiMotionEnabled as e } from "../core/motion.js";
2
+ import { showTopLayerPopup as t } from "../core/top-layer-popup.js";
3
3
  import { animateStatusFeedback as n } from "./motion.js";
4
4
  //#region src/status-feedback/exit-snapshot.ts
5
5
  function r(r) {
6
6
  let i = r.ownerDocument.defaultView;
7
- if (!i || typeof r.animate != "function" || !t(r)) return;
7
+ if (!i || typeof r.animate != "function" || !e(r)) return;
8
8
  let a = r.getBoundingClientRect(), o = r.cloneNode(!0), s = [r, ...r.querySelectorAll("*")], c = [o, ...o.querySelectorAll("*")];
9
9
  o.removeAttribute("popover"), o.removeAttribute("id"), o.querySelectorAll("[id]").forEach((e) => e.removeAttribute("id")), o.querySelectorAll("[role], [aria-live]").forEach((e) => {
10
10
  e.removeAttribute("role"), e.removeAttribute("aria-live");
@@ -24,7 +24,7 @@ function r(r) {
24
24
  borderColor: l.borderColor,
25
25
  fontFamily: l.fontFamily,
26
26
  boxShadow: l.boxShadow
27
- }), r.ownerDocument.body.append(o), e(o), s.forEach((e, t) => {
27
+ }), r.ownerDocument.body.append(o), t(o), s.forEach((e, t) => {
28
28
  e.scrollTop && (c[t].scrollTop = e.scrollTop), e.scrollLeft && (c[t].scrollLeft = e.scrollLeft);
29
29
  });
30
30
  let u = () => {
@@ -1,4 +1,4 @@
1
1
  import { renderStatusBadge as e } from "./badge.js";
2
- import { StatusBadge as t, StatusFeedbackPanel as n, renderStatusFeedbackPanel as r } from "./render.js";
2
+ import { n as t, r as n, t as r } from "../_chunks/render-m5eMMwFR.js";
3
3
  import { StatusFeedbackPopoverController as i } from "./popover.js";
4
- export { t as StatusBadge, n as StatusFeedbackPanel, i as StatusFeedbackPopoverController, e as renderStatusBadge, r as renderStatusFeedbackPanel };
4
+ export { r as StatusBadge, t as StatusFeedbackPanel, i as StatusFeedbackPopoverController, e as renderStatusBadge, n as renderStatusFeedbackPanel };