@revolist/ui 4.0.6 → 4.0.10

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 (187) hide show
  1. package/README.md +37 -1
  2. package/_chunks/{arrow-up-Cw8hW9vp.js → arrow-up-BSYhTAus.js} +1 -1
  3. package/_chunks/{calculator-CDWOuAcp.js → calculator-BG0Xd_Uw.js} +1 -1
  4. package/_chunks/{calendar-BQYQLu8Q.js → calendar-CQHVwHLW.js} +3 -3
  5. package/_chunks/{chart-frame-GprenwEg.js → chart-frame-pj5EQxXr.js} +5 -5
  6. package/_chunks/{check-BwI7iCAm.js → check-BFIC9pge.js} +1 -1
  7. package/_chunks/{chevron-down-GbplLa6s.js → chevron-down-BkrpxJYD.js} +1 -1
  8. package/_chunks/{chevron-right-CM3ljziP.js → chevron-right-DZ79RmYV.js} +1 -1
  9. package/_chunks/{chevron-up-BLuNMPDn.js → chevron-up-Dt846uIR.js} +1 -1
  10. package/_chunks/{choice-chips-C5OxD0GV.js → choice-chips-BIGT7gjO.js} +4 -4
  11. package/_chunks/{clock-BOhPNlW3.js → clock-DTfr4p2S.js} +1 -1
  12. package/_chunks/{color-palette-7siNch__.js → color-palette-DL0f3igd.js} +3 -3
  13. package/_chunks/{color-picker-Cfc9eqZb.js → color-picker-BWBM9GE1.js} +7 -7
  14. package/_chunks/{component-C3k_8uIq.js → component-B22CtP21.js} +58 -43
  15. package/_chunks/{component-metadata-DlVkpW3h.js → component-metadata-B_hLjtM0.js} +4 -1
  16. package/_chunks/{configurator-actions-vRnI54mO.js → configurator-actions-BhIk4oM_.js} +18 -18
  17. package/_chunks/{configurator-field-icon-CmcM_sPs.js → configurator-field-icon-B0S_208W.js} +2 -2
  18. package/_chunks/{control-BRfF5DWQ.js → control-zCLB1tGz.js} +2 -2
  19. package/_chunks/{controller-BbiQuRt-.js → controller-ChkqiANQ.js} +1 -1
  20. package/_chunks/{controls-B3EgM_DS.js → controls-Ip2E6jIu.js} +10 -9
  21. package/_chunks/{date-control-87dcA5br.js → date-control-UmJvxQ5C.js} +4 -4
  22. package/_chunks/{date-time-CfiFYodx.js → date-time-B9YGqree.js} +57 -57
  23. package/_chunks/{delete-button-jneO24wa.js → delete-button-DQSK6G-4.js} +1 -1
  24. package/_chunks/{dialog.parts-NqEEVc9P.js → dialog.parts-CpMwNhTM.js} +5 -5
  25. package/_chunks/{duration-BGZ_qJ99.js → duration-BrsE4QgL.js} +15 -15
  26. package/_chunks/{editor-commit-Dyo-FMgD.js → editor-commit-BXIUX0As.js} +2 -2
  27. package/_chunks/{editor-popup-NNP9Fh9U.js → editor-popup-Ds0GPAcn.js} +3 -3
  28. package/_chunks/{field-configurator-DPulsY3l.js → field-configurator-BMQnmWNd.js} +10 -9
  29. package/_chunks/{field-context-C4_WrO2z.js → field-context-0oUi-w-G.js} +1 -1
  30. package/_chunks/{framework-mount-D4I8HpVp.js → framework-mount-CX0oj05W.js} +3 -3
  31. package/_chunks/{hooks.module-CG3gN83z.js → hooks.module-CXpO2xq6.js} +2 -2
  32. package/_chunks/{icon-toolbar-BAAdEvr9.js → icon-toolbar-C4J_Wqph.js} +6 -6
  33. package/_chunks/{jsxRuntime.module-F6UFnpT-.js → jsxRuntime.module-ksX_VSbv.js} +2 -2
  34. package/_chunks/{magnifying-glass-CvrTDSkB.js → magnifying-glass-BFZrFs8M.js} +1 -1
  35. package/_chunks/{minus-BOAR3A1C.js → minus-DE8NPK_D.js} +1 -1
  36. package/_chunks/{mount-C8CnIW9k.js → mount-BgI_QV2H.js} +7 -7
  37. package/_chunks/native-C9tJWAXF.js +52 -0
  38. package/_chunks/{native-CJm3eq3-.js → native-RudS9C_q.js} +2 -2
  39. package/_chunks/{native-control-um1L1wgZ.js → native-control-DjJ8Na3T.js} +49 -44
  40. package/_chunks/{number-input-CKiA4d1N.js → number-input-Bb5guKP4.js} +4 -4
  41. package/_chunks/{picker-igNshTRC.js → picker-DDUmhT93.js} +5 -5
  42. package/_chunks/{plus-CbGRkIGl.js → plus-BaXticu7.js} +1 -1
  43. package/_chunks/{popup-DECYM9FI.js → popup-HEUnOeq-.js} +5 -5
  44. package/_chunks/{preact.module-BBM36DnO.js → preact.module-DzTStiZX.js} +1 -1
  45. package/_chunks/{rating-choice-CepVfGUq.js → rating-choice-CtrABPp-.js} +3 -3
  46. package/_chunks/{render-bTk3curw.js → render-C6PFWlqh.js} +2 -2
  47. package/_chunks/{reorder-list-B4w3aARt.js → reorder-list-DvwZcFPH.js} +4 -4
  48. package/_chunks/{request-trail-B1zVRPEf.js → request-trail-D5PKrBlC.js} +11 -11
  49. package/_chunks/{rich-text-Ci4d6dHn.js → rich-text-DW1vcBAY.js} +31 -31
  50. package/_chunks/{rotate-left-BF6G883o.js → rotate-left-CTHmcGBP.js} +1 -1
  51. package/_chunks/{rotate-right-Iha5ScJ1.js → rotate-right-BIfKgVun.js} +1 -1
  52. package/_chunks/{selection-list-tooltips-m00U3L6z.js → selection-list-tooltips-j84Wufjj.js} +8 -4
  53. package/_chunks/{title-tooltip-ncldbUwS.js → title-tooltip-DKiWhsL7.js} +1 -1
  54. package/_chunks/tooltip-BkuH0JdW.js +93 -0
  55. package/_chunks/tooltip-session-BBKkwhLZ.js +244 -0
  56. package/_chunks/{tooltip-text-BN5WdGHn.js → tooltip-text-CH_c2J-J.js} +2 -2
  57. package/_chunks/top-layer-popup-DU1r_2v5.js +107 -0
  58. package/_chunks/{xmark-DD_PBvZI.js → xmark-DQRQfXZI.js} +1 -1
  59. package/activity-message.js +1 -1
  60. package/ai/index.js +2 -2
  61. package/angular/angular.d.ts +2 -0
  62. package/angular/angular.js +1 -0
  63. package/assignee/index.js +28 -28
  64. package/avatar/index.js +3 -3
  65. package/browser/favicon.svg +9 -0
  66. package/browser/pdf-viewer.css +2 -0
  67. package/browser/pdf.worker.min.mjs +28 -0
  68. package/browser/pdfjs-LICENSE +177 -0
  69. package/browser/revo-ui.global.js +671 -0
  70. package/browser/revo-ui.js +35538 -0
  71. package/browser/robots.txt +4 -0
  72. package/browser.d.ts +3 -0
  73. package/browser.js +34 -0
  74. package/brush-range/component.js +2 -2
  75. package/buttons/delete-button.js +1 -1
  76. package/buttons/remove-button.js +2 -2
  77. package/buttons/svg-button.js +4 -4
  78. package/calendar/_calendar.scss +12 -4
  79. package/calendar/calendar.js +1 -1
  80. package/calendar/day.js +1 -1
  81. package/calendar/header.js +2 -2
  82. package/calendar/index.js +2 -2
  83. package/calendar/month-grid.js +1 -1
  84. package/calendar/year-grid.js +1 -1
  85. package/checkbox/index.js +1 -1
  86. package/choice-chips/index.js +1 -1
  87. package/color-palette/color-palette.js +1 -1
  88. package/color-palette/color-picker.js +2 -2
  89. package/configurator-actions.js +1 -1
  90. package/configurator-aggregation-list.js +6 -6
  91. package/configurator-drop-zone.js +3 -3
  92. package/configurator-field-icon.js +1 -1
  93. package/configurator-focus.js +1 -1
  94. package/configurator-sections.js +3 -3
  95. package/control-presentation.js +2 -2
  96. package/controls.js +2 -2
  97. package/core/editor-popup.js +1 -1
  98. package/core/popover-controller.d.ts +31 -6
  99. package/core/popover-controller.js +171 -46
  100. package/core/popup-ownership.d.ts +1 -1
  101. package/core/tooltip-options.d.ts +143 -0
  102. package/core/tooltip-options.js +20 -0
  103. package/core/tooltip-session.d.ts +32 -8
  104. package/core/tooltip-surface.d.ts +14 -3
  105. package/core/tooltip.d.ts +20 -19
  106. package/core/top-layer-popup.d.ts +2 -1
  107. package/core/top-layer-popup.js +1 -1
  108. package/date-time/index.js +1 -1
  109. package/dialog/dialog.dom.js +3 -3
  110. package/dialog/dialog.parts.js +1 -1
  111. package/dialog/dialog.preact.js +1 -1
  112. package/distribution-chart/area-chart.js +3 -3
  113. package/distribution-chart/bar-chart.js +2 -2
  114. package/distribution-chart/index.js +1 -1
  115. package/distribution-chart/line-chart.js +2 -2
  116. package/dropdown/content.d.ts +3 -1
  117. package/dropdown/content.js +1 -1
  118. package/dropdown/control.js +1 -1
  119. package/dropdown/dropdown.service.js +56 -56
  120. package/dropdown/index.js +2 -2
  121. package/dropdown/lookup-field.js +7 -7
  122. package/dropdown/popup.js +1 -1
  123. package/duration/index.js +1 -1
  124. package/editor-actions.js +3 -3
  125. package/editor-layout/index.js +3 -3
  126. package/field-configurator.js +1 -1
  127. package/field-reorder.hook.js +1 -1
  128. package/filter/filters/slider/preact.js +1 -1
  129. package/filter/filters/slider/runtime.js +1 -1
  130. package/filter/filters/slider/single.js +2 -2
  131. package/filter-badge.js +4 -4
  132. package/filter-controls.js +3 -3
  133. package/form-controls/index.js +3 -3
  134. package/form-controls/presentation.js +4 -4
  135. package/formatting/index.js +7 -7
  136. package/framework.js +135 -135
  137. package/history-controls.js +3 -3
  138. package/icon-toolbar.js +1 -1
  139. package/icons/icon.js +1 -1
  140. package/legend.js +1 -1
  141. package/masked-input/index.js +3 -3
  142. package/native-control.js +1 -1
  143. package/native.js +29 -79
  144. package/number-input/index.js +1 -1
  145. package/package.json +21 -1
  146. package/pagination.js +1 -1
  147. package/pdf-viewer/controller.js +1 -1
  148. package/pdf-viewer/index.js +3 -3
  149. package/pickers.d.ts +11 -4
  150. package/preact-mount.js +1 -1
  151. package/preact.d.ts +2 -0
  152. package/preact.js +66 -65
  153. package/rating-choice.js +1 -1
  154. package/react-adapter.d.ts +1 -1
  155. package/react.d.ts +2 -0
  156. package/react.js +64 -63
  157. package/reorder-list.js +1 -1
  158. package/resource-picker/resource-picker-avatar.js +2 -2
  159. package/resource-picker/resource-picker-option.js +1 -1
  160. package/resource-picker/resource-picker-popup.js +2 -2
  161. package/resource-picker/resource-picker.js +5 -5
  162. package/rich-text/index.js +1 -1
  163. package/search-input/index.js +3 -3
  164. package/segmented-switch/index.js +1 -1
  165. package/select.js +1 -1
  166. package/selection-list.js +1 -1
  167. package/status-feedback/exit-snapshot.js +1 -1
  168. package/status-feedback/header.js +3 -3
  169. package/status-feedback/index.js +1 -1
  170. package/status-feedback/popover.js +1 -1
  171. package/status-feedback/render.js +1 -1
  172. package/styles.css +1 -1
  173. package/surfaces.d.ts +1 -0
  174. package/surfaces.js +25 -24
  175. package/svelte.d.ts +2 -0
  176. package/svelte.js +30 -29
  177. package/switch/index.js +2 -2
  178. package/time-grid.js +4 -4
  179. package/timeline-track/_style.scss +33 -2
  180. package/timeline-track/component.d.ts +10 -1
  181. package/timeline-track/index.js +136 -74
  182. package/ui.css +1 -1
  183. package/vue.d.ts +11 -13
  184. package/vue.js +94 -90
  185. package/_chunks/tooltip-h-Z8yFBY.js +0 -54
  186. package/_chunks/tooltip-session-CBtRMBPr.js +0 -110
  187. package/_chunks/top-layer-popup-CKJ7VJOF.js +0 -59
