@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,17 +1,17 @@
1
1
  import * as l from "react";
2
2
  import X, { forwardRef as ne, useRef as G, useImperativeHandle as re } from "react";
3
- import { g as te, a as ae, e as V, b as W, d as oe, _ as q } from "./presets-Djh_L_6R.js";
4
- import { u as le } from "./useMergedState-BoELfaU9.js";
5
- import { B as F, g as ie, m as se, r as M, q as ce, j as H, C as K, D as de, p as ue, e as fe, h as A } from "./index-ByspLxrB.js";
6
- import { T as pe, W as be } from "./index-Dyl-ddV6.js";
7
- import { u as U } from "./useCSSVarCls-C-MlZC6a.js";
8
- import { F as me } from "./context-Cx7GtZpz.js";
3
+ import { g as te, a as ae, e as V, b as F, d as oe, _ as W } from "./presets-Djh_L_6R.js";
4
+ import { u as le } from "./useMergedState-D6toxSxh.js";
5
+ import { F as H, j as ie, m as se, k as M, w as ce, f as q, C as K, D as de, t as ue, g as fe, o as A } from "./index-BbTV2Cw5.js";
6
+ import { T as pe, W as be } from "./index-BpZSuIUV.js";
7
+ import { u as U } from "./useCSSVarCls-Dau77fzS.js";
8
+ import { F as me } from "./context-DIFtNa4d.js";
9
9
  import "./index-DLdU7Tpd.js";
