@revolist/ui 4.0.1-rc → 4.0.3-rc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +345 -262
  3. package/_chunks/calendar-xpZ0v3xf.js +258 -0
  4. package/_chunks/chart-frame-Cmc7xU1i.js +130 -0
  5. package/_chunks/choice-chips-CHQTUdLs.js +110 -0
  6. package/_chunks/clock-BOhPNlW3.js +4 -0
  7. package/_chunks/{color-palette-BmZ7kH9R.js → color-palette-D8vyPfld.js} +41 -41
  8. package/_chunks/color-picker-CudqPYZo.js +138 -0
  9. package/_chunks/component-C_T2VN5u.js +863 -0
  10. package/_chunks/{component-metadata-BENbgTjU.js → component-metadata-BMOOmqx5.js} +0 -4
  11. package/_chunks/control-AHKXD5Eu.js +93 -0
  12. package/_chunks/{control-tooltip-BCNzQCXE.js → control-tooltip-uscKfAnV.js} +29 -29
  13. package/_chunks/{controller-CmLo-Ajc.js → controller-hRBm_Lfz.js} +15 -15
  14. package/_chunks/{controls-NEL5tDaz.js → controls-DsNi8V8I.js} +229 -214
  15. package/_chunks/{date-control-CYCkb1aQ.js → date-control-DrVFX13g.js} +21 -21
  16. package/_chunks/date-time-qIhp5vaX.js +768 -0
  17. package/_chunks/{delete-button-DnpmDNEJ.js → delete-button-CW9vjLnk.js} +7 -7
  18. package/_chunks/dialog.parts-CKGkC5zP.js +134 -0
  19. package/_chunks/duration-CL68Em0o.js +272 -0
  20. package/_chunks/editor-commit-Bq3wSgvr.js +12 -0
  21. package/_chunks/{editor-popup-B7fu_A_T.js → editor-popup-WDdtVDNA.js} +8 -8
  22. package/_chunks/field-context-D57PnBbH.js +5 -0
  23. package/_chunks/framework-mount--RTLIqE-.js +54 -0
  24. package/_chunks/history-controls-B3u3INEK.js +27 -0
  25. package/_chunks/hooks.module-CG3gN83z.js +157 -0
  26. package/_chunks/jsxRuntime.module-F6UFnpT-.js +30 -0
  27. package/_chunks/mount-DQ1cpppK.js +257 -0
  28. package/_chunks/native-control-C_yok8_-.js +605 -0
  29. package/_chunks/native.view-ByyZ1CT5.js +32 -0
  30. package/_chunks/{number-input-NnH57J4j.js → number-input-BKwA5FnM.js} +89 -89
  31. package/_chunks/picker-h1P5RUgp.js +122 -0
  32. package/_chunks/popup-CT2uD3go.js +367 -0
  33. package/_chunks/preact.module-BBM36DnO.js +290 -0
  34. package/_chunks/{rating-choice-CWAsNQNS.js → rating-choice-DZgmaic0.js} +10 -10
  35. package/_chunks/render-m5eMMwFR.js +83 -0
  36. package/_chunks/reorder-list-CSlqAGHw.js +59 -0
  37. package/_chunks/request-trail-DSlFix6i.js +618 -0
  38. package/_chunks/rich-text-CH7gIqOS.js +636 -0
  39. package/_chunks/rotate-right-Iha5ScJ1.js +4 -0
  40. package/_form.scss +1 -1
  41. package/_vendor/preact/LICENSE +21 -0
  42. package/_vendor/preact/compat/src/index.d.ts +353 -0
  43. package/_vendor/preact/compat/src/suspense-list.d.ts +16 -0
  44. package/_vendor/preact/compat/src/suspense.d.ts +19 -0
  45. package/_vendor/preact/hooks/src/index.d.ts +145 -0
  46. package/_vendor/preact/src/dom.d.ts +2548 -0
  47. package/_vendor/preact/src/index.d.ts +373 -0
  48. package/_vendor/preact/src/jsx.d.ts +2958 -0
  49. package/activity-message.d.ts +1 -1
  50. package/activity-message.js +16 -16
  51. package/ai/_chat.scss +195 -0
  52. package/ai/_style.scss +105 -34
  53. package/ai/chat.d.ts +63 -0
  54. package/ai/components.d.ts +20 -4
  55. package/ai/index.d.ts +2 -0
  56. package/ai/index.js +3 -3
  57. package/ai/mount.d.ts +30 -1
  58. package/ai/prompt-history.d.ts +13 -0
  59. package/ai/request-trail.d.ts +1 -1
  60. package/ai/transcript.d.ts +25 -0
  61. package/ai/translation-context.d.ts +1 -1
  62. package/ai/translations.d.ts +1 -1
  63. package/alert.d.ts +2 -2
  64. package/angular/angular.js +0 -3
  65. package/assignee/field.d.ts +2 -2
  66. package/assignee/index.js +86 -87
  67. package/assignee/layout.d.ts +2 -2
  68. package/assignee/picker.d.ts +1 -1
  69. package/avatar/index.js +25 -25
  70. package/avatar/index.view.d.ts +1 -1
  71. package/brush-range/component.d.ts +1 -1
  72. package/brush-range/component.js +30 -30
  73. package/buttons/delete-button.d.ts +2 -1
  74. package/buttons/delete-button.js +1 -1
  75. package/buttons/remove-button.d.ts +1 -1
  76. package/buttons/remove-button.js +3 -3
  77. package/buttons/svg-button.d.ts +2 -1
  78. package/buttons/svg-button.js +35 -35
  79. package/calendar/_calendar.scss +7 -2
  80. package/calendar/calendar.d.ts +1 -1
  81. package/calendar/calendar.js +1 -1
  82. package/calendar/caption.d.ts +1 -1
  83. package/calendar/day.d.ts +1 -1
  84. package/calendar/day.js +4 -4
  85. package/calendar/header.d.ts +1 -1
  86. package/calendar/header.js +35 -35
  87. package/calendar/index.js +2 -2
  88. package/calendar/month-grid.d.ts +1 -1
  89. package/calendar/month-grid.js +37 -37
  90. package/calendar/picker.d.ts +1 -1
  91. package/calendar/types.d.ts +1 -1
  92. package/calendar/year-grid.d.ts +1 -1
  93. package/calendar/year-grid.js +12 -12
  94. package/checkbox/index.d.ts +2 -2
  95. package/checkbox/index.js +9 -9
  96. package/choice-chips/index.d.ts +1 -1
  97. package/choice-chips/index.js +1 -1
  98. package/color-palette/color-palette.d.ts +1 -1
  99. package/color-palette/color-palette.js +1 -1
  100. package/color-palette/color-picker.d.ts +1 -1
  101. package/color-palette/color-picker.js +2 -2
  102. package/component-catalog.d.ts +34 -23
  103. package/control-attributes.js +7 -7
  104. package/control-presentation.js +18 -18
  105. package/controls.d.ts +12 -10
  106. package/controls.js +3 -3
  107. package/core/editor-commit.d.ts +1 -1
  108. package/core/editor-popup.d.ts +1 -1
  109. package/core/editor-popup.js +1 -1
  110. package/date-time/date-control.d.ts +1 -1
  111. package/date-time/field.d.ts +2 -2
  112. package/date-time/index.js +1 -1
  113. package/date-time/picker.d.ts +1 -1
  114. package/date-time/style.scss +4 -4
  115. package/date-time/time-control.d.ts +1 -1
  116. package/date-time/time-selection.d.ts +1 -1
  117. package/date-time/types.d.ts +1 -1
  118. package/dialog/dialog-action-footer.view.d.ts +1 -1
  119. package/dialog/dialog.dom.js +52 -52
  120. package/dialog/dialog.parts.d.ts +18 -18
  121. package/dialog/dialog.parts.js +1 -1
  122. package/dialog/dialog.preact.d.ts +1 -1
  123. package/dialog/dialog.preact.js +6 -6
  124. package/distribution-chart/area-chart.d.ts +1 -1
  125. package/distribution-chart/area-chart.js +25 -25
  126. package/distribution-chart/bar-chart.d.ts +6 -3
  127. package/distribution-chart/bar-chart.js +10 -6
  128. package/distribution-chart/chart-frame.d.ts +3 -2
  129. package/distribution-chart/index.d.ts +1 -1
  130. package/distribution-chart/index.js +6 -6
  131. package/distribution-chart/line-chart.d.ts +1 -1
  132. package/distribution-chart/line-chart.js +9 -9
  133. package/distribution-chart/types.d.ts +1 -1
  134. package/dropdown/content.d.ts +3 -2
  135. package/dropdown/content.js +1 -141
  136. package/dropdown/control.d.ts +14 -0
  137. package/dropdown/control.js +1 -0
  138. package/dropdown/control.view.d.ts +6 -0
  139. package/dropdown/dropdown.service.d.ts +1 -1
  140. package/dropdown/dropdown.service.js +9 -9
  141. package/dropdown/dropdown.types.d.ts +4 -0
  142. package/dropdown/editor-dropdown.style.scss +37 -9
  143. package/dropdown/index.d.ts +1 -1
  144. package/dropdown/index.js +3 -4
  145. package/dropdown/lookup-field.d.ts +1 -1
  146. package/dropdown/lookup-field.js +41 -41
  147. package/dropdown/popup.d.ts +1 -1
  148. package/dropdown/popup.js +1 -140
  149. package/duration/controls.d.ts +1 -1
  150. package/duration/index.d.ts +2 -2
  151. package/duration/index.js +1 -1
  152. package/duration/style.scss +1 -1
  153. package/editor-actions.d.ts +1 -1
  154. package/editor-actions.js +21 -20
  155. package/editor-layout/index.d.ts +1 -1
  156. package/editor-layout/index.js +27 -27
  157. package/field-configurator.d.ts +1 -1
  158. package/field-configurator.js +93 -93
  159. package/field-reorder.hook.js +32 -32
  160. package/fieldset.d.ts +3 -0
  161. package/filter/filters/slider/preact.js +3 -3
  162. package/filter/filters/slider/single.d.ts +1 -1
  163. package/filter/filters/slider/single.js +23 -23
  164. package/filter-badge.d.ts +1 -1
  165. package/filter-badge.js +23 -22
  166. package/filter-controls.d.ts +1 -1
  167. package/filter-controls.js +30 -30
  168. package/form-controls/field-context.d.ts +5 -0
  169. package/form-controls/index.js +16 -21
  170. package/form-controls/index.view.d.ts +2 -4
  171. package/form-controls/presentation.d.ts +1 -1
  172. package/form-controls/presentation.js +59 -51
  173. package/formatting/comparison-preview.d.ts +1 -1
  174. package/formatting/control-tooltip.d.ts +1 -1
  175. package/formatting/icon-controls.d.ts +1 -1
  176. package/formatting/index.js +105 -100
  177. package/formatting/inspector-section.d.ts +1 -1
  178. package/formatting/typography-controls.d.ts +1 -1
  179. package/framework-mount.d.ts +1 -1
  180. package/framework.js +215 -207
  181. package/history-controls.d.ts +14 -0
  182. package/history-controls.js +1 -0
  183. package/icons/icon.d.ts +1 -1
  184. package/icons/icon.js +1 -1
  185. package/legend.d.ts +1 -1
  186. package/legend.js +12 -12
  187. package/masked-input/index.d.ts +1 -1
  188. package/masked-input/index.js +109 -109
  189. package/native-control.d.ts +14 -12
  190. package/native-control.js +3 -26
  191. package/native-styles.css +1 -1
  192. package/native.js +40 -39
  193. package/number-input/index.d.ts +1 -1
  194. package/number-input/index.js +1 -1
  195. package/package.json +18 -14
  196. package/pagination.d.ts +3 -0
  197. package/pagination.js +43 -33
  198. package/pdf-viewer/component.d.ts +1 -1
  199. package/pdf-viewer/controller.js +1 -1
  200. package/pdf-viewer/header.d.ts +1 -1
  201. package/pdf-viewer/index.js +13 -13
  202. package/pdf-viewer/search-bar.d.ts +1 -1
  203. package/pdf-viewer/status.d.ts +1 -1
  204. package/pdf-viewer/style.scss +3 -4
  205. package/pdf-viewer/toolbar.d.ts +1 -1
  206. package/pickers.d.ts +1 -1
  207. package/preact-mount.d.ts +1 -1
  208. package/preact-mount.js +1 -1
  209. package/preact.d.ts +2 -0
  210. package/preact.js +62 -62
  211. package/rating-choice.d.ts +1 -1
  212. package/rating-choice.js +1 -1
  213. package/react-adapter.d.ts +1 -1
  214. package/react-control.d.ts +0 -1
  215. package/react-control.js +2 -2
  216. package/react.d.ts +13 -3
  217. package/react.js +71 -88
  218. package/reorder-list.d.ts +1 -1
  219. package/reorder-list.js +1 -1
  220. package/resource-picker/resource-picker-avatar.d.ts +1 -1
  221. package/resource-picker/resource-picker-avatar.js +14 -14
  222. package/resource-picker/resource-picker-option.d.ts +1 -1
  223. package/resource-picker/resource-picker-option.js +28 -28
  224. package/resource-picker/resource-picker-popup.d.ts +1 -1
  225. package/resource-picker/resource-picker-popup.js +3 -3
  226. package/resource-picker/resource-picker.d.ts +1 -1
  227. package/resource-picker/resource-picker.js +88 -88
  228. package/resource-picker/resource-picker.scss +6 -3
  229. package/rich-text/engine.d.ts +16 -19
  230. package/rich-text/index.d.ts +7 -7
  231. package/rich-text/index.js +1 -1
  232. package/rich-text/model.d.ts +4 -3
  233. package/rich-text/render-model.d.ts +4 -5
  234. package/rich-text/style.scss +3 -12
  235. package/rich-text/toolbar.d.ts +7 -7
  236. package/rich-text/translations.d.ts +3 -15
  237. package/search-input/index.js +12 -12
  238. package/segmented-switch/index.d.ts +1 -1
  239. package/segmented-switch/index.js +1 -1
  240. package/select.d.ts +20 -0
  241. package/select.js +1 -0
  242. package/status-feedback/exit-snapshot.js +4 -4
  243. package/status-feedback/index.js +2 -2
  244. package/status-feedback/popover.js +10 -10
  245. package/status-feedback/render.d.ts +2 -2
  246. package/status-feedback/render.js +3 -44
  247. package/status-feedback/status-feedback.scss +7 -0
  248. package/status-feedback/types.d.ts +4 -0
  249. package/status-feedback/use-auto-dismiss.d.ts +3 -0
  250. package/styles/_compositions.scss +3 -1
  251. package/styles/_control.scss +12 -4
  252. package/styles/_primitives.scss +9 -8
  253. package/styles.css +1 -1
  254. package/surfaces.js +49 -49
  255. package/svelte/UiComponent.server.js +1 -48
  256. package/svelte/UiComponent.svelte +0 -21
  257. package/svelte.js +33 -68
  258. package/switch/index.js +15 -15
  259. package/time-grid.d.ts +1 -1
  260. package/time-grid.js +58 -58
  261. package/timeline-track/component.d.ts +5 -1
  262. package/timeline-track/index.js +91 -74
  263. package/timeline-track/model.d.ts +9 -0
  264. package/timeline-track/model.js +10 -1
  265. package/ui.css +1 -1
  266. package/vue-adapter.d.ts +1 -1
  267. package/vue.d.ts +138 -119
  268. package/vue.js +150 -174
  269. package/_chunks/calendar-BsDxCYhI.js +0 -248
  270. package/_chunks/chart-frame-BvxbmEU9.js +0 -126
  271. package/_chunks/choice-chips-0HfOnK_4.js +0 -110
  272. package/_chunks/color-picker-BRv-__AM.js +0 -138
  273. package/_chunks/component-D4PH5UZT.js +0 -859
  274. package/_chunks/date-time-DjucJmbc.js +0 -769
  275. package/_chunks/dialog.parts-Dt3KinUz.js +0 -134
  276. package/_chunks/dropdown-CkGQBm1Q.js +0 -357
  277. package/_chunks/duration-BCaktcvz.js +0 -270
  278. package/_chunks/editor-commit-D6Rf5rGz.js +0 -12
  279. package/_chunks/framework-mount-BKIOsvY-.js +0 -54
  280. package/_chunks/mount-0-8opf1j.js +0 -90
  281. package/_chunks/native.view-8q_nwQ7x.js +0 -32
  282. package/_chunks/picker-oazJ7sO_.js +0 -121
  283. package/_chunks/reorder-list-BV3kZXso.js +0 -59
  284. package/_chunks/request-trail-D0oVzdRd.js +0 -347
  285. package/_chunks/rich-text-2Rla349o.js +0 -477
  286. package/react-native-select.d.ts +0 -6
  287. package/rich-text/syntax.d.ts +0 -2
  288. package/vue-native-select.d.ts +0 -9
