@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,12 +1,12 @@
1
1
  import * as r from "react";
2
2
  import L, { useContext as X, useRef as Z } from "react";
3
- import { _ as ee, f as te, e as $ } from "./presets-Djh_L_6R.js";
3
+ import { _ as ee, f as te, e as I } from "./presets-Djh_L_6R.js";
4
4
  import { i as ne } from "./isVisible-D3-B85BJ.js";
5
- import { R as k, F as oe, G as re, H as se, B as E, o as ae, p as I, C as A, c as ie, a as ue, x as ce, y as le } from "./index-ByspLxrB.js";
5
+ import { R as $, H as oe, I as re, d as se, F as E, s as ae, t as k, C as A, c as ie, a as ue, z as ce, A as le } from "./index-BbTV2Cw5.js";
6
6
  import { c as de } from "./reactNode-sKPeiqPL.js";
7
7
  import "./index-DLdU7Tpd.js";
8
8
  import { _ as U, a as g } from "./asyncToGenerator-CKP9bEZn.js";
9
- var _ = ee({}, k), fe = _.version, S = _.render, pe = _.unmountComponentAtNode, C;
9
+ var _ = ee({}, $), fe = _.version, S = _.render, pe = _.unmountComponentAtNode, C;
10
10
  try {
11
11
  var me = Number((fe || "").split(".")[0]);
12
12
  me >= 18 && (C = _.createRoot);
@@ -78,7 +78,7 @@ function O() {
78
78
  }
79
79
  const ge = (e, t) => {
80
80
  if (process.env.NODE_ENV !== "production") {
81
- const n = parseInt(r.version.split(".")[0], 10), o = Object.keys(k);
81
+ const n = parseInt(r.version.split(".")[0], 10), o = Object.keys($);
82
82
  process.env.NODE_ENV !== "production" && oe(n < 19 || o.includes("createRoot"), "compatible", "antd v5 support React is 16 ~ 18. see https://u.ant.design/v5-for-19 for compatible.");
83
83
  }
84
84
  return Re(e, t), () => Ee(t);
@@ -140,11 +140,11 @@ const We = (e) => {
140
140
  r.useEffect(() => {
141
141
  c.current = s();
142
142
  }, []);
143
- const [d, h] = r.useState(null), [f, a] = r.useState([]), [m, v] = r.useState(0), [B, V] = r.useState(0), [F, P] = r.useState(0), [q, z] = r.useState(0), [H, M] = r.useState(!1), T = {
143
+ const [d, h] = r.useState(null), [f, a] = r.useState([]), [m, v] = r.useState(0), [V, B] = r.useState(0), [F, P] = r.useState(0), [z, q] = r.useState(0), [H, M] = r.useState(!1), T = {
144
144
  left: m,
145
- top: B,
145
+ top: V,
146
146
  width: F,
147
- height: q,
147
+ height: z,
148
148
  borderRadius: f.map((l) => `${l}px`).join(" ")
149
149
  };
150
150
  d && (T["--wave-color"] = d);
@@ -155,14 +155,14 @@ const We = (e) => {
155
155
  borderLeftWidth: p,
156
156
  borderTopWidth: b
157
157
  } = l;
158
- v(i ? n.offsetLeft : N(-parseFloat(p))), V(i ? n.offsetTop : N(-parseFloat(b))), P(n.offsetWidth), z(n.offsetHeight);
158
+ v(i ? n.offsetLeft : N(-parseFloat(p))), B(i ? n.offsetTop : N(-parseFloat(b))), P(n.offsetWidth), q(n.offsetHeight);
159
159
  const {
160
160
  borderTopLeftRadius: R,
161
- borderTopRightRadius: K,
161
+ borderTopRightRadius: G,
162
162
  borderBottomLeftRadius: Y,
163
163
  borderBottomRightRadius: J
164
164
  } = l;
165
- a([R, K, J, Y].map((Q) => N(parseFloat(Q))));
165
+ a([R, G, J, Y].map((Q) => N(parseFloat(Q))));
166
166
  }
167
167
  if (r.useEffect(() => {
168
168
  if (n) {
@@ -176,7 +176,7 @@ const We = (e) => {
176
176
  }
177
177
  }, []), !H)
178
178
  return null;
179
- const G = (o === "Checkbox" || o === "Radio") && (n == null ? void 0 : n.classList.contains(j));
179
+ const K = (o === "Checkbox" || o === "Radio") && (n == null ? void 0 : n.classList.contains(j));
180
180
  return /* @__PURE__ */ r.createElement(ae, {
181
181
  visible: !0,
182
182
  motionAppear: !0,
@@ -197,9 +197,9 @@ const We = (e) => {
197
197
  className: p
198
198
  } = l;
199
199
  return /* @__PURE__ */ r.createElement("div", {
200
- ref: I(u, i),
201
- className: $(t, p, {
202
- "wave-quick": G
200
+ ref: k(u, i),
201
+ className: I(t, p, {
202
+ "wave-quick": K
203
203
  }),
204
204
  style: T
205
205
  });
@@ -252,7 +252,7 @@ const We = (e) => {
252
252
  component: o
253
253
  } = e, {
254
254
  getPrefixCls: s
255
- } = X(A), u = Z(null), c = s("wave"), [, d] = we(c), h = Te(u, $(c, d), o);
255
+ } = X(A), u = Z(null), c = s("wave"), [, d] = we(c), h = Te(u, I(c, d), o);
256
256
  if (L.useEffect(() => {
257
257
  const a = u.current;
258
258
  if (!a || a.nodeType !== 1 || n)
@@ -266,7 +266,7 @@ const We = (e) => {
266
266
  };
267
267
  }, [n]), !/* @__PURE__ */ L.isValidElement(t))
268
268
  return t ?? null;
269
- const f = ce(t) ? I(le(t), u) : u;
269
+ const f = ce(t) ? k(le(t), u) : u;
270
270
  return de(t, {
271
271
  ref: f
272
272
  });
@@ -1,9 +1,9 @@
1
- import { C as S, h as I } from "./index-ByspLxrB.js";
1
+ import { C as S, o as I } from "./index-BbTV2Cw5.js";
2
2
  import * as r from "react";
3
3
  import { e as O } from "./presets-Djh_L_6R.js";
4
4
  import { o as A } from "./omit-B_u6A-HL.js";
5
- import { S as b, u as j, L as F, a as z } from "./dropdown-zGGFIyJ_.js";
6
- import { t as B } from "./toArray-DGvPoJP_.js";
5
+ import { S as b, u as j, L as F, a as z } from "./dropdown-Dp_PTQ2u.js";
6
+ import { t as B } from "./toArray-U3Az44CO.js";
7
7
  function T(t, o, a) {
8
8
  return typeof a == "boolean" ? a : t.length ? !0 : B(o).some((s) => s.type === b);
9
9
  }
@@ -1,20 +1,21 @@
1
1
  import * as o from "react";
2
2
  import { useContext as Z, useMemo as fe, useState as de, useRef as pe } from "react";
3
3
  import { e as G, d as te } from "./presets-Djh_L_6R.js";
4
- import { C as H, e as oe, g as me, m as ge, B as Ce, a as ee, h as ye, D as ve, p as se } from "./index-ByspLxrB.js";
5
- import { F as q } from "./context-Cx7GtZpz.js";
6
- import { u as be, i as Oe, a as he, I as Q, b as xe, T as Ee } from "./TextArea-CKWbFr0u.js";
4
+ import { C as H, g as oe, j as me, m as ge, F as Ce, a as ee, o as ye, D as ve, t as se } from "./index-BbTV2Cw5.js";
5
+ import { F as q } from "./context-DIFtNa4d.js";
6
+ import { u as be, i as Oe, a as he } from "./index-DOsPeIWJ.js";
7
+ import { I as Q, u as xe, T as Ee } from "./TextArea-Bkf9hh7l.js";
7
8
  import { p as Ie } from "./pickAttrs-CleuMJFR.js";
8
- import { g as Pe } from "./useVariants-Cin23jEC.js";
9
- import { u as Se } from "./useCSSVarCls-C-MlZC6a.js";
10
- import { u as re } from "./useSize-CPo2bUE3.js";
9
+ import { g as Pe } from "./useVariants-DrLzUVLU.js";
10
+ import { u as Se } from "./useCSSVarCls-Dau77fzS.js";
11
+ import { u as re } from "./useSize-DSq4r6zy.js";
11
12
  import "./index-DLdU7Tpd.js";
12
13
  import { I as ae } from "./AntdIcon-nCNB0J1E.js";
13
14
  import { o as we } from "./omit-B_u6A-HL.js";
14
15
  import { R as _e } from "./SearchOutlined-DNj-7b_h.js";
15
16
  import { c as ne } from "./reactNode-sKPeiqPL.js";
16
- import { B as ze } from "./button-B2Rgggx2.js";
17
- import { u as Ne } from "./Compact-DBh6nSYB.js";
17
+ import { B as ze } from "./button-BwqpCxVM.js";
18
+ import { u as Ne } from "./Compact-Du9689ax.js";
18
19
  const je = (e) => {
19
20
  const {
20
21
  getPrefixCls: s,
@@ -1,13 +1,15 @@
1
- import * as i from "react";
1
+ import * as l from "react";
2
2
  import { e as O } from "./presets-Djh_L_6R.js";
3
- import { u as X } from "./useMergedState-BoELfaU9.js";
3
+ import { u as X } from "./useMergedState-D6toxSxh.js";
4
4
  import { K as Y } from "./KeyCode-DM2sFh3-.js";
5
- import { g as Z } from "./index-DWUXwgXK.js";
5
+ import { g as Z } from "./motion-CUN72xsH.js";
6
6
  import { c as q } from "./reactNode-sKPeiqPL.js";
7
- import { g as J, m as Q, r as ee, C as k } from "./index-ByspLxrB.js";
8
- import { i as ne, g as te, a as oe, b as re, P as ae, T as le } from "./index-CqqwGTME.js";
7
+ import { j as J, m as Q, k as ee, C as k } from "./index-BbTV2Cw5.js";
8
+ import { i as ne, g as te, a as oe, P as re, T as ae } from "./index-DWjq9XYj.js";
9
+ import "./index-D0U6r5O7.js";
10
+ import { g as ie } from "./roundedArrow-DI_Q-xdU.js";
9
11
  import "./index-DLdU7Tpd.js";
10
- import { P as ie } from "./presetColors-Cl8UP3Nw.js";
12
+ import { P as le } from "./presetColors-Cl8UP3Nw.js";
11
13
  const P = (e) => e ? typeof e == "function" ? e() : e : null, se = (e) => {
12
14
  const {
13
15
  componentCls: t,
@@ -98,7 +100,7 @@ const P = (e) => e ? typeof e == "function" ? e() : e : null, se = (e) => {
98
100
  componentCls: t
99
101
  } = e;
100
102
  return {
101
- [t]: ie.map((o) => {
103
+ [t]: le.map((o) => {
102
104
  const n = e[`${o}6`];
103
105
  return {
104
106
  [`&${t}-${o}`]: {
@@ -130,7 +132,7 @@ const P = (e) => e ? typeof e == "function" ? e() : e : null, se = (e) => {
130
132
  return Object.assign(Object.assign(Object.assign({
131
133
  titleMinWidth: 177,
132
134
  zIndexPopup: s + 30
133
- }, oe(e)), re({
135
+ }, ie(e)), oe({
134
136
  contentRadius: d,
135
137
  limitVerticalRadius: !0
136
138
  })), {
@@ -167,9 +169,9 @@ const I = (e) => {
167
169
  content: o,
168
170
  prefixCls: n
169
171
  } = e;
170
- return !t && !o ? null : /* @__PURE__ */ i.createElement(i.Fragment, null, t && /* @__PURE__ */ i.createElement("div", {
172
+ return !t && !o ? null : /* @__PURE__ */ l.createElement(l.Fragment, null, t && /* @__PURE__ */ l.createElement("div", {
171
173
  className: `${n}-title`
172
- }, t), o && /* @__PURE__ */ i.createElement("div", {
174
+ }, t), o && /* @__PURE__ */ l.createElement("div", {
173
175
  className: `${n}-inner-content`
174
176
  }, o));
175
177
  }, pe = (e) => {
@@ -183,15 +185,15 @@ const I = (e) => {
183
185
  content: d,
184
186
  children: u
185
187
  } = e, f = P(s), m = P(d), g = O(t, o, `${o}-pure`, `${o}-placement-${a}`, n);
186
- return /* @__PURE__ */ i.createElement("div", {
188
+ return /* @__PURE__ */ l.createElement("div", {
187
189
  className: g,
188
190
  style: r
189
- }, /* @__PURE__ */ i.createElement("div", {
191
+ }, /* @__PURE__ */ l.createElement("div", {
190
192
  className: `${o}-arrow`
191
- }), /* @__PURE__ */ i.createElement(ae, Object.assign({}, e, {
193
+ }), /* @__PURE__ */ l.createElement(re, Object.assign({}, e, {
192
194
  className: t,
193
195
  prefixCls: o
194
- }), u || /* @__PURE__ */ i.createElement(I, {
196
+ }), u || /* @__PURE__ */ l.createElement(I, {
195
197
  prefixCls: o,
196
198
  title: f,
197
199
  content: m
@@ -202,8 +204,8 @@ const I = (e) => {
202
204
  className: o
203
205
  } = e, n = ue(e, ["prefixCls", "className"]), {
204
206
  getPrefixCls: r
205
- } = i.useContext(k), a = r("popover", t), [s, d, u] = T(a);
206
- return s(/* @__PURE__ */ i.createElement(pe, Object.assign({}, n, {
207
+ } = l.useContext(k), a = r("popover", t), [s, d, u] = T(a);
208
+ return s(/* @__PURE__ */ l.createElement(pe, Object.assign({}, n, {
207
209
  prefixCls: a,
208
210
  hashId: d,
209
211
  className: O(o, u)
@@ -216,7 +218,7 @@ var me = function(e, t) {
216
218
  t.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[r]) && (o[n[r]] = e[n[r]]);
217
219
  return o;
218
220
  };
219
- const ge = /* @__PURE__ */ i.forwardRef((e, t) => {
221
+ const ge = /* @__PURE__ */ l.forwardRef((e, t) => {
220
222
  var o, n, r, a, s, d;
221
223
  const {
222
224
  prefixCls: u,
@@ -233,9 +235,9 @@ const ge = /* @__PURE__ */ i.forwardRef((e, t) => {
233
235
  styles: v,
234
236
  classNames: C
235
237
  } = e, $ = me(e, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "children", "mouseEnterDelay", "mouseLeaveDelay", "onOpenChange", "overlayStyle", "styles", "classNames"]), {
236
- popover: l,
238
+ popover: i,
237
239
  getPrefixCls: j
238
- } = i.useContext(k), N = j("popover", u), [M, R, V] = T(N), A = j(), H = O(g, R, V, (o = l == null ? void 0 : l.classNames) === null || o === void 0 ? void 0 : o.root, C == null ? void 0 : C.root), L = O((n = l == null ? void 0 : l.classNames) === null || n === void 0 ? void 0 : n.body, C == null ? void 0 : C.body), [K, F] = X(!1, {
240
+ } = l.useContext(k), N = j("popover", u), [M, R, V] = T(N), A = j(), H = O(g, R, V, (o = i == null ? void 0 : i.classNames) === null || o === void 0 ? void 0 : o.root, C == null ? void 0 : C.root), L = O((n = i == null ? void 0 : i.classNames) === null || n === void 0 ? void 0 : n.body, C == null ? void 0 : C.body), [K, F] = X(!1, {
239
241
  value: (r = e.open) !== null && r !== void 0 ? r : e.visible,
240
242
  defaultValue: (a = e.defaultOpen) !== null && a !== void 0 ? a : e.defaultVisible
241
243
  }), E = (c, h) => {
@@ -245,7 +247,7 @@ const ge = /* @__PURE__ */ i.forwardRef((e, t) => {
245
247
  }, U = (c) => {
246
248
  E(c);
247
249
  }, _ = P(f), B = P(m);
248
- return M(/* @__PURE__ */ i.createElement(le, Object.assign({
250
+ return M(/* @__PURE__ */ l.createElement(ae, Object.assign({
249
251
  placement: y,
250
252
  trigger: x,
251
253
  mouseEnterDelay: b,
@@ -257,13 +259,13 @@ const ge = /* @__PURE__ */ i.forwardRef((e, t) => {
257
259
  body: L
258
260
  },
259
261
  styles: {
260
- root: Object.assign(Object.assign(Object.assign(Object.assign({}, (s = l == null ? void 0 : l.styles) === null || s === void 0 ? void 0 : s.root), l == null ? void 0 : l.style), z), v == null ? void 0 : v.root),
261
- body: Object.assign(Object.assign({}, (d = l == null ? void 0 : l.styles) === null || d === void 0 ? void 0 : d.body), v == null ? void 0 : v.body)
262
+ root: Object.assign(Object.assign(Object.assign(Object.assign({}, (s = i == null ? void 0 : i.styles) === null || s === void 0 ? void 0 : s.root), i == null ? void 0 : i.style), z), v == null ? void 0 : v.root),
263
+ body: Object.assign(Object.assign({}, (d = i == null ? void 0 : i.styles) === null || d === void 0 ? void 0 : d.body), v == null ? void 0 : v.body)
262
264
  },
263
265
  ref: t,
264
266
  open: K,
265
267
  onOpenChange: U,
266
- overlay: _ || B ? /* @__PURE__ */ i.createElement(I, {
268
+ overlay: _ || B ? /* @__PURE__ */ l.createElement(I, {
267
269
  prefixCls: N,
268
270
  title: _,
269
271
  content: B
@@ -273,7 +275,7 @@ const ge = /* @__PURE__ */ i.forwardRef((e, t) => {
273
275
  }), q(p, {
274
276
  onKeyDown: (c) => {
275
277
  var h, S;
276
- /* @__PURE__ */ i.isValidElement(p) && ((S = p == null ? void 0 : (h = p.props).onKeyDown) === null || S === void 0 || S.call(h, c)), G(c);
278
+ /* @__PURE__ */ l.isValidElement(p) && ((S = p == null ? void 0 : (h = p.props).onKeyDown) === null || S === void 0 || S.call(h, c)), G(c);
277
279
  }
278
280
  })));
279
281
  }), W = ge;