package/native.js CHANGED
@@ -1,81 +1,31 @@
1
1
  import { calculateAnchoredPopoverPosition as e } from "./core/anchored-popover.js";
2
- import { t } from "./_chunks/mount-C8CnIW9k.js";
3
- import { i as n } from "./_chunks/hooks.module-CG3gN83z.js";
4
- import { t as r } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
5
- import { createPreactElement as i, releasePreactElement as a, renderPreactInto as o } from "./preact-mount.js";
6
- import { a as ee, c as te, i as s, n as c, r as l, s as u, t as d } from "./_chunks/top-layer-popup-CKJ7VJOF.js";
2
+ import { t } from "./_chunks/mount-BgI_QV2H.js";
3
+ import { a as n, i as r, l as i, n as a, r as o, s, t as c } from "./_chunks/top-layer-popup-DU1r_2v5.js";
4
+ import { getUiMotionDuration as l, inheritUiMotion as u, isUiMotionEnabled as d } from "./core/motion.js";
7
5
  import { createControlId as f } from "./core/control-id.js";
8
- import { getUiMotionDuration as p, inheritUiMotion as m, isUiMotionEnabled as h } from "./core/motion.js";
9
- import { PopoverController as g, TooltipController as _, createTooltipElement as v } from "./core/popover-controller.js";
10
- import { controlAttributes as y, controlClassName as b } from "./control-attributes.js";
11
- import { createControl as x, decorateIconAction as S, nativeControlTag as C, registerControl as w, renderControl as T } from "./control-presentation.js";
12
- import { t as E } from "./_chunks/control-BRfF5DWQ.js";
13
- import { PaginationPanel as D, paginationItems as O, renderPaginationButton as k } from "./pagination.js";
14
- import { G as A, H as j, K as M, R as N, U as P, V as F, W as I, z as L } from "./_chunks/controls-B3EgM_DS.js";
15
- import { r as R, t as z } from "./_chunks/tooltip-h-Z8yFBY.js";
16
- import { d as B, u as V } from "./_chunks/dialog.parts-NqEEVc9P.js";
17
- import { createDialogButton as H, createDialogCloseButton as U, createDialogElements as W, getDialogFocusableElements as G, trapDialogFocus as K } from "./dialog/dialog.dom.js";
18
- import { attachDialogDrag as q } from "./dialog/dialog.drag.js";
19
- import { t as J } from "./_chunks/tooltip-text-BN5WdGHn.js";
20
- import { DialogController as Y, attachMenuKeyboard as X, attachResizeHandle as ne } from "./surfaces.js";
21
- import { normalizeProgressRange as Z } from "./progress/range.js";
22
- import { badgeClassName as re } from "./badge.js";
23
- import { createFormField as ie, createTextControl as ae } from "./form-controls/index.js";
24
- import { AVATAR_CELL_BACKGROUNDS as oe } from "./color-palette/common-palettes.js";
25
- import { AvatarElement as se, avatarTemplate as ce, avatarWithTextTemplate as le, createAvatarElement as ue, getAvatarCellBackground as de, getAvatarIndex as fe, getAvatarInitials as pe } from "./avatar/index.js";
26
- import "./dialog/dialog.types.js";
27
- import { renderProgressBar as me } from "./progress/bar.js";
28
- import { renderRangeSlider as he } from "./filter/filters/slider/component.js";
29
- import "./filter/filters/slider/types.js";
30
- import { renderCircularProgress as ge } from "./progress/circular.js";
31
- import { applyControlPresentation as _e } from "./html-controls.js";
32
- import { n as ve, t as ye } from "./_chunks/native-CJm3eq3-.js";
33
- import { a as be, c as xe, d as Se, f as Ce, h as we, i as Te, l as Ee, m as De, n as Oe, o as Q, p as ke, r as Ae, s as je, t as Me, u as Ne } from "./_chunks/cell-visuals-r6DOOhGh.js";
34
- import { t as Pe } from "./_chunks/color-picker-Cfc9eqZb.js";
35
- //#region package/icons/drawing-tools.ts
36
- var Fe = {
37
- link: "M10 13a5 5 0 0 0 7 .5l3-3a5 5 0 0 0-7-7l-2 2 M14 11a5 5 0 0 0-7-.5l-3 3a5 5 0 0 0 7 7l2-2",
38
- select: "M5 3 19 12 12 13 9 20Z M12 13l5 7",
39
- rectangle: "M4 5h16v14H4Z",
40
- line: "M5 19 19 5 M4 18l2 2 M18 4l2 2",
41
- arrow: "M5 19 19 5 M9 5h10v10",
42
- note: "M5 3h14v14l-4 4H5Z M15 21v-4h4 M8 8h8 M8 12h6"
43
- };
44
- //#endregion
45
- //#region package/color-palette/native.tsx
46
- function Ie(e) {
47
- let [t, i] = n(e.value);
48
- return /* @__PURE__ */ r(Pe, {
49
- ...e,
50
- value: t,
51
- customHexLabel: e.customLabel,
52
- onChange: (t) => {
53
- i(t), e.onChange(t);
54
- }
55
- });
56
- }
57
- function Le(e, t) {
58
- let n = i(e.ownerDocument, /* @__PURE__ */ r(Ie, { ...t }));
59
- return e.append(n), { destroy() {
60
- a(n);
61
- } };
62
- }
63
- //#endregion
64
- //#region package/alert-native.tsx
65
- function $(e, { content: t, ...n }) {
66
- o(e, /* @__PURE__ */ r(N, {
67
- ...n,
68
- children: t === void 0 ? n.children : typeof t == "string" ? t : /* @__PURE__ */ r("span", { ref: (e) => {
69
- e && e.replaceChildren(t);
70
- } })
71
- }));
72
- }
73
- function Re(e, t) {
74
- let n = i(e, /* @__PURE__ */ r("div", {}));
75
- return $(n, t), n;
76
- }
77
- function ze(e) {
78
- o(e, null), a(e);
79
- }
80
- //#endregion
81
- export { oe as AVATAR_CELL_BACKGROUNDS, V as ActionFooterView, se as AvatarElement, z as ControlTooltip, Fe as DRAWING_TOOL_PATHS, Y as DialogController, D as PaginationPanel, g as PopoverController, ee as TOOLTIP_STYLES, _ as TooltipController, J as TooltipText, _e as applyControlPresentation, q as attachDialogDrag, X as attachMenuKeyboard, ne as attachResizeHandle, ce as avatarTemplate, le as avatarWithTextTemplate, re as badgeClassName, e as calculateAnchoredPopoverPosition, y as controlAttributes, b as controlClassName, Re as createAlertElement, ue as createAvatarElement, F as createButtonElement, x as createControl, f as createControlId, H as createDialogButton, U as createDialogCloseButton, W as createDialogElements, E as createDropdownControl, ie as createFormField, ye as createSearchInput, ae as createTextControl, v as createTooltipElement, S as decorateIconAction, u as ensureTooltipStyles, Oe as formatTimelineEvents, de as getAvatarCellBackground, fe as getAvatarIndex, pe as getAvatarInitials, G as getDialogFocusableElements, p as getUiMotionDuration, d as hideTopLayerPopup, m as inheritUiMotion, h as isUiMotionEnabled, t as mountAiAssistant, Le as mountColorPicker, B as mountDialogActionFooter, C as nativeControlTag, Z as normalizeProgressRange, s as ownsPopupTarget, O as paginationItems, c as popupOwnsTarget, te as prepareTooltipSurface, w as registerControl, ze as releaseAlertElement, je as renderAggregateSummary, L as renderAlert, $ as renderAlertInto, xe as renderBadgeValue, Ee as renderChange, ge as renderCircularProgress, T as renderControl, j as renderCounter, Te as renderHeatmap, Ne as renderLabelledIcon, P as renderLoadingIndicator, I as renderMenuItem, be as renderMiniBarChart, k as renderPaginationButton, Se as renderPercentageSummary, Me as renderPie, me as renderProgressBar, Ce as renderProgressLine, ke as renderProgressLineValue, he as renderRangeSlider, A as renderRatingStars, M as renderScalarSlider, ve as renderSearchInput, Q as renderSparkline, De as renderThumbs, Ae as renderTimeline, we as renderTypeIcon, l as showTopLayerPopup, K as trapDialogFocus, R as useTooltip };
6
+ import { PopoverController as p, TooltipController as m, createTooltipElement as h } from "./core/popover-controller.js";
7
+ import { controlAttributes as g, controlClassName as _ } from "./control-attributes.js";
8
+ import { createControl as v, decorateIconAction as y, nativeControlTag as b, registerControl as x, renderControl as S } from "./control-presentation.js";
9
+ import { t as C } from "./_chunks/control-zCLB1tGz.js";
10
+ import { PaginationPanel as w, paginationItems as T, renderPaginationButton as E } from "./pagination.js";
11
+ import { G as D, H as O, K as k, U as A, V as j, W as M, z as N } from "./_chunks/controls-Ip2E6jIu.js";
12
+ import { r as P, t as F } from "./_chunks/tooltip-BkuH0JdW.js";
13
+ import { d as I, u as L } from "./_chunks/dialog.parts-CpMwNhTM.js";
14
+ import { createDialogButton as R, createDialogCloseButton as z, createDialogElements as B, getDialogFocusableElements as V, trapDialogFocus as H } from "./dialog/dialog.dom.js";
15
+ import { attachDialogDrag as U } from "./dialog/dialog.drag.js";
16
+ import { t as W } from "./_chunks/tooltip-text-CH_c2J-J.js";
17
+ import { TooltipGroup as G, createTooltipGroup as K } from "./core/tooltip-options.js";
18
+ import { DialogController as q, attachMenuKeyboard as J, attachResizeHandle as Y } from "./surfaces.js";
19
+ import { normalizeProgressRange as X } from "./progress/range.js";
20
+ import { badgeClassName as Z } from "./badge.js";
21
+ import { createFormField as Q, createTextControl as $ } from "./form-controls/index.js";
22
+ import { AVATAR_CELL_BACKGROUNDS as ee } from "./color-palette/common-palettes.js";
23
+ import { AvatarElement as te, avatarTemplate as ne, avatarWithTextTemplate as re, createAvatarElement as ie, getAvatarCellBackground as ae, getAvatarIndex as oe, getAvatarInitials as se } from "./avatar/index.js";
24
+ import { renderProgressBar as ce } from "./progress/bar.js";
25
+ import { renderRangeSlider as le } from "./filter/filters/slider/component.js";
26
+ import { renderCircularProgress as ue } from "./progress/circular.js";
27
+ import { applyControlPresentation as de } from "./html-controls.js";
28
+ import { n as fe, t as pe } from "./_chunks/native-RudS9C_q.js";
29
+ import { a as me, i as he, n as ge, r as _e, t as ve } from "./_chunks/native-C9tJWAXF.js";
30
+ import { a as ye, c as be, d as xe, f as Se, h as Ce, i as we, l as Te, m as Ee, n as De, o as Oe, p as ke, r as Ae, s as je, t as Me, u as Ne } from "./_chunks/cell-visuals-r6DOOhGh.js";
31
+ export { ee as AVATAR_CELL_BACKGROUNDS, L as ActionFooterView, te as AvatarElement, F as ControlTooltip, me as DRAWING_TOOL_PATHS, q as DialogController, w as PaginationPanel, p as PopoverController, n as TOOLTIP_STYLES, m as TooltipController, G as TooltipGroup, W as TooltipText, de as applyControlPresentation, U as attachDialogDrag, J as attachMenuKeyboard, Y as attachResizeHandle, ne as avatarTemplate, re as avatarWithTextTemplate, Z as badgeClassName, e as calculateAnchoredPopoverPosition, g as controlAttributes, _ as controlClassName, ve as createAlertElement, ie as createAvatarElement, j as createButtonElement, v as createControl, f as createControlId, R as createDialogButton, z as createDialogCloseButton, B as createDialogElements, C as createDropdownControl, Q as createFormField, pe as createSearchInput, $ as createTextControl, h as createTooltipElement, K as createTooltipGroup, y as decorateIconAction, s as ensureTooltipStyles, De as formatTimelineEvents, ae as getAvatarCellBackground, oe as getAvatarIndex, se as getAvatarInitials, V as getDialogFocusableElements, l as getUiMotionDuration, c as hideTopLayerPopup, u as inheritUiMotion, d as isUiMotionEnabled, t as mountAiAssistant, he as mountColorPicker, I as mountDialogActionFooter, b as nativeControlTag, X as normalizeProgressRange, r as ownsPopupTarget, T as paginationItems, a as popupOwnsTarget, i as prepareTooltipSurface, x as registerControl, ge as releaseAlertElement, je as renderAggregateSummary, N as renderAlert, _e as renderAlertInto, be as renderBadgeValue, Te as renderChange, ue as renderCircularProgress, S as renderControl, O as renderCounter, we as renderHeatmap, Ne as renderLabelledIcon, A as renderLoadingIndicator, M as renderMenuItem, ye as renderMiniBarChart, E as renderPaginationButton, xe as renderPercentageSummary, Me as renderPie, ce as renderProgressBar, Se as renderProgressLine, ke as renderProgressLineValue, le as renderRangeSlider, D as renderRatingStars, k as renderScalarSlider, fe as renderSearchInput, Oe as renderSparkline, Ee as renderThumbs, Ae as renderTimeline, Ce as renderTypeIcon, o as showTopLayerPopup, H as trapDialogFocus, P as useTooltip };
@@ -1 +1 @@
1
- export { t as NumberDraft, n as formatNumberDraft, r as formatNumberValue, i as parseNumberInput, a as stepNumberInput } from "../_chunks/number-input-CKiA4d1N.js";
1
+ export { t as NumberDraft, n as formatNumberDraft, r as formatNumberValue, i as parseNumberInput, a as stepNumberInput } from "../_chunks/number-input-Bb5guKP4.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolist/ui",
3
- "version": "4.0.6",
3
+ "version": "4.0.10",
4
4
  "type": "module",
