@revolist/ui 4.0.2-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 (161) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +345 -263
  3. package/_chunks/{calendar-CpaUK7w1.js → calendar-xpZ0v3xf.js} +39 -29
  4. package/_chunks/{chart-frame-BC99KjGa.js → chart-frame-Cmc7xU1i.js} +16 -13
  5. package/_chunks/{choice-chips-Cs4D-3nH.js → choice-chips-CHQTUdLs.js} +10 -10
  6. package/_chunks/clock-BOhPNlW3.js +4 -0
  7. package/_chunks/{color-palette-BBMFmUNA.js → color-palette-D8vyPfld.js} +1 -1
  8. package/_chunks/{color-picker-D90Jg-M8.js → color-picker-CudqPYZo.js} +10 -10
  9. package/_chunks/{component-YDcfoOLz.js → component-C_T2VN5u.js} +182 -178
  10. package/_chunks/{component-metadata-BENbgTjU.js → component-metadata-BMOOmqx5.js} +0 -4
  11. package/_chunks/control-AHKXD5Eu.js +93 -0
  12. package/_chunks/{control-tooltip-ztgmsG7H.js → control-tooltip-uscKfAnV.js} +15 -15
  13. package/_chunks/{controls-DIum-E66.js → controls-DsNi8V8I.js} +144 -129
  14. package/_chunks/{date-control-BJSzu79z.js → date-control-DrVFX13g.js} +1 -1
  15. package/_chunks/{date-time-BxPJusp9.js → date-time-qIhp5vaX.js} +143 -145
  16. package/_chunks/{delete-button-Bblyah10.js → delete-button-CW9vjLnk.js} +6 -6
  17. package/_chunks/{dialog.parts-DBqo3Qwb.js → dialog.parts-CKGkC5zP.js} +20 -20
  18. package/_chunks/{duration-87U2EoMS.js → duration-CL68Em0o.js} +16 -15
  19. package/_chunks/{editor-popup-D3JdS8l3.js → editor-popup-WDdtVDNA.js} +5 -5
  20. package/_chunks/field-context-D57PnBbH.js +5 -0
  21. package/_chunks/{framework-mount-C-Zwm44H.js → framework-mount--RTLIqE-.js} +1 -1
  22. package/_chunks/history-controls-B3u3INEK.js +27 -0
  23. package/_chunks/mount-DQ1cpppK.js +257 -0
  24. package/_chunks/native-control-C_yok8_-.js +605 -0
  25. package/_chunks/{number-input-BeIadZuL.js → number-input-BKwA5FnM.js} +2 -2
  26. package/_chunks/{picker-DpP7iQLA.js → picker-h1P5RUgp.js} +2 -2
  27. package/_chunks/popup-CT2uD3go.js +367 -0
  28. package/_chunks/{rating-choice-Ca8ZBty3.js → rating-choice-DZgmaic0.js} +1 -1
  29. package/_chunks/render-m5eMMwFR.js +83 -0
  30. package/_chunks/{reorder-list-Cc3KmfAN.js → reorder-list-CSlqAGHw.js} +1 -1
  31. package/_chunks/request-trail-DSlFix6i.js +618 -0
  32. package/_chunks/rich-text-CH7gIqOS.js +636 -0
  33. package/_chunks/rotate-right-Iha5ScJ1.js +4 -0
  34. package/_form.scss +1 -1
  35. package/ai/_chat.scss +195 -0
  36. package/ai/_style.scss +105 -34
  37. package/ai/chat.d.ts +63 -0
  38. package/ai/components.d.ts +19 -3
  39. package/ai/index.d.ts +2 -0
  40. package/ai/index.js +3 -3
  41. package/ai/mount.d.ts +30 -1
  42. package/ai/prompt-history.d.ts +13 -0
  43. package/ai/transcript.d.ts +25 -0
  44. package/ai/translations.d.ts +1 -1
  45. package/angular/angular.js +0 -3
  46. package/assignee/index.js +34 -35
  47. package/buttons/delete-button.d.ts +2 -1
  48. package/buttons/delete-button.js +1 -1
  49. package/buttons/remove-button.js +1 -1
  50. package/buttons/svg-button.d.ts +1 -0
  51. package/buttons/svg-button.js +5 -5
  52. package/calendar/_calendar.scss +7 -2
  53. package/calendar/calendar.js +1 -1
  54. package/calendar/index.js +2 -2
  55. package/choice-chips/index.js +1 -1
  56. package/color-palette/color-palette.js +1 -1
  57. package/color-palette/color-picker.js +2 -2
  58. package/component-catalog.d.ts +16 -5
  59. package/control-attributes.js +7 -7
  60. package/controls.d.ts +8 -6
  61. package/controls.js +3 -3
  62. package/core/editor-popup.js +1 -1
  63. package/date-time/index.js +1 -1
  64. package/date-time/style.scss +4 -4
  65. package/dialog/dialog.dom.js +8 -8
  66. package/dialog/dialog.parts.js +1 -1
  67. package/distribution-chart/area-chart.js +1 -1
  68. package/distribution-chart/bar-chart.d.ts +5 -2
  69. package/distribution-chart/bar-chart.js +7 -3
  70. package/distribution-chart/chart-frame.d.ts +2 -1
  71. package/distribution-chart/line-chart.js +1 -1
  72. package/dropdown/content.d.ts +2 -1
  73. package/dropdown/content.js +1 -142
  74. package/dropdown/control.d.ts +14 -0
  75. package/dropdown/control.js +1 -0
  76. package/dropdown/control.view.d.ts +6 -0
  77. package/dropdown/dropdown.types.d.ts +4 -0
  78. package/dropdown/editor-dropdown.style.scss +37 -9
  79. package/dropdown/index.d.ts +1 -1
  80. package/dropdown/index.js +3 -4
  81. package/dropdown/lookup-field.js +1 -1
  82. package/dropdown/popup.js +1 -141
  83. package/duration/index.js +1 -1
  84. package/duration/style.scss +1 -1
  85. package/editor-actions.js +1 -1
  86. package/field-configurator.js +6 -6
  87. package/fieldset.d.ts +3 -0
  88. package/filter/filters/slider/single.js +1 -1
  89. package/filter-badge.js +1 -1
  90. package/filter-controls.js +7 -7
  91. package/form-controls/field-context.d.ts +5 -0
  92. package/form-controls/index.js +7 -12
  93. package/form-controls/index.view.d.ts +2 -4
  94. package/form-controls/presentation.js +51 -43
  95. package/formatting/index.js +25 -21
  96. package/framework.js +215 -207
  97. package/history-controls.d.ts +14 -0
  98. package/history-controls.js +1 -0
  99. package/masked-input/index.js +1 -1
  100. package/native-control.d.ts +6 -4
  101. package/native-control.js +3 -26
  102. package/native-styles.css +1 -1
  103. package/native.js +31 -30
  104. package/number-input/index.js +1 -1
  105. package/package.json +18 -13
  106. package/pagination.d.ts +3 -0
  107. package/pagination.js +43 -33
  108. package/pdf-viewer/index.js +1 -1
  109. package/pdf-viewer/style.scss +3 -4
  110. package/preact.d.ts +2 -0
  111. package/preact.js +62 -62
  112. package/rating-choice.js +1 -1
  113. package/react-control.d.ts +0 -1
  114. package/react-control.js +2 -2
  115. package/react.d.ts +13 -3
  116. package/react.js +71 -88
  117. package/reorder-list.js +1 -1
  118. package/resource-picker/resource-picker-popup.js +1 -1
  119. package/resource-picker/resource-picker.js +4 -4
  120. package/resource-picker/resource-picker.scss +6 -3
  121. package/rich-text/engine.d.ts +16 -19
  122. package/rich-text/index.d.ts +7 -7
  123. package/rich-text/index.js +1 -1
  124. package/rich-text/model.d.ts +4 -3
  125. package/rich-text/render-model.d.ts +4 -5
  126. package/rich-text/style.scss +3 -12
  127. package/rich-text/toolbar.d.ts +6 -6
  128. package/rich-text/translations.d.ts +3 -15
  129. package/select.d.ts +20 -0
  130. package/select.js +1 -0
  131. package/status-feedback/exit-snapshot.js +4 -4
  132. package/status-feedback/index.js +2 -2
  133. package/status-feedback/popover.js +10 -10
  134. package/status-feedback/render.js +3 -44
  135. package/status-feedback/status-feedback.scss +7 -0
  136. package/status-feedback/types.d.ts +4 -0
  137. package/status-feedback/use-auto-dismiss.d.ts +3 -0
  138. package/styles/_compositions.scss +3 -1
  139. package/styles/_control.scss +12 -4
  140. package/styles/_primitives.scss +9 -8
  141. package/styles.css +1 -1
  142. package/surfaces.js +45 -45
  143. package/svelte/UiComponent.server.js +1 -48
  144. package/svelte/UiComponent.svelte +0 -21
  145. package/svelte.js +33 -68
  146. package/time-grid.js +1 -1
  147. package/timeline-track/component.d.ts +5 -1
  148. package/timeline-track/index.js +71 -54
  149. package/timeline-track/model.d.ts +9 -0
  150. package/timeline-track/model.js +10 -1
  151. package/ui.css +1 -1
  152. package/vue.d.ts +24 -5
  153. package/vue.js +140 -164
  154. package/_chunks/compat.module-DDB2pm9O.js +0 -229
  155. package/_chunks/dropdown-voWqmwAe.js +0 -357
  156. package/_chunks/mount-DZe_6VtR.js +0 -90
  157. package/_chunks/request-trail-IdNiFvKH.js +0 -347
  158. package/_chunks/rich-text-BzI1DyfF.js +0 -477
  159. package/react-native-select.d.ts +0 -6
  160. package/rich-text/syntax.d.ts +0 -2
  161. package/vue-native-select.d.ts +0 -9
