@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,956 +0,0 @@
1
- import * as f from "react";
2
- import { forwardRef as De, useRef as ke, useImperativeHandle as Be } from "react";
3
- import { e as T, g as Me, _ as L, d as He } from "./presets-Djh_L_6R.js";
4
- import { i as Xe, T as We, g as Ye } from "./index-DWUXwgXK.js";
5
- import { u as Ze } from "./useMergedState-BoELfaU9.js";
6
- import { C as Ke } from "./ContextIsolator-CwuJooYf.js";
7
- import { u as qe, z as Fe } from "./useZIndex-D81lkWy4.js";
8
- import { j as D, g as Ue, m as de, r as Ge, h as ce, C as pe, c as Je, e as Qe } from "./index-ByspLxrB.js";
9
- import { i as et, c as tt } from "./reactNode-sKPeiqPL.js";
10
- import "./index-DLdU7Tpd.js";
11
- import { K as O } from "./Keyframes-sPZXYuXt.js";
12
- import { P as Z } from "./presetColors-Cl8UP3Nw.js";
13
- function ot(t, o) {
14
- return Z.reduce((r, e) => {
15
- const n = t[`${e}1`], s = t[`${e}3`], a = t[`${e}6`], i = t[`${e}7`];
16
- return Object.assign(Object.assign({}, r), o(e, {
17
- lightColor: n,
18
- lightBorderColor: s,
19
- darkColor: a,
20
- textColor: i
21
- }));
22
- }, {});
23
- }
24
- const nt = new O("antZoomIn", {
25
- "0%": {
26
- transform: "scale(0.2)",
27
- opacity: 0
28
- },
29
- "100%": {
30
- transform: "scale(1)",
31
- opacity: 1
32
- }
33
- }), rt = new O("antZoomOut", {
34
- "0%": {
35
- transform: "scale(1)"
36
- },
37
- "100%": {
38
- transform: "scale(0.2)",
39
- opacity: 0
40
- }
41
- }), fe = new O("antZoomBigIn", {
42
- "0%": {
43
- transform: "scale(0.8)",
44
- opacity: 0
45
- },
46
- "100%": {
47
- transform: "scale(1)",
48
- opacity: 1
49
- }
50
- }), me = new O("antZoomBigOut", {
51
- "0%": {
52
- transform: "scale(1)"
53
- },
54
- "100%": {
55
- transform: "scale(0.8)",
56
- opacity: 0
57
- }
58
- }), at = new O("antZoomUpIn", {
59
- "0%": {
60
- transform: "scale(0.8)",
61
- transformOrigin: "50% 0%",
62
- opacity: 0
63
- },
64
- "100%": {
65
- transform: "scale(1)",
66
- transformOrigin: "50% 0%"
67
- }
68
- }), st = new O("antZoomUpOut", {
69
- "0%": {
70
- transform: "scale(1)",
71
- transformOrigin: "50% 0%"
72
- },
73
- "100%": {
74
- transform: "scale(0.8)",
75
- transformOrigin: "50% 0%",
76
- opacity: 0
77
- }
78
- }), it = new O("antZoomLeftIn", {
79
- "0%": {
80
- transform: "scale(0.8)",
81
- transformOrigin: "0% 50%",
82
- opacity: 0
83
- },
84
- "100%": {
85
- transform: "scale(1)",
86
- transformOrigin: "0% 50%"
87
- }
88
- }), lt = new O("antZoomLeftOut", {
89
- "0%": {
90
- transform: "scale(1)",
91
- transformOrigin: "0% 50%"
92
- },
93
- "100%": {
94
- transform: "scale(0.8)",
95
- transformOrigin: "0% 50%",
96
- opacity: 0
97
- }
98
- }), ct = new O("antZoomRightIn", {
99
- "0%": {
100
- transform: "scale(0.8)",
101
- transformOrigin: "100% 50%",
102
- opacity: 0
103
- },
104
- "100%": {
105
- transform: "scale(1)",
106
- transformOrigin: "100% 50%"
107
- }
108
- }), ft = new O("antZoomRightOut", {
109
- "0%": {
110
- transform: "scale(1)",
111
- transformOrigin: "100% 50%"
112
- },
113
- "100%": {
114
- transform: "scale(0.8)",
115
- transformOrigin: "100% 50%",
116
- opacity: 0
117
- }
118
- }), mt = new O("antZoomDownIn", {
119
- "0%": {
120
- transform: "scale(0.8)",
121
- transformOrigin: "50% 100%",
122
- opacity: 0
123
- },
124
- "100%": {
125
- transform: "scale(1)",
126
- transformOrigin: "50% 100%"
127
- }
128
- }), ut = new O("antZoomDownOut", {
129
- "0%": {
130
- transform: "scale(1)",
131
- transformOrigin: "50% 100%"
132
- },
133
- "100%": {
134
- transform: "scale(0.8)",
135
- transformOrigin: "50% 100%",
136
- opacity: 0
137
- }
138
- }), dt = {
139
- zoom: {
140
- inKeyframes: nt,
141
- outKeyframes: rt
142
- },
143
- "zoom-big": {
144
- inKeyframes: fe,
145
- outKeyframes: me
146
- },
147
- "zoom-big-fast": {
148
- inKeyframes: fe,
149
- outKeyframes: me
150
- },
151
- "zoom-left": {
152
- inKeyframes: it,
153
- outKeyframes: lt
154
- },
155
- "zoom-right": {
156
- inKeyframes: ct,
157
- outKeyframes: ft
158
- },
159
- "zoom-up": {
160
- inKeyframes: at,
161
- outKeyframes: st
162
- },
163
- "zoom-down": {
164
- inKeyframes: mt,
165
- outKeyframes: ut
166
- }
167
- }, pt = (t, o) => {
168
- const {
169
- antCls: r
170
- } = t, e = `${r}-${o}`, {
171
- inKeyframes: n,
172
- outKeyframes: s
173
- } = dt[o];
174
- return [Xe(e, n, s, o === "zoom-big-fast" ? t.motionDurationFast : t.motionDurationMid), {
175
- [`
176
- ${e}-enter,
177
- ${e}-appear
178
- `]: {
179
- transform: "scale(0)",
180
- opacity: 0,
181
- animationTimingFunction: t.motionEaseOutCirc,
182
- "&-prepare": {
183
- transform: "none"
184
- }
185
- },
186
- [`${e}-leave`]: {
187
- animationTimingFunction: t.motionEaseInOutCirc
188
- }
189
- }];
190
- };
191
- function ge(t) {
192
- var o = t.children, r = t.prefixCls, e = t.id, n = t.overlayInnerStyle, s = t.bodyClassName, a = t.className, i = t.style;
193
- return /* @__PURE__ */ f.createElement("div", {
194
- className: T("".concat(r, "-content"), a),
195
- style: i
196
- }, /* @__PURE__ */ f.createElement("div", {
197
- className: T("".concat(r, "-inner"), s),
198
- id: e,
199
- role: "tooltip",
200
- style: n
201
- }, typeof o == "function" ? o() : o));
202
- }
203
- var E = {
204
- shiftX: 64,
205
- adjustY: 1
206
- }, V = {
207
- adjustX: 1,
208
- shiftY: !0
209
- }, v = [0, 0], gt = {
210
- left: {
211
- points: ["cr", "cl"],
212
- overflow: V,
213
- offset: [-4, 0],
214
- targetOffset: v
215
- },
216
- right: {
217
- points: ["cl", "cr"],
218
- overflow: V,
219
- offset: [4, 0],
220
- targetOffset: v
221
- },
222
- top: {
223
- points: ["bc", "tc"],
224
- overflow: E,
225
- offset: [0, -4],
226
- targetOffset: v
227
- },
228
- bottom: {
229
- points: ["tc", "bc"],
230
- overflow: E,
231
- offset: [0, 4],
232
- targetOffset: v
233
- },
234
- topLeft: {
235
- points: ["bl", "tl"],
236
- overflow: E,
237
- offset: [0, -4],
238
- targetOffset: v
239
- },
240
- leftTop: {
241
- points: ["tr", "tl"],
242
- overflow: V,
243
- offset: [-4, 0],
244
- targetOffset: v
245
- },
246
- topRight: {
247
- points: ["br", "tr"],
248
- overflow: E,
249
- offset: [0, -4],
250
- targetOffset: v
251
- },
252
- rightTop: {
253
- points: ["tl", "tr"],
254
- overflow: V,
255
- offset: [4, 0],
256
- targetOffset: v
257
- },
258
- bottomRight: {
259
- points: ["tr", "br"],
260
- overflow: E,
261
- offset: [0, 4],
262
- targetOffset: v
263
- },
264
- rightBottom: {
265
- points: ["bl", "br"],
266
- overflow: V,
267
- offset: [4, 0],
268
- targetOffset: v
269
- },
270
- bottomLeft: {
271
- points: ["tl", "bl"],
272
- overflow: E,
273
- offset: [0, 4],
274
- targetOffset: v
275
- },
276
- leftBottom: {
277
- points: ["br", "bl"],
278
- overflow: V,
279
- offset: [-4, 0],
280
- targetOffset: v
281
- }
282
- }, bt = ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow", "classNames", "styles"], ht = function(o, r) {
283
- var e = o.overlayClassName, n = o.trigger, s = n === void 0 ? ["hover"] : n, a = o.mouseEnterDelay, i = a === void 0 ? 0 : a, l = o.mouseLeaveDelay, m = l === void 0 ? 0.1 : l, h = o.overlayStyle, c = o.prefixCls, u = c === void 0 ? "rc-tooltip" : c, y = o.children, C = o.onVisibleChange, _ = o.afterVisibleChange, x = o.transitionName, b = o.animation, g = o.motion, N = o.placement, I = N === void 0 ? "right" : N, A = o.align, K = A === void 0 ? {} : A, q = o.destroyTooltipOnHide, F = q === void 0 ? !1 : q, U = o.defaultVisible, G = o.getTooltipContainer, J = o.overlayInnerStyle;
284
- o.arrowContent;
285
- var Q = o.overlay, ee = o.id, k = o.showArrow, j = k === void 0 ? !0 : k, w = o.classNames, P = o.styles, B = Me(o, bt), z = ke(null);
286
- Be(r, function() {
287
- return z.current;
288
- });
289
- var M = L({}, B);
290
- "visible" in o && (M.popupVisible = o.visible);
291
- var H = function() {
292
- return /* @__PURE__ */ f.createElement(ge, {
293
- key: "content",
294
- prefixCls: u,
295
- id: ee,
296
- bodyClassName: w == null ? void 0 : w.body,
297
- overlayInnerStyle: L(L({}, J), P == null ? void 0 : P.body)
298
- }, Q);
299
- };
300
- return /* @__PURE__ */ f.createElement(We, He({
301
- popupClassName: T(e, w == null ? void 0 : w.root),
302
- prefixCls: u,
303
- popup: H,
304
- action: s,
305
- builtinPlacements: gt,
306
- popupPlacement: I,
307
- ref: z,
308
- popupAlign: K,
309
- getPopupContainer: G,
310
- onPopupVisibleChange: C,
311
- afterPopupVisibleChange: _,
312
- popupTransitionName: x,
313
- popupAnimation: b,
314
- popupMotion: g,
315
- defaultPopupVisible: U,
316
- autoDestroy: F,
317
- mouseLeaveDelay: m,
318
- popupStyle: L(L({}, h), P == null ? void 0 : P.root),
319
- mouseEnterDelay: i,
320
- arrow: j
321
- }, M), y);
322
- };
323
- const yt = /* @__PURE__ */ De(ht);
324
- function wt(t) {
325
- const {
326
- sizePopupArrow: o,
327
- borderRadiusXS: r,
328
- borderRadiusOuter: e
329
- } = t, n = o / 2, s = 0, a = n, i = e * 1 / Math.sqrt(2), l = n - e * (1 - 1 / Math.sqrt(2)), m = n - r * (1 / Math.sqrt(2)), h = e * (Math.sqrt(2) - 1) + r * (1 / Math.sqrt(2)), c = 2 * n - m, u = h, y = 2 * n - i, C = l, _ = 2 * n - s, x = a, b = n * Math.sqrt(2) + e * (Math.sqrt(2) - 2), g = e * (Math.sqrt(2) - 1), N = `polygon(${g}px 100%, 50% ${g}px, ${2 * n - g}px 100%, ${g}px 100%)`, I = `path('M ${s} ${a} A ${e} ${e} 0 0 0 ${i} ${l} L ${m} ${h} A ${r} ${r} 0 0 1 ${c} ${u} L ${y} ${C} A ${e} ${e} 0 0 0 ${_} ${x} Z')`;
330
- return {
331
- arrowShadowWidth: b,
332
- arrowPath: I,
333
- arrowPolygon: N
334
- };
335
- }
336
- const vt = (t, o, r) => {
337
- const {
338
- sizePopupArrow: e,
339
- arrowPolygon: n,
340
- arrowPath: s,
341
- arrowShadowWidth: a,
342
- borderRadiusXS: i,
343
- calc: l
344
- } = t;
345
- return {
346
- pointerEvents: "none",
347
- width: e,
348
- height: e,
349
- overflow: "hidden",
350
- "&::before": {
351
- position: "absolute",
352
- bottom: 0,
353
- insetInlineStart: 0,
354
- width: e,
355
- height: l(e).div(2).equal(),
356
- background: o,
357
- clipPath: {
358
- _multi_value_: !0,
359
- value: [n, s]
360
- },
361
- content: '""'
362
- },
363
- "&::after": {
364
- content: '""',
365
- position: "absolute",
366
- width: a,
367
- height: a,
368
- bottom: 0,
369
- insetInline: 0,
370
- margin: "auto",
371
- borderRadius: {
372
- _skip_check_: !0,
373
- value: `0 0 ${D(i)} 0`
374
- },
375
- transform: "translateY(50%) rotate(-135deg)",
376
- boxShadow: r,
377
- zIndex: 0,
378
- background: "transparent"
379
- }
380
- };
381
- }, be = 8;
382
- function he(t) {
383
- const {
384
- contentRadius: o,
385
- limitVerticalRadius: r
386
- } = t, e = o > 12 ? o + 2 : 12;
387
- return {
388
- arrowOffsetHorizontal: e,
389
- arrowOffsetVertical: r ? be : e
390
- };
391
- }
392
- function Y(t, o) {
393
- return t ? o : {};
394
- }
395
- function Ot(t, o, r) {
396
- const {
397
- componentCls: e,
398
- boxShadowPopoverArrow: n,
399
- arrowOffsetVertical: s,
400
- arrowOffsetHorizontal: a
401
- } = t, {
402
- arrowDistance: i = 0,
403
- arrowPlacement: l = {
404
- left: !0,
405
- right: !0,
406
- top: !0,
407
- bottom: !0
408
- }
409
- } = r || {};
410
- return {
411
- [e]: Object.assign(Object.assign(Object.assign(Object.assign({
412
- // ============================ Basic ============================
413
- [`${e}-arrow`]: [Object.assign(Object.assign({
414
- position: "absolute",
415
- zIndex: 1,
416
- display: "block"
417
- }, vt(t, o, n)), {
418
- "&:before": {
419
- background: o
420
- }
421
- })]
422
- }, Y(!!l.top, {
423
- [[`&-placement-top > ${e}-arrow`, `&-placement-topLeft > ${e}-arrow`, `&-placement-topRight > ${e}-arrow`].join(",")]: {
424
- bottom: i,
425
- transform: "translateY(100%) rotate(180deg)"
426
- },
427
- [`&-placement-top > ${e}-arrow`]: {
428
- left: {
429
- _skip_check_: !0,
430
- value: "50%"
431
- },
432
- transform: "translateX(-50%) translateY(100%) rotate(180deg)"
433
- },
434
- "&-placement-topLeft": {
435
- "--arrow-offset-horizontal": a,
436
- [`> ${e}-arrow`]: {
437
- left: {
438
- _skip_check_: !0,
439
- value: a
440
- }
441
- }
442
- },
443
- "&-placement-topRight": {
444
- "--arrow-offset-horizontal": `calc(100% - ${D(a)})`,
445
- [`> ${e}-arrow`]: {
446
- right: {
447
- _skip_check_: !0,
448
- value: a
449
- }
450
- }
451
- }
452
- })), Y(!!l.bottom, {
453
- [[`&-placement-bottom > ${e}-arrow`, `&-placement-bottomLeft > ${e}-arrow`, `&-placement-bottomRight > ${e}-arrow`].join(",")]: {
454
- top: i,
455
- transform: "translateY(-100%)"
456
- },
457
- [`&-placement-bottom > ${e}-arrow`]: {
458
- left: {
459
- _skip_check_: !0,
460
- value: "50%"
461
- },
462
- transform: "translateX(-50%) translateY(-100%)"
463
- },
464
- "&-placement-bottomLeft": {
465
- "--arrow-offset-horizontal": a,
466
- [`> ${e}-arrow`]: {
467
- left: {
468
- _skip_check_: !0,
469
- value: a
470
- }
471
- }
472
- },
473
- "&-placement-bottomRight": {
474
- "--arrow-offset-horizontal": `calc(100% - ${D(a)})`,
475
- [`> ${e}-arrow`]: {
476
- right: {
477
- _skip_check_: !0,
478
- value: a
479
- }
480
- }
481
- }
482
- })), Y(!!l.left, {
483
- [[`&-placement-left > ${e}-arrow`, `&-placement-leftTop > ${e}-arrow`, `&-placement-leftBottom > ${e}-arrow`].join(",")]: {
484
- right: {
485
- _skip_check_: !0,
486
- value: i
487
- },
488
- transform: "translateX(100%) rotate(90deg)"
489
- },
490
- [`&-placement-left > ${e}-arrow`]: {
491
- top: {
492
- _skip_check_: !0,
493
- value: "50%"
494
- },
495
- transform: "translateY(-50%) translateX(100%) rotate(90deg)"
496
- },
497
- [`&-placement-leftTop > ${e}-arrow`]: {
498
- top: s
499
- },
500
- [`&-placement-leftBottom > ${e}-arrow`]: {
501
- bottom: s
502
- }
503
- })), Y(!!l.right, {
504
- [[`&-placement-right > ${e}-arrow`, `&-placement-rightTop > ${e}-arrow`, `&-placement-rightBottom > ${e}-arrow`].join(",")]: {
505
- left: {
506
- _skip_check_: !0,
507
- value: i
508
- },
509
- transform: "translateX(-100%) rotate(-90deg)"
510
- },
511
- [`&-placement-right > ${e}-arrow`]: {
512
- top: {
513
- _skip_check_: !0,
514
- value: "50%"
515
- },
516
- transform: "translateY(-50%) translateX(-100%) rotate(-90deg)"
517
- },
518
- [`&-placement-rightTop > ${e}-arrow`]: {
519
- top: s
520
- },
521
- [`&-placement-rightBottom > ${e}-arrow`]: {
522
- bottom: s
523
- }
524
- }))
525
- };
526
- }
527
- function Ct(t, o, r, e) {
528
- if (e === !1)
529
- return {
530
- adjustX: !1,
531
- adjustY: !1
532
- };
533
- const n = e && typeof e == "object" ? e : {}, s = {};
534
- switch (t) {
535
- case "top":
536
- case "bottom":
537
- s.shiftX = o.arrowOffsetHorizontal * 2 + r, s.shiftY = !0, s.adjustY = !0;
538
- break;
539
- case "left":
540
- case "right":
541
- s.shiftY = o.arrowOffsetVertical * 2 + r, s.shiftX = !0, s.adjustX = !0;
542
- break;
543
- }
544
- const a = Object.assign(Object.assign({}, s), n);
545
- return a.shiftX || (a.adjustX = !0), a.shiftY || (a.adjustY = !0), a;
546
- }
547
- const ue = {
548
- left: {
549
- points: ["cr", "cl"]
550
- },
551
- right: {
552
- points: ["cl", "cr"]
553
- },
554
- top: {
555
- points: ["bc", "tc"]
556
- },
557
- bottom: {
558
- points: ["tc", "bc"]
559
- },
560
- topLeft: {
561
- points: ["bl", "tl"]
562
- },
563
- leftTop: {
564
- points: ["tr", "tl"]
565
- },
566
- topRight: {
567
- points: ["br", "tr"]
568
- },
569
- rightTop: {
570
- points: ["tl", "tr"]
571
- },
572
- bottomRight: {
573
- points: ["tr", "br"]
574
- },
575
- rightBottom: {
576
- points: ["bl", "br"]
577
- },
578
- bottomLeft: {
579
- points: ["tl", "bl"]
580
- },
581
- leftBottom: {
582
- points: ["br", "bl"]
583
- }
584
- }, $t = {
585
- topLeft: {
586
- points: ["bl", "tc"]
587
- },
588
- leftTop: {
589
- points: ["tr", "cl"]
590
- },
591
- topRight: {
592
- points: ["br", "tc"]
593
- },
594
- rightTop: {
595
- points: ["tl", "cr"]
596
- },
597
- bottomRight: {
598
- points: ["tr", "bc"]
599
- },
600
- rightBottom: {
601
- points: ["bl", "cr"]
602
- },
603
- bottomLeft: {
604
- points: ["tl", "bc"]
605
- },
606
- leftBottom: {
607
- points: ["br", "cl"]
608
- }
609
- }, _t = /* @__PURE__ */ new Set(["topLeft", "topRight", "bottomLeft", "bottomRight", "leftTop", "leftBottom", "rightTop", "rightBottom"]);
610
- function xt(t) {
611
- const {
612
- arrowWidth: o,
613
- autoAdjustOverflow: r,
614
- arrowPointAtCenter: e,
615
- offset: n,
616
- borderRadius: s,
617
- visibleFirst: a
618
- } = t, i = o / 2, l = {};
619
- return Object.keys(ue).forEach((m) => {
620
- const h = e && $t[m] || ue[m], c = Object.assign(Object.assign({}, h), {
621
- offset: [0, 0],
622
- dynamicInset: !0
623
- });
624
- switch (l[m] = c, _t.has(m) && (c.autoArrow = !1), m) {
625
- case "top":
626
- case "topLeft":
627
- case "topRight":
628
- c.offset[1] = -i - n;
629
- break;
630
- case "bottom":
631
- case "bottomLeft":
632
- case "bottomRight":
633
- c.offset[1] = i + n;
634
- break;
635
- case "left":
636
- case "leftTop":
637
- case "leftBottom":
638
- c.offset[0] = -i - n;
639
- break;
640
- case "right":
641
- case "rightTop":
642
- case "rightBottom":
643
- c.offset[0] = i + n;
644
- break;
645
- }
646
- const u = he({
647
- contentRadius: s,
648
- limitVerticalRadius: !0
649
- });
650
- if (e)
651
- switch (m) {
652
- case "topLeft":
653
- case "bottomLeft":
654
- c.offset[0] = -u.arrowOffsetHorizontal - i;
655
- break;
656
- case "topRight":
657
- case "bottomRight":
658
- c.offset[0] = u.arrowOffsetHorizontal + i;
659
- break;
660
- case "leftTop":
661
- case "rightTop":
662
- c.offset[1] = -u.arrowOffsetHorizontal * 2 + i;
663
- break;
664
- case "leftBottom":
665
- case "rightBottom":
666
- c.offset[1] = u.arrowOffsetHorizontal * 2 - i;
667
- break;
668
- }
669
- c.overflow = Ct(m, u, o, r), a && (c.htmlRegion = "visibleFirst");
670
- }), l;
671
- }
672
- const Pt = (t) => {
673
- const {
674
- calc: o,
675
- componentCls: r,
676
- // ant-tooltip
677
- tooltipMaxWidth: e,
678
- tooltipColor: n,
679
- tooltipBg: s,
680
- tooltipBorderRadius: a,
681
- zIndexPopup: i,
682
- controlHeight: l,
683
- boxShadowSecondary: m,
684
- paddingSM: h,
685
- paddingXS: c,
686
- arrowOffsetHorizontal: u,
687
- sizePopupArrow: y
688
- } = t, C = o(a).add(y).add(u).equal(), _ = o(a).mul(2).add(y).equal();
689
- return [
690
- {
691
- [r]: Object.assign(Object.assign(Object.assign(Object.assign({}, Ge(t)), {
692
- position: "absolute",
693
- zIndex: i,
694
- display: "block",
695
- width: "max-content",
696
- maxWidth: e,
697
- visibility: "visible",
698
- // When use `autoArrow`, origin will follow the arrow position
699
- "--valid-offset-x": "var(--arrow-offset-horizontal, var(--arrow-x))",
700
- transformOrigin: ["var(--valid-offset-x, 50%)", "var(--arrow-y, 50%)"].join(" "),
701
- "&-hidden": {
702
- display: "none"
703
- },
704
- "--antd-arrow-background-color": s,
705
- // Wrapper for the tooltip content
706
- [`${r}-inner`]: {
707
- minWidth: _,
708
- minHeight: l,
709
- padding: `${D(t.calc(h).div(2).equal())} ${D(c)}`,
710
- color: n,
711
- textAlign: "start",
712
- textDecoration: "none",
713
- wordWrap: "break-word",
714
- backgroundColor: s,
715
- borderRadius: a,
716
- boxShadow: m,
717
- boxSizing: "border-box"
718
- },
719
- // Align placement should have another min width
720
- [["&-placement-topLeft", "&-placement-topRight", "&-placement-bottomLeft", "&-placement-bottomRight"].join(",")]: {
721
- minWidth: C
722
- },
723
- // Limit left and right placement radius
724
- [["&-placement-left", "&-placement-leftTop", "&-placement-leftBottom", "&-placement-right", "&-placement-rightTop", "&-placement-rightBottom"].join(",")]: {
725
- [`${r}-inner`]: {
726
- borderRadius: t.min(a, be)
727
- }
728
- },
729
- [`${r}-content`]: {
730
- position: "relative"
731
- }
732
- }), ot(t, (x, b) => {
733
- let {
734
- darkColor: g
735
- } = b;
736
- return {
737
- [`&${r}-${x}`]: {
738
- [`${r}-inner`]: {
739
- backgroundColor: g
740
- },
741
- [`${r}-arrow`]: {
742
- "--antd-arrow-background-color": g
743
- }
744
- }
745
- };
746
- })), {
747
- // RTL
748
- "&-rtl": {
749
- direction: "rtl"
750
- }
751
- })
752
- },
753
- // Arrow Style
754
- Ot(t, "var(--antd-arrow-background-color)"),
755
- // Pure Render
756
- {
757
- [`${r}-pure`]: {
758
- position: "relative",
759
- maxWidth: "none",
760
- margin: t.sizePopupArrow
761
- }
762
- }
763
- ];
764
- }, Nt = (t) => Object.assign(Object.assign({
765
- zIndexPopup: t.zIndexPopupBase + 70
766
- }, he({
767
- contentRadius: t.borderRadius,
768
- limitVerticalRadius: !0
769
- })), wt(de(t, {
770
- borderRadiusOuter: Math.min(t.borderRadiusOuter, 4)
771
- }))), ye = function(t) {
772
- let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
773
- return Ue("Tooltip", (e) => {
774
- const {
775
- borderRadius: n,
776
- colorTextLightSolid: s,
777
- colorBgSpotlight: a
778
- } = e, i = de(e, {
779
- // default variables
780
- tooltipMaxWidth: 250,
781
- tooltipColor: s,
782
- tooltipBorderRadius: n,
783
- tooltipBg: a
784
- });
785
- return [Pt(i), pt(e, "zoom-big-fast")];
786
- }, Nt, {
787
- resetStyle: !1,
788
- // Popover use Tooltip as internal component. We do not need to handle this.
789
- injectStyle: o
790
- })(t);
791
- }, jt = Z.map((t) => `${t}-inverse`);
792
- function St(t) {
793
- return (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0) ? [].concat(ce(jt), ce(Z)).includes(t) : Z.includes(t);
794
- }
795
- function we(t, o) {
796
- const r = St(o), e = T({
797
- [`${t}-${o}`]: o && r
798
- }), n = {}, s = {};
799
- return o && !r && (n.background = o, s["--antd-arrow-background-color"] = o), {
800
- className: e,
801
- overlayStyle: n,
802
- arrowStyle: s
803
- };
804
- }
805
- const Tt = (t) => {
806
- const {
807
- prefixCls: o,
808
- className: r,
809
- placement: e = "top",
810
- title: n,
811
- color: s,
812
- overlayInnerStyle: a
813
- } = t, {
814
- getPrefixCls: i
815
- } = f.useContext(pe), l = i("tooltip", o), [m, h, c] = ye(l), u = we(l, s), y = u.arrowStyle, C = Object.assign(Object.assign({}, a), u.overlayStyle), _ = T(h, c, l, `${l}-pure`, `${l}-placement-${e}`, r, u.className);
816
- return m(/* @__PURE__ */ f.createElement("div", {
817
- className: _,
818
- style: y
819
- }, /* @__PURE__ */ f.createElement("div", {
820
- className: `${l}-arrow`
821
- }), /* @__PURE__ */ f.createElement(ge, Object.assign({}, t, {
822
- className: h,
823
- prefixCls: l,
824
- overlayInnerStyle: C
825
- }), n)));
826
- };
827
- var zt = function(t, o) {
828
- var r = {};
829
- for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && o.indexOf(e) < 0 && (r[e] = t[e]);
830
- if (t != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, e = Object.getOwnPropertySymbols(t); n < e.length; n++)
831
- o.indexOf(e[n]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[n]) && (r[e[n]] = t[e[n]]);
832
- return r;
833
- };
834
- const It = /* @__PURE__ */ f.forwardRef((t, o) => {
835
- var r, e, n, s, a, i;
836
- const {
837
- prefixCls: l,
838
- openClassName: m,
839
- getTooltipContainer: h,
840
- color: c,
841
- overlayInnerStyle: u,
842
- children: y,
843
- afterOpenChange: C,
844
- afterVisibleChange: _,
845
- destroyTooltipOnHide: x,
846
- arrow: b = !0,
847
- title: g,
848
- overlay: N,
849
- builtinPlacements: I,
850
- arrowPointAtCenter: A = !1,
851
- autoAdjustOverflow: K = !0,
852
- motion: q,
853
- getPopupContainer: F,
854
- placement: U = "top",
855
- mouseEnterDelay: G = 0.1,
856
- mouseLeaveDelay: J = 0.1,
857
- overlayStyle: Q,
858
- rootClassName: ee,
859
- overlayClassName: k,
860
- styles: j,
861
- classNames: w
862
- } = t, P = zt(t, ["prefixCls", "openClassName", "getTooltipContainer", "color", "overlayInnerStyle", "children", "afterOpenChange", "afterVisibleChange", "destroyTooltipOnHide", "arrow", "title", "overlay", "builtinPlacements", "arrowPointAtCenter", "autoAdjustOverflow", "motion", "getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "rootClassName", "overlayClassName", "styles", "classNames"]), B = !!b, [, z] = Je(), {
863
- getPopupContainer: M,
864
- getPrefixCls: H,
865
- direction: ie,
866
- tooltip: d
867
- } = f.useContext(pe), X = Qe("Tooltip"), te = f.useRef(null), le = () => {
868
- var p;
869
- (p = te.current) === null || p === void 0 || p.forceAlign();
870
- };
871
- f.useImperativeHandle(o, () => {
872
- var p;
873
- return {
874
- forceAlign: le,
875
- forcePopupAlign: () => {
876
- X.deprecated(!1, "forcePopupAlign", "forceAlign"), le();
877
- },
878
- nativeElement: (p = te.current) === null || p === void 0 ? void 0 : p.nativeElement
879
- };
880
- }), process.env.NODE_ENV !== "production" && ([["visible", "open"], ["defaultVisible", "defaultOpen"], ["onVisibleChange", "onOpenChange"], ["afterVisibleChange", "afterOpenChange"], ["arrowPointAtCenter", "arrow={{ pointAtCenter: true }}"], ["overlayStyle", "styles={{ root: {} }}"], ["overlayInnerStyle", "styles={{ body: {} }}"], ["overlayClassName", "classNames={{ root: {} }}"]].forEach((p) => {
881
- let [$, S] = p;
882
- X.deprecated(!($ in t), $, S);
883
- }), process.env.NODE_ENV !== "production" && X(!x || typeof x == "boolean", "usage", "`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."), process.env.NODE_ENV !== "production" && X(!b || typeof b == "boolean" || !("arrowPointAtCenter" in b), "deprecated", "`arrowPointAtCenter` in `arrow` is deprecated. Please use `pointAtCenter` instead."));
884
- const [Oe, Ce] = Ze(!1, {
885
- value: (r = t.open) !== null && r !== void 0 ? r : t.visible,
886
- defaultValue: (e = t.defaultOpen) !== null && e !== void 0 ? e : t.defaultVisible
887
- }), oe = !g && !N && g !== 0, $e = (p) => {
888
- var $, S;
889
- Ce(oe ? !1 : p), oe || (($ = t.onOpenChange) === null || $ === void 0 || $.call(t, p), (S = t.onVisibleChange) === null || S === void 0 || S.call(t, p));
890
- }, _e = f.useMemo(() => {
891
- var p, $;
892
- let S = A;
893
- return typeof b == "object" && (S = ($ = (p = b.pointAtCenter) !== null && p !== void 0 ? p : b.arrowPointAtCenter) !== null && $ !== void 0 ? $ : A), I || xt({
894
- arrowPointAtCenter: S,
895
- autoAdjustOverflow: K,
896
- arrowWidth: B ? z.sizePopupArrow : 0,
897
- borderRadius: z.borderRadius,
898
- offset: z.marginXXS,
899
- visibleFirst: !0
900
- });
901
- }, [A, b, I, z]), ne = f.useMemo(() => g === 0 ? g : N || g || "", [N, g]), xe = /* @__PURE__ */ f.createElement(Ke, {
902
- space: !0
903
- }, typeof ne == "function" ? ne() : ne), R = H("tooltip", l), Pe = H(), Ne = t["data-popover-inject"];
904
- let re = Oe;
905
- !("open" in t) && !("visible" in t) && oe && (re = !1);
906
- const ae = /* @__PURE__ */ f.isValidElement(y) && !et(y) ? y : /* @__PURE__ */ f.createElement("span", null, y), W = ae.props, je = !W.className || typeof W.className == "string" ? T(W.className, m || `${R}-open`) : W.className, [Se, Te, ze] = ye(R, !Ne), se = we(R, c), Ie = se.arrowStyle, Ae = T(k, {
907
- [`${R}-rtl`]: ie === "rtl"
908
- }, se.className, ee, Te, ze, d == null ? void 0 : d.className, (n = d == null ? void 0 : d.classNames) === null || n === void 0 ? void 0 : n.root, w == null ? void 0 : w.root), Re = T((s = d == null ? void 0 : d.classNames) === null || s === void 0 ? void 0 : s.body, w == null ? void 0 : w.body), [Ee, Ve] = qe("Tooltip", P.zIndex), Le = /* @__PURE__ */ f.createElement(yt, Object.assign({}, P, {
909
- zIndex: Ee,
910
- showArrow: B,
911
- placement: U,
912
- mouseEnterDelay: G,
913
- mouseLeaveDelay: J,
914
- prefixCls: R,
915
- classNames: {
916
- root: Ae,
917
- body: Re
918
- },
919
- styles: {
920
- root: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Ie), (a = d == null ? void 0 : d.styles) === null || a === void 0 ? void 0 : a.root), d == null ? void 0 : d.style), Q), j == null ? void 0 : j.root),
921
- body: Object.assign(Object.assign(Object.assign(Object.assign({}, (i = d == null ? void 0 : d.styles) === null || i === void 0 ? void 0 : i.body), u), j == null ? void 0 : j.body), se.overlayStyle)
922
- },
923
- getTooltipContainer: F || h || M,
924
- ref: te,
925
- builtinPlacements: _e,
926
- overlay: xe,
927
- visible: re,
928
- onVisibleChange: $e,
929
- afterVisibleChange: C ?? _,
930
- arrowContent: /* @__PURE__ */ f.createElement("span", {
931
- className: `${R}-arrow-content`
932
- }),
933
- motion: {
934
- motionName: Ye(Pe, "zoom-big-fast", t.transitionName),
935
- motionDeadline: 1e3
936
- },
937
- destroyTooltipOnHide: !!x
938
- }), re ? tt(ae, {
939
- className: je
940
- }) : ae);
941
- return Se(/* @__PURE__ */ f.createElement(Fe.Provider, {
942
- value: Ve
943
- }, Le));
944
- }), ve = It;
945
- process.env.NODE_ENV !== "production" && (ve.displayName = "Tooltip");
946
- ve._InternalPanelDoNotUseOrYouWillBeFired = Tt;
947
- export {
948
- ge as P,
949
- ve as T,
950
- wt as a,
951
- he as b,
952
- xt as c,
953
- Ot as g,
954
- pt as i,
955
- nt as z
956
- };