@gobolt/genesis 0.0.11 → 0.1.0

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 (157) hide show
  1. package/README.md +6 -0
  2. package/dist/ClockCircleOutlined-BaXQuLIn.js +13 -0
  3. package/dist/{Compact-DBh6nSYB.js → Compact-Du9689ax.js} +8 -8
  4. package/dist/{ContextIsolator-CwuJooYf.js → ContextIsolator-BmfhJgG0.js} +2 -2
  5. package/dist/{DownOutlined-5-15jS0h.js → DownOutlined-Dcq69ZKM.js} +9 -9
  6. package/dist/{EllipsisOutlined-CJ2pgE2d.js → EllipsisOutlined-DGMph0Bj.js} +110 -110
  7. package/dist/{Keyframes-sPZXYuXt.js → Keyframes-C9_aCDvn.js} +1 -1
  8. package/dist/{Overflow-DdNKJLQh.js → Overflow-DWf4XIal.js} +31 -31
  9. package/dist/{Skeleton-B3vg9CbL.js → Skeleton-BVN4pcVe.js} +2 -2
  10. package/dist/TextArea-Bkf9hh7l.js +708 -0
  11. package/dist/{Typography-DqI7RslA.js → Typography-CoZ5qD-t.js} +3 -3
  12. package/dist/{button-B2Rgggx2.js → button-BwqpCxVM.js} +5 -5
  13. package/dist/components/Avatar/Avatar.js +3 -3
  14. package/dist/components/Avatar/__tests__/Avatar.test.js +1 -1
  15. package/dist/components/Avatar/styles.js +42 -42
  16. package/dist/components/Badge/Badge.js +3 -3
  17. package/dist/components/Badge/__tests__/Badge.test.js +1 -1
  18. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  19. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +1 -1
  20. package/dist/components/Breadcrumb/styles.js +4 -4
  21. package/dist/components/Button/__tests__/Button.test.js +1 -1
  22. package/dist/components/Button/styles.js +1 -1
  23. package/dist/components/Card/__tests__/Card.test.js +1 -1
  24. package/dist/components/Card/styles.js +1 -1
  25. package/dist/components/Checkbox/Checkbox.js +3 -3
  26. package/dist/components/Checkbox/__tests__/Checkbox.test.js +1 -1
  27. package/dist/components/Checkbox/styles.js +1 -1
  28. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +8 -8
  29. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +4 -4
  30. package/dist/components/Dashboard/__tests__/Dashboard.test.js +1 -1
  31. package/dist/components/DatePicker/DatePicker.d.ts +6 -0
  32. package/dist/components/DatePicker/DatePicker.js +5 -0
  33. package/dist/components/DatePicker/__stories__/DatePicker.stories.d.ts +10 -0
  34. package/dist/components/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
  35. package/dist/components/DatePicker/__tests__/DatePicker.test.js +19 -0
  36. package/dist/components/DatePicker/index.d.ts +2 -0
  37. package/dist/components/DatePicker/index.js +4 -0
  38. package/dist/components/DateRangePicker/DateRangePicker.d.ts +5 -0
  39. package/dist/components/DateRangePicker/DateRangePicker.js +5 -0
  40. package/dist/components/DateRangePicker/__stories__/DateRangePicker.stories.d.ts +9 -0
  41. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.d.ts +1 -0
  42. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +23 -0
  43. package/dist/components/DateRangePicker/index.d.ts +2 -0
  44. package/dist/components/DateRangePicker/index.js +4 -0
  45. package/dist/components/ErrorBoundary/ErrorBoundary.js +3 -3
  46. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +1 -1
  47. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +3 -3
  48. package/dist/components/ErrorBoundaryFallback/styles.js +1 -1
  49. package/dist/components/Form/Form.js +2 -2
  50. package/dist/components/Form/__stories__/FormStory.js +4 -4
  51. package/dist/components/Form/__tests__/form.test.js +2 -2
  52. package/dist/components/Form/index.js +1 -1
  53. package/dist/components/Form/styles.js +1 -1
  54. package/dist/components/Input/Input.js +1 -1
  55. package/dist/components/Input/__tests__/Input.test.js +1 -1
  56. package/dist/components/Input/styles.js +1 -1
  57. package/dist/components/Layout/Content/ResponsiveContent.js +3 -3
  58. package/dist/components/Layout/MainLayout/MainLayout.js +1 -1
  59. package/dist/components/Layout/__tests__/Layout.test.js +1 -1
  60. package/dist/components/Message/Message.js +3 -3
  61. package/dist/components/Message/__tests__/Message.test.js +1 -1
  62. package/dist/components/Notification/Notification.js +3 -3
  63. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +1 -1
  64. package/dist/components/Notification/__tests__/Notification.test.js +1 -1
  65. package/dist/components/Popover/Popover.js +1 -1
  66. package/dist/components/Popover/__tests__/Popover.test.js +1 -1
  67. package/dist/components/Popover/styles.js +1 -1
  68. package/dist/components/Progress/Progress.js +3 -3
  69. package/dist/components/Progress/Progress.util.js +3 -3
  70. package/dist/components/Progress/ProgressText.js +3 -3
  71. package/dist/components/Progress/__tests__/Progress.test.js +1 -1
  72. package/dist/components/Progress/styles.js +3 -3
  73. package/dist/components/Radio/Radio.js +3 -3
  74. package/dist/components/Radio/RadioGroup.js +1 -1
  75. package/dist/components/Radio/__tests__/RadioGroup.test.js +1 -1
  76. package/dist/components/Row/Row.js +1 -1
  77. package/dist/components/Row/RowActions/RowActions.js +3 -3
  78. package/dist/components/Row/RowLabelValue/RowLabelValue.js +3 -3
  79. package/dist/components/Row/RowLabelValue/styles.js +1 -1
  80. package/dist/components/Row/__tests__/Row.test.js +1 -1
  81. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +1 -1
  82. package/dist/components/SegmentedControls/styles.js +27 -27
  83. package/dist/components/Select/Select.js +1 -1
  84. package/dist/components/Select/__tests__/Select.test.js +1 -1
  85. package/dist/components/Select/styles.js +1 -1
  86. package/dist/components/Shapes/__tests__/Shapes.test.js +1 -1
  87. package/dist/components/Switch/__tests__/Switch.test.js +1 -1
  88. package/dist/components/Switch/styles.js +15 -15
  89. package/dist/components/Table/Table.js +1 -1
  90. package/dist/components/Table/__mocks__/table-mocks.js +3 -3
  91. package/dist/components/Table/__tests__/Table.test.js +1 -1
  92. package/dist/components/Table/styles.js +1 -1
  93. package/dist/components/Tabs/__tests__/Tabs.test.js +1 -1
  94. package/dist/components/Tabs/styles.js +1 -1
  95. package/dist/components/Tile/__tests__/Tile.test.js +1 -1
  96. package/dist/components/Toast/Toast.js +3 -3
  97. package/dist/components/Toast/__tests__/Toast.test.js +2 -2
  98. package/dist/components/Toast/index.js +1 -1
  99. package/dist/components/Tooltip/Tooltip.js +3 -3
  100. package/dist/components/Tooltip/__tests__/Tooltip.test.js +1 -1
  101. package/dist/components/Tooltip/styles.js +1 -1
  102. package/dist/components/Typography/Typography.js +1 -1
  103. package/dist/components/Typography/__tests__/Typography.test.js +2 -2
  104. package/dist/components/Typography/index.js +1 -1
  105. package/dist/components/Typography/styles.js +1 -1
  106. package/dist/components/index.d.ts +4 -0
  107. package/dist/components/index.js +46 -42
  108. package/dist/{context-Cx7GtZpz.js → context-DIFtNa4d.js} +70 -70
  109. package/dist/{dropdown-zGGFIyJ_.js → dropdown-Dp_PTQ2u.js} +60 -59
  110. package/dist/genesis/GenesisThemeBreakdown.js +86 -44
  111. package/dist/genesis/labs/Lab.stories.d.ts +6 -0
  112. package/dist/genesis/styles.js +2 -2
  113. package/dist/{index-CdiHBmVe.js → index-BPVue1Yd.js} +44 -44
  114. package/dist/{index-CRotrkWm.js → index-BQM5OniU.js} +7 -7
  115. package/dist/{index-BTGF--50.js → index-B_1Ge8na.js} +20 -19
  116. package/dist/{index-ByspLxrB.js → index-BbTV2Cw5.js} +32 -31
  117. package/dist/index-BeGv28kJ.js +5173 -0
  118. package/dist/{index-Dyl-ddV6.js → index-BpZSuIUV.js} +16 -16
  119. package/dist/{index-CodMmNWv.js → index-BvOLXELm.js} +3 -3
  120. package/dist/{index-hoPiccJv.js → index-CLSrpQRW.js} +9 -8
  121. package/dist/{index-D0P16DlX.js → index-CbVOl2U6.js} +26 -24
  122. package/dist/{index-DWUXwgXK.js → index-D0U6r5O7.js} +265 -294
  123. package/dist/{index-BW_7pvTr.js → index-DEu2PVzQ.js} +4 -4
  124. package/dist/{index-DmZOkMjs.js → index-DNQ-jnBx.js} +1207 -1514
  125. package/dist/index-DOsPeIWJ.js +1000 -0
  126. package/dist/{index-CSPlXIlA.js → index-DRGX1Wem.js} +7 -7
  127. package/dist/index-DWjq9XYj.js +899 -0
  128. package/dist/index.js +53 -49
  129. package/dist/motion-CUN72xsH.js +33 -0
  130. package/dist/providers/GenesisProvider.js +1 -1
  131. package/dist/providers/ToastProvider.js +3 -3
  132. package/dist/providers/index.js +1 -1
  133. package/dist/providers/useGenesis.js +1 -1
  134. package/dist/{responsiveObserver-O1kw80RG.js → responsiveObserver-dCkpy7Cb.js} +1 -1
  135. package/dist/roundedArrow-DI_Q-xdU.js +65 -0
  136. package/dist/{setup-CKu7-AfI.js → setup-CUbCc8fQ.js} +2 -2
  137. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +7 -7
  138. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +3 -3
  139. package/dist/styles/theme/genesis-theme.js +211 -349
  140. package/dist/styles/theme/theme-tree/ThemeTree.js +114 -113
  141. package/dist/{styles-BSD221S5.js → styles-CWdUpZom.js} +12 -12
  142. package/dist/{styles-BDbHpHsc.js → styles-D1vKDy9V.js} +9 -9
  143. package/dist/{styles-D9iYILpv.js → styles-qerRs7Rn.js} +493 -492
  144. package/dist/test/setup.js +2 -2
  145. package/dist/{toArray-DGvPoJP_.js → toArray-U3Az44CO.js} +1 -1
  146. package/dist/{useBreakpoint-CAMzKscx.js → useBreakpoint-TkMv121M.js} +2 -2
  147. package/dist/{useCSSVarCls-C-MlZC6a.js → useCSSVarCls-Dau77fzS.js} +1 -1
  148. package/dist/useIcons-Ck4JP1m9.js +321 -0
  149. package/dist/{useLocale-DWRfeMSS.js → useLocale-CTfNpakL.js} +1 -1
  150. package/dist/{useMergedState-BoELfaU9.js → useMergedState-D6toxSxh.js} +1 -1
  151. package/dist/{useSize-CPo2bUE3.js → useSize-DSq4r6zy.js} +1 -1
  152. package/dist/{useVariants-Cin23jEC.js → useVariants-DrLzUVLU.js} +2 -2
  153. package/dist/{useZIndex-D81lkWy4.js → useZIndex-DhyHuZTN.js} +1 -1
  154. package/dist/utils/icon-util.js +38 -44
  155. package/package.json +2 -1
  156. package/dist/TextArea-CKWbFr0u.js +0 -1698
  157. package/dist/index-CqqwGTME.js +0 -956