package/framework.js CHANGED
@@ -1,230 +1,238 @@
1
- import { a as ee, i as te, n as ne, o as e, r as t, t as n } from "./_chunks/request-trail-IdNiFvKH.js";
2
- import { n as re, t as ie } from "./_chunks/rating-choice-Ca8ZBty3.js";
3
- import { SvgIcon as r } from "./icons/icon.js";
4
- import { Input as ae } from "./native-control.js";
5
- import { A as oe, C as se, D as ce, E as le, F as i, I as a, L as o, M as s, N as c, O as l, P as u, R as d, S as f, T as p, _ as m, a as h, b as g, c as _, d as v, f as y, g as b, h as x, i as S, j as C, k as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as M, u as N, v as P, w as F, x as I, y as L, z as R } from "./_chunks/controls-DIum-E66.js";
6
- import { t as z } from "./_chunks/control-tooltip-ztgmsG7H.js";
1
+ import { n as ee, t as te } from "./_chunks/rating-choice-DZgmaic0.js";
2
+ import { SvgIcon as e } from "./icons/icon.js";
3
+ import { l as t, n, p as r } from "./_chunks/native-control-C_yok8_-.js";
4
+ import { t as i } from "./_chunks/popup-CT2uD3go.js";
5
+ import { t as a } from "./_chunks/delete-button-CW9vjLnk.js";
6
+ import { RemoveButton as ne } from "./buttons/remove-button.js";
7
+ import { A as re, C as ie, D as ae, E as oe, F as se, I as o, L as s, M as c, N as l, O as u, P as d, R as f, S as p, T as m, _ as h, a as g, b as _, c as v, d as y, f as b, g as x, h as S, i as C, j as w, k as T, l as E, m as D, n as O, o as k, p as A, r as j, s as M, t as N, u as P, v as F, w as I, x as L, y as R } from "./_chunks/controls-DsNi8V8I.js";
8
+ import { t as z } from "./_chunks/control-tooltip-uscKfAnV.js";
7
9
  import { SvgButton as B } from "./buttons/svg-button.js";
