@gobolt/genesis 0.0.7 → 0.0.8

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 (258) hide show
  1. package/README.md +8 -2
  2. package/dist/AntdIcon-c395a1c4.js +204 -0
  3. package/dist/CheckOutlined-52d9ac25.js +29 -0
  4. package/dist/{CloseCircleFilled-ZIY-u-27.js → CloseCircleFilled-ddc51e7e.js} +11 -8
  5. package/dist/CloseOutlined-14b8bba1.js +16 -0
  6. package/dist/Compact-c39ed20d.js +179 -0
  7. package/dist/ContextIsolator-b09b2c52.js +20 -0
  8. package/dist/DownOutlined-64a4732a.js +206 -0
  9. package/dist/EllipsisOutlined-60122660.js +1115 -0
  10. package/dist/{ExclamationCircleFilled-BICVVQIg.js → ExclamationCircleFilled-23ef9812.js} +22 -16
  11. package/dist/InfoCircleFilled-c5f90c20.js +16 -0
  12. package/dist/Overflow-a570fa69.js +361 -0
  13. package/dist/RightOutlined-83515eb4.js +16 -0
  14. package/dist/SearchOutlined-a9014e08.js +16 -0
  15. package/dist/{TextArea-3MOYYuAQ.js → TextArea-20825221.js} +597 -582
  16. package/dist/{button-BNV2qdrP.js → button-fa1c119c.js} +287 -280
  17. package/dist/collapse-345bc884.js +20 -0
  18. package/dist/compact-item-b8f85aa6.js +75 -0
  19. package/dist/components/Badge/Badge.d.ts +6 -0
  20. package/dist/components/Badge/Badge.js +102 -0
  21. package/dist/components/Badge/__stories__/Badge.stories.d.ts +13 -0
  22. package/dist/components/Badge/__tests__/Badge.test.js +72 -0
  23. package/dist/components/Badge/icons/ASN.d.ts +2 -0
  24. package/dist/components/Badge/icons/ASN.js +23 -0
  25. package/dist/components/Badge/icons/Appointment.d.ts +2 -0
  26. package/dist/components/Badge/icons/Appointment.js +23 -0
  27. package/dist/components/Badge/icons/Inventory.d.ts +2 -0
  28. package/dist/components/Badge/icons/Inventory.js +23 -0
  29. package/dist/components/Badge/icons/Parcel.d.ts +2 -0
  30. package/dist/components/Badge/icons/Parcel.js +23 -0
  31. package/dist/components/Badge/icons/Product.d.ts +2 -0
  32. package/dist/components/Badge/icons/Product.js +23 -0
  33. package/dist/components/Badge/icons/Route.d.ts +2 -0
  34. package/dist/components/Badge/icons/Route.js +23 -0
  35. package/dist/components/Badge/icons/Shipment.d.ts +2 -0
  36. package/dist/components/Badge/icons/Shipment.js +23 -0
  37. package/dist/components/Badge/icons/ShoppingCart.d.ts +2 -0
  38. package/dist/components/Badge/icons/ShoppingCart.js +23 -0
  39. package/dist/components/Badge/icons/System.d.ts +2 -0
  40. package/dist/components/Badge/icons/System.js +23 -0
  41. package/dist/components/Badge/index.d.ts +2 -0
  42. package/dist/components/Badge/index.js +23 -0
  43. package/dist/components/Badge/styles.d.ts +3 -0
  44. package/dist/components/Badge/styles.js +35 -0
  45. package/dist/components/Breadcrumb/Breadcrumb.d.ts +8 -0
  46. package/dist/components/Breadcrumb/Breadcrumb.js +27 -0
  47. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +8 -0
  48. package/dist/components/Breadcrumb/Breadcrumb.types.js +1 -0
  49. package/dist/components/Breadcrumb/__stories__/Breadcrumb.stories.d.ts +10 -0
  50. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +70 -0
  51. package/dist/components/Breadcrumb/index.d.ts +3 -0
  52. package/dist/components/Breadcrumb/index.js +27 -0
  53. package/dist/components/Breadcrumb/styles.d.ts +23 -0
  54. package/dist/components/Breadcrumb/styles.js +2457 -0
  55. package/dist/components/Button/Button.js +42 -0
  56. package/dist/components/Button/__tests__/Button.test.js +61 -0
  57. package/dist/components/Button/index.js +22 -0
  58. package/dist/components/{atoms/button → Button}/styles.js +30 -19
  59. package/dist/components/{atoms/checkbox → Checkbox}/Checkbox.d.ts +2 -1
  60. package/dist/components/Checkbox/Checkbox.js +70 -0
  61. package/dist/components/Checkbox/__tests__/Checkbox.test.js +64 -0
  62. package/dist/components/Checkbox/index.js +49 -0
  63. package/dist/components/{atoms/checkbox → Checkbox}/styles.d.ts +1 -3
  64. package/dist/components/{atoms/checkbox → Checkbox}/styles.js +165 -157
  65. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +72 -0
  66. package/dist/components/ErrorBoundaryFallback/index.js +51 -0
  67. package/dist/components/ErrorBoundaryFallback/styles.d.ts +3 -0
  68. package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/styles.js +38 -34
  69. package/dist/components/{molecules/form → Form}/Form.d.ts +2 -4
  70. package/dist/components/Form/Form.js +49 -0
  71. package/dist/components/Form/__stories__/FormStory.js +130 -0
  72. package/dist/components/Form/index.js +48 -0
  73. package/dist/components/{atoms/input → Input}/Input.d.ts +1 -3
  74. package/dist/components/Input/Input.js +42 -0
  75. package/dist/components/{atoms/input → Input}/__stories__/Input.stories.d.ts +5 -1
  76. package/dist/components/Input/__tests__/Input.test.d.ts +1 -0
  77. package/dist/components/Input/__tests__/Input.test.js +69 -0
  78. package/dist/components/Input/index.js +31 -0
  79. package/dist/components/{atoms/input → Input}/styles.d.ts +2 -3
  80. package/dist/components/Input/styles.js +542 -0
  81. package/dist/components/Message/Message.d.ts +13 -0
  82. package/dist/components/Message/Message.js +105 -0
  83. package/dist/components/Message/__stories__/Message.stories.d.ts +15 -0
  84. package/dist/components/Message/__tests__/Message.test.d.ts +1 -0
  85. package/dist/components/Message/__tests__/Message.test.js +88 -0
  86. package/dist/components/Message/index.d.ts +2 -0
  87. package/dist/components/Message/index.js +50 -0
  88. package/dist/components/Message/styles.d.ts +5 -0
  89. package/dist/components/Message/styles.js +35 -0
  90. package/dist/components/Notification/Notification.d.ts +16 -0
  91. package/dist/components/Notification/Notification.js +1436 -0
  92. package/dist/components/Notification/__stories__/Notification.stories.d.ts +10 -0
  93. package/dist/components/Notification/__tests__/Notification.test.d.ts +1 -0
  94. package/dist/components/Notification/__tests__/Notification.test.js +76 -0
  95. package/dist/components/Notification/index.d.ts +2 -0
  96. package/dist/components/Notification/index.js +61 -0
  97. package/dist/components/Notification/styles.d.ts +6 -0
  98. package/dist/components/Notification/styles.js +49 -0
  99. package/dist/components/Radio/Radio.d.ts +14 -0
  100. package/dist/components/Radio/Radio.js +114 -0
  101. package/dist/components/Radio/RadioGroup.d.ts +12 -0
  102. package/dist/components/Radio/RadioGroup.js +86 -0
  103. package/dist/components/Radio/__stories__/RadioGroup.stories.d.ts +9 -0
  104. package/dist/components/Radio/__tests__/RadioGroup.test.d.ts +1 -0
  105. package/dist/components/Radio/__tests__/RadioGroup.test.js +85 -0
  106. package/dist/components/Radio/index.d.ts +2 -0
  107. package/dist/components/Radio/index.js +58 -0
  108. package/dist/components/Radio/states/RadioChecked.d.ts +2 -0
  109. package/dist/components/Radio/states/RadioChecked.js +18 -0
  110. package/dist/components/Radio/states/RadioCheckedDisabled.d.ts +2 -0
  111. package/dist/components/Radio/states/RadioCheckedDisabled.js +18 -0
  112. package/dist/components/Radio/states/RadioCheckedFocussed.d.ts +2 -0
  113. package/dist/components/Radio/states/RadioCheckedFocussed.js +30 -0
  114. package/dist/components/Radio/states/RadioCheckedHover.d.ts +2 -0
  115. package/dist/components/Radio/states/RadioCheckedHover.js +18 -0
  116. package/dist/components/Radio/states/RadioUnchecked.d.ts +2 -0
  117. package/dist/components/Radio/states/RadioUnchecked.js +15 -0
  118. package/dist/components/Radio/states/RadioUncheckedDisabled.d.ts +2 -0
  119. package/dist/components/Radio/states/RadioUncheckedDisabled.js +15 -0
  120. package/dist/components/Radio/states/RadioUncheckedFocussed.d.ts +2 -0
  121. package/dist/components/Radio/states/RadioUncheckedFocussed.js +29 -0
  122. package/dist/components/Radio/states/RadioUncheckedHover.d.ts +2 -0
  123. package/dist/components/Radio/states/RadioUncheckedHover.js +18 -0
  124. package/dist/components/{atoms/select → Select}/Select.d.ts +1 -1
  125. package/dist/components/Select/Select.js +48 -0
  126. package/dist/components/{atoms/select → Select}/__stories__/Select.stories.d.ts +3 -1
  127. package/dist/components/Select/__tests__/Select.test.d.ts +1 -0
  128. package/dist/components/Select/__tests__/Select.test.js +101 -0
  129. package/dist/components/Select/index.js +30 -0
  130. package/dist/components/{atoms/select → Select}/styles.d.ts +4 -1
  131. package/dist/components/Select/styles.js +3723 -0
  132. package/dist/components/Toast/Toast.d.ts +14 -0
  133. package/dist/components/Toast/Toast.js +48 -0
  134. package/dist/components/Toast/__stories__/Toast.stories.d.ts +15 -0
  135. package/dist/components/Toast/__tests__/Toast.test.d.ts +1 -0
  136. package/dist/components/Toast/__tests__/Toast.test.js +63 -0
  137. package/dist/components/Toast/index.d.ts +2 -0
  138. package/dist/components/Toast/index.js +48 -0
  139. package/dist/components/Toast/styles.d.ts +5 -0
  140. package/dist/components/Toast/styles.js +39 -0
  141. package/dist/components/{atoms/typography → Typography}/Typography.d.ts +2 -1
  142. package/dist/components/Typography/Typography.js +48 -0
  143. package/dist/components/Typography/__tests__/Typography.test.d.ts +1 -0
  144. package/dist/components/Typography/__tests__/Typography.test.js +60 -0
  145. package/dist/components/Typography/index.js +48 -0
  146. package/dist/components/Typography/styles.d.ts +7 -0
  147. package/dist/components/Typography/styles.js +55 -0
  148. package/dist/components/index.d.ts +18 -14
  149. package/dist/components/index.js +70 -14
  150. package/dist/constants/index.d.ts +104 -0
  151. package/dist/constants/index.js +41 -7
  152. package/dist/{context-CZsFJmh6.js → context-3b8a39af.js} +547 -536
  153. package/dist/genesis/GenesisThemeBreakdown.js +69 -22
  154. package/dist/genesis/GenesisThemeDemo.d.ts +0 -2
  155. package/dist/genesis/GenesisThemeDemo.js +53 -4
  156. package/dist/genesis/styles.d.ts +2 -6
  157. package/dist/genesis/styles.js +1144 -2210
  158. package/dist/index-0a886e53.js +100 -0
  159. package/dist/{index-SAAXFt-P.js → index-0b9ee239.js} +347 -338
  160. package/dist/index-1a33c134.js +1389 -0
  161. package/dist/index-4003d75b.js +3748 -0
  162. package/dist/{index-D1v_7IIx.js → index-501fc13d.js} +369 -343
  163. package/dist/index-89035ea5.js +3242 -0
  164. package/dist/{index-BQO27mgE.js → index-8c8d2d0c.js} +123 -122
  165. package/dist/{index-C7kFNqp2.js → index-e2b72ca8.js} +107 -102
  166. package/dist/index.d.ts +1 -0
  167. package/dist/index.js +77 -18
  168. package/dist/{isVisible-CNQjrJPN.js → isVisible-729780f5.js} +110 -82
  169. package/dist/{magic-string.es-BkUFmFT4.js → magic-string.es-b7491176.js} +103 -56
  170. package/dist/{SearchOutlined-DuzJkIiQ.js → pickAttrs-00ba4687.js} +16 -26
  171. package/dist/presets-83ccb923.js +787 -0
  172. package/dist/providers/GenesisProvider.d.ts +5 -0
  173. package/dist/providers/GenesisProvider.js +59 -5
  174. package/dist/providers/ThemeProvider.d.ts +2 -1
  175. package/dist/providers/ThemeProvider.js +16 -11
  176. package/dist/providers/ToastProvider.d.ts +6 -0
  177. package/dist/providers/ToastProvider.js +49 -0
  178. package/dist/providers/ToastWrapper.d.ts +7 -0
  179. package/dist/providers/ToastWrapper.js +56 -0
  180. package/dist/providers/__stories__/GenesisProvider.stories.d.ts +6 -0
  181. package/dist/providers/index.d.ts +3 -2
  182. package/dist/providers/index.js +51 -4
  183. package/dist/setup-aaca7b6f.js +21158 -0
  184. package/dist/{styled-components.browser.esm-CZ1XM4o4.js → styled-components.browser.esm-02f500bc.js} +134 -72
  185. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +54 -18
  186. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +51 -15
  187. package/dist/styles/design-tokens/variables.d.ts +7 -7
  188. package/dist/styles/design-tokens/variables.js +48 -48
  189. package/dist/styles/global-styles.js +4 -3
  190. package/dist/styles/theme/genesis-theme.d.ts +3 -0
  191. package/dist/styles/theme/genesis-theme.js +402 -263
  192. package/dist/styles/theme/global-styles.js +4 -3
  193. package/dist/styles/theme/index.js +5 -4
  194. package/dist/test/setup.js +46 -2
  195. package/dist/useVariants-a0d64298.js +30 -0
  196. package/dist/utils/isAllEnglishString.js +2 -1
  197. package/package.json +34 -28
  198. package/dist/AntdIcon-Bsnbyy6g.js +0 -200
  199. package/dist/CheckOutlined-DAynWe12.js +0 -527
  200. package/dist/Compact-CJBo3f0u.js +0 -185
  201. package/dist/ContextIsolator-CGkdKtc3.js +0 -20
  202. package/dist/Form-Cylpi4M4.js +0 -1815
  203. package/dist/Overflow-CP1M4Z0s.js +0 -369
  204. package/dist/compact-item-DH13cl8A.js +0 -61
  205. package/dist/components/atoms/button/Button.js +0 -27
  206. package/dist/components/atoms/button/index.js +0 -4
  207. package/dist/components/atoms/checkbox/Checkbox.js +0 -13
  208. package/dist/components/atoms/checkbox/__tests__/Checkbox.test.js +0 -18
  209. package/dist/components/atoms/checkbox/index.js +0 -4
  210. package/dist/components/atoms/index.d.ts +0 -1
  211. package/dist/components/atoms/index.js +0 -3
  212. package/dist/components/atoms/input/Input.js +0 -12
  213. package/dist/components/atoms/input/__tests__/Input.test.js +0 -28
  214. package/dist/components/atoms/input/index.js +0 -4
  215. package/dist/components/atoms/input/styles.js +0 -415
  216. package/dist/components/atoms/select/Select.js +0 -24
  217. package/dist/components/atoms/select/__tests__/Select.test.js +0 -10735
  218. package/dist/components/atoms/select/index.js +0 -4
  219. package/dist/components/atoms/select/styles.js +0 -3868
  220. package/dist/components/atoms/typography/Typography.js +0 -44
  221. package/dist/components/atoms/typography/__tests__/Typography.test.js +0 -16
  222. package/dist/components/atoms/typography/index.js +0 -4
  223. package/dist/components/atoms/typography/styles.d.ts +0 -11
  224. package/dist/components/atoms/typography/styles.js +0 -28
  225. package/dist/components/molecules/error-boundary-fallback/ErrorBoundaryFallback.js +0 -35
  226. package/dist/components/molecules/error-boundary-fallback/index.js +0 -4
  227. package/dist/components/molecules/error-boundary-fallback/styles.d.ts +0 -1
  228. package/dist/components/molecules/form/Form.js +0 -7
  229. package/dist/components/molecules/form/__stories__/FormStory.js +0 -90
  230. package/dist/components/molecules/form/index.js +0 -4
  231. package/dist/index-3MWkSVA1.js +0 -96
  232. package/dist/index-BPtFqhcp.js +0 -19110
  233. package/dist/index-BWys7dkb.js +0 -4462
  234. package/dist/index-VDH3iLaC.js +0 -884
  235. package/dist/setup-CMYVZCPF.js +0 -33883
  236. package/dist/useVariants-CEpw6Ww6.js +0 -29
  237. /package/dist/components/{atoms/checkbox/__tests__/Checkbox.test.d.ts → Badge/__tests__/Badge.test.d.ts} +0 -0
  238. /package/dist/components/{atoms/input/__tests__/Input.test.d.ts → Breadcrumb/__tests__/Breadcrumb.test.d.ts} +0 -0
  239. /package/dist/components/{atoms/button → Button}/Button.d.ts +0 -0
  240. /package/dist/components/{atoms/button → Button}/__stories__/Button.stories.d.ts +0 -0
  241. /package/dist/components/{atoms/select/__tests__/Select.test.d.ts → Button/__tests__/Button.test.d.ts} +0 -0
  242. /package/dist/components/{atoms/button → Button}/index.d.ts +0 -0
  243. /package/dist/components/{atoms/button → Button}/styles.d.ts +0 -0
  244. /package/dist/components/{atoms/checkbox → Checkbox}/__stories__/Checkbox.stories.d.ts +0 -0
  245. /package/dist/components/{atoms/typography/__tests__/Typography.test.d.ts → Checkbox/__tests__/Checkbox.test.d.ts} +0 -0
  246. /package/dist/components/{atoms/checkbox → Checkbox}/index.d.ts +0 -0
  247. /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/ErrorBoundaryFallback.d.ts +0 -0
  248. /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/__stories__/ErrorBoundaryFallback.stories.d.ts +0 -0
  249. /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/index.d.ts +0 -0
  250. /package/dist/components/{molecules/form → Form}/__stories__/Form.stories.d.ts +0 -0
  251. /package/dist/components/{molecules/form → Form}/__stories__/FormStory.d.ts +0 -0
  252. /package/dist/components/{molecules/form → Form}/index.d.ts +0 -0
  253. /package/dist/components/{atoms/input → Input}/index.d.ts +0 -0
  254. /package/dist/components/{atoms/select → Select}/index.d.ts +0 -0
  255. /package/dist/components/{atoms/typography → Typography}/__stories__/Typography.stories.d.ts +0 -0
  256. /package/dist/components/{atoms/typography → Typography}/index.d.ts +0 -0
  257. /package/dist/{presetColors-Cl8UP3Nw.js → presetColors-ccf8cb4c.js} +0 -0
  258. /package/dist/{reactNode-sKPeiqPL.js → reactNode-f4391605.js} +0 -0