@@ -1,8 +1,8 @@
1
- import { jsxs as J, Fragment as xn, jsx as z } from "react/jsx-runtime";
1
+ import { jsxs as J, Fragment as xn, jsx as D } from "react/jsx-runtime";
2
2
  import * as l from "react";
3
3
  import y, { useContext as ae, useRef as Q, useMemo as $n, useEffect as me, useState as ne, createElement as En } from "react";
4
4
  import "../../../providers/BreakpointThemeProvider.js";
5
- import { u as On, a as Sn } from "../../../Typography-DqI7RslA.js";
5
+ import { u as On, a as Sn } from "../../../Typography-CoZ5qD-t.js";
6
6
  import "../../../components/Avatar/styles.js";
7
7
  import "../../../components/Badge/styles.js";
8
8
  import "../../../components/Breadcrumb/styles.js";
@@ -15,7 +15,7 @@ import "../../../components/Layout/Content/styles.js";
15
15
  import "../../../components/Message/styles.js";
16
16
  import "../../../components/Notification/NotificationBadge/styles.js";
17
17
  import "../../../components/Notification/styles.js";
18
- import { A as Le } from "../../../styles-BSD221S5.js";
18
+ import { A as He } from "../../../styles-CWdUpZom.js";
19
19
  import "../../../components/Progress/styles.js";