8
10
  import { SegmentedSwitch as V } from "./segmented-switch/index.js";
9
11
  import { EditorList as H, EditorListGroup as U, EditorListItem as W, EditorListItemContent as G, EditorPane as K, EditorSplitLayout as q } from "./editor-layout/index.js";
10
- import { a as ue, c as de, i as fe, l as pe, n as me, o as he, r as ge, s as _e, t as ve } from "./_chunks/dialog.parts-DBqo3Qwb.js";
11
- import { t as ye } from "./_chunks/delete-button-Bblyah10.js";
12
- import { RemoveButton as be } from "./buttons/remove-button.js";
13
- import { t as xe } from "./_chunks/color-palette-BBMFmUNA.js";
14
- import { t as Se } from "./_chunks/color-picker-D90Jg-M8.js";
15
- import { n as Ce, r as we, t as Te } from "./_chunks/choice-chips-Cs4D-3nH.js";
16
- import { FilterBadge as Ee, FilterBadgeInfoButton as De } from "./filter-badge.js";
17
- import { ActivityMessage as Oe } from "./activity-message.js";
18
- import { Checkbox as ke } from "./checkbox/index.js";
19
- import { Switch as Ae } from "./switch/index.js";
20
- import { SearchInput as je } from "./search-input/index.js";
21
- import { DisclosureSummary as Me, FilterChip as J, FormField as Ne } from "./form-controls/presentation.js";
22
- import { a as Pe, i as Fe, r as Ie } from "./_chunks/date-time-BxPJusp9.js";
23
- import { n as Le, t as Re } from "./_chunks/duration-87U2EoMS.js";
24
- import { CalendarHeader as Y, CalendarWeekdays as ze } from "./calendar/header.js";
25
- import { t as Be } from "./_chunks/calendar-CpaUK7w1.js";
26
- import { CalendarDay as Ve } from "./calendar/day.js";
27
- import { CalendarMonthGrid as He } from "./calendar/month-grid.js";
28
- import { CalendarYearGrid as Ue } from "./calendar/year-grid.js";
29
- import { t as We } from "./_chunks/picker-DpP7iQLA.js";
30
- import { ResourcePickerAvatar as Ge } from "./resource-picker/resource-picker-avatar.js";
31
- import { DropdownPopup as Ke } from "./dropdown/popup.js";
32
- import { SharedResourcePicker as X } from "./resource-picker/resource-picker.js";
33
- import { t as qe } from "./_chunks/dropdown-voWqmwAe.js";
34
- import { DropdownPopupContent as Je } from "./dropdown/content.js";
35
- import { PreactRangeSlider as Z } from "./filter/filters/slider/preact.js";
36
- import { SingleValueSlider as Q, SliderField as Ye } from "./filter/filters/slider/single.js";
37
- import { StatusBadge as Xe, StatusFeedbackPanel as $ } from "./status-feedback/render.js";
38
- import { a as Ze, c as Qe, d as $e, f as et, l as tt, m as nt, o as rt, p as it, r as at, s as ot, t as st, u as ct } from "./_chunks/component-YDcfoOLz.js";
39
- import { BarChart as lt } from "./distribution-chart/bar-chart.js";
40
- import { LineChart as ut } from "./distribution-chart/line-chart.js";
41
- import { AreaChart as dt } from "./distribution-chart/area-chart.js";
42
- import { DistributionChart as ft } from "./distribution-chart/index.js";
43
- import { BrushRange as pt } from "./brush-range/component.js";
44
- import { Legend as mt } from "./legend.js";
45
- import { HighlightedTextInput as ht, InlineFieldGroup as gt, OptionButton as _t } from "./filter-controls.js";
46
- import { TimeGrid as vt } from "./time-grid.js";
47
- import { FieldActions as yt, FieldContent as bt, FieldDropIndicator as xt, FieldGroup as St, FieldGroupHeading as Ct, FieldIcon as wt, FieldItem as Tt, FieldLibrary as Et, FieldLibraryList as Dt, FieldList as Ot, FieldRemoveButton as kt, FieldRemoveIcon as At, FieldRow as jt, FieldStatusBadge as Mt, FieldSummary as Nt, SelectedField as Pt } from "./field-configurator.js";
48
- import { ComparisonPreview as Ft, IconChoiceGroup as It, IconToggleButton as Lt, InspectorSection as Rt, TypographyControls as zt } from "./formatting/index.js";
49
- import { n as Bt, t as Vt } from "./_chunks/reorder-list-Cc3KmfAN.js";
50
- import { TimelineTrack as Ht } from "./timeline-track/index.js";
51
- import { t as Ut } from "./_chunks/number-input-BeIadZuL.js";
52
- import { MaskedDraft as Wt } from "./masked-input/index.js";
53
- import { t as Gt } from "./_chunks/rich-text-BzI1DyfF.js";
54
- import { AssigneeField as Kt, AssigneePicker as qt, AssigneePickerLayout as Jt } from "./assignee/index.js";
55
- import { i as Yt, n as Xt, r as Zt, t as Qt } from "./_chunks/component-metadata-BENbgTjU.js";
56
- import { n as $t, t as en } from "./_chunks/framework-mount-C-Zwm44H.js";
12
+ import { a as ce, c as le, i as ue, l as de, n as fe, o as pe, r as me, s as he, t as ge } from "./_chunks/dialog.parts-CKGkC5zP.js";
13
+ import { _ as _e, a as ve, c as ye, d as be, f as xe, g 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/request-trail-DSlFix6i.js";
14
+ import { n as J, t as Pe } from "./_chunks/render-m5eMMwFR.js";
15
+ import { t as Fe } from "./_chunks/color-palette-D8vyPfld.js";
16
+ import { t as Ie } from "./_chunks/color-picker-CudqPYZo.js";
17
+ import { n as Le, r as Re, t as ze } from "./_chunks/choice-chips-CHQTUdLs.js";
18
+ import { FilterBadge as Be, FilterBadgeInfoButton as Ve } from "./filter-badge.js";
19
+ import { ActivityMessage as He } from "./activity-message.js";
20
+ import { Checkbox as Y } from "./checkbox/index.js";
21
+ import { Switch as Ue } from "./switch/index.js";
22
+ import { SearchInput as We } from "./search-input/index.js";
23
+ import { DisclosureSummary as Ge, FilterChip as X, FormField as Ke } from "./form-controls/presentation.js";
24
+ import { a as qe, i as Je, r as Ye } from "./_chunks/date-time-qIhp5vaX.js";
25
+ import { n as Xe, t as Ze } from "./_chunks/duration-CL68Em0o.js";
26
+ import { CalendarHeader as Qe, CalendarWeekdays as $e } from "./calendar/header.js";
27
+ import { t as et } from "./_chunks/calendar-xpZ0v3xf.js";
28
+ import { CalendarDay as tt } from "./calendar/day.js";
29
+ import { CalendarMonthGrid as nt } from "./calendar/month-grid.js";
30
+ import { CalendarYearGrid as rt } from "./calendar/year-grid.js";
31
+ import { t as it } from "./_chunks/picker-h1P5RUgp.js";
32
+ import { ResourcePickerAvatar as at } from "./resource-picker/resource-picker-avatar.js";
33
+ import { SharedResourcePicker as Z } from "./resource-picker/resource-picker.js";
34
+ import { PreactRangeSlider as Q } from "./filter/filters/slider/preact.js";
35
+ import { SingleValueSlider as $, SliderField as ot } from "./filter/filters/slider/single.js";
36
+ import { a as st, c as ct, d as lt, f as ut, l as dt, m as ft, o as pt, p as mt, r as ht, s as gt, t as _t, u as vt } from "./_chunks/component-C_T2VN5u.js";
37
+ import { BarChart as yt } from "./distribution-chart/bar-chart.js";
38
+ import { LineChart as bt } from "./distribution-chart/line-chart.js";
39
+ import { AreaChart as xt } from "./distribution-chart/area-chart.js";
40
+ import { DistributionChart as St } from "./distribution-chart/index.js";
41
+ import { BrushRange as Ct } from "./brush-range/component.js";
42
+ import { Legend as wt } from "./legend.js";
43
+ import { HighlightedTextInput as Tt, InlineFieldGroup as Et, OptionButton as Dt } from "./filter-controls.js";
44
+ import { TimeGrid as Ot } from "./time-grid.js";
45
+ import { FieldActions as kt, FieldContent as At, FieldDropIndicator as jt, FieldGroup as Mt, FieldGroupHeading as Nt, FieldIcon as Pt, FieldItem as Ft, FieldLibrary as It, FieldLibraryList as Lt, FieldList as Rt, FieldRemoveButton as zt, FieldRemoveIcon as Bt, FieldRow as Vt, FieldStatusBadge as Ht, FieldSummary as Ut, SelectedField as Wt } from "./field-configurator.js";
46
+ import { ComparisonPreview as Gt, IconChoiceGroup as Kt, IconToggleButton as qt, InspectorSection as Jt, TypographyControls as Yt } from "./formatting/index.js";
47
+ import { n as Xt, t as Zt } from "./_chunks/reorder-list-CSlqAGHw.js";
48
+ import { TimelineTrack as Qt } from "./timeline-track/index.js";
49
+ import { t as $t } from "./_chunks/number-input-BKwA5FnM.js";
50
+ import { MaskedDraft as en } from "./masked-input/index.js";
51
+ import { t as tn } from "./_chunks/rich-text-CH7gIqOS.js";
52
+ import { AssigneeField as nn, AssigneePicker as rn, AssigneePickerLayout as an } from "./assignee/index.js";
53
+ import { i as on, n as sn, r as cn, t as ln } from "./_chunks/component-metadata-BMOOmqx5.js";
54
+ import { n as un, t as dn } from "./_chunks/framework-mount--RTLIqE-.js";
57
55
  //#region src/component-catalog.ts
58
- var tn = {
59
- AiPromptInput: te,
60
- AiSuggestions: e,
61
- AiActionStatus: ne,
62
- AiResult: ee,
63
- AiAssistant: t,
64
- AiRequestTrail: n,
65
- Icon: r,
66
- RemovableChip: J,
67
- Slider: Q,
68
- RangeSlider: Z,
69
- ResourcePicker: X,
70
- FeedbackPanel: $,
71
- Input: ae,
72
- SvgIcon: r,
56
+ var fn = {
57
+ AiChat: De,
58
+ AiChatContent: we,
59
+ AiChatComposer: Ae,
60
+ AiChatEmptyState: ve,
61
+ AiMessage: Oe,
62
+ AiMessageContent: ye,
63
+ AiMessageActions: je,
64
+ AiReasoning: Te,
65
+ AiTask: Ne,
66
+ AiTaskItem: be,
67
+ AiPromptInput: Ce,
68
+ AiSuggestions: _e,
69
+ AiActionStatus: xe,
70
+ AiResult: Se,
71
+ AiChangePreview: Ee,
72
+ AiAssistant: ke,
73
+ AiRequestTrail: Me,
74
+ Icon: e,
75
+ RemovableChip: X,
76
+ Slider: $,
77
+ RangeSlider: Q,
78
+ ResourcePicker: Z,
79
+ FeedbackPanel: J,
80
+ Input: n,
81
+ SvgIcon: e,
73
82
  SvgButton: B,
74
- DeleteButton: ye,
75
- RemoveButton: be,
76
- Checkbox: ke,
77
- Switch: Ae,
83
+ DeleteButton: a,
84
+ RemoveButton: ne,
85
+ Checkbox: Y,
86
+ Switch: Ue,
78
87
  SegmentedSwitch: V,
79
- ChoiceChips: we,
80
- ChoiceChipInfoButton: Ce,
81
- ChoiceChip: Te,
82
- SearchInput: je,
83
- FilterChip: J,
84
- FormField: Ne,
85
- DisclosureSummary: Me,
88
+ ChoiceChips: Re,
89
+ ChoiceChipInfoButton: Le,
90
+ ChoiceChip: ze,
91
+ SearchInput: We,
92
+ FilterChip: X,
93
+ FormField: Ke,
94
+ DisclosureSummary: Ge,
86
95
  EditorSplitLayout: q,
87
96
  EditorPane: K,
88
97
  EditorList: H,
89
98
  EditorListItem: W,
90
99
  EditorListItemContent: G,
91
100
  EditorListGroup: U,
92
- Calendar: Be,
93
- CalendarHeader: Y,
94
- CalendarWeekdays: ze,
95
- CalendarDay: Ve,
96
- CalendarMonthGrid: He,
97
- CalendarYearGrid: Ue,
98
- CalendarPicker: We,
99
- SharedResourcePicker: X,
100
- ResourcePickerAvatar: Ge,
101
- ColorPalette: xe,
102
- ColorPicker: Se,
103
- Dropdown: qe,
104
- DropdownPopup: Ke,
105
- DropdownPopupContent: Je,
106
- PreactRangeSlider: Z,
107
- SingleValueSlider: Q,
108
- SliderField: Ye,
109
- IconButton: E,
110
- ToggleButton: i,
111
- ButtonGroup: A,
112
- SegmentedControl: ce,
113
- Tabs: C,
114
- TabPanel: oe,
115
- RadioGroup: F,
116
- TextInput: s,
101
+ Calendar: et,
102
+ CalendarHeader: Qe,
103
+ CalendarWeekdays: $e,
104
+ CalendarDay: tt,
105
+ CalendarMonthGrid: nt,
106
+ CalendarYearGrid: rt,
107
+ CalendarPicker: it,
108
+ SharedResourcePicker: Z,
109
+ ResourcePickerAvatar: at,
110
+ ColorPalette: Fe,
111
+ ColorPicker: Ie,
112
+ Dropdown: t,
113
+ DropdownPopup: i,
114
+ DropdownPopupContent: r,
115
+ PreactRangeSlider: Q,
116
+ SingleValueSlider: $,
117
+ SliderField: ot,
118
+ IconButton: D,
119
+ ToggleButton: d,
120
+ ButtonGroup: j,
121
+ SegmentedControl: oe,
122
+ Tabs: re,
123
+ TabPanel: T,
124
+ RadioGroup: ie,
125
+ TextInput: w,
117
126
  Textarea: c,
118
- NumberInput: g,
119
- NumberStepper: I,
120
- DateInput: j,
121
- TimeInput: u,
122
- DateTimeInput: _,
123
- Chip: S,
124
- FieldHint: y,
125
- FieldError: v,
126
- FormSection: k,
127
- Disclosure: T,
128
- Panel: se,
129
- Toolbar: a,
127
+ NumberInput: R,
128
+ NumberStepper: _,
129
+ DateInput: M,
130
+ TimeInput: l,
131
+ DateTimeInput: v,
132
+ Chip: C,
133
+ FieldHint: b,
134
+ FieldError: y,
135
+ FormSection: A,
136
+ Disclosure: E,
137
+ Panel: p,
138
+ Toolbar: se,
130
139
  ToolbarGroup: o,
131
- ToolbarSeparator: d,
132
- Badge: M,
133
- CountBadge: O,
134
- Spinner: l,
135
- LoadingOverlay: x,
136
- EmptyState: N,
137
- Menu: b,
138
- MenuItem: m,
139
- MenuSeparator: P,
140
- Submenu: w,
141
- ResizeHandle: le,
142
- Pagination: f,
143
- CircularProgress: h,
144
- Rating: p,
145
- Button: D,
140
+ ToolbarSeparator: s,
141
+ Badge: N,
142
+ CountBadge: k,
143
+ Spinner: ae,
144
+ LoadingOverlay: S,
145
+ EmptyState: P,
146
+ Menu: x,
147
+ MenuItem: h,
148
+ MenuSeparator: F,
149
+ Submenu: u,
150
+ ResizeHandle: m,
151
+ Pagination: L,
152
+ CircularProgress: g,
153
+ Rating: I,
154
+ Button: O,
146
155
  Pane: K,
147
156
  SplitLayout: q,
148
- Alert: R,
157
+ Alert: f,
149
158
  Listbox: H,
150
159
  ListboxOption: W,
151
160
  ListboxGroup: U,
152
161
  ListboxOptionContent: G,
153
- StatusFeedbackPanel: $,
154
- StatusBadge: Xe,
155
- Combobox: rt,
156
- MultiSelect: $e,
157
- Avatar: Ze,
158
- ProgressBar: it,
159
- Popover: et,
160
- Tooltip: nt,
161
- Dialog: ct,
162
- ConfirmDialog: ot,
163
- DatePicker: Qe,
164
- DateRangePicker: tt,
165
- DialogHeader: _e,
166
- DialogBody: ge,
167
- DialogFooter: ue,
168
- DistributionChart: ft,
169
- BarChart: lt,
170
- LineChart: ut,
171
- AreaChart: dt,
172
- BrushRange: pt,
173
- OptionButton: _t,
174
- HighlightedTextInput: ht,
175
- InlineFieldGroup: gt,
176
- Legend: mt,
177
- TimeGrid: vt,
178
- FieldIcon: wt,
179
- FieldSummary: Nt,
180
- FieldLibrary: Et,
181
- FieldGroupHeading: Ct,
182
- FieldGroup: St,
183
- FieldList: Ot,
184
- FieldRow: jt,
185
- FieldContent: bt,
186
- FieldItem: Tt,
187
- FieldLibraryList: Dt,
188
- SelectedField: Pt,
189
- FieldActions: yt,
190
- FieldStatusBadge: Mt,
191
- FieldRemoveButton: kt,
192
- FieldRemoveIcon: At,
193
- FieldDropIndicator: xt,
194
- DialogForm: he,
195
- DialogCloseButton: fe,
196
- DialogActionFooter: ve,
197
- DialogActions: me,
198
- DialogTitleInput: de,
199
- EditableDialogHeader: pe,
162
+ StatusFeedbackPanel: J,
163
+ StatusBadge: Pe,
164
+ Combobox: pt,
165
+ MultiSelect: lt,
166
+ Avatar: st,
167
+ ProgressBar: mt,
168
+ Popover: ut,
169
+ Tooltip: ft,
170
+ Dialog: vt,
171
+ ConfirmDialog: gt,
172
+ DatePicker: ct,
173
+ DateRangePicker: dt,
174
+ DialogHeader: he,
175
+ DialogBody: me,
176
+ DialogFooter: ce,
177
+ DistributionChart: St,
178
+ BarChart: yt,
179
+ LineChart: bt,
180
+ AreaChart: xt,
181
+ BrushRange: Ct,
182
+ OptionButton: Dt,
183
+ HighlightedTextInput: Tt,
184
+ InlineFieldGroup: Et,
185
+ Legend: wt,
186
+ TimeGrid: Ot,
187
+ FieldIcon: Pt,
188
+ FieldSummary: Ut,
189
+ FieldLibrary: It,
190
+ FieldGroupHeading: Nt,
191
+ FieldGroup: Mt,
192
+ FieldList: Rt,
193
+ FieldRow: Vt,
194
+ FieldContent: At,
195
+ FieldItem: Ft,
196
+ FieldLibraryList: Lt,
197
+ SelectedField: Wt,
198
+ FieldActions: kt,
199
+ FieldStatusBadge: Ht,
200
+ FieldRemoveButton: zt,
201
+ FieldRemoveIcon: Bt,
202
+ FieldDropIndicator: jt,
203
+ DialogForm: pe,
204
+ DialogCloseButton: ue,
205
+ DialogActionFooter: ge,
206
+ DialogActions: fe,
207
+ DialogTitleInput: le,
208
+ EditableDialogHeader: de,
200
209
  ControlTooltip: z,
201
- InspectorSection: Rt,
202
- IconChoiceGroup: It,
203
- IconToggleButton: Lt,
204
- TypographyControls: zt,
205
- ComparisonPreview: Ft,
206
- FilterBadgeInfoButton: De,
207
- FilterBadge: Ee,
208
- RatingStar: re,
209
- RatingChoice: ie,
210
- ReorderList: Bt,
211
- ReorderHandle: Vt,
212
- TimelineTrack: Ht,
213
- ActivityMessage: Oe,
214
- PdfViewer: st,
215
- PdfViewerToolbar: at,
216
- NumberDraft: Ut,
217
- MaskedDraft: Wt,
218
- DurationField: Le,
219
- DurationDraft: Re,
220
- MarkdownEditor: Gt,
221
- TemporalPicker: Pe,
222
- TemporalDraft: Fe,
223
- DateTimeField: Ie,
224
- AssigneePicker: qt,
225
- AssigneeField: Kt,
226
- AssigneePickerLayout: Jt,
227
- NativeSelect: L
210
+ InspectorSection: Jt,
211
+ IconChoiceGroup: Kt,
212
+ IconToggleButton: qt,
213
+ TypographyControls: Yt,
214
+ ComparisonPreview: Gt,
215
+ FilterBadgeInfoButton: Ve,
216
+ FilterBadge: Be,
217
+ RatingStar: ee,
218
+ RatingChoice: te,
219
+ ReorderList: Xt,
220
+ ReorderHandle: Zt,
221
+ TimelineTrack: Qt,
222
+ ActivityMessage: He,
223
+ PdfViewer: _t,
224
+ PdfViewerToolbar: ht,
225
+ NumberDraft: $t,
226
+ MaskedDraft: en,
227
+ DurationField: Xe,
228
+ DurationDraft: Ze,
229
+ HtmlEditor: tn,
230
+ TemporalPicker: qe,
231
+ TemporalDraft: Je,
232
+ DateTimeField: Ye,
233
+ AssigneePicker: rn,
234
+ AssigneeField: nn,
235
+ AssigneePickerLayout: an
228
236
  };
229
237
  //#endregion
230
- export { Qt as componentModels, Xt as componentRenderSlots, en as createFrameworkMount, Zt as dropdownRenderSlots, Yt as pdfViewerRenderSlots, tn as uiComponents, $t as withFrameworkContent };
238
+ export { ln as componentModels, sn as componentRenderSlots, dn as createFrameworkMount, cn as dropdownRenderSlots, on as pdfViewerRenderSlots, fn as uiComponents, un as withFrameworkContent };
@@ -0,0 +1,14 @@
1
+ import { h } from './_vendor/preact/src/index';
2
+ export interface HistoryControlsProps {
3
+ onUndo?(): void;
4
+ onRedo?(): void;
5
+ canUndo: boolean;
6
+ canRedo: boolean;
7
+ undoLabel?: string;
8
+ redoLabel?: string;
9
+ label?: string;
10
+ undoCount?: number;
11
+ redoCount?: number;
12
+ }
13
+ /** Shared history presentation; the consumer retains ownership of replay and state. */
14
+ export declare function HistoryControls({ onUndo, onRedo, canUndo, canRedo, undoLabel, redoLabel, label, undoCount, redoCount, }: HistoryControlsProps): h.JSX.Element;
@@ -0,0 +1 @@
1
+ export { t as HistoryControls } from "./_chunks/history-controls-B3u3INEK.js";
@@ -1,6 +1,6 @@
1
1
  import { a as e, i as t, t as n } from "../_chunks/hooks.module-CG3gN83z.js";
2
2
  import { t as r } from "../_chunks/jsxRuntime.module-F6UFnpT-.js";
3
- import { Input as i } from "../native-control.js";
3
+ import { n as i } from "../_chunks/native-control-C_yok8_-.js";
4
4
  import { EditorActions as a } from "../editor-actions.js";
5
5
  //#region src/masked-input/model.ts
6
6
  function o(e) {
@@ -1,3 +1,4 @@
1
+ import { Select as SharedSelect } from './select';
1
2
  import { h, JSX } from './_vendor/preact/src/index';
2
3
  type NativeAttributes<K extends keyof JSX.IntrinsicElements> = Omit<JSX.IntrinsicElements[K], 'class' | 'className' | 'ref'> & {
3
4
  class?: JSX.IntrinsicElements[K]['class'] | Record<string, boolean | undefined>;
@@ -7,18 +8,16 @@ type NativeAttributes<K extends keyof JSX.IntrinsicElements> = Omit<JSX.Intrinsi
7
8
  export declare const Input: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<NativeAttributes<"input">> & {
8
9
  ref?: import('./_vendor/preact/src/index').Ref<HTMLInputElement> | undefined;
9
10
  }>;
10
- export declare const Select: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<NativeAttributes<"select">> & {
11
- ref?: import('./_vendor/preact/src/index').Ref<HTMLSelectElement> | undefined;
12
- }>;
13
11
  export declare const TextArea: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<NativeAttributes<"textarea">> & {
14
12
  ref?: import('./_vendor/preact/src/index').Ref<HTMLTextAreaElement> | undefined;
15
13
  }>;
16
- export declare const ButtonControl: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<Omit<h.JSX.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "class" | "ref"> & {
14
+ export declare const ButtonControl: import('./_vendor/preact/src/index').FunctionalComponent<import('./_vendor/preact/compat/src/index').PropsWithoutRef<Omit<h.JSX.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "ref" | "class"> & {
17
15
  class?: h.JSX.Signalish<string | undefined> | Record<string, boolean | undefined>;
18
16
  className?: h.JSX.Signalish<string | undefined>;
19
17
  } & {
20
18
  unstyled?: boolean;
21
19
  busy?: boolean;
20
+ rounded?: boolean;
22
21
  }> & {
23
22
  ref?: import('./_vendor/preact/src/index').Ref<HTMLButtonElement> | undefined;
24
23
  }>;
@@ -26,3 +25,6 @@ export declare const Summary: import('./_vendor/preact/src/index').FunctionalCom
26
25
  ref?: import('./_vendor/preact/src/index').Ref<HTMLElement> | undefined;
27
26
  }>;
28
27
  export { nativeControlTag } from './control-presentation';
28
+ /** Selection uses the shared Dropdown rather than browser-native UI. */
29
+ export declare const Select: typeof SharedSelect;
30
+ export { Fieldset } from './fieldset';
package/native-control.js CHANGED
@@ -1,26 +1,3 @@
1
- import { c as e } from "./_chunks/preact.module-BBM36DnO.js";
2
- import { n as t } from "./_chunks/compat.module-DDB2pm9O.js";
3
- import { nativeControlTag as n, registerControl as r, renderControl as i } from "./control-presentation.js";
4
- //#region src/native-control.tsx
5
- function a(t, n, ...r) {
6
- let { onChange: a, ...o } = n, s = i(e, t, o, ...r);
7
- return a && !(t === "button" && n.busy) && Object.assign(s.props, { onChange: a }), s;
8
- }
9
- var o = r(t((e, t) => a("input", {
10
- ...e,
11
- ref: t
12
- })), "input"), s = r(t(({ children: e, ...t }, n) => a("select", {
13
- ...t,
14
- ref: n
15
- }, e)), "select"), c = r(t(({ children: e, ...t }, n) => a("textarea", {
16
- ...t,
17
- ref: n
18
- }, e)), "textarea"), l = r(t(({ children: e, ...t }, n) => a("button", {
19
- ...t,
20
- ref: n
21
- }, e)), "button"), u = r(t(({ children: e, ...t }, n) => a("summary", {
22
- ...t,
23
- ref: n
24
- }, e)), "summary");
25
- //#endregion
26
- export { l as ButtonControl, o as Input, s as Select, u as Summary, c as TextArea, n as nativeControlTag };
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "./_chunks/native-control-C_yok8_-.js";
2
+ import { nativeControlTag as o } from "./control-presentation.js";
3
+ export { a as ButtonControl, r as Fieldset, n as Input, i as Select, t as Summary, e as TextArea, o as nativeControlTag };