5
5
  "description": "Revo UI: UI components for financial apps, reporting dashboards, and project management with React, Vue, Angular, Svelte, Preact, and vanilla TypeScript adapters",
6
6
  "author": "revolist",
@@ -44,6 +44,8 @@
44
44
  },
45
45
  "main": "./native.js",
46
46
  "module": "./native.js",
47
+ "unpkg": "./browser/revo-ui.global.js",
48
+ "jsdelivr": "./browser/revo-ui.global.js",
47
49
  "types": "./native.d.ts",
48
50
  "exports": {
49
51
  ".": {
@@ -61,6 +63,11 @@
61
63
  "import": "./native.js",
62
64
  "default": "./native.js"
63
65
  },
66
+ "./browser": {
67
+ "types": "./browser.d.ts",
68
+ "import": "./browser/revo-ui.js",
69
+ "default": "./browser/revo-ui.js"
70
+ },
64
71
  "./preact-mount": {
65
72
  "types": "./preact-mount.d.ts",
66
73
  "import": "./preact-mount.js",
@@ -294,6 +301,11 @@
294
301
  "import": "./core/control-id.js",
295
302
  "default": "./core/control-id.js"
296
303
  },
304
+ "./core/tooltip-options": {
305
+ "types": "./core/tooltip-options.d.ts",
306
+ "import": "./core/tooltip-options.js",
307
+ "default": "./core/tooltip-options.js"
308
+ },
297
309
  "./dialog/dialog.types": {
298
310
  "types": "./dialog/dialog.types.d.ts",
299
311
  "import": "./dialog/dialog.types.js",
@@ -834,6 +846,10 @@
834
846
  "./styles/_fields-grid.scss": "./styles/_fields-grid.scss",
835
847
  "./styles/_time-grid.scss": "./styles/_time-grid.scss",
836
848
  "./styles/_primitives.scss": "./styles/_primitives.scss",
849
+ "./browser/revo-ui.js": "./browser/revo-ui.js",
850
+ "./browser/revo-ui.global.js": "./browser/revo-ui.global.js",
851
+ "./browser/pdf-viewer.css": "./browser/pdf-viewer.css",
852
+ "./browser/pdf.worker.min.mjs": "./browser/pdf.worker.min.mjs",
837
853
  "./package.json": "./package.json"
838
854
  },
839
855
  "sideEffects": [
@@ -868,5 +884,9 @@
868
884
  "pdfjs-dist": {
869
885
  "optional": true
870
886
  }
887
+ },
888
+ "revoUiRelease": {
889
+ "version": "4.0.10",
890
+ "commit": "f3ec59ee812a5ab1ae8dd3065b1238175643c95e"
871
891
  }
872
892
  }