20
20
  import "../../../components/Row/styles.js";
21
21
  import "../../../components/Row/RowLabelValue/styles.js";
@@ -23,39 +23,40 @@ import "../../../components/Row/RowActions/styles.js";
23
23
  import "../../../components/SegmentedControls/styles.js";
24
24
  import "../../../components/Select/styles.js";
25
25
  import "../../../components/Switch/styles.js";
26
- import { a as fe } from "../../../styles-D9iYILpv.js";
26
+ import { a as fe } from "../../../styles-qerRs7Rn.js";
27
27
  import "../../../components/Tabs/styles.js";
28
28
  import "../../../components/Tile/styles.js";
29
29
  import "../../../components/Toast/styles.js";
30
30
  import "../../../components/Tooltip/styles.js";
31
31
  import "../../global-styles.js";
32
- import { I as wn } from "../../../index-hoPiccJv.js";
33
- import { d as q, e as D, _ as L, f as Ee, a as Ce, j as Oe, l as Se, c as Nn } from "../../../presets-Djh_L_6R.js";
34
- import { I as Ae } from "../../../AntdIcon-nCNB0J1E.js";
35
- import { R as Pn } from "../../../index-BTGF--50.js";
36
- import { h as k, z as In, o as He, a as Tn, a0 as Ve, W as Mn, g as Rn, j as N, r as jn, k as Bn, m as zn, C as ce, e as pe, N as Dn, s as Fn, n as We, c as _n, a1 as Ln, F as Ge, a2 as An, l as Hn } from "../../../index-ByspLxrB.js";
37
- import { g as Vn } from "../../../index-Dyl-ddV6.js";
32
+ import { I as wn } from "../../../index-CLSrpQRW.js";
33
+ import { d as q, e as z, _ as H, f as Ee, a as Ce, j as Oe, l as Se, c as Nn } from "../../../presets-Djh_L_6R.js";
34
+ import { I as Le } from "../../../AntdIcon-nCNB0J1E.js";
35
+ import { R as Pn } from "../../../index-B_1Ge8na.js";
36
+ import { o as k, B as In, s as Ae, a as Tn, a0 as Ve, W as Mn, j as Rn, f as N, k as jn, p as Bn, m as Dn, C as ce, g as pe, N as zn, n as Fn, q as We, c as _n, a1 as Hn, H as Ge, a2 as Ln, l as An } from "../../../index-BbTV2Cw5.js";
37
+ import { g as Vn } from "../../../index-BpZSuIUV.js";
38
38
  import { R as Wn } from "../../../CheckCircleFilled-BKgizvyl.js";
39
39
  import { R as Gn } from "../../../CloseCircleFilled-B9e7yFwo.js";
40
40
  import { R as Kn } from "../../../ExclamationCircleFilled-BHELVsTg.js";
41
- import { u as qn, z as Un, C as kn } from "../../../useZIndex-D81lkWy4.js";
42
- import { i as Xn, P as Qn, g as se } from "../../../index-DWUXwgXK.js";
41
+ import { u as qn, z as Un, C as kn } from "../../../useZIndex-DhyHuZTN.js";
42
+ import { g as se } from "../../../motion-CUN72xsH.js";
43
43
  import { R as be } from "../../../CloseOutlined-ogxnm7Oy.js";
44
+ import { i as Xn, P as Qn } from "../../../index-D0U6r5O7.js";
44
45
  import { u as Zn } from "../../../useId-D2tzlufo.js";
45
46
  import { K as we } from "../../../KeyCode-DM2sFh3-.js";
46
47
  import { p as he } from "../../../pickAttrs-CleuMJFR.js";
47
- import { C as Yn } from "../../../ContextIsolator-CwuJooYf.js";
48
- import { u as Ke } from "../../../useCSSVarCls-C-MlZC6a.js";
49
- import { S as Jn } from "../../../Skeleton-B3vg9CbL.js";
50
- import { B as qe, c as et } from "../../../button-B2Rgggx2.js";
51
- import { u as ye } from "../../../useLocale-DWRfeMSS.js";
52
- import { g as nt } from "../../../styles-BDbHpHsc.js";
53
- import { K as Ue } from "../../../Keyframes-sPZXYuXt.js";
54
- import { i as tt } from "../../../index-CqqwGTME.js";
48
+ import { C as Yn } from "../../../ContextIsolator-BmfhJgG0.js";
49
+ import { u as Ke } from "../../../useCSSVarCls-Dau77fzS.js";
50
+ import { S as Jn } from "../../../Skeleton-BVN4pcVe.js";
51
+ import { B as qe, c as et } from "../../../button-BwqpCxVM.js";
52
+ import { u as ye } from "../../../useLocale-CTfNpakL.js";
53
+ import { g as nt } from "../../../styles-D1vKDy9V.js";
54
+ import { K as Ue } from "../../../Keyframes-C9_aCDvn.js";
55
+ import { i as tt } from "../../../index-DWjq9XYj.js";
55
56
  import "../../../index-DLdU7Tpd.js";