@@ -1,28 +1,28 @@
1
- import { createControlId as e } from "../core/control-id.js";
2
- import { t } from "../_chunks/chevron-down-GbplLa6s.js";
3
- import { t as n } from "../_chunks/xmark-DD_PBvZI.js";
4
- import { SearchInput as r } from "../search-input/index.js";
5
- import { resourcePickerClasses as i, resourcePickerDataAttribute as ee, resourcePickerIdKey as a } from "./resource-picker.utils.js";
6
- import { ResourcePickerAvatar as o } from "./resource-picker-avatar.js";
7
- import { ResourcePickerOption as s } from "./resource-picker-option.js";
8
- import { ResourcePickerPopup as c } from "./resource-picker-popup.js";
9
- import { useCallback as l, useEffect as u, useMemo as d, useRef as f, useState as p } from "preact/hooks";
10
- import { jsx as m, jsxs as h } from "preact/jsx-runtime";
1
+ import { c as e, i as t, n, o as r, t as i } from "../_chunks/hooks.module-CG3gN83z.js";
2
+ import { t as a } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
3
+ import { t as o } from "../_chunks/chevron-down-GbplLa6s.js";
4
+ import { createControlId as s } from "../core/control-id.js";
5
+ import { t as ee } from "../_chunks/xmark-DD_PBvZI.js";
6
+ import { SearchInput as c } from "../search-input/index.js";
7
+ import { resourcePickerClasses as l, resourcePickerDataAttribute as u, resourcePickerIdKey as d } from "./resource-picker.utils.js";
8
+ import { ResourcePickerAvatar as f } from "./resource-picker-avatar.js";
9
+ import { ResourcePickerOption as p } from "./resource-picker-option.js";
10
+ import { ResourcePickerPopup as m } from "./resource-picker-popup.js";
11
11
  //#region src/resource-picker/resource-picker.tsx