package/pagination.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { controlClassName as e } from "./control-attributes.js";
2
2
  import { renderControl as t } from "./control-presentation.js";
3
- import { t as n } from "./_chunks/control-BRfF5DWQ.js";
3
+ import { t as n } from "./_chunks/control-zCLB1tGz.js";
4
4
  //#region package/pagination.ts
5
5
  function r(e, t, n = 5) {
6
6
  let r = Math.max(0, Math.floor(t));
@@ -1 +1 @@
1
- export { t as PdfViewerController } from "../_chunks/controller-BbiQuRt-.js";
1
+ export { t as PdfViewerController } from "../_chunks/controller-ChkqiANQ.js";
@@ -1,7 +1,7 @@
1
- import { c as e } from "../_chunks/preact.module-BBM36DnO.js";
1
+ import { c as e } from "../_chunks/preact.module-DzTStiZX.js";
2
2
  import { renderPreactInto as t } from "../preact-mount.js";
3
- import { i as n, n as r, r as i, t as a } from "../_chunks/component-C3k_8uIq.js";
4
- import { t as o } from "../_chunks/controller-BbiQuRt-.js";
3
+ import { i as n, n as r, r as i, t as a } from "../_chunks/component-B22CtP21.js";
4
+ import { t as o } from "../_chunks/controller-ChkqiANQ.js";
5
5
  //#region package/pdf-viewer/index.tsx
6
6
  function s(n, i) {
7
7
  let a = new o(i), s = a.destroy.bind(a), c = !1;
package/pickers.d.ts CHANGED
@@ -2,6 +2,7 @@ import { h, ComponentChildren } from './_vendor/preact/src/index';
2
2
  import { ISODateString } from './_shared/dates/index';
3
3
  import { CalendarDateRange, CalendarProps } from './calendar/types';
4
4
  import { DropdownProps } from './dropdown';
5
+ import { TooltipControllerOptions } from './core/tooltip-options';
5
6
  import { AvatarTemplateOptions } from './avatar';
6
7
  import { ProgressBarProps } from './progress/bar';
7
8
  export declare function Combobox<T>(props: DropdownProps<T>): h.JSX.Element;
@@ -24,10 +25,16 @@ export interface PopoverProps {
24
25
  role?: 'dialog' | 'menu';
25
26
  }
26
27
  export declare function Popover({ open, anchor, appendTo, closeOnOutside, closeOnEscape, onClose, children, label, className, role, }: PopoverProps): h.JSX.Element;
27
- export declare function Tooltip({ text, children, }: {
28
- text: string;
29
- children: ComponentChildren;
30
- }): h.JSX.Element;
28
+ export interface TooltipProps extends TooltipControllerOptions {
29
+ /** Simple text remains supported; content/renderContent can provide rich non-interactive descriptions. */
30
+ text?: string;
31
+ content?: import('./core/tooltip-options').TooltipContent;
32
+ children?: ComponentChildren;
33
+ defaultOpen?: boolean;
34
+ /** Position against an external trigger. Otherwise the first focusable child is used. */
35
+ anchor?: HTMLElement | SVGElement | null;
36
+ }
37
+ export declare function Tooltip(props: TooltipProps): h.JSX.Element;
31
38
  export interface DialogProps {
32
39
  open: boolean;
33
40
  title: string;
package/preact-mount.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, r as t } from "./_chunks/preact.module-BBM36DnO.js";
1
+ import { a as e, r as t } from "./_chunks/preact.module-DzTStiZX.js";
2
2
  //#region package/preact-mount.ts
3
3
  var n = /* @__PURE__ */ new WeakMap();
4
4
  function r(r, i, a) {
package/preact.d.ts CHANGED
@@ -56,3 +56,5 @@ export * from './ai/chat';
56
56
  export * from './icon-toolbar';
57
57
  export * from './legend';
58
58
  export * from './view-switcher';
59
+ export { createTooltipGroup, TooltipGroup } from './core/tooltip-options';
60
+ export type { TooltipAnchor, TooltipSide, TooltipAlign, TooltipReason, TooltipContent, TooltipOffset, TooltipOffsetContext, TooltipGroupOptions, TooltipOptions, TooltipControllerOptions, TooltipChangeDetails, TooltipContentContext, TooltipPositionOptions, } from './core/tooltip-options';
package/preact.js CHANGED
@@ -1,76 +1,77 @@
1
- import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as ee, r as te, s as ne, t as re, u as ie, w as ae, x as oe, y as se } from "./_chunks/request-trail-B1zVRPEf.js";
2
- import { t as _ } from "./_chunks/jsxRuntime.module-F6UFnpT-.js";
1
+ import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as ee, r as te, s as ne, t as re, u as ie, w as ae, x as oe, y as se } from "./_chunks/request-trail-D5PKrBlC.js";
2
+ import { t as _ } from "./_chunks/jsxRuntime.module-ksX_VSbv.js";
3
3
  import { getUiMotionDuration as ce, inheritUiMotion as le, isUiMotionEnabled as v } from "./core/motion.js";
4
- import { n as y, t as b } from "./_chunks/rating-choice-CepVfGUq.js";
4
+ import { n as y, t as b } from "./_chunks/rating-choice-CtrABPp-.js";
5
5
  import { SvgIcon as x } from "./icons/icon.js";
6
- import { d as S, l as C, n as w, p as T, u as E } from "./_chunks/native-control-um1L1wgZ.js";
7
- import { t as D } from "./_chunks/popup-DECYM9FI.js";
8
- import { t as O } from "./_chunks/selection-list-tooltips-m00U3L6z.js";
9
- import { t as k } from "./_chunks/delete-button-jneO24wa.js";
6
+ import { d as S, l as C, n as w, p as T, u as E } from "./_chunks/native-control-DjJ8Na3T.js";
7
+ import { t as D } from "./_chunks/popup-HEUnOeq-.js";
8
+ import { t as O } from "./_chunks/selection-list-tooltips-j84Wufjj.js";
9
+ import { t as k } from "./_chunks/delete-button-DQSK6G-4.js";
10
10
  import { RemoveButton as A } from "./buttons/remove-button.js";
11
11
  import { controlAttributes as j, controlClassName as M } from "./control-attributes.js";
12
12
  import { createControl as N, decorateIconAction as P, nativeControlTag as F, registerControl as I, renderControl as L } from "./control-presentation.js";
13
- import { t as R } from "./_chunks/control-BRfF5DWQ.js";
14
- import { A as z, B, C as V, D as H, E as U, F as W, I as ue, L as de, M as fe, N as pe, O as me, P as he, R as ge, S as _e, T as ve, _ as ye, a as be, b as xe, c as Se, d as Ce, f as we, g as Te, h as Ee, i as De, j as Oe, k as ke, l as Ae, m as je, n as Me, o as Ne, p as Pe, r as Fe, s as Ie, t as G, u as Le, v as Re, w as ze, x as Be, y as Ve } from "./_chunks/controls-B3EgM_DS.js";
15
- import { n as He, r as Ue, t as We } from "./_chunks/tooltip-h-Z8yFBY.js";
13
+ import { t as R } from "./_chunks/control-zCLB1tGz.js";
14
+ import { A as z, B, C as V, D as H, E as U, F as W, I as ue, L as de, M as fe, N as pe, O as me, P as he, R as ge, S as _e, T as ve, _ as ye, a as be, b as xe, c as Se, d as Ce, f as we, g as Te, h as Ee, i as De, j as Oe, k as ke, l as Ae, m as je, n as Me, o as Ne, p as Pe, r as Fe, s as Ie, t as G, u as Le, v as Re, w as ze, x as Be, y as Ve } from "./_chunks/controls-Ip2E6jIu.js";
15
+ import { n as He, r as Ue, t as We } from "./_chunks/tooltip-BkuH0JdW.js";
16
16
  import { SvgButton as Ge } from "./buttons/svg-button.js";
17
17
  import { SegmentedSwitch as K, renderSegmentedSwitch as Ke } from "./segmented-switch/index.js";
18
18
  import { EditorList as q, EditorListGroup as J, EditorListItem as Y, EditorListItemContent as X, EditorPane as Z, EditorSplitLayout as Q } from "./editor-layout/index.js";
19
- import { a as qe, c as Je, i as Ye, l as Xe, n as Ze, o as Qe, r as $e, s as et, t as tt } from "./_chunks/dialog.parts-NqEEVc9P.js";
20
- import { badgeClassName as nt } from "./badge.js";
21
- import { HistoryControls as rt } from "./history-controls.js";
22
- import { renderStatusBadge as it } from "./status-feedback/badge.js";
23
- import { n as at, r as ot, t as st } from "./_chunks/render-bTk3curw.js";
24
- import { StatusFeedbackPopoverController as ct } from "./status-feedback/popover.js";
25
- import { createFormField as lt, createTextControl as ut } from "./form-controls/index.js";
26
- import { a as dt, c as ft, d as pt, f as mt, h as ht, i as gt, l as _t, m as vt, n as yt, o as bt, p as xt, r as St, s as Ct, t as wt, u as Tt } from "./_chunks/cell-visuals-r6DOOhGh.js";
27
- import { n as Et, t as Dt } from "./_chunks/color-palette-7siNch__.js";
28
- import { DEFAULT_COLOR_PALETTE_OPTIONS as Ot } from "./color-palette/palette.js";
29
- import { t as kt } from "./_chunks/color-picker-Cfc9eqZb.js";
30
- import { n as At, r as jt, t as Mt } from "./_chunks/choice-chips-C5OxD0GV.js";
31
- import { FilterBadge as Nt, FilterBadgeInfoButton as Pt } from "./filter-badge.js";
32
- import { ActivityMessage as Ft } from "./activity-message.js";
33
- import { a as It, i as Lt, n as Rt, r as zt, t as Bt } from "./_chunks/icon-toolbar-BAAdEvr9.js";
34
- import { Checkbox as Vt, SHARED_CHECKBOX_CLASS as Ht, renderCheckbox as Ut } from "./checkbox/index.js";
35
- import { Switch as Wt } from "./switch/index.js";
36
- import { SearchInput as Gt } from "./search-input/index.js";
37
- import { DisclosureSummary as Kt, FilterChip as qt, FormField as Jt, renderFormFieldContent as Yt } from "./form-controls/presentation.js";
38
- import { DEFAULT_CALENDAR_TRANSLATIONS as Xt } from "./calendar/translations.js";
39
- import { a as Zt, i as Qt, n as $t, o as en, r as tn, t as nn } from "./_chunks/model-CFrBgRHm.js";
40
- import { CalendarHeader as rn, CalendarWeekdays as an } from "./calendar/header.js";
41
- import { t as on } from "./_chunks/calendar-BQYQLu8Q.js";
42
- import { CalendarDay as sn } from "./calendar/day.js";
43
- import { CalendarMonthGrid as cn } from "./calendar/month-grid.js";
44
- import { CalendarYearGrid as ln } from "./calendar/year-grid.js";
45
- import { t as un } from "./_chunks/picker-igNshTRC.js";
46
- import { ResourcePickerAvatar as dn, getResourcePickerColor as fn, getResourcePickerForegroundColor as pn, getResourcePickerInitials as mn } from "./resource-picker/resource-picker-avatar.js";
47
- import { SharedResourcePicker as hn } from "./resource-picker/resource-picker.js";
48
- import { useDialogDrag as gn } from "./dialog/dialog.preact.js";
49
- import { PreactRangeSlider as _n } from "./filter/filters/slider/preact.js";
50
- import { SingleValueSlider as vn, SliderField as yn } from "./filter/filters/slider/single.js";
51
- import { a as bn, c as xn, d as Sn, f as Cn, i as wn, l as Tn, m as En, o as Dn, p as On, r as kn, s as An, t as jn, u as Mn } from "./_chunks/component-C3k_8uIq.js";
52
- import { BarChart as Nn } from "./distribution-chart/bar-chart.js";
53
- import { LineChart as Pn } from "./distribution-chart/line-chart.js";
54
- import { AreaChart as Fn } from "./distribution-chart/area-chart.js";
55
- import { DistributionChart as In } from "./distribution-chart/index.js";
56
- import { BrushRange as Ln } from "./brush-range/component.js";
57
- import { HighlightedTextInput as Rn, InlineFieldGroup as zn, OptionButton as Bn } from "./filter-controls.js";
58
- import { TimeGrid as Vn, timeGridCellKey as Hn, useTimeGridInteraction as Un } from "./time-grid.js";
59
- import { _ as Wn, a as Gn, b as Kn, c as qn, d as Jn, f as Yn, g as Xn, h as Zn, i as Qn, l as $n, m as er, n as tr, o as nr, p as rr, r as ir, s as ar, t as or, u as sr, v as cr, x as lr, y as ur } from "./_chunks/field-configurator-DPulsY3l.js";
60
- import { fieldDropIndex as dr, reorderFields as fr } from "./field-reorder.js";
61
- import { useFieldDropTarget as pr, useFieldReorder as mr } from "./field-reorder.hook.js";
62
- import { a as hr, c as gr, d as _r, f as vr, h as yr, i as br, l as xr, m as Sr, n as Cr, o as wr, p as Tr, r as Er, s as Dr, t as Or, u as kr } from "./_chunks/configurator-actions-vRnI54mO.js";
63
- import { t as Ar } from "./_chunks/configurator-field-icon-CmcM_sPs.js";
64
- import { ConfiguratorAggregationList as jr } from "./configurator-aggregation-list.js";
65
- import { ConfiguratorDropZone as Mr } from "./configurator-drop-zone.js";
66
- import { focusConfiguratorOrigin as $, useConfiguratorOriginFocus as Nr } from "./configurator-focus.js";
67
- import { ComparisonPreview as Pr, IconChoiceGroup as Fr, IconToggleButton as Ir, InspectorSection as Lr, TypographyControls as Rr } from "./formatting/index.js";
68
- import { n as zr, t as Br } from "./_chunks/reorder-list-B4w3aARt.js";
69
- import { eventOutsideRange as Vr, moveTimelineEvent as Hr, niceTimelineStep as Ur, resizeTimelineEvent as Wr, timelineEventBackground as Gr, timelineGeometry as Kr } from "./timeline-track/model.js";
70
- import { TimelineTrack as qr } from "./timeline-track/index.js";
71
- import { Legend as Jr } from "./legend.js";
19
+ import { a as qe, c as Je, i as Ye, l as Xe, n as Ze, o as Qe, r as $e, s as et, t as tt } from "./_chunks/dialog.parts-CpMwNhTM.js";
20
+ import { TooltipGroup as nt, createTooltipGroup as rt } from "./core/tooltip-options.js";
21
+ import { badgeClassName as it } from "./badge.js";
22
+ import { HistoryControls as at } from "./history-controls.js";
23
+ import { renderStatusBadge as ot } from "./status-feedback/badge.js";
24
+ import { n as st, r as ct, t as lt } from "./_chunks/render-C6PFWlqh.js";
25
+ import { StatusFeedbackPopoverController as ut } from "./status-feedback/popover.js";
26
+ import { createFormField as dt, createTextControl as ft } from "./form-controls/index.js";
27
+ import { a as pt, c as mt, d as ht, f as gt, h as _t, i as vt, l as yt, m as bt, n as xt, o as St, p as Ct, r as wt, s as Tt, t as Et, u as Dt } from "./_chunks/cell-visuals-r6DOOhGh.js";
28
+ import { n as Ot, t as kt } from "./_chunks/color-palette-DL0f3igd.js";
29
+ import { DEFAULT_COLOR_PALETTE_OPTIONS as At } from "./color-palette/palette.js";
30
+ import { t as jt } from "./_chunks/color-picker-BWBM9GE1.js";
31
+ import { Checkbox as Mt, SHARED_CHECKBOX_CLASS as Nt, renderCheckbox as Pt } from "./checkbox/index.js";
32
+ import { Switch as Ft } from "./switch/index.js";
33
+ import { n as It, r as Lt, t as Rt } from "./_chunks/choice-chips-BIGT7gjO.js";
34
+ import { SearchInput as zt } from "./search-input/index.js";
35
+ import { DisclosureSummary as Bt, FilterChip as Vt, FormField as Ht, renderFormFieldContent as Ut } from "./form-controls/presentation.js";
36
+ import { DEFAULT_CALENDAR_TRANSLATIONS as Wt } from "./calendar/translations.js";
37
+ import { a as Gt, i as Kt, n as qt, o as Jt, r as Yt, t as Xt } from "./_chunks/model-CFrBgRHm.js";
38
+ import { CalendarHeader as Zt, CalendarWeekdays as Qt } from "./calendar/header.js";
39
+ import { t as $t } from "./_chunks/calendar-CQHVwHLW.js";
40
+ import { CalendarDay as en } from "./calendar/day.js";
41
+ import { CalendarMonthGrid as tn } from "./calendar/month-grid.js";
42
+ import { CalendarYearGrid as nn } from "./calendar/year-grid.js";
43
+ import { t as rn } from "./_chunks/picker-DDUmhT93.js";
44
+ import { ResourcePickerAvatar as an, getResourcePickerColor as on, getResourcePickerForegroundColor as sn, getResourcePickerInitials as cn } from "./resource-picker/resource-picker-avatar.js";
45
+ import { SharedResourcePicker as ln } from "./resource-picker/resource-picker.js";
46
+ import { useDialogDrag as un } from "./dialog/dialog.preact.js";
47
+ import { PreactRangeSlider as dn } from "./filter/filters/slider/preact.js";
48
+ import { SingleValueSlider as fn, SliderField as pn } from "./filter/filters/slider/single.js";
49
+ import { a as mn, c as hn, d as gn, f as _n, i as vn, l as yn, m as bn, o as xn, p as Sn, r as Cn, s as wn, t as Tn, u as En } from "./_chunks/component-B22CtP21.js";
50
+ import { BarChart as Dn } from "./distribution-chart/bar-chart.js";
51
+ import { LineChart as On } from "./distribution-chart/line-chart.js";
52
+ import { AreaChart as kn } from "./distribution-chart/area-chart.js";
53
+ import { DistributionChart as An } from "./distribution-chart/index.js";
54
+ import { BrushRange as jn } from "./brush-range/component.js";
55
+ import { HighlightedTextInput as Mn, InlineFieldGroup as Nn, OptionButton as Pn } from "./filter-controls.js";
56
+ import { TimeGrid as Fn, timeGridCellKey as In, useTimeGridInteraction as Ln } from "./time-grid.js";
57
+ import { _ as Rn, a as zn, b as Bn, c as Vn, d as Hn, f as Un, g as Wn, h as Gn, i as Kn, l as qn, m as Jn, n as Yn, o as Xn, p as Zn, r as Qn, s as $n, t as er, u as tr, v as nr, x as rr, y as ir } from "./_chunks/field-configurator-BMQnmWNd.js";
58
+ import { fieldDropIndex as ar, reorderFields as or } from "./field-reorder.js";
59
+ import { useFieldDropTarget as sr, useFieldReorder as cr } from "./field-reorder.hook.js";
60
+ import { a as lr, c as ur, d as dr, f as fr, h as pr, i as mr, l as hr, m as gr, n as _r, o as vr, p as yr, r as br, s as xr, t as Sr, u as Cr } from "./_chunks/configurator-actions-BhIk4oM_.js";
61
+ import { t as wr } from "./_chunks/configurator-field-icon-B0S_208W.js";
62
+ import { ConfiguratorAggregationList as Tr } from "./configurator-aggregation-list.js";
63
+ import { ConfiguratorDropZone as Er } from "./configurator-drop-zone.js";
64
+ import { focusConfiguratorOrigin as Dr, useConfiguratorOriginFocus as Or } from "./configurator-focus.js";
65
+ import { ComparisonPreview as kr, IconChoiceGroup as Ar, IconToggleButton as jr, InspectorSection as Mr, TypographyControls as $ } from "./formatting/index.js";
66
+ import { FilterBadge as Nr, FilterBadgeInfoButton as Pr } from "./filter-badge.js";
67
+ import { n as Fr, t as Ir } from "./_chunks/reorder-list-DvwZcFPH.js";
68
+ import { eventOutsideRange as Lr, moveTimelineEvent as Rr, niceTimelineStep as zr, resizeTimelineEvent as Br, timelineEventBackground as Vr, timelineGeometry as Hr } from "./timeline-track/model.js";
69
+ import { TimelineTrack as Ur } from "./timeline-track/index.js";
70
+ import { ActivityMessage as Wr } from "./activity-message.js";
71
+ import { a as Gr, i as Kr, n as qr, r as Jr, t as Yr } from "./_chunks/icon-toolbar-C4J_Wqph.js";
72
+ import { Legend as Xr } from "./legend.js";
72
73
  //#region package/view-switcher.tsx
73
- function Yr({ translations: e, value: n, controlView: r, views: i, busy: a, canGoBack: o, onSelect: s, onBack: c, error: l, label: u = "Report view", backLabel: d = "Back", showViews: f = !0, dataLabel: p = "Data Grid" }) {
74
+ function Zr({ translations: e, value: n, controlView: r, views: i, busy: a, canGoBack: o, onSelect: s, onBack: c, error: l, label: u = "Report view", backLabel: d = "Back", showViews: f = !0, dataLabel: p = "Data Grid" }) {
74
75
  let m = (n) => t(n, e), h = i.find((e) => e.id === (r ?? (n === "grid" ? void 0 : n)));
75
76
  if (!f && !h && !l) return null;
76
77
  let g = f ? i : [{
@@ -106,4 +107,4 @@ function Yr({ translations: e, value: n, controlView: r, views: i, busy: a, canG
106
107
  });
107
108
  }
108
109
  //#endregion
109
- export { r as AI_UI_MESSAGES, Ft as ActivityMessage, l as AiActionStatus, ee as AiAssistant, m as AiChangePreview, h as AiChat, te as AiChatComposer, f as AiChatContent, a as AiChatEmptyState, g as AiMessage, ne as AiMessageActions, s as AiMessageContent, d as AiPromptInput, p as AiReasoning, re as AiRequestTrail, u as AiResult, oe as AiResultMetrics, n as AiResultTable, o as AiResultText, se as AiResultView, i as AiSuggestions, ie as AiTask, c as AiTaskItem, ae as AiTranslationProvider, ge as Alert, Fn as AreaChart, bn as Avatar, B as Badge, Nn as BarChart, Ln as BrushRange, G as Button, Me as ButtonGroup, Or as CONFIGURATOR_AREA_ICONS, on as Calendar, sn as CalendarDay, rn as CalendarHeader, cn as CalendarMonthGrid, un as CalendarPicker, an as CalendarWeekdays, ln as CalendarYearGrid, Vt as Checkbox, Fe as Chip, Mt as ChoiceChip, At as ChoiceChipInfoButton, jt as ChoiceChips, De as CircularProgress, or as CollapsibleSection, Dt as ColorPalette, kt as ColorPicker, Dn as Combobox, Pr as ComparisonPreview, Cr as ConfiguratorActionButton, Er as ConfiguratorActionGroup, br as ConfiguratorActionIcon, hr as ConfiguratorActionPanel, wr as ConfiguratorActionTrigger, jr as ConfiguratorAggregationList, Mr as ConfiguratorDropZone, Dr as ConfiguratorFieldCaption, gr as ConfiguratorFieldPicker, xr as ConfiguratorFieldSearch, kr as ConfiguratorFieldTypeIcon, _r as ConfiguratorFilterStatus, vr as ConfiguratorHint, tr as ConfiguratorPanel, Tr as ConfiguratorRemoveButton, Sr as ConfiguratorZoneActions, An as ConfirmDialog, We as ControlTooltip, be as CountBadge, Xt as DEFAULT_CALENDAR_TRANSLATIONS, Ot as DEFAULT_COLOR_PALETTE_OPTIONS, Ne as DateInput, xn as DatePicker, Tn as DateRangePicker, Ie as DateTimeInput, k as DeleteButton, Mn as Dialog, tt as DialogActionFooter, Ze as DialogActions, $e as DialogBody, Ye as DialogCloseButton, qe as DialogFooter, Qe as DialogForm, et as DialogHeader, Je as DialogTitleInput, Se as Disclosure, Kt as DisclosureSummary, In as DistributionChart, C as Dropdown, D as DropdownPopup, T as DropdownPopupContent, Xe as EditableDialogHeader, q as EditorList, q as Listbox, J as EditorListGroup, J as ListboxGroup, Y as EditorListItem, Y as ListboxOption, X as EditorListItemContent, X as ListboxOptionContent, Z as EditorPane, Z as Pane, Q as EditorSplitLayout, Q as SplitLayout, Ae as EmptyState, ir as FieldActions, Qn as FieldContent, Gn as FieldDropIndicator, Le as FieldError, nr as FieldGroup, ar as FieldGroupHeading, Ce as FieldHint, qn as FieldIcon, $n as FieldItem, sr as FieldLibrary, Jn as FieldLibraryList, Yn as FieldList, rr as FieldRemoveButton, er as FieldRemoveIcon, Zn as FieldRow, Xn as FieldStatusBadge, Wn as FieldSummary, Nt as FilterBadge, Pt as FilterBadgeInfoButton, qt as FilterChip, Jt as FormField, we as FormSection, Rn as HighlightedTextInput, rt as HistoryControls, Bt as ICON_TOOLBAR_ICONS, Pe as IconButton, Fr as IconChoiceGroup, Ir as IconToggleButton, Rt as IconToolbar, zn as InlineFieldGroup, w as Input, Lr as InspectorSection, Jr as Legend, Pn as LineChart, je as LoadingOverlay, Ee as Menu, Te as MenuItem, ye as MenuSeparator, Sn as MultiSelect, Re as NumberInput, Ve as NumberStepper, Bn as OptionButton, xe as Pagination, Be as Panel, _e as PanelResizeHandle, jn as PdfViewer, kn as PdfViewerToolbar, Cn as Popover, _n as PreactRangeSlider, On as ProgressBar, V as RadioGroup, ze as Rating, b as RatingChoice, y as RatingStar, A as RemoveButton, Br as ReorderHandle, zr as ReorderList, ve as ResizeHandle, dn as ResourcePickerAvatar, Ht as SHARED_CHECKBOX_CLASS, zt as SVG_TOOLBAR_BUTTON_STYLES, Gt as SearchInput, U as SegmentedControl, K as SegmentedSwitch, cr as SelectedField, hn as SharedResourcePicker, vn as SingleValueSlider, yn as SliderField, H as Spinner, st as StatusBadge, at as StatusFeedbackPanel, ct as StatusFeedbackPopoverController, me as Submenu, Ge as SvgButton, x as SvgIcon, Lt as SvgToolbarButton, It as SvgToolbarButtonView, Wt as Switch, ke as TabPanel, z as Tabs, Oe as TextInput, fe as Textarea, Vn as TimeGrid, pe as TimeInput, qr as TimelineTrack, he as ToggleButton, W as Toolbar, ue as ToolbarGroup, de as ToolbarSeparator, En as Tooltip, Rr as TypographyControls, Yr as ViewSwitcherControls, nt as badgeClassName, j as controlAttributes, M as controlClassName, nn as createCalendarMonth, N as createControl, R as createDropdownControl, ur as createFieldExpansion, lt as createFormField, ut as createTextControl, P as decorateIconAction, wn as defaultPdfViewerText, E as defineDropdown, S as destroyDropdown, Vr as eventOutsideRange, dr as fieldDropIndex, Kn as fieldExpansionIds, $ as focusConfiguratorOrigin, e as formatAiResultValue, yt as formatTimelineEvents, fn as getResourcePickerColor, pn as getResourcePickerForegroundColor, mn as getResourcePickerInitials, ce as getUiMotionDuration, le as inheritUiMotion, $t as isCalendarDateDisabled, tn as isCalendarMonthDisabled, Qt as isDateInCalendarRange, v as isUiMotionEnabled, Zt as moveCalendarFocus, Hr as moveTimelineEvent, F as nativeControlTag, Ur as niceTimelineStep, Et as normalizeHexColor, en as orderCalendarRange, lr as recordFieldExpansion, I as registerControl, Ct as renderAggregateSummary, ft as renderBadgeValue, _t as renderChange, Ut as renderCheckbox, yr as renderConfiguratorActionTrigger, L as renderControl, Yt as renderFormFieldContent, gt as renderHeatmap, Tt as renderLabelledIcon, dt as renderMiniBarChart, pt as renderPercentageSummary, wt as renderPie, mt as renderProgressLine, xt as renderProgressLineValue, Ke as renderSegmentedSwitch, bt as renderSparkline, it as renderStatusBadge, ot as renderStatusFeedbackPanel, vt as renderThumbs, St as renderTimeline, ht as renderTypeIcon, fr as reorderFields, Wr as resizeTimelineEvent, Ar as resolveConfiguratorFieldIcon, Hn as timeGridCellKey, Gr as timelineEventBackground, Kr as timelineGeometry, t as translateAiText, Nr as useConfiguratorOriginFocus, He as useControlTooltip, gn as useDialogDrag, pr as useFieldDropTarget, mr as useFieldReorder, O as useSelectionListTooltips, Un as useTimeGridInteraction, Ue as useTooltip };
110
+ export { r as AI_UI_MESSAGES, Wr as ActivityMessage, l as AiActionStatus, ee as AiAssistant, m as AiChangePreview, h as AiChat, te as AiChatComposer, f as AiChatContent, a as AiChatEmptyState, g as AiMessage, ne as AiMessageActions, s as AiMessageContent, d as AiPromptInput, p as AiReasoning, re as AiRequestTrail, u as AiResult, oe as AiResultMetrics, n as AiResultTable, o as AiResultText, se as AiResultView, i as AiSuggestions, ie as AiTask, c as AiTaskItem, ae as AiTranslationProvider, ge as Alert, kn as AreaChart, mn as Avatar, B as Badge, Dn as BarChart, jn as BrushRange, G as Button, Me as ButtonGroup, Sr as CONFIGURATOR_AREA_ICONS, $t as Calendar, en as CalendarDay, Zt as CalendarHeader, tn as CalendarMonthGrid, rn as CalendarPicker, Qt as CalendarWeekdays, nn as CalendarYearGrid, Mt as Checkbox, Fe as Chip, Rt as ChoiceChip, It as ChoiceChipInfoButton, Lt as ChoiceChips, De as CircularProgress, er as CollapsibleSection, kt as ColorPalette, jt as ColorPicker, xn as Combobox, kr as ComparisonPreview, _r as ConfiguratorActionButton, br as ConfiguratorActionGroup, mr as ConfiguratorActionIcon, lr as ConfiguratorActionPanel, vr as ConfiguratorActionTrigger, Tr as ConfiguratorAggregationList, Er as ConfiguratorDropZone, xr as ConfiguratorFieldCaption, ur as ConfiguratorFieldPicker, hr as ConfiguratorFieldSearch, Cr as ConfiguratorFieldTypeIcon, dr as ConfiguratorFilterStatus, fr as ConfiguratorHint, Yn as ConfiguratorPanel, yr as ConfiguratorRemoveButton, gr as ConfiguratorZoneActions, wn as ConfirmDialog, We as ControlTooltip, be as CountBadge, Wt as DEFAULT_CALENDAR_TRANSLATIONS, At as DEFAULT_COLOR_PALETTE_OPTIONS, Ne as DateInput, hn as DatePicker, yn as DateRangePicker, Ie as DateTimeInput, k as DeleteButton, En as Dialog, tt as DialogActionFooter, Ze as DialogActions, $e as DialogBody, Ye as DialogCloseButton, qe as DialogFooter, Qe as DialogForm, et as DialogHeader, Je as DialogTitleInput, Se as Disclosure, Bt as DisclosureSummary, An as DistributionChart, C as Dropdown, D as DropdownPopup, T as DropdownPopupContent, Xe as EditableDialogHeader, q as EditorList, q as Listbox, J as EditorListGroup, J as ListboxGroup, Y as EditorListItem, Y as ListboxOption, X as EditorListItemContent, X as ListboxOptionContent, Z as EditorPane, Z as Pane, Q as EditorSplitLayout, Q as SplitLayout, Ae as EmptyState, Qn as FieldActions, Kn as FieldContent, zn as FieldDropIndicator, Le as FieldError, Xn as FieldGroup, $n as FieldGroupHeading, Ce as FieldHint, Vn as FieldIcon, qn as FieldItem, tr as FieldLibrary, Hn as FieldLibraryList, Un as FieldList, Zn as FieldRemoveButton, Jn as FieldRemoveIcon, Gn as FieldRow, Wn as FieldStatusBadge, Rn as FieldSummary, Nr as FilterBadge, Pr as FilterBadgeInfoButton, Vt as FilterChip, Ht as FormField, we as FormSection, Mn as HighlightedTextInput, at as HistoryControls, Yr as ICON_TOOLBAR_ICONS, Pe as IconButton, Ar as IconChoiceGroup, jr as IconToggleButton, qr as IconToolbar, Nn as InlineFieldGroup, w as Input, Mr as InspectorSection, Xr as Legend, On as LineChart, je as LoadingOverlay, Ee as Menu, Te as MenuItem, ye as MenuSeparator, gn as MultiSelect, Re as NumberInput, Ve as NumberStepper, Pn as OptionButton, xe as Pagination, Be as Panel, _e as PanelResizeHandle, Tn as PdfViewer, Cn as PdfViewerToolbar, _n as Popover, dn as PreactRangeSlider, Sn as ProgressBar, V as RadioGroup, ze as Rating, b as RatingChoice, y as RatingStar, A as RemoveButton, Ir as ReorderHandle, Fr as ReorderList, ve as ResizeHandle, an as ResourcePickerAvatar, Nt as SHARED_CHECKBOX_CLASS, Jr as SVG_TOOLBAR_BUTTON_STYLES, zt as SearchInput, U as SegmentedControl, K as SegmentedSwitch, nr as SelectedField, ln as SharedResourcePicker, fn as SingleValueSlider, pn as SliderField, H as Spinner, lt as StatusBadge, st as StatusFeedbackPanel, ut as StatusFeedbackPopoverController, me as Submenu, Ge as SvgButton, x as SvgIcon, Kr as SvgToolbarButton, Gr as SvgToolbarButtonView, Ft as Switch, ke as TabPanel, z as Tabs, Oe as TextInput, fe as Textarea, Fn as TimeGrid, pe as TimeInput, Ur as TimelineTrack, he as ToggleButton, W as Toolbar, ue as ToolbarGroup, de as ToolbarSeparator, bn as Tooltip, nt as TooltipGroup, $ as TypographyControls, Zr as ViewSwitcherControls, it as badgeClassName, j as controlAttributes, M as controlClassName, Xt as createCalendarMonth, N as createControl, R as createDropdownControl, ir as createFieldExpansion, dt as createFormField, ft as createTextControl, rt as createTooltipGroup, P as decorateIconAction, vn as defaultPdfViewerText, E as defineDropdown, S as destroyDropdown, Lr as eventOutsideRange, ar as fieldDropIndex, Bn as fieldExpansionIds, Dr as focusConfiguratorOrigin, e as formatAiResultValue, xt as formatTimelineEvents, on as getResourcePickerColor, sn as getResourcePickerForegroundColor, cn as getResourcePickerInitials, ce as getUiMotionDuration, le as inheritUiMotion, qt as isCalendarDateDisabled, Yt as isCalendarMonthDisabled, Kt as isDateInCalendarRange, v as isUiMotionEnabled, Gt as moveCalendarFocus, Rr as moveTimelineEvent, F as nativeControlTag, zr as niceTimelineStep, Ot as normalizeHexColor, Jt as orderCalendarRange, rr as recordFieldExpansion, I as registerControl, Tt as renderAggregateSummary, mt as renderBadgeValue, yt as renderChange, Pt as renderCheckbox, pr as renderConfiguratorActionTrigger, L as renderControl, Ut as renderFormFieldContent, vt as renderHeatmap, Dt as renderLabelledIcon, pt as renderMiniBarChart, ht as renderPercentageSummary, Et as renderPie, gt as renderProgressLine, Ct as renderProgressLineValue, Ke as renderSegmentedSwitch, St as renderSparkline, ot as renderStatusBadge, ct as renderStatusFeedbackPanel, bt as renderThumbs, wt as renderTimeline, _t as renderTypeIcon, or as reorderFields, Br as resizeTimelineEvent, wr as resolveConfiguratorFieldIcon, In as timeGridCellKey, Vr as timelineEventBackground, Hr as timelineGeometry, t as translateAiText, Or as useConfiguratorOriginFocus, He as useControlTooltip, un as useDialogDrag, sr as useFieldDropTarget, cr as useFieldReorder, O as useSelectionListTooltips, Ln as useTimeGridInteraction, Ue as useTooltip };
package/rating-choice.js CHANGED
@@ -1 +1 @@
1
- export { t as RatingChoice, n as RatingStar } from "./_chunks/rating-choice-CepVfGUq.js";
1
+ export { t as RatingChoice, n as RatingStar } from "./_chunks/rating-choice-CtrABPp-.js";
@@ -3,7 +3,7 @@ import { ComponentChildren, ComponentProps, ComponentType, VNode } from './_vend
3
3
  export interface UiReactHandle {
4
4
  element: HTMLDivElement | null;
5
5
  }
6
- declare const contentProps: readonly ["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"];
6
+ declare const contentProps: readonly ["children", "footer", "label", "description", "icon", "summary", "start", "end", "empty", "highlight", "actions", "heading", "placeholder", "indicator", "avatar", "timestamp", "header", "details", "formatted", "hint", "iconContent", "content", "loadingContent", "errorContent", "caption", "count", "detail", "leading", "trailing", "shortcut", "info"];
7
7
  type ContentKey = (typeof contentProps)[number];
8
8
  type ReactContent<T> = [
9
9
  Extract<T, VNode<any> | readonly ComponentChildren[]>
package/react.d.ts CHANGED
@@ -189,3 +189,5 @@ export declare const AiReasoning: ReactUiComponent<typeof ui.AiReasoning>;
189
189
  export declare const AiTask: ReactUiComponent<typeof ui.AiTask>;
190
190
  export declare const AiTaskItem: ReactUiComponent<typeof ui.AiTaskItem>;
191
191
  export declare const IconToolbar: ReactUiComponent<typeof ui.IconToolbar>;
192
+ export { createTooltipGroup, TooltipGroup } from './core/tooltip-options';
193
+ export type { TooltipAnchor, TooltipSide, TooltipAlign, TooltipReason, TooltipContent, TooltipOffset, TooltipOffsetContext, TooltipGroupOptions, TooltipOptions, TooltipControllerOptions, TooltipChangeDetails, TooltipContentContext, TooltipPositionOptions, } from './core/tooltip-options';