56
- import { w as ot } from "../../../DownOutlined-5-15jS0h.js";
57
+ import { w as ot } from "../../../DownOutlined-Dcq69ZKM.js";
57
58
  var rt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "info-circle", theme: "filled" }, at = function(n, o) {
58
- return /* @__PURE__ */ l.createElement(Ae, q({}, n, {
59
+ return /* @__PURE__ */ l.createElement(Le, q({}, n, {
59
60
  ref: o,
60
61
  icon: rt
61
62
  }));
@@ -112,7 +113,7 @@ const it = new Ue("antFadeIn", {
112
113
  onCancel: c,
113
114
  onConfirm: s
114
115
  } = ae(le);
115
- return r ? /* @__PURE__ */ y.createElement(Le, {
116
+ return r ? /* @__PURE__ */ y.createElement(He, {
116
117
  isSilent: t,
117
118
  actionFn: c,
118
119
  close: function() {
@@ -134,7 +135,7 @@ const it = new Ue("antFadeIn", {
134
135
  onConfirm: c,
135
136
  onOk: s
136
137
  } = ae(le);
137
- return /* @__PURE__ */ y.createElement(Le, {
138
+ return /* @__PURE__ */ y.createElement(He, {
138
139
  isSilent: o,
139
140
  type: d || "primary",
140
141
  actionFn: s,
@@ -181,7 +182,7 @@ var ft = {
181
182
  }, mt = {
182
183
  outline: "none"
183
184
  }, ve = /* @__PURE__ */ y.forwardRef(function(e, n) {
184
- var o = e.prefixCls, t = e.className, r = e.style, i = e.title, d = e.ariaId, c = e.footer, s = e.closable, m = e.closeIcon, a = e.onClose, f = e.children, u = e.bodyStyle, p = e.bodyProps, E = e.modalRender, C = e.onMouseDown, b = e.onMouseUp, v = e.holderRef, h = e.visible, P = e.forceRender, O = e.width, I = e.height, S = e.classNames, w = e.styles, A = y.useContext(Qe), B = A.panel, X = In(v, B), g = Q(), x = Q();
185
+ var o = e.prefixCls, t = e.className, r = e.style, i = e.title, d = e.ariaId, c = e.footer, s = e.closable, m = e.closeIcon, a = e.onClose, f = e.children, u = e.bodyStyle, p = e.bodyProps, E = e.modalRender, C = e.onMouseDown, b = e.onMouseUp, v = e.holderRef, h = e.visible, P = e.forceRender, O = e.width, I = e.height, S = e.classNames, w = e.styles, L = y.useContext(Qe), B = L.panel, X = In(v, B), g = Q(), x = Q();
185
186
  y.useImperativeHandle(n, function() {
186
187
  return {
187
188
  focus: function() {
@@ -203,11 +204,11 @@ var ft = {
203
204
  var $ = {};
204
205
  O !== void 0 && ($.width = O), I !== void 0 && ($.height = I);
205
206
  var j = c ? /* @__PURE__ */ y.createElement("div", {
206
- className: D("".concat(o, "-footer"), S == null ? void 0 : S.footer),
207
- style: L({}, w == null ? void 0 : w.footer)
207
+ className: z("".concat(o, "-footer"), S == null ? void 0 : S.footer),
208
+ style: H({}, w == null ? void 0 : w.footer)
208
209
  }, c) : null, F = i ? /* @__PURE__ */ y.createElement("div", {
209
- className: D("".concat(o, "-header"), S == null ? void 0 : S.header),
210
- style: L({}, w == null ? void 0 : w.header)
210
+ className: z("".concat(o, "-header"), S == null ? void 0 : S.header),
211
+ style: H({}, w == null ? void 0 : w.header)
211
212
  }, /* @__PURE__ */ y.createElement("div", {
212
213
  className: "".concat(o, "-title"),
213
214
  id: d
@@ -225,11 +226,11 @@ var ft = {
225
226
  className: "".concat(o, "-close"),
226
227
  disabled: K
227
228
  }), T.closeIcon) : null, Z = /* @__PURE__ */ y.createElement("div", {
228
- className: D("".concat(o, "-content"), S == null ? void 0 : S.content),
229
+ className: z("".concat(o, "-content"), S == null ? void 0 : S.content),
229
230
  style: w == null ? void 0 : w.content
230
231
  }, te, F, /* @__PURE__ */ y.createElement("div", q({
231
- className: D("".concat(o, "-body"), S == null ? void 0 : S.body),
232
- style: L(L({}, u), w == null ? void 0 : w.body)
232
+ className: z("".concat(o, "-body"), S == null ? void 0 : S.body),
233
+ style: H(H({}, u), w == null ? void 0 : w.body)
233
234
  }, p), f), j);
234
235
  return /* @__PURE__ */ y.createElement("div", {
235
236
  key: "dialog-element",
@@ -237,8 +238,8 @@ var ft = {
237
238
  "aria-labelledby": i ? d : null,
238
239
  "aria-modal": "true",
239
240
  ref: X,
240
- style: L(L({}, r), $),
241
- className: D(o, t),
241
+ style: H(H({}, r), $),
242
+ className: z(o, t),
242
243
  onMouseDown: C,
243
244
  onMouseUp: b
244
245
  }, /* @__PURE__ */ y.createElement("div", {
@@ -261,7 +262,7 @@ var Ze = /* @__PURE__ */ l.forwardRef(function(e, n) {
261
262
  var O = dt(p.current);
262
263
  v(u && (u.x || u.y) ? "".concat(u.x - O.left, "px ").concat(u.y - O.top, "px") : "");
263
264
  }
264
- return /* @__PURE__ */ l.createElement(He, {
265
+ return /* @__PURE__ */ l.createElement(Ae, {
265
266
  visible: d,
266
267
  onVisibleChanged: f,
267
268
  onAppearPrepare: P,
@@ -278,15 +279,15 @@ var Ze = /* @__PURE__ */ l.forwardRef(function(e, n) {
278
279
  ariaId: a,
279
280
  prefixCls: o,
280
281
  holderRef: I,
281
- style: L(L(L({}, w), r), h),
282
- className: D(i, S)
282
+ style: H(H(H({}, w), r), h),
283
+ className: z(i, S)
283
284
  }));
284
285
  });
285
286
  });
286
287
  Ze.displayName = "Content";
287
288
  var gt = function(n) {
288
289
  var o = n.prefixCls, t = n.style, r = n.visible, i = n.maskProps, d = n.motionName, c = n.className;
289
- return /* @__PURE__ */ l.createElement(He, {
290
+ return /* @__PURE__ */ l.createElement(Ae, {
290
291
  key: "mask",
291
292
  visible: r,
292
293
  motionName: d,
@@ -295,12 +296,12 @@ var gt = function(n) {
295
296
  var a = s.className, f = s.style;
296
297
  return /* @__PURE__ */ l.createElement("div", q({
297
298
  ref: m,
298
- style: L(L({}, f), t),
299
- className: D("".concat(o, "-mask"), a, c)
299
+ style: H(H({}, f), t),
300
+ className: z("".concat(o, "-mask"), a, c)
300
301
  }, i));
301
302
  });
302
303
  }, Ct = function(n) {
303
- var o = n.prefixCls, t = o === void 0 ? "rc-dialog" : o, r = n.zIndex, i = n.visible, d = i === void 0 ? !1 : i, c = n.keyboard, s = c === void 0 ? !0 : c, m = n.focusTriggerAfterClose, a = m === void 0 ? !0 : m, f = n.wrapStyle, u = n.wrapClassName, p = n.wrapProps, E = n.onClose, C = n.afterOpenChange, b = n.afterClose, v = n.transitionName, h = n.animation, P = n.closable, O = P === void 0 ? !0 : P, I = n.mask, S = I === void 0 ? !0 : I, w = n.maskTransitionName, A = n.maskAnimation, B = n.maskClosable, X = B === void 0 ? !0 : B, g = n.maskStyle, x = n.maskProps, $ = n.rootClassName, j = n.classNames, F = n.styles;
304
+ var o = n.prefixCls, t = o === void 0 ? "rc-dialog" : o, r = n.zIndex, i = n.visible, d = i === void 0 ? !1 : i, c = n.keyboard, s = c === void 0 ? !0 : c, m = n.focusTriggerAfterClose, a = m === void 0 ? !0 : m, f = n.wrapStyle, u = n.wrapClassName, p = n.wrapProps, E = n.onClose, C = n.afterOpenChange, b = n.afterClose, v = n.transitionName, h = n.animation, P = n.closable, O = P === void 0 ? !0 : P, I = n.mask, S = I === void 0 ? !0 : I, w = n.maskTransitionName, L = n.maskAnimation, B = n.maskClosable, X = B === void 0 ? !0 : B, g = n.maskStyle, x = n.maskProps, $ = n.rootClassName, j = n.classNames, F = n.styles;
304
305
  process.env.NODE_ENV !== "production" && (["wrapStyle", "bodyStyle", "maskStyle"].forEach(function(M) {
305
306
  Oe(!(M in n), "".concat(M, " is deprecated, please use styles instead."));
306
307
  }), "wrapClassName" in n && Oe(!1, "wrapClassName is deprecated, please use classNames instead."));
@@ -314,7 +315,7 @@ var gt = function(n) {
314
315
  (M = K.current) === null || M === void 0 || M.focus();
315
316
  }
316
317
  }
317
- function H(M) {
318
+ function A(M) {
318
319
  if (M)
319
320
  de();
320
321
  else {
@@ -358,20 +359,20 @@ var gt = function(n) {
358
359
  clearTimeout(re.current);
359
360
  };
360
361
  }, []);
361
- var vn = L(L(L({
362
+ var vn = H(H(H({
362
363
  zIndex: r
363
364
  }, f), F == null ? void 0 : F.wrapper), {}, {
364
365
  display: Y ? null : "none"
365
366
  });
366
367
  return /* @__PURE__ */ l.createElement("div", q({
367
- className: D("".concat(t, "-root"), $)
368
+ className: z("".concat(t, "-root"), $)
368
369
  }, he(n, {
369
370
  data: !0
370
371
  })), /* @__PURE__ */ l.createElement(gt, {
371
372
  prefixCls: t,
372
373
  visible: S && d,
373
- motionName: Ie(t, w, A),
374
- style: L(L({
374
+ motionName: Ie(t, w, L),
375
+ style: H(H({
375
376
  zIndex: r
376
377
  }, g), F == null ? void 0 : F.mask),
377
378
  maskProps: x,
@@ -379,7 +380,7 @@ var gt = function(n) {
379
380
  }), /* @__PURE__ */ l.createElement("div", q({
380
381
  tabIndex: -1,
381
382
  onKeyDown: yn,
382
- className: D("".concat(t, "-wrap"), u, j == null ? void 0 : j.wrapper),
383
+ className: z("".concat(t, "-wrap"), u, j == null ? void 0 : j.wrapper),
383
384
  ref: R,
384
385
  onClick: $e,
385
386
  style: vn
@@ -392,7 +393,7 @@ var gt = function(n) {
392
393
  prefixCls: t,
393
394
  visible: d && Y,
394
395
  onClose: _,
395
- onVisibleChanged: H,
396
+ onVisibleChanged: A,
396
397
  motionName: Ie(t, v, h)
397
398
  }))));
398
399
  }, Ye = function(n) {
@@ -494,7 +495,7 @@ function vt(e) {
494
495
  n.remove(o.current);
495
496
  });
496
497
  }
497
- const ze = () => {
498
+ const De = () => {
498
499
  const {
499
500
  cancelButtonProps: e,
500
501
  cancelTextLocale: n,
@@ -503,7 +504,7 @@ const ze = () => {
503
504
  return /* @__PURE__ */ y.createElement(qe, Object.assign({
504
505
  onClick: o
505
506
  }, e), n);
506
- }, De = () => {
507
+ }, ze = () => {
507
508
  const {
508
509
  confirmLoading: e,
509
510
  okButtonProps: n,
@@ -545,9 +546,9 @@ const en = (e) => {
545
546
  onCancel: d
546
547
  }, E = y.useMemo(() => p, k(Object.values(p)));
547
548
  let C;
548
- return typeof m == "function" || typeof m > "u" ? (C = /* @__PURE__ */ y.createElement(y.Fragment, null, /* @__PURE__ */ y.createElement(ze, null), /* @__PURE__ */ y.createElement(De, null)), typeof m == "function" && (C = m(C, {
549
- OkBtn: De,
550
- CancelBtn: ze
549
+ return typeof m == "function" || typeof m > "u" ? (C = /* @__PURE__ */ y.createElement(y.Fragment, null, /* @__PURE__ */ y.createElement(De, null), /* @__PURE__ */ y.createElement(ze, null)), typeof m == "function" && (C = m(C, {
550
+ OkBtn: ze,
551
+ CancelBtn: De
551
552
  })), C = /* @__PURE__ */ y.createElement(Xe, {
552
553
  value: E
553
554
  }, C)) : C = m, /* @__PURE__ */ y.createElement(Mn, {
@@ -798,7 +799,7 @@ const xt = (e) => {
798
799
  };
799
800
  }, nn = (e) => {
800
801
  const n = e.padding, o = e.fontSizeHeading5, t = e.lineHeightHeading5;
801
- return zn(e, {
802
+ return Dn(e, {
802
803
  modalHeaderHeight: e.calc(e.calc(t).mul(o).equal()).add(e.calc(n).mul(2).equal()).equal(),
803
804
  modalFooterBorderColorSplit: e.colorSplit,
804
805
  modalFooterBorderStyle: e.lineType,
@@ -861,22 +862,22 @@ const rn = (e) => {
861
862
  getPrefixCls: t,
862
863
  direction: r,
863
864
  modal: i
864
- } = l.useContext(ce), d = (H) => {
865
+ } = l.useContext(ce), d = (A) => {
865
866
  const {
866
867
  onCancel: _
867
868
  } = e;
868
- _ == null || _(H);
869
- }, c = (H) => {
869
+ _ == null || _(A);
870
+ }, c = (A) => {
870
871
  const {
871
872
  onOk: _
872
873
  } = e;
873
- _ == null || _(H);
874
+ _ == null || _(A);
874
875
  };
875
876
  if (process.env.NODE_ENV !== "production") {
876
- const H = pe("Modal");
877
+ const A = pe("Modal");
877
878
  [["visible", "open"], ["bodyStyle", "styles.body"], ["maskStyle", "styles.mask"]].forEach((_) => {
878
879
  let [V, re] = _;
879
- H.deprecated(!(V in e), V, re);
880
+ A.deprecated(!(V in e), V, re);
880
881
  });
881
882
  }
882
883
  const {
@@ -897,7 +898,7 @@ const rn = (e) => {
897
898
  styles: I,
898
899
  children: S,
899
900
  loading: w
900
- } = e, A = St(e, ["prefixCls", "className", "rootClassName", "open", "wrapClassName", "centered", "getContainer", "focusTriggerAfterClose", "style", "visible", "width", "footer", "classNames", "styles", "children", "loading"]), B = t("modal", s), X = t(), g = Ke(B), [x, $, j] = on(B, g), F = D(u, {
901
+ } = e, L = St(e, ["prefixCls", "className", "rootClassName", "open", "wrapClassName", "centered", "getContainer", "focusTriggerAfterClose", "style", "visible", "width", "footer", "classNames", "styles", "children", "loading"]), B = t("modal", s), X = t(), g = Ke(B), [x, $, j] = on(B, g), F = z(u, {
901
902
  [`${B}-centered`]: !!p,
902
903
  [`${B}-wrap-rtl`]: r === "rtl"
903
904
  }), T = P !== null && !w ? /* @__PURE__ */ l.createElement(en, Object.assign({}, e, {
@@ -908,13 +909,13 @@ const rn = (e) => {
908
909
  closeIcon: /* @__PURE__ */ l.createElement(be, {
909
910
  className: `${B}-close-icon`
910
911
  }),
911
- closeIconRender: (H) => Je(B, H)
912
- }), Z = vt(`.${B}-content`), [Y, G] = qn("Modal", A.zIndex), [oe, U] = l.useMemo(() => h && typeof h == "object" ? [void 0, h] : [h, void 0], [h]), de = l.useMemo(() => {
913
- const H = {};
912
+ closeIconRender: (A) => Je(B, A)
913
+ }), Z = vt(`.${B}-content`), [Y, G] = qn("Modal", L.zIndex), [oe, U] = l.useMemo(() => h && typeof h == "object" ? [void 0, h] : [h, void 0], [h]), de = l.useMemo(() => {
914
+ const A = {};
914
915
  return U && Object.keys(U).forEach((_) => {
915
916
  const V = U[_];
916
- V !== void 0 && (H[`--${B}-${_}-width`] = typeof V == "number" ? `${V}px` : V);
917
- }), H;
917
+ V !== void 0 && (A[`--${B}-${_}-width`] = typeof V == "number" ? `${V}px` : V);
918
+ }), A;
918
919
  }, [U]);
919
920
  return x(/* @__PURE__ */ l.createElement(Yn, {
920
921
  form: !0,
@@ -923,14 +924,14 @@ const rn = (e) => {
923
924
  value: G
924
925
  }, /* @__PURE__ */ l.createElement(Ye, Object.assign({
925
926
  width: oe
926
- }, A, {
927
+ }, L, {
927
928
  zIndex: Y,
928
929
  getContainer: E === void 0 ? o : E,
929
930
  prefixCls: B,
930
- rootClassName: D($, a, j, g),
931
+ rootClassName: z($, a, j, g),
931
932
  footer: T,
932
933
  visible: f ?? v,
933
- mousePosition: (n = A.mousePosition) !== null && n !== void 0 ? n : ge,
934
+ mousePosition: (n = L.mousePosition) !== null && n !== void 0 ? n : ge,
934
935
  onClose: d,
935
936
  closable: R && {
936
937
  disabled: te,
@@ -940,10 +941,10 @@ const rn = (e) => {
940
941
  focusTriggerAfterClose: C,
941
942
  transitionName: se(X, "zoom", e.transitionName),
942
943
  maskTransitionName: se(X, "fade", e.maskTransitionName),
943
- className: D($, m, i == null ? void 0 : i.className),
944
+ className: z($, m, i == null ? void 0 : i.className),
944
945
  style: Object.assign(Object.assign(Object.assign({}, i == null ? void 0 : i.style), b), de),
945
946
  classNames: Object.assign(Object.assign(Object.assign({}, i == null ? void 0 : i.classNames), O), {
946
- wrapper: D(F, O == null ? void 0 : O.wrapper)
947
+ wrapper: z(F, O == null ? void 0 : O.wrapper)
947
948
  }),
948
949
  styles: Object.assign(Object.assign({}, i == null ? void 0 : i.styles), I),
949
950
  panelRef: Z
@@ -1041,7 +1042,7 @@ const rn = (e) => {
1041
1042
  color: e.colorSuccess
1042
1043
  }
1043
1044
  };
1044
- }, Pt = Dn(["Modal", "confirm"], (e) => {
1045
+ }, Pt = zn(["Modal", "confirm"], (e) => {
1045
1046
  const n = nn(e);
1046
1047
  return [Nt(n)];
1047
1048
  }, tn, {
@@ -1096,7 +1097,7 @@ function an(e) {
1096
1097
  return /* @__PURE__ */ l.createElement("div", {
1097
1098
  className: `${i}-body-wrapper`
1098
1099
  }, /* @__PURE__ */ l.createElement("div", {
1099
- className: D(S, {
1100
+ className: z(S, {
1100
1101
  [`${S}-has-title`]: I
1101
1102
  })
1102
1103
  }, f, /* @__PURE__ */ l.createElement("div", {
@@ -1137,12 +1138,12 @@ const ln = (e) => {
1137
1138
  O.deprecated(!(S in e), S, w);
1138
1139
  });
1139
1140
  }
1140
- const u = `${i}-confirm`, p = e.width || 416, E = e.style || {}, C = e.mask === void 0 ? !0 : e.mask, b = e.maskClosable === void 0 ? !1 : e.maskClosable, v = D(u, `${u}-${e.type}`, {
1141
+ const u = `${i}-confirm`, p = e.width || 416, E = e.style || {}, C = e.mask === void 0 ? !0 : e.mask, b = e.maskClosable === void 0 ? !1 : e.maskClosable, v = z(u, `${u}-${e.type}`, {
1141
1142
  [`${u}-rtl`]: r === "rtl"
1142
1143
  }, e.className), [, h] = _n(), P = l.useMemo(() => o !== void 0 ? o : h.zIndexPopupBase + kn, [o, h]);
1143
1144
  return /* @__PURE__ */ l.createElement(rn, Object.assign({}, e, {
1144
1145
  className: v,
1145
- wrapClassName: D({
1146
+ wrapClassName: z({
1146
1147
  [`${u}-centered`]: !!e.centered
1147
1148
  }, d),
1148
1149
  onCancel: () => {
@@ -1206,8 +1207,8 @@ const Tt = (e) => {
1206
1207
  }));
1207
1208
  };
1208
1209
  function ie(e) {
1209
- const n = An();
1210
- process.env.NODE_ENV !== "production" && !n.holderRender && Ln("Modal");
1210
+ const n = Ln();
1211
+ process.env.NODE_ENV !== "production" && !n.holderRender && Hn("Modal");
1211
1212
  const o = document.createDocumentFragment();
1212
1213
  let t = Object.assign(Object.assign({}, e), {
1213
1214
  close: s,
@@ -1310,7 +1311,7 @@ const jt = (e, n) => {
1310
1311
  c(!1);
1311
1312
  for (var P = arguments.length, O = new Array(P), I = 0; I < P; I++)
1312
1313
  O[I] = arguments[I];
1313
- if (O.some((A) => A == null ? void 0 : A.triggerCancel)) {
1314
+ if (O.some((L) => L == null ? void 0 : L.triggerCancel)) {
1314
1315
  var w;
1315
1316
  (h = s.onCancel) === null || h === void 0 || (w = h).call.apply(w, [s, () => {
1316
1317
  }].concat(k(O.slice(1))));
@@ -1322,7 +1323,7 @@ const jt = (e, n) => {
1322
1323
  m((P) => Object.assign(Object.assign({}, P), h));
1323
1324
  }
1324
1325
  }));
1325
- const b = (o = s.okCancel) !== null && o !== void 0 ? o : s.type === "confirm", [v] = ye("Modal", Hn.Modal);
1326
+ const b = (o = s.okCancel) !== null && o !== void 0 ? o : s.type === "confirm", [v] = ye("Modal", An.Modal);
1326
1327
  return /* @__PURE__ */ l.createElement(xe, Object.assign({
1327
1328
  prefixCls: u,
1328
1329
  rootPrefixCls: p
@@ -1336,13 +1337,13 @@ const jt = (e, n) => {
1336
1337
  }, i));
1337
1338
  }, Bt = /* @__PURE__ */ l.forwardRef(jt);
1338
1339
  let _e = 0;
1339
- const zt = /* @__PURE__ */ l.memo(/* @__PURE__ */ l.forwardRef((e, n) => {
1340
+ const Dt = /* @__PURE__ */ l.memo(/* @__PURE__ */ l.forwardRef((e, n) => {
1340
1341
  const [o, t] = lt();
1341
1342
  return l.useImperativeHandle(n, () => ({
1342
1343
  patchElement: t
1343
1344
  }), []), /* @__PURE__ */ l.createElement(l.Fragment, null, o);
1344
1345
  }));
1345
- function Dt() {
1346
+ function zt() {
1346
1347
  const e = l.useRef(null), [n, o] = l.useState([]);
1347
1348
  l.useEffect(() => {
1348
1349
  n.length && (k(n).forEach((d) => {
@@ -1394,7 +1395,7 @@ function Dt() {
1394
1395
  error: t(mn),
1395
1396
  warning: t(dn),
1396
1397
  confirm: t(gn)
1397
- }), []), /* @__PURE__ */ l.createElement(zt, {
1398
+ }), []), /* @__PURE__ */ l.createElement(Dt, {
1398
1399
  key: "modal-holder",
1399
1400
  ref: e
1400
1401
  })];
@@ -1437,17 +1438,17 @@ const _t = (e) => {
1437
1438
  children: c
1438
1439
  }, E(/* @__PURE__ */ l.createElement(ve, Object.assign({
1439
1440
  prefixCls: u,
1440
- className: D(C, `${u}-pure-panel`, i && v, i && `${v}-${i}`, o, b, p)
1441
+ className: z(C, `${u}-pure-panel`, i && v, i && `${v}-${i}`, o, b, p)
1441
1442
  }, m, {
1442
1443
  closeIcon: Je(u, t),
1443
1444
  closable: r
1444
1445
  }, h)));
1445
- }, Lt = ot(_t);
1446
+ }, Ht = ot(_t);
1446
1447
  function Cn(e) {
1447
1448
  return ie(dn(e));
1448
1449
  }
1449
1450
  const W = rn;
1450
- W.useModal = Dt;
1451
+ W.useModal = zt;
1451
1452
  W.info = function(n) {
1452
1453
  return ie(un(n));
1453
1454
  };
@@ -1469,19 +1470,19 @@ W.destroyAll = function() {
1469
1470
  }
1470
1471
  };
1471
1472
  W.config = Mt;
1472
- W._InternalPanelDoNotUseOrYouWillBeFired = Lt;
1473
+ W._InternalPanelDoNotUseOrYouWillBeFired = Ht;
1473
1474
  process.env.NODE_ENV !== "production" && (W.displayName = "Modal");
1474
- var At = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, name: "minus", theme: "outlined" }, Ht = function(n, o) {
1475
- return /* @__PURE__ */ l.createElement(Ae, q({}, n, {
1475
+ var Lt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, name: "minus", theme: "outlined" }, At = function(n, o) {
1476
+ return /* @__PURE__ */ l.createElement(Le, q({}, n, {
1476
1477
  ref: o,
1477
- icon: At
1478
+ icon: Lt
1478
1479
  }));
1479
- }, pn = /* @__PURE__ */ l.forwardRef(Ht);
1480
+ }, pn = /* @__PURE__ */ l.forwardRef(At);
1480
1481
  process.env.NODE_ENV !== "production" && (pn.displayName = "MinusOutlined");
1481
- const Go = () => {
1482
+ const Ko = () => {
1482
1483
  const { theme: e } = On(), [n, o] = ne(!1), [t, r] = ne({ key: "", value: null }), [i, d] = ne([]), [c, s] = ne(""), [m, a] = ne(!0), [f, u] = ne([]);
1483
1484
  if (me(() => {
1484
- e && u(O(e));
1485
+ e && (console.log("Theme changed, updating tree data:", e), u(O(e)));
1485
1486
  }, [e]), !e)
1486
1487
  return null;
1487
1488
  const p = () => {
@@ -1521,7 +1522,7 @@ const Go = () => {
1521
1522
  p(), s(g);
1522
1523
  }, h = (g) => {
1523
1524
  d(g), a(!1);
1524
- }, P = (g) => `${g}_${Math.floor(Math.random() * 1e5)}`, O = (g) => {
1525
+ }, P = (g) => `${g}_${Math.floor(Math.random() * 983423219)}`, O = (g) => {
1525
1526
  const x = [];
1526
1527
  for (const $ in g)
1527
1528
  typeof g[$] == "object" ? x.push({
@@ -1543,10 +1544,10 @@ const Go = () => {
1543
1544
  value: g.value
1544
1545
  }), o(!0));
1545
1546
  }, w = (g) => typeof g == "string" && g.startsWith("#") ? /* @__PURE__ */ J("p", { children: [
1546
- /* @__PURE__ */ z("strong", { children: "Color:" }),
1547
+ /* @__PURE__ */ D("strong", { children: "Color:" }),
1547
1548
  " ",
1548
1549
  g,
1549
- /* @__PURE__ */ z(
1550
+ /* @__PURE__ */ D(
1550
1551
  "div",
1551
1552
  {
1552
1553
  style: {
@@ -1561,21 +1562,21 @@ const Go = () => {
1561
1562
  }
1562
1563
  )
1563
1564
  ] }) : /* @__PURE__ */ J("p", { children: [
1564
- /* @__PURE__ */ z("strong", { children: "Value:" }),
1565
+ /* @__PURE__ */ D("strong", { children: "Value:" }),
1565
1566
  " ",
1566
1567
  String(t.value)
1567
- ] }), A = (g) => g.map((x) => {
1568
+ ] }), L = (g) => g.map((x) => {
1568
1569
  const $ = x.title.toLowerCase().indexOf(c.toLowerCase()), j = x.title.substring(0, $), F = x.title.substring($, $ + c.length), T = x.title.substring($ + c.length), R = $ > -1 ? /* @__PURE__ */ J("span", { children: [
1569
1570
  j,
1570
- /* @__PURE__ */ z("span", { style: { color: "#f50" }, children: F }),
1571
+ /* @__PURE__ */ D("span", { style: { color: "#f50" }, children: F }),
1571
1572
  T
1572
- ] }) : /* @__PURE__ */ z("span", { children: x.title });
1573
- return x.children ? /* @__PURE__ */ z(fe.TreeNode, { title: R, children: A(x.children) }, x.key) : /* @__PURE__ */ En(
1573
+ ] }) : /* @__PURE__ */ D("span", { children: x.title });
1574
+ return x.children ? /* @__PURE__ */ D(fe.TreeNode, { title: R, children: L(x.children) }, x.key) : /* @__PURE__ */ En(
1574
1575
  fe.TreeNode,
1575
1576
  {
1576
1577
  ...x,
1577
1578
  key: x.key,
1578
- title: /* @__PURE__ */ z("span", { onClick: () => S(x), children: R })
1579
+ title: /* @__PURE__ */ D("span", { onClick: () => S(x), children: R })
1579
1580
  }
1580
1581
  );
1581
1582
  }), B = e.mode.charAt(0).toUpperCase() + e.mode.slice(1), X = (g) => {
@@ -1583,14 +1584,14 @@ const Go = () => {
1583
1584
  s(x), x ? x.length < 3 && p() : E();
1584
1585
  };
1585
1586
  return /* @__PURE__ */ J(xn, { children: [
1586
- /* @__PURE__ */ z("div", { style: { margin: "16px 0px" }, children: /* @__PURE__ */ J(Sn, { variant: "heading2", children: [
1587
+ /* @__PURE__ */ D("div", { style: { margin: "16px 0px" }, children: /* @__PURE__ */ J(Sn, { variant: "heading2", children: [
1587
1588
  B,
1588
1589
  " Mode"
1589
1590
  ] }) }),
1590
- /* @__PURE__ */ z(
1591
+ /* @__PURE__ */ D(
1591
1592
  wn.Search,
1592
1593
  {
1593
- style: { marginBottom: 8 },
1594
+ style: { marginBottom: 8, width: 300 },
1594
1595
  placeholder: "Search token (min 3 characters)...",
1595
1596
  onSearch: v,
1596
1597
  allowClear: !0,
@@ -1598,7 +1599,7 @@ const Go = () => {
1598
1599
  value: c
1599
1600
  }
1600
1601
  ),
1601
- /* @__PURE__ */ z(
1602
+ /* @__PURE__ */ D(
1602
1603
  fe,
1603
1604
  {
1604
1605
  selectable: !1,
@@ -1607,12 +1608,12 @@ const Go = () => {
1607
1608
  onExpand: h,
1608
1609
  switcherIcon: (g) => {
1609
1610
  const { expanded: x } = g;
1610
- return x ? /* @__PURE__ */ z(pn, {}) : /* @__PURE__ */ z(Pn, {});
1611
+ return x ? /* @__PURE__ */ D(pn, {}) : /* @__PURE__ */ D(Pn, {});
1611
1612
  },
1612
- children: A(f.length > 0 ? f : I)
1613
+ children: L(f.length > 0 ? f : I)
1613
1614
  }
1614
1615
  ),
1615
- /* @__PURE__ */ z(
1616
+ /* @__PURE__ */ D(
1616
1617
  W,
1617
1618
  {
1618
1619
  title: "Properties",
@@ -1620,7 +1621,7 @@ const Go = () => {
1620
1621
  onOk: () => o(!1),
1621
1622
  onCancel: () => o(!1),
1622
1623
  width: 300,
1623
- children: /* @__PURE__ */ z(
1624
+ children: /* @__PURE__ */ D(
1624
1625
  "div",
1625
1626
  {
1626
1627
  style: {
@@ -1633,12 +1634,12 @@ const Go = () => {
1633
1634
  backgroundColor: "#f9f9f9"
1634
1635
  },
1635
1636
  children: /* @__PURE__ */ J("div", { children: [
1636
- /* @__PURE__ */ z("div", { children: /* @__PURE__ */ J("p", { children: [
1637
- /* @__PURE__ */ z("strong", { children: "Token:" }),
1637
+ /* @__PURE__ */ D("div", { children: /* @__PURE__ */ J("p", { children: [
1638
+ /* @__PURE__ */ D("strong", { children: "Token:" }),
1638
1639
  " ",
1639
1640
  t.key
1640
1641
  ] }) }),
1641
- /* @__PURE__ */ z("div", { children: w(t.value) })
1642
+ /* @__PURE__ */ D("div", { children: w(t.value) })
1642
1643
  ] })
1643
1644
  }
1644
1645
  )
@@ -1647,5 +1648,5 @@ const Go = () => {
1647
1648
  ] });
1648
1649
  };
1649
1650
  export {
1650
- Go as ThemeTree
1651
+ Ko as ThemeTree
1651
1652
  };