12
- function g({ resources: g, selectedResourceIds: y, text: b, onChange: x, classNames: S, disabled: C = !1, readOnly: w = !1, presentation: te = "inline", multiple: T = !0, preserveOrder: E = !1, unassigned: D, resourceDataAttribute: O, isResourceDisabled: k, getAvatarColor: A }) {
13
- let j = f(null), M = f(null), N = f(null), P = f(null), F = f(!1), [I] = p(() => e("rv-resource-list")), L = `${I}-popup`, R = te === "dropdown", [z, B] = p(!1), [V, H] = p(""), [U, W] = p(0), G = l(() => {
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(() => 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
- }, []), K = new Set(y.map(a)), q = d(() => E ? [...g] : [...g].sort((e, t) => e.name.localeCompare(t.name, void 0, {
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,
17
17
  sensitivity: "base"
18
- })), [E, g]), J = d(() => {
18
+ })), [E, h]), J = n(() => {
19
19
  let e = V.trim().toLocaleLowerCase();
20
20
  return e ? q.filter((t) => `${t.name} ${t.role ?? ""}`.toLocaleLowerCase().includes(e)) : q;
21
- }, [V, q]), Y = d(() => {
22
- let e = new Map(g.map((e) => [a(e.id), e]));
23
- return y.map((t) => e.get(a(t))).filter((e) => !!e);
24
- }, [g, y]), X = R && U >= 0 && U < J.length ? `${I}-option-${U}` : void 0;
25
- u(() => {
21
+ }, [V, q]), Y = n(() => {
22
+ let e = new Map(h.map((e) => [d(e.id), e]));
23
+ return v.map((t) => e.get(d(t))).filter((e) => !!e);
24
+ }, [h, v]), X = R && U >= 0 && U < J.length ? `${I}-option-${U}` : void 0;
25
+ e(() => {
26
26
  if (!R || !z) return;
27
27
  let e = (e) => {
28
28
  let t = e.target, n = j.current?.ownerDocument.getElementById(L);
@@ -41,80 +41,80 @@ function g({ resources: g, selectedResourceIds: y, text: b, onChange: x, classNa
41
41
  R,
42
42
  z,
43
43
  L
44
- ]), u(() => {
44
+ ]), e(() => {
45
45
  W(J.length > 0 ? 0 : -1);
46
- }, [J]), u(() => {
46
+ }, [J]), e(() => {
47
47
  if (!z || !X || !P.current || !F.current) return;
48
48
  let e = P.current.ownerDocument.getElementById(X);
49
49
  e && P.current.contains(e) && e.closest(".rv-resource-picker__option")?.scrollIntoView?.({ block: "nearest" });
50
50
  }, [X, z]);
51
51
  let Z = (e) => {
52
- w || (x(e), !T && R && G());
53
- }, ne = () => {
52
+ C || (b(e), !T && R && G());
53
+ }, te = () => {
54
54
  let e = J[U];
55
55
  if (!e) return;
56
- let t = a(e.id);
57
- (!k?.(e) || K.has(t)) && Z(K.has(t) ? y.filter((e) => a(e) !== t) : T ? _([...y, e.id]) : [e.id]);
58
- }, re = (e) => {
56
+ let t = d(e.id);
57
+ (!k?.(e) || K.has(t)) && Z(K.has(t) ? v.filter((e) => d(e) !== t) : T ? g([...v, e.id]) : [e.id]);
58
+ }, ne = (e) => {
59
59
  if (e.key === "Escape") e.preventDefault(), e.stopPropagation(), G(), M.current?.focus();
60
60
  else if (e.key === "ArrowDown" || e.key === "ArrowUp") {
61
61
  if (e.preventDefault(), e.stopPropagation(), !J.length) return;
62
62
  F.current = !0, W((t) => e.key === "ArrowDown" ? t >= J.length - 1 ? 0 : t + 1 : t <= 0 ? J.length - 1 : t - 1);
63
- } else e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), ne());
64
- }, Q = typeof document > "u" ? null : j.current?.closest("dialog, .rv-dialog-overlay") ?? document.body, $ = /* @__PURE__ */ h("div", {
63
+ } else e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), te());
64
+ }, Q = typeof document > "u" ? null : j.current?.closest("dialog, .rv-dialog-overlay") ?? document.body, $ = /* @__PURE__ */ a("div", {
65
65
  class: "rv-resource-picker__popover",
66
- onKeyDown: R ? re : void 0,
67
- children: [/* @__PURE__ */ m(r, {
66
+ onKeyDown: R ? ne : void 0,
67
+ children: [/* @__PURE__ */ a(c, {
68
68
  inputRef: N,
69
69
  rootClassName: "rv-resource-picker__search-control",
70
- inputClassName: i("rv-resource-picker__search", S?.search),
70
+ inputClassName: l("rv-resource-picker__search", x?.search),
71
71
  value: V,
72
- disabled: C,
73
- placeholder: b.searchPlaceholder,
74
- "aria-label": b.searchAriaLabel,
72
+ disabled: S,
73
+ placeholder: y.searchPlaceholder,
74
+ "aria-label": y.searchAriaLabel,
75
75
  onValueChange: H
76
- }), /* @__PURE__ */ h("div", {
76
+ }), /* @__PURE__ */ a("div", {
77
77
  ref: P,
78
- class: i("rv-resource-picker__list", S?.list),
78
+ class: l("rv-resource-picker__list", x?.list),
79
79
  role: R ? "listbox" : "group",
80
80
  id: R ? I : void 0,
81
81
  "aria-multiselectable": R ? T : void 0,
82
82
  "aria-activedescendant": X,
83
- "aria-label": b.groupAriaLabel,
84
- children: [D && !w ? /* @__PURE__ */ h("label", {
85
- class: i("rv-resource-picker__option rv-resource-picker__option--unassigned", S?.option),
83
+ "aria-label": y.groupAriaLabel,
84
+ children: [D && !C ? /* @__PURE__ */ a("label", {
85
+ class: l("rv-resource-picker__option rv-resource-picker__option--unassigned", x?.option),
86
86
  children: [
87
- /* @__PURE__ */ m("input", {
87
+ /* @__PURE__ */ a("input", {
88
88
  type: "checkbox",
89
- checked: y.length === 0,
90
- disabled: C,
91
- ...ee(D.dataAttribute, ""),
92
- onChange: () => x([])
89
+ checked: v.length === 0,
90
+ disabled: S,
91
+ ...u(D.dataAttribute, ""),
92
+ onChange: () => b([])
93
93
  }),
94
- /* @__PURE__ */ m("span", {
94
+ /* @__PURE__ */ a("span", {
95
95
  class: "rv-resource-picker__avatar-spacer",
96
96
  "aria-hidden": "true"
97
97
  }),
98
- /* @__PURE__ */ m("span", {
99
- class: i("rv-resource-picker__details", S?.details),
100
- children: /* @__PURE__ */ m("strong", { children: D.label })
98
+ /* @__PURE__ */ a("span", {
99
+ class: l("rv-resource-picker__details", x?.details),
100
+ children: /* @__PURE__ */ a("strong", { children: D.label })
101
101
  })
102
102
  ]
103
- }) : null, g.length === 0 ? /* @__PURE__ */ m(v, {
104
- className: S?.muted,
105
- text: b.emptyResources
106
- }) : J.length === 0 ? /* @__PURE__ */ m(v, {
107
- className: S?.muted,
108
- text: b.emptySearch
109
- }) : J.map((e, t) => /* @__PURE__ */ m(s, {
103
+ }) : null, h.length === 0 ? /* @__PURE__ */ a(_, {
104
+ className: x?.muted,
105
+ text: y.emptyResources
106
+ }) : J.length === 0 ? /* @__PURE__ */ a(_, {
107
+ className: x?.muted,
108
+ text: y.emptySearch
109
+ }) : J.map((e, t) => /* @__PURE__ */ a(p, {
110
110
  resource: e,
111
- selected: K.has(a(e.id)),
112
- selectedResourceIds: y,
113
- disabled: C,
114
- readOnly: w,
111
+ selected: K.has(d(e.id)),
112
+ selectedResourceIds: v,
113
+ disabled: S,
114
+ readOnly: C,
115
115
  multiple: T,
116
116
  resourceDataAttribute: O,
117
- classNames: S,
117
+ classNames: x,
118
118
  isResourceDisabled: k,
119
119
  getAvatarColor: A,
120
120
  optionId: R ? `${I}-option-${t}` : void 0,
@@ -123,64 +123,64 @@ function g({ resources: g, selectedResourceIds: y, text: b, onChange: x, classNa
123
123
  F.current = !1, W(t);
124
124
  },
125
125
  onChange: Z
126
- }, a(e.id)))]
126
+ }, d(e.id)))]
127
127
  })]
128
128
  });
129
- return /* @__PURE__ */ h("div", {
129
+ return /* @__PURE__ */ a("div", {
130
130
  ref: j,
131
- class: i("rv-resource-picker", R ? "rv-resource-picker--dropdown" : void 0, z ? "rv-resource-picker--open" : void 0, S?.root),
132
- children: [R ? /* @__PURE__ */ h("div", {
131
+ class: l("rv-resource-picker", R ? "rv-resource-picker--dropdown" : void 0, z ? "rv-resource-picker--open" : void 0, x?.root),
132
+ children: [R ? /* @__PURE__ */ a("div", {
133
133
  ref: M,
134
134
  class: "rv-resource-picker__control",
135
135
  role: "combobox",
136
136
  "aria-expanded": z,
137
137
  "aria-controls": I,
138
138
  "aria-haspopup": "listbox",
139
- "aria-label": b.groupAriaLabel,
140
- tabIndex: C ? -1 : 0,
139
+ "aria-label": y.groupAriaLabel,
140
+ tabIndex: S ? -1 : 0,
141
141
  onClick: (e) => {
142
- C || (e.preventDefault(), z ? G() : B(!0));
142
+ S || (e.preventDefault(), z ? G() : B(!0));
143
143
  },
144
144
  onKeyDown: (e) => {
145
- C || e.target !== e.currentTarget || (e.key === "Enter" || e.key === " " || e.key === "ArrowDown") && (e.preventDefault(), B(!0));
145
+ S || e.target !== e.currentTarget || (e.key === "Enter" || e.key === " " || e.key === "ArrowDown") && (e.preventDefault(), B(!0));
146
146
  },
147
- children: [/* @__PURE__ */ m("div", {
147
+ children: [/* @__PURE__ */ a("div", {
148
148
  class: "rv-resource-picker__chips",
149
- children: Y.length ? Y.map((e) => /* @__PURE__ */ h("span", {
149
+ children: Y.length ? Y.map((e) => /* @__PURE__ */ a("span", {
150
150
  class: "rv-resource-picker__chip",
151
151
  children: [
152
- /* @__PURE__ */ m(o, {
152
+ /* @__PURE__ */ a(f, {
153
153
  resource: e,
154
- className: S?.avatar,
154
+ className: x?.avatar,
155
155
  color: A?.(e)
156
156
  }),
157
- /* @__PURE__ */ m("span", {
157
+ /* @__PURE__ */ a("span", {
158
158
  class: "rv-resource-picker__chip-label",
159
159
  children: e.name
160
160
  }),
161
- !C && !w ? /* @__PURE__ */ m("button", {
161
+ !S && !C ? /* @__PURE__ */ a("button", {
162
162
  type: "button",
163
163
  class: "rv-resource-picker__chip-remove",
164
164
  "aria-label": `Remove ${e.name}`,
165
165
  onClick: (t) => {
166
- t.stopPropagation(), x(y.filter((t) => a(t) !== a(e.id)));
166
+ t.stopPropagation(), b(v.filter((t) => d(t) !== d(e.id)));
167
167
  },
168
- children: /* @__PURE__ */ m("span", {
168
+ children: /* @__PURE__ */ a("span", {
169
169
  "aria-hidden": "true",
170
- dangerouslySetInnerHTML: { __html: n }
170
+ dangerouslySetInnerHTML: { __html: ee }
171
171
  })
172
172
  }) : null
173
173
  ]
174
- }, a(e.id))) : /* @__PURE__ */ m("span", {
174
+ }, d(e.id))) : /* @__PURE__ */ a("span", {
175
175
  class: "rv-resource-picker__placeholder",
176
- children: b.searchPlaceholder
176
+ children: y.searchPlaceholder
177
177
  })
178
- }), /* @__PURE__ */ m("span", {
178
+ }), /* @__PURE__ */ a("span", {
179
179
  class: "rv-resource-picker__chevron",
180
180
  "aria-hidden": "true",
181
- dangerouslySetInnerHTML: { __html: t }
181
+ dangerouslySetInnerHTML: { __html: o }
182
182
  })]
183
- }) : null, R ? z && Q ? /* @__PURE__ */ m(c, {
183
+ }) : null, R ? z && Q ? /* @__PURE__ */ a(m, {
184
184
  triggerRef: M,
185
185
  portalTarget: Q,
186
186
  popupId: L,
@@ -188,14 +188,14 @@ function g({ resources: g, selectedResourceIds: y, text: b, onChange: x, classNa
188
188
  }) : null : $]
189
189
  });
190
190
  }
191
- function _(e) {
192
- return [...new Map(e.map((e) => [a(e), e])).values()];
191
+ function g(e) {
192
+ return [...new Map(e.map((e) => [d(e), e])).values()];
193
193
  }
194
- function v({ className: e, text: t }) {
195
- return /* @__PURE__ */ m("span", {
196
- class: i("rv-resource-picker__empty", e),
194
+ function _({ className: e, text: t }) {
195
+ return /* @__PURE__ */ a("span", {
196
+ class: l("rv-resource-picker__empty", e),
197
197
  children: t
198
198
  });
199
199
  }
200
200
  //#endregion
201
- export { g as SharedResourcePicker };
201
+ export { h as SharedResourcePicker };
@@ -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("preact").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-2Rla349o.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
- }): import("preact").JSX.Element;
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>;
@@ -1,20 +1,20 @@
1
- import { n as e } from "../_chunks/native.view-8q_nwQ7x.js";
2
- import { h as t } from "preact";
3
- import { jsx as n, jsxs as r } 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 { n } from "../_chunks/native.view-ByyZ1CT5.js";
4
4
  //#region src/search-input/index.tsx
5
- function i() {
6
- return /* @__PURE__ */ r("svg", {
5
+ function r() {
6
+ return /* @__PURE__ */ t("svg", {
7
7
  width: "13",
8
8
  height: "13",
9
9
  viewBox: "0 0 24 24",
10
10
  fill: "none",
11
11
  stroke: "currentColor",
12
12
  "stroke-width": "2",
13
- children: [/* @__PURE__ */ n("circle", {
13
+ children: [/* @__PURE__ */ t("circle", {
14
14
  cx: "11",
15
15
  cy: "11",
16
16
  r: "8"
17
- }), /* @__PURE__ */ n("line", {
17
+ }), /* @__PURE__ */ t("line", {
18
18
  x1: "21",
19
19
  y1: "21",
20
20
  x2: "16.65",
@@ -22,17 +22,17 @@ function i() {
22
22
  })]
23
23
  });
24
24
  }
25
- function a({ value: r = "", inputRef: a, rootClassName: o = "", inputClassName: s = "", iconClassName: c = "", shortcutClassName: l = "", shortcut: u, icon: d, leading: f, hideIcon: p = !1, trailing: m, testId: h, onValueChange: g, onInput: _, type: v = "search", ...y }) {
25
+ function i({ value: i = "", inputRef: a, rootClassName: o = "", inputClassName: s = "", iconClassName: c = "", shortcutClassName: l = "", shortcut: u, icon: d, leading: f, hideIcon: p = !1, trailing: m, testId: h, onValueChange: g, onInput: _, type: v = "search", ...y }) {
26
26
  let b = (e) => {
27
27
  _?.(e), g?.(e.currentTarget.value, e);
28
28
  };
29
- return e(t, {
29
+ return n(e, {
30
30
  rootClassName: o,
31
31
  inputClassName: s,
32
32
  iconClassName: c,
33
33
  shortcutClassName: l,
34
34
  shortcut: u,
35
- icon: d ?? /* @__PURE__ */ n(i, {}),
35
+ icon: d ?? /* @__PURE__ */ t(r, {}),
36
36
  hideIcon: p,
37
37
  leading: f,
38
38
  trailing: m,
@@ -41,10 +41,10 @@ function a({ value: r = "", inputRef: a, rootClassName: o = "", inputClassName:
41
41
  ...y,
42
42
  ref: a,
43
43
  type: v,
44
- value: r,
44
+ value: i,
45
45
  onInput: b
46
46
  }
47
47
  });
48
48
  }
49
49
  //#endregion
50
- export { a as SearchInput };
50
+ export { i as SearchInput };
@@ -1,4 +1,4 @@
1
- import { JSX } from 'preact';
1
+ import { JSX } from '../_vendor/preact/src/index';
2
2
  export type SegmentedSwitchRenderable = any;
3
3
  export type SegmentedSwitchValue = string | number;
4
4
  export type SegmentedSwitchOption<T extends SegmentedSwitchValue = SegmentedSwitchValue> = {
@@ -1,4 +1,4 @@
1
- import { h as e } from "preact";
1
+ import { c as e } from "../_chunks/preact.module-BBM36DnO.js";
2
2
  //#region src/segmented-switch/index.tsx
3
3
  function t(e) {
4
4
  if (e === "tablist") return "tab";
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 };