10
- import { o as he } from "./omit-B_u6A-HL.js";
11
- var Ce = ["prefixCls", "className", "style", "checked", "disabled", "defaultChecked", "type", "title", "onChange"], ge = /* @__PURE__ */ ne(function(e, n) {
12
- var r = e.prefixCls, t = r === void 0 ? "rc-checkbox" : r, c = e.className, C = e.style, $ = e.checked, b = e.disabled, _ = e.defaultChecked, S = _ === void 0 ? !1 : _, d = e.type, O = d === void 0 ? "checkbox" : d, R = e.title, i = e.onChange, k = te(e, Ce), g = G(null), u = G(null), a = le(S, {
10
+ import { o as Ce } from "./omit-B_u6A-HL.js";
11
+ var he = ["prefixCls", "className", "style", "checked", "disabled", "defaultChecked", "type", "title", "onChange"], ge = /* @__PURE__ */ ne(function(e, n) {
12
+ var r = e.prefixCls, t = r === void 0 ? "rc-checkbox" : r, c = e.className, h = e.style, $ = e.checked, b = e.disabled, _ = e.defaultChecked, S = _ === void 0 ? !1 : _, d = e.type, O = d === void 0 ? "checkbox" : d, R = e.title, i = e.onChange, k = te(e, he), g = G(null), u = G(null), a = le(S, {
13
13
  value: $
14
- }), N = ae(a, 2), P = N[0], E = N[1];
14
+ }), N = ae(a, 2), P = N[0], w = N[1];
15
15
  re(n, function() {
16
16
  return {
17
17
  focus: function(s) {
@@ -26,9 +26,9 @@ var Ce = ["prefixCls", "className", "style", "checked", "disabled", "defaultChec
26
26
  nativeElement: u.current
27
27
  };
28
28
  });
29
- var f = V(t, c, W(W({}, "".concat(t, "-checked"), P), "".concat(t, "-disabled"), b)), m = function(s) {
30
- b || ("checked" in e || E(s.target.checked), i == null || i({
31
- target: q(q({}, e), {}, {
29
+ var f = V(t, c, F(F({}, "".concat(t, "-checked"), P), "".concat(t, "-disabled"), b)), m = function(s) {
30
+ b || ("checked" in e || w(s.target.checked), i == null || i({
31
+ target: W(W({}, e), {}, {
32
32
  type: O,
33
33
  checked: s.target.checked
34
34
  }),
@@ -44,7 +44,7 @@ var Ce = ["prefixCls", "className", "style", "checked", "disabled", "defaultChec
44
44
  return /* @__PURE__ */ l.createElement("span", {
45
45
  className: f,
46
46
  title: R,
47
- style: C,
47
+ style: h,
48
48
  ref: u
49
49
  }, /* @__PURE__ */ l.createElement("input", oe({}, k, {
50
50
  className: "".concat(t, "-input"),
@@ -59,14 +59,14 @@ var Ce = ["prefixCls", "className", "style", "checked", "disabled", "defaultChec
59
59
  });
60
60
  function ve(e) {
61
61
  const n = X.useRef(null), r = () => {
62
- F.cancel(n.current), n.current = null;
62
+ H.cancel(n.current), n.current = null;
63
63
  };
64
64
  return [() => {
65
- r(), n.current = F(() => {
65
+ r(), n.current = H(() => {
66
66
  n.current = null;
67
67
  });
68
- }, (C) => {
69
- n.current && (C.stopPropagation(), r()), e == null || e(C);
68
+ }, (h) => {
69
+ n.current && (h.stopPropagation(), r()), e == null || e(h);
70
70
  }];
71
71
  }
72
72
  const xe = (e) => {
@@ -142,7 +142,7 @@ const xe = (e) => {
142
142
  height: e.checkboxSize,
143
143
  direction: "ltr",
144
144
  backgroundColor: e.colorBgContainer,
145
- border: `${H(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,
145
+ border: `${q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,
146
146
  borderRadius: e.borderRadiusSM,
147
147
  borderCollapse: "separate",
148
148
  transition: `all ${e.motionDurationSlow}`,
@@ -154,7 +154,7 @@ const xe = (e) => {
154
154
  display: "table",
155
155
  width: e.calc(e.checkboxSize).div(14).mul(5).equal(),
156
156
  height: e.calc(e.checkboxSize).div(14).mul(8).equal(),
157
- border: `${H(e.lineWidthBold)} solid ${e.colorWhite}`,
157
+ border: `${q(e.lineWidthBold)} solid ${e.colorWhite}`,
158
158
  borderTop: 0,
159
159
  borderInlineStart: 0,
160
160
  transform: "rotate(45deg) scale(0) translate(-50%,-50%)",
@@ -304,7 +304,7 @@ const Se = (e, n) => {
304
304
  const {
305
305
  prefixCls: t,
306
306
  className: c,
307
- rootClassName: C,
307
+ rootClassName: h,
308
308
  children: $,
309
309
  indeterminate: b = !1,
310
310
  style: _,
@@ -318,10 +318,10 @@ const Se = (e, n) => {
318
318
  checkbox: u
319
319
  } = l.useContext(K), a = l.useContext(Q), {
320
320
  isFormItemInput: N
321
- } = l.useContext(me), P = l.useContext(de), E = (r = (a == null ? void 0 : a.disabled) || R) !== null && r !== void 0 ? r : P, f = l.useRef(i.value), m = l.useRef(null), w = ue(n, m);
321
+ } = l.useContext(me), P = l.useContext(de), w = (r = (a == null ? void 0 : a.disabled) || R) !== null && r !== void 0 ? r : P, f = l.useRef(i.value), m = l.useRef(null), E = ue(n, m);
322
322
  if (process.env.NODE_ENV !== "production") {
323
- const h = fe("Checkbox");
324
- process.env.NODE_ENV !== "production" && h("checked" in i || !!a || !("value" in i), "usage", "`value` is not a valid prop, do you mean `checked`?");
323
+ const C = fe("Checkbox");
324
+ process.env.NODE_ENV !== "production" && C("checked" in i || !!a || !("value" in i), "usage", "`value` is not a valid prop, do you mean `checked`?");
325
325
  }
326
326
  l.useEffect(() => {
327
327
  a == null || a.registerValue(i.value);
@@ -329,8 +329,8 @@ const Se = (e, n) => {
329
329
  if (!O)
330
330
  return i.value !== f.current && (a == null || a.cancelValue(f.current), a == null || a.registerValue(i.value), f.current = i.value), () => a == null ? void 0 : a.cancelValue(i.value);
331
331
  }, [i.value]), l.useEffect(() => {
332
- var h;
333
- !((h = m.current) === null || h === void 0) && h.input && (m.current.input.indeterminate = b);
332
+ var C;
333
+ !((C = m.current) === null || C === void 0) && C.input && (m.current.input.indeterminate = b);
334
334
  }, [b]);
335
335
  const s = k("checkbox", t), p = U(s), [j, I, D] = J(s, p), v = Object.assign({}, i);
336
336
  a && !O && (v.onChange = function() {
@@ -339,19 +339,19 @@ const Se = (e, n) => {
339
339
  value: i.value
340
340
  });
341
341
  }, v.name = a.name, v.checked = a.value.includes(i.value));
342
- const B = V(`${s}-wrapper`, {
342
+ const z = V(`${s}-wrapper`, {
343
343
  [`${s}-rtl`]: g === "rtl",
344
344
  [`${s}-wrapper-checked`]: v.checked,
345
- [`${s}-wrapper-disabled`]: E,
345
+ [`${s}-wrapper-disabled`]: w,
346
346
  [`${s}-wrapper-in-form-item`]: N
347
- }, u == null ? void 0 : u.className, c, C, D, p, I), o = V({
347
+ }, u == null ? void 0 : u.className, c, h, D, p, I), o = V({
348
348
  [`${s}-indeterminate`]: b
349
349
  }, pe, I), [x, y] = ve(v.onClick);
350
350
  return j(/* @__PURE__ */ l.createElement(be, {
351
351
  component: "Checkbox",
352
- disabled: E
352
+ disabled: w
353
353
  }, /* @__PURE__ */ l.createElement("label", {
354
- className: B,
354
+ className: z,
355
355
  style: Object.assign(Object.assign({}, u == null ? void 0 : u.style), _),
356
356
  onMouseEnter: S,
357
357
  onMouseLeave: d,
@@ -360,8 +360,8 @@ const Se = (e, n) => {
360
360
  onClick: y,
361
361
  prefixCls: s,
362
362
  className: o,
363
- disabled: E,
364
- ref: w
363
+ disabled: w,
364
+ ref: E
365
365
  })), $ !== void 0 && /* @__PURE__ */ l.createElement("span", null, $))));
366
366
  }, L = /* @__PURE__ */ l.forwardRef(Se);
367
367
  process.env.NODE_ENV !== "production" && (L.displayName = "Checkbox");
@@ -372,12 +372,12 @@ var Oe = function(e, n) {
372
372
  n.indexOf(t[c]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[c]) && (r[t[c]] = e[t[c]]);
373
373
  return r;
374
374
  };
375
- const Ee = /* @__PURE__ */ l.forwardRef((e, n) => {
375
+ const we = /* @__PURE__ */ l.forwardRef((e, n) => {
376
376
  const {
377
377
  defaultValue: r,
378
378
  children: t,
379
379
  options: c = [],
380
- prefixCls: C,
380
+ prefixCls: h,
381
381
  className: $,
382
382
  rootClassName: b,
383
383
  style: _,
@@ -396,13 +396,13 @@ const Ee = /* @__PURE__ */ l.forwardRef((e, n) => {
396
396
  u((x) => x.filter((y) => y !== o));
397
397
  }, P = (o) => {
398
398
  u((x) => [].concat(A(x), [o]));
399
- }, E = (o) => {
399
+ }, w = (o) => {
400
400
  const x = i.indexOf(o.value), y = A(i);
401
- x === -1 ? y.push(o.value) : y.splice(x, 1), "value" in d || k(y), S == null || S(y.filter((h) => g.includes(h)).sort((h, Y) => {
402
- const Z = a.findIndex((z) => z.value === h), ee = a.findIndex((z) => z.value === Y);
401
+ x === -1 ? y.push(o.value) : y.splice(x, 1), "value" in d || k(y), S == null || S(y.filter((C) => g.includes(C)).sort((C, Y) => {
402
+ const Z = a.findIndex((B) => B.value === C), ee = a.findIndex((B) => B.value === Y);
403
403
  return Z - ee;
404
404
  }));
405
- }, f = O("checkbox", C), m = `${f}-group`, w = U(f), [s, p, j] = J(f, w), I = he(d, ["value", "disabled"]), D = c.length ? a.map((o) => /* @__PURE__ */ l.createElement(L, {
405
+ }, f = O("checkbox", h), m = `${f}-group`, E = U(f), [s, p, j] = J(f, E), I = Ce(d, ["value", "disabled"]), D = c.length ? a.map((o) => /* @__PURE__ */ l.createElement(L, {
406
406
  prefixCls: f,
407
407
  key: o.value.toString(),
408
408
  disabled: "disabled" in o ? o.disabled : d.disabled,
@@ -415,18 +415,18 @@ const Ee = /* @__PURE__ */ l.forwardRef((e, n) => {
415
415
  id: o.id,
416
416
  required: o.required
417
417
  }, o.label)) : t, v = {
418
- toggleOption: E,
418
+ toggleOption: w,
419
419
  value: i,
420
420
  disabled: d.disabled,
421
421
  name: d.name,
422
422
  // https://github.com/ant-design/ant-design/issues/16376
423
423
  registerValue: P,
424
424
  cancelValue: N
425
- }, B = V(m, {
425
+ }, z = V(m, {
426
426
  [`${m}-rtl`]: R === "rtl"
427
- }, $, b, j, w, p);
427
+ }, $, b, j, E, p);
428
428
  return s(/* @__PURE__ */ l.createElement("div", Object.assign({
429
- className: B,
429
+ className: z,
430
430
  style: _
431
431
  }, I, {
432
432
  ref: n
@@ -434,7 +434,7 @@ const Ee = /* @__PURE__ */ l.forwardRef((e, n) => {
434
434
  value: v
435
435
  }, D)));
436
436
  }), T = L;
437
- T.Group = Ee;
437
+ T.Group = we;
438
438
  T.__ANT_CHECKBOX = !0;
439
439
  process.env.NODE_ENV !== "production" && (T.displayName = "Checkbox");
440
440
  export {
@@ -1,7 +1,7 @@
1
1
  import { _ as H, f as U, j as P, d as Z } from "./presets-Djh_L_6R.js";
2
2
  import * as a from "react";
3
- import { t as ee } from "./toArray-DGvPoJP_.js";
4
- import { v as te, w as ne, d as re, _ as ie, x as oe, y as se, z as ae, A as E } from "./index-ByspLxrB.js";
3
+ import { t as ee } from "./toArray-U3Az44CO.js";
4
+ import { x as te, y as ne, e as re, _ as ie, z as oe, A as se, B as ae, E } from "./index-BbTV2Cw5.js";
5
5
  var O = /* @__PURE__ */ a.createContext(null);
6
6
  function ue(e) {
7
7
  var t = e.children, n = e.onBatchResize, r = a.useRef(0), i = a.useRef([]), o = a.useContext(O), s = a.useCallback(function(f, u, c) {
@@ -279,7 +279,7 @@ var Ee = (
279
279
  return this.activeObservations_.length > 0;
280
280
  }, e;
281
281
  }()
282
- ), j = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new I(), B = (
282
+ ), B = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new I(), j = (
283
283
  /** @class */
284
284
  /* @__PURE__ */ function() {
285
285
  function e(t) {
@@ -288,7 +288,7 @@ var Ee = (
288
288
  if (!arguments.length)
289
289
  throw new TypeError("1 argument required, but only 0 present.");
290
290
  var n = pe.getInstance(), r = new ze(t, n, this);
291
- j.set(this, r);
291
+ B.set(this, r);
292
292
  }
293
293
  return e;
294
294
  }()
@@ -298,13 +298,13 @@ var Ee = (
298
298
  "unobserve",
299
299
  "disconnect"
300
300
  ].forEach(function(e) {
301
- B.prototype[e] = function() {
301
+ j.prototype[e] = function() {
302
302
  var t;
303
- return (t = j.get(this))[e].apply(t, arguments);
303
+ return (t = B.get(this))[e].apply(t, arguments);
304
304
  };
305
305
  });
306
306
  var Ce = function() {
307
- return typeof _.ResizeObserver < "u" ? _.ResizeObserver : B;
307
+ return typeof _.ResizeObserver < "u" ? _.ResizeObserver : j;
308
308
  }(), d = /* @__PURE__ */ new Map();
309
309
  function F(e) {
310
310
  e.forEach(function(t) {
@@ -1,19 +1,20 @@
1
1
  import * as c from "react";
2
2
  import ra, { createContext as ia, useState as j, useRef as U, useEffect as ce, useMemo as Tt } from "react";
3
3
  import { R as oa } from "./CloseOutlined-ogxnm7Oy.js";
4
- import { E as la, M as ca, D as da, R as sa } from "./EllipsisOutlined-CJ2pgE2d.js";
4
+ import { E as la, M as ca, D as da, R as sa } from "./EllipsisOutlined-DGMph0Bj.js";
5
5
  import { d as fe, a as I, _ as ne, f as qe, b as Y, e as J, g as De, w as ua } from "./presets-Djh_L_6R.js";
6
6
  import { I as fa } from "./AntdIcon-nCNB0J1E.js";
7
- import { u as mt } from "./useMergedState-BoELfaU9.js";
8
- import { a as va, g as ba } from "./index-DWUXwgXK.js";
9
- import { B as pt, b as ma, a as pa, h as gt, z as ga, o as ha, e as Pt, g as $a, m as ya, j as $, q as Rt, r as It, t as Sa, k as Ue, C as _a } from "./index-ByspLxrB.js";
10
- import { R as Xe } from "./index-CRotrkWm.js";
7
+ import { u as mt } from "./useMergedState-D6toxSxh.js";
8
+ import { a as va } from "./index-D0U6r5O7.js";
9
+ import { F as pt, b as ba, a as ma, o as gt, B as pa, s as ga, g as Pt, j as ha, m as $a, f as $, w as Rt, k as It, v as ya, p as Ue, C as Sa } from "./index-BbTV2Cw5.js";
10
+ import { R as Xe } from "./index-BQM5OniU.js";
11
11
  import { K as pe } from "./KeyCode-DM2sFh3-.js";
12
- import { u as xa } from "./useCSSVarCls-C-MlZC6a.js";
13
- import { u as Ca } from "./useSize-CPo2bUE3.js";
14
- import { t as wa } from "./toArray-DGvPoJP_.js";
12
+ import { u as _a } from "./useCSSVarCls-Dau77fzS.js";
13
+ import { u as xa } from "./useSize-DSq4r6zy.js";
14
+ import { g as Ca } from "./motion-CUN72xsH.js";
15
+ import { t as wa } from "./toArray-U3Az44CO.js";
15
16
  import "./index-DLdU7Tpd.js";
16
- import { i as ht } from "./Overflow-DdNKJLQh.js";
17
+ import { i as ht } from "./Overflow-DWf4XIal.js";
17
18
  var Ea = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { tag: "path", attrs: { d: "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" } }] }, name: "plus", theme: "outlined" }, Ta = function(t, a) {
18
19
  return /* @__PURE__ */ c.createElement(fa, fe({}, t, {
19
20
  ref: a,
@@ -153,7 +154,7 @@ function Na(e, t) {
153
154
  }
154
155
  function Mt(e) {
155
156
  var t = j(0), a = I(t, 2), n = a[0], r = a[1], o = U(0), l = U();
156
- return l.current = e, ma(function() {
157
+ return l.current = e, ba(function() {
157
158
  var i;
158
159
  (i = l.current) === null || i === void 0 || i.call(l);
159
160
  }, [n]), function() {
@@ -490,7 +491,7 @@ var Ba = function(t) {
490
491
  ne(ne({}, e), {}, {
491
492
  tabs: P
492
493
  })
493
- ), nt = I(Gt, 2), Vt = nt[0], Kt = nt[1], rt = pa(function() {
494
+ ), nt = I(Gt, 2), Vt = nt[0], Kt = nt[1], rt = ma(function() {
494
495
  var T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : l, u = Re.get(T) || {
495
496
  width: 0,
496
497
  height: 0,
@@ -637,7 +638,7 @@ var Ba = function(t) {
637
638
  return v ? i ? (Ve = S > 0, Ge = S !== ge) : (Ge = S < 0, Ve = S !== me) : (vt = F < 0, bt = F !== me), /* @__PURE__ */ c.createElement(Xe, {
638
639
  onResize: Me
639
640
  }, /* @__PURE__ */ c.createElement("div", {
640
- ref: ga(t, B),
641
+ ref: pa(t, B),
641
642
  role: "tablist",
642
643
  "aria-orientation": v ? "horizontal" : "vertical",
643
644
  className: J("".concat(p, "-nav"), a),
@@ -729,7 +730,7 @@ var Ha = ["key", "forceRender", "style", "className", "destroyInactiveTabPane"],
729
730
  className: J("".concat(s, "-content"), "".concat(s, "-content-").concat(o), Y({}, "".concat(s, "-content-animated"), m))
730
731
  }, d.map(function(_) {
731
732
  var R = _.key, O = _.forceRender, C = _.style, z = _.className, h = _.destroyInactiveTabPane, p = De(_, Ha), P = R === n;
732
- return /* @__PURE__ */ c.createElement(ha, fe({
733
+ return /* @__PURE__ */ c.createElement(ga, fe({
733
734
  key: R,
734
735
  visible: P,
735
736
  forceRender: O,
@@ -866,7 +867,7 @@ function Xa(e) {
866
867
  } : a = Object.assign({
867
868
  inkBar: !0
868
869
  }, typeof t == "object" ? t : {}), a.tabPane && (a.tabPaneMotion = Object.assign(Object.assign({}, Ka), {
869
- motionName: ba(e, "switch")
870
+ motionName: Ca(e, "switch")
870
871
  })), a;
871
872
  }
872
873
  var Ua = function(e, t) {
@@ -1076,7 +1077,7 @@ const Ya = (e) => {
1076
1077
  borderRadius: e.borderRadiusLG,
1077
1078
  outline: "none",
1078
1079
  boxShadow: e.boxShadowSecondary,
1079
- "&-item": Object.assign(Object.assign({}, Sa), {
1080
+ "&-item": Object.assign(Object.assign({}, ya), {
1080
1081
  display: "flex",
1081
1082
  alignItems: "center",
1082
1083
  minWidth: e.tabsDropdownWidth,
@@ -1742,8 +1743,8 @@ const Ya = (e) => {
1742
1743
  itemActiveColor: e.colorPrimaryActive,
1743
1744
  cardGutter: e.marginXXS / 2
1744
1745
  };
1745
- }, on = $a("Tabs", (e) => {
1746
- const t = ya(e, {
1746
+ }, on = ha("Tabs", (e) => {
1747
+ const t = $a(e, {
1747
1748
  // `cardPadding` is empty by default, so we could calculate with dynamic `cardHeight`
1748
1749
  tabsCardPadding: e.cardPadding,
1749
1750
  dropdownEdgeChildVerticalPadding: e.paddingXXS,
@@ -1791,7 +1792,7 @@ const kt = (e) => {
1791
1792
  tabs: f,
1792
1793
  getPrefixCls: F,
1793
1794
  getPopupContainer: de
1794
- } = c.useContext(_a), G = F("tabs", K), Q = xa(G), [ve, w, k] = on(G, Q);
1795
+ } = c.useContext(Sa), G = F("tabs", K), Q = _a(G), [ve, w, k] = on(G, Q);
1795
1796
  let V;
1796
1797
  _ === "editable-card" && (V = {
1797
1798
  onEdit: (oe, $e) => {
@@ -1810,7 +1811,7 @@ const kt = (e) => {
1810
1811
  const oe = Pt("Tabs");
1811
1812
  process.env.NODE_ENV !== "production" && oe(!("onPrevClick" in e) && !("onNextClick" in e), "breaking", "`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."), process.env.NODE_ENV !== "production" && oe(!(y || f != null && f.indicatorSize), "deprecated", "`indicatorSize` has been deprecated. Please use `indicator={{ size: ... }}` instead.");
1812
1813
  }
1813
- const Z = Ca(C), re = qa(x, L), ee = Xa(G, E), he = Object.assign(Object.assign({}, f == null ? void 0 : f.style), v), be = {
1814
+ const Z = xa(C), re = qa(x, L), ee = Xa(G, E), he = Object.assign(Object.assign({}, f == null ? void 0 : f.style), v), be = {
1814
1815
  align: (a = g == null ? void 0 : g.align) !== null && a !== void 0 ? a : (n = f == null ? void 0 : f.indicator) === null || n === void 0 ? void 0 : n.align,
1815
1816
  size: (i = (o = (r = g == null ? void 0 : g.size) !== null && r !== void 0 ? r : y) !== null && o !== void 0 ? o : (l = f == null ? void 0 : f.indicator) === null || l === void 0 ? void 0 : l.size) !== null && i !== void 0 ? i : f == null ? void 0 : f.indicatorSize
1816
1817
  };
@@ -22570,19 +22570,19 @@ Object.defineProperty(Zf, "SizeContext", {
22570
22570
  process.env.NODE_ENV !== "production" && (Zf.displayName = "ConfigProvider");
22571
22571
  export {
22572
22572
  qM as $,
22573
- YM as A,
22574
- Fy as B,
22573
+ QM as A,
22574
+ Fz as B,
22575
22575
  xv as C,
22576
22576
  ZC as D,
22577
- Ab as E,
22578
- qf as F,
22579
- Xz as G,
22580
- qC as H,
22581
- Ub as I,
22582
- tb as J,
22583
- hN as K,
22577
+ YM as E,
22578
+ Fy as F,
22579
+ Ab as G,
22580
+ qf as H,
22581
+ Xz as I,
22582
+ Ub as J,
22583
+ tb as K,
22584
22584
  fR as L,
22585
- YN as M,
22585
+ hN as M,
22586
22586
  Kz as N,
22587
22587
  Pz as O,
22588
22588
  Qz as P,
@@ -22607,31 +22607,32 @@ export {
22607
22607
  Vs as a6,
22608
22608
  aN as a7,
22609
22609
  tN as a8,
22610
- FC as a9,
22611
- oN as aa,
22610
+ vb as a9,
22611
+ FC as aa,
22612
+ oN as ab,
22612
22613
  Vz as b,
22613
22614
  pE as c,
22614
- xo as d,
22615
- Gy as e,
22616
- Yb as f,
22617
- Gz as g,
22618
- Eo as h,
22615
+ qC as d,
22616
+ xo as e,
22617
+ IC as f,
22618
+ Gy as g,
22619
+ Yb as h,
22619
22620
  FM as i,
22620
- IC as j,
22621
- XN as k,
22621
+ Gz as j,
22622
+ Yz as k,
22622
22623
  Xy as l,
22623
22624
  CR as m,
22624
- Zf as n,
22625
- mz as o,
22626
- WM as p,
22627
- GN as q,
22628
- Yz as r,
22629
- Wz as s,
22630
- Iz as t,
22625
+ Wz as n,
22626
+ Eo as o,
22627
+ XN as p,
22628
+ Zf as q,
22629
+ YN as r,
22630
+ mz as s,
22631
+ WM as t,
22631
22632
  eE as u,
22632
- $y as v,
22633
- Iy as w,
22634
- Hb as x,
22635
- QM as y,
22636
- Fz as z
22633
+ Iz as v,
22634
+ GN as w,
22635
+ $y as x,
22636
+ Iy as y,
22637
+ Hb as z
22637
22638
  };