@@ -1,31 +1,34 @@
1
- import { d as ne } from "../../../styled-components.browser.esm-CZ1XM4o4.js";
1
+ import { d as ne } from "../../styled-components.browser.esm-02f500bc.js";
2
2
  import * as c from "react";
3
- import K, { forwardRef as oe, useRef as L, useImperativeHandle as ae } from "react";
4
- import { d as te, e as ce, c as I, h as T, _ as le, a as H, B as W, m as ie, n as se, D as M, E as de, z as q, C as U, F as ue, G as be, A as fe, H as X } from "../../../index-BWys7dkb.js";
5
- import { u as he, o as pe } from "../../../isVisible-CNQjrJPN.js";
6
- import { T as xe, W as Ce } from "../../../index-C7kFNqp2.js";
7
- import { F as me, u as J } from "../../../context-CZsFJmh6.js";
8
- var ge = ["prefixCls", "className", "style", "checked", "disabled", "defaultChecked", "type", "title", "onChange"], ke = /* @__PURE__ */ oe(function(e, r) {
9
- var n = e.prefixCls, o = n === void 0 ? "rc-checkbox" : n, s = e.className, C = e.style, $ = e.checked, h = e.disabled, O = e.defaultChecked, y = O === void 0 ? !1 : O, d = e.type, S = d === void 0 ? "checkbox" : d, P = e.title, l = e.onChange, E = te(e, ge), m = L(null), u = L(null), a = he(y, {
3
+ import X, { forwardRef as te, useRef as G, useImperativeHandle as ae } from "react";
4
+ import { e as ce, f as le, c as I, h as M, a as ie, _ as L } from "../../presets-83ccb923.js";
5
+ import { u as se, o as de } from "../../isVisible-729780f5.js";
6
+ import { w as W, g as ue, m as be, r as z, o as he, p as q, C as K, D as fe, q as pe, t as xe, v as H } from "../../index-4003d75b.js";
7
+ import { T as Ce, W as ve } from "../../index-e2b72ca8.js";
8
+ import { F as ge, u as U } from "../../context-3b8a39af.js";
9
+ import "react-dom";
10
+ import "../../reactNode-f4391605.js";
11
+ var me = ["prefixCls", "className", "style", "checked", "disabled", "defaultChecked", "type", "title", "onChange"], ke = /* @__PURE__ */ te(function(e, o) {
12
+ var r = e.prefixCls, n = r === void 0 ? "rc-checkbox" : r, s = e.className, C = e.style, $ = e.checked, f = e.disabled, O = e.defaultChecked, y = O === void 0 ? !1 : O, d = e.type, S = d === void 0 ? "checkbox" : d, P = e.title, l = e.onChange, E = ce(e, me), v = G(null), u = G(null), t = se(y, {
10
13
  value: $
11
- }), _ = ce(a, 2), N = _[0], A = _[1];
12
- ae(r, function() {
14
+ }), _ = le(t, 2), N = _[0], A = _[1];
15
+ ae(o, function() {
13
16
  return {
14
17
  focus: function(i) {
15
- var f;
16
- (f = m.current) === null || f === void 0 || f.focus(i);
18
+ var h;
19
+ (h = v.current) === null || h === void 0 || h.focus(i);
17
20
  },
18
21
  blur: function() {
19
22
  var i;
20
- (i = m.current) === null || i === void 0 || i.blur();
23
+ (i = v.current) === null || i === void 0 || i.blur();
21
24
  },
22
- input: m.current,
25
+ input: v.current,
23
26
  nativeElement: u.current
24
27
  };
25
28
  });
26
- var b = I(o, s, T(T({}, "".concat(o, "-checked"), N), "".concat(o, "-disabled"), h)), p = function(i) {
27
- h || ("checked" in e || A(i.target.checked), l == null || l({
28
- target: H(H({}, e), {}, {
29
+ var b = I(n, s, M(M({}, "".concat(n, "-checked"), N), "".concat(n, "-disabled"), f)), p = function(i) {
30
+ f || ("checked" in e || A(i.target.checked), l == null || l({
31
+ target: L(L({}, e), {}, {
29
32
  type: S,
30
33
  checked: i.target.checked
31
34
  }),
@@ -43,38 +46,38 @@ var ge = ["prefixCls", "className", "style", "checked", "disabled", "defaultChec
43
46
  title: P,
44
47
  style: C,
45
48
  ref: u
46
- }, /* @__PURE__ */ c.createElement("input", le({}, E, {
47
- className: "".concat(o, "-input"),
48
- ref: m,
49
+ }, /* @__PURE__ */ c.createElement("input", ie({}, E, {
50
+ className: "".concat(n, "-input"),
51
+ ref: v,
49
52
  onChange: p,
50
- disabled: h,
53
+ disabled: f,
51
54
  checked: !!N,
52
55
  type: S
53
56
  })), /* @__PURE__ */ c.createElement("span", {
54
- className: "".concat(o, "-inner")
57
+ className: "".concat(n, "-inner")
55
58
  }));
56
59
  });
57
- function ve(e) {
58
- const r = K.useRef(null), n = () => {
59
- W.cancel(r.current), r.current = null;
60
+ function $e(e) {
61
+ const o = X.useRef(null), r = () => {
62
+ W.cancel(o.current), o.current = null;
60
63
  };
61
64
  return [() => {
62
- n(), r.current = W(() => {
63
- r.current = null;
65
+ r(), o.current = W(() => {
66
+ o.current = null;
64
67
  });
65
68
  }, (C) => {
66
- r.current && (C.stopPropagation(), n()), e == null || e(C);
69
+ o.current && (C.stopPropagation(), r()), e == null || e(C);
67
70
  }];
68
71
  }
69
- const $e = (e) => {
72
+ const ye = (e) => {
70
73
  const {
71
- checkboxCls: r
72
- } = e, n = `${r}-wrapper`;
74
+ checkboxCls: o
75
+ } = e, r = `${o}-wrapper`;
73
76
  return [
74
77
  // ===================== Basic =====================
75
78
  {
76
79
  // Group
77
- [`${r}-group`]: Object.assign(Object.assign({}, M(e)), {
80
+ [`${o}-group`]: Object.assign(Object.assign({}, z(e)), {
78
81
  display: "inline-flex",
79
82
  flexWrap: "wrap",
80
83
  columnGap: e.marginXS,
@@ -84,7 +87,7 @@ const $e = (e) => {
84
87
  }
85
88
  }),
86
89
  // Wrapper
87
- [n]: Object.assign(Object.assign({}, M(e)), {
90
+ [r]: Object.assign(Object.assign({}, z(e)), {
88
91
  display: "inline-flex",
89
92
  alignItems: "baseline",
90
93
  cursor: "pointer",
@@ -96,10 +99,10 @@ const $e = (e) => {
96
99
  content: "'\\a0'"
97
100
  },
98
101
  // Checkbox near checkbox
99
- [`& + ${n}`]: {
102
+ [`& + ${r}`]: {
100
103
  marginInlineStart: 0
101
104
  },
102
- [`&${n}-in-form-item`]: {
105
+ [`&${r}-in-form-item`]: {
103
106
  'input[type="checkbox"]': {
104
107
  width: 14,
105
108
  // FIXME: magic
@@ -109,7 +112,7 @@ const $e = (e) => {
109
112
  }
110
113
  }),
111
114
  // Wrapper > Checkbox
112
- [r]: Object.assign(Object.assign({}, M(e)), {
115
+ [o]: Object.assign(Object.assign({}, z(e)), {
113
116
  position: "relative",
114
117
  whiteSpace: "nowrap",
115
118
  lineHeight: 1,
@@ -119,7 +122,7 @@ const $e = (e) => {
119
122
  // Ref: https://github.com/ant-design/ant-design/issues/41564
120
123
  alignSelf: "center",
121
124
  // Wrapper > Checkbox > input
122
- [`${r}-input`]: {
125
+ [`${o}-input`]: {
123
126
  position: "absolute",
124
127
  // Since baseline align will get additional space offset,
125
128
  // we need to move input to top to make it align with text.
@@ -129,10 +132,10 @@ const $e = (e) => {
129
132
  cursor: "pointer",
130
133
  opacity: 0,
131
134
  margin: 0,
132
- [`&:focus-visible + ${r}-inner`]: Object.assign({}, de(e))
135
+ [`&:focus-visible + ${o}-inner`]: Object.assign({}, he(e))
133
136
  },
134
137
  // Wrapper > Checkbox > inner
135
- [`${r}-inner`]: {
138
+ [`${o}-inner`]: {
136
139
  boxSizing: "border-box",
137
140
  display: "block",
138
141
  width: e.checkboxSize,
@@ -171,19 +174,19 @@ const $e = (e) => {
171
174
  {
172
175
  // Wrapper & Wrapper > Checkbox
173
176
  [`
174
- ${n}:not(${n}-disabled),
175
- ${r}:not(${r}-disabled)
177
+ ${r}:not(${r}-disabled),
178
+ ${o}:not(${o}-disabled)
176
179
  `]: {
177
- [`&:hover ${r}-inner`]: {
180
+ [`&:hover ${o}-inner`]: {
178
181
  borderColor: e.colorPrimary
179
182
  }
180
183
  },
181
- [`${n}:not(${n}-disabled)`]: {
182
- [`&:hover ${r}-checked:not(${r}-disabled) ${r}-inner`]: {
184
+ [`${r}:not(${r}-disabled)`]: {
185
+ [`&:hover ${o}-checked:not(${o}-disabled) ${o}-inner`]: {
183
186
  backgroundColor: e.colorPrimaryHover,
184
187
  borderColor: "transparent"
185
188
  },
186
- [`&:hover ${r}-checked:not(${r}-disabled):after`]: {
189
+ [`&:hover ${o}-checked:not(${o}-disabled):after`]: {
187
190
  borderColor: e.colorPrimaryHover
188
191
  }
189
192
  }
@@ -191,8 +194,8 @@ const $e = (e) => {
191
194
  // ==================== Checked ====================
192
195
  {
193
196
  // Wrapper > Checkbox
194
- [`${r}-checked`]: {
195
- [`${r}-inner`]: {
197
+ [`${o}-checked`]: {
198
+ [`${o}-inner`]: {
196
199
  backgroundColor: e.colorPrimary,
197
200
  borderColor: e.colorPrimary,
198
201
  "&:after": {
@@ -203,10 +206,10 @@ const $e = (e) => {
203
206
  }
204
207
  },
205
208
  [`
206
- ${n}-checked:not(${n}-disabled),
207
- ${r}-checked:not(${r}-disabled)
209
+ ${r}-checked:not(${r}-disabled),
210
+ ${o}-checked:not(${o}-disabled)
208
211
  `]: {
209
- [`&:hover ${r}-inner`]: {
212
+ [`&:hover ${o}-inner`]: {
210
213
  backgroundColor: e.colorPrimaryHover,
211
214
  borderColor: "transparent"
212
215
  }
@@ -214,10 +217,10 @@ const $e = (e) => {
214
217
  },
215
218
  // ================= Indeterminate =================
216
219
  {
217
- [r]: {
220
+ [o]: {
218
221
  "&-indeterminate": {
219
222
  // Wrapper > Checkbox > inner
220
- [`${r}-inner`]: {
223
+ [`${o}-inner`]: {
221
224
  backgroundColor: `${e.colorBgContainer} !important`,
222
225
  borderColor: `${e.colorBorder} !important`,
223
226
  "&:after": {
@@ -233,7 +236,7 @@ const $e = (e) => {
233
236
  }
234
237
  },
235
238
  // https://github.com/ant-design/ant-design/issues/50074
236
- [`&:hover ${r}-inner`]: {
239
+ [`&:hover ${o}-inner`]: {
237
240
  backgroundColor: `${e.colorBgContainer} !important`,
238
241
  borderColor: `${e.colorPrimary} !important`
239
242
  }
@@ -243,20 +246,20 @@ const $e = (e) => {
243
246
  // ==================== Disable ====================
244
247
  {
245
248
  // Wrapper
246
- [`${n}-disabled`]: {
249
+ [`${r}-disabled`]: {
247
250
  cursor: "not-allowed"
248
251
  },
249
252
  // Wrapper > Checkbox
250
- [`${r}-disabled`]: {
253
+ [`${o}-disabled`]: {
251
254
  // Wrapper > Checkbox > input
252
- [`&, ${r}-input`]: {
255
+ [`&, ${o}-input`]: {
253
256
  cursor: "not-allowed",
254
257
  // Disabled for native input to enable Tooltip event handler
255
258
  // ref: https://github.com/ant-design/ant-design/issues/39822#issuecomment-1365075901
256
259
  pointerEvents: "none"
257
260
  },
258
261
  // Wrapper > Checkbox > inner
259
- [`${r}-inner`]: {
262
+ [`${o}-inner`]: {
260
263
  background: e.colorBgContainerDisabled,
261
264
  borderColor: e.colorBorder,
262
265
  "&:after": {
@@ -269,82 +272,84 @@ const $e = (e) => {
269
272
  "& + span": {
270
273
  color: e.colorTextDisabled
271
274
  },
272
- [`&${r}-indeterminate ${r}-inner::after`]: {
275
+ [`&${o}-indeterminate ${o}-inner::after`]: {
273
276
  background: e.colorTextDisabled
274
277
  }
275
278
  }
276
279
  }
277
280
  ];
278
281
  };
279
- function ye(e, r) {
280
- const n = se(r, {
282
+ function Se(e, o) {
283
+ const r = be(o, {
281
284
  checkboxCls: `.${e}`,
282
- checkboxSize: r.controlInteractiveSize
285
+ checkboxSize: o.controlInteractiveSize
283
286
  });
284
- return [$e(n)];
287
+ return [ye(r)];
285
288
  }
286
- const Q = ie("Checkbox", (e, r) => {
289
+ const J = ue("Checkbox", (e, o) => {
287
290
  let {
288
- prefixCls: n
289
- } = r;
290
- return [ye(n, e)];
291
- }), Y = /* @__PURE__ */ K.createContext(null);
292
- var Se = function(e, r) {
293
- var n = {};
294
- for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && r.indexOf(o) < 0 && (n[o] = e[o]);
295
- if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var s = 0, o = Object.getOwnPropertySymbols(e); s < o.length; s++)
296
- r.indexOf(o[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[s]) && (n[o[s]] = e[o[s]]);
297
- return n;
291
+ prefixCls: r
292
+ } = o;
293
+ return [Se(r, e)];
294
+ }), Ae = /* @__PURE__ */ X.createContext(null), Q = Ae;
295
+ var we = globalThis && globalThis.__rest || function(e, o) {
296
+ var r = {};
297
+ for (var n in e)
298
+ Object.prototype.hasOwnProperty.call(e, n) && o.indexOf(n) < 0 && (r[n] = e[n]);
299
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
300
+ for (var s = 0, n = Object.getOwnPropertySymbols(e); s < n.length; s++)
301
+ o.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
302
+ return r;
298
303
  };
299
- const Ae = (e, r) => {
300
- var n;
304
+ const Oe = (e, o) => {
305
+ var r;
301
306
  const {
302
- prefixCls: o,
307
+ prefixCls: n,
303
308
  className: s,
304
309
  rootClassName: C,
305
310
  children: $,
306
- indeterminate: h = !1,
311
+ indeterminate: f = !1,
307
312
  style: O,
308
313
  onMouseEnter: y,
309
314
  onMouseLeave: d,
310
315
  skipGroup: S = !1,
311
316
  disabled: P
312
- } = e, l = Se(e, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]), {
317
+ } = e, l = we(e, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]), {
313
318
  getPrefixCls: E,
314
- direction: m,
319
+ direction: v,
315
320
  checkbox: u
316
- } = c.useContext(U), a = c.useContext(Y), {
321
+ } = c.useContext(K), t = c.useContext(Q), {
317
322
  isFormItemInput: _
318
- } = c.useContext(me), N = c.useContext(ue), A = (n = (a == null ? void 0 : a.disabled) || P) !== null && n !== void 0 ? n : N, b = c.useRef(l.value), p = c.useRef(null), w = be(r, p);
323
+ } = c.useContext(ge), N = c.useContext(fe), A = (r = (t == null ? void 0 : t.disabled) || P) !== null && r !== void 0 ? r : N, b = c.useRef(l.value), p = c.useRef(null), w = pe(o, p);
319
324
  if (process.env.NODE_ENV !== "production") {
320
- const x = fe("Checkbox");
321
- process.env.NODE_ENV !== "production" && x("checked" in l || !!a || !("value" in l), "usage", "`value` is not a valid prop, do you mean `checked`?");
325
+ const x = xe("Checkbox");
326
+ process.env.NODE_ENV !== "production" && x("checked" in l || !!t || !("value" in l), "usage", "`value` is not a valid prop, do you mean `checked`?");
322
327
  }
323
328
  c.useEffect(() => {
324
- a == null || a.registerValue(l.value);
329
+ t == null || t.registerValue(l.value);
325
330
  }, []), c.useEffect(() => {
326
331
  if (!S)
327
- return l.value !== b.current && (a == null || a.cancelValue(b.current), a == null || a.registerValue(l.value), b.current = l.value), () => a == null ? void 0 : a.cancelValue(l.value);
332
+ return l.value !== b.current && (t == null || t.cancelValue(b.current), t == null || t.registerValue(l.value), b.current = l.value), () => t == null ? void 0 : t.cancelValue(l.value);
328
333
  }, [l.value]), c.useEffect(() => {
329
334
  var x;
330
- !((x = p.current) === null || x === void 0) && x.input && (p.current.input.indeterminate = h);
331
- }, [h]);
332
- const i = E("checkbox", o), f = J(i), [j, F, D] = Q(i, f), g = Object.assign({}, l);
333
- a && !S && (g.onChange = function() {
334
- l.onChange && l.onChange.apply(l, arguments), a.toggleOption && a.toggleOption({
335
+ !((x = p.current) === null || x === void 0) && x.input && (p.current.input.indeterminate = f);
336
+ }, [f]);
337
+ const i = E("checkbox", n), h = U(i), [j, F, D] = J(i, h), g = Object.assign({}, l);
338
+ t && !S && (g.onChange = function() {
339
+ l.onChange && l.onChange.apply(l, arguments), t.toggleOption && t.toggleOption({
335
340
  label: $,
336
341
  value: l.value
337
342
  });
338
- }, g.name = a.name, g.checked = a.value.includes(l.value));
343
+ }, g.name = t.name, g.checked = t.value.includes(l.value));
339
344
  const B = I(`${i}-wrapper`, {
340
- [`${i}-rtl`]: m === "rtl",
345
+ [`${i}-rtl`]: v === "rtl",
341
346
  [`${i}-wrapper-checked`]: g.checked,
342
347
  [`${i}-wrapper-disabled`]: A,
343
348
  [`${i}-wrapper-in-form-item`]: _
344
- }, u == null ? void 0 : u.className, s, C, D, f, F), t = I({
345
- [`${i}-indeterminate`]: h
346
- }, xe, F), [k, v] = ve(g.onClick);
347
- return j(/* @__PURE__ */ c.createElement(Ce, {
349
+ }, u == null ? void 0 : u.className, s, C, D, h, F), a = I({
350
+ [`${i}-indeterminate`]: f
351
+ }, Ce, F), [m, k] = $e(g.onClick);
352
+ return j(/* @__PURE__ */ c.createElement(ve, {
348
353
  component: "Checkbox",
349
354
  disabled: A
350
355
  }, /* @__PURE__ */ c.createElement("label", {
@@ -352,66 +357,69 @@ const Ae = (e, r) => {
352
357
  style: Object.assign(Object.assign({}, u == null ? void 0 : u.style), O),
353
358
  onMouseEnter: y,
354
359
  onMouseLeave: d,
355
- onClick: k
360
+ onClick: m
356
361
  }, /* @__PURE__ */ c.createElement(ke, Object.assign({}, g, {
357
- onClick: v,
362
+ onClick: k,
358
363
  prefixCls: i,
359
- className: t,
364
+ className: a,
360
365
  disabled: A,
361
366
  ref: w
362
367
  })), $ !== void 0 && /* @__PURE__ */ c.createElement("span", null, $))));
363
- }, G = /* @__PURE__ */ c.forwardRef(Ae);
364
- process.env.NODE_ENV !== "production" && (G.displayName = "Checkbox");
365
- var we = function(e, r) {
366
- var n = {};
367
- for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && r.indexOf(o) < 0 && (n[o] = e[o]);
368
- if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var s = 0, o = Object.getOwnPropertySymbols(e); s < o.length; s++)
369
- r.indexOf(o[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[s]) && (n[o[s]] = e[o[s]]);
370
- return n;
368
+ }, Y = /* @__PURE__ */ c.forwardRef(Oe);
369
+ process.env.NODE_ENV !== "production" && (Y.displayName = "Checkbox");
370
+ const Z = Y;
371
+ var Ee = globalThis && globalThis.__rest || function(e, o) {
372
+ var r = {};
373
+ for (var n in e)
374
+ Object.prototype.hasOwnProperty.call(e, n) && o.indexOf(n) < 0 && (r[n] = e[n]);
375
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
376
+ for (var s = 0, n = Object.getOwnPropertySymbols(e); s < n.length; s++)
377
+ o.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
378
+ return r;
371
379
  };
372
- const Oe = /* @__PURE__ */ c.forwardRef((e, r) => {
380
+ const _e = /* @__PURE__ */ c.forwardRef((e, o) => {
373
381
  const {
374
- defaultValue: n,
375
- children: o,
382
+ defaultValue: r,
383
+ children: n,
376
384
  options: s = [],
377
385
  prefixCls: C,
378
386
  className: $,
379
- rootClassName: h,
387
+ rootClassName: f,
380
388
  style: O,
381
389
  onChange: y
382
- } = e, d = we(e, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]), {
390
+ } = e, d = Ee(e, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]), {
383
391
  getPrefixCls: S,
384
392
  direction: P
385
- } = c.useContext(U), [l, E] = c.useState(d.value || n || []), [m, u] = c.useState([]);
393
+ } = c.useContext(K), [l, E] = c.useState(d.value || r || []), [v, u] = c.useState([]);
386
394
  c.useEffect(() => {
387
395
  "value" in d && E(d.value || []);
388
396
  }, [d.value]);
389
- const a = c.useMemo(() => s.map((t) => typeof t == "string" || typeof t == "number" ? {
390
- label: t,
391
- value: t
392
- } : t), [s]), _ = (t) => {
393
- u((k) => k.filter((v) => v !== t));
394
- }, N = (t) => {
395
- u((k) => [].concat(X(k), [t]));
396
- }, A = (t) => {
397
- const k = l.indexOf(t.value), v = X(l);
398
- k === -1 ? v.push(t.value) : v.splice(k, 1), "value" in d || E(v), y == null || y(v.filter((x) => m.includes(x)).sort((x, Z) => {
399
- const ee = a.findIndex((z) => z.value === x), re = a.findIndex((z) => z.value === Z);
400
- return ee - re;
397
+ const t = c.useMemo(() => s.map((a) => typeof a == "string" || typeof a == "number" ? {
398
+ label: a,
399
+ value: a
400
+ } : a), [s]), _ = (a) => {
401
+ u((m) => m.filter((k) => k !== a));
402
+ }, N = (a) => {
403
+ u((m) => [].concat(H(m), [a]));
404
+ }, A = (a) => {
405
+ const m = l.indexOf(a.value), k = H(l);
406
+ m === -1 ? k.push(a.value) : k.splice(m, 1), "value" in d || E(k), y == null || y(k.filter((x) => v.includes(x)).sort((x, ee) => {
407
+ const oe = t.findIndex((T) => T.value === x), re = t.findIndex((T) => T.value === ee);
408
+ return oe - re;
401
409
  }));
402
- }, b = S("checkbox", C), p = `${b}-group`, w = J(b), [i, f, j] = Q(b, w), F = pe(d, ["value", "disabled"]), D = s.length ? a.map((t) => /* @__PURE__ */ c.createElement(G, {
410
+ }, b = S("checkbox", C), p = `${b}-group`, w = U(b), [i, h, j] = J(b, w), F = de(d, ["value", "disabled"]), D = s.length ? t.map((a) => /* @__PURE__ */ c.createElement(Z, {
403
411
  prefixCls: b,
404
- key: t.value.toString(),
405
- disabled: "disabled" in t ? t.disabled : d.disabled,
406
- value: t.value,
407
- checked: l.includes(t.value),
408
- onChange: t.onChange,
412
+ key: a.value.toString(),
413
+ disabled: "disabled" in a ? a.disabled : d.disabled,
414
+ value: a.value,
415
+ checked: l.includes(a.value),
416
+ onChange: a.onChange,
409
417
  className: `${p}-item`,
410
- style: t.style,
411
- title: t.title,
412
- id: t.id,
413
- required: t.required
414
- }, t.label)) : o, g = {
418
+ style: a.style,
419
+ title: a.title,
420
+ id: a.id,
421
+ required: a.required
422
+ }, a.label)) : n, g = {
415
423
  toggleOption: A,
416
424
  value: l,
417
425
  disabled: d.disabled,
@@ -421,20 +429,20 @@ const Oe = /* @__PURE__ */ c.forwardRef((e, r) => {
421
429
  cancelValue: _
422
430
  }, B = I(p, {
423
431
  [`${p}-rtl`]: P === "rtl"
424
- }, $, h, j, w, f);
432
+ }, $, f, j, w, h);
425
433
  return i(/* @__PURE__ */ c.createElement("div", Object.assign({
426
434
  className: B,
427
435
  style: O
428
436
  }, F, {
429
- ref: r
430
- }), /* @__PURE__ */ c.createElement(Y.Provider, {
437
+ ref: o
438
+ }), /* @__PURE__ */ c.createElement(Q.Provider, {
431
439
  value: g
432
440
  }, D)));
433
- }), V = G;
434
- V.Group = Oe;
441
+ }), Ne = _e, V = Z;
442
+ V.Group = Ne;
435
443
  V.__ANT_CHECKBOX = !0;
436
444
  process.env.NODE_ENV !== "production" && (V.displayName = "Checkbox");
437
- const R = "#384DF6", Ee = ({ colors: e, borderRadius: r }, n = "primary", o = "active") => `
445
+ const Pe = V, R = "#384DF6", Fe = ({ colors: e, borderRadius: o }, r = "primary", n = "active") => `
438
446
  .ant-checkbox-inner {
439
447
  background-color: #FFFFFF;
440
448
  border-color: #9A9A9A;
@@ -443,7 +451,7 @@ const R = "#384DF6", Ee = ({ colors: e, borderRadius: r }, n = "primary", o = "a
443
451
 
444
452
  &::after {
445
453
  border-color: #9A9A9A;
446
- border: 2px solid ${e[n][o].color};
454
+ border: 2px solid ${e[r][n].color};
447
455
  border-top: 0;
448
456
  border-left: 0;
449
457
  content: "";
@@ -504,7 +512,7 @@ const R = "#384DF6", Ee = ({ colors: e, borderRadius: r }, n = "primary", o = "a
504
512
  }
505
513
 
506
514
  .ant-checkbox-checked .ant-checkbox-inner::after {
507
- border-color: ${e[n].active.color};
515
+ border-color: ${e[r].active.color};
508
516
  }
509
517
 
510
518
  &:hover .ant-checkbox-inner {
@@ -524,7 +532,7 @@ const R = "#384DF6", Ee = ({ colors: e, borderRadius: r }, n = "primary", o = "a
524
532
  }
525
533
 
526
534
  .ant-checkbox-checked .ant-checkbox-inner {
527
- background-color:${e[n].focussed.ringColor};
535
+ background-color:${e[r].focussed.ringColor};
528
536
  border-color: #6C6C6C;
529
537
  }
530
538
 
@@ -547,36 +555,36 @@ const R = "#384DF6", Ee = ({ colors: e, borderRadius: r }, n = "primary", o = "a
547
555
  }
548
556
 
549
557
  &:hover .ant-checkbox-checked .ant-checkbox-inner {
550
- background-color: ${e[n].focussed.ringColor};
558
+ background-color: ${e[r].focussed.ringColor};
551
559
  border-color: #6C6C6C;
552
560
  }
553
561
 
554
562
  .ant-checkbox:focus-visible .ant-checkbox-inner,
555
563
  .ant-checkbox-input:focus-visible + .ant-checkbox-inner {
556
564
  outline: none;
557
- box-shadow: 0 0 0 1px #fff, 0 0 0 3px ${e[n].focussed.ringColor};
558
- border-radius: ${r.BorderRadiusXs}px;
565
+ box-shadow: 0 0 0 1px #fff, 0 0 0 3px ${e[r].focussed.ringColor};
566
+ border-radius: ${o.BorderRadiusXs}px;
559
567
  border-color: #9A9A9A;
560
568
  transition: box-shadow 0.2s ease-in-out;
561
569
  }
562
570
 
563
571
  .ant-checkbox-input:focus + .ant-checkbox-inner {
564
- border-color: ${e[n].hover.borderColor};
572
+ border-color: ${e[r].hover.borderColor};
565
573
  }
566
574
 
567
575
  &:focus-visible {
568
576
  outline: none;
569
- color: ${e[n].focussed.color};
570
- background-color: ${e[n].focussed.backgroundColor};
571
- box-shadow: 0 0 0 1px #fff, 0 0 0 3px ${e[n].focussed.ringColor};
572
- border-radius: ${r.BorderRadiusXs}px;
577
+ color: ${e[r].focussed.color};
578
+ background-color: ${e[r].focussed.backgroundColor};
579
+ box-shadow: 0 0 0 1px #fff, 0 0 0 3px ${e[r].focussed.ringColor};
580
+ border-radius: ${o.BorderRadiusXs}px;
573
581
  border-color: #9A9A9A;
574
582
  transition: box-shadow 0.2s ease-in-out;
575
583
  }
576
- `, Ve = ne(V)`
577
- ${({ theme: e, type: r, state: n }) => Ee(e, r, n)}
584
+ `, Me = ne(Pe)`
585
+ ${({ theme: e, type: o, state: r }) => Fe(e, o, r)}
578
586
  `;
579
587
  export {
580
- Ve as StyledCheckbox,
581
- Ee as getGenesisClass
588
+ Me as StyledCheckbox,
589
+ Fe as getGenesisClass
582
590
  };