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